#popup-wrapper, #topbg {
  position: fixed;
  width: 100%
}

#popup, #q0, #q00, #q1, #q2, #q3, #q4, #q4-2, #q5, #q5-1, #q5-2, #q6, #q7, #q8, #q9, #top, .btnnext, .btnno, .btnyes, .h1_1, .h1_2 {
  font-family: 'Open Sans', sans-serif
}

#container, #popup {
  position: relative
}

#box2, #right {
  margin: 0 auto
}

body {
  background-color: #71a7c7;
  margin: 0
}

body.skin2 {
  background: radial-gradient(ellipse farthest-corner at right bottom, #FEDB37 0%, #FDB931 8%, #9f7928 30%, #8A6E2F 40%, #c8952c 80%), radial-gradient(ellipse farthest-corner at left top, #b99f55 0%, #FFFFAC 8%, #D1B464 25%, #5d4a1f 62.5%, #5d4a1f 100%);
}

body.skin3 {
  background: #fff;
}

.hidden{
  display: none !important;
}

#container {
  padding: 0;
  width: 100%;
  min-width: 300px;
  max-width: 600px;
  margin: 0 auto;
  min-height: 900px
}

body.bg2 #container {
  background-image: url(../images/bg2.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg3 #container {
  background-image: url(../images/bg3.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg4 #container {
  background-image: url(../images/bg4.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg5 #container {
  background-image: url(../images/bg5.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg6 #container {
  background-image: url(../images/bg6.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg7 #container {
  background-image: url(../images/bg7.gif);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

body.bg2 #overlay, body.bg3 #overlay, body.bg4 #overlay, body.bg5 #overlay, body.bg6 #overlay, body.bg7 #overlay {
  display: block;
}

#overlay {
  display: none;
  background: rgba(0, 0, 0, 0.50);
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

#global_footer {
  display: flex;
  bottom: 30px;
  text-align: center
}

#topbg {
  height: 300px;
  background-color: #333;
  background-image: -moz-linear-gradient(90deg, #333 0, #555 100%);
  background-image: -webkit-linear-gradient(90deg, #333 0, #555 100%)
}

#top {
  width: 100%;
  font-size: 35px;
  color: #fff;
  font-weight: 700;
  text-shadow: 1px 1px 1px #;
  padding-top: 30px;
  padding-bottom: 12px
}

body.skin3 #top {
  color: #28292d;
}

#right {
  overflow: hidden;
  border-left: 0 solid #ccc;
  border-radius: 0
}

.btnno, .btnyes {
  border-radius: 4px
}

p {
  line-height: initial
}

#q0, #q00, #q1, #q2, #q3, #q4, #q4-2, #q5, #q5-1, #q5-2, #q6, #q7, #q8, #q9 {
  overflow: hidden;
  padding: 0;
  max-width: 600px;
  display: none;
  position: absolute;
  line-height: 28px;
  font-size: 22px;
  color: #fff;
  padding: 0 10px;
  max-width: 100%;
}

body.skin3 #q0,
body.skin3 #q00,
body.skin3 #q1,
body.skin3 #q2,
body.skin3 #q3,
body.skin3 #q4,
body.skin3 #q4-2,
body.skin3 #q5,
body.skin3 #q5-1
body.skin3 #q5-2
body.skin3 #q6,
body.skin3 #q7,
body.skin3 #q8,
body.skin3 #q9 {
  color: #28292d;
}

#q00 {
  padding: 0;
}

.btnnext, .btnno, .btnyes, .doyouknow {
  display: inline-block;
  text-decoration: none
}

.btnnext, .btnno, .btnyes {
  font-size: 30px;
  color: #fff;
  min-width: 200px;
  font-weight: 700;
  padding: 20px 0;
  cursor: pointer;
  width: 100%
}

.btnyes {
  background-color: #8bc34a;
  border: 0 solid #fff;
}

body.skin2 .btnyes {
  background-color: #61380a;
}

body.skin3 .btnyes {
  color: #000;
  background: #FDE08D;
  background: -webkit-linear-gradient(top, #8f6B29, #FDE08D, #DF9F28);
  background: linear-gradient(top, #8f6B29, #FDE08D, #DF9F28);
}

.btnno {
  background-color: #aaa;
  border: 0 solid #fff;
}

body.skin2 .btnno {
  background-color: #473a2c;
}

body.skin3 .btnno {
  background-color: #9d968f;
}

.btnnext {
  background-color: #6ca655;
  border-radius: 4px;
  border: 0 solid #fff;
  border-bottom: px solid #
}

#popup, .h1_1 {
  color: #666
}

#box, #box2, #popup {
  padding: 10px
}

