/**
 * @file
 * Subtheme specific CSS.
 */

.container-fluid-custom {
  --bs-gutter-x: 5rem;
  --bs-gutter-y: 0;
 }

@media (max-width: 576px) {
  .container {
    --bs-gutter-x: 5rem;
  }
}

.flex-banner {
  overflow: visible;
 }

.page-frontpage #main > .container-fluid {
  padding: 0;
  overflow: hidden;
}

.language-switcher-language-url ul li {
  margin: 0 !important;
}
.language-switcher-language-url ul li a {
  border-left: 1px solid #FFF;
  padding: 0 6px;
}
.language-switcher-language-url ul li:first-child a {
  border-left: 0;
}


/* FEATURED (filtri) */

.form-filtro-portfolio,
.portfolio-gallery .gallery-header {
  background: var(--bs-tertiary);
  padding-top: 1.2rem;
  padding-bottom: 1.2rem;
}
.form-filtro-portfolio .title-filter,
.portfolio-gallery .gallery-header .block-title {
  color: #FFF;
  font-size: 2.5rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 0;
}
.form-filtro-portfolio .form-item {
  margin: 0 !important;
}
.form-filtro-portfolio select {
  text-transform: uppercase;
  color: var(--bs-primary);
  font-weight: 500;
}


/* HOME SECTION */

#servizi-home,
.page-servizi #main {
  color: #FFF;
  background-color: var(--bs-primary);
  background-image: url('../../images/texture-1.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left center;
}

#progetti-home {
  color: var(--bs-primary);
  background-color: #f5f5f5;
}

.home-section .title {
  margin-bottom: 1rem;
  font-weight: 500;
}

.home-section .title em {
  font-weight: 400;
}

.home-section .content {
  margin-top: 2%;
  margin-bottom: 10%;
  padding: 0 9%;
}

#progetti-home .content {
  margin-bottom: 20%;
}

.home-section .tag-label {
  font-size: 0.7rem;
  color: #FFF !important;
  background-color: rgba(255, 255, 255, 0.20);
  display: inline-block;
  padding: 0.2rem 0.9rem;
  margin-bottom: 0.8rem;
}

.home-section .text-content {
  margin-bottom: 2rem;
}

.card-servizi {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: rgba(11, 57, 94, 0.85);
  color: #FFF;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 5px 20px 5px;
  backdrop-filter: blur(5px);
}

.card-servizi .card-header {
  background: transparent;
  border: none;
}

.card-servizi .card-img-top {
  width: 25% !important;
}

.card-servizi .btn-carousel-icon {
  height: 1.5rem;
}

.card-servizi .btn-carousel-icon path {
  fill: none;
  stroke: #fff;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-servizi .card-text {
  font-size: 0.8rem;
  font-weight: 300;
}

.card-servizi  .card-title h5 {
  font-size: 1.15rem;
  font-weight: 400;
}

.card-servizi .card-body,
.card-servizi .card-footer {
  text-align: left;
}

.home-section .owl-carousel .item-inner {
  height: 100%;
  display: flex;
}

.home-section .owl-wrapper {
  margin-top: -7%;
}

#progetti-home .owl-wrapper {
  margin-top: -17%;
}

.owl-wrapper .owl-controls {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 1rem;
}

.home-section .owl-controls svg {
  height: 0.6rem;
  width: auto;
  display: block;
}

.home-section .owl-controls svg path {
  fill: #FFF;
}

.home-section .owl-controls .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.75rem;
  margin-bottom: 1rem;
  border-color: #FFF;
}

.home-section .owl-controls .btn:hover {
  background: rgb(126 125 125 / 14%);
}

#progetti-home .owl-controls svg path {
  fill: var(--bs-primary);
}

#progetti-home .owl-controls .btn {
  border-color: var(--bs-primary);
}

.home-section .owl-stage {
  display: flex;
  align-items: stretch;
}

.home-section .owl-item {
  display: flex;
  height: auto;
}

.home-section .owl-item .item {
  flex: 1 1 auto;
  display: flex;
}

.card-protfolio {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  background-color: #efefef;
  color: var(--bs-primary);
  border-radius: 0.5rem;
  border: none;
  padding: 0;
}

.card-protfolio .card-title-link {
  color: var(--bs-primary);
}

.card-protfolio .card-title {
  font-size: 1.3rem;
  margin-bottom: 2.5rem;
}

.card-protfolio .card-text {
  font-size: 1rem;
  color: #7a7a7a;
}

