/*
Theme Name: Onoranze Funebri San Bartolomeo - WordPress Theme
Theme URI: https://www.afterspellstudios.it
Author: Riccardo Molti - After Spell Studios
Author URI: https://www.afterspellstudios.it/chi-siamo/
Description: Custom theme for Onoranze Funebri San Bartolomeo
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: black, brown, orange, tan, white, yellow, light, one-column, two-columns, right-sidebar, flexible-width, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain: sb

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

/* ------------------------------------------------------------------------- *
/* 0 Reset */
/* ------------------------------------------------------------------------- */
body, html{ font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; box-sizing: border-box;margin: 0;padding: 0;}
*,*:before,*:after{ box-sizing: border-box; }
h1,h2,h3,h4,h5,h6, p, ol, ul{margin: 0;padding: 0;}
ol,ul{padding-left: 20px;}
img{height: auto;}
a{text-decoration: none;}
hr{border:none; border-bottom: 1px solid #000}

body.admin-bar .header { position: fixed; top: 32px; z-index: 1000;}






/* ------------------------------------------------------------------------- *
/* 1 Base */
/* ------------------------------------------------------------------------- */

:root {
    --site-bg: #8494A6;
    --site-text-color: #010620;
    --link-color: #048ea0;
    --link-color-hover: #105862;
    --accent-color: #cd9921;
    --light-accent-color: #E8C36B;
    --title-color: #353954;
}

/* Typography */
body{font-size: 16px; background: linear-gradient(170deg, rgba(251,251,251,1) 0%, rgba(211,219,231,1) 100%); color: var(--site-text-color); font-family: "Plus Jakarta Sans", sans-serif; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: 100%;}


/* ! Title System */
h1, h2, h3, h4, h5, h6, p, ol, ul{margin-bottom: 20px;line-height: 120%}

.text-0{font-size: 5rem; line-height: 100%;}
h1, .text-1{font-size: 3.4rem; font-weight: 600;}
h2, .text-2{font-size: 2.2rem;}
h3, .text-3{font-size: 1.5rem;}
h4, .text-4{font-size: 1.3rem;}
h5, p, .text-5, ul,li{font-size: 1rem;line-height: 150%}
h6{font-size: 0.8rem;}
.title-small{font-size: 16px; font-weight: 400;}

.evi a{color:#fff!important; background-color: var(--link-color);border-radius: 5px;padding-left: 20px!important; padding-right: 20px!important; text-transform: uppercase; transition: all 0.4s cubic-bezier(.215, .61, .355, 1);}
.evi a:hover{background-color: red;}

@media (max-width: 768px) {
  .text-0{font-size: 4rem}
  h1, .text-1{font-size: 3rem;}
}

/* Link color */
a { color: var(--link-color); }
a:focus, a:hover { color: var(--link-color-hover); text-decoration: none; }

/* Button Link */
.wp-block-button__link{text-decoration: none!important;color:#fff}
.wp-block-button__link:hover{text-decoration: none!important;color:#fff}


/* ! Fonts */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Bold.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Medium.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-SemiBold.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Regular.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-Light.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-ExtraLight.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-ExtraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('fonts/PlusJakartaSans-ExtraBold.woff2') format('woff2'),
      url('fonts/PlusJakartaSans-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}





/* ------------------------------------------------------------------------- *
/* 2 Layout */
/* ------------------------------------------------------------------------- */
.wrapper{overflow:hidden;width: 100%;padding: 0 3%;}
.page-template-home-page main,
.page-template-casi main{padding-top: 0;}
.page-template-archivio-necrologi main{padding-top: 30px;}
.single-necrologi main{padding-top: 50px;}

main{padding: 150px 10px 0 10px;}
.has_thumbnail main, .page-template-page-servizi main{padding: 50px 10px!important;}





.has_thumbnail main,
.page-template-page-servizi main
{padding: 50px 0}

.page-template-archivio-necrologi .arcivio-necrologi ul{list-style-type: disc;}
.page-template-archivio-necrologi .arcivio-necrologi ul li{display: flex; align-items: center; border-bottom: 1px solid #ccc; margin-bottom: 10px; padding-bottom: 10px;}
.page-template-archivio-necrologi .arcivio-necrologi .necrologi{margin: 0; padding: 10px 0;}


.page-template-archivio-necrologi ul{margin-bottom: 50px;}
.page-template-archivio-necrologi .thumb-archivio{height: 100px; width: 70px; object-fit: cover;}
.page-template-archivio-necrologi .archivio-dati{display: flex; flex-direction: column; margin-left: 20px;}


.page-template-archivio-necrologi h2{width: 100%; margin-top: 50px;}



.page-template-blank-template header,
.page-template-blank-template footer{display: none;}
 body.page-template-blank-template{
    background: #fff;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}






/* ------------------------------------------------------------------------- *
/* 2.1 Menu */
/* ------------------------------------------------------------------------- */
.header{ background: transparent; position: fixed; top:0;  left:0; z-index: 9999; width: 100%;padding: 0px 4%; border-bottom: 1px solid #D3DBE7; transition: all 0.5s cubic-bezier(.215, .61, .355, 1);}
.header__content{max-width: 1400px; width: 100%;margin: 0 auto; display: flex;justify-content: space-between; align-items: center; padding:10px 0; position: relative;}

/* .header__logo,
.menu{border: 1px solid red;} */

.header__logo,
.header__quick{display: flex; align-items: center;color:var(--site-text-color);font-weight: bold;}
.header__quick a{color:var(--site-text-color);}

.header__logo{transition: all 0.5s cubic-bezier(.215, .61, .355, 1);}
.header__logo-img{height: 90px; transition: all .5s cubic-bezier(.215, .61, .355, 1);}

/* .header__quick ul{list-style-type: none;margin-bottom: 0;}
.header__quick ul li{display: inline-block;}
.header__quick ul li a{padding: 10px 5px;} */

.menu,
.menu ul{margin: 0; padding: 0; position: relative; width: 70%; display: flex; justify-content: end;}
.menu li{display: inline-block;position: relative}
.menu li a{color:#fff;display: block;padding: 16px 16px 5px 16px;font-size: 18px; font-weight: 400; text-transform: uppercase; transition: all .5s cubic-bezier(.215, .61, .355, 1);}

[aria-current]:not([aria-current="false"]) {border-bottom: 3px solid var(--accent-color); font-weight: 700;}


.icon-hamburger{display: none;}

/* .archive .header{background: #010620;} */
.scroll-down .header,
.error404 .header{background: #010620!important; border-bottom: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .15), 0 8px 40px rgba(0, 0, 0, .25);}
.scroll-down .header__logo-img{height: 70px;}
.scroll-down .menu li a{padding: 5px 16px 2px 16px;}




@media (max-width: 1190px) {

  .header__logo-img{width: 140px;height: auto;}

  .menu{   
    position: absolute; top:60px; left:0; right:0; background-color: var(--site-bg); min-width: 100%; 
     height: 100vh; margin: 0 -20px 0 -20px; 
    overflow: auto;transition: all 1s cubic-bezier(.215, .61, .355, 1);padding-left: 0; transform: translateX(-100%);
  }

  ul.menu{display: block; width: auto;}

  .menu li{width: 90%;margin: 0 5%; padding: 10px 0;}
  .menu-open .menu{transform: translateX(0%);}
  .menu-open .menu > li:last-child{margin-bottom: 150px;position: relative;}

  .icon-hamburger{height: 50px;width: 50px;margin-left: 20px;position:absolute; top: 10px; right:-15px; display: block;border:none; background: transparent;z-index: 9999;}
  .icon-hamburger strong{height: 1px;margin-top:-1px; overflow: hidden;width: 1px;display: block;margin: 0;padding: 0;}
  .icon-hamburger span{height: 2px; width: 30px;background: #fff; position: relative;display: block;margin-bottom: 11px;transition: all 0.2s cubic-bezier(.215, .61, .355, 1);}
  
  .menu-open .icon-hamburger span:nth-child(1){transform: rotate(45deg) translateY(9px);}
  .menu-open .icon-hamburger span:nth-child(2){transform: rotate(-45deg) translateY(-9px);}
  .header__content{padding-right: 50px;height: 60px;}
  .header__quick{display: flex; justify-content: flex-end;}
  .header__quick ul{padding-left: 0;}

}

@media (max-width: 500px) {
  .header__quick .menu-item-type-custom{display: none;}
  .header__quick button{pointer-events: none;}
}



/* Menu Dropdown */
.menu li ul{background: #eee;visibility: hidden; opacity: 0; min-width: 200px; position: absolute; transition: all 0.5s ease; margin-top: 0px;left: 0; display: none;padding: 0;}
.menu li ul > li > a,
.page-template-menu-trasparent .menu li ul > li > a{color:#000}
.menu li ul > li > a:hover {background: #ccc;color:#000}


/* Open Dropdown */
@media (min-width: 1190px) {
  .menu li:hover > ul,
  .menu li ul:hover { visibility: visible; opacity: 1; display: block; }
}
.menu li.open-dropdown ul{visibility: visible; opacity: 1; display: block; }

.menu li ul li { clear: both; width: 100%; }
.menu > li.menu-item-has-children > a{position: relative;padding-right: 30px;}

.menu > li.menu-item-has-children > a::after{
  content:" ";width: 30px;height: 30px; background-size:30px;position: absolute;
  top:50%; right: 0; transform: rotate(90deg);margin-top: -15px;
  background-size:100%;
  background-image: url('data:image/svg+xml;utf8,<svg width="50px" height="50px" viewBox="0 0 50 50" xmlns="http://www.w3.org/2000/svg"><path fill="black" d="M22.7 34.7l-1.4-1.4 8.3-8.3-8.3-8.3 1.4-1.4 9.7 9.7z"/></svg>');
}



@media (max-width: 1190px) {

  .menu li ul{position: relative;background: none;}
  .menu li ul li{border:none}
  .menu li ul li a{padding-left: 30px;}
}



  


/* ------------------------------------------------------------------------- *
/* 2.2 Home */
/* ------------------------------------------------------------------------- */
.home-title { position: absolute; top:-9999px; color: #fff; font-size: 12px;}

.cover{
  width: 100vw;
  height: 100vh;
  margin-left: calc( -100vw / 2 + 100% / 2 );
  margin-right: calc( -100vw / 2 + 100% / 2 );
  display: block;
  position: relative;
  margin-bottom: 80px;
}

.cover__content{
  position: absolute;
  bottom: 150px;
  left: 10%;
  width: 850px;
  color: #fff;
}

.cover__content a.button{
  border: 2px solid var(--accent-color);
  color: #fff;
  text-transform: uppercase;
  font-size: 20px;
  padding: 14px 32px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 10px;
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
}

.cover__content a.button:hover{background: var(--accent-color);}

.cover__content span{
  font-size: 20px;
  font-weight: 600;
  margin-left: 50px;
}
.cover__content span a{color: #fff;}
.cover__content span:hover{text-decoration: underline;}

.cover__content p.caso a{display: block; margin-top: 20px; margin-bottom: 0; color: var(--accent-color);}
.cover__content p.caso a:hover{text-decoration: underline;}



/* ! Cover Page */
.cover__page{
  height: 300px;
  width: 100%;
  position: relative;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .15),
    0 8px 40px rgba(0, 0, 0, .25);
}

.cover__page .cover__text{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%);
  color: #fff;
  /* width: 1400px; */
  width: 1120px;
}



@media (max-width: 768px) {

  .cover{background-position: 75% !important;}

  .cover__content,
  .cover__page .cover__text{width: 300px; bottom: 100px; top: 40%!important;}
  .cover__content h2{font-size: 24px;}
  .cover__content span{display: none;}

  .cover__page{height: 200px;}
  .cover__page .cover__text h1{font-size: 24px!important;}
  .cover__page .cover__text p{display: none;}


  .page-template-page-servizi .cover__page .cover__text{width: 300px; bottom: 100px; top: 50%!important;}

}




/* ! Focus */
.focus{margin-bottom: 80px;}
.focus h3{
  margin-top: 30px;
  font-size: 24px;
  font-weight: 400;
  text-transform: uppercase;
}

.focus img{
  border-radius: 50%;
  box-shadow: 
    0 20px 30px rgba(0, 0, 0, .25),
    0 5px 10px rgba(0, 0, 0, .15);
}



/* ! Contatti */
#map{height: 400px;}

.leaflet-tile {
  filter: grayscale(100%);
}

.ripple-marker {
  position: relative;
  width: 20px;
  height: 20px;
}

.ripple-marker::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 123, 255, 0.4);
  border-radius: 50%;
  animation: ripple 2s infinite ease-out;
}

.ripple-marker::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  background: #007bff;
  border-radius: 50%;
  z-index: 1;
}

@keyframes ripple {
  0% {
    transform: scale(0.5);
    opacity: 0.6;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}



/* ! Chi Siamo */
.chisiamo_media .wp-block-media-text__media{
  box-shadow:
    0 20px 40px rgba(0, 0 ,0, .10),
    0 10px 20px rgba(0, 0 ,0, .10);
}

.chisiamo_media .wp-block-media-text__content h2,
.zone .wp-block-column h2,
.closing .blue{
  color: var(--title-color);
}

.team p,
.team h2{padding: 0 30px;}

.team img{box-shadow: 0 20px 40px rgba(0, 0 ,0, .10),
    0 10px 20px rgba(0, 0 ,0, .10);}


@media (max-width: 768px) {
  .chisiamo_media .wp-block-media-text__content h2{margin-top: 30px;}
}






/* -------------------------------------------------------------------------------- */
/* ! Custom Blocks */
/* -------------------------------------------------------------------------------- */

/* ! Foto Zone */
.foto-zone{
  position: relative;
  height: 750px;
}

.foto{
  position: relative;
  margin-bottom: 50px;
  width: fit-content;
}

.foto img{
  width: 300px;
  height: 300px;
}

.foto_main{
  position: relative;
  z-index: 2;
}

img.foto_main{
  box-shadow: 
    0 10px 20px rgba(0, 0 ,0, .10),
    0 20px 40px rgba(0, 0 ,0, .10);
}

img.foto_bg{
  box-shadow: 
      0 10px 20px rgba(255, 255 ,255, .6),
      0 20px 40px rgba(255, 255 ,255, .6);
}

.foto_bg{
  position: absolute;
  z-index: 1;
  top: -30px;
  left: 30px;
  filter: grayscale(1);
}

.foto1{transform: translate(100%, 0); z-index: 1;}
.foto2{transform: translate(0, -60%); z-index: 1;}
.foto3{transform: translate(70%, -100%); z-index: 1;}



@media (max-width: 768px) {
  .foto-zone{height: 450px;}
  .foto img{width: 150px; height: 150px;}
  .foto_bg{top: -10px; left: 10px;}
  .foto2{transform: translate(50px, -60%);}
}




/* ! Servizi */
.servizi-list .wp-block-column{position: relative;}


.servizi .splide__slide{
  padding: 0 10px;
  text-align: center;
}


.servizi .splide__slide img,
.servizio img{
  position: relative;
  width: 100%;
  height: 250px;
  object-fit: cover;
  /* box-shadow: 
    0 10px 20px rgba(0, 0, 0, .15),
    0 20px 40px rgba(0, 0 ,0, .10); */
}

.servizi .splide__slide .overlay{
  width: 94%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  margin: 0 -10px 0 10px;
  background: linear-gradient(180deg, rgba(53,57,84,0), rgba(53,57,84,0.8));
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
}

.servizi .splide__slide:hover .overlay{
  background: linear-gradient(180deg,rgba(126, 91, 10, 0) 0%, rgba(126, 91, 10, 1) 100%);
}


.servizio a{display: flex;}

.servizio .overlay{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: linear-gradient(180deg, rgba(53,57,84,0), rgba(53,57,84,0.8));
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
}

.servizio:hover .overlay{
  background: linear-gradient(180deg,rgba(126, 91, 10, 0) 0%, rgba(126, 91, 10, 1) 100%);
}






/* ! Servizi Page */



/* .servizi .splide__slide .overlay a{
  opacity: .3;
} */


/* .servizi .splide__slide img::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  /* background: linear-gradient(180deg, rgba(53,57,84,0), rgba(53,57,84,0.8)); 
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
} */

/*
.servizi .splide__slide:hover::before{ 
  background: linear-gradient(180deg,rgba(126, 91, 10, 0) 0%, rgba(126, 91, 10, 1) 100%);
} */


.servizi .splide__slide h3,
.servizio h3{
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.servizio h3{width: 90%; left: 50%; transform: translateX(-50%);}



@media (max-width: 768px) {
  .page-template-page-servizi .wp-block-media-text__content{padding: 40px 30px 0 30px;}
  .page-template-page-servizi .wp-block-spacer{height: 50px!important;}
}





/* ! Necrologi */

.necrologi__container{
  box-shadow:
    0 8px 20px rgba(0, 0, 0, .10),
    0 20px 50px rgba(0, 0, 0, .10);
  padding: 50px;
}

.necrologi__container h2{margin-bottom: 50px; color: var(--title-color);}

.necrologi{
  display: flex;
  justify-content: start;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.page-template-home-page .necrologi{max-width: 1400px; margin: 0 auto;}

.wp-block-button__link,
input[type=submit]{
  background: #353954;
  border-radius: 4px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  box-shadow:
    0 8px 15px rgba(0, 0, 0, .25),
    0 20px 30px rgba(0, 0 ,0, .10);
  transition: all .4s cubic-bezier(.215, .61, .355, 1);
  margin: 0 auto;
}

.wp-block-button__link:hover,
input[type=submit]:hover{
  background: var(--accent-color);
}




.necrologio{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  border: 1px solid #8494A6;
  border-radius: 4px;
  padding: 20px;
  box-shadow: 
    0 8px 15px rgba(0, 0 ,0, .10),
    0 15px 30px rgba(0, 0 ,0, .10);
  flex-basis: 32%;
  transition: all 0.4s cubic-bezier(.215, .61, .355, 1);
}

.necrologio:hover{
  background: #FAF7EF;
  border: 1px solid var(--accent-color);
}

.necrologio__img{
  flex-basis: 20%;
  border-radius: 4px;
  border: 4px solid #8494A6;
  padding: 10px;
  margin-right: 30px;
  width: 160px;
  height: 214px;
  transition: all 0.4s cubic-bezier(.215, .61, .355, 1);
}

.necrologio:hover .necrologio__img{border: 4px solid var(--accent-color);}

.necrologio__img img{width: -webkit-fill-available!important; width: -moz-available; height: 100%; filter: grayscale(1); transition: all .6s cubic-bezier(.215, .61, .355, 1);}
.necrologio__img img:hover,
.necrologio:hover .necrologio__img img{filter: none;}


.necrologio__data{flex-basis: 80%; display: flex; flex-direction: column; justify-content: center;}
.necrologio__data a{color: var(--site-text-color);}
.necrologio__data p{font-size: 14px; margin: 10px 0;}
.necrologio__data h4{font-weight: 400; font-size: 20px; margin: 10px 0;}
.necrologio__data a.button,
.messaggio_anchor{
  display: inline-block;
  border: 1px solid #8494A6;
  border-radius: 4px;
  background: transparent;
  color: #353954;
  padding: 10px;
  text-align: center;
  transition: all 0.4s cubic-bezier(.215, .61, .355, 1);
  width: 100%;
}

.necrologio__data a.button.small{
  width: 30%;
}

.necrologio__data a.button:hover{
  background: var(--accent-color);
  color: #fff;
  border: 1px solid var(--accent-color);
}

.single .necrologio__data p{font-size: 16px;}
.single .necrologio__data .smalltitle{font-size: 20px; font-weight: 600; margin-bottom: 10px; display: inline-block;}
.single .necrologio__data p:nth-child(4),
.single .necrologio__data p:nth-child(5),
.single .necrologio__data p:nth-child(6){margin-bottom: 30px;}
.single-necrologi .cover__page{height: 250px;}
.single-necrologi main img{height: 500px!important; /*object-fit: cover;*/ width: auto; padding: 20px;}
.single-necrologi .single-img{border: 4px solid #8494A6; height: 500px; width: fit-content; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 4px;}

.fiori_mobile{display: none;}


.page-template-necrologi-template form{margin-bottom: 30px;}
.page-template-necrologi-template .wp-block-search__inside-wrapper{margin-top: 10px;}
.page-template-necrologi-template button[type=submit]{margin-top: 0;}
.page-template-necrologi-template a.wp-block-button__link.small {width: 30%;}




.single .commenti-container{width: 100%; padding: 30px 0; /*background: #FBFBFB; margin: 30px 0; border-radius: 4px; border: 1px solid #D3DBE7;*/}
.single .commenti-display{display: flex; flex-direction: column-reverse;}
.single h3#comments{display: none;}
.single .comment-respond h3{text-align: center;}
/*.single .comment-respond .comment-form-cookies-consent,*/
 .single .comment-respond .comment-notes,
 .single .comment-respond .required,
 .single .comment-respond .required-field-message{display: none;}

 .single .comment-respond{
  width: 80%;
  margin: 30px auto;
  padding: 20px 50px;
  background: #FBFBFB;
  border-radius: 4px;
  border: 1px solid #D3DBE7;
}

 /*
.single .comment-respond .comment-form-email,
.single .comment-respond .comment-form-url,
.single .comment-respond .required-field-message,
.single .comment-respond .required,
.single .comment-meta .comment-metadata{display: none;} */

.single .comment-respond .comment-form-author{float: inherit; margin: 0 auto 30px auto; text-align: center;}

/* input[type=submit]{margin: 0 auto; width: 50%; box-shadow: 0 8px 15px rgba(0, 0, 0, .25), 0 20px 30px rgba(0, 0 ,0, .10); background: red!important;} */

.single .commentlist{
  width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  background: url('https://www.onoranzesanbartolomeo.it/wp-content/uploads/2025/05/Dark_BG-scaled.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  z-index: 3;
  padding: 50px 0;
  box-shadow: 
    0 8px 20px rgba(0, 0 ,0, .10),
    0 20px 50px rgba(0, 0, 0, .50);
}

.single .commentlist::after{
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #0F1532;
  z-index: 1;
  opacity: .5;
}

.comment-author.vcard,
.comment-author.vcard a{font-weight: 700; margin-bottom: 20px; color: var(--site-text-color);}
.comment-author.vcard .says{font-weight: 400;}
.comment-text{line-height: 27px;}



/* ! Archive Necrologi */
.page-template-archivio-necrologi article{margin-bottom: 10px;}



@media (max-width: 768px) {
  .necrologio{flex-basis: 100%;}

  .necrologi__container{padding: 10px;}

  .necrologio__img img{min-width: 120px;}

  .necrologio__data{text-align: center;}
  .necrologio__data a.button.small{width: 100%;}

  .single .comment-respond{padding: 20px; scroll-margin-top: 100px;}

  p.comment-form-author{width: 100%;}

  .wp-block-button,
  .wp-block-button__link,
  .page-template-necrologi-template a.wp-block-button__link.small{width: 100%;}

  .fiori_mobile{display: block;}

}


/* ! Accordion in caso di decesso */

.accordion-container {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  margin: 2rem auto;
}
.accordion-left {
  flex: 1;
}
.accordion-left button {
  display: block;
  width: 100%;
  padding: 1rem;
  border: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background: none;
  cursor: pointer;
  text-align: left;
  font-size: 1rem;
  margin: 10px 0;
  border-radius: 4px;
}
.accordion-left button.active {
  background-color: #8494A6;
  font-weight: 700;
  color: #fff;
}
.accordion-right {
  flex: 2;
  padding-top: 10px;
}
.accordion-content {
  display: none;
}
.accordion-content.active {
  display: block;
}
@media (max-width: 768px) {
  .accordion-container {
    flex-direction: column;
  }
  .accordion-left {
    border-right: none;
    border-bottom: 1px solid #ccc;
  }
}




/* ------------------------------------------------------------------------- *
/* 2.3 Index */
/* ------------------------------------------------------------------------- */

	/* Single, Post & Page */
  .page header{
    background: #010620;
  }

  .page.has_thumbnail header,
  .page-template-home-page header,
  .page-template-casi header{background: transparent;}

  .page.page-child header{background: rgba(1, 6, 32, 0.5);}
  .page.page-child .cover__page .cover__text{
    color: #333;
  }

  .page.page-child.scroll-down header{background: rgba(1, 6, 32, 1);}


  

@media (max-width: 768px) {
  h1 span{display: block;}
}


/* ! Servizi Template */
.page-template-page-templates .cover__text h1{font-size: 40px;}
.page-template-page-servizi .cover__page{box-shadow: 0 8px 20px rgba(0, 0, 0, .25)}
.page-template-page-servizi .cover__page .cover__text{top: 60%;}

/* ------------------------------------------------------------------------- *
/* 2.4 Sections */
/* ------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------- *
/* 2.6 Footer */
/* ------------------------------------------------------------------------- */
footer{
  background: #010620;
  padding: 50px;
  color: #fff;
  text-align: center;
}

footer .col-33{display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 10px 30px;}
footer p{margin: 0;}
footer hr{border-bottom: 1px solid!important; margin: 20px 0!important;}

footer #nav_menu-2 ul{
  flex-wrap: wrap;
  flex-direction: column;
  width: 100%;
  text-align: left;
}

footer #nav_menu-2 ul li{padding: 10px 0;}
footer #nav_menu-2 ul li a{padding: 5px 0;}

.footer_links{width: 100%; display: flex; justify-content: space-between; padding: 10px 10px 20px 10px; text-transform: uppercase; font-size: 18px; font-weight: 500;}
.footer_links a{color: #fff; text-decoration: none;}
.footer_links a:hover{text-decoration: underline;}

.footer-logo{height: 170px; width: 170px;}

.footer_info figure{margin-bottom: 50px;}
.footer_info a{color: #FBFBFB; text-decoration: none;}
.footer_info a:hover{text-decoration: underline;}



.social-icons{
  display: flex;
  flex-direction: column;
}

.social-icons img{padding: 20px 0; transform: scale(1); transition: all 0.4s cubic-bezier(.215, .61, .355, 1);}
.social-icons img:hover{transform: scale(1.3);}


footer hr{margin: 10px 0;}




.footer__copy{text-align: center; font-size: 15px;}
.footer__copy p{margin-bottom: 10px;}
.footer__copy a{color: #fff;}
.footer__copy a:hover{text-decoration: underline;}


@media (max-width: 768px) {
  #nav_menu-2{display: none;}
  .social-icons{flex-direction: row;}
  .social-icons img{padding: 20px;}
}


/* ------------------------------------------------------------------------- *
/* 3 Modules */
/* ------------------------------------------------------------------------- */


/* ------------------------------------------------------------------------- *
/* 4 WordPress Default Element */
/* ------------------------------------------------------------------------- */

/* Pagination */
.pagination { float: left; margin: 40px 0 40px 0; padding: 0; width: 100%; }
.pagination span,
.pagination a { float: left; margin: 0 10px 10px 0; padding: 14px 19px; border: 1px solid #222; }


/* Image */
.alignleft { float: left; margin-right: 20px; margin-bottom: 10px; max-width: 97%; height: auto; }
.alignright { float: right; margin-bottom: 10px; margin-left: 20px; max-width: 97%; height: auto; }
.aligncenter { display: block; margin: 0 auto; max-width: 97%; height: auto; }
.alignnone { max-width: 97%; height: auto; }

.text-center{text-align: center;}
@media (max-width: 768px) {
  .sma-text-center{float:none; text-align: center;}
}



body .alignfull {
  margin-left: -20px;
  margin-right: -20px;
}

@media only screen and (min-width: 960px) {
  body .alignfull {
    width: auto;
    max-width: 1000%;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
  }
  body .alignwide {
    width: auto;
    max-width: 1000%;
    margin-right: calc(25% - 25vw);
    margin-left: calc(25% - 25vw);
  }
  .alignwide img,
  .alignfull img {
    display: block;
    margin: 0 auto;
  }
}

/* Image Caption */
.wp-caption { margin-bottom: 20px; padding: 10px; max-width: 97%; border: 1px solid #eee; text-align: center; }
.wp-caption img { margin: 0; padding: 0; width: 100%!important; height: auto; border: 0 none; }
.wp-caption p.wp-caption-text { margin: 0; padding: 8px; font-size: 1em; line-height: 17px; }

.gallery-caption{font-size: 20px;}

/* Stiky */
.sticky { border-right: 3px solid #eee; border-bottom: 3px solid #eee; }

/* Blockquote */
blockquote {font-weight: 200;  font-style: italic; margin: 0.25em 0; padding: 0px 30px; line-height: 1.45; position: relative;  border-left: 5px solid #222; }

/* Search */
.form-search{width: 100%;border-radius: 100px; border: 1px solid #e4e4e4; padding-left: 15px;position: relative;background:#fff;margin-bottom: 30px;padding: 5px;}
.form-search input[type=text]{width: 100%; border:none;background: transparent!important;font-size: 18px;}
.form-search button[type=submit]{padding: 0; border: none;background: transparent;color:#000;padding: 0px;border-radius:20px; position:absolute; top: 8px; right:20px;}
.form-search button[type=submit] svg{width: 30px; height:30px}

.search-results main{padding: 50px 10px 0 10px;}
.search-results .necrologio{flex-basis: 31%;}

/* Comments */
.comment-form-author,
.comment-form-email,
.comment-form-url { float: left; margin-top: 20px; margin-right: 3%; width: 30.3333333%; }
.comment-form-author input,
.comment-form-email input,
.comment-form-url input { width: 100%; }

ol.commentlist { margin: 0 0 1em; padding: 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment { padding: 1em; width: 70%; margin: 10px auto; border: 1px solid #010620; position: relative; z-index: 9; color: var(--site-text-color); background: #FBFBFB; border-radius: 4px;}
ol.commentlist li.comment div.vcard cite.fn { text-transform: uppercase; font-size: 14px; }
ol.commentlist li.comment div.vcard img.avatar { float: left; margin: 6px 1em 1em 0; border-radius: 50px; }
ol.commentlist li.comment div.comment-meta { font-size: 14px; color: #8494A6;}
ol.commentlist li.comment ul { margin: 0 0 1em 2em; }
ol.commentlist li.comment div.reply { margin-left: 80px; font-size: 11px; }
ol.commentlist li.comment div.reply a { font-weight: bold; }
ol.commentlist li.comment ul.children { margin: 1em 0 0; list-style: none; text-indent: 0; }
ol.commentlist li.comment ul.children li.depth-2 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-3 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.comment ul.children li.depth-4 { margin: 0 0 .25em .25em; border-left: 1px solid #eee; }
ol.commentlist li.bypostauthor .fn { font-weight: bold; }
ol.commentlist li img{max-width: 97%;}

input[type=text],
input[type=number],
input[type=tel],
input[type=password],
input[type=email],
input[type=url]{ width: 100%; padding: 10px; border: 1px solid #949494; background: #fff; -webkit-appearance: none; appearance: none; border-radius: 0;margin-top:5px}
textarea { padding: 10px; width: 100%; border: 1px solid #949494; background: #fff; -webkit-appearance: none; appearance: none; border-radius: 0;margin-top:5px}
input[type=submit],
button[type=submit] { margin-top: 10px; padding: 15px 20px; color: #fff; text-transform: uppercase; background: #222; border:none;margin-top:5px;display: block;font-weight: bold;width: auto;}
#comments { width: 100%; }


@media (max-width: 768px) {
  input[type=submit], button[type=submit]{font-size: 18px;}
}


/* ------------------------------------------------------------------------- *
/* 5 Helpers  */
/* ------------------------------------------------------------------------- */
.mt-0{margin-top: 0 }
.mt-1{margin-top: 10px}
.mt-2{margin-top: 20px!important}
.mt-3{margin-top: 40px}
.mt-4{margin-top: 100px }

.mb-0{margin-bottom: 0}
.mb-1{margin-bottom: 10px}
.mb-2{margin-bottom: 20px}
.mb-3{margin-bottom: 40px}
.mb-4{margin-bottom: 100px}

.p-0{padding: 0}
.p-1{padding: 10px}
.p-2{padding: 20px}
.p-3{padding: 40px}
.p-4{padding: 100px}

.pt-1{padding-top: 10px;}
.pt-2{padding-top: 20px;}
.pt-3{padding-top: 40px;}
.pt-4{padding-top: 15vh;}

.pb-1{padding-bottom: 10px;}
.pb-2{padding-bottom: 20px;}
.pb-3{padding-bottom: 40px;}
.pb-4{padding-bottom: 15vh;}

.img-res{width: 100%;}

@media (max-width: 768px) {
  .dnone-sma{display: none;}
}


/* ! Grid System */
.grid { margin: 0 auto;display: flex; flex-flow: row; flex-wrap: wrap;width: 100%;max-width: 1400px;}
.grid--center{justify-content: center;}
.col{ flex: 1;}

[class*='col-'] { position: relative;padding: 0 1%;}
.grid .grid [class*='col-'] {padding: 0px;}

.col-10{ width: 10%;}
.col-20{ width: 20%; }
.col-25{ width: 25%; }
.col-30{ width: 30%; }
.col-33{ width: 33.33%; }
.col-40{ width: 40%; }
.col-50{ width: 50%; }
.col-60{ width: 60%; }
.col-70{ width: 70%; }
.col-80{ width: 80%; }
.col-90{ width: 90%; }
.col-100{ width: 100%; }

@media (max-width: 991px) {
  .tab-20 { width: 20%; }
  .tab-25 { width: 25%; }
  .tab-33 { width: 33.33%; }
  .tab-50 { width: 50%; }
  .tab-100 { width: 100%; }
}

@media (max-width: 768px) {
  [class*='col-'] { width: 100%;}
  .sma-20 { width: 20%; }
  .sma-25 { width: 25%; }
  .sma-33 { width: 33.33%; }
  .sma-50 { width: 50%; }
  .sma-100 { width: 100%; }
}


/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
  /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-size: 0.875rem;
  font-weight: bold;
  height: auto;
  right: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
  /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/* underline for accesibility */
.text-content a,
.comment-content a{text-decoration: underline;}
