/* ------ MOBILE ------ */

@media only screen and (max-width: 769px) {    
    
    /* --- HEADER --- */

    /* --- HEADER - GENERAL RULES --- */

    .wrapper::before, header.sticky::before, .home .row_homecta::before {
      background-size: 100% 6px;  
      height: 6px;
    }

    /* ------ MENU ------ */    

    /* Menu Principale */
    
    nav.main_menu > ul > li {
        margin-top: 0; 
        margin-right: 0; 
    }

    nav.main_menu > ul > li > a {
        border-bottom: 0 transparent; 
    }

    nav.main_menu > ul > li.active > a,
    nav.main_menu > ul > li > a:hover {
        border-bottom: 0; 
    }   
    
    nav.mobile_menu ul li.active > a, nav.mobile_menu ul li.current-menu-item > a {
        color: #07387d; 
    }
    
    /* Sottomenu */
    
    .mobile_menu_button .fa {
        margin-top: 5px; 
    }
    
    .mobile_menu_button span, 
    .mobile_menu_button span:hover
    {
        color: #07387d; 
    }
    
    .mobile_menu_button span:hover, .side_menu_button>a:hover {
        opacity: 1; 
    }    
    
    .fa-bars:before {
        font-size: 30px; 
    }    
    
    nav.mobile_menu ul li a, nav.mobile_menu ul li h3 {
        padding: 18.75px 0; 
    }
    
    nav.mobile_menu ul>li.has_sub>span.mobile_arrow {
        margin-top: 5px; 
    }
    
    nav.mobile_menu ul li ul li {
        margin: 0;
    }
    
    nav.mobile_menu ul li.open_sub a {
        color: #07387d;
    }
    
     nav.mobile_menu ul li.open_sub a:hover,
    nav.mobile_menu ul li.open_sub>a
    {
        padding-left: 18.75px; 
        color: #ffffff !important;
        background: #07387d; 
    }   
    
    nav.mobile_menu ul li.open_sub .fa-angle-down:before {
        color: #ffffff !important; 
    }
    
    nav.mobile_menu ul li.open_sub .sub_menu a {
        padding-left: 18.75px; 
        color: #07387d;
    }    
    
    nav.mobile_menu ul>li.has_sub.open_sub>span.mobile_arrow i.fa-angle-down {
        color: #07387d;
    }  

    /* --- LAYOUT --- */

    .show_desktop {
        display: none; 
    }

    .show_mobile {
        display: block; 
    } 
    
    .vc_column_container>.vc_column-inner {
        padding: 0 5px; 
    }       

    /* --- TYPHOGRAPHY --- */

    /* --- TYPHOGRAPHY - TITOLI --- */

    /* Titolo Uno */

    body .wpb_text_column.titolo_uno p, 
    body .wpb_text_column.titolo_uno:last-of-type p
    {
        margin-bottom: 12.5px !important; 
        font-size: 26px; 
        line-height: 34px; 
    }

    /* Titolo Due */

    body .wpb_text_column.titolo_due p, 
    body .wpb_text_column.titolo_due:last-of-type p
    {
        font-size: 18px; 
        line-height: 26px; 
    }

    /* Titolo Tre */

    body .wpb_text_column.titolo_tre p, 
    body .wpb_text_column.titolo_tre:last-of-type p
    {
        font-size: 22px; 
        line-height: 30px; 
    }

    /* Titolo Quattro */

    body .wpb_text_column.titolo_quattro p, 
    body .wpb_text_column.titolo_quattro:last-of-type p
    {
        font-size: 18px; 
        line-height: 26px; 
    }

    body .wpb_text_column.titolo_quattro p + p {
        margin-top: 12.5px; 
    }

    /* Titolo Cinque */

    body .wpb_text_column.titolo_cinque p, 
    body .wpb_text_column.titolo_cinque:last-of-type p
    {
        margin-bottom: 12.5px !important; 
        font-size: 24px; 
        line-height: 32px; 
    }    
    
    /* --- TYPHOGRAPHY - TESTI --- */

    .wpb_text_column.text_reduced {
        width: 100%; 
    }    
    
     /* --- TYPHOGRAPHY - LISTE --- */

    .wpb_text_column li {
        margin-bottom: 5px; 
        line-height: 26px; 
    }
    
    .wpb_text_column li::before {
        margin-right: 6.25px; 
        font-size: 20px; 
    }
    
    /* --- RIGA - PAGE TITLE --- */
    
    .title_outer::after {
      background-size: 100% 6px;  
      height: 6px;
    }    

    .title .title_holder {
        padding-top: 75px !important;
        padding-bottom: 37.5px !important;    
    }
    
    .title img {
        height: 225px; 
        object-fit: cover; 
    }

    .title.title_size_medium h1 {
        margin-bottom: 12.5px !important; 
    }

    .title.title_size_medium h1 {
        font-size: 32px;
        line-height: 40px;
    }
    
    .subtitle {
        width: 100%; 
        font-size: 19px; 
        line-height: 25px; 
    }    

    /* --- RIGA - SLIDE --- */

    .riga_slider::after {
        display: none; 
        background-size: 100% 6px;  
        height: 6px;
    }  

    body .riga_slider_inner {
        padding-top: 50px; 
        padding-bottom: 50px; 
        height: auto !important; 
    }
    
    body.home .riga_slider_inner {
        padding-top: 0; 
        padding-bottom: 0; 
        height: 425px !important;     
    }    

    .riga_slider_inner .section_inner_margin {
        margin-top: 0; 
    }    
    
    .riga_slider_inner .wpb_column {

        padding: 18..75px;
        width: 100%;
    }    

    body .riga_slider_inner .wpb_text_column.titolo_uno p, 
    body .riga_slider_inner .wpb_text_column.titolo_uno:last-of-type p
    {
        margin-bottom: 12.5px !important; 
        font-size: 30px; 
        line-height: 38px; 
    }
    
    body .riga_slider_inner .wpb_text_column.titolo_uno p br {
        display: block; 
    }

    body .riga_slider_inner .wpb_text_column.titolo_due p, 
    body .riga_slider_inner .wpb_text_column.titolo_due:last-of-type p
    {
        width: 100%;
        font-size: 18px; 
        line-height: 24px; 
    }

    /* --- RIGA - TITOLATURA --- */

    .riga_titolo {
        padding-top: 50px; 
        padding-bottom: 37.5px;      
    }

    body .riga_titolo .wpb_text_column.titolo_due p, 
    body .riga_titolo .wpb_text_column.titolo_due:last-of-type p
    {
        margin-top: 12.5px; 
    }
    
    /* --- RIGA - TIOLATURA - PAGINA --- */

    .riga_titolo_pagina {
        padding-top: 25px; 
        padding-bottom: 25px; 
    }    
    
    body .riga_titolo_pagina .wpb_text_column.titolo_uno p, 
    body .riga_titolo_pagina .wpb_text_column.titolo_uno:last-of-type p  
    {
        font-size: 28px; 
        line-height: 36px; 
    }
    
    /* --- RIGA - CONTENT --- */

    .riga_content {
        padding-top: 37.5px;
    }

    .riga_content .wpb_column {
        margin-bottom: 37.5px !important;
    }

    body .riga_content .wpb_text_column.titolo_due p, 
    body .riga_content .wpb_text_column.titolo_due:last-of-type p
    {
        margin: 18.75px 0 6.25px !important; 
    }    

    /* --- RIGA - TITOLATURA - BACKGROUND --- */

    body .riga_content_background .wpb_text_column.titolo_quattro p, 
    body .riga_content_background .wpb_text_column.titolo_quattro:last-of-type p
    {
        width: 100%; 
    }
    
    /* --- RIGA - TEXT + IMAGE --- */

    .riga_txtimg {
        padding-top: 50px; 
    }

    .riga_txtimg .wpb_column {
        margin-bottom: 37.5px; 
    }

    .riga_txtimg .section_inner_margin {
        flex-direction: column; 
    }
    
    body .riga_txtimg .wpb_text_column.titolo_uno p, 
    body .riga_txtimg .wpb_text_column.titolo_uno:last-of-type p
    {
        font-size: 24px;
        line-height: 32px;
    }   

    .riga_txtimg p {
        width: 100%; 
    }
    
    .riga_txtimg + .riga_txtimg .wpb_column:nth-child(1) {
        order: 2; 
    }
    
    .riga_txtimg + .riga_txtimg .wpb_column:nth-child(2) {
        order: 1; 
    }    

    .riga_txtimg + .riga_txtimg .wpb_column:nth-child(2) .vc_column-inner {
        padding-left: 0; 
    }    

    /* --- RIGA - CONTENT - BACKGROUND --- */

    .riga_content_background {
        padding-top: 50px; 
        padding-bottom: 50px;   
    }

    .riga_content_background.riga_content_background_reduced {
        padding-top: 50px; 
        padding-bottom: 50px;    
        background-position: left center !important; 
    }

    /* --- RIGA - CONTENT - INTRO --- */

    .riga_content_intro {
        padding-top: 37.5px; 
        padding-bottom: 50px;     
    }

    .riga_content_intro .section_inner_margin {
        flex-direction: column; 
    }

    body .riga_content_intro .wpb_text_column.titolo_due p, 
    body .riga_content_intro .wpb_text_column.titolo_due:last-of-type p
    {
        margin-bottom: 12.5px !important; 
        font-size: 18px; 
        line-height: 26px; 
        font-weight: 700; 
    }    
    
    .riga_content_intro img {
        margin-top: 37.5px; 
    }
    
    /* --- RIGA - CONTENT - DESCRIPTION --- */

    .riga_content_description {
        padding-top: 50px; 
        padding-bottom: 50px;     
    }

    body .riga_content_description .wpb_text_column.titolo_cinque p, 
    body .riga_content_description .wpb_text_column.titolo_cinque:last-of-type p
    {
        margin-bottom: 18.75px !important; 
    }

    .riga_content_description .wpb_column:nth-child(1) .wpb_single_image img {
        height: 125px; 
        margin-top: 12.5px; 
    }    
    
    .riga_content_description .wpb_column:nth-child(2) .wpb_single_image {
        margin-bottom: 25px !important; 
    }

    .riga_content_description .wpb_column:nth-child(2) .wpb_single_image:first-of-type {
        margin-top: 37.5px !important; 
    }    
    
    /* --- RIGA - ICONS --- */

    .riga_icons {
        padding-top: 37.5px;
    }

    .riga_icons .wpb_column {
        margin-bottom: 25px !important;
    }
    
    .riga_icons .wpb_column:last-of-type {
        margin-bottom: 0 !important;
    }   

    .q_icon_with_title.center.center .icon_holder {
        margin-bottom: 25px !important;
    }

    .icon_text_inner h5 {
        font-size: 20px;
        line-height: 20px;
    }

    /* --- RIGA - CERTIFICAZIONI --- */

    .riga_certificazioni .section_inner {
        width: 100% !important;
    }

    .riga_certificazioni .wpb_column {
        margin-bottom: 37.5px !important;
    }

    .riga_certificazioni img {
        margin-bottom: 12.5px !important;
        height: 150px;
    }

    /* --- RIGA - FORM --- */

    .riga_form {
        margin-top: -12.5px; 
        padding-bottom: 50px;     
    }

    .wpcf7 {
        width: 100%; 
    }

    .form_row p {
        float: none; 
        width: 100%; 
    }  

    .form_row p.block_right {
        margin-left: 0%;
    }

    .wpcf7 form.wpcf7-form p {
        margin-bottom: 12.5px; 
    }

    .wpcf7 form.wpcf7-form p.cf_privacy {
        margin: 18.75px 0 25px; 
        font-size: 15px; 
        line-height: 20px; 
    }

    /* Errors - Notifications */

    span.wpcf7-not-valid-tip, div.wpcf7-response-output {
        margin-top: 7.5px; 
        font-size: 15px; 
    }    
    
    div.wpcf7-response-output {
        margin: 18.75px 0 0 !important; 
        padding: 0 !important; 
        font-size: 13px !important; 
        line-height: 17px; 
    }

    /* --- RIGA - MAPPA --- */

    .riga_mappa {
        padding-top: 50px; 
    }

    .riga_mappa .wpb_column {
        margin-bottom: 37.5px; 
    }

    .riga_mappa .section_inner_margin {
        flex-direction: column; 
    }

    .riga_mappa p {
        width: 100%; 
    }
    
    .riga_mappa .qbutton {
        display: inline-block; 
    }

    .riga_mappa iframe {
        height: 300px !important; 
    }    

    /* --- RIGA - BANNER BOX --- */

    .riga_servizi {
        padding-bottom: 50px; 
    }
    
    .home .riga_servizi {
        padding-bottom: 50px; 
    }    

    .riga_servizi_inner  .wpb_column {
        margin-bottom: 18.75px; 
    }
    
    .riga_servizi_inner  .vc_column_container>.vc_column-inner {
        padding: 0 10px;
    }    
    
    .riga_servizi_carousel .qode-banner {
        width: 300px; 
        height: 300px; 
    }

    .qode-banner .qode-banner-content .qode-banner-text-holder {
        padding: 18.75px;
        font-size: 20px;
        line-height: 28px;
    }

    /* --- RIGA - CTA --- */

    .riga_cta {
        padding-top: 0; 
        padding-bottom: 37.5px; 
    }

    .riga_cta .vc_column-inner .wpb_wrapper {
        display: flex;
        flex-direction: column; 
    }

    body .riga_cta .wpb_text_column.titolo_tre p, 
    body .riga_cta .wpb_text_column.titolo_tre:last-of-type p
    {
        text-align: center; 
    }

    .riga_cta .qbutton {
        margin-top: 25px; 
    }
    
    /* --- RIGA - CTA - DARK --- */

    .riga_cta_dark {
        padding-top: 37.5px; 
        padding-bottom: 37.5px;    
    }
    
    /* --- ELEMENTS - GENERAL STYLES --- */

    /* --- ELEMENTS - BUTTONS --- */

    .qbutton {
        margin-top: 25px; 
        padding: 18px 37.5px 16px !important; 
        font-size: 20px; 
        line-height: 20px; 
    }

    /* --- ELEMENTS - CAROSELLO --- */

    .owl-ca-carousel {
        padding: 0; 
    }

    .owl-nav {
        display: none; 
    }

    .owl-dots {
        position: absolute;
        bottom: 12.5px;
        z-index: 999999;
        width: 100%;
    }

    .owl-ca-carousel .owl-dots span {
        width: 12px; 
        height: 12px; 
    }

    /* --- FOOTER --- */

    /* --- FOOTER - FOOTER TOP - GENERAL RULES --- */

    footer::before {
      background-size: 100% 6px;  
      height: 6px;
    }
    
    .footer_top {
        padding-bottom: 18.75px; 
    }

    .footer_top h5 {
        margin-bottom: 18.75px; 
    }

    /* --- FOOTER - FOOTER TOP - LAYOUT --- */

    footer .container_inner {
        padding: 0 25px; 
    }
    
    .footer_top .column_inner>div:not(.qode_separator_widget) {
        margin: 0 !important; 
    }
    
    .three_columns>.column1, 
    .three_columns>.column2, 
    .three_columns>.column3
    {
        width: 100%; 
    }
    
     .three_columns>.column2 {
        padding-right: 0;
    }      

    /* --- FOOTER - FOOTER TOP - COLUMN 1 --- */

    .footer_col1 img {
        height: 75px !important;
        margin-bottom: 18.75px !important; 
    }
    
    .footer_col1 ul {
        margin-top: 6.25px; 
    }

    /* --- FOOTER - FOOTER TOP - COLUMN 3 --- */

    .footer_top .widget.widget_nav_menu li {
        padding-bottom: 12.5px; 
    }


    
    
    
    
    
    
    
 
    
    
    
    
    
    
    
    
    
  
	
}