.card-protfolio .card-body {
  border: 1px solid #CCC;
  padding: 1.5rem;
  padding-top: 1rem;
}

.card-protfolio .readmore {
  display: block;
  color: var(--bs-primary);
  font-weight: 500;
  margin-top: 2.5rem;
  font-size: 0.9rem;
}

.card-protfolio .icon-arrow svg {
  height: 0.65rem;
  margin-left: 5px;
}

.card-protfolio .tag {
  text-transform: uppercase;
  background: var(--bs-primary);
  font-size: 0.8rem;
  color: #FFF;
  padding: 0.8rem 1.5rem;
}

.card-protfolio .card-text {
  font-size: 0.8rem;
  font-weight: 300;
}

@media (max-width: 991px) {
  .home-section .content {
    margin-top: 2%;
    margin-bottom: 9%;
    padding: 0 4%;
  }
}

/* PROGETTI nodo */
#head-cover {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #FFF;
}
#head-cover .content-wrapper {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: #01192E;
  background: linear-gradient(0deg,rgba(1, 25, 46, 0) 0%, rgba(2, 48, 89, 0.7) 54%, rgba(2, 48, 89, 0.9) 100%);
}
#head-cover.servizi-cover .content-wrapper {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
#head-cover .content {
  border-left: 1.2rem solid #FFF;
  padding-left: 1.5rem;
  padding-bottom: 5rem;
}
#head-cover.servizi-cover .content {
  border-left: none;
  padding-left: 0;
  padding-bottom: 0;
}
#head-cover .title {
  font-weight: 700;
  text-transform: uppercase;
}
#head-cover.servizi-cover .title {
  margin-bottom: 1rem;
}
#head-cover .subtitle {
  font-weight: 400;
}
#head-cover.servizi-cover .subtitle {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
#head-cover .icon-wrap {
  padding: 0.5rem;
  line-height: 0;
  background-color: rgb(1 24 44 / 57%);
  border-radius: 3rem;
  width: auto;
  display: inline-block;
  border: 1px solid #FFF;;
}
#head-cover .icon {
  display: inline-block;
  height: 3rem;
  width: 3rem;
  background-color: #FFF;
}
#head-cover .breadcrumb {
  margin-left: 1.5rem;
}
#head-cover .breadcrumb a {
  color: var(--bs-quinary);
  text-shadow: 1px 1px 2px rgb(0 0 0 / 59%);
  position: relative;
  bottom: 0.5px;
  -webkit-transition: all .35s;
  transition: all .35s;
}
#head-cover .breadcrumb a:hover {
  color: #FFF;
  text-shadow: 0px 0px 1px rgb(0 0 0 / 0%);
  bottom: 0px;
}

.node--type-progetto {
  padding-top: 30px;
  padding-bottom: 30px;
}
.node--type-progetto .label-title {
  text-transform: uppercase;
  color: var(--bs-primary);
}

.node--type-progetto #project-info .label-info {
  background: var(--bs-primary);
  color: #FFF;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 1.1rem;
  padding: 1rem 2rem;
  margin-bottom: 0;
}
.node--type-progetto #project-info .card-body {
  background: #f5f5f5;
  padding: 1.5rem 2rem 2rem 2rem;
}
.node--type-progetto #project-info .card-body .field  {
  margin-bottom: 1rem;
}
.node--type-progetto #project-info .card-body .field-title {
  text-transform: uppercase;
  color: var(--bs-primary);
  font-weight: 600;
}

/* GALLERY Portfolio */
.portfolio-gallery {
  background: #1c456a;
}
.portfolio-gallery .gallery-content {
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}
.portfolio-gallery .gallery-items .col > a > img {
  box-shadow: 0 0 15px 1px rgba(0, 0, 0, 0.35);
  margin-bottom: 1.5rem;
}

/* SERVIZI */
#views-bootstrap-servizi-servizi-page {
  padding-top: 3rem;
  padding-bottom: 3rem;
}
#views-bootstrap-servizi-servizi-page .col {
  margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}
.page-servizi .card-servizi {
  background-color: rgba(11, 57, 94, 0.5);
  backdrop-filter: blur(2px);
  transform: scaleX(1) scaleY(1);
  -webkit-transition: all .35s cubic-bezier(.645,.045,.355,1);
  -khtml-transition: all .35s cubic-bezier(.645,.045,.355,1);
  -moz-transition: all .35s cubic-bezier(.645,.045,.355,1);
  -ms-transition: all .35s cubic-bezier(.645,.045,.355,1);
  -o-transition: all .35s cubic-bezier(.645,.045,.355,1);
  transition: all .35s cubic-bezier(.645,.045,.355,1);
}
.page-servizi .card-servizi:hover {
  background-color: rgba(11, 57, 94, 1);
  backdrop-filter: blur(0px);
  transform: scaleX(1.1) scaleY(1.1);
}

