:root {
    --accent:#ee287c;
}

body, * {scroll-behavior: smooth;}

@media only screen and (min-width: 992px) {
  .footer .container-fluid {
    padding: 0 50px;
  }
}

@font-face {
  font-family: 'edilmetal';
  src:  url('/templates/cassiopeia_firewall/fonts/edilmetal.eot?32i9dj');
  src:  url('/templates/cassiopeia_firewall/fonts/edilmetal.eot?32i9dj#iefix') format('embedded-opentype'),
    url('/templates/cassiopeia_firewall/fonts/edilmetal.ttf?32i9dj') format('truetype'),
    url('/templates/cassiopeia_firewall/fonts/edilmetal.woff?32i9dj') format('woff'),
    url('/templates/cassiopeia_firewall/fonts/edilmetal.svg?32i9dj#edilmetal') format('svg');
  font-weight: normal;
  font-style: normal;
  font-display: block;
}

[class^="icon-"], [class*=" icon-"] {
  speak: never;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.icon-coperture-trasparenti:before {
  content: "\e934";
  font-family: 'edilmetal' !important;
}
.icon-coperture-amianto:before {
  content: "\e935";
  font-family: 'edilmetal' !important;
}
.icon-serramenti:before {
  content: "\e936";
  font-family: 'edilmetal' !important;
}
.icon-prefabbricati-acciaio:before {
  content: "\e937";
  font-family: 'edilmetal' !important;
}
.icon-rivestimenti-acciaio:before {
  content: "\e938";
  font-family: 'edilmetal' !important;
}

.inline-flex {display:flex;align-items:center;}
@media only screen and (max-width:899px) {
  .inline-flex {flex-direction:column;}
}

img.full-cover {width: 100%;height: 100%;object-fit: cover;object-position:center;}

.nav__header img.logo {max-width:180px;}

.nav__menu {position:relative;}
.nav__menu > li {position:unset;}
.nav__menu > li > a {
  text-transform: uppercase;
  color: #777;
  display:flex;
  justify-content:center;
}
.nav__menu > li > a::after {
  content:'';
  position:absolute;
  width:32px;
  height:2px;
  top:80%;
  background:var(--accent);
  opacity:0%;
  transition:all 250ms;
}
.nav__menu > li > a:hover::after {
  opacity:100%;
  transition:all 250ms;
}

ul.nav__dropdown-menu {
  display:flex;
  flex-flow:row wrap;
}

@media only screen and (max-width:991px) {
  .nav__dropdown-menu {display:none!important;}
}

ul.nav__dropdown-menu li {
  width:33.33%;
}

ul.nav__dropdown-menu li a {
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:1em;
  gap:10px;
  font-weight:500;
  font-size:15px;
  text-align:center;
  line-height:1.15em;
}

ul.nav__dropdown-menu li.active a {
  color:var(--accent);
}

ul.nav__dropdown-menu li a span.icon::before {
  font-size:28px;
}

.nav__dropdown .nav__dropdown > a:after {display:none;}

.nav__container .flex-parent {width:100%;justify-content:space-between;}

.services .service__title {
    font-size:24px;
    white-space:nowrap;
}

@media only screen and (max-width:899px) {
  .gallery-cols .service__title {font-size:18px;}
}

.feature.sv-item svg {
    height:48px;
    width:auto;
}

.feature.sv-item:hover svg path {
    color:#000;
    transition:all 250ms;
}

.feature.sv-item:hover svg path {
    fill:var(--accent);
    transition:all 250ms;
}

a.btn span {color:#000;}

.footer__bottom {
  padding: 12px;
  background: rgba(0,0,0,0.5);
}

footer .colophon {
  display:flex;
  align-items:center;
  justify-content:space-between;
}

@media only screen and (max-width:899px) {
  footer .colophon {
    flex-direction:column;
  }
}

footer ul.company-info {
  margin-top:1em;
}

footer ul.policies {
  gap:1em;
}

@media only screen and (max-width:889px) {
  footer ul.policies {gap:.25em;margin:.5em 0;}
}

footer .widget h3 {
  color:var(--accent);
  font-size:32px;
  margin:0;
}

footer p.address {
  line-height:1.2em;
}

footer ul.legal {
  margin-top:10px;
}

footer ul.legal li a {
  font-size:12px;
  text-transform:uppercase;
  font-weight:bold;
}

.widget_nav_menu li {padding:0;}

footer .widget.center {
  text-align:center;
}

ul > li > a.contact-item-icon {
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
  padding:8px 0;
}

li a.contact-item-icon svg.icon {
  height:24px;
  width:auto;
}

li a.contact-item-icon svg.icon path {
  fill:var(--accent);
}

.footer__widgets .col {
    padding:28px;
}

.contact .logo {
    margin-bottom:1em;
}

.statistic-wrap {
    padding: 36px 0;
    border-top: 3px solid #e5e5e5;
    border-bottom: 3px solid #e5e5e5;
    margin:40px 0;
}

section.solutions .project__img-holder > a {
    height:280px;
}

section.solutions .project__img-holder > a img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
}

@media only screen and (min-width:1024px) {
    section.solutions .project__img-holder > a {
        height:640px;
    }
}

/* GALLERY */
section.portfolio-gallery {
  padding:40px 0;
}

section.portfolio-gallery .project__img-holder {
    height:340px;
}

.gallery-filters {
  margin:0;
  padding:20px 0;
}

#gallery-nav {
  margin-bottom:24px;
  padding-bottom:18px;
}

