/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/

.sticky-header #header-wrap #logo img {
  height: 80px;
}

#header-wrap {
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: none;
  transition: all 0.3s linear;
}
.is-expanded-menu .sticky-header #header-wrap {
  padding-top: 10px;
}

/* .is-expanded-menu .sticky-header #header-wrap {
    background-color: transparent;
    border: none;
} */

.is-expanded-menu #header.transparent-header:not(.sticky-header) #header-wrap {
  border-bottom: none;
  z-index: 299;
}

.text-stroke-white {
  color: transparent;
  -webkit-text-stroke: 1.5px;
  -webkit-text-stroke-color: #fff;
  color: transparent !important;
}

.text-stroke-black {
  color: transparent;
  -webkit-text-stroke: 1.5px;
  -webkit-text-stroke-color: #000;
  color: transparent !important;
}

.one-page-arrow.right {
  left: 90%;
  bottom: 150px;
  transform: rotate(90deg);
  font-size: 0.875rem;
  line-height: 1.25rem;
  letter-spacing: 0.613px;
  width: 200px;
}

#footer .widget {
  --cnvs-widget-title-font-size: 19px;
}

.read-more-wrap .read-more-trigger {
  color: #000 !important;
}

.read-more-mask {
  ackground-image: linear-gradient(
    rgba(255, 255, 255, 0.1) 33%,
    rgba(255, 255, 255, 1) 54%,
    white
  ) !important;
}

.emphasis-title.form-title h2 {
  font-size: 80px;
  line-height: 1.2;
}

.formbutton {
  padding: 1.2rem 2rem;
  margin: 0;
  font-size: 1.2rem;
  background: #000;
  border-radius: 0;
  font-weight: 600;
  color: #fff;
}
.formbutton:hover {
  background: #fdbad9;
  border-radius: 0;
  font-weight: 600;
  color: #000;
}

input[type="checkbox"] {
  position: relative;
  cursor: pointer;
}
input[type="checkbox"]:before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  background-color: #fff;
  border: 1px solid #ccc;
}
input[type="checkbox"]:checked:before {
  content: "";
  display: block;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  left: 0;
  background-color: #1e80ef;
}
input[type="checkbox"]:checked:after {
  content: "";
  display: block;
  width: 7px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  position: absolute;
  top: 2px;
  left: 6px;
}

.fbox-plain.fbox-sm .fbox-icon i {
  padding-top: 5px;
  right: -10px;
}

.text-pink {
  color: var(--cnvs-themecolor);
}
.text-pink-bg {
  color: #fff !important;
  background-color: var(--cnvs-themecolor);
  padding: 3px 10px;
  margin-left: -10px;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.1);
  height: 100vh;
  width: 100%;
}

.social-icon i {
  color: #fff;
}

.btnpreventivo {
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s, opacity 1s linear;
}
.sticky-header .btnpreventivo {
  visibility: visible;
  opacity: 1;
}

.btnpreventivo:hover div {
  color: #fff !important;
}

/*
.btnpreventivo:active {
    background-color: var(--cnvs-themecolor);
}
.btnpreventivo:active div {
	color: var(--cnvs-btn-color-dark) !important;
}

.btnpreventivo:active.hover {
    background-color: var(--cnvs-btn-color-dark);
}

.btnpreventivo:active.hover div {
	color: #fff !important;
}
*/

.footer-widgets-wrap {
  border-bottom: 1px solid #fff;
}

.divformbutton {
  text-align: right;
}
.privacy-text-acceptance {
  margin-left: 15px;
  position: relative;
  top: 3px;
}

.owl-carousel .owl-dots .owl-dot {
  background-color: #999;
  opacity: 0.5;
}

.owl-carousel .owl-dots .owl-dot.active,
.owl-carousel .owl-dots .owl-dot:hover {
  opacity: 1;
  background-color: var(--cnvs-owl-nav-bg);
}

/** STILI MASONRY **/

.label-left-top {
  font-weight: 300;
  position: absolute;
  top: 10%;
  left: 10%;
  text-align: left;
  width: 100%;
}
.label-left-center {
  font-weight: 300;
  position: absolute;
  top: 48%;
  left: 10%;
  text-align: left;
  width: 100%;
}
.label-left-bottom {
  font-weight: 300;
  position: absolute;
  bottom: 0%;
  left: 10%;
  text-align: left;
  width: 100%;
}

.label-right-top {
  font-weight: 300;
  position: absolute;
  top: 10%;
  right: 10%;
  text-align: right;
  width: 100%;
}
.label-right-center {
  font-weight: 300;
  position: absolute;
  top: 48%;
  right: 10%;
  text-align: right;
  width: 100%;
}
.label-right-bottom {
  font-weight: 300;
  position: absolute;
  bottom: 0%;
  right: 10%;
  text-align: right;
  width: 100%;
}

