/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/



/* Menu style */
html body ul li.current-menu-item a::after{
  display: none !important;
}
/* End Menu style */

/* Last news section */
html body #last-news .using-image {
  transform: none !important;
}
/* End Last news section */

/* Style button */
.nectar-button.large {
  white-space: nowrap;
}
/* End style button */

html body .landing-button i::before {
  font-size: 35px;
}

html body .extra-padding .vc_column-inner {
  padding-left: 40px !important;
}
html body .left-top .vc_column-inner .wpb_wrapper {
  position: relative;
}

html body .left-top .vc_column-inner .wpb_wrapper::before {
  border-top: 9px solid #e30613;
  border-left: 9px solid #e30613;
  width: 32px;
  height: 18px;
  z-index: 3;
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
}

html body .right-top .vc_column-inner .wpb_wrapper::before {
  border-top: 9px solid #e30613;
  border-right: 9px solid #e30613;
  width: 32px;
  height: 18px;
  z-index: 3;
  content: '';
  position: absolute;
  top: -25px;
  left: -25px;
}


/* style form */
html body .wpcf7-list-item {
  margin: 0;
}

html body .wpcf7-list-item .wpcf7-list-item-label {
  color: #8f8f8f!important;
}
/* End style form */

/* Style button cookie banner */
html body .cn-button.wp-default {
  color: #000;
  border: 1px solid #000!important;
  background-color: transparent;
  margin: 0 10px 0 0!important;
}

html body .cn-buttons-container, .cn-text-container {
  display: flex!important;
  width: 100%;
}

html body #list-product .left-top .vc_column-inner .wpb_wrapper::before {
  top: -15px;
  left: -15px;
}

/* Style archive prodotti */
html body[data-bg-header="true"].archive .container-wrap,
html body.tax-prodotti_category .container-wrap,
html body.tax-prodotti_category .container-wrap p{
  padding-top: 0!important;
  padding-bottom: 0;
}
html body.tax-prodotti_category .container-wrap .article-content-wrap {
  padding-left: 0;
}
html body.tax-prodotti_category .container-wrap .article-content-wrap h3 a {
  font-weight: 600;
}

html body.tax-prodotti_category .container-wrap .article-content-wrap .excerpt {
  display: none;
}

html body.tax-prodotti_category #fws_60e56fdc32035 > div.row-bg-wrap > div > div {
  background-color: #fff!important;
}
/* End atyle archive prodotti */

/* Single template prodotti */
html body.single-prodotti .page-header-bg-image {
  background-position: right center;
}
/* End Single template prodotti */

/* Single template */
.single-servizi, .single h1 {
  text-align: left;
}

html body .row-button-aligned .column_container .vc_column-inner .wpb_wrapper {
  height: 100%;
  position: relative;
  margin-bottom: 105px;
}

html body .row-button-aligned .column_container .vc_column-inner .wpb_wrapper a:last-child {
  position: absolute;
  bottom: -45px;
  top: auto;
  display: block;
}

.nectar-flickity.nectar-carousel.nectar-carousel:not(.masonry) .flickity-viewport {
  margin: 0!important;
}

.nectar-flickity.nectar-carousel[data-format="default"] .flickity-slider .cell {
  padding: 0!important;
}

.centered-button-carousel div.row_col_wrap_12_inner.col.span_12.left > div > div > div.wpb_wrapper > a {
  margin-left: 25%!important;
}

.nectar-simple-slider.sizing-aspect-ratio.aspect-16-9 {
  padding-bottom: calc((9 / 16) * 50%)!important;
}

@media only screen and (max-width: 767px) {
  
  .height-mobile {
    height: 50vw;
  }

  .blog .posts-container {
    display: block!important;
  }

  .blog .posts-container article {
    width: 100%!important;
  }

  .nectar-simple-slider.sizing-aspect-ratio.aspect-16-9 {
    padding-bottom: 50vh!important;
  }

  .page-header-bg-image-wrap {
    opacity: 0.8;
  }

  #page-header-bg  span.subheader,
  #page-header-bg  h1 {
    color:#fff!important;
  }

  #page-header-bg .container h1 {
    font-size: 32px;
    line-height: 36.6px;
  }

  #page-header-bg .container span.subheader {
    font-size: 22px!important;
    line-height: 1.6!important;
  }

  .mobile-full-width .img-with-aniamtion-wrap .inner,
  .mobile-full-width .img-with-aniamtion-wrap  {
    max-width: 100%!important;
  }

  html body #page-header-wrap,
  html body #ajax-content-wrap #page-header-wrap #page-header-bg {
    height: 50vh!important;
  }

  #page-header-bg {
    display: flex!important;
    align-items: center;
  }

  #page-header-bg .container {
    height: auto!important;
    width: 80%!important;
  }

  html body .nectar-milestone .number {
    font-size: 70px!important;
    line-height: 75px!important;
  }

  /* contqtore mobile no padding */
  html body #no-padding-mobile .vc_column-inner { 
    padding-bottom: 0!important;
  }
}