.gallery-menu-item {
  background:#f9f9f9;
  width:fit-content;
  max-width:240px;
  border-top:solid 4px #f9f9f9;
}

.gallery-menu-item.active {border-top:solid 4px var(--accent);}

.gallery-menu-item a {
  display:flex;
  color:#000;
  flex-direction:column;
  align-items:flex-start;
  justify-content:flex-start;
  gap:12px;
  padding:25px;
}

.gallery-menu-item a svg {
  height:36px;
}

.gallery-menu-item a span {
  line-height:1.28em;
  height:40px;
  font-size:13px;
}

@media only screen and (min-width:1024px) {
  .gallery-menu-item a span {font-size:14px;}
}

@media only screen and (min-width:1200px) {
  .gallery-menu-item a span {font-size:16px;}
  .gallery-menu-item {max-width:320px;}

}

.gallery-menu-item.active svg path,
.gallery-menu-item a:hover svg path {
  fill:var(--accent);
}

.content-section.depliant {
  padding:60px 0;
  text-align:center;
}

.content-section.depliant .btn {
  padding:14px 32px;
  margin-top:20px;
}

.contact .contact__item {display:flex;align-items:center;gap:18px;}
.contact .contact__item .contact-icon {width:48px;display:flex;align-items:center;justify-content:center;}
.contact .contact__item svg {height:38px;width:auto;}
.contact .contact__item svg path {fill:var(--accent);}

section.form-page .left {
  background:var(--accent);
  padding:32px 18px;
  width:30%;
}

