@import url('//fonts.googleapis.com/css?family=Lato');

#synved_social_follow-2 {float:right; margin:0px; margin-top: 0.2rem;}
#synved_social_follow-2 .widget-title {display:inline; text-transform:lowercase; padding-right:0.5rem; color:#515151; font-family: 'Lato', sans-serif; font-weight: bolder; top: 0.3rem; position: relative;}
#synved_social_follow-2 div {display:inline;}
/* Hide broken/unstyled header search */
#search-3 {display:none !important;}

#header {width:100%; padding:0px; max-width: none; /*border:1px dotted #000;*/}
/* Removed border-bottom — it was overlapping the nav (top:-80px pulled the line through menu items) */
#header > .grid-x:first-child {max-width: 75rem; margin: auto; border-bottom: none; position: relative; top: -80px; z-index: 1;} 
#header .site-header {padding:0px;}
/*#header .custom-logo {position: absolute; z-index: 9999; top: 45px; left: 220px;}*/
.header-logo {margin-top: -1rem;}
.single .header-logo:first-child {display:none !important;}
.page .header-logo:first-child {display:none !important;}
.archive .header-logo:first-child {display:none !important;}
.home .header-logo:first-child {display:table !important;}
.header-logo:nth-child(2) {top: 20px; left:10px; /*width: 100%; border: 1px solid red;*/ position: absolute;}

.nav_container:nth-child(3) {/*border:1px solid red; background:#000;*/ display:none;}
.menu_pre_header {/*border:1px solid green;*/ top: 30px; position: relative; z-index: 30; display: table; max-width: 75rem; margin: auto; text-transform: uppercase; font-family: 'Lato', sans-serif;}
.menu_pre_header .nav_wrap {float: right; position: relative; z-index: 30;}
.dropdown.menu a {padding: .5rem 0.5rem;}
.submenu {text-transform:capitalize;}

/* Dropdown menus — polished panel */
.menu_pre_header .is-dropdown-submenu,
.top-bar .is-dropdown-submenu,
.dropdown.menu .is-dropdown-submenu {
  border: 1px solid #d0d0d0 !important;
  background: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  padding: 0.25rem 0;
  min-width: 220px;
  z-index: 100 !important;
}
.menu_pre_header .is-dropdown-submenu > li > a,
.top-bar .is-dropdown-submenu > li > a {
  color: #222 !important;
  background: transparent !important;
  white-space: nowrap;
  line-height: 1.4 !important;
  padding: 0.55rem 1rem !important;
}
.menu_pre_header .is-dropdown-submenu > li > a:hover,
.menu_pre_header .is-dropdown-submenu > li.is-active > a,
.top-bar .is-dropdown-submenu > li > a:hover,
.top-bar .is-dropdown-submenu > li.is-active > a {
  background: #003a80 !important;
  color: #ffffff !important;
}
/* Top-level active/hover: white text on blue (fixes customizer blue-on-blue) */
.menu_pre_header .top-bar .menu > li.is-active > a,
.menu_pre_header .top-bar .menu > li:hover > a,
.menu_pre_header .top-bar .menu > .current_page_item > a,
.menu_pre_header .top-bar .menu > .current-menu-item > a {
  color: #ffffff !important;
}
.menu_pre_header .top-bar .menu > li:hover,
.menu_pre_header .top-bar .menu > li.is-active,
.menu_pre_header .top-bar .menu > .current_page_item,
.menu_pre_header .top-bar .menu > .current-menu-item {
  background-color: #003a80;
}

.home header .entry-title {display:none;}
.home .entry-title-page {display:none;}
.home .synved-social-container-share {display:none;}
.home .content_container .content_wrap {max-width:100%;}
.home #centro_home {max-width:75rem; margin:auto;}
.home #social_home {max-width:75rem; margin:auto;}
.home .custom-logo {max-width: none !important;}

#assessori_collettivi {background:#fff; max-width: 820px; margin:auto; margin-top: -222px; border-top-left-radius: 2rem; border-top-right-radius: 2rem; height:174px; position: relative;}
#assessori_collettivi .widget_sow-image {float:left; margin: 0.5rem; margin-bottom: 0.5rem !important; width: 23%;}
#assessori_collettivi .widget_sow-image img {margin:auto;}
/*#assessori_collettivi .widget_text {max-width: 200px; margin: auto; margin-top: 2rem; font-style:italic;}*/

