/* GENERAL */

.title-post {
  font-weight: 600;
}

.blue-bg {
  background-color: #e3eaf7;
}

.txt-white {
  color: #fff !important;
}

.last-section {
  margin-bottom: 0;
}

/* HERO */

.hero:before {
  height: 500px;
}

.hero-title {
  min-height: 0;
  margin-bottom: 30px;
}

.hero-content {
  margin-top: 0;
}

.hero-sub {
  line-height: 1.6rem;
  font-size: 21px;
}

.main-article {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  margin-top: -90px;
}

.article-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 15px 20px 15px;
  padding-right: 35%;
  top: 35%;
  display: flex;
  flex-flow: column;
  justify-content: flex-end;
  background: linear-gradient(0deg, rgb(0 0 0 / 70%) 0%, rgb(255 255 255 / 0%) 100%);
}

.article-description .title-post {
  color: #fff;
  margin-bottom: 0;
  line-height: 1.2;
}

.article-description .extract-article {
  color: #fff;
  margin-bottom: 0;
  font-weight: 400;
}

.article-description .arrow-btn {
  position: absolute;
  right: 39px;
  width: 200px;
  bottom: 35px;
}

.main-article .img-box {
  height: 550px;
}

/* NOTIZIE IN EVIDENZA */

.notizie-carousel {
  display: flex;
  padding-top: 25px;
}

.notizia-card {
  margin: 0 10px;
}

.notizia-card a:after {
  display: none;
}

.notizia-card:hover a .img-box .img-fluid {
  transform: scale(1.1);
}

.notizia-card .notizia-avatar {
  display: block;
  overflow: hidden;
  border-radius: 10px;
}

.notizia-card .img-box {
  border-radius: 10px;
  overflow: hidden;
  height: 0;
  padding-top: 75%;
  width: 100%;
}

.notizia-card .img-box img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.section-subtitle {
  margin-bottom: 0;
}

.listing-link {
  padding-bottom: 5px;
}

.date-post {
  display: flex;
  justify-content: flex-start;
  margin-top: 1rem;
}

.category {
  color: var(--blue);
}

.data {
  /*padding-left: 10px;*/
}

.arrow-btn {
  max-width: 35px;
  float: right;
}

.title-link p {
  color: #000000;
}

@media screen and (min-width: 1200px) {

  .notizie-carousel {
    display: flex;
    justify-content: space-between;
  }

  .notizia-card {
    flex: 0 0 33%;
  }
}

/* EVENTI */

.eventi-section .section-title {
  margin-bottom: 0;
}

.eventi-carousel {
  margin-top: 40px !important;
  margin-bottom: 5rem;
}

.card-evento .evento-avatar {
  display: block;
  overflow: hidden;
  border-radius: 10px;
  position: relative;
  margin-bottom: 1rem;
}

.card-evento .img-box {
  border-radius: 10px;
  overflow: hidden;
  height: 0;
  padding-top: 50%;
  width: 100%;
}

.card-evento .img-box img {
  position: absolute;
  top: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}

.eventi-carousel .slick-track {
  padding-top: 20px;
}

.eventi-section {
  padding: 80px 0;
  padding-bottom: 140px;
}

.eventi-carousel .icon-blue-card  a:after {
  display: none;
}

.card-evento {
  position: relative;
  background-color: #fff;
  border-radius: 10px;
  padding: 0;
}

.img-box .img-fluid {
  transition: .5s;
}

.card-evento:hover .img-box .img-fluid {
  transform: scale(1.1);
}

.card-evento .date-post{
  position: absolute;
  top: -35px;
  left: 15px;
  text-align: center;
  display: flex;
  flex-flow: column;
  padding: 2px 20px;
  padding-bottom: 5px;
  background-color: var(--blue);
  color: #fff;
  border-radius: 10px;
}

.card-evento .body-card {
  padding-top: 0;
  padding-right: 20px;
  padding-left: 20px;
  padding-bottom: 30px;
  color: #000;
}

.card-evento .date-post .data{
  padding-left: 0;
  margin-bottom: -10px;
  font-size: 35px;
  font-weight: 600;
}

.card-evento .date-post .mese {
  font-size: 20px;
  margin: 0;
}

