@font-face { font-family: 'Avenir Next Light'; src: url('../fonts/AvenirNextLTPro-Light.otf');}
@font-face { font-family: 'Avenir Next Regular'; src: url('../fonts/AvenirNextLTPro-Regular.otf');}
@font-face { font-family: 'Avenir Next Bold'; src: url('../fonts/AvenirNextLTPro-Bold.otf');}
@font-face { font-family: 'Avenir Next Demi Bold Condensed'; src: url('../fonts/AvenirNextLTPro-DemiCond.otf');}
@font-face { font-family: 'Avenir Next Demi Bold'; src: url('../fonts/AvenirNextLTPro-Demi.otf');}
@font-face { font-family: 'Museo 700'; src: url('../fonts/Museo 700.otf');}

/*footer{ display: none !important; }*/

body.page a { text-decoration: underline; }
body.page a:hover { color: orange; }
body.page #slide_top, body.page #slide_top:hover {background: #0d4da1; text-decoration: none;}
body.page #slide_top:hover { color: orange; }
body.page .cmsmasters_button { border-color: #0d4da1; }
body.page ::selection { background: #0d4da1; }
.mobileOnly { display: none; }

@media screen and (max-width: 768px) {
    .desktopOnly {display: none;}
    .mobileBlock { display: block; }
	.mobileOnly { display: initial; }
}

/* PERSONALIZZAZIONI HEADER - START */
#header { background: linear-gradient(to top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.5) 100%); }
.header_mid .header_mid_inner .logo_wrap {position: absolute;top: 10px;left: -50px;}
.header_bot {position: relative;bottom: 75px;}
.header_bot_inner {width: 100% !important;padding: 0 0 !important;}

@media screen and (max-width: 1439px) {
	.header_mid .header_mid_inner .logo_wrap {left: -140px; top: 20px; }
}

@media screen and (max-width: 1024px) {
    .header_mid { display: none !important; }
    .header_bot { bottom: unset; }
    .logo_wrap {top: 25px;}
    .header_bot nav li a {text-align: center !important;}
}

/* PERSONALIZZAZIONI HEADER - END */

/* PERSONALIZZAZIONI MENU - START */
nav li a { padding: 0px !important; }
nav li a:hover > span {color: orange;}
nav li a > span {border-right: 1px white solid;padding: 0 15px;}
nav li:last-child a > span,
    nav li a[href="#contattaciSection"] span { border-right: none; }
nav span.nav_title {font-family: "Avenir Next Regular";font-size: 19px;text-transform: uppercase;}
nav li.menu-item-depth-0:last-child a > span {color: transparent;background-image: url('/wp-content/uploads/2019/03/logoFBwhite.png');background-repeat: no-repeat;background-size: 100%;padding: 5px;}
nav li.menu-item-depth-0 ul.sub-menu {width: 235px;}
nav li.menu-item-depth-1 .nav_item_wrap { border: none; }
nav li.menu-item-depth-1 span.nav_title {font-size: 14px;text-transform: unset;line-height: 10px;}
@media screen and (max-width: 1024px) {
	#header .navigation .cmsmasters_resp_nav_toggle { display: inline !important; float: unset !important;}
	.menu-item-has-children a { padding-left: 20px !important; }
	.menu-item-has-children ul .nav_title { vertical-align: unset !important; line-height: 15px !important;}
	.menu-item-has-children ul br.mobileOnly { display: none; }
}
/* PERSONALIZZAZIONI MENU - END */

/* VECCHIA SLIDER
/* PERSONALIZZAZIONI SLIDER IN HOME - START 
.sliderHomeTitleLayout {background: linear-gradient(to right, rgba(0,0,0,0) 0%,rgba(0,0,0,0.30) 25%,rgba(0,0,0,0.30) 75%,rgba(0,0,0,0) 100%);max-height: 150px;text-align: center !important;top: 30px;position: relative;}
.sliderHomeTitleLayout .title {font-family: "Museo 700";font-size: 70px !important;line-height: 75px !important;}
.sliderHomeTitleLayout .subtitle {font-family: "Avenir Next Bold";font-size: 30px !important;line-height: 35px !important;} 
.sliderHomeTitleLayout .contactButton {font-family: "Avenir Next Demi Bold Condensed";font-size: 30px !important;position: relative;border-radius: 30px;background: rgba(0,0,0,0.5);width: 175px;margin: auto !important;padding: 15px 15px !important;top: 13px;display: block;color: white;z-index: 10; text-decoration: none; }
.sliderHomeTitleLayout .contactButton:hover { color: orange; }

.sliderHomeLinkContainerLayout{background: rgba(255,255,255,0.5);border: 4px solid rgba(22,65,148,0.5) !important;padding: 15px 0px !important;/* width: 535px; margin: auto !important;}
.sliderHomeLinkContainerLayout a {width: 50% !important;text-align: center !important;display: inline-block;text-transform: uppercase;font-family: "Avenir Next Bold";font-size: 16px !important;white-space: normal;vertical-align: top;color: #0d4da1; text-decoration: none !important;}
.sliderHomeLinkContainerLayout a:hover { color: #0d4da1 !important; text-decoration: underline !important; }

.sliderHomeFooterLayout {background: rgba(255,255,255,0.7);/* max-height: 200px; color: black;}
.sliderHomeFooterLayout > div {padding: 2% 1% !important;vertical-align: top;}
.sliderHomeFooterLayout .col_1_4 {width: 22%;display: inline-block;height: 155px;}
.sliderHomeFooterLayout .col_1_4.regLom_1, .sliderHomeFooterLayout .col_1_4.regLom_2 { background-repeat: no-repeat;background-position: center; background-size: 60%;}
.sliderHomeFooterLayout .col_1_4.regLom_1 {background-image: url('/wp-content/uploads/2019/03/Logo_REG_LOMBARDIA_oriz_2015.png');}
.sliderHomeFooterLayout .col_1_4.regLom_2 {background-image: url('/wp-content/uploads/2019/03/ATS_Insubria_500x500.png');}
.sliderHomeFooterLayout .col_1_2 {width: 55%;display: inline-block;}
.sliderHomeFooterLayout .col_1_2 p, .sliderHomeFooterLayout .col_1_2 p strong {font-size: 32px !important;line-height: 32px !important;padding-bottom: 0px !important;}
.sliderHomeFooterLayout .col_1_2 p {font-family: "Avenir Next Regular";white-space: normal;}
.sliderHomeFooterLayout .col_1_2 p strong {font-family: "Avenir Next Bold"; color: #0d4da1; }

.hesperiden.tparrows.tp-leftarrow:before { content: "\e82c" !important; }
.hesperiden.tparrows.tp-rightarrow:before { content: "\e82d" !important; }

/* ELEMENTI SLIDER PER SPECIFICI DISPOSITIVI - START 
    /* iPhone X 375x812 
    @media screen and (max-width: 375px) and (max-height: 815px) {
        #slide-4-layer-9 {position: relative;bottom: 90px;}
        .sliderHomeTitleLayout {position: relative;bottom: 100px;top: unset;}
        .sliderHomeLinkContainerLayout {position: relative;bottom: unset;top: 80px;}
        .sliderHomeFooterLayout {bottom: -90px;}
        .sliderHomeFooterLayout .col_1_4 {height: 60px;}
    }
    /* ANDROID PHONE 
    @media screen and (max-width: 360px) and (max-height: 640px) {
        #slide-4-layer-9 {position: relative;bottom: 0;}
        .sliderHomeTitleLayout {top: -50px;}
        .sliderHomeLinkContainerLayout {bottom: -120px;}
        .sliderHomeFooterLayout {bottom: 0px;}
    }
/* ELEMENTI SLIDER PER SPECIFICI DISPOSITIVI - END 

@media screen and (min-width: 1390px) and (max-width: 1400px) and (max-height: 910px) {
    .sliderHomeLinkContainerLayout {margin-top: 45px !important;}
    .sliderHomeFooterLayout {position: absolute;bottom: -90px !important;}
}

@media screen and (max-height: 910px) {
    .sliderHomeLinkContainerLayout {margin-top: 45px !important;}
    .sliderHomeFooterLayout {position: absolute;bottom: -20px;}
}

@media screen and (max-height: 850px) {
    .sliderHomeFooterLayout {bottom: -75px;}
}

@media screen and (max-height: 760px) {
    #header .logo img {max-width: 85px;margin-top: -10px !important;}
    .sliderHomeLinkContainerLayout {margin-top: 55px !important;}
    .sliderHomeFooterLayout {bottom: -5px;}
}
@media screen and (max-height: 740px) and (orientation: portrait) {
    #slide-4-layer-9 { bottom: 20px; }
    .sliderHomeTitleLayout {top: -60px;padding-top: 10px !important;}
    .sliderHomeTitleLayout .title {font-size: 35px !important;line-height: 45px !important;}
    .sliderHomeTitleLayout .subtitle {font-size: 18px !important;}
    .sliderHomeTitleLayout .contactButton {font-size: 20px !important;padding: 8px 8px !important;top: 19px;}
    .sliderHomeLinkContainerLayout {margin-top: 0 !important;min-height: unset;/* width: 100%; max-width: 100%;padding: 0 !important;position: relative;bottom: -145px;}
    .sliderHomeLinkContainerLayout a {width: 50% !important;font-size: 13px !important;margin: auto !important;padding: 10px 0 !important;}
    .sliderHomeFooterLayout {bottom: -50px;}
    .sliderHomeFooterLayout .col_1_4 {height: 56px;background-size: 90% !important;}
}


@media screen and (orientation: portrait) and (max-height: 670px) {
    .sliderHomeFooterLayout {bottom: -5px;}
    .sliderHomeFooterLayout .col_1_4.regLom_1, .sliderHomeFooterLayout .col_1_4.regLom_2 {height: 56px;}
}
@media screen and (orientation: landscape) and (max-height: 670px) { 
    .sliderHomeFooterLayout .col_1_4.regLom_1, .sliderHomeFooterLayout .col_1_4.regLom_2 {height: 145px;}
}
@media screen and (max-height: 480px) {
    #header .logo {display: none;}
    .sliderHomeLinkContainerLayout {bottom: -65px;}
}

/* LARGHEZZA ELEMENTI SLIDER PER VARIE RISOLUZIONI - START 
.sliderHomeLinkContainerLayout {width: 30%;max-width: 500px;}
.sliderHomeFooterLayout { width: 100%; }

@media screen and (max-width: 1440px) {
    .sliderHomeLinkContainerLayout {width: 35%;}
    .sliderHomeFooterLayout { left: unset; right: 1px; }
}
@media screen and (max-width: 1024px) { 
    .sliderHomeLinkContainerLayout {width: 40%;}
}
@media screen and (max-width: 768px) { 
    .sliderHomeLinkContainerLayout {width: 50%;}
    .sliderHomeFooterLayout { right: 1px; }
}
@media screen and (max-width: 425px) { 
.sliderHomeTitleLayout .title {font-size: 40px !important;}
.sliderHomeTitleLayout .subtitle {font-size: 25px !important;}
.sliderHomeTitleLayout .contactButton {font-size: 25px !important;padding: 10px !important;top: 15px;}

.sliderHomeLinkContainerLayout {width: 100%;}

.sliderHomeFooterLayout .col_1_2 p, .sliderHomeFooterLayout .col_1_2 p strong {font-size: 10px !important;line-height: 10px !important;}
}
@media screen and (max-width: 320px) { 
    .sliderHomeTitleLayout .title {font-size: 30px !important;}
    .sliderHomeTitleLayout .subtitle {font-size: 20px !important;}
    .sliderHomeTitleLayout .contactButton {font-size: 22px !important;top: 20px;width: 145px;}
    
    .sliderHomeLinkContainerLayout a {font-size: 10px !important;}
}
/* LARGHEZZA ELEMENTI SLIDER PER VARIE RISOLUZIONI - END 

/* PERSONALIZZAZIONI SLIDER IN HOME - END */
 

/* PERSONALIZZAZIONE SEZIONE FB - START */
#homeFBWrapper {width: 80%;margin: 5% auto;color: white;text-align: center;/*height: 99vh*/;overflow: hidden;}
#homeFBWrapper .homeFBSubtitle {font-family: "Avenir Next Regular";font-size: 28px;line-height: 30px;}
#homeFBWrapper .homeFRTitle {font-family: "Avenir Next Demi Bold";text-transform: uppercase;letter-spacing: 2px;font-size: 40px;border-bottom: 1px white solid;margin-bottom: 20px;line-height: 40px;}
#homeFBWrapper iframe { margin-bottom: 0; }
#homeFBWrapper .FBFHD > div, #homeFBWrapper .FBLOW > div, #homeFBWrapper .FBMID > div, #homeFBWrapper .FBMOB > div {text-align: center;}
#homeFBWrapper .FBFHD, #homeFBWrapper .FBLOW, #homeFBWrapper .FBMID, #homeFBWrapper .FBMOB { display: none; }

.BloccoFb .customSection {max-height: 55px;}
.BloccoFb .customSection .title { padding: 7px; }

@media screen and (orientation: landscape) and (min-height: 880px) {
    #homeFBWrapper .FBFHD { display: block; }
}
@media screen and (orientation: landscape) and (max-height: 879px) {
    #homeFBWrapper .FBFHD { display: none;} 
    #homeFBWrapper .FBMID { display: block; }
}
@media screen and (orientation: landscape) and (max-height: 779px) {
    #homeFBWrapper .FBMID { display: none;} 
    #homeFBWrapper .FBLOW { display: block; }
}
@media screen and (orientation: landscape) and (max-height: 700px) {
    #homeFBWrapper .FBLOW { display: none; }
    #homeFBWrapper .FBMOB { display: block; }
}
/* iPhone X */
@media screen and (orientation: portrait) and (min-height: 790px) {
    #homeFBWrapper .FBFHD, #homeFBWrapper .FBMID, #homeFBWrapper .FBMOB { display: none; }
    #homeFBWrapper .FBLOW { display: block; }
}
/* DISPOSITIVI MOBILE */
@media screen and (orientation: portrait) and (max-height: 789px){
    #homeFBWrapper .FBFHD, #homeFBWrapper .FBMID, #homeFBWrapper .FBLOW { display: none; }
    #homeFBWrapper .FBMOB {display: block;}
}


/*
@media screen and (max-width: 1840px) { 
    #homeFBWrapper .FBFHD { display: none;} 
    #homeFBWrapper .FBMID { display: block; }
}
@media screen and (max-width: 970px) { 
    #homeFBWrapper .FBMID { display: none; }
    #homeFBWrapper .FBLOW { display: block; }
}
@media screen and (max-width: 768px) { 
    #homeFBWrapper { height: unset; } 
    #homeFBWrapper .FBLOW { max-width: 500px; margin:auto; }
}
*/

/* PERSONALIZZAZIONE SEZIONE FB - END */

/* PERSONALIZZAZIONE SEZIONI HOME - START */
    /* STILI GENERALI - START */
    .customSection {padding: 5%;color: white;vertical-align: middle;display: table-cell;}
    .customSection .title, .customSection .subTitle, .customSection .subTitle a {font-family: "Avenir Next Demi Bold"; text-transform: uppercase;}
    .customSection .title {font-size: 31px;line-height: 31px;letter-spacing: 2px;padding: 2% 0;}
    .customSection .subTitle {font-size: 21px;line-height: 26px;padding: 2% 0;}
    .customSection .text, .customSection .unorderedList {padding: 1% 0;font-family: "Avenir Next Regular";font-size: 19px;line-height: 21px;white-space: normal; text-align: justify;}
    .customSection .text strong, .customSection .unorderedList strong { font-family: "Avenir Next Demi Bold"; }
    .customSection .unorderedList li:first-child { padding: 0 0 1% 0; }
    .customSection .unorderedList li { padding: 1% 0; }
    .customSection a{ color: white; font-family: "Avenir Next Demi Bold"; }
    .customSection a:hover{ color: white; text-decoration: underline; }
    @media screen and (max-width: 768px){
        .customSection {padding: 10px; }
    }
    /* STILI GENERALI - END */

    /* SEZIONI IN FULL HEIGHT - START */
    #serviziSection, #filosofiaSection, #accreditamentoSection, #prenotazioniSection, #contattaciSection, #cronicitaSection1 {height: 500px;}
    #cronicitaSection2 {display: none;}
    @media screen and (max-width: 768px){
        #serviziSection,    
            #cronicitaSection1, 
            #cronicitaSection2,
            #filosofiaSection,
            #accreditamentoSection,
            #prenotazioniSection,
            #contattiSection { height: unset; }
    }
    /* SEZIONI IN FULL HEIGHT - END */

    /* STILI PER LE VARIE SEZIONI - START */
    #cronicitaSection2 #croSec2Wrapper {width: 70%;display: block;margin: auto;}
    #cronicitaSection2 #croSec2Wrapper .col1_3 {width: 32%;display: inline-block;font-family: "Avenir Next Regular";color: white;text-shadow: 1px 2px gray;font-size: 19px;text-align: center;}
    #cronicitaSection2 #croSec2Wrapper .col1_3 img {max-height: 12vh;}
    #footerCronicita {background: #c1cde2;padding: 15px 0 15px 3.5%;display: flex;align-items: center;}
    #imgRegLombardia {width: 20%;}
    #txtRegLombardia {width: 75%;font-family: "Avenir Next Regular";color: #214a99;line-height: 15px;text-align:justify;font-size: 14px;}
	@media screen and (max-width: 768px){
		#footerCronicita {padding: 5px;}
		#imgRegLombardia {width: 25%;}
    	#txtRegLombardia {width: 70%;font-size: 12px;line-height: 12px;top: 0;text-align: justify;}
    }

    #filosofiaSection #certificazioniWrapper {display: block;padding: 5px 0 0;position: relative;top: 0;}
    #filosofiaSection #certificazioniWrapper .col1_3 {width: 32%;display: inline-flex;align-items: center;}
    #filosofiaSection #certificazioniWrapper .col1_3 .smallLogo {display: inline-flex;width: 13%;height: 55px;margin-right: 7px;align-items: center;}
    #filosofiaSection #certificazioniWrapper .col1_3 .smallDesc1,
        #filosofiaSection #certificazioniWrapper .col1_3 .smallDesc {display: inline-block;line-height: 8px;font-size: 7px;}
    #filosofiaSection #certificazioniWrapper .col1_3 .smallDesc {top: 7px;}
    .imgFilosofiaSection {background-position: center !important;}

    #prenotazioniSection .col1_4 { display: inline-block; width: 24%; }
    @media screen and (min-width: 1025px){
        #prenotazioniSection .col1_4#retteWrapper {width: 17%;}
    }

    .homeGalleryTitle {font-family: "Avenir Next Demi Bold";font-size: 50px;color: #0d4da1;margin: 2% 0;line-height: 50px;}
    .cmsmasters_gallery_items_loader { background: #0d4da1 !important; border: none !important; }


    @media screen and (max-width: 1024px) {
        #prenotazioniSection .col1_4 { width: 49%; }
        .homeGalleryTitle { font-family: "Avenir Next Bold"; }
    }
    @media screen and (max-width: 768px) {
        #cronicitaSection2 #croSec2Wrapper {width: 100%;}
        #cronicitaSection2 #croSec2Wrapper .col1_3 {font-size: 13px;}
        #cronicitaSection2 #croSec2Wrapper .col1_3 img {max-height: 9vh;}

        #filosofiaSection #certificazioniWrapper {padding: 25px 0 0;top: 0;}
        #filosofiaSection #certificazioniWrapper .col1_3 {width: 100%;display: block;margin-bottom: 15px;}
        #filosofiaSection #certificazioniWrapper .col1_3 .smallLogo {float: unset;max-width: 70px;margin: auto;display: block;height: auto;}
        #filosofiaSection #certificazioniWrapper .col1_3 .smallLogo.firstOf {position: relative;margin-bottom: 10px;}
        #filosofiaSection #certificazioniWrapper .col1_3 .smallDesc,
            #filosofiaSection #certificazioniWrapper .col1_3 .smallDesc1 {display: block;text-align: center;font-size: 13px;line-height: 13px;}
    }
    /* STILI PER LE VARIE SEZIONI - END */

    /* SEZIONE CONTATTI - START */
    #contattaciSection {display: table-cell;vertical-align: middle;width: 100vw;}

    #contattaciSection .contattaciTitle {text-align: center;border-radius: 50px;margin-bottom: 5vh;margin-top: 5%;font-size: 30px;line-height: 30px;padding: 5px 0;font-family: "Avenir Next Bold";text-transform: uppercase;}
    #contattaciSection .contattaciTitle p { padding-bottom: 0;}

    #contattaciSection .contattaciTitle, 
        #contattaciSection .homeContactForm input, 
        #contattaciSection .homeContactForm textarea,
        #contattaciSection .homeContactForm .submit_wrap a,
        #contattaciSection .contattaciFooter,
        #contattaciSection .contattaciFooter2 { background: rgba(255,255,255,0.8);}

    #contattaciSection .contattaciTitle, 
        #contattaciSection .homeContactForm input, 
        #contattaciSection .homeContactForm textarea,
        #contattaciSection .homeContactForm .submit_wrap a,
        #contattaciSection .homeContactForm input::placeholder,
        #contattaciSection .homeContactForm textarea::placeholder,
        #contattaciSection .contattaciFooter,
        #contattaciSection .contattaciFooter a,
        #contattaciSection .contattaciFooter2,
        #contattaciSection .contattaciFooter2 a  { color: #0d4da1; }

    #contattaciSection .homeContactForm input, 
        #contattaciSection .homeContactForm textarea {border-radius: 0; font-family: "Avenir Next Regular";font-size: 25px;}
    #contattaciSection .homeContactForm textarea { padding-left: 24px; }
	
    #contattaciSection .homeContactForm .form_info > label { display: none; }
    #contattaciSection .homeContactForm label {background: rgba(0,0,0,0.7);color: white;padding: 10px 15px 10px 40px;text-transform: unset;font-family: "Times New Roman";font-size: 13px;}
    /*#contattaciSection .homeContactForm label:before {margin-left: 10px !important;}*/
    #contattaciSection .homeContactForm .submit_wrap a {border-radius: 0;text-transform: unset;font-family: "Avenir Next Bold";font-size: 21px;text-decoration: none;}

    #contattaciSection .contattaciFooter, 
        #contattaciSection .contattaciFooter a,
        #contattaciSection .contattaciFooter2,
        #contattaciSection .contattaciFooter2 a {font-family: "Avenir Next Regular";font-size: 22px;line-height: 26px;}
    
    #contattaciSection .contattaciFooter {padding: 5% 5% 2%;}
    #contattaciSection .contattaciFooter2 {padding: 5%;}
            
    #contattaciSection .contattaciFooter strong { font-family: "Avenir Next Bold"; font-size: 27px; }
    #contattaciSection .contattaciFooter2 { padding-top: 0; }
	#contattaciSection .contattaciFooter2 #Contattaci {display: flex;justify-content: center;}
    #contattaciSection .contattaciFooter2 .col1_3 {width: 33%;text-align: center;vertical-align:middle;padding-top: 15px;font-family: "Avenir Next Bold";}
	/*#contattaciSection .contattaciFooter2 .col1_3 {width: 30%;display: inline-block;text-align: center;vertical-align:middle;padding-top: 15px;font-family: "Avenir Next Bold";}*/
    #contattaciSection .contattaciFooter2 .col1_3 a {font-size: 24px;text-decoration: none;font-family: "Avenir Next Demi Bold";}
    #contattaciSection .contattaciFooter2 .col1_3 .fbLogoSmall {color: transparent;background-image: url('/wp-content/uploads/2019/03/logoFB.png');background-repeat: no-repeat;background-size: 100%;position: relative;top: -1px;display: inline-block;height: 30px;}
    .nrVerde {background-image: url('/wp-content/uploads/2019/03/nrVerdeBordo.png');background-size: 100%;background-repeat: no-repeat;background-position: center center;padding: 20px 20px 20px 30px !important; color: black;}

    #contattaciSection .customFooter {padding: 25px 0 0;margin: 25px 0 0;color: white;font-family: "Avenir Next Bold";}
    #contattaciSection .customFooter p {padding-bottom: 0;background: rgba(0,0,0,0.7);}
    #contattaciSection .customFooter a { color: white; font-family: "Avenir Next Demi Bold"; }
    /*/wp-content/uploads/2019/03/nrVerdeBordo.png*/

    @media screen and (max-width: 768px){
        #contattaciSection .contattaciTitle { margin-top: 25px;}
        #contattaciSection .contattaciFooter .mobilePaddingTop {display: inline-block;margin-top: 30px;}
        #contattaciSection .contattaciFooter .mobileEmail a {font-size: 22px;}
		#contattaciSection .contattaciFooter2 #Contattaci { display: block; }
        #contattaciSection .contattaciFooter2 .col1_3 { display: block; width: 100%; text-align: center !important;}
        #contattaciSection .contattaciFooter2 .col1_3 .nrVerde {display: block;margin-top: 1px;margin: auto;max-width: 210px;}
        #contattaciSection .contattaciFooter2 .col1_3 .fbLogoSmall {top: -5px;line-height: 20px;height: 30px;display: inline-block;}
    }
    /* SEZIONE CONTATTI - END */

    /* NUOVO LAYOUT RESPONSIVE SEZIONI HOME - START */
    @media screen and (max-width: 768px) {
        /*
        .mobileSections { background-position: center;background-size: cover;background-repeat: no-repeat;height: 100vh; }
        .serviziSectionMain {background-image: url(/wp-content/uploads/2019/03/Servizi.jpg);}
        .serviziSectionMain .customSection {background: #164194;height: 50vh !important;overflow: auto;display: block;position: relative;top: 50vh;}
        .serviziSectionMain .customSection .title, .serviziSectionMain .customSection .text, .serviziSectionMain .customSection .subTitle, .serviziSectionMain .customSection .unorderedList {font-size: 90%;padding: 0;margin: 0;}
        */
        .mobileSections {background-position: center;background-size: cover;background-repeat: no-repeat;/* height: 100vh; */}
        .customSection {background: #164194;/* overflow: auto; */display: block;position: relative;margin-top: 80%;}
        .customSection .title, .customSection .text, .customSection .subTitle, .customSection .unorderedList {font-size: 90%;padding: 0;margin: 0;}
		.customSection .title, .customSection .subTitle { font-family: "Avenir Next Bold"; }
        
        .serviziSectionMain {background-image: url(/wp-content/uploads/2019/03/Servizi.jpg);background-size: 135%;background-position: 65% -5%;}
        .cronicitaSectionMain {background-image: url(/wp-content/uploads/2019/03/Cronicita.jpg);background-size: 120%;background-position: 30% 0%;}
        .filosofiaSectionMain {background-image: url(/wp-content/uploads/2019/03/La-nostra-filosofia.jpg);background-size: 120%;background-position: center -35vh;}
        .accreditamentoSectionMain {background-image: url(/wp-content/uploads/2019/03/Accreditamento.jpg);background-size: 140%;background-position: 35% -20%;}
        .prenotazioniSectionMain {background-image: url(/wp-content/uploads/2019/03/Prenotazioni.jpg);background-size: 120%;background-position: 65% 0%;}
    }

.FbBlockText {
	padding: 1% 0;
    font-family: "Avenir Next light";
    font-size: 40px;
    line-height: 10px;
    white-space: normal;
}

#cmsmasters_704_formsend {
	border: none;	
}
#bloccofb {
	display: block;
	background-color: #f2f2f2;
	padding: 1px;
    margin: 0px 0px 20px 0px;
	width: 800px;
}

#bloccofb2 {
	display: block;
	background-color: #f2f2f2;
	padding: 1px;
    margin: 0px 0px 20px 0px;
	width: 800px;
}

#bloccofb3 {
	display: block;
	background-color: #f2f2f2;
	padding: 1px;
    margin: 0px 0px 20px 0px;
	width: 800px;
}

#seguicifb {	
	font-size: 36px;
    font-family: "Avenir Next Demi Bold";
    letter-spacing: 6px;
	padding-right: 0;
	width: 800px;
}
@media screen and (min-width: 1440px){
	#seguicifb {padding-top: 120px;}
}
#bloccofb p {
    text-align: right;
    margin-right: 30%;
}
#bloccofb2 p {
    text-align: right;
    margin-right: 50.5%;
}
#bloccofb3 p {
    text-align: right;
    margin-right: 38.5%;
}

