/* -------------------------------------------------------------------------------- */
/* ! General */
/* -------------------------------------------------------------------------------- */
body,
html {
  font-family: 'Open Sans', sans-serif;
  background-color: rgba(253, 253, 253, 0.212);
}

hr {
  max-width: 1300px;
}

.spacer {
  padding: 25px;
}

i .fa {
  text-align: center;
  font-size: 3rem;
  color: #897777;
}

h3 {
  font-size: 25px;
}

.listaDistanziata li {
  margin: 10px 0;
}

.festaMadonnaC {
  color: rgb(10, 97, 174)
}

.fb-share-button {
  margin: auto;
}

.quotation {
  border-left: 3px dotted #666400;
  padding: 0 25px 0 25px;
}

.cta {
  font-size: 2rem;
  font-weight: 800;
  text-align: center;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #666400;
  font-family: 'Open Sans', sans-serif;
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

a {
  text-decoration: none;
  color: #423400;
}

a:hover {
  color: #fff;
  background-color: #3d3000;
}

p {
  line-height: 1.2rem;
}

/*popup*/
.bg-popup {
  width: 100%;
  height: 100vh;
  background: rgba(252, 136, 3, .7);
  position: absolute;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.popup {
  width: 800px;
  height: 600px;
  padding: 50px 20px;
  background: #fff;
  border-radius: 5px;
  position: relative;
}

a .popup-cta {
  text-align: center;
  border: 1px solid rgba(252, 136, 3);
  width: 80%;
  padding: 10px 0;
  margin: auto;
  color: #333;
}

a .popup-cta:hover {
  background: rgba(252, 136, 3);
  color: #fff;
  border: 0;
}

.popup-close {
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 40px;
  transform: rotate(45deg);
  cursor: pointer;
}

.popup-img {
  display: flex;
}

.popup-img img {
  margin: 0 auto;
}

h3.popup-title {
  text-align: center;
}

/* Popup mobile */
@media (max-width: 768px) {
  .popup {
    width: 300px;
    height: 400px;
    margin: 0 auto;
  }

  .popup-img img {
    height: 150px;
    width: auto;
  }
}

/* Accordion */
ul {
  padding: 0;
}

.accordion__text {
  width: 100%;
  height: 50px;
  margin: auto;
  border: none;
  background-color: #666400;
}

.accordion__content img {
  width: 100%;
  height: auto;
  margin-top: 4px;
}

.accordion__content li {
  list-style-type: none;
}

.numero {
  text-align: right;
  border-bottom: 0.25px dotted #000;
  margin-block-start: auto;
  font-weight: 600;
}

button.active {
  background: #EEE;
}

button.active::after {
  content: '\25b4';
  float: center;
  margin-left: 10px;
  transform: scale(1.0);
}

button.accordion__text::after {
  content: '\25be';
  float: center;
  margin-left: 10px;
  transform: scale(1);
}

button.accordion__text:focus {
  outline-width: 0px;
}

/* !a Tag */
/*! Slider */
.slidershow {
  width: 1300px;
  height: 800px;
  overflow: hidden;
  padding: 15px 0;
}

.middle {
  position: relative;
  margin: auto;
}

.navigation {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.bar {
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  margin: 6px;
  cursor: pointer;
  transition: 0.4s infinite;
}

.bar:hover {
  background: #fff;
}

input[name="r"] {
  position: absolute;
  visibility: hidden;
}

.slides {
  width: 500%;
  height: 100%;
  display: flex;
}

.slide {
  width: 100%;
  transition: 0.6s;
  margin-bottom: 50px;
}

.slide img {
  width: 100%;
  height: auto;
}

.carousel-control-next,
.carousel-control-prev {
  top: 50%;
}

#r1:checked~.s1 {
  margin-left: 0%
}

#r2:checked~.s2 {
  margin-left: -20%
}

#r7:checked~.s7 {
  margin-left: 0%
}

