.popup_window, .popup_window.thank_you
{
    box-shadow: 0.01rem 0.1vh 0.4vh 0.03rem var(--site_black);
    width: 60rem;
    height: 38rem;
    margin: 10.5vh auto; /* Will not center vertically and won't work in IE6/7. */
    left: 0;
    right: 0;
    position: fixed;
    z-index: 9999999;
    background: linear-gradient(to top, #FFFFFF 50%, var(--site_orange) 50%);
}

.btn_popup_window_exit
{
    position: absolute;
    left: 1rem;
    top: 1vh;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    font-family: Arial, Helvetica, sans-serif;
    z-index: 2;
}

.popup_window .box_contact_us
{
    background-color: #FFFFFF;
    width: 100%;
    padding: 2rem;
    box-shadow: 0.01rem 0.1vh 0.4vh 0.03rem var(--site_black);
    height: 33rem;
}

.popup_window .box_contact_us .error_message {
    margin-top: 1rem;
}

.form-group 
{
    position: relative;
    margin-bottom: 1.5rem;
    width: 85%;
    right: 2rem;
}

input:focus, .form-group textarea
{
    outline:none;
    box-shadow:none !important;
}

.form-group input, .form-group textarea
{
    border: 0;
    outline: 0 !important;
    background: transparent;
    border-bottom: 1px solid var(--site_orange) !important;
}


.form-group input ,.form-group label
{
    cursor: pointer;
}
  
.form-control-placeholder 
{
    position: absolute;
    top: 0;
    padding: 0.6vh 1rem 0 0;
    transition: all 200ms;
    color: var(--site_black);
}

.form-control:focus + .form-control-placeholder,
.form-control:valid + .form-control-placeholder 
{
    font-size: 85%;
    -webkit-transform: translate3d(0, -110%, 0);
    transform: translate3d(0, -110%, 0);
    opacity: 1;
    margin-right: -0.5rem;
    color: var(--site_orange);
}


.error_message
{
    color: red;
    text-align: center;
    display: none;
    height: 1.7rem;
}

#btn_send_contact_us
{
    border-radius: 0;  
    background-color: var(--site_orange);
    width: 10.5rem;
    margin: 0 auto;
    color: #FFFFFF !important;
    font-size: 18px;
}



/* captcha style */

.CaptchaTxtField
 { 
    border: 1px solid #ccc; 
    display: block;  
    box-sizing: border-box;
}
  
.CaptchaImageCode 
{ 
    width: 12rem;
    margin-right: 4.5rem;
    overflow: hidden;
}
  
.capcode 
{ 
    font-size: 18px; 
    display: block; 
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none; 
    cursor: default;
    letter-spacing: 1px;
    color: #ccc;
    font-family: 'Roboto Slab', serif;
    font-weight: 100;
    font-style: italic;
}

#contact_us_title, #contact_us_thank_you
{
    color: #FFFFFF;
    font-size: 50px;
    margin-top: 5rem;
    margin-right: -3.5rem;
}

#contact_us_title p {
    margin-right: 5rem;
    width: 15rem;
    text-align: right;
}

#contact_us_thank_you p {
    margin-right: 5rem;
    text-align: right;
    width: 100%;
}

#contact_us_text, #contact_us_text_mobile {
    padding: 3rem 1rem 0 0;
    font-size: 1.05rem;
    text-align: right;
}

.popup_window.thank_you {
    background: var(--site_orange);
    height: 25rem;
}

.background_window_popup.thank_you {
    display: block;
}

#contact_us_text .subtitle-text,
#contact_us_text_mobile .subtitle-text {
    color: var(--site_orange);
    text-decoration: underline;
}

.subtitle-details {
    font-size: .9rem;
}

#contact_us_details
{
    margin-top: 6vh;
    margin-right: 3.5rem;
    text-align: right;
}

#contact_us_details p:first-child
{
    color: var(--site_orange);
    font-size: 18px;
    text-decoration: underline;
}

#contact_us_details span
{
    color: var(--site_orange);
    font-weight: 500;
}

@media screen and (max-width: 992px) {
    #contact_us_title {
        margin-top: 2rem;
        text-align: center;
        width: 100%;
    }

    .popup_window {
        width: 100%;
    }

    #contact_us_text {
        padding-top: 5rem;
    }
}

@media screen and (max-width: 768px) {

    .btn_popup_window_exit {
        font-size: 2rem;
    }

    .popup_window .box_contact_us {
        height: auto;
    }

    .popup_window {
        width: 90%;
        height: auto;
        position: absolute;
    }

    #contact_us_title {
        margin-top: 0;
        margin-right: 0;
    }

    #contact_us_title p {
        width: 100%;
        margin-right: 0;
        text-align: center;
    }

    .window_contact_us .row.text-center.py-5.pl-5 {
        padding: 1rem 1rem 3rem !important;
    }
    #contact_us_title p {
        font-size: 1.5rem;
        font-weight: bold;
    }

    .form-group {
        width: 95%;
    }

    #contact_us_text_mobile {
        padding: 1rem ;
        font-size: 1rem;
        background-color: #ffffff;
    }

    .window_contact_us .text-center.py-5.pl-5 > col-md-6:first-child {
        margin-bottom: 1rem;
    }

}
@media screen and (max-width: 450px) {
    .popup_window .box_contact_us .form-group {
        right: .5rem;
    }

    .CaptchaImageCode {
        margin-right: 0;
    }

    .popup_window {
        width: 100%;
        margin-top: .5rem;
    }

    .window_contact_us .text-center.py-5.pl-5 > col-md-6:first-child {
        margin-bottom: 0;
    }

}