@media screen and (min-width: 768px) and (max-width: 1280px) {
	#seguicifb {
		font-size: 24px;
		text-align: right;
	}
		
}

.internalPageImg { height: 350px; background-repeat: no-repeat; background-position: center; background-size: cover;     margin-top: 10px;}
#altzheimerImg { background-image: url(/wp-content/uploads/2019/05/NUCLEOALZHEIMER.jpg); }
.entry-title {
    font-family: "Avenir Next bold";
	font-size: 20px;
}
@media screen and (min-width: 1024px){
	.headline_text {
		float: left;
	}
}
.internalPage {
	padding: 10px;
	font-family: Avenir Next Regular;
	font-size: 19px;
	text-align: justify;

}
.internalPageImg {
	margin: 10px 
}
.internalPage .title {margin-bottom: 10px;font-family: "Avenir Next Bold";text-transform: uppercase; font-size: 19px;}
#rsaAperta { background-image: url(/wp-content/uploads/2019/05/RSA-APERTA.jpg); }
#ambulatorioRsa { background-image: url(/wp-content/uploads/2019/05/AMBULATORIO-FISIO.jpg); }
#generaliRsa { background-image: url(/wp-content/uploads/2019/05/SERVIZI-GENERALI-RSA.jpg); }

.sub-menu {
	background-color: rgba(255,155,33,0.8) !important;
}
.nav_item_wrap {
	border-color: orange;
}
.sub-menu a {
	color: white !important;
}
.sub-menu a:hover span {
	color: #164194 !important;
}



