body {
   margin-bottom: 0;
   margin-top: 0;
   margin-left: 0;
   margin-right: 0;
   background-color: #FFFFFF;
}

form {
   margin-top: 10px;
}

#container,
#form {
   border-radius: 0;
   padding: 0;
   width: 90%;
   min-width: 300px;
   max-width: 700px;
   position: relative;
   margin: 20px auto;
   font-size: 0;
}



.top {
   width: 100%;
   background-color: #FFFFFF;
   font-size: 23px;
   color: white;
   font-family: 'Open Sans', sans-serif;
   font-weight: bold;
   padding-top: 13px;

   border-bottom: 1px solid #666;
}

input {
   background: #FFFFFF;
   border: 2px solid #B0A6A6;
   display: block;
   padding: 7px;
   width: 50%;
   max-width: 100%;
   height: 42px!important;
   padding: 0 12px!important;

}

.radio-img {
   text-align: center !important;
}

#main ul,
#main p {
   margin: 3px 0;
}

#main {
   width: 100%;
   background-color: #FFFFFF;
   font-size: 23px;
   color: white;
   font-family: 'Open Sans', sans-serif;
   font-weight: bold;
   padding-top: 13px;
   text-align: center;
   padding-bottom: 12px;
   border-bottom: 1px solid #666;
}

#logo {
   width: 13%;
   max-height: 100%;
   display: inline-block;
   float: left;

}


.top-texr {
   color: black;
   font-style: normal;
   font-weight: normal;
   font-size: 24px;
   line-height: 30px;
   text-align: center;
   letter-spacing: -0.015em;
}



#q00,
#q0,
#q1,
#q2,
#q3,
#q4,
#q5,
#q6,
#q7,
#q8,
#q9,
#q9a,
#q9b,
#q9c,
#q9d {
   border-radius: 0;
   overflow: hidden;
   background-color: #FFFFFF;
   border-top: 1px solid #666;
   width: 100%;
   min-width: 300px;
   max-width: 700px;
   display: none;
   line-height: 28px;
   font-size: 22px;
   color: white;
   font-family: 'Open Sans', sans-serif;
   box-shadow: 0 0 4px #444;
   margin: 0 auto
}

.btnyes {
   font-size: 30px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   width: 40%;
   background: url(btn.png);
   max-width: 240px;
   border-radius: 5px;
   display: inline-block;
   cursor: pointer;
   font-weight: bold;
   padding: 21px 0;
   text-decoration: none;
   text-shadow: 0 -1px #666;
   margin-right: 10px;
   outline: none;
   border: none;
}

.navbar-brand {}

.btnno {
   font-size: 30px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   width: 40%;
   background: url(btn2.png);
   max-width: 240px;
   border-radius: 5px;
   display: inline-block;
   cursor: pointer;
   font-weight: bold;
   padding: 21px 0;
   text-decoration: none;
   text-shadow: 0 -1px #666;
   margin-left: 10px;
   outline: none;
   border: none;
}

.btnnext {
   font-size: 30px;
   color: #000;
   font-family: 'Open Sans', sans-serif;
   width: 70%;
   background: url(btn.png);
   max-width: 240px;
   border-radius: 5px;
   display: inline-block;
   cursor: pointer;
   font-weight: bold;
   padding: 25px 0;
   text-decoration: none;
   text-shadow: 0 1px #ffe500;
   outline: none;
   border: none;
}

#prod {}

#intro-image {
   display: inline-block;
   vertical-align: middle;
}

#box {
   margin: 0 auto;
   padding: 10px;
}

#box2 {
   width: 50%;
   min-width: 300px;
   margin: 0 auto;
   padding: 10px;
}

.h1w {
   font-size: 35px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   text-transform: uppercase
}

.h1 {
   font-size: 24px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   text-transform: uppercase
}

.h2 {
   color: #cc0000;
}

.h10 {
   font-size: 17px;
   color: #777;
   font-family: 'Open Sans', sans-serif;
}

.circle1 {
   font-size: 20px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   font-weight: bold;
   background: #666;
   border-radius: 10000px;
   padding: 6px 12px;
}

.circle2 {
   font-size: 20px;
   color: #fff;
   font-family: 'Open Sans', sans-serif;
   font-weight: bold;
   background: #ddd;
   border-radius: 10000px;
   padding: 6px 12px;
}

