

body {
  background: #F2F2F2;
}

header {
  height: 143px;
  margin-bottom: 104px;
  z-index: 999;
}

@media (max-width: 1279px) {
  header {
    margin-bottom: 50px;
  }
}

.single-news__title h3 {
  color: #313131;
  font-weight: 700;
  font-size: 22px;
  line-height: 25px;
  letter-spacing: -0.8px;
}

.hero {
  padding-top: 0;
}

.legal-nav ul {
  padding-left: 0;
}

.single-news__image {
  overflow: hidden;
  height: 197px;
  border-radius: 13px;
}

.label, .search-tag-container label {
  font-weight: 500;
  font-size: 9.5px;
  line-height: 12px;
  text-align: center;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  padding: 5px 15px;
  background: rgba(226, 0, 26, 1);
  border-radius: 46.8px;
  transition: all 0.3s linear;
  cursor: pointer;
}

.search-tag-container label {
  margin: 5px;
  float: left;
  color: #fff;
}


.search-tag-container {
  padding: 20px 0;
}

.single-news .label,
.swiper .label {
  text-transform: uppercase;
  position: absolute;
  z-index: 2;
  top: 15px;
  right: 17px;
}


.label:hover {
  background: rgba(226, 0, 26, 1);
  color: #fff;
}

.top-news {
  margin-left: -1rem;
  margin-right: -1rem;
}

.back {
  display: none;
  position: absolute;
  width: 20px;
  height: 20px;
  background: url("https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/arrow.svg") no-repeat center;
  background-size: contain;
  top: 25px;
  left: 20px;
  transform: rotate(90deg);
}

.single-news__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: all 0.4s linear;
}

.single-news:hover .single-news__image img {
  transform: scale(1.05);
}

.single-news__date,
.author .date {
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #313131;
  opacity: 0.6;
}

.news-pagination__button {
  color: #313131;
  display: inline-block;
  position: relative;
  width: 42px;
  height: 42px;
  margin: 2.5px;
  font-weight: 500;
  font-size: 13px;
  line-height: 42px;
  text-align: center;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s linear;
  border-bottom: 0 !important;
}

.news-pagination__button:hover {
  opacity: 0.6;
}

.news-pagination__button.page {
  border-radius: 10px;
}

.news-pagination__button.page.current {
  background-color: #e2001a;
  color: #fff;
}

.news-pagination__button.has-icon {
  transition: all 0.4s linear;
}

.news-pagination__button.has-icon.inactive {
  opacity: 0.5;
}

.news-pagination__button.has-icon::after {
  content: "";
  width: 100%;
  height: 100%;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
}

.news-pagination__button.first::after {
  background-image: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/first.svg);
}

.news-pagination__button.last::after {
  background-image: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/last.svg);
}

.news-pagination__button.prev::after {
  background-image: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/prev.svg);
}

.news-pagination__button.next::after {
  background-image: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/next.svg);
}

.banner {
  background-color: #F9E9DB;
}


.top-news {
  margin-bottom: 52px;
}

.top-news .slide {
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 13px;
  margin-left: 1rem;
  margin-right: 1rem;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
}

.top-news .slide .slide__image {
  width: 100%;
  height: 205px;
  overflow: hidden;

}

.top-news .slide .slide__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-news .slide .slide__content {
  position: relative;
  z-index: 1;
  padding: 35px 27px;
  background-color: #fff;
}

.top-news .slide .slide__content .btn {
  margin-top: auto;
}

.top-news .slide .slide__content h2 {
  font-weight: 700;
  font-size: 34px;
  line-height: 45px;
  letter-spacing: -2.03625px;
  color: #313131;
}

.slider-button {
  width: 60px;
  height: 60px;
  position: relative;
  border-radius: 50%;
  z-index: 4;
  background: rgba(227, 227, 227, 0.71);
}

.slider-button::after {
  content: "";
  width: 7px;
  height: 14px;
  top: 50%;
  left: 50%;
  display: inline-block;
  position: absolute;
  transform: translate(-50%, -50%);
}

.slider-button__prev {
  left: 50%;
  margin-left: -80px;
  float: left;
}

.slider-button__prev::after {
  background: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/chevron-left.svg) no-repeat center;
  background-size: contain;
}

