body {
    background-color: transparent;
    overflow: hidden !important;
    font-family: "Open Sans", "Helvetica Neue",Helvetica,Arial,sans-serif;
}

 ::-webkit-scrollbar { 
    display: none; 
}

.mainForm,
.success, 
.contact, 
.registered {
    position: fixed;
    width: 100% !important;
    height: 100% !important;
    margin: 0 auto;
}

.overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    z-index: 500;
}

.form-wrapper {
    position:relative;
    background-color: rgba(38, 38, 38, 0.96);
    padding-bottom: 40px;
    width: 100%;
    max-width: 450px;
    margin-top: 100px;
    z-index: 1000;
    padding-left: 0;
    padding-right: 0;
    max-height:700px;
    overflow-y:scroll;
    overflow-x:hidden;
    -ms-overflow-style: scrollbar;

}
::-webkit-scrollbar {
    display:inline-block;
    width: 10px;
    z-index:2;
}

::-webkit-scrollbar-button {
    background-color: rgba(38, 38, 38, 0.96);
    height:0;

}
::-webkit-scrollbar-thumb {
    background-color: #555;
}

.success .form-wrapper,
.contact .form-wrapper,
.registered .form-wrapper {
    padding-left: 20px;
    padding-right: 20px;
}
/*.success, 
.contact, 
.registered {
    width: 100%;
    max-width: 76%;
    padding: 10px 0;
    margin: 0 auto;
    overflow: hidden !important;
}*/

.contact {
    height: 450px !important; 
}

.registered, .success {
    height: 460px !important;
}

h1, 
h2, 
h3,
p {
    font-family: "Open Sans", sans-serif;
    text-align: center;
    color: #b8b8b8 !important;
}

p.subText {
    margin-top: 10px;
}

h1 {
   width: 100%;
   max-width: 450px;
   margin: 30px auto 15px;
   text-transform: uppercase;
   font-size: 28px;
   letter-spacing: 3px;
   line-height: 36px;
}

h3 {
    margin-top: 40px;
}

.mainForm h1 span {
    font-size: 20px !important;
    vertical-align: top;
}

.mainForm h3 {
    margin-top: 0px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 18px !important;
    color: #57a9f0 !important;
    letter-spacing: 1px;
    padding: 5px;
    text-shadow: 1px 1px 10px #000;
    background-color: #2c2c2c;
}

.mainForm h3 .market-date {
    white-space:nowrap;
}

.success h1, .registered h1, .contact h1 {
    border-bottom: 1px solid #767676;
    padding-bottom: 10px;
    
}

.registered h1 {
    font-size: 25px !important;
}

.registered h4, .success h4 {
    font-size: 16px;
    color: #f2f2f2;
    font-weight: 200;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #767676;
}

.success h2, .registered h2 {
    font-size: 21px !important;
}

.success h3, .registered h3 {
    margin-top: 10px;
    font-size: 18px !important;
    color: #57a9f0 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    background-color: #2c2c2c;
    padding: 5px;
}

.registered h3 {
    padding: 5px 0;
    text-shadow: 1px 1px 10px #000;
}

.success p {
    font-size: 14px !important;
    color: #fafafa !important;
}

.mainForm p {
    font-size: 12px !important;
    text-align: left;
    margin-top: 15px;
}

.contact p.info {
    text-align: left;
    font-size: 17px;
    padding-left: 40px;
    margin: 20px 0;
}

.registered p {
    color: #f2f2f2 !important;
    font-size: 16px !important;
    margin-bottom: 15px;
}

.contact a.goBack {
    color: #4a99dd !important;
}

/*Book Travel Button*/

.success .marketmore button, .registered .marketmore button{
    background-color: #337ab7;
    border: transparent;
    padding: 9px 20px;
    color: #d7d7d7 !important;
    font-size: 18px !important;
}

.success .marketmore button {
    margin-top: 0;
}

.registered h2, .marketTravel-wrapper h2 {
    text-align: left;
}

.exclusive{
    display: inline-block;
    width: 100%;
    max-width: 250px;
    text-align: left;
    vertical-align:top;
}
.registered .marketmore,
.success .marketmore {
    display: inline-block;
    float: right;
}


/*Book Travel Button END*/

form {
    width: 86%;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 8px;
}

label {
    margin-bottom: 0px;
    font-size: 16px !important;
    color: #d7d7d7;
    letter-spacing: 1px;
}

.row.dem-quest {
    margin-top: 10px;
    margin-bottom: 10px;
}

.row.dem-quest label {
    font-weight: normal;
    letter-spacing: 0;
}

.form-control, select {
    width: 100%;
    height: auto;
    padding: 12px 0 12px 5px;
    border-radius: 0;
    background-color: rgba(42, 42, 42, 0.97);
    color: #d7d7d7 !important;
    border: 1px solid #767676;
}

.form-group option {
    background-color: rgba(38,38,38, 1);
}

select {
    width: 100%;
}

.panel {
    margin-top: 10px;
    border-radius: 0;
    background-color: transparent;
}