@media only screen and (max-width:999px){
  .height-mobile-vh {
    height: 50vh;
  }
}

/* Archive tax category */
.tax_archive_category .nectar-button{
  bottom: -80px!important;
}

.tax-prodotti_category .posts-container{
  height:auto!important;
}

.tax-prodotti_category .img-with-aniamtion-wrap  .hover-wrap{
  box-shadow: none!important;
  border:2px solid;
}

/* Blog */
.blog .posts-container {
  display: flex;
  flex-wrap: wrap;
}

.blog .posts-container article {
  width: 33%;
}

.blog .posts-container article .post-content {
  padding-left: 0!important;
}

.blog .posts-container article .content-inner {
  border: none!important;
  padding:25px;
  margin-bottom: 0!important;
  padding-bottom: 0!important;
}

.blog .posts-container article .animated {
  opacity: 1!important;
}
/* End Blog */

.white-space-link a {
  white-space: nowrap;
}

.blog-title .inner-wrap .news {
  display: none!important;
}

.page-header-overlay-color {
  margin-left: 0!important;
}

.wpcf7-not-valid-tip {
  color:red!important;
}

@media only screen and (min-width: 900px) {
  .wrp_filters_cat {
    display: flex;
    justify-content: space-between;
  }

  .wrp_filters span.cat {
    font-weight: 600;
    float: left;
    color: #000;
  }

  .wrp_filters .wrp_item {
    float: right;
    margin-left: 10px;
    
  }
}

@media only screen and (max-width: 900px) {
  .wrp_filters span.cat {
    font-weight: 600;
    margin-top: 15px;
    color: #000;
  }

  .pum-container {
    max-width: 90%!important;
    left: 0!important;
    right:0!important;
    margin: 0 auto!important;
  }
}


  .wrp_filters span {
    display: block;
  }

  .wrp_filters span label {
    display: flex;
    align-items: center;
  }

div.nectar-button {
  border: 2px solid #6fafa8;
  background-color: #fff;
  color: #6fafa8;
  margin-bottom: 0!important;
  margin-left: 20px!important;
  cursor: pointer;
}

div.nectar-button.active,
div.nectar-button:hover {
  border: 2px solid #6fafa8;
  background-color: #6fafa8;
  color: #fff;
}

#fws_620a631cd4b86 {
  padding-top: 0!important;
}

#newsletter-popup-form, .alert-danger, #newsletter-popup-ty {
  margin: 50px 0;
}

#newsletter-popup-form input, #newsletter-popup-form select{
  margin-bottom: 15px;
}

#newsletter-popup-form label{
  margin-bottom: 10px;
  display: block;
}

.collapse {
  display: none;
}

#newsletter-popup-ty h2{
  color: rgb(111, 175, 168);
}

#newsletter-popup-form input.error{
  border-color:red;
}

.alert-danger h3,
.error,.alert-danger {
  color:red;
  font-weight: 600;
}

#header-secondary-outer a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: none;
  font-weight: 600;
}

#header-secondary-outer a img {
  margin-right: 10px;
}


#newsletter-popup-submit {
  border-color: #e30613!important;
  color: #e30613!important;
}

#newsletter-popup-submit:hover {
  border-color: #e30613!important;
  color: #fff!important;
  background: #e30613!important;
}

@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


.loading {
  position: fixed;
  top: 30%;
  left: 50%;
  transform: translate(-50%);
  max-width: 80px;
  z-index: 9999;
  -webkit-animation: rotating 0.6s linear infinite;
  -moz-animation: rotating 0.6s linear infinite;
  -ms-animation: rotating 0.6s linear infinite;
  -o-animation: rotating 0.6s linear infinite;
  animation: rotating 0.6s linear infinite;
}