.slider-button__next {
  left: 50%;
  margin-right: -80px;
}

.slider-button__next::after {
  background: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/chevron-right.svg) no-repeat center;
  background-size: contain;
}

.blog-slider-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: unset !important;
  width: auto !important;
  display: flex;
  left: 50%;
  top: calc(205px - 16px);
  transform: translateX(-50%);
}

.blog-slider-pagination .swiper-pagination-bullet {
  background-color: #fff;
  width: 9px;
  height: 9px;
  opacity: 1;
}

.blog-slider-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
  background-color: #e2001a;
}



.filter-wrapper {
  border-radius: 34px;
  height: 73px;
  position:  absolute;
  z-index: 20;
  width: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  backdrop-filter: blur(14px);
  background-color: rgba(232,232,232, 0.9);
}

.filter-wrapper::after {
  content: "";
  width: 100%;
  height: 100%;
  filter: blur(14px);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 100px;
  z-index: -1;
}


@media (max-width: 991px) {

  .blog-search {
    order: 1;
  }

  .filter-wrapper {
    overflow: hidden;
  }
  .news-wrapper {
    position: relative;
    padding-top: 130px;
  }

  .filter-wrapper.active {
    box-shadow: 0px 6px 16px rgba(0,0,0, 0.12);
    border-radius: 24px 24px 0 0;
    background: #fff;
    position: fixed;
    width: 100vw;
    bottom: 0;
    top: 100px;
    left: 50%;
    z-index: 998;
    margin: 0;
    transform: translate(-50%, 0);
  }

  .filter-wrapper.active .search-button {
    right: 0;
  }

  .filter-wrapper.active .back {
    display: block;
  }


  .filter-wrapper.active::after {
    border-radius: 34px;
  }

  .select-items {
    position: fixed;
    padding: 21px 10px 40px;
    background-color: #fff;
    margin-top: 30px;
    height: 100vh;
    width: 100vw;
    left: 50%;
    top: 0;
    transform: translate(-50%, -5%);
    z-index: 999;
    visibility: visible;
    /*box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);*/
    border-radius: 10px;
    transform-origin: bottom;
    overflow-x: hidden;
    overflow-y: auto;
    transition: transform .3s linear 0.2s, visibility 0.1s linear 0s;
  }



  .select-hide {
    transform: translate(-50%, 100%);
    transform-origin: bottom;
    visibility: hidden;
    transition: transform .3s linear, visibility 0.1s linear 0.2s;
  }

  .blog-select {
    border-top:  1px solid rgba(0, 0, 0, 0.12);;
  }


}
.filter {
  position: absolute;
  width: calc(100% - 76px);
  left: 50%;
  transform: translateX(-50%);
}

.blog-select,
.blog-search {
  position: relative;
  height: 73px;

}

.blog-search {
  display: flex;
  align-items: center;
}

.blog-select select {
  display: none;
}

.select-selected {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
}



.select-selected small,
.mobile-only small{
  display: block;
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0.5px;
  color: #313131;
  opacity: 0.5;
  text-transform: initial;
}


.select-selected::after {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) rotate(270deg);
  content: "";
  width: 10px;
  height: 10px;
  background: url("https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/arrow.svg") no-repeat center;
  background-size: contain;
}

.mobile-only {
  position: relative;
  padding-bottom: 20px !important;
  margin-bottom: 25px;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.mobile-only::after {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%) rotate(270deg);
  content: "";
  width: 10px;
  height: 10px;
  background: url("https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/close.svg") no-repeat center;
}

.select-selected.select-arrow-active:after {
  transform: translateY(-50%) rotate(180deg);
}


.select-items div,
.select-selected {
  font-weight: 500;
  font-size: 13px;
  line-height: 17px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 7px;
}


::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #313131 !important;
  opacity: 1; /* Firefox */
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #313131 !important;
  opacity: 1;
}

::-ms-input-placeholder { /* Microsoft Edge */
  color: #313131 !important;
}


.select-items div:hover, .same-as-selected {
  background: #F2F2F2;
  border-radius: 7px;
}

.blog-search {
  padding: 0 16px;
}

.blog-search input,
.blog-search span {
  background-color: transparent;
  padding: 0;
  font-weight: 500;
  font-size: 13px;
  line-height: 33px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0;
}


