﻿.contact-container {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 100%;
    margin: 0 auto;
    padding-top: 160px;
}

    .contact-container::before {
        content: ' ';
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-image: url(../images/map.svg);
        background-size: cover;
        opacity: .12;
    }

.page-title {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 80%;
    margin: 0 auto;
}

    .page-title h1 {
        width: 27%;
        border-bottom: 4px solid;
        border-image-slice: 1;
        border-image-source: linear-gradient(90deg, var(--color-rgba-white) 0%, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
        margin: 0 auto;
        text-align: center;
    }


    .page-title p {
        width: 100%;
        margin: 24px 0;
    }

    .page-title.contact-title {
        margin-top: 64px;
    }

.contact {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    align-items: center;
    position: relative;
    width: 80%;
    margin: 0 auto;
    margin-top: 44px;
    justify-content: center;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 30%;
    flex-direction: column;
    z-index: 5;
}

    .contact-content ul {
        list-style: none;
    }

        .contact-content ul li {
            display: inline-flex;
            text-decoration: none;
            margin-top: 24px;
            align-items: center;
            line-height: 1.8;
            width: 100%;
        }

            .contact-content ul li:first-of-type {
                margin-top: 0;
            }

            .contact-content ul li span {
                margin-right: 24px;
            }

            .contact-content ul li a.linked-in {
                margin-top: 6px;    
            }

.contact-form {
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;
    width: 40%;
    background: var(--color-bright-white);
    padding: 24px;
    height: auto;
    border-radius: 4px;
    -webkit-box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
    -moz-box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
    box-shadow: 0px 0px 10px 5px rgba(14,59,140,0.3);
    z-index: 5;
}

    .contact-form .contact-inp {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        position: relative;
        margin-top: 24px;
    }

        .contact-form .contact-inp input {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 auto;
            width: 100%;
            height: 36px;
            padding: 0 14px;
        }

        .contact-form .contact-inp textarea {
            display: flex;
            flex-wrap: wrap;
            flex: 0 0 auto;
            width: 100%;
            height: 236px;
            padding: 14px 14px;
        }

        .contact-form .contact-inp input, .contact-form .contact-inp textarea {
            font-size: 16px;
            color: var(--color-blue);
            border: 0;
            border-bottom: 2px solid;
            border-image-slice: 1;
            border-image-source: linear-gradient(90deg, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
            transition: all 1s;
        }

            .contact-form .contact-inp input:focus, .contact-form .contact-inp textarea:focus {
                border-image-source: linear-gradient(90deg, var(--color-rgba-white) 0%, var(--color-rgba-blue) 50%, var(--color-rgba-white) 100%);
                transition: all 1s;
            }

    .contact-form .btn {
        display: flex;
        flex-wrap: wrap;
        height: 48px;
        width: 33%;
        align-content: center;
        justify-content: center;
        margin-top: 24px;
    }

.contact-container .map-section {
    min-width: 100%;
    min-height: 50vh;
    position: relative;
    margin-top: 100px;
    z-index: 2;
}

    .contact-container .map-section #map {
        min-width: 100%;
        min-height: 100%;
    }


    .contact-container .map-section .overlay {
        background: rgb(14,59,140);
        background: -moz-linear-gradient(0deg, rgba(14,59,140,1) 5%, rgba(14,59,140,0.4962359943977591) 34%, rgba(255,255,255,0) 100%);
        background: -webkit-linear-gradient(0deg, rgba(14,59,140,1) 5%, rgba(14,59,140,0.4962359943977591) 34%, rgba(255,255,255,0) 100%);
        background: linear-gradient(0deg, rgba(14,59,140,1) 5%, rgba(14,59,140,0.4962359943977591) 34%, rgba(255,255,255,0) 100%);
        filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0e3b8c",endColorstr="#ffffff",GradientType=1);
    }

    .contact-container .map-section:hover .overlay {
        visibility: hidden;
        opacity: 0;
        transition: all 1s;
    }


/*#region MOBILE STYLES*/
@media (max-width: 767px) {
    .page-title h1 {
        width: 95%;
    }

    .contact-container::before {
        background-size: auto;
    }
}
/*#endregion MOBILE STYLES*/
