@import url('../variables.css');

/* Contact headline */
.contact-headline {
    margin: 0 auto;
    padding: 110px 0 40px;
}

.contact-headline h1 {
    font-size: 44px;
    font-weight: 400;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-headline h2 {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.44;
    text-align: center;
    margin-bottom: 0.5rem;
    color: #2a2a2a;
}

.contact-headline p {
    font-size: 16px;
    /* font-weight: 500; */
    line-height: 1.63;
    text-align: center;
    color: #9e9e9e;
}

/* contact container */
.contact-container {
    width: 100%;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fcfcfc),to(#f7f7f7));
    background-image: -o-linear-gradient(top,#fcfcfc,#f7f7f7);
    background-image: linear-gradient(180deg,#fcfcfc,#f7f7f7);
    padding: 60px 0 100px;
}

.contact-container .contact-content {
    width: 1190px;
    margin: 0 auto;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: justify;
    -webkit-box-pack: justify;
    justify-content: space-between;
}

.contact-container .contact-content .contact-form {
    width: 450px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 3px 1px rgba(0,0,0,.08);
    box-shadow: 0 1px 3px 1px rgba(0,0,0,.08);
    border: 1px solid #f2f2f2;
    background-color: #fff;
    /*z-index: 2;*/
    padding: 30px;
}

.contact-container .contact-content .contact-column-container {
    width: 60%;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.contact-container .contact-content .contact-column {
    width: 45%;
}

.contact-container .contact-content .contact-column div:first-child {
    border-top: 1px solid hsla(0,0%,62%,.3);
    border-bottom: 1px solid hsla(0,0%,62%,.3);
    padding: 29px 0 46px;
    min-height: 208.5px;
}

.contact-container .contact-content .contact-column:last-child div:first-child {
    border-bottom: 0;
}

.contact-container .contact-content .contact-column div:first-child>span:first-child,
.contact-container .contact-content .contact-column div:first-child>span:nth-child(3) {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: .1px;
    color: #9e9e9e;
}

.contact-container .contact-content .contact-column div:first-child>span:nth-child(2) {
    display: block;
    font-size: 24px;
    line-height: 1;
    letter-spacing: .2px;
    padding-bottom: 20px;
    color: var(--primary-color);
}

.contact-container .contact-content .contact-column div:first-child .email {
    padding-bottom: 21px;
}

.contact-container .contact-content .contact-column div:first-child span:nth-child(2) a {
    color: var(--primary-color);
}

.contact-container .button, .contact-container a {
    text-decoration: none;
}

.contact-container .contact-content .contact-column div:nth-child(2) {
    padding: 31px 0 0;
}

.contact-container .contact-content .contact-column div:nth-child(n+2)>span {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: .1px;
    color: #9e9e9e;
}

.contact-container .contact-content .contact-column div:nth-child(2) {
    padding: 31px 0 0;
}

.contact-container .contact-content .contact-column .company-data {
    padding: 0!important;
    display: -ms-flexbox;
    display: -webkit-box;
    display: flex;
    -ms-flex-direction: column;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
}

.contact-container .contact-content .contact-column .company-data p {
    font-size: 14px;
    letter-spacing: .1px;
    color: #9e9e9e;
    line-height: 1.71;
    margin: 15px 0;
}

.contact-container .contact-content .contact-column .company-data p span:first-child {
    font-size: 15px;
}

.contact-container .contact-content .contact-column div:nth-child(n+2) .company-data span {
    color: #3d3d3d;
}

.contact-container .contact-content .contact-column div:first-child .call-info {
    color: #9e9e9e;
    letter-spacing: .1px;
    line-height: 1.5;
    font-size: 14px;
    display: block;
}

.contact-container .contact-content .contact-column div:first-child .call-info.grid {
    display: -ms-grid;
    display: grid;
    grid-template-columns: 70px 150px;
}

.contact-container .contact-content .contact-column div:nth-child(2) .company-data .contact-for-press-email {
    color: var(--primary-color);
    font-size: 16px;
    margin: 15px 0;
}

/* GOOGLE MAP */
.google-map {
    height: 450px;
    position: relative;
}

/* Media query */
@media screen and (max-width: 1080px) {

    .contact-container .contact-content {
        height: auto;
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -ms-flex-align: center;
        -webkit-box-align: center;
        align-items: center;
    }

    .contact-container .contact-content {
        padding: 0 20px;
    }

    .contact-container .contact-content {
        width: 100%;
    }

    .contact-container .contact-content .contact-form {
        height: auto;
        margin-bottom: 30px;
    }

    .contact-container .contact-content .contact-column-container {
        -ms-flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        flex-direction: column;
        -ms-flex-align: center;
        -webkit-box-align: center;
        align-items: center;
        width: 450px;
        padding-bottom: 30px;
    }

    .contact-container .contact-content .contact-column {
        width: 100%;
    }

    .contact-container .contact-content .contact-column div:first-child {
        min-height: inherit;
        padding: 29px 0;
    }

    .contact-container .contact-content .contact-column {
        width: 100%;
    }

    .contact-container .contact-content .contact-column div:first-child {
        min-height: inherit;
        padding: 29px 0;
    }

}

@media screen and (max-width: 478px) {

    .contact-container .contact-content .contact-column-container,
    .contact-container .contact-content .contact-form {
        width: 100%;
    }

}

@media screen and (max-width: 550px) {

    .contact-headline h1 {
        font-size: 30px;
    }

    .contact-headline {
        padding: 50px 0 40px;
    }

}

.contact-container .contact-form .symbol {
    display: inline-block;
    flex-shrink: 0;
    position: relative;
    border-radius: 0.475rem;
}

.contact-container .contact-form .symbol-100px {
    width: 100px;
    height: auto;
}

.contact-container .contact-form .single-contact:not(:last-child) {
    padding-bottom: 20px;
    border-bottom: 1px solid hsla(0,0%,62%,.3);
}

.contact-container .contact-form .single-contact:not(:first-child) {
    padding-top: 20px;
}

.contact-container .contact-form .single-contact .single-contact-details a:not([type='email']):not([type='phone']) {
    color: var(--primary-color);
    /* font-weight: bold; */
    margin: 0 !important;
}

.contact-container .contact-form .single-contact .single-contact-details small {
    opacity: 0.8;
    color: #9e9e9e;
    margin-bottom: 10px;
}

.contact-container .contact-form .single-contact .single-contact-details .email,
.contact-container .contact-form .single-contact .single-contact-details .phone {
    position: relative;
}

.contact-container .contact-form .single-contact .single-contact-details .email svg,
.contact-container .contact-form .single-contact .single-contact-details .phone svg {
    position: absolute;
    top: 60%;
    left: 0;
    width: 18px;
    height: auto;
    transform: translateY(-50%);
    color: var(--primary-color);
    fill: var(--primary-color);
}

.contact-container .contact-form .single-contact .single-contact-details .email a,
.contact-container .contact-form .single-contact .single-contact-details .phone a {
    padding-left: 24px;
    color: var(--primary-color);
}

@media screen and (max-width: 550px) {

    .contact-container .contact-form .single-contact {
        flex-direction: column;
    }

    .contact-container .contact-form .symbol-100px {
        margin: 0 auto !important;
        margin-bottom: 10px !important;
    }

    .contact-container {
        padding-top: 20px !important;
    }

}