.form-container {
    height: 100vh;
    display: flex;
    justify-content: center;
    background-position: center !important;
}

#bp-reschedule-page .form-container > p:first-child {
    margin-top: 10%;
    margin-bottom: 32%;
    color: #999999;
    font-weight: bold;
    font-size: 18px;
    max-width: 90%;
    width: unset;
    max-height: 29%;
    height: min-content;
}


#birs_booking_box {
    width: unset !important;
    display: block;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 42em;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    padding: 50px 0;
}

.institution-content {
    display: inline-block;
    padding: 2em;
    align-items: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    z-index: 99999;
    border-radius: 5px;
    max-width: 100%;
    position: relative !important;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 16px;
}

.institution-select {
    float: left;
    width: 100% !important;
}

#birs_appointment_form {
    text-align: center;
    background-color: rgba(0, 0, 0, .80);
    align-items: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -webkit-flex: none; /* Safari 6.1+ */
    -ms-flex: none; /* IE 10 */
    flex: none;
    padding: 2em;
    z-index: 999;
    border-radius: 5px;
    max-width: 100%;
    display: none;
    position: relative !important;
    padding-top: 1em;
}

.birs_section {
    color: #999;
}

.btn-content {
    float: right;
}

.btn-show {
    float: right;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 7px 10px;
    background-color: #ffffff;
    cursor: pointer;
    color: #999;
    height: 37px;
}

.dropdown-search input[type=text], .dropdown-selected, .dropdown-option {
    font-size: 16px;
}

.birs_institution_section {
    color: #999;
    border-bottom: 1px dotted #CCC;
    padding: 15px;
    margin-bottom: 18px;
    text-align: center;
}

.attribute-link {
    color: #666;
    font-weight: bold;
    position: fixed;
    bottom: 0;
}

.loading-overlay {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    z-index: 999999;
    overflow: hidden !important;
    user-select: none;
}

.loading-img {
    position: absolute;
    top: 50%;
    left: 50%;
    right: 0;
    bottom: 0;
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    z-index: 999999;
    width: 100px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
}

.hide {
    display: none !important;
}

p.online-service-msg {
    color: #2ea3f2;
    font-size: small;
}

p.bp-service-name.success {
    padding-bottom: 0;
}

p.online-service-msg.success {
    line-height: 1.25em;
}


#birs_appointment_datepicker span.ui-icon.ui-icon-circle-triangle-w,
#birs_appointment_datepicker span.ui-icon.ui-icon-circle-triangle-e {
    background-color: blueviolet;
}

div#birs_booking_success {
    -ms-flex: none;
    position: relative !important;
    background-color: rgba(0, 0, 0, 0.8);
    font-size: 16px;
    /*width: 50%;*/
    text-align: center;
    color: #FFFFFF;
    padding: 2em;
    z-index: 99999;
    border-radius: 5px;
    margin: 50px auto 0 auto;
    height: min-content;
    height: -moz-min-content;
    max-width: 90%;
    word-break: break-word;
    word-wrap: break-word;
}

#birs_booking_success li h4 {
    color: #999999;
}

div#birs_booking_success h3 {
    color: #2ea3f2;
}

#birs_booking_success li {
    margin-top: 15px;
}

#birs_booking_success li p {
    font-weight: bold;
}

/*
* Style for Reschedule Appointment Page
*/
#birs_reschedule_appointment > #birs_appointment_form {
    display: block;
    left: 0%;
    opacity: 1;
}

div#birs_reschedule_appointment {
    /*width: 100%;*/
    display: inline-block;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    min-height: 42em;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    padding: 50px 0;
}

#birs_reschedule_appointment #birs_appointment_form .birs_field_content {
    font-weight: bold;
    color: #FFFFFF;
    font-size: 16px;
    word-break: break-word;
    word-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
}


#birs_reschedule_appointment .birs_form_field label {
    font-size: 18px;
    color: #999999;
}

div#birs_reschedule_appointment > p:first-child {
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    padding: 2em;
    font-size: 16px;
    font-weight: bold;
    max-width: 90%;
    color: #999999
}

#bp-cancel-page .form-container > p:first-child {
    margin-top: 10%;
    margin-bottom: 32%;
    color: #999999;
    font-weight: bold;
    font-size: 18px;
    max-width: 90%;
    width: unset;
    max-height: 29%;
    height: min-content;
}


div#birs_cancel_appointment {
    padding-top: 40px;
    /*display: inline-grid;*/
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 1;
    border-radius: 5px;
}

#birs_cancel_appointment > p:first-child {
    background-color: rgba(0, 0, 0, 0.8);
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    padding: 2em;
    font-size: 16px;
    font-weight: bold;
    max-width: 90%;
    color: #999999;
}

