/* MENU MOBILE */


.showmobile { display: none; }
.showtablet { display: none; }
.hidemobile { }

.header_top {
    /*height: 905px; */
    height: auto;}
.header_top.interno {/*height: 650px; margin-top: -130px;*/}

.logo {max-width: 100%;}
.logo_verticale {display: none;}

.container{width:100%; margin:0 auto; position: relative;}
/*.container_header {width:100%; margin:0 auto; position: relative; padding: 0 8%;}*/
.configuratoreiframe {height: 1500px;}

table.restables-origin {display: table;}
table.restables-clone {display: none;}

@media only screen and (min-width: 2000px) {
  #articles article > .row > .minHeight340 {min-height: 540px;}
}



@media only screen and (max-width: 1399px) {
    html {font-size:12px;}
    .payoffHeader1 {
        font-size: 2rem;
        line-height: 3rem;
        
    }
    .payoffHeader2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .menu_top {
        /*height: 200px;*/
    }
    .container_header > .row > .clear40 {height: 20px;}
    .continua8 {
        max-width: 100%;
        min-width: auto;
        float: unset;
    }
    #torna_su {
        /*left: 20px;*/
    }
}

@media only screen and (max-width: 1199px) {
    html {font-size:12px;}
    ul.menu > li > a {
      padding: 7px 0px;
    }
    .verticalbar {margin: 5px 40px;}
    .header_top.interno {/*height: 500px;*/}
    .payoffHeader1 {
        font-size: 2rem;
        line-height: 3rem;
    }
    .payoffHeader2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    .padding-h1 {padding: 0 10px 0 0;}
    .padding-h2 {padding: 0 10px;}
    .padding-h3 {padding: 0 0 0 10px;}    
    .bottoneContatti {
        margin: 0 15px;
        width: 200px;
    }
}


@media only screen and (max-width: 991px) { /* lg */
    html {font-size:11px;}
    .menu_top {
        height: auto;
        position: relative;
    }
    #topC {display: none;}
    .header_top {
        padding-top: unset;
    }
    .slidestestata {
        margin-top: 0;
    }
    .slidestestata .payoffs {
        position: absolute;
        left: 0;
        right: 0;
        top: calc(50% - 25px);
        text-shadow: 2px 2px 4px #103968;
        padding: 0 100px;
    }
    .slick-prev0 {
        position: absolute;
        top: calc(50% - 25px);
        left: 10px;
        height: 40px;
        font-size: 1.53rem;
        line-height: 3.84rem;
        min-width: 80px;
        cursor: pointer;
        z-index: 9;
    }
    .slick-next0 {
        position: absolute;
        top: calc(50% - 25px);
        right: 10px;
        height: 40px;
        font-size: 1.53rem;
        line-height: 3.84rem;
        min-width: 80px;
        cursor: pointer;
        z-index: 9;
    }    

    .container_header .container_flag.bgomal {background-color: #FFF;}
    .logo2{padding: 0 7px;}
    .container_flag {
        padding: 0 0px;
    }
    .fascia_footer .container_flag {
        padding: 0 7px;
    }
    .ricercaH {background-color: #004899; width: 100%;}
    .ricercaH > .row{justify-content: flex-end; padding: 0 7px;}
    .socialicon {
        padding: 10px 0 !important;
        height: 36px;
        box-sizing: content-box;
    }
    .socialicon [class*="fa fa-"], .socialicon [class*="fas fa-"] {
        background-color: #004899;
        border-radius: 50%;
        color: #FFF;
        height: 38px;
        line-height: 38px;
        width: 38px;
        font-size: 19px;
    }
    .logo {
        /*height: 26px;
        padding: 15px 0;*/
        height: 40px;
        padding: 8px 0;
        box-sizing: content-box;
    }
    .richiedi-info-top {
        background-color: #004899;
        width: 38px;
        height: 38px;
        color: #FFF !important;
    }
    .flags > span, .flags > a, .socialicon > a {
        font-size: 22px;
        line-height: 38px;
    }
    .bottoneContatti {
        margin: 0 10px;
        width: 180px;
    }

}


@media only screen and (max-width: 767px) { /* md */
    
    ::-moz-selection {
    background: #ffffff;
    text-shadow: none;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
    -webkit-tap-highlight-color: transparent;
    }
    
    ::selection {
        background: #ffffff;
        text-shadow: none;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
        -webkit-tap-highlight-color: transparent;
    }
    
    *{
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0) !important; 
        -webkit-focus-ring-color: rgba(255, 255, 255, 0) !important; 
        outline: none !important;
    }
    #articles article > .row .minHeight540 {
        min-height: 240px;
    }
    #articles article > .row .minHeight540.box-image {
        max-height: 300px;
    }
    #articles .bordoSinistro {
        border-left: 0;
    }
    #articles .bordoDestro {
        border-right: 0;
    }
    #articles .box-gallery {
        margin-bottom: 10px;
    }
    .box-lavoraconnoi .continua11 {display: none;}
    .media2Confronto{position: relative; width: 100%; bottom: 0; right: 0;}
    #articles .box-image .overflowh {position: relative;}
    .ricercaCampoHeader input {width: 100%;}

    .fascia_footer .f11{font-size: 1.2rem; line-height: 1.45;}
    .fascia_footer .container_flag .col-md-4 {text-align: center !important;}    
    .payoffHeader1 {
        font-size: 1.3rem;
        line-height: 1.5;
    }
    .payoffHeader2 {
        font-size: 1.3rem;
        line-height: 1.5;
    }
    .bottoneContatti {
        margin: 0 10px;
        width: 180px;
    }

}


