.bg-asso-1 {
  background-color: #fcc61f !important;
  color: #000 !important;
}
.bg-asso-2 {
  background-color: #a4acd8 !important;
  color: #000 !important;
}
.bg-asso-3 {
  background-color: #2bb9cb !important;
  color: #000 !important;
}
.bg-asso-4 {
  background-color: #219a65 !important;
  color: #000 !important;
}
.bg-asso-5 {
  background-color: #a7679b !important;
  color: #000 !important;
}
.bg-asso-6 {
  background-color: #99c331 !important;
  color: #000 !important;
}
.info-bando {
  filter: saturate(0.4);
}
.card-bandi-por {
  padding: 24px;
  border-radius: 7px;
  background-color: #f5f5f5;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.card-bandi-por .read-more {
  margin-top: auto;
  position: relative;
  bottom: 0;
  display: flex;
  align-items: center;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 0.9px;
}
.card-bandi-por .card-body {
  margin-bottom: 20px;
}
.card-bandi-por .categoryicon-top {
  margin-bottom: 16px;
}
.card-bandi-por .categoryicon-top .text {
  border-radius: 50px;
  background-color: #ccc;
  padding: 2px 12px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
}
.card-bandi-por .card-title {
  font-weight: 700;
  font-size: 1.2em;
  line-height: 1.25;
}
.card-bandi-por.asso-1 .categoryicon-top .text {
  background-color: #fcc61f;
}
.card-bandi-por.asso-2 .categoryicon-top .text {
  background-color: #a4acd8;
}
.card-bandi-por.asso-3 .categoryicon-top .text {
  background-color: #2bb9cb;
}
.card-bandi-por.asso-4 .categoryicon-top .text {
  background-color: #219a65;
}
.card-bandi-por.asso-5 .categoryicon-top .text {
  background-color: #a7679b;
}
.card-bandi-por.asso-6 .categoryicon-top .text {
  background-color: #99c331;
}
.porfesr-bando-view .info-asse {
  padding: 12px 0;
  position: relative;
  margin-bottom: 80px;
}
.porfesr-bando-view .info-asse .arrow-down {
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 30px solid;
  position: absolute;
  bottom: -68px;
}
.porfesr-bando-view .info-asse .icon-asse {
  background: #fff;
  border-radius: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -24px;
  border: 2px solid;
}
.porfesr-bando-view .info-asse .icon-asse img {
  width: 74px;
  height: 74px;
}
.porfesr-bando-view .info-asse .icon-asse span {
  font-size: 36px;
}
.porfesr-bando-view .info-asse .nome-asse {
  margin-left: 90px;
}
.porfesr-bando-view .vertical-title {
  text-transform: uppercase;
  font-size: 2em;
  font-weight: bold !important;
  color: #000;
  line-height: 1;
  margin-bottom: 30px;
}
@media (min-width: 768px) {
  .porfesr-bando-view .vertical-title {
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    font-size: 28px;
    line-height: 1;
    margin: 0 25%;
  }
}
.porfesr-bando-view .sintesi {
  font-size: 20px;
}
.porfesr-bando-view .descrizione-bando {
  border-top: 1px solid #D8D8D8;
  padding-top: 30px;
  margin: 30px 0;
}
.porfesr-bando-view .section-tempistiche {
  background: linear-gradient(180deg, #003354 0%, #3e6b88 100%);
  color: #FFF;
  padding: 70px 0;
  margin: 30px 0;
  position: relative;
}
.porfesr-bando-view .section-tempistiche::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 30px solid #FFF;
  position: absolute;
  top: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.porfesr-bando-view .section-tempistiche .box-tempistiche {
  margin: 24px 0;
  display: flex;
}
@media (min-width: 992px) {
  .porfesr-bando-view .section-tempistiche .box-tempistiche {
    justify-content: center;
  }
}
.porfesr-bando-view .section-tempistiche .box-tempistiche .icon-tempistiche {
  display: none;
}
@media (min-width: 992px) {
  .porfesr-bando-view .section-tempistiche .box-tempistiche .icon-tempistiche {
    display: block;
    margin-right: 18px;
  }
}
.porfesr-bando-view .section-tempistiche .box-tempistiche .label-tempistiche {
  font-size: 24px;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.2;
}
.porfesr-bando-view .section-tempistiche .box-tempistiche .valore-tempistiche {
  font-size: 40px;
  line-height: 1;
}
.porfesr-bando-view .section-progetti {
  padding: 60px 0;
}
.porfesr-bando-view .section-progetti .content-percentuali {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.porfesr-bando-view .section-progetti .content-percentuali .media {
  width: 100%;
  background: #eae7de;
  border-radius: 7px;
  padding: 50px 30px;
  margin-bottom: 15px;
  margin-top: 0;
}
@media (min-width: 768px) {
  .porfesr-bando-view .section-progetti .content-percentuali .media {
    width: 32%;
  }
}
.porfesr-bando-view .section-progetti .content-percentuali .media .media-object {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-right: 10px;
}
.porfesr-bando-view .section-progetti .content-percentuali .media .media-body {
  font-size: 24px;
  font-weight: bold;
  color: #000;
  text-transform: uppercase;
  line-height: 1;
}
.porfesr-bando-view .section-progetti .content-percentuali .media .media-body .percentuale {
  font-size: 50px;
  font-weight: bold;
  color: #003354;
  line-height: 1;
}
.porfesr-bando-view .section-approfondimenti {
  padding: 90px 0;
  background-color: #eae7de;
  position: relative;
}
.porfesr-bando-view .section-approfondimenti::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 30px solid #3e6a87;
  position: absolute;
  top: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.porfesr-bando-view .section-approfondimenti .box-approfondimenti {
  border-radius: 7px;
  background-color: #FFF;
  font-size: 20px;
  padding: 40px;
  margin: 40px 0;
  display: flex;
}
@media (max-width: 576px) {
  .porfesr-bando-view .section-approfondimenti .box-approfondimenti {
    flex-wrap: wrap;
  }
}
.porfesr-bando-view .section-approfondimenti .box-approfondimenti .icon-approfondimenti {
  margin-right: 20px;
}
.porfesr-bando-view .section-approfondimenti .box-approfondimenti .icon-approfondimenti img {
  width: 70px;
  height: auto;
}
.porfesr-bando-view .section-multimedia {
  margin-bottom: 40px;
}
.porfesr-bando-view .section-multimedia > .container {
  padding-top: 80px;
  padding-bottom: 80px;
  position: relative;
}
.porfesr-bando-view .section-multimedia > .container::after {
  content: '';
  width: 215px;
  height: 70px;
  position: absolute;
  top: -30px;
  left: 0;
  border-radius: 7px;
}
.porfesr-bando-view .section-multimedia.bg-asso-1 > .container::after {
  background-color: #fcc61f;
}
.porfesr-bando-view .section-multimedia.bg-asso-2 > .container::after {
  background-color: #a4acd8;
}
.porfesr-bando-view .section-multimedia.bg-asso-3 > .container::after {
  background-color: #2bb9cb;
}
.porfesr-bando-view .section-multimedia.bg-asso-4 > .container::after {
  background-color: #219a65;
}
.porfesr-bando-view .section-multimedia.bg-asso-5 > .container::after {
  background-color: #a7679b;
}
.porfesr-bando-view .section-multimedia.bg-asso-6 > .container::after {
  background-color: #99c331;
}
.porfesr-bando-view .section-multimedia .content-allegati .attachments-list {
  align-items: stretch;
  margin-top: 0 !important;
}
.porfesr-bando-view .section-multimedia .content-allegati .attachments-list label.text-uppercase {
  display: none;
}
.porfesr-bando-view .section-multimedia .content-allegati .attachments-list .attachment-list-item {
  background: #fff;
  padding: 25px;
  margin: 0 15px 30px 15px;
}
@media (min-width: 992px) {
  .porfesr-bando-view .section-multimedia .content-allegati .attachments-list .attachment-list-item {
    width: 30%;
    margin-right: 1%;
  }
}
.porfesr-bando-view .section-project-card {
  background: linear-gradient(180deg, #003354 0%, #3e6b88 100%);
  padding: 70px 0;
  position: relative;
}
.porfesr-bando-view .section-project-card::after {
  content: '';
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
  border-right: 35px solid transparent;
  border-top: 30px solid #FFF;
  position: absolute;
  top: 0px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}
.porfesr-bando-view .section-project-card .vertical-title {
  color: #FFF;
}
.porfesr-bando-view .section-project-card .container-project .banner-callhub,
.porfesr-bando-view .section-project-card .container-project .empty {
  color: #fff;
}
.porfesr-bando-view .section-project-card .container-project .icon-view div[role="listbox"]:not(.grid) > div {
  margin-top: 15px;
}
.porfesr-project-view .it-hero-text-wrapper .info-asse {
  border-radius: 50px;
  background-color: #ccc;
  padding: 2px 12px;
  font-size: 15px;
  text-transform: uppercase;
  font-weight: bold;
  margin-right: 5px;
}
.porfesr-project-view .content-argomento {
  margin-bottom: 30px;
}
.porfesr-project-view .content-argomento h3 {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}
.porfesr-project-view .panel-default {
  border: none;
}
.porfesr-project-view .panel-group .panel-heading {
  background-color: #fff;
  border: none;
  color: #000;
  padding: 18px 0;
}
.porfesr-project-view .panel-group .panel-heading .panel-title {
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}
.porfesr-project-view .panel-group .panel-heading .panel-title a {
  text-decoration: none;
  display: block;
}
.porfesr-project-view .panel-group .panel-heading .panel-title a[aria-expanded=true]:after {
  content: '-';
  font-size: 28px;
  color: #000;
  font-weight: 500;
  float: right;
  line-height: .6;
}
.porfesr-project-view .panel-group .panel-heading .panel-title a[aria-expanded=false]:after {
  content: '+';
  font-size: 28px;
  color: #000;
  font-weight: 500;
  float: right;
  line-height: .6;
}
.porfesr-project-view .panel-group .panel-body {
  padding: 15px 0;
}
.porfesr-project-view .box-side {
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.1);
  padding: 30px 25px;
  border-radius: 6px;
  background-color: #fff;
}
@media (min-width: 992px) {
  .porfesr-project-view .box-side {
    margin-top: -100px;
  }
}
.porfesr-project-view .box-side .content-argomento {
  display: flex;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.porfesr-project-view .box-side .content-argomento:last-child {
  border-bottom: none;
  padding-bottom: 0px;
  margin-bottom: 0;
}
.porfesr-project-view .box-side .content-argomento p {
  margin: 0;
}
.porfesr-project-view .box-side .content-argomento img {
  width: 25px;
  margin: 0px 20px 0 0;
}
.porfesr-project-view .attachment-list-item {
  width: 100%;
}
.attachment-list-item {
  width: 100% !important;
}
.attachment-list-item .attachment-list-item-name {
  align-items: flex-start !important;
}
.detail-news-hero-wrapper.it-hero-wrapper {
  width: 100%;
  min-height: 380px;
  position: relative;
  background-color: #849680;
  display: flex;
  align-items: flex-end;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive {
  padding-bottom: inherit;
  height: 100%;
  position: initial;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper {
  overflow: hidden;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive {
  position: initial;
  padding-bottom: inherit;
  /* 16:9 */
  height: 100%;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive .img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive .img-wrapper.custom-object-fit {
  background-size: cover;
  background-position: center;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive .img-wrapper.custom-object-fit img {
  visibility: hidden;
}
.detail-news-hero-wrapper.it-hero-wrapper .img-responsive-wrapper .img-responsive .img-wrapper img {
  width: 100%;
  display: block;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-hero-small-size {
  min-height: 230px;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper {
  padding: 48px 34px;
  background: transparent !important;
  position: relative;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper :last-child {
  margin-bottom: 0;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper span,
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper h1,
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper p {
  color: #ffffff;
  margin-bottom: 24px;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper span.it-category {
  display: inline-block;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.9px;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper h1 {
  font-size: 2rem;
  letter-spacing: unset;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper p {
  font-size: 1rem;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper .it-btn-container {
  margin-top: 8px;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-text-centered .it-hero-text-wrapper {
  text-align: center;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-overlay .img-responsive-wrapper:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-overlay.it-dark .img-responsive-wrapper:after {
  background: #494949;
  opacity: 0.8;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-overlay.it-primary .img-responsive-wrapper:after {
  background: #53614f;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-overlay.it-filter .img-responsive-wrapper img {
  mix-blend-mode: screen;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-overlay.it-filter .img-responsive-wrapper:after {
  display: none;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-bottom-overlapping-content {
  margin-bottom: -80px;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-bottom-overlapping-content .it-hero-text-wrapper {
  padding-bottom: 136px;
}
.detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container {
  min-height: 0 !important;
  align-items: flex-end;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-card {
  background-color: #ffffff;
}
.detail-news-hero-wrapper.it-hero-wrapper .it-hero-card.it-hero-bottom-overlapping {
  margin-top: 80px;
  margin-bottom: -80px;
}
@media (max-width: 575px) {
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container {
    display: flex;
    flex-direction: column;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container .container {
    background-color: #ffffff;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container .img-responsive-wrapper {
    position: relative;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container .img-responsive-wrapper .img-wrapper {
    position: relative;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container .img-responsive-wrapper:after {
    content: none;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container .it-hero-card {
    background-color: #ffffff;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-card.it-hero-bottom-overlapping {
    margin: 0;
  }
}
@media (min-width: 576px) {
  .detail-news-hero-wrapper.it-hero-wrapper.it-wrapped-container {
    min-height: 0 !important;
    align-items: flex-end;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-card {
    background-color: #ffffff;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-card.it-hero-bottom-overlapping {
    margin-top: 80px;
    margin-bottom: -80px;
  }
}
@media (min-width: 768px) {
  .detail-news-hero-wrapper.it-hero-wrapper.it-hero-small-size {
    min-height: 300px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper {
    padding: 48px 40% 48px 34px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-text-centered .it-hero-text-wrapper {
    padding: 48px 20% 48px 20%;
  }
}
@media (min-width: 992px) {
  .detail-news-hero-wrapper.it-hero-wrapper {
    position: relative;
    min-height: 620px;
    align-items: center;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-hero-small-size {
    min-height: 400px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper {
    padding: 120px 40% 168px 26px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper span.it-category {
    position: absolute;
    margin-top: -56px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper h1 {
    font-size: 2.66666667rem;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper p {
    margin-bottom: 0;
  }
  .detail-news-hero-wrapper.it-hero-wrapper .it-hero-text-wrapper .it-btn-container {
    position: absolute;
    margin-top: 48px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-text-centered .it-hero-text-wrapper {
    padding: 120px 20% 144px 20%;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-text-centered .it-hero-text-wrapper span.it-category {
    left: 20%;
    right: 20%;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-text-centered .it-hero-text-wrapper .it-btn-container {
    left: 20%;
    right: 20%;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-bottom-overlapping-content {
    margin-bottom: -80px;
  }
  .detail-news-hero-wrapper.it-hero-wrapper.it-bottom-overlapping-content .it-hero-text-wrapper {
    padding-bottom: 240px;
    padding-top: 160px;
  }
}