nput[type=checkbox] {
  width: 50px;
  height: 50px;
  cursor: pointer;
}

#box {
  margin: 20px 0 auto;
  font-size: 23px;
  line-height: 24px
}

#box2 {
  width: 100%;
  min-width: 300px
}

#popup-wrapper {
  top: 0;
  left: 0;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, .7)
}

#popup {
  width: 300px;
  font-size: 22px;
  background-color: #fff;
  border-radius: 10px;
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  top: 40%;
  left: 50%;
  text-align: center;
  margin: -210px 0 0 -150px;
  border: 3px solid #2babe1;
  -webkit-box-shadow: 0 0 5px 0 rgba(255, 255, 255, 1);
  -moz-box-shadow: 0 0 5px 0 rgba(255, 255, 255, 1);
  box-shadow: 0 0 5px 0 rgba(255, 255, 255, 1)
}

.circle1, .circle2 {
  border-radius: 3px;
  padding: 8px 18px
}

.h1_1 {
  font-size: 40px;
  text-shadow: 1px 1px 1px #fff
}

.circle1, .h1, .h1_2 {
  text-shadow: 1px 1px 1px #
}

.h1_2 {
  font-size: 28px;
  color: #fff
}

.h1 {
  color: #ff0;
  font-family: Roboto, sans-serif;
  font-size: 38px;
  text-transform: uppercase;
  line-height: initial
}

body.skin2 .h1 {
  color: #fff;
  text-shadow: 0px 2px 10px #000000;
}

body.skin3 .h1 {
  color: #906b26;
}

.circle1, .circle2, .style1, .style2, .styleq1 {
  font-family: 'Open Sans', sans-serif
}

.white {
  color: #fff;
}

body.skin3 .white {
  color: #28292d;
}

.style1 {
  font-size: 20px;
  color: #fff
}

.style2 {
  font-size: 18px;
  color: #fff
}

.circle1, .circle2, .styleq1 {
  font-size: 23px;
  font-weight: 700
}

.styleq1 {
  color: #2e2e2e
}

.styleq2 {
  font-style: normal
}

.circle1 {
  color: #fff;
  background: #2e2e2e
}

body.skin2 .circle1 {
  background: #61380a;
}

body.skin3 .circle1 {
    background: #80662d;
}

.circle2 {
  color: #888;
  background: #ececec;
  text-shadow: 0 1px #
}

.doyouknow {
  background-color: #fff;
  color: #000;
  min-width: 200px;
  padding: 10px 10px 10px;
  width: 93%;
  border-radius: 4px;
  font-style: italic;
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 16px
}

.doyouknow h2 {
  margin: 10px 10px 10px 0;
  font-style: normal
}

@media screen and (max-width:500px) {
  #q0, #q00, #q1, #q2, #q3, #q4, #q4-2, #q5, #q5-1, #q5-2, #q6, #q7, #q8, #q9 {
    font-size: 18px;
    line-height: 21px
  }
  .h1 {
    font-size: 26px
  }
  .style2 {
    font-size: 15px
  }
  .h1_2 {
    font-size: 22px;
    line-height: 25px
  }
  .style1 {
    font-size: 14px
  }
  #top {
    font-size: 16px
  }
  #box {
    font-size: 21px
  }
  .btnnext, .btnno, .btnyes {
    font-size: 24px;
    width: 100%
  }
  #topbefore {
    background-color: #e6e6ea;
    padding: 6px;
    width: 89%;
    margin: 0 auto;
    text-align: left
  }
}

@media handheld, only screen and (max-width:767px) {
  #infoswarning img {
    width: 100%
  }
}

@media (min-width:620px) {
  #q0, #q00, #q1, #q2, #q3, #q4, #q4-2, #q5, #q5-1, #q5-2, #q6, #q7, #q8, #q9 {
    width: 100%;
    max-width: 600px;
  }
}

#box-final {
  margin: 0;
  font-size: 23px;
  line-height: 24px;
  padding: 0 10px;
  background: #ffffff;
  border: 5px solid #fdff00;
  color: #000;
  text-align: center;
}

/*Skin4*/

body.skin4 {
  background: #000000;
}

body.skin4 .btnyes {
  color: #000000;
  background-color: #fff;
}

body.skin4 .btnno {
  background-color: #aaa;
  color: #fff;
}

