.map_and_info{
    width: 100vw;
    height: calc(80vh - 96px);
    min-height: 300px;
}

body.contacs{

}

body header{
    transition: all 0.3s ease-in-out;
}

.contacts-main{
    padding: 64px 0 32px;
    text-align: center;
}

.contacts-main-title,
.contacts-main-subtitle{
    font-family: var(--font-family);
    font-size: var(--news-font-size);
    font-weight: var(--news-font-weight);
    line-height: 1;
    margin: 0;

}

.contacts-main-title{
    text-transform: uppercase;
}

.contacts-main-subtitle{
    font-size: var(--news-subtitle-font-size);
    font-weight: var(--news-subtitle-font-weight);
}

.contacts-main-description{
    text-align: center;
    margin: 32px auto 0;
    font-family: var(--content-font-family);
    font-size: var(--content-font-size);
    font-weight: var(--content-font-weight);
}

[data-model="map-container"]{
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.leaflet-popup-content-wrapper h3,
.leaflet-popup-content-wrapper p{
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
    line-height: normal;
}


.leaflet-popup-content-wrapper h3 small{
    display: block;
    font-size: 11px;
}

.leaflet-popup-content-wrapper p{
    font-weight: normal;
    font-size: 1rem;
    margin: 0.5em auto;
}

.leaflet-popup-content-wrapper a {
    color: #000;
    font-size: 1rem;
}

form{
    margin-bottom: 64px;
}

form[disabled] *,
form[disabled]{
    pointer-events: none;
}

form[disabled]{
    opacity: 0.2;
}

form .row:last-child{
    margin: 32px auto;
    padding: 32px 0;
    border-top: 1px solid #f0f0f0;
}

form label{
    display: block;
    margin-bottom: 0.5em;
}

form textarea,
form input{
    min-height: 32px;
    border: 1px solid #d0d0d0;
    width: 96%;
    margin: 0 auto 0.5em;
    border-radius: 3px;
    padding: 0 0.5em;
}

form textarea{
    padding: 1em 0.5em;
}

form textarea{
    height: 64px;
    width: 100%;
}

form input + small{
    display: block;
    max-width: 80%;
    font-size: 0.8rem;
    color: #999;
}

form input[type="submit"]{

    width: auto;
    min-width: 200px;
    line-height: 1;
    margin: 0 auto;
    appearance: none;
    white-space: normal;
    height: auto;
    left: 50%;
    position: relative;
    transform: translate(-50%,0);
    cursor: pointer;

    background: var( --button-background-color);
    border-radius: var(--button-radius);
    font-size: var(--button-font-size);
    color: var(--button-font-color);
    padding: var(--button-padding);
    display: var(--button-display);
    transition: all 0.1s ease-in-out;
}

form input[type="submit"]:hover{
    transform: translate(-50%,0) scale(1.05);
}

form input[type="submit"]:active{
    transform: translate(-50%,0) scale(0.95)!important;
}

/*input:not([type=checkbox],[type=radio],[type=submit],[type=color],[type=button],[type=reset]):invalid,
select:invalid, textarea:invalid, textarea[type=text]:invalid,*/
input:invalid{
    border: 1px solid var(--button-background-color);
}

textarea:placeholder-shown,
input:placeholder-shown{
    border: 1px solid #f0f0f0;
}

sup{
    color: #f00;
}

/*************
** SWITCH
*************/

.form-switch {
    display: inline-flex;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    align-items: center;
    position: relative;
}

.form-switch i {
    position: relative;
    display: inline-block;
    margin-right: .5rem;
    width: 46px;
    height: 26px;
    background-color: #e6e6e6;
    border-radius: 23px;
    vertical-align: text-bottom;
    transition: all 0.3s linear;
}
.form-switch i::before {
    content: "";
    position: absolute;
    left: 0;
    width: 44px;
    height: 24px;
    background-color: #fff;
    border-radius: 11px;
    transform: translate3d(1px, 1px, 0) scale3d(1, 1, 1);
    transition: all 0.25s linear;
}
.form-switch i::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 11px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.24);
    transform: translate3d(2px, 2px, 0);
    transition: all 0.2s ease-in-out;
}
.form-switch:active i::after {
    width: 28px;
    transform: translate3d(2px, 2px, 0);
}
.form-switch:active input:checked + i::after {
    transform: translate3d(16px, 2px, 0);
}
.form-switch input {
    position: absolute;
    left: 0;
    top: 0;
    pointer-events: none;
    opacity: 0;
    width: 60px;
    height: 24px;
    margin: 0;
    padding: 0;
    z-index: 2;
}
.form-switch input:checked + i { background-color: #4BD763; }
.form-switch input:checked + i::before { transform: translate3d(18px, 2px, 0) scale3d(0, 0, 0); }
.form-switch input:checked + i::after { transform: translate3d(22px, 2px, 0); }


/*******
** TOASTIFY
************/
.toastify{
    width: auto;
}

.toastify.on{
    width: auto;
    max-width: 90vw;
}

.toastify.success{
    padding: 2rem;
    border-radius: 6px;
    background: radial-gradient(#ef8c65, #dd450a);
    font-size: 1rem;
}

.toastify.error{
    background: radial-gradient(#f30000, #d00101);
    padding: 2rem;
    border-radius: 6px;
    font-size: 1rem;
}

.toastify .toast-close{
    position: absolute;
    top: 8px;
    right: 12px;

}

.toastify strong{
    text-transform: uppercase;
    font-weight: bold;
    line-height: 1;
    font-family: var(--content-font-family);
    font-size: 1.4em;
}

.toastify strong + p{
    margin: 0.5em auto 1em;
    font-size: 1em;
    margin: 0.5em auto 1em;
    font-size: 1.6rem;
    font-weight: 200;
}

.toastify .button.button-primary{
    border: 0;
    background: #fff;
    color: #cf6317;
    text-transform: uppercase;
    font-size: 1rem;
}

.toastify.error .button.button-primary{
    color: #d00101;
}

.toastify.on.success ~ header:after {
    content: '';
    width: 100vw;
    height: 100vh;
    opacity: 0.3;
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200000;
    pointer-events: none;
    -webkit-backdrop-filter: blur(3px);
    -moz-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

.toastify strong{
    display: block;
}

.leaflet-control-container .leaflet-left{
    top: auto;
    left: auto;
    right: 32px;
    bottom: 32px;
    position: absolute;
    /* transform: translate(0, 0%); */
}

form input + small,
[data-type="privacy-block"] p{
    font-size: 1.2rem;
}

@media all and (max-width: 600px){

    .contact-persons .col-xs-6{
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact-persons .col-xs-1{
        height: 4px;
        flex: 0 0 100%;
        display: none;
    }
    .contact-persons .separator{
        height: 2px;
        border-radius: 10em;
        width: 80%;
        left: 50%;
        position: absolute;
        top: 50%;
        transform: translate(-50%, -50%);
        background: #f0f0f0;
    }

    [name="form_contatti"] .row{

        display: block;


    }

    [name="form_contatti"] .row > div{
        margin-bottom: 1em;
    }


}