header {
    background-color: rgb(255 255 255 / 45%);
}

footer .footer-block {
    border-top: none;
}

.contact.bg {
    position: relative;
    background-image: url(../../../img/contact-bg.jpg);
    background-size: cover;
    background-position: center 15%;
    background-attachment: fixed;
    z-index: 0;
}

#content .container-fluid>.row {
    min-height: calc(100vh - var(--header-height) - var(--footer-height) - 80px);
}

#content .contact-top-bar {
    position: relative;
}

#content .contact-top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 45px;
    background-image: url(../../../img/contact-top-bar.svg);
    background-size: cover;
    background-position: left center;
    z-index: -1;
}

#content .contact-top-bar h3 {
    padding: 5px 0 5px 70px;
    margin-bottom: 0;
    font-size: 1.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
}

#content .contact-content {
    padding: 45px 30px 45px 60px;
    background-color: rgb(255 255 255 / 20%);
}

#content .contact-info {
    padding-left: 45px;
    margin-bottom: 0;
    list-style: none;
}

#content .contact-info>li {
    display: flex;
    align-items: flex-start;
    margin-top: 20px;
    font-size: 1.25rem;
}

#content .contact-info>li:first-child {
    margin-top: 0;
}

#content .contact-info>li,
#content .contact-info>li a {
    color: #000;
}

#content .contact-info>li p {
    margin-bottom: 0;
    line-height: 1.7;
}

#content .contact-info>li img {
    width: 40px;
    height: 40px;
    margin-right: 5px;
}

#content .contact-info>li:last-child img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
}

#contact-form .form-group {
    position: relative;
    display: flex;
    align-items: baseline;
}

#contact-form .form-group:last-child {
    margin-bottom: 0;
}

#contact-form .form-group label {
    min-width: 120px;
    font-size: 1.25rem;
    color: #000;
    white-space: nowrap;
}

#contact-form .form-group .form-control {
    height: 35px;
    color: var(--black-color);
    border: none;
    border-radius: 0;
}

#contact-form .form-group textarea.form-control {
    height: 150px;
    padding: 5px 10px;
    resize: none;
    box-shadow: none;
}

#contact-form .form-group .captcha-block {
    display: flex;
    align-items: center;
}

#contact-form .form-group .btn-renew {
    padding: 0 4px;
    font-size: 1.25rem;
    white-space: nowrap;
    transition: all 0.25s;
}

#contact-form .form-group .btn-renew:hover {
    opacity: 0.6;
}

#contact-form .form-group .btn-submit {
    width: 100%;
    padding: 0 10px;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: #fff;
    background-color: #444;
    border-radius: 0;
    transition: all 0.25s;
}

#contact-form .form-group .btn-submit:hover {
    opacity: 0.8;
}

#contact-form .form-group .form-control+label.error {
    position: absolute;
    top: 5px;
    right: 5px;
    min-width: auto;
    margin: 0;
    font-size: 1rem;
    color: #e94434;
}

#contact-form .form-group .form-control+#captcha-error {
    top: 6px;
    right: 158px;
}

@media (max-width: 1500px) {
    #content .contact-content {
        padding: 40px 30px;
    }

    #content .contact-info {
        padding-left: 0;
        margin-top: 40px;
    }
}

@media (max-width: 1300px) and (min-width: 1200px) {
    #content .contact-content .col-xl-6.col-lg-12 {
        -ms-flex: 0 0 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 991px) {
    header {
        background-color: #fff;
    }
    
    .contact.bg {
        background-position: 75% 15%;
    }

    #content .container-fluid>.row {
        min-height: calc(100vh - var(--header-height) - var(--footer-height) - 40px);
    }

    #content .contact-top-bar::before {
        height: 42px;
    }

    #content .contact-top-bar h3 {
        font-size: 1.7rem;
    }
}

@media (max-width: 575px) {
    .contact.bg {
        background-position: 70% 15%;
    }

    #content .contact-content {
        padding: 30px 15px 40px;
    }

    #content .contact-info {
        margin-top: 30px;
    }

    #content .contact-info>li,
    #contact-form .form-group label,
    #contact-form .form-group .btn-submit {
        font-size: 1.2rem;
    }

    #contact-form .form-group .btn-renew {
        padding-left: 0;
        font-size: 1.2rem;
    }

    #content .contact-info>li img {
        width: 30px;
        height: 30px;
    }

    #content .contact-info>li:last-child img {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px) {
    #content .contact-top-bar h3 {
        padding: 5px 0 5px 50px;
        font-size: 1.45rem;
    }

    #content .contact-info>li, #contact-form .form-group label, #contact-form .form-group .btn-submit,
    #contact-form .form-group .btn-renew {
        font-size: 1.05rem;
    }

    #contact-form .form-group {
        flex-direction: column;
        margin-bottom: 0;
    }

    #contact-form .form-group:last-child {
        margin-top: 0.5rem;
    }

    #contact-form .form-group .form-control {
        margin-bottom: .5rem;
    }

    #contact-form .form-group .form-control+#captcha-error {
        top: 5px;
        right: 5px;
    }
}
