/* Popup
------------------------------------------------------------------------------------------------------------------------------------*/
.popup .popup-container {
    height: auto;
    width: 1000px;
    position: fixed;
    top: 15px;
    left: 50%;
    z-index: 9999999;
    margin-left: -500px;
}

.popup.active {
    display: block !important;

    width: 100%;
    height: 100%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 90000;
}

.popup.active .popup-container {
    transform: unset;
}

.open-popup {
    cursor: pointer;
}

.popup .popup-container-inner {
    position: relative;
    width: 100%;
    /* max-height: 100vh; */
    /* height: 100vh; */
    padding: 25px;
    /* overflow: auto; */
    background-color: #fff;
}

.acf-map.popup-googlemap {
    height: 350px;
    min-height: 350px;
    position: relative;
    background-color: #1b1b1b;
}
.reduced_height .acf-map.popup-googlemap{
    display: none;
}


.popup .headline-contatti {
    font-size: 24px;
}

.popup .popup-subtitle {
    font-size: 24px;
}

/* Header Popup
--------------------------------------------*/
.popup-form-header {
    padding: 15px 0 25px;
    background-color: #fff;
}

.popup-form-header h2 {
    font-family: "PublicSans-Bold", sans-serif;
    margin-bottom: 0;
}

/* Content Popup
--------------------------------------------*/
.popup .popup-content {
    height: 100%;
}

/* Close Popup
--------------------------------------------*/
.close-icon {
    height: 24px;
    width: 24px;
    padding: 4px;
    position: absolute;
    top: 12px;
    right: 16px;
}

.close-icon::after {
    content: '';
    background-image: url(img/icon_plus.svg);
    background-repeat: no-repeat;
    background-position: center;
    height: 100%;
    width: 100%;
    display: block;
    transform: rotate(45deg);
    background-size: cover;
}

.close-popup.close-icon {
    position: absolute;
    top: 35px;
    right: 35px;
    width: 60px;
    height: 60px;
    padding: 0 !important;
    z-index: 2;
}

.close-popup.close-icon:after {
    height: 34px;
    width: 34px;
    margin-left: auto;
}

.close-popup-container {
    margin-top: 30px;
}

/* Popup Scrollbar
--------------------------------------------*/
.popup .popup-content::-webkit-scrollbar,
.form-container::-webkit-scrollbar {
    width: 3px;
}

.popup .popup-content::-webkit-scrollbar-track,
.form-container::-webkit-scrollbar-track {
    background: #eeeeee;
}

.popup .popup-content::-webkit-scrollbar-thumb,
.form-container::-webkit-scrollbar-thumb {
    background: #559494;
}

.popup .popup-contents::-webkit-scrollbar-thumb:hover,
.form-container::-webkit-scrollbar-thumb:hover {
    background: #559494;
}


@media (max-width: 1001px){
    .popup .popup-container {
        width: 98%;
        top: 0;
        left: 0;
        margin-left: 1%;
    }
}

@media (max-width: 700px){
    .country-popup .single-contact p, .country-popup .single-contact a {
        font-size: 16px;
    }
    body .country-popup .popup-title {
        font-size: 38px;
        line-height: 40px;
    }
    body .popup .popup-subtitle {
        font-size: 21px;
    }
    .close-popup.close-icon {
        top: 20px;
        right: 15px;
        width: 50px;
        height: 50px;
    }
    .popup .popup-container {
    }
    .popup .popup-container-inner {
        padding: 15px;
    }
    .popup .wd-50 {
        width: 100%;
    }
    .single-contact {
        margin-top: 10px;
    }
    .country-popup .main-contacts {
        padding-top: 20px;
        padding-right: 0;
        padding-bottom: 20px;
    }
    .popup-form-header {
        padding: 0 0 15px;
    }
}