.label-center-top {
  font-weight: 300;
  position: absolute;
  top: 10%;
  text-align: center;
  width: 100%;
}
.label-center-center {
  font-weight: 300;
  position: absolute;
  top: 48%;
  text-align: center;
  width: 100%;
}
.label-center-bottom {
  font-weight: 300;
  position: absolute;
  bottom: 0%;
  text-align: center;
  width: 100%;
}

.invertlinkcolor {
  color: #000;
}

.invertlinkcolor:hover {
  color: var(--cnvs-link-color);
}
.privacy-text-acceptance a {
  color: #000;
}

.privacy-text-acceptance a:hover {
  color: var(--cnvs-link-color);
}

@media (min-width: 991px) {
  .owl-carousel .owl-item img {
    display: block;
    height: 110px;
    width: auto;
  }
}

@media (max-width: 991px) {
  #header.transparent-header:not(.sticky-header) #header-wrap {
    background-color: transparent;
    border-bottom: 0px solid #eee;
  }
  body:not(.is-expanded-menu) .sticky-header #header-wrap {
    padding-top: 10px;
    border-bottom: 0px solid #eee;
  }

  body:not(.is-expanded-menu) .sticky-header #header-wrap {
    background-color: transparent !important;
  }

  .read-more-wrap {
    min-height: 13rem !important;
  }
  .read-more-mask {
    background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 70%,
      rgba(255, 255, 255, 0.6) 70%,
      white
    ) !important;
  }
  .overlay {
    background-color: rgba(0, 0, 0, 0.2);
  }
  .button.button-xlarge {
    --cnvs-btn-padding-x: 2.25rem;
    --cnvs-btn-padding-y: 0.625rem;
    --cnvs-btn-fontsize: 1rem;
  }
  .btnpreventivo {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s, opacity 1s linear;
    width: 100%;
    position: fixed;
    z-index: 100;
    bottom: 0;
    margin: 0;
  }

  #copyrights .container {
    padding-bottom: 40px;
  }

  .container {
    --bs-gutter-x: 4.5rem;
  }
  #footer .widget {
    padding: 10px 0 20px;
  }

  .btnpreventivo:hover {
    background-color: var(--cnvs-themecolor);
  }
  .btnpreventivo:hover div {
    color: var(--cnvs-btn-color-dark) !important;
  }
  #oc-clients.owl-carousel .owl-dots .owl-dot {
    margin-top: 0;
  }

  #section-clients-2 .owl-dots {
    padding-top: 40px;
  }
}

@media (max-width: 767px) {
  .emphasis-title {
    --cnvs-emphasis-title-font-size: 35px;
  }
  .emphasis-title .text-stroke-white {
    font-size: 40px;
    -webkit-text-stroke: 1.2px #fff;
    text-stroke: 1.2px #fff;

    /*
-webkit-text-stroke: 1px white;
   color: white;
   text-shadow:
       3px 3px 0 #fff,
     -1px -1px 0 #fff,  
      1px -1px 0 #fff,
      -1px 1px 0 #fff,
       1px 1px 0 #fff;*/
  }

  .slidetitle {
    margin-bottom: 2rem !important;
    margin-top: 3rem;
  }
  .emphasis-title.form-title h2 {
    font-size: 50px;
  }

  .read-more-wrap {
    min-height: 15rem !important;
  }
  .read-more-mask {
    background-image: linear-gradient(
      rgba(255, 255, 255, 0.1) 70%,
      rgba(255, 255, 255, 0.6) 70%,
      white
    ) !important;
  }
  #footer {
    text-align: left;
  }
  .slider-inner {
    background-position: 80% center !important;
  }
  .divformbutton {
    text-align: left;
  }
}

::-moz-selection {
  /* Code for Firefox */
  color: #fff;
  background: #000;
}

::selection {
  color: #fff;
  background: #000;
}

.fluid-width-video-wrapper {
  padding-top: 50% !important;
}

.small-video-button {
  width: 54px;
  height: 54px;
  line-height: 54px;
  font-size: 22px;
}

/* Custom CSS per aumentare il margine tra gli elementi del menu */
.navbar-nav .nav-link {
  margin-right: 1rem;
  /* Regola il valore come necessario */
}

/* Stile per il titolo della pagina e il breadcrumb */
.breadcrumb-container {
  /* Sfondo arancione */
  padding: 0.5rem 1rem;
  /* Spaziatura */
  color: white;
  /* Colore del testo bianco */
}

/* Breadcrumb con sfondo arancione e spaziatura */
.breadcrumb-container .breadcrumb {
  background-color: transparent;
  /* Rimuove lo sfondo predefinito */
  margin-bottom: 0;
  /* Rimuove il margine inferiore */
}

/* Titolo della pagina */
.page-title {
  margin-bottom: 0;
  /* Rimuove il margine inferiore */
  color: white;
  /* Colore del testo bianco */
}