section.form-page .left * {color:#FFF;}

section.form-page .right {
  background:#F9F9F9;
  width:70%;
  padding:32px 24px 32px 32px;
}

@media only screen and (max-width:899px) {
  section.form-page .row {
    flex-direction:column;
  }

  section.form-page .row .left,
  section.form-page .row .right {width:100%;padding:18px;}
}

section.portfolio-title {padding:80px 0 0 0;}
section.portfolio-title .title-row {position:relative;z-index:4;margin:0;}
section.portfolio-title .title-row h2 {z-index:4;color:#FFF;}
section.portfolio-title .title-row::after {
  content:'';
  position:absolute;
  width:70%;
  height:20vh;
  top:-40px;
  left:-40px;
  background:var(--accent);
  z-index:-1;
  max-width:600px;
}

@media only screen and (max-width:768px) {
  section.portfolio-title .title-row h2 {
    font-size:24px;
  }
  section.portfolio-title .title-row::after {
    content:'';
    position:absolute;
    width:100%;
    height:20vh;
    top:-20px;
    left:-20px;
    background:var(--accent);
    z-index:-1;
    max-width:unset;
  }
}

.process .process__title {
  text-transform:uppercase;
  font-weight:bold;
}

/* HERO SLIDER */
  .bigTitle {
    font-family:"Barlow", sans-serif;
    font-weight:900;
    line-height:1;
    font-size: 8vw;
  }
  @media (min-width: 1024px) {
    .bigTitle {
      font-size: 5vw;
    }
  }
  .bigTitle .colorIcon {
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
    background-color: #ee287c;
    display: inline-block;
    margin-left: 5px;
  }
  @media (min-width: 768px) {
    .bigTitle .colorIcon {
      width: 13px;
      height: 13px;
    }
  }
  @media (min-width: 1440px) {
    .bigTitle .colorIcon {
      width: 16px;
      height: 16px;
    }
  }
  
  .arrow-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-family: "CabinetGrotesk-extrabold", sans-serif;
    color: #000;
    transition: padding 1s cubic-bezier(0.16, 1, 0.3, 1);
    width: fit-content;
    font-size: 12px;
  }
  .arrow-button svg {
    width: 33px;
    margin-left: 10px;
  }
  .arrow-button svg circle {
    transition: fill 0.75s ease;
    fill: transparent;
  }
  @media (min-width: 425px) {
    .arrow-button {
      font-size: 16px;
    }
    .arrow-button svg {
      width: 45px;
    }
  }
  @media (min-width: 1024px) {
    .arrow-button {
      font-size: 20px;
    }
    .arrow-button svg {
      width: 62px;
    }
    .arrow-button:hover {
      padding-left: 20px;
    }
    .arrow-button:hover svg circle {
      fill: #ee287c;
    }
  }
  @media (min-width: 1440px) {
    .arrow-button {
      font-size: 15px;
    }
    .arrow-button svg {
      width: 60px;
    }
  }
  @media (min-width: 1920px) {
    .arrow-button {
      font-size: 18px;
    }
    .arrow-button svg {
      width: 70px;
    }
  }
  
  .home-showcase {
    padding: 0 var(--columnExt) 0;
    position: relative;
    margin:0;
  }
  .home-showcase .home-showcaseSlider {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide {
    position: relative;
    height: 72vh;
    overflow: hidden;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image {
    padding: 5vw;
    width: 100%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: flex-end;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container {
    max-width: 100%;
    margin: 0 0 5rem;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .bigTitle {
    transform: translate(-140%, 0);
    transition: transform 1.15s cubic-bezier(0.58, 0, 0.28, 0.99) 0.4s;
    color: #fff;
    margin: 0 0 2.5rem;
    text-shadow: #21212121 0px 0px 5px;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .container-arrow-button {
    transform: translate(-160%, 0);
    transition: transform 0.6s cubic-bezier(0.58, 0, 0.28, 0.99) 1s;
    width: fit-content;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .container-arrow-button .arrow-button {
    color: #fff;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .container-arrow-button svg path {
    fill: #fff;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .container-arrow-button svg circle {
    stroke: #fff;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .container-arrow-button:hover svg circle {
    stroke: #ee287c;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .filter {
    width: 100%;
    height: 100%;
    background-color: #10112b;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.6;
    transition: opacity 0.8s ease-in 0.5s;
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide-active .swiper-image .text-container .bigTitle,
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide-active .swiper-image .text-container .container-arrow-button {
    transform: translate(0, 0);
  }
  .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide-active .swiper-image .filter {
    opacity: 0.3;
  }
  .home-showcase .home-showcaseSlider .swiper-pagination {
    position: relative;
    bottom: 0;
    left: 0;
    width: fit-content;
    padding: 3.5% 0;
  }
  .home-showcase .home-showcaseSlider .swiper-pagination-bullet {
    width: 4vw;
    border-radius: 50px;
    height: 2px;
    background-color: #8f9397;
    opacity: 1;
    transition: width 0.8s ease-in-out, 0.4s ease-in-out;
    margin: 0 4px !important;
  }
  .home-showcase .home-showcaseSlider .swiper-pagination-bullet-active {
    background-color: #ee287c;
    width: 8vw;
  }
  .home-showcase .home-showcaseSlider .showcaseSlider-nav {
    display: flex;
    flex-direction: row;
    padding: 0 0 3.5% 5%;
    padding-right: 0;
  }
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next {
    position: static;
    display: flex;
    align-items: flex-end;
    font-weight: 900;
    margin: 0 2vw;
    width: 20px;
    height: auto;
  }
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev.swiper-button-disabled,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next.swiper-button-disabled {
    opacity: 1;
  }
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev.swiper-button-disabled:after,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next.swiper-button-disabled:after {
    color: #8f9397;
  }
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev::after,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next::after {
    font-size: 4vw;
    color: #ee287c;
  }
  .home-showcase .home-showcaseSlider #macaron {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    margin: 5%;
    width: 30%;
  }
  .home-showcase .home-showcaseSlider #macaron #text-circle {
    animation: rotate-360 12s linear 0s infinite reverse forwards;
    transform-origin: center;
  }
  .home-showcase .scrollSliderButton {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translate(-50%, 0%);
    color: #fff !important;
    text-decoration: none;
    font-size: 3.5vw;
    height: 21vw;
    font-family: "CabinetGrotesk-light", sans-serif;
  }
  .home-showcase .scrollSliderButton .line {
    height: 15vw;
    width: 1px;
    background: #ee287c;
    margin-top: 5px;
    animation: scroll-anim-mobile 1.6s cubic-bezier(0.62, 0.01, 0.71, 0.47) 0s infinite normal forwards;
  }
  @media (min-width: 1024px) {
    .home-showcase {
      margin:0;
    }
    .home-showcase .home-showcaseSlider {
      display: block;
    }
    .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide {
      height: clamp(45rem, 75vh, 5000px);
    }
    .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image {
      align-items: center;
    }
    .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container {
      max-width: 75%;
      margin: 0;
    }
    .home-showcase .home-showcaseSlider .swiper-wrapper .swiper-slide .swiper-image .text-container .bigTitle {
      margin: 0 0 1.25rem;
    }
    .home-showcase .home-showcaseSlider .swiper-pagination {
      position: absolute;
      bottom: 0;
      left: 0;
      padding: 0 0 2.5% 5%;
    }
    .home-showcase .home-showcaseSlider .swiper-pagination-bullet {
      width: 1.5vw;
      height: 3px;
      margin: 0 8px !important;
    }
    .home-showcase .home-showcaseSlider .swiper-pagination-bullet-active {
      width: 3vw;
    }
    .home-showcase .home-showcaseSlider .showcaseSlider-nav {
      position: absolute;
      bottom: 0;
      right: 0;
      z-index: 1;
      padding: 0 5% 2.5% 5%;
    }
    .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next {
      margin: 0 0.6vw;
    }
    .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-prev::after,
  .home-showcase .home-showcaseSlider .showcaseSlider-nav .showcaseSlider-next::after {
      font-size: 1vw;
    }
    .home-showcase .home-showcaseSlider #macaron {
      width: fit-content;
      width: 8.4vw;
    }
    .home-showcase .scrollSliderButton {
      position: absolute;
      left: 50%;
      bottom: 0;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: center;
      transform: translate(-50%, 40%);
      color: #fff !important;
      text-decoration: none;
      font-size: 0.9vw;
      height: 4.8vw;
      font-family: "CabinetGrotesk-light", sans-serif;
    }
    .home-showcase .scrollSliderButton .line {
      height: 4.8vw;
      width: 2px;
      background: #ee287c;
      margin-top: 5px;
      animation: scroll-anim 1.6s cubic-bezier(0.62, 0.01, 0.71, 0.47) 0s infinite normal forwards;
    }
  }

/* FORM */
.formResponsive .rsform-block {padding:1em!important;}
.formResponsive .formBody {display:flex!important;}

.formResponsive input,
.formResponsive select,
.formResponsive textarea {width:100%!important;border-radius:0!important;}

.formResponsive input,
.formResponsive select {height:36px!important;padding:.5em 1em!important;}

.formResponsive #submit {
  padding:16px 32px!important;
  background:var(--accent)!important;
  color:#FFF!important;
  border:none!important;
  box-shadow:unset!important;
  border-radius:0!important;
}