.blog-search span {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
}

.blog-search input:focus {
  outline: none;
}


.search-button {
  width: 55px;
  height: 55px;
  cursor: pointer;
  background: #E2001A url("https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/search.svg") no-repeat center;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
  transition: all 0.2s ease-in-out;
}

.search-button:hover {
  opacity: 0.7;
}


.share-btn {
  width: 24px;
  height: 24px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s linear;
}

.share-btn:hover {
  opacity: 0.5;
}

.share-btn::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.share-btn.share::after {
  background: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/share-1.svg) no-repeat center;
}

.share-btn.url::after {
  background: url(https://24913740.fs1.hubspotusercontent-eu1.net/hubfs/24913740/raw_assets/public/Dmep%20-%202022%20--%20Penta%20Theme/dist/img/icons/hyperlink-3.svg) no-repeat center;;
}


.single-news__content h1 {
  font-style: normal;
  font-weight: 700;
  font-size: 54px;
  line-height: 55px;
  margin-bottom: 35px;
  letter-spacing: -2.03625px;
  color: #313131;
}

.single-news__content,
.single-news__content p {
  font-size: 15px;
  line-height: 31px;
  color: #000000;
}

.related-news h2 {
  font-weight: 700;
  font-size: 22px;
  line-height: 42px;
  letter-spacing: -0.49775px;
}


@media (min-width: 768px) {
  .news-wrapper__grid > div:not(:nth-child(2n + 2)) .single-news  {
    margin-right: 20px;
  }
  .top-news .slide .slide__image,
  .single-news-wrapper .single-news-image-container {
    height: 365px;
  }

  .blog-slider-pagination.swiper-pagination-bullets.swiper-pagination-horizontal {
    top: calc(365px - 40px);
  }
}


/*single news*/
.single-news-wrapper .single-news-image-container {
  width: 100%;
  height: 197px;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
}

.single-news-wrapper .single-news-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.author-name {
  font-style: normal;
  font-weight: 500;
  font-size: 15px;
  line-height: 19px;
  color: #313131;
  display: block;
}

@media (min-width: 992px) {
  .news-wrapper__grid > div:not(:nth-child(3n + 3)) .single-news  {
    margin-right: 20px;
  }

  .single-news__image {
    height: 170px;
  }
  .main {
    padding-left: 22px;
    padding-right: 22px;
  }

  .blog-select {
    width: 30%;
  }

  .blog-search {
    width: 70%;
  }

  .top-news {
    margin-left: 0;
    margin-right: 0;
  }

  .top-news .slide {
    margin-bottom: 0;
    padding-bottom: 40px;
    box-shadow: none;
  }

  .top-news .slide .slide__image,
  .single-news-wrapper .single-news-image-container {
    height: 546px;
    border-radius: 11px;
  }

  .top-news .slide .slide__content {
    margin-top: -162px;
    height: 259px;
    border-radius: 13px;
    box-shadow: 0 4px 34px rgba(0, 0, 0, 0.25);
  }

  .slider-button {
    position: absolute;
    transform: translateY(-50%);
    top: calc(546px / 2);
  }
  .slider-button__prev {
    left: 0;
    margin-left: -30px;
    float: none;
  }

  .slider-button__next {
    right: 0;
    margin-right: -30px;
    left: unset;
  }

  .blog-slider-pagination.swiper-pagination-bullets.swiper-pagination-horizontal  {
    transform: none;
    top: unset;
  }


  .filter {
    top: 50%;
    left: 50%;
    position: relative;
    width: 96%;
    transform: translate(-50%, -50%);
  }

  .filter-wrapper {
    border-radius: 100px;
    height: 73px;
    position: sticky;
    top: 20px;
    left: unset;
    z-index: 8;
    width: 100%;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    background-color: rgba(232,232,232, 0.8);
    transform: none;
  }

  .search-button {
    right: -10px;
  }


  .filter-wrapper::after {
    content: "";
    width: 100%;
    height: 100%;
    filter: blur(14px);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 100px;
    z-index: -1;
  }

  .select-selected::after {
    transform: translateY(-50%);
  }

  .select-items {
    position: absolute;
    padding: 21px 10px;
    overflow: hidden;
    background-color: #fff;
    margin-top: 30px;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    border-radius: 10px;
  }

  .mobile-only {
    display: none;
    visibility: hidden;

  }

  .select-hide {
    display: none;
  }

  .select-selected::before {
    content: "";
    height: 73px;
    width: 1px;
    background-color: #fff;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }
}



@media (min-width: 1280px) {
  .single-news__image {
    height: 218px;
  }

  .top-news .slide .slide__image,
  .single-news-wrapper .single-news-image-container {
    height: 611px;
  }

  .slider-button {
    top: calc(611px / 2);
  }
}

@media (min-width: 1536px) {
  .news-wrapper__grid > div:not(:nth-child(4n + 4)) .single-news  {
    margin-right: 20px;
  }
}


.newsletter-form li, .newsletter-form p {
  font-size: 13px;
  line-height: 16px;
}


input[type='text'],
input[type='number'],
textarea {
  font-size: 16px;
}


.select-selected.isSelected small{
    display: none;
}

/* Main styles */
html { scroll-behavior: smooth; }
h2 { line-height: 48px; } 
.row-fluid { /*align-items: start;*/ margin-bottom: 2.5rem; }
a.cta_button.bofu { line-height: 1 !important; border-radius: 6px; padding: 15px 20px; }
a:hover.cta_button.bofu { background: rgb(248,0,28);
    color: rgb(255,255,255); }
img.hs-cta-img { display: inline-block; margin-left: auto; margin-right: auto; margin-bottom: 2.5rem; }
.overlap-bottom { margin-top: 0; margin-bottom: 10rem; }
.overlap-bottom .banner { max-width: 1228px; margin-left: auto; margin-right: auto; }

/* Gallery */
.slick-track { margin: 2.5rem auto; }

/* Headings */
/*h1 { margin-bottom: 5rem !important; }
h3 { margin-bottom: 2.5rem; }*/

/* Form */
form input[type=email], form input[type=file], form input[type=number], form input[type=password], form input[type=tel], form input[type=text], form select, form textarea { 
  width: 100% !important; max-width: 100%; 
}
form select { padding: .9rem .7rem; }
form .inputs-list>li { margin: 0; }
form .inputs-list input[type="checkbox"] { margin-bottom: 0; }
.hs-dependent-field input[type="checkbox"] { margin-top: 5px; }
.legal-consent-container .hs-form-booleancheckbox-display>span, .legal-consent-container .hs-form-booleancheckbox-display>span p { margin-left: .25em !important; line-height: 21px; }
.actions { margin-top: 1em; }
.actions input[type="submit"] { background-color: #e2001a; overflow-wrap: normal; }
.actions input[type="submit"]:hover { background-color: #fff; }
.hs-error-msg { margin-top: 0.75rem; line-height: 1.25em; }
.span6 .hs_cos_wrapper_type_form form { padding: 2.5rem; }
.hs_city, .hs_provincia, .hs_regione { width: 33.333333333% !important; }
.hs_cos_wrapper_type_form form input[type=email], 
.hs_cos_wrapper_type_form form input[type=file], 
.hs_cos_wrapper_type_form form input[type=number], 
.hs_cos_wrapper_type_form form input[type=password], 
.hs_cos_wrapper_type_form form input[type=tel], 
.hs_cos_wrapper_type_form form input[type=text], 
.hs_cos_wrapper_type_form form select, 
.hs_cos_wrapper_type_form form textarea { 
  margin-bottom: 0;
}
.hs_cos_wrapper_type_form form select { border-radius: 10px; }

/* Footer */
footer { margin-top: 5em; }


@media (min-width: 1280px) {
  header .nav-primary {
    min-height: 74px;
    overflow-y: hidden;
  }
  
@media (min-width: 1024px) {
  .footer-col.legal {  width: 50%; }
}

@media (max-width: 768px) {

  footer .brand { margin-left: auto; margin-right: auto; display: inline-block; }
  .footer-col { margin-bottom: 2.5rem; }
}


@media (max-width: 600px) {
  .hs_cos_wrapper_type_form form { padding: 2.5rem; }
  .hs_city, .hs_provincia, .hs_regione { width: 100% !important; }
  .overlap-bottom { margin-top: -5rem; }
}