#r8:checked~.s8 {
  margin-left: -20%
}

/* ! Header*/
.header {
  background-color: #EAE9EA;
  display: flex;
  justify-content: space-between;
  padding: 20px;
  height: 100px;
  z-index: 3;
  position: fixed;
  top: 0;
  width: 100%;
}
}

.header__menu ul {
  list-style-type: none;
  padding: 0;
}

.header__menu ul li {
  display: inline-block;
}

.header__menu ul li a {
  padding: 10px;
  display: inline-block;
}

.header_logo img {
  height: 100px;
  margin-top: -25px;
}

.header_cta {
  border: 3px solid #000;
  width: 100px;
  padding: 18px;
  text-align: center;
}

.header__hamburger {
  display: none;
}

/* ! Hero*/
.hero {
  padding: 100px;
  background: url('asset/img/altare.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  height: 50vh;
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .hero.hero-ville {
    height: 400px;
  }
}

.hero h1 {
  font-size: 3rem;
  max-width: 1200px;
  margin-top: 30vh;
  margin-bottom: 5vh;
  color: #fff;
}

.hero-santuario {
  padding: 100px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(204, 204, 204, 0.6)), url('asset/img/santuario/santuarioCover.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  height: 90vh;
  position: relative;
  z-index: 1;
}

.hero-santuario h1 {
  font-size: 3rem;
  max-width: 1200px;
  margin-top: 30vh;
  margin-bottom: 5vh;
  color: #fff;
}

.hero-estate {
  padding: 100px;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0), rgba(255, 255, 255, 0)), url('assetT/oratorio-estivo-2024.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  height: 70vh;
  position: relative;
  z-index: 1;
}

.hero-festa {
  height: 40vh;
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.5), rgba(10, 97, 174, 0.5)), url('asset/img/santuario/giuseppeEMaria.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  ;
  padding: 100px;
  padding-top: 70px;
}

.hero-catechesi {
  height: 70vh;
  background: url('asset/img/iniziazioneCristiana.png');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center bottom;
}

