/* For register user form */
.form-signin {
    width: 100%;
}
#accordionContent .form-signin {
    max-width: 420px;
    margin: auto;
}
.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label-group > input,
.form-label-group > label {
    height: 3.125rem;
    padding: .75rem;
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0; /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    pointer-events: none;
    cursor: text; /* Match the input under the label */
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: 1.25rem;
    padding-bottom: .25rem;
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: .25rem;
    padding-bottom: .25rem;
    font-size: 12px;
    color: #777;
}

.form-content-captcha {
    text-align: center;
}
.btn-login-from,
.btn-register-from {
    background: #475d6b;
    border-color: #4a606f;
    color: #fff;
}
.btn-login-from:hover,
.btn-register-from:hover {
    background: #475d6b;
    border-color: #4a606f;
}

.input-group .input-group-content-input {
    position: relative;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    width: 1%;
    margin-bottom: 0;
}
.input-group .input-group-content-input input{
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
.form-control:focus {
    outline: none;
    box-shadow:none !important;
    border:1px solid #4a606f;
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #475d6b;
    border-color: #6c757d;
}
.btn-outline-secondary:focus {
    outline: none;
    box-shadow:none !important;
}

.content-list-item-country {
    max-height: 300px;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    width: 250px;
    font-size: 12px;
}
.content-list-item-country a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #007bff;
}
#search-country-content input {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border: 0;
}
#search-country-content label {
    font-size: 12px;
}

.form-label-group label span.error {
    color: red;
    margin-left: 5px;
}
label.error,
.form-content-captcha .error {
    color: red;
}
#modalSearchBooking .modal-dialog {
    max-width: 420px !important;
}

#modalBookingInfo .resize-modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 20px - 20px - 90px);
    -moz-max-height: calc(100vh - 20px - 20px - 90px);
    -ms-max-height: calc(100vh - 20px - 20px - 90px);
    -webkit-max-height: calc(100vh - 20px - 20px - 90px);
}
#modalRegisterUser .modal-body{
    max-height: calc(100vh - 20px - 20px - 90px - 82px);
    -moz-max-height: calc(100vh - 20px - 20px - 90px  - 82px);
    -ms-max-height: calc(100vh - 20px - 20px - 90px  - 82px);
    -webkit-max-height: calc(100vh - 20px - 20px - 90px  - 82px);
    overflow-y: auto;
}
.modal-footer .custom-footer-div {
    width: 50%;
}

#btn-drop-country {
    font-size: 14px;
}

/* Fallback for Edge
-------------------------------------------------- */
@supports (-ms-ime-align: auto) {
    .form-label-group > label {
    display: none;
    }
    .form-label-group input::-ms-input-placeholder {
    color: #777;
    }
}

/* Fallback for IE
-------------------------------------------------- */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    .form-label-group > label {
    display: none;
    }
    .form-label-group input:-ms-input-placeholder {
    color: #777;
    }
}

@media (max-width:768px){
    .form-signin{
        padding:0
    }
    .g-recaptcha iframe{
    transform:scale(0.92);
    transform-origin:0 0;
    }
    #modalBookingInfo .resize-modal-body {
        max-height: 500px;
    }
}
.select2-phone-code .select2-container--default .select2-selection__arrow{
    margin-top: 10px;
}
.select2-phone-code .select2-container--default .select2-selection--single{
    height: 50px;padding-top: 10px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-color:#ccc;
    outline: none;
}
.select2-dropdown{
    min-width: 240px;
}
