

body {font-family: 'Open Sans' !important; font-size:14px }
h1, h2, h3, h4, h5, h6 {font-family: 'Open Sans' !important; }
:focus{outline:0;}
.data {line-height:2.5rem ;padding-left: 2rem} 
.data span {margin-left:2rem}
.data span a {color:#222222}
.data span a:hover {color:#4a88d3} 
.header {margin-bottom:0px}
#container{background:#ffffff; border: none;max-width:1200px;margin:0px auto 0px auto;
-webkit-box-shadow: 0px 1px 30px 0px rgba(50, 50, 50, 0.23);
-moz-box-shadow:    0px 1px 30px 0px rgba(50, 50, 50, 0.23);
box-shadow:         0px 1px 30px 0px rgba(50, 50, 50, 0.23);}

/* topmenu */
.toptop {background: transparent !important ; font-family: 'Open Sans' !important; font-size:1rem}
.toptop .top-bar-section ul li {background: transparent !important ; color:#000000; }
/*.toptop .top-bar-section ul li a:after{content:"|"; color:#000000;margin-left:1rem;} */
.toptop .top-bar-section ul li:last-child a:after  {content:" "; }
.toptop .top-bar-section li:not(.has-form) a:not(.button) {background: transparent !important}
.toptop .top-bar-section li.active:not(.has-form) a:not(.button) { color:#000000}
.toptop .top-bar-section li.active:not(.has-form) a:not(.button):hover  {color: #4a88d3}
.toptop .top-bar-section ul li > a { color:#000000 ;font-family: 'Open Sans' !important;; font-weight:600}
.toptop .top-bar-section ul li:hover:not(.has-form) > a  { color:#000000}
.toptop .top-bar-section ul li > a:hover  {color: #4a88d3}
.toptop .top-bar-section li:not(.has-form) a:not(.button):hover  {color: #4a88d3}


 /* motore di ricerca */
.widget_search  { background:transparent ;height: 2.7rem;padding:0px;-webkit-box-sizing: border-box;-moz-box-sizing: border-box;box-sizing: border-box;transition: box-shadow 0.45s, border-color 0.45s ease-in-out;border:none !important}
.widget_search .button { font-family:FontAwesome; border:none ; background: transparent ; color:#ffffff ;margin:0.1rem; line-height: 1.5rem;height: 2.5rem}
.widget_search .button:focus { border:none !important;  background: transparent ; color:#4a88d3}
.widget_search .inputext { ;max-width:75%; float:left;color:#757575;;margin:0.1rem; line-height: 1.5rem ;height: 2.5rem;-webkit-appearance: none;border-radius: 0;background: transparent;
border: none;box-shadow: none;display: block;font-size: 0.875rem;padding: 0.5rem;-webkit-border-radius: 5px;-moz-border-radius: 5px;border-radius: 5px;-webkit-box-shadow: 1px 0px 2px 0px rgba(50, 50, 50, 0.75);
-moz-box-shadow:    1px 0px 2px 0px rgba(50, 50, 50, 0.75);box-shadow:         1px 0px 2px 0px rgba(50, 50, 50, 0.75);-webkit-box-sizing: border-box;-moz-box-sizing: border-box;
box-sizing: border-box;transition: none;}
.widget_search input[type="text"] {background: transparent; border: none !important ;-webkit-box-shadow: none;-moz-box-shadow: none;box-shadow: none;}
.widget_search input[type="text"]:focus, .widget_search input[type="text"]:hover, .widget_search input[type="text"]:active {border: none !important; box-shadow: none !important ;background-color: #FFFFFF; }

.testata  { background-size:contain; width: 100%;  }
.testata #layer { height:349px ;background-image:  url(images/bgtestata.jpg); background-repeat: no-repeat; background-position:  left bottom ; display: table; margin:0px ; width:100% ; position:relative;}
.testata #layer_old { height:349px ;background-color:#365d98;background-image:  url(images/bgtestatacornice.jpg); background-repeat: no-repeat; background-position:  left bottom ; display: table; margin:0px ; width:100% ; position:relative;}
.testata #cornice { height:349px ; background-image: url(images/cornicesf2.png); background-repeat: no-repeat; background-position: right center ; display: table; margin:0px ; width: 349px ; position:absolute; right:0px; top:0px; z-index:10 }
                               
.testata #immagini { ;background-color:#365d98; margin: 1.5rem;    overflow: hidden;    padding: 0px;    position: absolute !important; right:0px;  height: 305px ; width: 305px; z-index: 1 }
.testata #immagini #portfolio { margin: 0px 0px 0px 5px;    padding: 0px; }
.testata #immagini #portfolio li  {height: 300px;  list-style-type: none;    margin: 0px;   padding: 0px;    width: 300px; overflow:hidden; text-align:center}
.testata #immagini #portfolio li img { max-height:280px; height:280px }
.testata #immagini #portfolio li span {color:#ffffff; display:block; font-size:0.8rem; font-weight:normal ;padding-left:1rem}
.testata #immagini #sidebartestafoto .widget {padding: 0px; margin:0px}




 

.menumain  { }
#menumain .contain-to-grid { background: #a4a4a4 !important ; }
#menumain .contain-to-grid.row {  height: 4rem }
#menumain .top-bar {background: #a4a4a4 !important ; font-family: 'Open Sans' !important; margin-left: 3rem; width:84%}
#menumain .top-bar-section ul li {background: transparent !important ; color:#ffffff;}
#menumain .top-bar-section ul li:first-child {border-left:none}
/*
.top-bar-section .has-dropdown > a:after {content:"\f0c9";font-family: 'FontAwesome' ;font-size:1rem; color:#ffffff ; display: inline; width: 0.5rem; height: 1rem;  border: none;  margin: 0.5rem 0.5rem 0.5rem 1rem; position: relative; top:0px}
*/
#menumain .top-bar-section .has-dropdown > a:after {content:"\f0c9";font-family: 'FontAwesome' ;font-size:0.9rem; color:#ffffff ; height:1rem ; display: inline; top:0rem}
#menumain .top-bar-section .has-dropdown > a:hover:after  { color: #545454 ; }
#menumain .top-bar-section li:not(.has-form) a:not(.button) {background: transparent !important}
#menumain .top-bar-section li:not(.has-form) a:not(.button):hover {background: transparent !important}
#menumain .top-bar-section li.active:not(.has-form) a:not(.button) { color:#000000; background: #ffffff !important ;}
#menumainold .top-bar-section li.active:not(.has-form) a:not(.button):after {_content:"\f0c9";_font-family: 'FontAwesome' ;font-size:0.9rem;color: #545454 ; height:1rem ; display: inline; top:0rem}
#menumain .top-bar-section li.active:not(.has-form) a:not(.button):hover  {color: #545454}
#menumain .top-bar-section ul li > a { color:#ffffff; ;font-family: 'Open Sans' !important; font-weight:700 ; ; text-transform: uppercase; }
#menumain .top-bar-section ul li > a:hover  {color: #545454; background: #ffffff !important }
#menumain .top-bar-section ul li:hover:not(.has-form) > a  { color:#ffffff}
#menumain .top-bar-section li:not(.has-form) a:not(.button):hover  {color: #545454 ;background: #ffffff !important ;}
#menumain .top-bar .dropdown { background: rgba(164, 164, 164, 0.9)}
#menumain .menuorizzontale li a {line-height: 4rem; }
#menumain .menuorizzontale .dropdown li a {line-height: 3rem}

#menumain .top-bar-section .dropdown li:not(.has-form) a:not(.button) { background: rgba(164, 164, 164, 0.9) !important; border-bottom: 1px solid #ffffff;}
#menumain .top-bar-section .dropdown li.active:not(.has-form) a:not(.button) { background: #545454 !important; color: #ffffff !important}

#menumain .top-bar-section li.active:not(.has-form) .dropdown a:not(.button):after {content:"\f105";font-family: 'FontAwesome' ;font-size:0.9rem; color: #545454 ; height:1rem ; display: inline; top:0rem; margin-left:0.5rem}
#menumain .top-bar-section li.active:not(.has-form) .dropdown .dropdown a:not(.button):after  {content:""}




/* MEDIAQUERIES*/

/* Small screens */
@media only screen { 
.testata { ;}
.testata #layer { ;background-size:contain; width: 100%; height:153px !important; position: absolute !important; left:0px ;z-index: 100; }
.testata #layer a {height:100% ; display:block}


.togglesn {display:none}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a { ;margin: 45% 2rem 2rem 2rem !important  }
.centrohomepage .totnews .wp-thumb-overlay {width:33%}
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {;}

} /* Define mobile styles */

@media only screen and (max-width: 40em) { 
.testata {}
.testata #layer {;background-size:contain; width: 100%; height:153px !important; position: absolute !important; left:0px ;z-index: 100; }
.testata #layer a {height:100% ; display:block}


.togglesn {display:none}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a {  ;margin: 45% 2rem 2rem 2rem !important }
.centrohomepage .totnews .wp-thumb-overlay {width:33%;}
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {;}

#menu-menufooterlinks.sub-nav { display: list-item}
#menu-menufooterlinks.sub-nav li {  max-width:100% !important; padding-left: 10%;}
} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

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


#menumain .top-bar-section ul li > a{ font-size:0.8rem ; padding:0rem 0.5rem 0rem 0.5rem}


.widget_search .button { ;font-size: 1rem;padding: 0rem;padding-left:0.2rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0.2rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0.2rem;}
.centrohomepage .evidenza a { ;margin: 40% 2rem 2rem 2rem !important }
.centrohomepage .totnews .wp-thumb-overlay {width:45%;}
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {}
#menu-menufooterlinks.sub-nav { display: list-item}
#menu-menufooterlinks.sub-nav li { max-width:100% !important; padding-left: 10%;}

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

@media only screen and (min-width: 40.063em) and (max-width: 64em) { 
.row {}
.testata {}


#menumain .top-bar-section ul li > a{ font-size:0.8rem ; padding:0rem 0.5rem 0rem 0.5rem}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1rem;padding: 0rem; padding-left:0.2rem;}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0.2rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0.2rem;}
.centrohomepage .evidenza a { ;margin: 40% 2rem 2rem 2rem !important  }
.centrohomepage .totnews .wp-thumb-overlay {width:45%}
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:50% }

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

/* Large screens */
@media only screen and (min-width: 64.063em) { 
.row {max-width: 1200px !important;}
.testata {}


#menumain .top-bar-section ul li > a{ font-size:0.8rem ;padding:0rem 0.5rem 0rem 0.5rem}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a {  ;max-width: 55%;;margin: 53% 2rem 2rem 2rem !important }
.centrohomepage .totnews .wp-thumb-overlay {width:45%;  }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:25% }

} /* min-width 1025px, large screens */

@media only screen and (min-width: 64.063em) and (max-width: 90em) {
.row {max-width: 1200px !important;}
.testata {}

#menumain .top-bar-section ul li > a{ font-size:0.8rem ;padding:0rem 0.5rem 0rem 0.5rem}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a {  ;max-width: 55%;;margin: 53% 2rem 2rem 2rem !important }
.centrohomepage .totnews .wp-thumb-overlay {width:45%; }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:25% }

 } /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */

/* XLarge screens */
@media only screen and (min-width: 90.063em) { 
.row {max-width: 1200px !important;}
.testata {}

.testata #layer a {height:100% ; display:block}

#menumain .top-bar-section ul li > a{ font-size:0.9rem ;}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a { ; max-width: 55%;;margin: 53% 2rem 2rem 2rem !important}
.centrohomepage .totnews .wp-thumb-overlay {width:45%; }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {height: 240px !important;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:25% }

} /* min-width 1441px, xlarge screens */

@media only screen and (min-width: 90.063em) and (max-width: 120em) { 
.row {max-width: 1200px !important;}
.testata {}

.testata #layer a {height:100% ; display:block}

#menumain .top-bar-section ul li > a{ font-size:0.9rem ;}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a {  max-width: 55%; ;margin: 53% 2rem 2rem 2rem !important}
.centrohomepage .totnews .wp-thumb-overlay {width:45%; }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {height: 240px !important;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:25% }

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

/* XXLarge screens */
@media only screen and (min-width: 120.063em) { 
.row {max-width: 1200px !important;}
.testata {}

#menumain .top-bar-section ul li > a{ font-size:0.9rem ;}

.contain-to-grid {background: transparent !important}
.widget_search .button { ;font-size: 1.5rem;padding: 0.5rem}
#sidebardx .mediatab .tabs .tab-title.active a {;padding: 0rem 1rem 0rem 1rem;}
#sidebardx .mediatab .tabs .tab-title > a{ padding: 0rem 1rem 0rem 1rem;}
.centrohomepage .evidenza a {   max-width: 55%;;margin: 53% 2rem 2rem 2rem !important}
.centrohomepage .totnews .wp-thumb-overlay {width:45%; }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {height: 240px !important;}
.footerspazio ul  { padding: 0rem 2rem 0rem 2rem;}
.footerspazio ul li {; width:25% }

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

/* FINE MEDIAQUERIES*/
#menumain .fixed {background: #4a88d3 !important; min-width: 100%; z-index:1000}
#menumain .fixed .top-bar-section  {float: right !important}
#menumain .expanded   {_float: none !important; margin-right:3rem !important }


#sidebardx { 
    
    
background: #f7f5ef;  
background: -moz-linear-gradient(top,  #f7f5ef 69%, #ffffff 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #f7f5ef 69%,#ffffff 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #f7f5ef 69%,#ffffff 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f5ef', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */

  border:none ; padding-top:1rem;}
#sidebardx .mediatab .tabs .tab-title {background:#ffffff; border-right: 1px solid #4a88d3 ;color:#4a88d3; font-weight:bold; text-transform:uppercase;
-webkit-border-top-left-radius: 5px;
-webkit-border-top-right-radius: 5px;
-moz-border-radius-topleft: 5px;
-moz-border-radius-topright: 5px;
border-top-left-radius: 5px;
border-top-right-radius: 5px; margin-right:0.2rem;}
#sidebardx .mediatab .tabs .tab-title.active a { background:#4a88d3 ; color:#ffffff ; font-size:1rem ;display:inline}
#sidebardx .mediatab .tabs .tab-title > a{ background:#ffffff; ; color:#4a88d3; font-size:1rem ;display:inline ;font-family: 'Open Sans' !important;;}
#sidebardx .mediatab .tabs .active {background:#4a88d3 ; color:#ffffff}
#sidebardx .mediatab .media {border: 1px solid #4a88d3; padding:1rem}
#sidebardx .mediatab .media  > .content {padding: 0px}
#sidebardx .imgcontain { ; height: 180px; background-position:0px 0px ; background-size: cover; background-repeat: no-repeat}

#sidebardx #text-2 {border-top:3px solid #4a88d3; border-bottom:3px solid #4a88d3 ; background:#f0f0f0 ;padding:0px}
#sidebardx #text-2 .textwidget  { background:#f0f0f0 ; text-align:center}

#sidebardx .widget_em_widget  {position:relative; margin:0px; padding:0px}
#sidebardx .widget_em_widget .widgettitle {background:#545454 ; color:#ffffff ; text-transform:uppercase;font-size:0.9rem ;font-weight: 600; padding: 0.5rem ;font-family: 'Open Sans' !important;;margin-bottom:0px; line-height: 1.6rem;}
#sidebardx .widget_em_widget .totevento {position:absolute ; z-index:99; bottom:20%;right:4%; max-width:96% ;width:92% ; text-align:right ; font-weight:bold; font-size:1.1rem;padding:1%}
#sidebardx .widget_em_widget .totevento a {background: rgba(87, 87, 87, 0.9);max-width:100% ; display:block ; color:#ffffff; text-transform:uppercase}
#sidebardx .widget_em_widget .totevento a:hover {background: rgba(87, 87, 87, 0.8)!important;}
#sidebardx .widget_em_widget .totevento a:after {content:"\f138"; font-family:FontAwesome; font-size:1.1rem;margin-left:1rem ; margin-right:0.5rem;; color:#ffffff}
#sidebardx .widget_em_widget .totevento ul {text-align:right}
#sidebardx .widget_em_widget .totevento ul li  {background: rgba(87, 87, 87, 0.8); padding: 0.3rem 0.5rem 0.3rem 0.5rem;font-size:1rem; color:#ffffff}
#sidebardx .widget_em_widget .imgevento {background:#4a88d3 ; min-height:180px; margin-bottom:0px;}
#sidebardx .widget_em_widget .all-events-link  {background:#545454; color:#ffffff ; text-align:right }
#sidebardx .widget_em_widget .all-events-link a { color:#ffffff  }
#sidebardx .widget_em_widget .all-events-link a:after {content:"\f138"; font-family:FontAwesome; font-size:1.1rem;margin-left:1rem ; margin-right:0.5rem;; color:#ffffff}

#sidebardx .widget_sp_image .widgettitle {/*color:#ffffff; background:#4a88d3 ; font-size:1rem ;;font-weight: 600;padding: 0.5rem ;font-family: 'Open Sans' !important; text-align: left*/}
#sidebardx .widget_sp_image {/*margin:1rem 0rem 1rem 0rem; padding:0px ; text-align: center*/}


.centrohomepage {padding-top:0px}
.centrohomepage #section_evidenza {/*margin:1rem 0rem 1rem 0rem  ; */padding: 0px}
.centrohomepage #section_evidenza .box_evide_home { padding: 0px}
.centrohomepage #section_evidenza .box_evide_home #evidenza .box { ;margin:0px !important ; min-height:260px; }
.centrohomepage #section_evidenza .box_evide_home #evidenza .box a {z-index:1 ;margin:0px !important ; display: block;  position: relative ;max-height:260px ;overflow:hidden}
.centrohomepage #section_evidenza .box_evide_home #evidenza .box a h3 { background:rgba(87, 87, 87, 0.9) ; position: absolute; left:1%;bottom:12%; z-index:3 ;font-size:1.2rem; padding: 0.5rem !important ; width: 98%; color:#ffffff; font-weight:bold; text-transform: uppercase}
.centrohomepage #section_evidenza .box_evide_home #evidenza .box a h3:hover{ color:#4a88d3 }
.centrohomepage #section_evidenza .box_evide_home #evidenza .box a img { width:100%; max-width:100% }
.centrohomepage #section_evidenza .box_evide_home #evidenza .box p {margin-top:1rem}
.centrohomepage #section_evidenza .box_evide_home #evidenza .box p a.excerpt-read-more {display: inline; padding:0rem 1rem 1rem 1rem;margin-bottom:1rem; text-align:right; float:right; color: #d5d5d5 !important; font-size: 1.2rem !important }

a.excerpt-read-more {display: inline; 
                   
              /*     padding:0rem 1rem 1rem 1rem;margin-bottom:1rem; text-align:right; float:right; */ color: #d5d5d5 !important; /*font-size: 1.2rem !important */ }

.centrohomepage .archivio_link   {margin-top:1rem;padding:1rem;  background: #4a88d3 ; width:100%; color:#ffffff ; font-size:0.9rem ;display:table;font-weight: bold  ;padding: 0.5rem ; text-transform:uppercase; text-align:left ; height:42px;line-height: 1.6rem;}
.centrohomepage .archivio_link a {width:100%; display:block;color:#ffffff ;}
.centrohomepage .archivio_link a:after { content: "\f105";font-family: FontAwesome;font-size: 1.3rem;float: right;margin-left: 0.5rem;color: #ffffff; font-weight: lighter ; _line-height:2.5rem}


.centrohomepage .news .box_news_home {border-bottom: 1px solid #cdcdcd ;margin-top:0.5rem !important; margin-bottom:0.5rem !important}
.centrohomepage .news .box_news_home .box  {margin: 0px ; padding: 0px}

.centrohomepage .totnews .wp-thumb-overlay {; margin-right:1rem !important }
.centrohomepage .totnews .wp-thumb-overlay .thumb_lay {_height: 240px !important;overflow: hidden !important; display: block;}
.centrohomepage .totnews .wp-thumb-overlay .wp-post-image {}
.centrohomepage .totnews a {color:#3b3b3b ; font-weight:bold; font-size:1rem ; display: block}
.centrohomepage .totnews a:hover  { color:#4a88d3}
.centrohomepage .totnews p.wp-cpl-excerpt { margin-top:1rem !important}



#inner-content {}

a.accordiontitle {margin-top:1px;background:#4a88d3 !important; color:#ffffff !important; text-transform:uppercase !important; padding: 0.5rem !important; min-height:42px; ;width:100%}
a.accordiontitle h4 { color:#ffffff !important; text-transform:uppercase !important;font-size:0.8rem !important;font-weight: 600 !important; font-family: 'Open Sans' !important; }
a.accordiontitle h4:after {content:"\f107" ; font-family: FontAwesome; font-size: 1.3rem;float: right;margin-left: 0.5rem;color: #ffffff; }
.accordion-navigation .content {background:#f0f0f0 !important;padding:0.5rem !important}
.accordion-navigation .content .widget {margin:0px ; padding:0px;}
ul.accordion {margin:0px;padding:0px;vertical-align:top;}
ul.accordion .menu-item {font-size:0.9rem ; border-bottom:1px solid #ffffff ; min-height: 42px; margin-bottom:0px; line-height:1.5rem}
ul.accordion .menu-item a {color:#3e3e3e}


.mediatabbottom .widget_ultimate_posts {margin:1rem 0rem ;padding:0px;font-family: 'Open Sans' !important;}
.mediatabbottom .widget_ultimate_posts .widgettitle {background:#4a88d3 !important; color:#ffffff !important; text-transform:uppercase !important; padding: 0.5rem !important; height:42px;width:100%; font-size:0.8rem !important;font-weight: 600 !important;     line-height: 1.5rem}
.mediatabbottom .widget_ultimate_posts .widgettitle a {color:#ffffff !important; display:block}
.mediatabbottom .widget_ultimate_posts .widgettitle a:after { content: "\f105";font-family: FontAwesome;font-size: 1.3rem;float: right;margin-left: 0.5rem;color: #ffffff; font-weight: lighter ; _line-height:2.5rem}
.mediatabbottom .widget_ultimate_posts .category-comunicati-stampa  {background:#f0f0f0 !important;padding:0.5rem !important;    font-size: 0.9rem;    border-bottom: 1px solid #4a88d3; width:100% }
.mediatabbottom .widget_ultimate_posts .entry-title {color:#4a88d3; font-size:0.9rem ;font-weight: 600 !important;}
.mediatabbottom .widget_ultimate_posts .entry-title a {color:#4a88d3; }
.mediatabbottom .widget_ultimate_posts .entry-meta {color:#4a88d3; font-size:0.8rem;margin: 0rem; padding:0rem}
.mediatabbottom .widget_ultimate_posts .entry-summary p {color:#000000; font-size:0.8rem ; margin:0.3rem 0rem; padding:0rem}
.mediatabbottom .widget_ultimate_posts .entry-categories {display: none}
.mediatabbottom .widget_ultimate_posts .more-link {}


/* galleria wordpress */

.gallery-columns-1,.gallery-columns-2 {    text-align: center;}
.gallery-columns-1 .gallery-item {    width: 100%;}
.gallery-columns-2 .gallery-item {    width: 50%;}
.gallery-columns-3 .gallery-item {    width: 33%;}
.gallery-columns-4 .gallery-item {    width: 25%;}
.gallery-columns-5 .gallery-item {    width: 20%;}
.gallery-columns-6 .gallery-item {    width: 16%;}
.gallery-columns-7 .gallery-item {    width: 14%;}
.gallery-columns-8 .gallery-item {    width: 12.5%;}
.gallery-columns-9 .gallery-item {    width: 11%;}
.gallery-caption {    width: 90%;    margin: 0 auto !important;    text-align: center;    font-size: 12px !important;    font-style: italic;    line-height: 1.5;    color: #757575;}
.gallery img {    padding: 1%;    border: 2px solid #cfcfcf;    border-radius: 3px;    box-shadow: 0 1px 4px rgba(0,0,0,0.2);}
.gallery-columns-3 .gallery-caption {    width: 73%;    margin: 0 auto !important;    margin-left: 0 !important;    text-align: center;    font-size: 12px !important;    font-style: italic;    line-height: 1.5;    color: #757575;}
dl.gallery-item{    float: left !important;}




.category-fotogallery .imgcontain, .category-videogallery .imgcontain {
float: left;
margin-right: 1rem;
max-height: 12rem;
overflow: hidden;
background-repeat: no-repeat;
min-height: 192px;
background-size: cover !important;
background-position: center center !important;
width: 100%;
border:1px solid #4a88d3;
}

.category-fotogallery h5, .category-videogallery h5 {position: relative; z-index:100; font-weight:bold; color:#ffffff; top: 123px ;height:66px; left:0px;  background: rgba(87, 87, 87, 0.9); width:100%;margin-bottom:0rem;padding: 0.5rem}
.category-fotogallery h5 a , .category-videogallery h5 a{color:#ffffff;font-size: 1rem;}
.category-fotogallery h5 a:hover, .category-videogallery h5 a:hover{    color:#8EB1DB;}

/* #content a:hover, #content a:focus, h1.entry-title a{    background: none !important }*/

#category_posts h5 a:hover, #category_posts h5 a:focus{color: #000 !important;}

.single h1.entry-title a:hover{ color: #666666 !important;   }

.class_galleria_fotografica h1, .article-foto h1, .class_galleria_video h1, h1.page-title, h1.entry-title a{
color: #3b3b3b;font-size: 2rem;font-weight: 500;margin-top: 0rem;margin-bottom: 1.625rem}




#sidebarhome { margin:1rem 0rem}

#sidebar,  #sidebarhome, #sidebarleftpost, #sidebarlefteventpost, .sidebarsnbanner {background: #ffffff; }

.togglesn-link {background:#f1f1f1 !important ; color:#545454 ; font-size:1.5rem ; padding:0.5rem 1rem 0.5rem 1rem}
.togglesn-link a { color:#A4A4A4 !important}
.togglesn-link:hover , .togglesn-link:active, .togglesn-link:focus { color:#545454 !important}

.sidebarsnbanner  {}
.sidebarsnbanner .widget_sp_image {margin:1rem 0rem ;padding:0px}
.sidebarsnbanner .widget_sp_image .widgettitle {display:none}
.sidebarsnbanner .widget_text {margin:1rem 0rem ;padding:0px ; background: #c2c2c2; text-align:center; }
.sidebarsnbanner .widget_text .widgettitle {display:none}
.sidebarsnbanner .widget_text .textwidget { padding:1rem; text-align:center; font-size:1rem;color:#ffffff;  font-weight:600; text-transform: uppercase}


.menubarrasn { padding:0px} 
#menu-prosidebar .menu-item-has-children a  {color:#4a88d3 ; text-transform:uppercase}
#menu-prosidebar .menu-item-has-children .menu-item a {color: #757575;text-transform:none}
#menu-prosidebar .current-menu-ancestor .dropdown .menu-item  a {color: #757575;}
#menu-prosidebar .menu-item-has-children .dropdown .active a {color: #4a88d3 }
#menu-prosidebar .has-dropdown:before {content:"\f0dd" ; font-family:FontAwesome; font-size:1rem; float:right; color:#4a88d3; margin-top:-0.2rem} 
#menu-prosidebar .current-menu-ancestor .dropdown .active .dropdown .active a {color: #4a88d3;}
#menu-prosidebar .dropdown {padding-left: 0rem}
#menu-prosidebar .dropdown li{margin-bottom: 0.25rem}


#menu-prosidebar .cmw-level-1 a {color:#4a88d3 ; text-transform:uppercase}


.sidebarsinistratop {    display: inline-block;width:100%;margin:1rem 0rem; }
.sidebarsinistratop .widget_custom_menu_wizard {margin:1rem 0rem; padding:0rem}
.sidebarsinistratop .cmw-level-1 {background: #545454;color:#ffffff !important; text-transform:uppercase !important;font-size:0.8rem !important;font-weight: 600 !important; font-family: 'Open Sans' !important; min-height:42px; line-height:1.5rem;}
.sidebarsinistratop .cmw-level-1 a {color:#ffffff ; text-transform:uppercase  ;      display: block ;     padding: 0.5rem;}
.sidebarsinistratop .cmw-level-1 .dropdown {background: #f0f0f0 ; color:#3e3e3e ;text-transform:uppercase; margin:0rem; padding:0rem; border-bottom: 3px solid #ffffff }
.sidebarsinistratop .cmw-level-1 .dropdown li {border-bottom: 1px solid #ffffff; margin-bottom:0px }
.sidebarsinistratop .cmw-level-1 .dropdown li a { color:#3e3e3e ;text-transform:uppercase ;font-size:0.8rem !important ; display:block; min-height:42px; line-height:1.5rem; }
.sidebarsinistratop .cmw-level-2 .dropdown li {margin-left:1rem; font-size: 0.8rem; border-bottom: none; min-height: 1rem;}
.sidebarsinistratop .cmw-level-2 .dropdown li a { font-size: 0.8rem; border-bottom:none; text-transform:none ;}


.sidebarinterne {    display: inline-block;width:100%;margin:1rem 0rem; }


#sidebarlefteventpost, #sidebarleftpost  {  ;margin:1rem 0rem; }
#sidebarlefteventpost .widget_custom_menu_wizard, #sidebarleftpost .widget_custom_menu_wizard {margin:1rem 0rem; padding:0rem}
#sidebarlefteventpost .cmw-level-1, #sidebarleftpost .cmw-level-1 {background: #545454;color:#ffffff !important; text-transform:uppercase !important;font-size:0.8rem !important;font-weight: 600 !important; font-family: 'Open Sans' !important; min-height:42px; line-height:1.5rem;}
#sidebarlefteventpost .cmw-level-1 a, #sidebarleftpost .cmw-level-1 a {color:#ffffff ; text-transform:uppercase  ;      display: block ;     padding: 0.5rem;}
#sidebarlefteventpost .cmw-level-1 .dropdown, #sidebarleftpost .cmw-level-1 .dropdown {background: #f0f0f0 ; color:#3e3e3e ;text-transform:uppercase; margin:0rem; padding:0rem; border-bottom: 3px solid #ffffff }
#sidebarlefteventpost .cmw-level-1 .dropdown li, #sidebarleftpost .cmw-level-1 .dropdown li {border-bottom: 1px solid #ffffff; margin-bottom:0px }
#sidebarlefteventpost .cmw-level-1 .dropdown li a, #sidebarleftpost .cmw-level-1 .dropdown li a { color:#3e3e3e ;text-transform:uppercase ;font-size:0.8rem !important ; display:block; min-height:42px; line-height:1.5rem; }
#sidebarlefteventpost .cmw-level-2 .dropdown li, #sidebarleftpost .cmw-level-2 .dropdown li {margin-left:1rem; font-size: 0.8rem; border-bottom: none; min-height: 1rem;}
#sidebarlefteventpost .cmw-level-2 .dropdown li a, #sidebarleftpost .cmw-level-2 .dropdown li a { font-size: 0.8rem; border-bottom:none; text-transform:none ;}


#inner-footer .columns {background: #0b7038; color:#ffffff}
.footerspazio ul  {list-style-type:none; margin:0rem ; height:3rem}
.footerspazio ul li {float:left ;  ; font-size:0.85rem ; color:#ffffff; height:3rem; line-height:3rem; white-space:nowrap}
.footerspazio ul li a  {color:#ffffff}
.footerspazio ul li a:hover { color:#4a88d3}
.footerspazio ul #indirizzo {background: url(images/address.png) no-repeat left top; padding-left: 3rem }
.footerspazio ul #tel {background: url(images/phone.png) no-repeat left top; padding-left: 3rem; }
.footerspazio ul #mail {background: url(images/mail.png) no-repeat left top; padding-left: 3rem; }
.footerspazio ul #social  {font-size:1rem ; text-align: right}
.footerspazio ul #social .fa {font-size:2rem; margin-left:1rem}
.footer .copyright {text-align:center; color:#fff}

#menu-menufooterlinks.sub-nav  { padding:2rem; margin:auto; display: list-item ;  }
#menu-menufooterlinks li {min-width:32%; max-width: 32%; height: 100% ;display: inline-block;;display: inline-flex; float: none; color:#ffffff; font-size:0.8rem;min-height:4rem ;padding-left:4%; text-transform: uppercase; margin-left:1% ;padding-top:1rem ; _border-right: 1px solid #ffffff}
#menu-menufooterlinks li a { color:#ffffff; display:block}
#menu-menufooterlinks .icodioc {;background: url(images/diocesi.png) no-repeat 0px center; }
#menu-menufooterlinks .icovescovo {;background: url(images/vescovo.png) no-repeat 0px center; }
#menu-menufooterlinks .icoorari {;background: url(images/orari.png) no-repeat 0px center;}
#menu-menufooterlinks .icoapp {;background: url(images/appuntamenti.png) no-repeat 0px center; }
#menu-menufooterlinks .icodoc {;background: url(images/documenti.png) no-repeat 0px center; }
#menu-menufooterlinks .icofoto {;background: url(images/photo.png) no-repeat 0px center; }
#menu-menufooterlinks .icovideo {;background: url(images/video.png) no-repeat 0px center; }
#menu-menufooterlinks .icomodulistica {;background: url(images/modulistica.png) no-repeat 0px center; }
#menu-menufooterlinks .icopodcast {;background: url(images/podcast.png) no-repeat 0px center;}
#menu-menufooterlinks.sub-nav dt.active a, #menu-menufooterlinks.sub-nav dd.active a, #menu-menufooterlinks.sub-nav li.active a{ background: transparent}


.byline a {color:#4a88d3; }

.categoria .attachment-thumbnail {float: left; margin-right:1rem}
.categoria .fa { color: #d5d5d5 !important; font-size: 1.2rem !important}
.categoria .fa a {  color: #d5d5d5 !important;}


.seed-photogallery-title{font-weight:600 !important ;color:#3b3b3b ; font-size:2rem  !important}
/*
article.type-post {display:table; margin-bottom:2rem; border-bottom:1px solid #9a9a9a ;padding-bottom:1rem }
*/
.archivio .article-header { margin-bottom:1rem}
.archivio .article-header h1 {font-weight:600}
.archivio .article-header h1 a  {color:#3b3b3b ; font-size:2rem}
.archivio .article-header h2   {color:#3b3b3b;font-size:1.5rem ;font-weight:600 }
.archivio .article-header h2 a   {color:#3b3b3b; }
.archivio .article-header h2 a:hover  {color:#4a88d3; }
h1 {font-weight:600}

.ricercalist .archive-title   { /*background:#f1f1f1; color:#3b3b3b;font-size:2rem ; */ }
.ricercalist .search-title {color:#3b3b3b;font-size:1.5rem ; }
.ricercalist .search-title a {color:#3b3b3b; }
.ricercalist article {display:table;width:100%; margin-bottom:2rem; border-bottom:1px solid #9a9a9a ;padding-bottom:1rem}


#sidebarlefteventpost .widget_em_calendar .widgettitle {background: #4a88d3;color: #ffffff;text-transform: uppercase;font-size: 1rem;font-weight: 600;padding: 0.5rem;font-family: 'Open Sans' !important;margin-bottom: 0px;}
#sidebarlefteventpost .widget_em_calendar .em-calendar {width:100%}
#sidebarlefteventpost .widget_em_calendar .em-calendar .em-calnav {color:#4a88d3 !important}
#sidebarlefteventpost .widget_em_calendar .em-calendar .eventful a{color:#4a88d3 !important; font-weight:500}
#sidebarlefteventpost .widget_em_calendar .em-calendar .eventful-today a{color:#4a88d3 !important;font-weight:500}


.entry-content .event-categories a {color:#4a88d3 !important}
.entry-content ul {margin-left: 0px;margin-top:1rem}
.entry-content ul li { list-style-type:none; background:#f1f1f1;  color:#3b3b3b; margin-top:1rem }
.entry-content ul li a { color:#4a88d3;}



#sidebarleftpost .widget_listcategorypostswidget strong a {color: #4a88d3 ;text-transform:uppercase; font-weight:normal ; font-size:1rem}
#sidebarleftpost .widget_listcategorypostswidget strong:after {content:"\f0dd" ; font-family:FontAwesome; font-size:1rem; float:right; color:#4a88d3; margin-top:-0.2rem} 
#sidebarleftpost .widget_listcategorypostswidget ul {margin-top: 0.75em}
#sidebarleftpost .widget_listcategorypostswidget .current a {color: #4a88d3 ;}
#sidebarleftpost .widget_listcategorypostswidget li a {color: #757575;}
#sidebarleftpost .category-link  {color:#757575;font-size:1rem}
#sidebarleftpost .category-link a {color: #4a88d3 }

.socialshare {font-size:1.1em}

.page_item_list { padding: 2rem !important}
.page_item_has_children{ margin-left: 2rem !important}
.entry-content .page_item_list .chidren { margin-left: 2rem !important}

#main {margin-top:1rem; min-height: 20rem}

/*#main article {margin-top:0.5rem} */
#main .article-header h1 {font-weight:600}
#main .entry-content .events-table { width:98%}
#main .entry-content .events-table a  {color:#4a88d3; font-size:1.2rem }
#main .entry-content table.events-table thead {background: #4a88d3 ; color:#ffffff;  }
#main .entry-content table.events-table thead .event-time { color:#ffffff; font-size:1.2rem }
#main .entry-content table.events-table thead .event-description { color:#ffffff; font-size:1.2rem }

#seed-videogallery-single {margin: 1rem auto 1rem auto; }
#seed-videogallery-single h2 {margin-top:2rem;
font-weight:600 !important ; 
color:#3b3b3b  !important; 
font-size:1.8rem !important}
#seed-videogallery-single #seed-videogallery-torna 
{position: relative !important;
margin:0.5rem 1rem; 
background:#0b7038 ; 
color: #ffffff}


.seed_pg_main {margin: 1rem auto 1rem auto; position: relative;}
.seed_pg_main h2 {margin-top:2rem;
font-weight:600 !important ; 
color:#3b3b3b  !important; 
font-size:1.8rem !important}
.seed_pg_main #seed-photogallery-torna 
{padding:0.5rem;position:absolute; left:0px;
margin:0.5rem 1rem; float: left;
background:#0b7038 ; 
color: #ffffff}
.seed_pg_main #seed-photogallery-torna a
{color: #ffffff}

article.type-wd-annuario-enti  {
  /*  min-height:80px; */
}

 article.type-wd-annuario-persone {
    min-height:40px;
    
}
 
ul.pagination li.current a{
    color:#fff!important;
}

li.current a:hover {
    color:#f0f0f0;
}

 
 
 .mini-clndr .clndr .days-container .events .events-list .event:hover {
     background:#97ce7f;
 }