@media screen and (max-width: 500px) {

   #q00,
   #q0,
   #q1,
   #q2,
   #q3,
   #q4,
   #q5,
   #q6,
   #q7,
   #q8,
   #q9,
   #q9a,
   #q9b,
   #q9c,
   #q9d {

      font-size: 18px;
      line-height: 21px;
   }

   #container {
      margin: 15px auto;
   }

   .h1w {
      font-size: 24px;
   }

   .h1 {
      font-size: 17px;
   }

   #top {
      font-size: 19px;
   }

   .btnyes {
      font-size: 24px;
   }

   .btnno {
      font-size: 24px;
   }

   .btnnext {
      font-size: 30px;
      width: 90%;
   }

}

#main .btnnext {
   width: 50%;
   padding: 6px 0;
   max-width: 350px;
}

@media (max-width: 680px) {
   .top-texr {

      font-size: 18px;

   }

   #logo {
      width: 22%;
   }
}

@media (max-width: 400px) {

   #top {
      padding-right: 5px;
   }

   .navbar-nav {
      padding-right: 10px;
   }

   .top-texr {

      font-size: 18px;

   }

   #logo {
      width: 38%;
   }


   #form .top-texr {

      font-size: 17px;
      text-align: right;

   }

   #form #logo {
      width: 28%;
   }
}

body,
html,
.main {
   height: 100%;
}

section {
   min-height: 100%;
}

/* HIDE RADIO */
[type=radio] {
   position: absolute;
   opacity: 0;
   width: 0;
   height: 0;
}

/* IMAGE STYLES */
[type=radio]+img {
   cursor: pointer;
}

/* CHECKED STYLES */
[type=radio]:checked+img {
   outline: 2px solid #f00;
}

.inputtext {
   width: 100%;
   padding: 12px 20px;
   margin: 8px 0;
   display: inline-block;
   border: 1px solid #ccc;
   border-radius: 4px;
   box-sizing: border-box;
}

.inputsubmit {
   width: 100%;
   background-color: #4CAF50;
   color: white;
   padding: 14px 20px;
   margin: 8px 0;
   border: none;
   border-radius: 4px;
   cursor: pointer;
}

.inputsubmit:hover {
   background-color: #45a049;
}

.div {
   border-radius: 5px;
   background-color: #f2f2f2;
   padding: 20px;
}

.button {
   position: relative;
   background-color: #4CAF50;
   border: none;
   font-size: 28px;
   color: #FFFFFF;
   width: 100%;
   text-align: center;
   -webkit-transition-duration: 0.4s;
   /* Safari */
   transition-duration: 0.4s;
   text-decoration: none;
   overflow: hidden;
   cursor: pointer;
}

.button:after {
   content: "";
   background: #90EE90;
   display: block;
   position: absolute;
   padding-top: 300%;
   padding-left: 350%;
   margin-left: -20px !important;
   margin-top: -120%;
   opacity: 0;
   transition: all 0.8s
}

.button:active:after {
   padding: 0;
   margin: 0;
   opacity: 1;
   transition: 0s
}
form .input-wrapper label {
   display: none;
   pointer-events: none;
 }

 form .input-wrapper {
   position: relative;
   margin: 0 auto 20px;
 }

 form .input-wrapper .error {
   border: 1px solid red!important;
   padding-top: 6px!important;
 }

 form .input-wrapper .error+label {
   width: 100%;
   height: 100%;
   color: red;
   display: block !important;
   font-size: 11px;
   line-height: 17px;
   position: absolute;
   top: 0;
   right: 10px;
   text-align: right!important;
 }

 form .input-wrapper .error+label:before,
 form .input-wrapper .error+label:after {
   content: "";
   position: absolute;
   left: 30px;
   top: 50%;
   width: 3px;
   height: 21px;
   background-color: red
 }

 form .input-wrapper .error+label:before {
   -webkit-transform: translate(0, -50%) rotate(135deg);
   transform: translate(0, -50%) rotate(135deg)
 }

 form .input-wrapper .error+label:after {
   -webkit-transform: translate(0, -50%) rotate(45deg);
   transform: translate(0, -50%) rotate(45deg)
 }
 .input-wrapper input {
   direction: ltr;
   text-align: right;
 }
 .form__price {
   display: -webkit-box;
   display: -ms-flexbox;
   display: flex;
   -webkit-box-orient: vertical;
   -webkit-box-direction: normal;
   -ms-flex-direction: column;
   flex-direction: column;
   -webkit-box-align: center;
   -ms-flex-align: center;
   align-items: center;
}
.form__price-old {
   text-decoration: line-through;
   font-size: 32px;
}
.form__price-new {
   font-size: 42px;
   font-weight: 700;
   color: darkgreen;
}

.name-link {
   color: inherit;
   font-size: inherit;
   font-weight: inherit;
   text-decoration: none;
}

.name-link:hover {
   color: inherit;
   font-size: inherit;
   font-weight: inherit;
   text-decoration: none;
}