#news_hp .titolo_widget {background:#86d3de; font-family: 'Lato', sans-serif; font-size: 1.5rem; color:#fff; font-weight:bolder; padding: 0.2rem; max-width: 350px; border-top-right-radius: 2rem; margin-bottom:1rem;}
#news_hp .titolo_widget i {font-size: 3.5rem; float:left; margin-right: 0.5rem;}
#news_hp .catego {color:#0098ae; text-transform: uppercase; font-family: 'Lato', sans-serif; font-size: 0.8rem; margin-bottom: 0.2rem;}
#news_hp h2 {font-family: 'Lato', sans-serif; font-size: 1.4rem; color:#373737 !important; font-weight:bolder; line-height: 1.75rem;}
#news_hp h2 a {color:#373737 !important; font-weight:bolder;}
#news_hp .preview_txt {font-family: 'Lato', sans-serif; line-height: 1.35rem;}

#news_hp .article_elenco1 {margin-bottom:2.5rem; min-height: 180px;}
#news_hp .article_elenco1 img {float:right; border:1px solid #b2b2b2; margin-left:1rem;}
#news_hp .article_elenco1 .preview_txt i {color:#495057; font-size: 3rem; float: right; margin-right: -40px; margin-top: -30px; z-index: 9999; position: relative; background: #fff; border-radius: 4rem;}
#news_hp .colonna {float:left; max-width: 31.9%; margin-right:1rem;}
#news_hp .colonna:nth-child(5) {margin-right: 0rem;}
#news_hp .article_elenco2 {margin-bottom:1.8rem;}
#news_hp .article_elenco2 img {border:1px solid #b2b2b2;}
#news_hp .article_elenco2 p i {color:#495057; font-size: 3rem; float: right; margin-right:0px; margin-top: -30px; z-index: 9999; position: relative; background: #fff; border-radius: 4rem;}