/* sinolo Servizio */
.node--type-servizio {
  margin-top: 2rem;
  margin-bottom: 4rem;
}
.node--type-servizio p {
  line-height: 1.5rem;
  margin-bottom: 1.2rem;
}
.node--type-servizio .paragraph {
  margin-bottom: 4rem;
}

/* lista Servizi */
.elenco-servizi {
  background-color: var(--bs-tertiary);
  background-image: linear-gradient(180deg, #5089d5 0%, #2e6597 100%);
  z-index: 1;
  position: relative;
  padding: 1rem;
  margin-top: 2rem;
}

.elenco-servizi::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.17;
  z-index: 0;
  background-image: url(../../images/texture-1.png);
  background-repeat: no-repeat;
  background-size: 200%;
  background-position: top;
}

.elenco-servizi h2.block-title {
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  font-size: 1.1rem !important;
}

.elenco-servizi .view-content {
  position: relative;
  z-index: 2;
}

.elenco-servizi ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.elenco-servizi ul li {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.elenco-servizi ul li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  padding: 0.6rem 0;
  transform: translateX(-2.7rem);
  transition: all 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.elenco-servizi ul li:hover a {
  transform: translateX(0);
}

.elenco-servizi .icon-wrap {
  width: 3rem;
  min-width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bs-primary);
  padding: 0.3rem;
  transition: inherit;
}

.elenco-servizi .icon-wrap img {
  max-width: 100%;
  height: auto;
  display: block;
}

.elenco-servizi .title-service {
  color: #FFF;
  display: block;
  word-break: break-word;
  flex: 1;
  transition: inherit;
}