@media only screen and (max-width: 575px) { /* sm */
    .menu_top {
        height: auto;
    }
    .header_top {
        padding-top: 0px;
        /*background-color: #f3f8fc;*/
    }
    .slidestestata .payoffs {
        bottom: 5px;
    }
    .slidestestata .payoffs .txtbianco {
        color: #004899;
    }
    .slidestestata .payoffs .txtbianco br {
        display: none;
    }
    
    .payoffHeader1 {
        font-size: 2rem;
        line-height: 2.5rem;
    }
    .payoffHeader2 {
        font-size: 1.5rem;
        line-height: 2rem;
    }
    #articles .article-content {
        padding: 40px 0;
    }
    
    #articles article > .row > .minHeight540 .article-content, #formContatti, .padding10p1, .formLavoraconnoi {
        padding: 10px 1%;
    }
    
    .pulsanteS {
        width: 100%;
        background-size: 40px 40px !important;
        background-position: 20px center !important;
        padding: 10px 20px 10px 79px;
        margin: 0px;
        font-size: 1.4rem;
        height: 61px;
        line-height: 2.2rem;
        color: #FFF;
        cursor: pointer;
    }    
    .header_top.interno {/*height: 300px;*/}
    .menu_top {background-color: rgba(255, 255, 255, 1);}
    .cronistoria {
        padding: 2rem !important;
    }
    .ui-accordion .ui-accordion-content {
        padding: 3em 0;
    }
    .slick-dots {
        bottom: -40px;
    }
    
    table.restables-origin {display: none;}
    table.restables-clone {display: table;}
    .payoffHeader1 {
        font-size: 2rem;
        line-height: 1.5;
    }
    .payoffHeader2 {
        font-size: 2rem;
        line-height: 1.5;
    }
    .fascia_footer .flags a img, .fascia_footer .socialicon a img {
        width: 25px;
    }
    .fascia_footer  .socialicon {
        height: 25px;
    }
    .bottoneContatti {
        margin: 10px 0;
        width: 100%;
        border: 2px solid #004899;
    }
    .trebottoni .borderbblu {border-bottom: none;}
}



@media only screen and (max-width: 349px) {

}