.card-evento .list {
  list-style: none;
  padding-left: 0;
}

.card-evento .list li {
  margin-bottom: 5px;
}

.card-evento .list-icon {
  width: 25px;
}

.list-name {
  margin-left: 10px;
  line-height: 1.3;
}

.eventi-carousel .slick-slide {
  margin: 0 15px;
}

.eventi-listing {
  margin-bottom: 3rem;
}

.eventi-listing .card-evento {
  max-width: 470px;
}

.eventi-listing .img-box {
  max-height: 250px;
  overflow: hidden;
  border-radius: 15px;
  margin-bottom: 15px;
  display: flex;
}

.eventi-listing .img-box img{
  object-fit: cover;
  object-position: center 25%;
}


/* ARTICLE-LIST */

.article-list .section-title {
  margin-bottom: 0;
}

.article-list .list {
  margin-top: 30px;
  padding: 0;
  list-style: none;
}

.article-post a:after {
  display: none;
}

.article-post .img-box .img-fluid {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-post .img-box {
  border-radius: 10px;
  overflow: hidden;
  height: 180px;
}

.article-post:hover .img-box .img-fluid,
.storie-hero .article-hero:hover .img-fluid {
  transform: scale(1.1);
}

.article-list .list li a {
  border: 2px solid var(--blue);
  font-weight: 600;
  padding: 4px 15px 1px;
  border-radius: 50px;
  text-transform: uppercase;
  display: inline;
}

.article-list .list li a:after {
  display: none;
}

.article-list .list li a .active {
  background-color: var(--blue);
}

.article-list .list li a:hover {
  background-color: #0193a970;
  color: #00424c;
}

.article-list-row .article-post {
  margin-top: 50px;
}

.article-list-row .article-post  a {
  color: #000000;
  width: 100%;
}


/* SINGLE POST */

.article-hero {
  margin-top: -135px;
  border-radius: 10px;
  position: relative;
}

.article-hero .img-box {
  border-radius: 10px;
  overflow: hidden;
  height: 470px;
  display: flex;
}

.row-spacer {
  margin-top: 2rem;
}

.article-detail {
  display: flex;
  flex-flow: row;
  margin-top: 1rem;
  align-items: center;
}

.article-detail ul {
  list-style: none;
  padding-left: 0;
}

.article-detail ul li {
  padding-left: 20px;
}

.article-detail p,
.date-post p {
  margin-right: 10px;
}

.article-detail p + p,
.date-post p + p {
  padding-left: 10px;
  border-left: 1px solid #000;
}

.quote {
  margin-top: 80px;
  margin-bottom: 80px;
  font-size: 45px;
  padding-left: 90px;
  position: relative;
}

.quote::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-image: url(/assets/icons/newsroom/quote-sign.svg);
  background-repeat: no-repeat;
  background-size: 80px;
  z-index: -1;
}

.text-article-section {
  margin-top: -80px;
}

.text-article-section .section-title {
  margin-top: 5rem;
}

/* NOTIZIE */

.closing-section {
  margin: 0;
  padding: 100px 0;
}

.closing-section::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-image: url(/assets/img/light-blue-pattern.png);
  background-repeat: repeat;
  background-size: 212px;
  z-index: -1;
}

/* STORIE */

.storie-section {
  margin-top: -50px;
}

.storie-section .main-article {
  margin-top: -130px;
}

.article-list .list li {
  margin: 0 10px;
}

.closing-section .storie .img-box {
  position: absolute;
  top: -120px;
  width: auto;
  height: 430px;
}

.closing-section .storie .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storie-hero .article-hero {
  margin-top: -110px;
}

.storie-hero .row-spacer {
  margin-top: 1rem;
}