.hero-presepi {
  padding: 100px;
  background: url('asset/img/heroPresepe.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  height: 50vh;
  position: relative;
  z-index: 1;
}

.hero-presepi h1 {
  color: #fff
}

.button {
  height: 70px;
  border: 2px solid #fff;
  color: #fff;
  padding: 13px;
}

.button--inverse {
  border: 0.5px solid #ccc;
  color: #000;
  padding: 13px;
  display: flex;
  flex-basis: 50%;
  margin-bottom: 10px;
}

.button-celSet {
  border: 1px solid #333;
  color: #333;
  padding: 10px;
  display: block;
  text-align: center;
  font-weight: 800;
}

/* Icon arrow */
.button-celSet .fa {
  font-weight: 800px;
}

.hero-natale {
  height: 60vh;
  background: url('asset/img/076.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: center center;
  padding: 100px;
  padding-top: 70px;
}

.hero-eventi {
  height: 30vh;
  background: url('');
  background-repeat: no-repeat;
  background-size: cover;
  -o-background-size: cover;
  -moz-background-size: cover;
  background-position: top center;
}

h2 {
  font-size: 55px;
  max-width: 1200px;
  margin-top: 0;
  margin-bottom: 10px;
  color: #fff;
}

h2.hero-subtitle {
  font-size: 2rem;
  color: #666400;
}

.estate {
  color: #666400;
}

.subtitle,
.date {
  font-size: 30px;
  color: #fff;
  margin-top: 10px;
}

.date {
  margin-top: 0vh;
}

/* Marquee */
marquee {
  padding: 25px;
  font-size: 30px;
  font-weight: 400;
  font-family: 'Open Sans';
  color: #666400;
}

/* ! Grid */
.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 50px auto;
}

.col-70 {
  width: 70%;
  margin: 0 auto;
}

.col-50 {
  width: 50%;
  padding: 0 30px;
}

@media (max-width: 768px) {
  .col-50 {
    width: 100%;
  }
}

/* ! Card */
.card {
  padding: 25px;
  border-bottom: 2px solid #444;
  border-top: 2px solid #444;
  border-radius: 25px;
}

@media (max-width: 768px) {
  .card {
    padding: 20px 10px;
    margin-bottom: 20px;
  }
}

.grid-intro {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 20px auto;
}

.grid h1 {
  color: #000;
  font-size: 2rem;
  padding: 0;
  margin: 0;
}

.grid_post {
  flex-basis: 32%;
  padding: 30px;
}

.grid_post_2 {
  flex-basis: 49%;
}

.grid_post img,
.grid_post_2 img {
  width: 100%;
  height: auto;
}

.grid_post h3 {
  font-size: 2rem;
  color: #666400;
}

.grid_post p {
  font-size: 1rem;
  font-weight: normal;
}

.grid_post .icon {
  text-align: center;
  padding-bottom: 20px;
  font-size: 100px;
}

.icon a {
  color: #ccc;
}

.icon a:hover {
  color: #666400;
  background: #fff;
  font-size: 120px;
}

/* Title*/
.title {
  font-size: 3rem;
  color: #666400;
  flex-basis: 100%;
  padding: 20px;
}

.grid_post--diocesi {
  border: 2px solid #666400;
  max-width: 1250px;
  margin: 30px auto;
  padding: 20px;
}

.grid_post--diocesi h3 {
  text-align: center;
  font-size: 40px;
}

/* ! multi-column */
.multi-column {
  flex-basis: 48%;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0px auto;
  padding: 35px;
  padding-top: 0px;
}

.multi-column img {
  width: 100%;
  margin: 30px 0;
}

.multi-column h3 {
  margin-top: 0px;
}

/*Settimana santa sussidi */
.sussidi {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 30px;
}

button {
  height: 70px;
  flex-basis: 48%;
  border: 2px solid #666400;
}

/* ! Contatti */
.contatti {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1300px;
  margin: 20px auto;
}

.contatti_info {
  flex-basis: 48%;
  line-height: 24px;
}

.contatti button {
  width: 45%;
  height: 40px;
  padding: 10px;
  margin-right: 10px;
}

/* ! Top button */
#myBtn {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Fixed/sticky position */
  bottom: 20px;
  /* Place the button at the bottom of the page */
  right: 30px;
  /* Place the button 30px from the right */
  z-index: 99;
  /* Make sure it does not overlap */
  border: 1px solid #eee;
  /* Remove borders */
  outline: none;
  /* Remove outline */
  background-color: #eee;
  /* Set a background color */
  color: #000;
  /* Text color */
  cursor: pointer;
  /* Add a mouse pointer on hover */
  padding: 15px;
  /* Some padding */
  border-radius: 0px !important;
  /* Rounded corners */
  font-size: 18px;
  /* Increase font size */
}

.icon-arrow-up {
  height: 30px;
}

#myBtn:hover {
  background-color: #666400;
  /* Add a dark-grey background on hover */
  color: #fff;
}

/*! Footer */
.footer {
  height: 300px;
  width: 100%;
  background: #897777;
  color: #fff;
  padding: 20px;
}

.footer_structure {
  display: flex;
  justify-content: space-between;
  max-width: 1300px;
  margin: auto;
}

.footer_structure--info {
  margin: 0px auto;
  height: 50px;
  max-width: 1300px;
  display: flex;
  justify-content: space-between;
}

.footer_logo {
  display: inline-block;
  flex-basis: 50%;
}

.footer_info {
  flex-basis: 50%;
  line-height: 50px;
}

.footer_social {
  flex-basis: 25%;
}

.footer_social ul {
  list-style-type: none;
  padding: 0;
  margin: 0px;
}

.footer_social ul li {
  display: inline-block;
  width: 25%;
}

.footer_logo img {
  height: 200px;
}