.panel-heading {
    padding: 7px 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.panel-default {
    border-color: transparent;
}

.panel-default>.panel-heading {
    font-weight: 400;
    font-size: 20px !important;
    color: #d7d7d7 !important;
    border-color: #444444;
    background-color: transparent;
    letter-spacing: 1px;
}

/*select {
    display: none;
}*/

.g-recaptcha div, .rc-anchor-normal {
    width: 100% !important;
}

.btn-primary {
    display: block;
    float: right;
    border-radius: 0;
    margin-top: 10px;
    padding: 8px 24px;
    font-size: 18px !important;
    background-color: #337ab7;
    border:2px solid #2e6da4;
    color: #fafafa;
}

.register {
    float: none;
    margin: 0 auto;
    padding: 8px 50px;
    margin-bottom: 40px;
}

input[type="text"] {
    width: 100%;
    height: auto;
    background-color: rgba(42, 42, 42, 0.97);
    color: #d7d7d7 !important;
    border: 1px solid #767676; 
    padding-left:1px;
}



/* Return to site links */

.close-link {
            width: 100%;
            text-align:center;
            margin-top: 20px;
        }
.close-link a {
    text-decoration: underline;
    color:#57a9f0;
}

.closeForm {
    font-size: 35px;
    color: #d7d7d7;
    float: right;
    position: absolute;
    right: 10px;
    top: 0px;
}

.mainForm .close-link{
    margin-top: 25px;
    margin-bottom: 10px;
    color: #b8b8b8 !important;
    white-space: nowrap;
}

#newBuyer-link, #applynow {
    display: none;
    font-size: 16px !important;
    color: #57a9f0;
    padding: 5px 10px 0 0;
    text-decoration: none !important;
    margin: 0 5px;
    white-space: nowrap;
    text-decoration: underline !important;
}

#applynow {
    padding: 8px 14px 0 0;
    font-size: 18px !important;
    margin: 10px 0 0;
}

.submit-wrapper {
    display: inline-block;
    float: right;
}

.attemptsLeft {
    display:block;
}

.attemptsLeft p {
    margin: 0;
    text-align: right;
    font-size: 15px !important;
    max-width: 143px;
    display:inline-block;
    position: relative;
    right:0;
    margin-right: 4px;
}

.attemptsLeft span {
    color: rgba(146, 36, 36, 1) !important;
    font-weight:bold;
    font-size: 17px;
}


/* Error States */

.error, input[type="text"].error {
    border: 1px solid rgba(146, 36, 36, 0.8);
    box-shadow: 0 0 8px rgba(230, 38, 38, 0.6);
}

label.error {
    font-weight: normal;
    right: 20%;
    color: rgba(228, 70, 70, 1);
    padding: 6px;
    margin-top: 4px;
    max-width: 100%;
    text-align: center;
}

label.error::after {
    position: absolute;
    bottom: 100%; /* At the bottom of the tooltip */
    left: 50%;
    margin-left: 70px;
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent rgba(228, 70, 70, 1) transparent;
}

#market-error {
    margin-top: 50px;
}

#emailaddress-error {
    display: none;
}

.attempt {
    background-color: #fde6e7;
    padding: 5px;
    margin-bottom: 5px;

}

.attempt h5 {
    margin: 0 !important;
    color: #9f0606 !important;
    font-weight:bold;
    font-size: 16px;
    line-height: 19px;
}

.mainForm .attempt p {
    margin: 0;
    color: #000 !important;
    font-size: 14px !important;
    /*font-weight:bold;*/
}

.contact h3 {
    margin-top: 30px;
    color: #9f0606 !important;
    font-size: 16px;
    background-color: #fde6e7;
    padding: 5px;
    font-weight: bold;
}

/* ReCaptcha Styles */

.g-recaptcha {
    transform:scale(1.28);
    -webkit-transform:scale(1.28);

    transform-origin:left top;
    -webkit-transform-origin:left top;
    
    height: 80%;
}

/* Results Container Styles - Radio Button Styles */

input[type="radio"]{
    margin-left: 10px;
    margin-right: 5px;
    vertical-align: top;
    margin-top: 20px;
}

#result-container h3 {
    background-color: #d0edd4;
    color: #000 !important;
    padding: 10px 0;
    text-shadow:none;
    text-transform: none;
    font-size: 15px !important;
}

.result-list, .resendList {
    margin: 10px 0;
}

.result-list label, .resendList label {
    margin: 5px 0;
    width: 100%;
    padding: 5px;
}

.result-list label span, .resendList label span {
    font-weight: normal;
    font-style: italic;
}

.result-list input, .resendList input {
    position: absolute;
    left: -9999px;
}

.result-list label::before, .resendList label::before {
  content: '';
  display: inline-block;
  float: left;
  height:20px;
  padding-top: 15px;
  margin: 10px 15px 0 20px;
  width: 20px;
  border: 3px solid #fff;
  border-radius: 100px;

  transition: background-color .2s;
  -webkit-transition: background-color .2s;
  -moz-transition: background-color .2s;
  -o-transition: background-color .2s;
}

