@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,600');
/* International phone number input*/
.iti-flag {background-image: url("../i/flags.png");}
@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2 / 1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx) {
  .iti-flag {background-image: url("../i/flags.png");}
}

* {
    font-family: Open Sans;
    color: #333333;
}
#main-wrapper {

}
#form {
    max-width: 360px;
    margin: 0 auto;
}
.form-meta-text {
    font-size: 13px;
}
#logo {
    width: 105px;
    height: 49px;
    background: url(../i/openvbx-header-newlogo.png) no-repeat;
    background-size: contain;
    margin-top: 32px;
    margin-bottom: 24px;
}
#form-heading {
    font-size: 24px;
    line-height: 32px;
    font-weight: 600;
}
#form-subheading {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 24px;
}

.field-wrapper {
    padding-bottom: 16px;
}

input, select {
    width: 360px;
    height: 42px;
    border: 1px solid #a4b0c1;
    border-radius: 3px;
    background-color: #ffffff;
    font-size: 15px;
    font-weight: 600;
}
input {
    width: 350px;
    padding-left: 10px;
}
#phonenumber {
    width: 360px;
}
option:first { 
    color: gray; 
}

input:focus, select:focus {
    outline: none !important;
    border: 1px solid #027eff;
}
.label {
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 4px;
}
.selected-dial-code, .country {
    font-size: 15px;
    font-weight: 600;
}

.field-error {
    font-size: 13px;
    margin-top: 4px;
    margin-bottom: 0;
    color: #ff4655;
}
.field-error a {
    text-decoration: underline;
    color: #ff4655;
}
.error{
    color: #ff4655;
    font-size: 13px;
}

.primary-green-long {
    width: 360px;
    height: 42px;
    border-radius: 3px;
    border: 1px solid #00cb00;
    background-color: #00cb00;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-align: center;
}

.terms-of-service {
    font-size: 13px;
    color: #474747;
    line-height: 18px;
    font-family: Open Sans;
    margin-top: 8px;
    margin-bottom: 32px;
    text-align: center;
}

.hide {
    display: none;
}
/*fix for the overflow issue when displaying required field message using JQuery validate*/
.flag-container{
    height: 42px;
}
@media (max-width: 400px) {
    #form {
        max-width:95%;
        margin: 0 auto;
    }
    #form-heading {
        font-size: 18px;
        line-height: 24px;
    }
    select, .primary-green-long {
        width: 100%;
    } 
    input {
        width: 95%;
    }
    .intl-tel-input {
        width: 100%;
    }
    #phonenumber {
        width: 100%;
    }
}

/* Success page styles */
#success-icon {
    width: 48px;
    height: 48px;
    margin-top: 128px;
}

.banner-message {
    font-size: 24px;
    text-align: center;
    font-weight: 600;
    text-align: center;
    margin-top: 32px;
}
.banner-message-sub {
    font-size: 18px;
    color: #878787;
    text-align: center;
    margin-bottom: 150px;
}
.link-default {
    font-size: 15px;
    color: #027eff;
    text-decoration: underline solid rgb(2, 126, 255);
    font-weight: 600;
}
.al-center {
    text-align: center;
}

.required:after { content:" *"; }

.autocomplete {
    position: relative;
    display: inline-block;
}
.autocomplete-countries-items {
    position: absolute;
    border: 1px solid #a4b0c1;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow: scroll;
    overflow-x: hidden;
}
.autocomplete-countries-items:empty {
    display: none
}
.autocomplete-countries-items div {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #a4b0c1;
    background-color: #ffffff;
}
.autocomplete-countries-items div:hover {
    background-color: #e9e9e9;
}
.autocomplete-active {
    background-color:  #e9e9e9 !important;
}

.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
} 

.tooltip .tooltiptext {
    visibility: hidden;
    width: 220px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    position: absolute;
    z-index: 1;
    top: -10%;
    left: 100%;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 40%;
    left: 0%;
    margin-left: -10px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent #555 transparent transparent;
}