/* -------------------------------------------------------------------------------- */
/* ! Tablet */
/* -------------------------------------------------------------------------------- */
/* single-column */
.single-column {
  padding: 50px;
}

.hero {
  padding: 50px;
  height: 80vh;
}

/*grid */
.grid_post_2 {
  flex-basis: 49%;
  padding: 20px;
}

/* -------------------------------------------------------------------------------- */
/* ! Smartphone */
/* -------------------------------------------------------------------------------- */
@media (max-width: 767px) {
  hr {
    margin: 30px;
  }

  /* ! Hero */
  .hero {
    padding: 50px;
    height: 80vh;
    width: 100%;
  }

  .hero-festa,
  .hero-natale {
    padding: 10px;
  }

  .hero-santuario h1 {
    font-size: 1rem;
  }

  .hero-presepi h1 {
    font-size: 1rem;
    margin: 0;
    text-align: center;
  }

  h1,
  h2 {
    font-size: 25px;
    margin-top: 30vh;
    margin-bottom: 5vh;
  }

  .hero-title {
    visibility: hidden;
  }

  @media (max-width: 768px) {
    h1.hero-title {
      font-size: 1rem;
      visibility: visible;
    }
  }

  .hero a {
    font-size: 12px;
  }

  h2 {
    margin-top: 5vh;
    font-size: 27px;
  }

  .subtitle,
  .date {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    text-align: center;
  }

  .date {
    margin-top: 0vh;
  }

  .festaMadonnaC h3 {
    font-size: 18px;
  }

  /* ! Caroseul */
  .slidershow {
    width: 42px;
    height: auto;
    overflow: hidden;
  }

  /* ! Grid */
  .grid {
    margin-top: 25px;
  }

  .grid_post,
  .grid_post_2 {
    flex-basis: 100%;
  }

  .grid_post_2 {
    padding: 30px;
  }

  .grid_post--diocesi img {
    height: auto;
    width: 100%;
  }

  .grid_post--diocesi {
    margin: 30px;
  }

  .title {
    font-size: 1.7rem;
    padding: 30px;
    margin: 0;
  }

  /* single-column */
  .single-column {
    margin: 0px auto;
    padding: 0px 35px;
  }

  /* ! multi-column */
  .multi-column {
    flex-basis: 100%;
  }

  /* ! Menu */
  .header__menu {
    position: absolute;
    max-height: 0;
    top: 100px;
    left: 0;
    width: 100%;
    overflow: hidden;
    background-color: #EAE9EA;
    transition: all 0.5s ease;
  }

  .header__menu ul li {
    display: block;
    text-align: center;
  }

  .header__hamburger {
    display: block;
    width: 60px;
    text-align: right;
    padding-top: 10px;
  }

  .header__menu--open {
    max-height: 1000px;
  }

  /* ! Cta */
  .header_cta {
    border: none;
    border-bottom: 2px solid #000;
    width: 100px;
    padding: 18px;
    text-align: center;
  }

  /*Sussidi Settimana santa */
  button {
    flex-basis: 100%;
    margin-bottom: 5px;
  }

  /* ! Contatti */
  .contatti_info {
    flex-basis: 100%;
    margin: 30px;
  }

  iframe {
    width: 100%;
  }

  .contatti button {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
  }

  /*! Footer */
  .footer {
    height: 400px
  }

  .footer_logo {
    margin: auto;
  }

  .footer_structure--info {
    flex-wrap: wrap;
  }

  .footer_info {
    flex-basis: 100%;
    line-height: 20px;
    margin-top: 20px;
  }

  .footer_social {
    flex-basis: 100%;
  }

  .footer_social ul li {
    margin: 20px auto;
  }
}

/* ! Box Sizing */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* ! Utility */
.spacer {
  width: 150px;
}

.text-center {
  text-align: center;
}

.text-important {
  font-weight: bold;
  text-transform: uppercase;
}