.eventi-item-area {
  margin: 140px 0 50px;
}

.eventi-item-area .eventi-container {
  margin: auto;
  width: 85%;
}

.eventi-item-area .eventi-container > span {
  font-size: 20px;
  line-height: 1px;
  position: relative;
  color: white;
}

.eventi-item-area .section-title .title {
  font-size: 60px;
  margin-bottom: 13px;
}
.eventi-item-area .section-title h5.title {
  font-size: 48px;
}

@media (max-width: 767px) {
  .eventi-item-area .section-title .title {
    font-size: 30px;
  }
  .eventi-item-area .section-title h5.title {
    font-size: 24px;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .eventi-item-area .section-title .title {
    font-size: 46px;
  }
  .eventi-item-area .section-title h5.title {
    font-size: 36px;
  }
}

.eventi-item-area .section-title .title::before {
  display: none;
}

.eventi-item-area .section-title p {
  padding: 0 22px 45px;
}

.eventi-item-area .eventi-item {
  position: relative;
  cursor: pointer;
  border-radius: 12px;
  background-color: #ded2d2;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  color: #000000;
  text-transform: uppercase;
  max-height: 600px;
}

.eventi-item-area .eventi-item .item-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 20px;
  justify-content: space-between;
  height: 100%;
  position: relative;
}

.day {
  font-size: 40px;
  line-height: 1;
}

.hour {
  font-size: 24px;
}

@media only screen and (max-width: 1919px) and (min-width: 1366px) {
  .eventi-item-area .eventi-item .item-body {
    gap: 50px;
  }

  .day {
    font-size: 30px;
  }

  .hour {
    font-size: 14px;
  }

  h2 {
    font-size: 26px;
  }
}

.eventi-item-area .eventi-item .item-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: normal;
}

.eventi-item-area .eventi-item div.status {
  position: absolute;
  top: -15px;
  right: 10px;
}

.eventi-item-area .eventi-item div.status .badge {
  height: 30px;
  line-height: 30px;
  padding-top: 0;
  padding-bottom: 0;
}
.eventi-item-area .eventi-item div.status .badge.twoline {
  line-height: 15px;
}

.eventi-item-area .eventi-item > img {
  object-fit: cover;
  width: 50%;
  height: 100%;
  max-height: 100%;
  max-width: 50%;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.eventi-item-area .eventi-item .eventi-overlay {
  position: absolute;
  bottom: -110px;
  left: 0;
  width: 100%;
  height: 180px;
  background-color: rgba(0, 34, 73, 0.7);
  padding: 20px;
  -webkit-transition: all 0.3s ease-out 0s;
  -moz-transition: all 0.3s ease-out 0s;
  -ms-transition: all 0.3s ease-out 0s;
  -o-transition: all 0.3s ease-out 0s;
  transition: all 0.3s ease-out 0s;
}

.eventi-item-area .eventi-item .eventi-overlay .box {
  position: absolute;
  top: -15px;
  left: 20px;
  height: 30px;
  width: 100px;
  background: #0c59db;
  text-align: center;
  line-height: 30px;
  color: #fff;
  font-size: 16px;
}

.eventi-item-area .eventi-item .eventi-overlay > .info {
  color: #fff;
  font-size: 14px;
  padding-top: 30px;
}
.eventi-item-area .eventi-item .eventi-overlay > ul.info li > i {
  margin-right: 5px;
  width: 15px;
  text-align: center;
}

.eventi-item-area .eventi-item .eventi-overlay .title {
  color: #fff;
  font-size: 20px;
}
.eventi-item-area .eventi-item .eventi-overlay h5.title {
  font-size: 13px;
}

.eventi-item-area .eventi-item:hover .eventi-overlay {
  bottom: 0;
  background: rgba(0, 102, 255, 0.9);
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .eventi-item-area .eventi-item:hover .eventi-overlay {
    bottom: -20px;
  }
}

/* .eventi-item-area .eventi-item .box { */
/* height: calc(100% - 180px);
	  justify-content: center;
	  display: flex;
	  flex-direction: column; */
/* margin-top: 100px;
	margin-bottom: 50px; */
/* } */

.eventi-item-area .eventi-item p {
  color: #000000;
}

.eventi-item-area .eventi-container .btn-container {
  position: absolute;
  bottom: 20px;
}

.eventi-item-area .eventi-container .btn-container p span {
  color: white;
  font-size: 40px;
  /* line-height: 40px; */
  font-weight: bold;
  font-style: italic;
}

.eventi-item-area .eventi-container .btn-container p span::after {
  /* content: url('/assets/images/arrow.svg'); */
  margin-left: 10px;
  vertical-align: middle;
}

@media (min-width: 1366px) {
  .col-6-custom {
    -ms-flex: 0 0 49%;
    flex: 0 0 49%;
    max-width: 50%;
  }
}

@media only screen and (max-width: 1365px) {
  .day {
    font-size: 30px;
  }

  .hour {
    font-size: 14px;
  }

  h2 {
    font-size: 26px;
  }

  .eventi-item-area .eventi-item {
    max-height: 600px;
  }
  /* .eventi-item-area .eventi-item > img {
	  width: unset;
	} */
  .eventi-item-area .eventi-container .btn-container p span {
    font-size: 30px;
  }
}

@media (width < 992px) {
  /* .eventi-item-area .eventi-container {
    margin: auto;
    width: 95%;
  } */
  .eventi-item-area .eventi-item {
    position: relative;
    cursor: pointer;
    border-radius: 12px;
    background-color: #ded2d2;
    display: flex;
    align-items: stretch;
    flex-direction: column;
    color: #000000;
    text-transform: uppercase;
    max-height: unset;
  }

  .eventi-item-area .eventi-item > img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-left-radius: 0;
    max-width: 100%;
  }

  .eventi-item-area .eventi-item .item-body {
   padding: 10px;
  }
  .eventi-item-area {
    margin: 170px 0 90px;
  }
  .eventi-item-area .eventi-item .item-title {
    margin-bottom: 20px;
  }
  .eventi-item-area .eventi-item .item-time {
    margin-bottom: 20px;
  }
  .eventi-item-area .eventi-item .item-place {
    margin-bottom: 10px;
  }
}

.main-btn {
  padding: 0;
  width: 100%;
  font-size: 37px !important;
}
.main-btn.twoline {
  line-height: 12px;
  padding: 15px 0;
}
.main-btn.twoline small{
	font-size: 0.5em;
}

.eventi-item-area .link-programmazione {
  margin: 30px auto 0;
  width: 85%;
  text-align: center;
  font-size: 13px;
}
.eventi-item-area .link-programmazione a {
  color: white;
  text-decoration: underline;
}