﻿body {
   font-weight: normal;
   margin: 0;
   padding: 0;
   font-family: 'SamsungOne', sans-serif;
   box-sizing: border-box;
}

html, input, textarea, label, select, table, td {
   font-family: 'SamsungOne', sans-serif;
   box-sizing: border-box;
}

form {
   width: 100%;
}

label {
   color: #000000;
}

#custom_popup .modal {
   top: 45%;
   bottom: inherit;
   margin: auto;
   transform: translate(-50%,-50%);
   right: inherit;
   left: 50%;
   width: 100%;
   height: max-content;
}

.inputsthankyou {
   width: 100%;
   padding: 10px 0;
   position: relative;
   text-align: center;
   margin: 0 auto;
   color: #000000;
   max-width: 800px;
}

   .inputsthankyou p {
      font-size: 18px;
      font-family: 'SamsungOne', sans-serif;
      font-weight: bold;
      margin: 30px 0;
      line-height: 24px;
      text-align: center;
   }

button.close.popup_close {
   position: absolute;
   right: 10px;
   top: 10px;
   color: #212121;
   opacity: 1;
   font-size: 26px;
   z-index: 9;
}

.bg_input {
   width: 100%;
   position: relative;
   color: #000000;
   padding-bottom: 10px;
}

.mainform {
   width: 100%;
   margin: 0px auto;
   /*background: #dcddde;*/
   max-width: 800px;
   padding: 20px 20px;
   box-sizing: border-box;
   font-size: 16px;
}

   /*.mainform p {
      font-size: 15px;
      color: #000000;
      margin: 0;
   }*/

   .mainform p span {
      font-size: 12px;
   }

.leftform h2 {
   font-size: 34px;
   color: #007ac3;
   line-height: 48px;
   margin: 0;
   text-align: center;
}

.border-o {
   border: 0;
   margin: 10px 0 0 0;
}

.inputboxfull {
   background: #000000;
   font-size: 14px;
   color: #fff;
   padding: 2px 0;
   display: table;
   width: 100%;
}

.bg_input_Name {
   width: 10%;
   float: left;
}

.bg_input_half {
   width: 45%;
   float: left;
}

   .bg_input_half label {
      position: absolute;
      bottom: -22px;
   }

.bg_input_left {
   float: left;
   margin: 20px 0 20px 0;
}

.leftdiv {
   float: left;
   width: 30%;
   margin-bottom: 10px;
}

.rightdiv {
   float: left;
   width: 70%;
   margin-bottom: 10px;
}

.bg_radio {
   position: relative;
   padding: 7px 0 0 0;
}

   .bg_radio input[type="radio"] {
      display: inline-block;
      vertical-align: middle;
      margin: 0 10px 2px;
   }

   .bg_radio label {
      font-size: 14px;
      color: #8c7c7c;
   }

.qhead {
   color: #007ac3;
}

.chk input, .term_offer input {
   margin: 0px 10px 0;
   display: none;
   vertical-align: middle;
   position: absolute;
   left: 0;
   opacity: 0;
   cursor: pointer;
}

table.chk td {
   padding: 10px 0;
   position: relative;
}

.chk {
   list-style: none;
   padding: 0;
   margin: 15px 0;
   display: flex;
   flex-wrap: wrap;
}

   .chk li {
      padding: 0 0 0 40px;
      margin: 5px 0;
      flex: 50%;
      box-sizing: border-box;
   }


   .chk label {
      font-size: 14px;
      color: #000000;
      line-height: 20px;
   }

      .chk label:before, .term_offer label:before {
         content: '';
         height: 20px;
         width: 20px;
         border: 1px solid #007ac3;
         display: inline-block;
         vertical-align: middle;
         color: #000000;
         font-size: 20px;
         display: block;
         float: left;
         line-height: 22px;
         cursor: pointer;
         background: #ffffff;
         margin-left: -35px;
      }

   .chk input[type="checkbox"]:checked + label:before, .term_offer input[type="checkbox"]:checked + label:before {
      content: '✔';
   }

.inputbox {
   width: 100%;
   background: #ffffff;
   border: solid 1px #007ac3;
   font-size: 14px;
   color: #000000;
   padding: 7px 10px;
   outline: none;
}

.inputbox1 {
   width: 100%;
   background: #ffffff;
   border: none;
   font-size: 14px;
   color: #000000;
   padding: 7px 10px;
   outline: none;
}

.inputboxradio {
   background: #ffffff;
   font-size: 14px;
   color: #000000;
   padding: 7px 10px;
}

.brandname p {
   color: #000000;
}

.alert span {
   font-size: 12px;
   color: #ff0000;
   line-height: 10px;
   margin: 0;
   padding: 0;
}