.author-box {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -160px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.author-box-inner {
  background-color: #fff;
  padding: 30px 20px;
  padding-right: 50px;
  border-radius: 10px;
  max-width: 350px;
  box-shadow: 1px 1px 9px 0px rgb(0 0 0);
  -webkit-box-shadow: 1px 1px 9px 0px rgb(0 0 0 / 20%);
  -moz-box-shadow: 1px 1px 9px 0px rgba(0,0,0,0.75);
}

.author-box .section-title {
  margin-bottom: 1.5rem;
}

.author-box p:nth-child(even) {
  margin-bottom: 0;
}

.author-box .list {
  padding-left: 0;
  padding-top: 1rem;
}

.author-box .list-icon {
  max-width: 30px;
}

.eventi-box .section-title {
  margin-bottom: 5px;
}

.eventi-box .section-subtitle {
  font-weight: 400;
  line-height: 1.6rem;
}

.eventi-box .list li {
  margin-bottom: 5px;
}

.eventi-list .eventi-carousel {
  padding-right: 35px;
}

.eventi-display .eventi-carousel {
  padding-left: 15px !important;
  margin-left: 0 !important;
}







/* RESPONSIVE */
@media screen and (max-width: 991px) {

  /* GENERAL */

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

  /* .hero:before {
    height: 325px;
  } */

  /* NEWSROOM */

  .article-list .list {
    margin: 0 1%;
    flex-wrap: wrap;
    justify-content: center !important;
  }

  .article-list .list li {
    margin-top: 20px;
    margin-right: 20px;
  }

  .article-hero {
    margin-top: -100px;
  }

  .text-article-section .img-box {
    height: 300px;
  }

  .text-article-section .img-box img {
    height: 100%;
    width: auto;
    object-fit: cover;
    object-position: center;
  }

  .text-article-section {
    margin-top: -40px;
  }

  .slider-sub {
    flex-flow: column;
    align-items: flex-start !important;
  }

  .slider-sub .listing-link {
    margin-top: 15px;
  }

  .article-post {
    display: flex;
    flex-flow: row;
  }

  .card-body .date-post {
    margin-top: 0;
    margin-bottom: 5px;
  }

  .card-img {
    width: 40%;
    display: flex;
    align-items: center;
  }

  .category {
    margin-bottom: 0;
    font-size: 15px;
  }

  .data {
    /*padding-left: 15px;*/
  }

  .card-body {
    padding: 10px;
    padding-left: 5px;
    max-width: 190px;
    margin-left: auto;
  }

  .article-post .img-box .img-fluid {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .article-post .img-box {
    max-height: 200px;
  }

  .article-list-row .article-post {
    margin-top: 35px;
  }

  .article-list-row .article-post .title{
    line-height: 1.6rem;
  }


  /* Eventi */

  .storie-hero .article-hero {
    margin-top: -70px;
    height: 600px;
  }

  .article-hero .img-box {
    height: 335px;
  }

  .article-hero .img-box img {
    height: auto;
    width: 100%;
    object-fit: cover;
    object-position: center;
  }

  .author-box {
    top: 255px;
    right: 0;
    justify-content: center;
  }

  .eventi-carousel {
    padding-left: 0;
  }

  .notizia-card .img-box {
    max-height: 145px;
  }

  .card-evento {
    max-width: 345px;
  }

  .eventi-display .eventi-carousel {
    padding-right: 15px;
    margin-bottom: 30px;
  }

  .eventi-listing .card-evento {
    max-width: 100%;
    width: 100%;
  }

  .eventi-listing .img-box {
    max-height: 280px;
  }

  .eventi-listing .img-box img {
    width: 100%;
  }

  /* STORIE */

  .main-article {
    margin-top: -90px;
  }

  .quote {
    padding-left: 0px;
  }

  .quote::before {
    top: -50px;
    background-size: 60px;
  }

  .main-article .img-box {
    height: 365px;
  }

  .main-article .img-box img {
    max-height: 365px;
    width: auto;
    height: 100%;
  }

  .article-description {
    padding-right: 20%;
    top: 0;
    background: #00000073;
  }

  .article-description .title-post {
    font-size: 24px;
  }

  .article-description .extract-article {
    font-size: 18px;
  }

  .closing-section .storie .img-box {
    display: none;
  }

  .storie-section .article-list-row .article-post {
    flex-flow: column;
  }
}

@media screen and (max-width: 650px) {

  .eventi-display .eventi-carousel {
    padding-right: 15px;
    margin-bottom: 30px;
  }

  .eventi-carousel .img-box .img-fluid {
    max-height: 200px;
    object-position: center 20%;
  }

  .eventi-listing .img-box {
    max-height: 190px;
  }

}