/* Banner Portfolio */
.banner-project {
  background-image: url(../../images/bg-project.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top;
  color: #FFF;
  padding: 1.5rem 1rem;
}
.banner-project p {
  margin-bottom: 0;
}
.banner-project .title-banner {
  color: #f7f7f7;
  text-transform: uppercase;
  font-size: 1.1rem;
  font-weight: 400;
}
.banner-project .sub-title-banner {
  color: #c8c8c8;
  font-size: 0.9rem;
}
.banner-project header {
  border-left: 0.3rem solid #FFF;
  padding-left: 0.8rem;
  padding-top: 0.8rem;
  padding-bottom: 0.5rem;
  margin-bottom: 0.1rem;
}
.banner-project .btn-banner {
  background: #FFF;
  padding: 0.6rem 2rem;
  width: 100%;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-weight: 400;
}
.banner-project .btn-banner:hover {
  background-color: transparent;
  color: #FFF;
  border: 1px solid #FFF;
  -webkit-transition: all .35s;
  transition: all .35s;
}

/* CHI SIAMO (pagine base) */
.intestazione-titolo em {
  font-style: italic;
  font-weight: 300;
}
/* Paragraph - Titolo */
.bg-blu_scuro {
  background-color: var(--bs-primary);
  color: #FFF;
}
.bg-azzurro {
  background-color: var(--bs-tertiary);
}
.bg-grigio_chiaro {
  background-color: #f4f6f7;
  border-top: 1px solid #bcbcbc;
  border-bottom: 1rem solid var(--bs-tertiary);
}

/* intestazione */
.paragraph--type--intestazione {
  padding-top: 3.2rem !important;
  padding-bottom: 3.2rem !important;
}
.paragraph--type--intestazione.align-centrato {
  text-align: center;
}
.paragraph--type--intestazione.align-centrato .intestazione-titolo {
  font-size: 2.25rem;
}
.paragraph--type--intestazione .intestazione-etichetta {
  text-transform: uppercase;
  font-size: .875em;
  margin-bottom: .5rem;
}
.paragraph--type--intestazione .intestazione-titolo {
  font-weight: 500;
  margin-bottom: 0.8rem;
}
.paragraph--type--intestazione .intestazione-sottotitolo {
  font-size: 1.2rem;
  font-weight: 300;
}

/* titolo + testo */
.paragraph--type--titolo-testo .intestazione-etichetta  {
  display: inline-block;
  text-transform: uppercase;
  background-color: var(--bs-tertiary);
  padding: .2rem 1rem;
  color: #FFF;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.paragraph--type--titolo-testo .separator  {
  margin-top: 1.5rem;
}
.paragraph--type--titolo-testo .separator::after {
  background-color: var(--bs-tertiary);
  height: 4px;
  bottom: 3px;
}

/* titolo + testo */
.paragraph--type--titolo-testo .intestazione-etichetta,
.paragraph--type--testo-immagine .intestazione-etichetta {
  display: inline-block;
  text-transform: uppercase;
  background-color: var(--bs-tertiary);
  padding: .2rem 1rem;
  color: #FFF;
  font-size: .8rem;
  margin-bottom: 1rem;
}
.paragraph--type--titolo-testo .separator,
.paragraph--type--testo-immagine .separator {
  margin-top: 1.5rem;
}
.paragraph--type--titolo-testo .separator::after,
.paragraph--type--testo-immagine .separator::after {
  background-color: var(--bs-tertiary);
  height: 4px;
  bottom: 3px;
}

/* testo + immagine */
.paragraph--type--testo-immagine .separator {
  margin-bottom: 2rem;
}

@media (min-width: 992px) {
  .paragraph--type--testo-immagine.custom-gap .col-left {
    padding-right: 2rem;
  }
  .paragraph--type--testo-immagine.custom-gap .col-right {
    padding-left: 2rem;
  }
}


/* FOOTER
*/
#footer {
  background: var(--bs-tertiary);
}
#footer .first-col,
#footer .second-col {
  padding-top: 4rem;
}
#footer .first-col {
  padding-bottom: 2rem;
}
#footer .first-col strong {
  font-weight: 500;
}
#footer .first-col .address-block > div {
  margin-bottom: 0.5rem;
}
#footer .block-title,
#footer .sedi-title {
  font-weight: 400;
  font-size: 1.4rem;
  text-transform: capitalize;
  margin-bottom: 1.4rem;
}
#footer .sedi-title {
  margin-top: 2.6rem;
  margin-bottom: 1.2rem;
}
#footer .second-col .nav {
  flex-direction: column
}
#footer .second-col ul li {
  margin-bottom: 0.5rem;
}
@media (min-width: 768px) {
  #footer .first-col {
    border-right: 1px solid rgba(255, 255, 255, 0.4)
  }
}
@media (max-width: 767px) {
  #footer .second-col {
    padding-top: 2rem;
    border-top: solid 1px #5682bd;
  }
  #footer .sedi-title {
    padding-top: 2rem;
    border-top: solid 1px #5682bd;
  }
}
#block-pmeconsulting-footersito .block-title {
  font-size: 1.7rem;
  font-weight: 600;
}
.flex-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.4)
}
#search-block-form {
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
}
#search-block-form .input-group input,
#search-block-form .input-group button {
  background-color: #6f94c4;
  color: #fff;
  border: none;
  padding: 0.7rem 2rem;
}
#search-block-form .input-group input {
  border-radius: 2rem 0 0 2rem;
}
#search-block-form .input-group button {
  border-radius: 0 2rem 2rem 0;
}
#search-block-form .input-group input::placeholder {
  color: #e0e0e0;
}
#search-block-form svg {
  vertical-align: middle;
  pointer-events: none;
}

/* Contatti */
.box-contact-info {
  color: #FFF;
  background-color: var(--bs-tertiary);
  padding: 2rem 2.4rem;
  background-color: var(--bs-tertiary);
  background-image: linear-gradient(180deg, #5089d5 0%, #2e6597 100%);
  z-index: 1;
  position: relative;
}
.box-contact-info::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.17;
  z-index: 0;
  background-image: url(../../images/texture-1.png);
  background-repeat: no-repeat;
  background-size: 200%;
  background-position: top;
}
.box-contact-info .info-content {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
}
.box-contact-info .info-content h2 {
  margin-bottom: 2rem;
}
.box-contact-info .info-content a {
  color: #FFF;
}
.contact-message-contatti-form {
  padding: 2rem 1rem;
}
@media (min-width: 768px) {
  .contact-message-contatti-form {
    padding: 2rem 2.4rem;
  }
}
.contact-message-contatti-form .form-control,
.contact-message-contatti-form .form-select {
  border-radius: 0;
  padding: 18px 20px;
  background-color: #FFF;
  border-radius: 4px;
  margin-bottom: 30px;
}
.contact-message-contatti-form label {
    font-family: var(--quicksand);
    color: var(--heading-color);
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--bs-primary);
    display: block;
}