body.skin4 .h1 {
  color: #fff;
  text-shadow: 0px 2px 10px #000000;
}

body.skin4 .circle1 {
  color: #000000;
  background-color: #fff;
}

/*Skin5*/

body.skin5 {
  background: #000000;
}

body.skin5 .btnyes {
  color: #000000;
  background-color: #ffe94b;
}

body.skin5 .btnno {
  background-color: #7f7425;
  color: #fff;
}

body.skin5 .h1 {
  color: #fff;
  text-shadow: 0px 2px 10px #000000;
}

body.skin5 .circle1 {
  color: #000000;
  background-color: #fff;
}

/*skin6*/

body.skin6 {
  background: #000000;
}

body.skin6 .btnyes {
  color: #fff;
  background-color: #8bc34a;
}

body.skin6 .btnno {
  background-color: #aaa;
  color: #fff;
}

body.skin6 .h1 {
  color: #fff;
  text-shadow: 0px 2px 10px #000000;
}

body.skin6 .circle1 {
  color: #000000;
  background-color: #fff;
}

/*skin7*/

body.skin7 {
  background: #000000;
}

body.skin7 .btnyes {
  color: #fff;
  background-color: #0000FF;
}

body.skin7 .btnno {
  background-color: #aaa;
  color: #fff;
}

body.skin7 .h1 {
  color: #fff;
  text-shadow: 0px 2px 10px #000000;
}

body.skin7 .circle1 {
  color: #000000;
  background-color: #fff;
}

.gif3{
  width: 80%;
}

.gif4{
  width: 60%;
}

@media only screen and (min-width: 480px) {
  .gif4{
    width: 40%;
  }
}

@media only screen and (min-width: 580px) {
  .gif3{
    width: 60%;
  }
}


/*Toggle Button*/

body.dark-mode {
  background-color: #161616 !important;
}

.toggle-heading {
  margin: 0;
  text-align: center;
  padding-top: 12px;
  margin-bottom: -35px;
}

#app-cover {
  position: fixed;
  bottom: 0;
  display: table;
  width: 100%;
  margin: 16px auto;
  counter-reset: button-counter;
}

#app-cover .row {
  display: table-row;
  float: right;
}

.toggle-button-cover {
  display: table-cell;
  position: relative;
  width: 135px;
  height: 60px;
  box-sizing: border-box;
}

.button-cover {
  height: 50px;
  margin: 20px;
  background-color: transparent;
  border-radius: 4px;
}

.button-cover:before {
  position: absolute;
  right: 0;
  bottom: 0;
  color: #d7e3e3;
  font-size: 12px;
  line-height: 1;
  padding: 5px;
}

.button-cover, .knobs, .layer {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.button {
  position: relative;
  top: 50%;
  width: 75px;
  height: 35px;
  margin: -20px auto 0 auto;
  overflow: hidden;
}

.button.r, .button.r .layer {
  border-radius: 100px;
}

.button.b2 {
  border-radius: 2px;
}

.checkbox {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 3;
}

.knobs {
  z-index: 2;
}

.layer {
  width: 100%;
  background-color: #000000;
  transition: 0.3s ease all;
  z-index: 1;
}

.lightmode-text{
  font-size: 5.5px;
  font-family: Roboto, sans-serif;
  padding-left: 6px;
  padding-top: 6px;
  display: block;
  text-align: left;
}

.darkmode-text{
  font-size: 5.5px;
  font-family: Roboto, sans-serif;
  padding-right: 6px;
  padding-top: 6px;
  display: block;
  text-align: right;
  color: white !important;
}

/* Button 1 */
#button-1 .knobs:before {
  content: url("../images/mode/darkmode-20.png");
  position: absolute;
  top: 4px;
  left: 3px;
  width: 8px;
  height: 6px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
  padding: 4px 16px 18px 5px;
  background-color: #ffffff;
  border-radius: 50%;
  transition: 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15) all;
}

#button-1 .checkbox:checked + .knobs:before {
  content: url("../images/mode/lightmode-20.png");
  left: 45px;
  background-color: #161616;
}

.button .checkbox:checked {
  border: 2px solid #000000 !important;
}

#button-1 .checkbox:checked ~ .layer {
  background-color: #ffffff;
}

#button-1 .knobs, #button-1 .knobs:before, #button-1 .layer {
  transition: 0.3s ease all;
}

@media only screen and (max-width: 768px) {
  #app-cover {
    position: relative;
     margin: 0 auto;
    margin-bottom: -10px;
  }
}