.textInternal {
	padding: 1% 0;
	font-family: "Avenir Next Regular";
	font-size: 15px;
	line-height: 16px;
	white-space: normal; 
	text-align: justify;
	color: #164194;
}
.bot_nav > li li {
	border: none !important;
}

ul.sub-menu {
    border: none;
}

.footer_copyright_mod { font-size: 18px !important; font-family: "Avenir Next Bold" !important; color: white !important; }
@media screen and (min-width: 1025px){
	.footer_copyright_mod br { display: none; }
}
#footer { background: #164194;}

.footer_inner {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.cmsmasters_footer_small .footer_inner .footer_custom_html_wrap {float: none; text-align: center;}
.footer_custom_html {text-align: center;}
.sub-menu ul {border: 0px;}

@media screen and (max-width: 480px) {
	#seguicifb {
    text-align: left !important;
    font-size: 20px;
    margin-top: 10px;
    letter-spacing: 4px;
}
	.smallDesc1 {
		font-size: 11px !important;
		line-height: 11px !important;
	}
	.smallDesc {
		font-size: 11px !important;
		line-height: 11px !important;
	}
	
.FbBlockText p {
    text-align: left !important;
    font-size: 26px;
}
	#rsaAperta {
	background-position: -188px -87px;
    margin-bottom: -90px;
	}
	.custom_html.footerMod {
		font-size: 14px;
	}
	.custom_html.footerMod a {
		font-size: 14px;
	}
}


#contattaciSection .homeContactForm label {
	background: rgba(22,64,148,0.6); 
}

@media only screen and (max-width: 1024px) {
	.sub-menu a {
    /* margin-top: 12px !important; */
    /* margin-bottom: 12px !important; */
    padding: 7px 0 !important;
}
	#seguicifb { margin-bottom: 20px; margin-left: 20px; font-family: "Avenir Next Bold";}
	.FbBlockText {margin-left: 25px; }
	
	
}

@media screen and (min-width: 1024px) {
#seguicifb p{
    border-bottom: 3px solid white;
}
}
   
.custom_html.footerMod {
    color: #164194;
    font-family: "Avenir Next Bold";
    text-align: center;
    margin-top: 60px;
    font-size: 21px;
}

.custom_html.footerMod a {
    color: #164194;
    font-family: avenir next demi bold;
    font-size: 24px;
}
@media screen and (max-width: 1024px) {
	#header{ background: #164194} 
}


    /* NUOVO LAYOUT RESPONSIVE SEZIONI HOME - START */

/* PERSONALIZZAZIONI SEZIONI HOME - END */