.archivionews {display:table; width:100%; background:#86d3de; font-family: 'Lato', sans-serif; font-size: 1rem; color:#fff; font-weight:bolder; padding: 0.2rem; text-align: right; text-transform:uppercase; letter-spacing:1px;}
.archivionews a{color:#fff;}

#appuntamenti .widget-title {background:#6c1f80; font-family: 'Lato', sans-serif; font-size: 1.7rem; color:#fff; font-weight:bolder; padding: 0.2rem; max-width: 350px; border-top-right-radius: 2rem; margin-bottom:1rem;}
#appuntamenti .widget-title:before {content:'\f02b'; font-size: 2.4rem; margin-right: 0.5rem; margin-left: 0.5rem; font-family: 'FontAwesome'; font-style: normal;}
#appuntamenti iframe {border: 0px; min-width: 350px; min-height: 350px;}

.contenuto_hp_dx .widget_text {margin-bottom:0px !important;}
.contenuto_hp_dx .widget_text p {margin-bottom:0px !important;}

.contenuto_hp_dx .widget_sow-editor {margin:0px !important;}
#ropi_text_hp {background:#e0000b; padding: 0.2rem; max-width: 200px; border-top-right-radius: 2rem; margin-bottom:1rem;}
#ropi_text_hp .widget-title {font-family: 'Lato', sans-serif; font-size: 1.5rem; color:#fff; font-weight:bolder; margin: 0px;}
#ropi_text_hp .widget-title:before {content:'\f044'; font-size: 2.4rem; margin-right: 0.5rem; font-family: 'FontAwesome'; font-style: normal; color:#fff; float: left;}
#ropi_text_hp .widget-title:after {content:'la vignetta'; font-family: 'Lato', sans-serif; color:#fff; text-transform:lowercase; font-size: 1rem;
font-weight: 300; width: 100%; display: block;}
#ropi_archive {background:#e0000b; font-family: 'Lato', sans-serif; font-size: 1rem; color:#fff; font-weight:bolder; text-align: right;     padding-right: 0.2rem;}
#ropi_archive a{color:#fff;}
.contenuto_hp_dx .widget_sow-image-grid {margin:0px !important; padding:0px !important;}
.contenuto_hp_dx .widget_sow-image-grid .sow-image-grid-wrapper {padding:0px;}
.contenuto_hp_dx .widget_sow-image-grid .sow-image-grid-wrapper p {display:none;}

#speciali_home {background:#003a80;}
#speciali_home .so-widget-sow-editor {max-width:75rem; margin:auto; margin-bottom:0px; padding-bottom:0px;}
#speciali_home .so-widget-sow-editor p {color:#fff; font-size:2.5rem; padding:0px; font-family: 'Lato', sans-serif; font-weight:bolder; text-transform:uppercase; margin: 0px; padding: 0px;}
#speciali_home .so-widget-sow-editor i {font-family: 'FontAwesome'; font-style: normal; color:#fff; font-size:4rem; font-weight:300;}
#speciali_hp .slick-slide .entry-title {color:#000; font-family: 'Lato', sans-serif; font-weight:bolder; font-size:2rem;}
#speciali_hp .slick-slide .entry-title a{color:#000; font-family: 'Lato', sans-serif;}
#speciali_hp .slick-slide .lsow-entry-text-wrap  {padding-top:0px;}
#speciali_hp button.slick-prev {left: -22px; width: 3.2rem; height: 3.2rem; z-index: 9999;}
#speciali_hp button.slick-prev:before {font-size: 3rem; color:#fff !important;}
#speciali_hp button.slick-next { right: -22px; width: 3.2rem; height: 3.2rem; z-index: 9999;}
#speciali_hp button.slick-next:before {font-size: 3rem; color:#fff !important;}
#speciali_hp .lsow-container ul.slick-dots {bottom: 0px}

#youtube_hp {background:#000; color:#fff; text-align:center;}
#youtube_hp .responsive-embed {text-align:center; padding-bottom: 37%;}
#youtube_hp p {color:#fff; font-size: 0.7rem; letter-spacing: 0.2rem;}
#youtube_hp iframe {max-width:75rem; margin:auto; height:675px; position:relative;}
#youtube_hp svg {max-width:50px;}


.footer_container {background:url('/wp-content/uploads/2018/12/blu.jpg') no-repeat top;}
#footer {background:none; padding-top: 9rem;  font-family: 'Lato', sans-serif;}

/* pagine interne */
.single .content_wrap {padding-top:0px;}
.byline {display:none;}
.single .entry-meta-header {margin-left: 13rem;}
.page .entry-header {margin-left: 13rem;}
.entry-meta-categories {color:#0098ae; text-transform: uppercase; font-family: 'Lato', sans-serif; font-size: 0.8rem; margin-bottom: 0rem; }
.single .entry-meta-categories {margin-left: 13rem;}
.entry-title-post {font-family: 'Lato', sans-serif; font-size: 2rem; color:#373737 !important; font-weight:bolder; }
.entry-title-post a {color:#373737 !important;}
.single .entry-title-post {margin-left: 13rem;}
.page .entry-title {font-family: 'Lato', sans-serif; font-size: 2rem; color:#373737 !important; font-weight:bolder;}
.page .entry-title a {color:#373737 !important;}
.page .custom-logo {max-width: 200px;}
.single .custom-logo {max-width: 200px;}

.archive article{display: table;}
.archive article img {float:left; margin-right:1rem; max-width:200px; border:1px solid #b2b2b2;}
.archive article footer {display:none;}
.blog .genericon-comment {display:none;}
.blog .leave-reply {display:none;}
.blog article{display: table;}
.blog article img {float:left; margin-right:1rem; max-width:200px !important; border:1px solid #b2b2b2; max-height: 135px; overflow: hidden;}
.blog article footer {display:none;}
.entry-summary {font-family: 'Lato', sans-serif;}

.search-results .attachment-post-thumbnail {float:left; margin-right:1rem; max-width:200px !important; border:1px solid #b2b2b2; max-height: 135px; overflow: hidden;}

.attachment-post-thumbnail {float:left; margin-right:1rem; max-width:400px !important;}
.size-full {float:left; margin-right:1rem; max-width:400px !important;}
.attachment-full-width-thumb {float:left; margin-right:1rem; max-width:400px !important;}
/*.synved-social-container-share {float:right;}*/
.pagination li {font-size:1.5rem;}

#youtube_hp_int {background:#000; color:#fff; text-align:center;}
#youtube_hp_int .responsive-embed {text-align:center; padding-bottom: 37%;}
#youtube_hp_int p {color:#fff; font-size: 0.7rem; letter-spacing: 0.2rem;}
#youtube_hp_int iframe {max-width:75rem; margin:auto; height:675px; position:relative;}
#youtube_hp_int svg {max-width:50px;}

.page-id-2 .attachment-full-width-thumb {display:none;}
.page-id-14 .attachment-full-width-thumb {display:none;}
.postid-2522 .attachment-post-thumbnail {display:none;}

/* Speciali */
/* mare negato */
.page-id-1945 #content {padding:0px;}
.page-id-1945 .content_wrap {width:98%; max-width:none; padding:0px;}
.page-id-1945 #header .custom-logo {left: 15px;}
.page-id-1945 .entry-header {margin-bottom: 0rem;}
#mareneg1 {padding-left:2rem; padding-right:2rem;}
#mareneg2 {padding-left:2rem; padding-right:2rem;}
#mareneg3 {padding-left:2rem; padding-right:2rem;}
#mareneg_pdf {float:right; margin-left:1rem; background:#eee; padding:1rem; border-radius:2rem; font-family: 'Lato', sans-serif; line-height:1.5rem;}
#mareneg_pdf a {color:#000;}
#mareneg_pdf i {font-family: 'FontAwesome'; font-style: normal; color:#fff; font-size:1rem; color:#003a80; /*font-weight:300;*/}
.page-id-1945 .attachment-full-width-thumb {display:none;}
#mareneg_video {padding-top:1.5rem; background: #00153f; /* Old browsers */
background: -moz-linear-gradient(left, #00153f 1%, #1e5799 49%, #0d2044 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(left, #00153f 1%,#1e5799 49%,#0d2044 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to right, #00153f 1%,#1e5799 49%,#0d2044 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00153f', endColorstr='#0d2044',GradientType=1 ); /* IE6-9 */}
#mareneg_art .article_elenco {float:left; max-width: 14%; margin: 1.2rem; min-height: 450px;}
#mareneg_art h2 {font-family: 'Lato', sans-serif; font-size: 1.1rem; color:#373737 !important; font-weight:bolder; line-height: 1.4rem;}
#mareneg_art h2 a {color:#373737 !important; font-weight:bolder;}
#mareneg_art .preview_txt {font-family: 'Lato', sans-serif; line-height: 1.35rem;}
#mareneg_art .immagine {max-height:137px; overflow:hidden;}


/* acqua bene comune */
.page-id-2830 #content {padding: 0px;}
.page-id-2830 .content_wrap {width:98%; max-width:none; padding:0px;}
.page-id-2830 #header .custom-logo {left: 15px;}
.page-id-2830 .entry-header {margin-bottom: 0rem;}
.page-id-2830 .attachment-full-width-thumb {display:none;}
#img_acqua {background:#00aeff;}
#img_acqua img {max-height:525px;}
/*.page-id-2830 .attachment-full-width-thumb {max-width: 400px !important; position: absolute; left: 0px;}
.page-id-2830 .post-2830 img:before {content:'ciao'; font-size:2rem; background:#00aeff;}
.page-id-2830 .entry-content-page {margin-top: 17.5rem;}*/
#acqua_bott {max-width:75rem; margin:auto;}
.page-id-2830 .forum {background: #019CE4;}


/* Define mobile styles */

@media only screen and (max-width: 40em) { 
  
  #search-3 {display:none !important;}
  
  .header_container .nav_container {display:none;}
  
    #header > .grid-x:first-child {position:initial; top:0px; border-bottom: none;}
  
  .header-logo:nth-child(2) {top: 55px;}
  .sidebar-pre-header {height: 125px;} 
  #synved_social_follow-2 .widget-title {display: block;}
  
  #header .custom-logo {max-width:120px !important; left: 0px;}  
  #mareneg_art .article_elenco {float:none; max-width: none; margin: 1rem; min-height:auto;}
  #news_hp .titolo_widget {font-size: 1.3rem;}
  #news_hp .article_elenco1 img {float:none; width:100%; margin-bottom:1rem; margin-left:0px;}
  #news_hp .article_elenco1 .preview_txt i {font-size: 2rem; margin:0px;}
  #news_hp .colonna {float:none; max-width:none;}
  #news_hp .article_elenco2 p i {font-size: 2rem; margin:0px;}
  
  #assessori_collettivi {height: 70px; margin-top:-130px;}  
  #assessori_collettivi .widget_sow-image {width: 21%; margin:0.4rem;}
  
  /* pag interne */
  .single .entry-meta-categories {margin-left: 0rem;}
  .single .entry-meta-header {margin-left: 0rem;}
  .page .entry-header {margin-left: 0rem; }
  .single .entry-title-post {margin-left: 0rem;}
  article .entry-header {margin-top: 1rem;}
  
}

/* max-width 640px, mobile-only styles, use when QAing mobile issues */

/* min-width 641px, medium screens */

@media only screen and (min-width: 40.063em) and (max-width: 64em) { 
  
  #search-3 {display:none !important;}
  
 .header_container .nav_container {display:none;}
  
  #header > .grid-x:first-child {position:initial; top:0px; border-bottom: none;}
  
    .header-logo:nth-child(2) {top: 55px;}
  
    .sidebar-pre-header {height: 125px;} 
    #synved_social_follow-2 .widget-title {display: block;}
  
    #header .custom-logo {max-width:120px !important; left: 0px;}
    #mareneg_art .article_elenco {float:none; max-width: none; margin: 0rem;}
  #mareneg_art .article_elenco {float:none; max-width: none; margin: 1rem; min-height:auto;}
  	#news_hp .titolo_widget {font-size: 1.3rem;}
    #news_hp .article_elenco1 .preview_txt i {font-size: 2rem; margin:0px;}
    #news_hp .colonna {float:none; max-width:none;}
    #news_hp .article_elenco2 p i {font-size: 2rem; margin:0px;}

  	#assessori_collettivi {height: 70px; margin-top:-130px;}  
    #assessori_collettivi .widget_sow-image {width: 21%; margin:0.4rem;}
  
    /* pag interne */
  .single .entry-meta-categories {margin-left: 0rem;}
  .single .entry-meta-header {margin-left: 0rem;}
  .page .entry-header {margin-left: 0rem;}
  .single .entry-title-post {margin-left: 0rem;}
  article .entry-header {margin-top: 1rem;}
  
}

/* Medium screens*/
@media only screen and (min-width: 40.063em) {    
  
}


/* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1064px) 
  and (orientation: portrait) 
  and (-webkit-min-device-pixel-ratio: 1) {
      
 } /* Portrait */

/* Large screens*/
@media only screen and (min-width: 64.063em) {    
   
} /* min-width 1025px, large screens */

@media only screen and (min-width: 64.063em) and (max-width: 90em) { 
 
} /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */

/* XLarge screens*/
@media only screen and (min-width: 90.063em) { 
 
} /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) { 
  
.single .entry-meta-header {margin-left: 0rem;}
.page .entry-header {margin-left: 0rem;}
.single .entry-meta-categories {margin-left: 0rem;}
.single .entry-title-post {margin-left: 0rem;}
.page-id-1945 .entry-header {margin-left: 13rem;}
.page-id-2830 .entry-header {margin-left: 13rem;}

} /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

/* XXLarge screens*/
@media only screen and (min-width: 120.063em) { 
  
.single .entry-meta-header {margin-left: 0rem;}
.page .entry-header {margin-left: 0rem;}
.single .entry-meta-categories {margin-left: 0rem;}
.single .entry-title-post {margin-left: 0rem;}
.page-id-1945 .entry-header {margin-left: 13rem;}
.page-id-2830 .entry-header {margin-left: 13rem;}

} /* min-width 1921px, xxlarge screens */


@media print {
 a[href]:after { content: none !important; } }