div#birs_cancel_appointment div#birs_appointment_details {
    text-align: center;
    background-color: rgba(0, 0, 0, .80);
    align-items: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    padding: 2em 2em 2.75em 2em;
    z-index: 999;
    border-radius: 0 0 5px 5px;
    max-width: 75%;
    display: block;
    position: relative !important;
    margin-left: auto;
    margin-right: auto;
}

div#birs_cancel_appointment p#birs_confirm_message {
    text-align: center;
    background-color: rgba(0, 0, 0, .80);
    align-items: center;
    justify-content: center;
    -webkit-box-flex: 0;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
    padding: 2em 2em 0 2em;
    z-index: 999;
    border-radius: 5px 5px 0 0;
    max-width: 75%;
    display: block;
    position: relative !important;
    color: #2ea3f2;
    font-size: 22px;
    margin-left: auto;
    margin-right: auto;
}

div#birs_cancel_appointment div#birs_appointment_details .birs_field_content {
    font-weight: bold;
    color: #FFFFFF;
    font-size: 16px;
    word-break: break-word;
    word-wrap: break-word;
    margin-left: auto;
    margin-right: auto;
}

div#birs_cancel_appointment div#birs_appointment_details .birs_form_field label {
    font-size: 18px;
    color: #999999;
}

input#birs_client_email {
    width: 100%;
}

/****************
* Media Queries
****************/

@media screen and (min-width: 463px) {
    #birs_appointment_form, .institution-content {
        width: 440px;
    }
}

@media only screen and (min-width: 0px) and (max-width: 426px) {
    .institution-content, #birs_appointment_form {
        width: 312px;
    }

    .institution-select {
        float: left;
        width: 100%;
    }

    .btn-content {
        display: flex;
        align-items: center;
        justify-content: center;
        float: right;
        width: 100%;
        margin-top: 10px;
    }

}

@media only screen and (min-width: 426px) and (max-width: 500px) {
    .institution-content, #birs_appointment_form {
        width: auto;
        max-width: 95%;
        min-width: 405px;
        margin-left: auto;
        margin-right: auto;
    }

    .institution-select {
        width: 100% !important;
    }

    .btn-content {
        display: flex;
        align-items: center;
        justify-content: center;
        float: right;
        width: 100%;
        margin-top: 10px;
    }

}

@media only screen and (min-width: 501px) and (max-width: 550px) {
    .institution-content.alone-on-page {
        width: auto;
        max-width: 95%;
        min-width: 480px;
        margin-left: auto;
        margin-right: auto;

    }

    .institution-content.alone-on-page .institution-select {
        width: 100% !important;
    }

    .btn-content {
        display: flex;
        align-items: center;
        justify-content: center;
        float: right;
        width: 100%;
        margin-top: 10px;
    }

}

@media only screen and (min-width: 551px) and (max-width: 650px) {
    .institution-content.alone-on-page {
        width: auto;
        max-width: 95%;
        min-width: 540px;
        margin-left: auto;
        margin-right: auto;

    }

    .institution-content.alone-on-page .institution-select {
        float: left;
        width: 85% !important;
    }

    .btn-content {
        display: flex;
        align-items: center;
        justify-content: center;
        float: right;
    }

}

@media only screen and (min-width: 651px) {
    .institution-content.alone-on-page {
        width: unset;
    }

    .institution-content.alone-on-page .institution-select {
        float: left;
        width: 500px !important;
    }

}

@media screen and (max-width: 425px) {
    .g-recaptcha {
        transform: scale(0.67);
        transform-origin: 0 0;
        width: 380px;
        /* height: 99px !important; */
    }

    .g-recaptcha > div {
        /* width: unset !important; */
        /* height: unset !important; */
        margin: 0 auto !important;
    }

    .g-recaptcha > div > div > iframe {
        /* width: 100%; */
        /* height: 99px; */
    }

    #birs_appointment_recaptcha_error {
        margin-top: -25px !important;
    }
}


@media screen and (min-width: 426px) and (max-width: 500px) {
    .g-recaptcha {
        transform: scale(0.91);
        transform-origin: 0 0;
        width: 380px;
    }

    .g-recaptcha > div {
        /* width: unset !important; */
        /* height: unset !important; */
        margin: 0 auto !important;
    }

    .g-recaptcha > div > div > iframe {
        width: 100%;
        height: 99px;
    }

}

@media screen and (min-width: 501px) {
    .g-recaptcha {
        width: 380px;
    }

    .g-recaptcha > div {
        /* width: unset !important; */
        /* height: unset !important; */
        margin: 0 auto !important;
    }

    .g-recaptcha > div > div > iframe {
        width: 100%;
        height: 99px;
    }

}
