@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,400;0,700;1,400;1,700&display=swap');
@import url('https://cdn.jsdelivr.net/jquery.slick/1.5.8/slick.css');
@import url('https://cdn.jsdelivr.net/jquery.slick/1.5.8/slick-theme.css');
body { font-family: "Lato", sans-serif; font-size: 18px; font-weight: 400; font-style: normal; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale ; background: #ffffff}

#primary > .row {padding-left:0px; padding-right:0px; margin: 0px !important;}

/*header*/
#masthead {background:#fff;}
.site-header > .row > .col:nth-of-type(1) {padding-left:0px; padding-right:0px}
.cell_menu {background:#fff; min-height: 125px; padding-top: 3rem;  padding-left: 2rem;}

#mega-menu-wrap-max_mega_menu_1 #mega-menu-max_mega_menu_1 > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link { padding: 10px 10px;  line-height: 15px;}
#mega-menu-item-7741 {border:1px solid #8b1d04 !important; border-radius:0.5rem !important;}

/***** HOMEPAGE *****/
.home #primary.container-fluid {   max-width:100%;    padding: 0px;    overflow: hidden; }
.home .page-content, .home .entry-content, .home .entry-summary {    margin: 0rem 0 0;}
.single-item {	}
.single-item .item {background-repeat: no-repeat; background-size:cover; background-position: center center; height: 700px}
.evidecontainer .contenuto {background-color:rgba(0, 8, 119, 0.53);   overflow: hidden; color: #ffffff; border-top-right-radius: 0.8rem;  border-bottom-right-radius: 0.8rem;}
.evidecontainer .contenuto a { color: #ffffff; text-decoration:none;}
.evidecontainer .contenuto .entry-title a {font-size:40px; font-weight:700; color: #ffffff; text-decoration:none;}
.slick-next { right: 25px; top: 70%;}
.slick-prev { left: 25px; top: 70%;}
.slick-prev, .slick-next {z-index:9999;}
.home .addtoany_share_save_container {display:none;}

.gobutton {margin-top:2rem; -webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px; background:#8b1d04; padding:0.5rem 1rem; display:inline-block; 
		-webkit-transition: width 300ms ease-out; -moz-transition: width 300ms ease-out; -o-transition: width 300ms ease-out; transition: width 300ms ease-out; width: 204px; color:#ffffff; text-transform: uppercase;overflow: hidden}
.gobutton:hover {background: #8b1d04; width: 234px}
.gobutton a { white-space:nowrap }
.gobutton:hover:after {content: "\f061" ; font-family: "Fontawesome"; margin-left:1rem}

.partecipadona {background:  url("https://caritas.diocesimessina.it/wp-content/uploads/sites/8/2025/09/partecipa.png") no-repeat 80% 0px, linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 60%,rgba(139, 29, 4, 1) 60%,rgba(139, 29, 4, 1) 100%);}
.partecipa {}
.partecipa h2 a {color: #000877; font-size:5rem; font-weight:700; text-decoration:none;}
a.buttonsimple { -webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;background:#8b1d04; padding:0.5rem 1.5rem; display:inline-block; color:#ffffff; }
a:hover.buttonsimple {background: #F9060A;}

.donaora h2 a {color:#fff; font-weight:bolder; text-decoration:none;}

.sow-image-grid-image img {min-height:220px;}

/* *CATEGORIE IN SLIDER** */
.catslider {}   
.catslider .item {margin:1rem;}
.catslider .item .data {color:#808080; font-size:14px ; font-weight:400; font-style:italic}
.catslider .item .miniatura {}
.catslider .item .miniatura img {  object-fit: cover; width: 100%;}
.catslider .item h2.entry-title { color: #003049; font-size:20px; font-weight: 700;}
.catslider .item h2.entry-title a { color: #003049; text-decoration:none;}
.catslider .item .summary {color: #4D4D4D; font-size:16px; }  

.catslider .slick-prev, .catslider .slick-next {   font-family: "FontAwesome"; top:168px;   z-index: +1;  background: transparent;}
.catslider .slick-prev:before { content: "\f053";  font-size: 24px; line-height: 40px; color: #b60c38; font-family: "FontAwesome"; }
.catslider .slick-next:before { content: "\f054" ;font-size: 24px;  line-height: 40px; color: #b60c38; font-family: "FontAwesome"; }
.catslider ul.slick-dots {margin:auto}

.catslider .slick-initialized .slick-track {width: 9999999999px !important;;}
.catslider .slick-initialized .slick-slide {min-width:300px !important; margin: 1rem auto}
.catslider .slick-initialized .slick-slide .item {min-width:288px }

.linkpagine {background: #000877; /*margin-top: -4rem;position:relative; z-index:+1*/}
.linkpagine .panel-grid-cell {margin-bottom:0px !important}
.linkpagine .item {text-align: center}
.linkpagine .item h2 a {color:#ffffff; font-size:1.5rem ; font-weight:700; text-transform:uppercase; text-decoration:none;}
.linkpagine .item p {color:#ffffff;}
.linkpagine div .item:nth-child(2)  {border-left: 1px solid #8CB3D9 ;border-right: 1px solid #8CB3D9; }
.linkpagine .panel-grid-cell:nth-of-type(2) .item {border-left: 1px solid #8CB3D9 ;border-right: 1px solid #8CB3D9; }

.buttongo {text-align: left; margin-top:2rem; -webkit-border-radius: 6px;-moz-border-radius: 6px;border-radius: 6px;background:#8b1d04; padding:0.5rem 1rem; display:inline-block; 		-webkit-transition: width 300ms ease-out; -moz-transition: width 300ms ease-out; -o-transition: width 300ms ease-out; transition: width 300ms ease-out;  color:#ffffff; text-transform: uppercase;overflow: hidden; }
.buttongo a {color:#ffffff; white-space:nowrap; text-decoration:none;}
.buttongo:hover {background: #8b1d04;}
.buttongo:hover:after {content: "\f061" ; font-family: "Fontawesome"; margin-left:1rem}

/*footer*/
.site-footer > .row > .col:nth-of-type(1) {padding-left:0px; padding-right:0px}
#pg-12779-0 {margin-bottom:0px;}
#pgc-12779-1-0 {background:#8b1d04;}
#pgc-12779-1-0 .textwidget {color:#fff;}
.so-widget-sow-social-media-buttons .widget-title {text-align:right; font-size:1rem;}

.site-footer .social-media-button-container p { display: inline-block;}

.iandu-edit-preferences {font-size: 0.7rem;  padding: 0.25rem;  border-top-left-radius: 0.5rem;  border-top-right-radius: 0.5rem;}

.addtoany_content {text-align: right;}
.addtoany_header {margin: 0px; font-size: 0.8rem; padding-right: 0.5rem;}

/*interna*/
.single #primary {margin-top:1rem;}
.page #primary {margin-top:1rem;}
.home #primary {margin-top:0rem;}
#primary article .entry-header .entry-title {font-family: "Lato", sans-serif; font-size: 2.2rem; font-weight: bolder; color:#8b1d04; text-transform:uppercase;}
.wp-post-image {float:right; max-width:350px; margin-left:1rem;}

.posted-on a {font-family: "Lato", sans-serif; font-size: 0.8rem; text-decoration:none; color:#000;}
.entry-surtitle {font-family: "Lato", sans-serif; font-size: 0.9rem; color:#000; font-style:italic;}
.entry-subtitle {font-family: "Lato", sans-serif; font-size: 1.2rem; color:#000; font-style:italic;}

.page .posted-on {display:none;}

/** ARCHIVI ***/
.archive .page-header {margin-top:3rem; margin-left: auto; margin-right: auto}
.archive .page-header h1.page-title {    font-size: 0px;}
.archive .page-header h1.page-title span, .search.search-results #primary .page-header h1.page-title span {;font-size: 48px;font-style: normal; font-weight: 700;}

.archive article  { margin-left: auto; margin-right: auto; padding-bottom: 1.5rem;    margin-top: 1.5rem;  border-bottom: 1px solid #125090;    display: flow-root;}
.archive article .entry-header .entry-title br {height:0px; line-height:0px; display: none}
.archive article .entry-header .posted-on {display: none}
.archive article .entry-header .entry-title  { font-size: 30px;    font-weight: 700;    line-height: 1.5;    text-align: left;}
.archive article .entry-header .entry-title a {color:#062443;}
.archive article img {    float: left;    margin-right: 1rem;}

.archive article ul.tax-category { display: none}


		/* MEDIAQUERIES */
/* // X-Small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */
/* Small devices (landscape phones, 576px and up)*/
@media (min-width: 200px) and (max-width: 767.98px) {
		
		.site-header .panel-layout .panel-row-style  { display: flex; flex-flow: row !important}
		.site-header .panel-grid-cell {margin-bottom:10px !important}
		.site-header #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {height:70px}
		#pgc-12778-0-0 {margin:0px !important;}
		.cell_menu { background: #8b1d04;  min-height: auto;  padding-top: 0rem;   padding-left: 0rem;}
		.linkpagine.container {max-width:300px; padding-top:1rem}
		.linkpagine .panel-grid-cell:nth-of-type(2) .item {border:none ;}
		.linkpagine .panel-grid-cell:nth-of-type(2)  { position:relative}
		.linkpagine .panel-grid-cell:nth-of-type(2)::after { content: '';  height: 1px; position: absolute;  left: 0;  right:0;  bottom: 0;  background: linear-gradient(to right, transparent 0%, transparent 33%, #8CB3D9 33%, #8CB3D9 66%,transparent 66%, transparent 100%);}
		.linkpagine .panel-grid-cell:nth-of-type(2)::before  { content: '';  height: 1px; position: absolute;  left: 0;  right:0;  top: 0;  background: linear-gradient(to right, transparent 0%, transparent 33%, #8CB3D9 33%, #8CB3D9 66%,transparent 66%, transparent 100%);}
		
		.operewidget .row {    display: list-item;    column-count: 2;    column-gap: 0px;}
		.operebox .evidecontent { opacity: 1;  text-align: center; padding:0.5rem; position:relative; visibility: visible}
		.operebox .evidecontent h2 {font-weight:700; font-size:18px; color:#ffffff}
		
		.serviziterritorio {background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 20%,rgba(140,179,217,1) 20%,rgba(140,179,217,1) 100%);}
		
		.partecipadona {   background: url(https://caritas.diocesimessina.it/wp-content/uploads/sites/8/2025/09/partecipa.png) no-repeat right 60%,  linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 47%, rgba(139, 29, 4, 1) 47%, rgba(139, 29, 4, 1) 100%); background-size: 70%;  background-position: right 40%;}
		.partecipa h2 a {    color: #003049;    font-size: 2rem;    font-weight: 700;}
		
	  .archive article img {float:none}
		
		.sow-tabs .sow-tabs-panel-container .sow-tabs-panel { padding: 0px;}
}


/* Medium devices (tablets, 768px and up)*/
@media (min-width: 768px) and (max-width: 991.98px) {
		.site-header .panel-layout .panel-row-style  { display: flex; flex-flow: row !important}
		.site-header .panel-grid-cell {margin-bottom:10px !important}
		.site-header #mega-menu-wrap-max_mega_menu_1 .mega-menu-toggle {height:70px}
		
		.site-header {}
		.linkpagine.container {max-width:500px; padding-top:1rem}
		.linkpagine .panel-grid-cell:nth-of-type(2) .item {border:none ;}
		.linkpagine .panel-grid-cell:nth-of-type(2)  { position:relative}
		.linkpagine .panel-grid-cell:nth-of-type(2)::after { content: '';  height: 1px; position: absolute;  left: 0;  right:0;  bottom: 0;  background: linear-gradient(to right, transparent 0%, transparent 33%, #8CB3D9 33%, #8CB3D9 66%,transparent 66%, transparent 100%);}
		.linkpagine .panel-grid-cell:nth-of-type(2)::before  { content: '';  height: 1px; position: absolute;  left: 0;  right:0;  top: 0;  background: linear-gradient(to right, transparent 0%, transparent 33%, #8CB3D9 33%, #8CB3D9 66%,transparent 66%, transparent 100%);}
   
		.operewidget .row {    display: list-item;    column-count: 2;    column-gap: 0px;}
		.serviziterritorio {background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 30%,rgba(140,179,217,1) 30%,rgba(140,179,217,1) 100%);}		
		.partecipadona {   background: url(https://caritas.diocesimessina.it/wp-content/uploads/sites/8/2025/09/partecipa.png) no-repeat right 60%,  linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 47%, rgba(139, 29, 4, 1) 47%, rgba(139, 29, 49, 1) 100%); background-size: 40%;  background-position: right 40%;}
		.partecipa h2 a {    color: #003049;    font-size: 2rem;    font-weight: 700;}
}
		


/*/* Large devices (desktops, 992px and up)*/
@media (min-width: 992px) and (max-width: 1199.98px) {
		
			.serviziterritorio {background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(255,255,255,1) 30%,rgba(140,179,217,1) 30%,rgba(140,179,217,1) 100%);}
			.partecipadona {   background: url(https://caritas.diocesimessina.it/wp-content/uploads/sites/8/2025/09/partecipa.png) no-repeat right 60%,  linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 1) 47%, rgba(139, 29, 4, 1) 47%, rgba(139, 29, 4, 1) 100%); background-size: 30%;  background-position: right 30%;}
		.partecipa h2 a {    color: #003049;    font-size: 2rem;    font-weight: 700;}
		

}

/* X-Large devices (large desktops, 1200px and up)*/
@media (min-width: 1200px) {
   
}

/* XX-Large devices (larger desktops, 1400px and up)*/
@media (min-width: 1400px) {
}