/* home.php */
#pager a {
  border: 1px solid #ccc;
  background: none;
  text-decoration: none;
  margin: 0 0px;
  padding: 0px 0px;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
}

#pager .activeSlide {
  background: #ccc !important;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 10px;
  color: #ccc !important;
}

.activeSlide {
  background: #ccc !important;
  -webkit-border-radius: 8px;
  -moz-border-radius: 8px;
  border-radius: 8px;
  width: 10px;
  color: #ccc !important;
}

#pager li {
  width: 10px;
  height: 10px;
  margin-right: 4px;
}

#pager a:focus {
  outline: none;
}

#pager {
  margin: auto;
  margin-left: 10px;
  text-align: center;
  margin-top: 4px;
  height: 10px;
}

#s2 {
  width: 100%;
}

.box_left img {
  height: 312px !important;
  width: auto !important;
}

.event-post {
  margin: auto !important;
  margin-bottom: 10px !important;
  text-align: center !important;
}

@media (min-width: 319px) and (max-width: 415px) {
  .col-md-3 {
    min-width: 100% !important;
  }
}

@media (min-width: 415px) {
  .event-post {
    margin: 0.6% !important;
  }
}

@media (min-width: 667px) {
  #evento0 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento1 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento2 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento3 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  .box_left {
    max-width: 100% !important;
    /*min-height:500px !important;*/
  }

  .box_left img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 736px) {
  #evento0 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento1 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento2 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento3 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  .box_left {
    max-width: 100% !important;
  }

  .box_left img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 768px) {
  #evento0 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento1 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento2 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  #evento3 {
    min-height: 620px;
    margin-bottom: 20px;
  }

  .box_left {
    max-width: 100% !important;
  }

  .box_left img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 1024px) {
  .col-md-3 img {
    padding: 0px !important;
    margin: 0px !important;
  }

  #evento0 {
    min-height: auto;
    margin-bottom: 20px;
  }

  #evento1 {
    min-height: auto;
    margin-bottom: 20px;
  }

  #evento2 {
    min-height: auto;
    margin-bottom: 20px;
  }

  #evento3 {
    min-height: auto;
    margin-bottom: 20px;
  }

  .box_left {
    max-width: 100% !important;
  }

  .box_left img {
    width: 100% !important;
    height: auto !important;
  }
}

@media (min-width: 1025px) {
  .box_left {
    max-width: 100% !important;
  }

  .box_left img {
    width: 100% !important;
    height: auto !important;
  }
}

.continua {
  color: #000;
}

.continua:hover {
  color: #fff;
}

/* dynamic.php */
.scritta {
  float: left;
  width: 24%;
  display: block;
  cursor: pointer;
  font-size: 12px;
}

.promo {
  float: left;
  width: 32%;
  padding: 4px;
  min-height: 160px;
  margin-right: 10px;
  margin-bottom: 10px;
  background-color: #ececed;
  text-align: left;
  font-size: 12px;
}

.portapromo {
  box-shadow: 3px 3px 2px #888888;
  border-color: #ffffff;
  margin-bottom: 40px;
  height: 500px;
  min-height: 400px;
  float: left;
  width: 30%;
  margin-right: 8px;
  margin-left: 10px;
  border: 0px solid;
  border-radius: 25px;
  background-color: #efefef;
  padding: 4px;
}

.promo a {
  color: #666;
  text-decoration: none;
}

.promo a:hover {
  color: #666;
  text-decoration: underline;
}

.finestra {
  z-index: 100000;
}

.ui-dialog {
  z-index: 100000 !important;
}

#news-1 {
  font-size: 11px;
  height: auto;
}

#news-1 p {
  margin: 0px;
  margin-bottom: 8px;
}

#news-2 {
  font-size: 11px;
}

#news-2 p {
  margin: 0px;
  margin-bottom: 8px;
}

#ev_sez ul {
  margin-left: 30px;
  list-style-type: square;
}

@media (min-width: 568px) {
  #ev_sez img {
    max-width: 96% !important;
    float: none !important;
  }
}

@media (min-width: 736px) {
  #ev_sez img {
    max-width: 330px !important;
    float: right !important;
    margin-top: 0px;
  }

  #responsive img {
    max-width: 96% !important;
    float: none !important;
  }
}

.testata_home {
  position: relative;
  width: 100%;
  height: 70px;
  background-color: rgb(189, 220, 155);
  margin-top: -70px;
}

.testata_home > div {
  padding: 8px;
  padding-bottom: 0px;
  padding-top: 4px;
  color: #000;
}
.testata_home > div > strong {
  color: #000;
  margin-top: 0px;
  font-size: 18px;
}

main > section {
  padding: 1rem;
}
main > section.expand {
  padding: 0 inherit;
}

.bottoni {
  margin: 40px 0 40px 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 1024px) {
  main > section {
    padding: 0;
  }
  .bottoni {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
.bottoni img {
  width: 100%;
  transition: opacity 0.1s ease-in;
  opacity: 100%;
}
.bottoni img:hover {
  opacity: 90%;
}
.bottoni img:hover ~ p {
  color: rgb(190, 218, 158);
}

.bottoni p {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: rgba(65, 75, 54, 0.623);
  margin-top: -40px;
  color: #fff;

  padding-left: 8px;
  line-height: 30px;
  text-shadow: 1px 1px 0 rgb(18, 27, 8);
  transition: color 0.1s ease-in;
}

header {
  top: 0;
}
@keyframes slidy {
  0% {
    left: 0%;
  }
  45% {
    left: 0%;
  }
  50% {
    left: -100%;
  }
  95% {
    left: -100%;
  }
  100% {
    left: -200%;
  }
}
@keyframes slidy5 {
  0% {
    left: 0%;
  }
  15% {
    left: 0%;
  }
  20% {
    left: -100%;
  }
  35% {
    left: -100%;
  }
  40% {
    left: -200%;
  }
  55% {
    left: -200%;
  }
  60% {
    left: -300%;
  }
  75% {
    left: -300%;
  }
  80% {
    left: -400%;
  }
  95% {
    left: -400%;
  }
}

div.slider,
div.slider5 {
  overflow: hidden;
  /* max-height: 389px; */
}
div.slider figure img,
div.slider5 figure img {
  width: 33.3333333333333%;
  float: left;
  margin: 0;
}
div.slider5 figure img {
  width: 20%;
}

div.slider figure,
div.slider5 figure {
  position: relative;
  margin: 0;
  left: 0;
  text-align: left;
  font-size: 0;
  width: 300%;
  animation: 15s slidy infinite;
}
div.slider5 figure {
  width: 500%;
  animation: 30s slidy5 infinite;
}

.green {
  background-color: rgb(189, 220, 155);
}

.fixed-width > p,
.fixed-width > div,
.fixed-width > h1,
.fixed-width > h2,
.fixed-width > h3,
.fixed-width > h4,
.fixed-width > h5 {
  max-width: 1024px;
  margin: 0 auto;
}

.wide-paddings {
  padding-top: 40px;
  padding-bottom: 40px;
}

.logo {
  width: 250px;
  height: auto;
}

@media (max-width: 767px) {
  .logo {
    width: auto;
    height: 46px;
    top: 5px;
    left: 64px;
    position: relative;
  }
  header {
    display: none;
  }
  div#slider {
    margin-top: 56px;
  }
}
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
}
.sticky + div,
.sticky + main {
  padding-top: 102px;
}