.Thank_Form {
   padding: 0 0 0 0;
   position: relative;
}

   .Thank_Form p {
      font-size: 20px;
      color: #000000;
      text-align: center;
      margin: 0;
      padding: 0;
   }

      .Thank_Form p a {
         font-size: 12px;
         color: #000000;
         margin: 0 auto;
         text-align: center;
         text-decoration: underline;
         display: table;
      }

         .Thank_Form p a:hover {
            text-decoration: none;
            cursor: pointer;
         }

.chkbox_reminder {
   width: auto;
   font-size: 12px;
   color: #333;
   overflow: hidden;
   position: relative;
   margin-bottom: 10px;
}

.chkbox_privacy {
   width: 100%;
   font-size: 12px;
   color: #333;
   overflow: hidden;
   position: relative;
   margin-bottom: 10px;
}

.Checkbox_Note p {
   float: left;
   width: 80%;
   font-size: 12px;
   color: #333;
   line-height: 13px;
}

.term_offer {
   overflow: hidden;
   width: 100%;
}

   .term_offer a {
      color: #007ac3;
   }

.refresh {
   color: #000000;
}

   .refresh a {
      color: #000000;
   }

.chkbox_reminder label, .chkbox_privacy label {
   font-size: 14px;
   color: #000000;
   float: left;
   width: auto;
   margin: 0;
   padding: 7px 0 0 40px;
   line-height: 18px;
}

.clr {
   clear: both;
}

.term_offer input {
   margin-top: 9px;
   float: left;
   width: 25px;
}

.error {
   clear: both;
   font-size: 14px;
}

.chkbox_reminder .error1, .chkbox_privacy .error1 {
   font-size: 14px;
   padding-left: 20px;
   clear: both;
}

.upper_form {
   max-width: 80%;
   width: 100%;
   margin: auto;
}

   .upper_form > div {
      padding: 20px 20px;
   }

.Btn_submit {
   text-align: center;
   margin-top: 30px;
   position: relative;
   z-index: 1;
}

   .Btn_submit:before {
      /*content: "";
      position: absolute;*/
      width: 100%;
      height: 1px;
      left: 0;
      right: 0;
      margin: auto;
      /*top: 0;
      bottom: 0;*/
      background: #bcbcbc;
      /*z-index: -1;*/
   }

.submit {
   background: #007ac3;
   color: #ffffff;
   border: solid 0px #cccccc;
   border-radius: 25px;
   padding: 7px 40px;
   font-size: 14px;
   cursor: pointer;
   text-transform: uppercase;
   outline: none;
}

   .submit:hover {
      background: #ffffff;
      color: #000000;
      border: solid 1px #007ac3;
      cursor: pointer;
   }

.bg_input_wrap {
   display: flex;
   flex-wrap: wrap;
}

   .bg_input_wrap > div {
      flex: 1;
      padding-left: 20px;
   }

      .bg_input_wrap > div:first-child {
         padding-left: 0;
      }

.border_bottom {
   position: relative;
   margin: 20px 0 0;
}

   .border_bottom:after {
      border-bottom: 1px solid #007ac3;
      content: "";
      position: absolute;
      bottom: 10px;
      width: 100%;
      height: 1px;
      left: 0;
      right: 0;
      margin: auto;
   }

@media only screen and (max-width:767px) {
   .leftform h2 {
      margin: 0;
      font-size: 24px;
      line-height: 28px;
   }
   
   .inputsthankyou p {
      font-size: 15px;
   }

   .bg_input_wrap {
      display: block;
      overflow: hidden;
   }

   .chk {
      display: block;
   }

   .upper_form > div {
      padding: 0;
      margin-bottom: 30px;
   }

   .upper_form {
      display: block;
      max-width: 100%;
   }

   .mainform {
      width: 100%;
      margin: 0;
   }

      .mainform h3 {
         font-size: 22px;
      }

      .mainform h4 {
         font-size: 14px;
         padding: 0px 0px 10px 0;
         line-height: 14px;
      }

   .chkbox_reminder, .chkbox_privacy {
      width: 100%;
   }

   .Thank_Form p {
      font-size: 12px;
   }

   .chk li {
      display: block;
      width: 100%;
      margin: 10px 0;
   }

   .bg_input_wrap > div {
      padding-left: 0px;
   }
}

@media only screen and (max-width:360px) {
   .bg_input_left {
      margin: 10px 0 10px 0;
   }

   .inputbox1 {
      margin: 0px 10px 0 0;
   }

   .leftdiv {
      width: 20%;
   }

   .rightdiv {
      width: 80%;
   }

   .inputbox1 {
      width: 100%;
   }
}