.result-list label:hover, .result-list input[type="radio"]:checked + label,
.resendList label:hover, .resendList input[type="radio"]:checked + label {
    background-color: #3a3a3a;
    border: 1px solid #2f2f2f;
    cursor: pointer;
}

.result-list input[type="radio"]:checked + label::before,
.resendList input[type="radio"]:checked + label::before {
    background-color:#2e873a;
    border-color: #2fad41;

    transition: background-color .2s;
    -webkit-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -o-transition: background-color .2s;
}

.resendList label i {
    float: right;
    margin-top: -15px;
    margin-right: 10px;
    font-size: 30px;
    color: #555;
}

.resendList {
    display: none;
    background-color: rgb(44, 44, 44);
    margin-bottom: 20px;
}

.resendList h5 {
    color: #d7d7d7;
    font-weight:bold;
    font-size: 16px;
    background-color: #2c2c2c;
    margin:0;
    padding:8px 0 5px 10px;
}

.resendList hr {
    border-color: #444;
    margin: 5px 0;
}

.select2-container--default .select2-selection--multiple {
  background-color: rgba(42, 42, 42, 0.97) !important;
}

/* Light Version */
.light {
  background-color: rgba(255, 255, 255, 0.96);
}

.light h1, 
.light h2, 
.light h3,
.light p {
    color: rgba(42, 42, 42, 0.97) !important;
}

.light h3 {
    text-shadow: none;
}

.success.light h3, .registered.light h3{
    color: rgba(42, 42, 42, 0.97) !important;
}

.light label {
    color: #444 !important;
}

.light .panel-body .row {
    color: #444444 !important;
}

.light .form-control, .light select {
    background-color:rgba(255, 255, 255, 0.97);
    color: #444 !important;
}

.light .form-group option {
    background-color: #FFF;
    color: #444 !important;
}

.light .panel-default>.panel-heading {
    color: #333 !important;
}

.light input[type="text"] {
    color: #444 !important;
    background-color: rgba(255, 255, 255, 0.97);
}
@media screen and (min-width: 1301px) {
    .button-wrapper {
        margin-top: 7px;
    }
}

@media screen and (max-width: 1300px) {
    .form-wrapper {
        max-width: 400px;
    }
    .exclusive {
        max-width: 200px;
    }
     .g-recaptcha {
        transform:scale(1.14);
        -webkit-transform:scale(1.14);
        transform-origin:left top;
        -webkit-transform-origin:left top;
     } 
     .button-wrapper {
        margin-top: 10px;
    }
}

@media screen and (max-height: 800px) {
    .form-wrapper {
        margin-top: 50px;
        max-height: 500px;
        overflow-y: scroll !important;
        -ms-overflow-style: scrollbar;
    }
}

@media screen and (max-height: 699px) {
    .form-wrapper {
        margin-top: 20px;
    }
} 
@media screen and (max-width: 459px) {
    .mainForm,
    .contact,
    .success,
    .registered {
        width: 100% !important;
        overflow: visible !important;
        position:absolute;
    }

    .contact,
    .success,
    .registered {
        height: 100% !important;
    }


    .h3 {
        -webkit-margin-before: 0;
    }

    form {
        width: 90%;
    }
    .closeForm {
        margin: 0;
        margin-right: 10px;
    }
    .form-wrapper {
        margin-top: 0;
        padding-bottom: 80px;
    }

    .result-list {

        background-color: rgba(200, 200, 200, 0.1);
    }
    .mainForm .close-link {
        white-space: normal;
    }

    .g-recaptcha {
        transform:scale(1.19);
        -webkit-transform:scale(1.19);
     } 

    .button-wrapper {
        margin-top: 0;
    }

}

@media screen and (max-width: 401px) {
    .mainForm {
        overflow: scroll !important;
    }

    .panel {
        margin-top: 15px;
        margin-bottom: 20px;
    }

    .panel-default>.panel-heading {
        display: none;
    }
    .g-recaptcha {
        transform:scale(1.15);
        -webkit-transform:scale(1.15);
     } 

}

@media screen and (max-width: 390px) {
    .g-recaptcha {
        transform:scale(1.1);
        -webkit-transform:scale(1.1);
     }
    .exclusive {
        display: block;
        max-width: 100%;
        text-align: center;
    } 
    .registered .marketmore {
        float: none;
        width: 100%;
    }
    .registered h2, .marketTravel-wrapper h2 {
        text-align: center;
    }
}

@media screen and (max-width: 325px) {
    .panel {
        margin-top: 5px;
        margin-bottom: 10px;
    }

    .panel-body {
        padding: 0px;
    }

    .panel-default {
        border: 0;
    }

     .g-recaptcha {
        transform:scale(0.95);
        -webkit-transform:scale(0.95);
     } 
}

.marketTravel-wrapper {
    color: #f2f2f2 !important;
  
}

a.mt-link {
    color: #f2f2f2;
    text-decoration: underline;
}

    a.mt-link:hover {
        color: #57a9f0
    }