/*
Theme Name: Colorificio Tirreno 2.0
Author: Bonart
Text Domain: colorificio
Template: bonart2.1
*/

html{
  position: relative;
  min-height: 100%;
  font-family: 'Poppins', sans-serif;
  font-size:1rem;
}

@media (max-width: 991px) {
  .navbar-nav li.dropdown:hover .dropdown-menu {
    display: none !important;
  }
}

/* DROPDOWN CSS */

@media (min-width: 991px) and (max-width: 1406px) {
	.navbar-nav >li>a {
    	font-size: 10px !important;
	}
	
	a.nav-link.dropdown-item {
		font-size: 10px !important;
	}
}

/* css to avoid coloring dropdown items on shop page */
a.nav-link.dropdown-item {
    color: #ACACAC !important;
	font-weight: 400 !important;
}
a.nav-link.dropdown-item:hover {
	background-color: #DDDDDD !important;
}

.navbar-nav .dropdown-menu {
	font-family: 'Poppins', sans-serif;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
}

.navbar-nav li.dropdown:hover .dropdown-menu {
	font-family: 'Poppins', sans-serif;
    display: block;
    visibility: visible;
    opacity: 1;
    transition: all 0.3s ease-in-out;
}

.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0;
    vertical-align: 0;
    content: "";
    border-top: 0;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
}

.display-7{
    font-size: 1.3rem;
}

@include media-breakpoint-up(sm) {
  html {
    font-size: 1.2rem;
  }
}

@include media-breakpoint-up(md) {
  html {
    font-size: 1.4rem;
  }
}

@include media-breakpoint-up(lg) {
  html {
    font-size: 1.6rem;
  }
}

body{
  margin-bottom: 305px;
  height: 100%;
  font-family: 'Poppins', sans-serif;
  background-color: #F6F6F6;
  font-size: 100%;

}

body:not(.page-template, .home, .page-template-page_linea){
/*   padding-top:106px; */
}

/* WILD HORSE PAINT PAGE */

.custom-container{
	margin-left: auto !important;
}

.text-primary{
  color:#AC4747!important;
}

.no-gutters {
  margin-right: 0;
  margin-left: 0;
  padding-right:0;
  padding-left:0;
}


.bg-gradient-dark{
  background: rgb(93,93,93);
  background: linear-gradient(360deg, rgba(93,93,93,1) 90%, rgba(246,246,246,1) 90%);
  color:#fff;
}

nav.navbar{
  /*border-bottom:2px solid #E43117;*/
  background: rgba(255,255,255,0.7);
}

@media screen and (max-width:991px){
    nav.navbar{
        background: rgba(255,255,255,1.0);
    }
    #slider_2398 .owl-item > div{
        min-height: 65vh!important;
  }
}

.navbar-nav >li>a{
  position: relative;
  color:#000; 
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.2s;
}
.navbar-nav >li>a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background-color: #AC4747;
  content: "";
  transition: width 0.2s;
}

ul#menu-selettore-lingua {
    list-style: none;
}
.lang-item {
  list-style: none;
}

.bg-primary{
  background-color:#AC4747!important;

}

.bg-light{
  background-color:#fff!important;
}

.bg-black{
  background-color:#000!important;

}

.bg-black a{
  color:#FFF;
  transition: none;


}

.bg-black a:hover{
  color:#AC4747;  
  text-decoration: none;
}
.navbar-nav>li>a:hover {
  background: transparent;
  color:#AC4747;
}

.navbar-nav>li.current-menu-item>a{
   /* border-bottom: 5px solid #89B5E0;*/
    background: transparent;
    color:#AC4747;
    font-weight: 700;
    
}

.navbar-nav >li>a:hover:after,.navbar-nav>li.current-menu-item>a:after {
  width: 100%;
}


.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}

a{
  color:#AC4747;
}

.text-grey{
  color:#969696;
}

.text-red{
  color:#AC4747;
}

.text-black{
  color:#000;
}

.text-light{
  font-weight: 300;
}

.pagination{
  display:block;
}
.page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 2px 0 0;
	border: 1px solid #eee;
	line-height: 1;
	text-decoration: none;
	border-radius: 2px;
	font-weight: 600;
}
.page-numbers.current,
a.page-numbers:hover {
	background: #f9f9f9;
}

h2.screen-reader-text {
  display: none;
}

.product-img{
 /* max-height:250px;*/
}

/*Titles*/
.page-title{
	font-weight: 300;
    letter-spacing: 0.2rem;
    color: #AC4747;
    font-size: 2.1rem;
}

.widget-title{
  font-weight: 300;
  letter-spacing: 0;
  font-size: 30px;  
}

main.container-fluid{
	margin-top:96px!important;
}


/*SLIDER*/
.ms-theme-highway{
  padding-bottom: 0!important;
}

.flexslider .caption{
  font-size: 18px;
  font-weight: bold;
}

.flexslider .caption-wrap{
  max-height:80px!important;
}

.slider_1434 .sa_hover_container{
  padding:0!important;
}

.sa_owl_theme .owl-item .sa_hover_container .sa_hover_buttons {
  display: block;
  width:100%!important;
  height:100%!important;
  top:0!important;
  left:0!important;
  opacity: 0;
}

.sa_owl_theme .owl-item .sa_hover_container:hover .sa_hover_buttons .sa_slide_link_icon{
  display: block;
  width:100%!important;
  height:100%!important;
}

.white .sa_hero_slider, .black .sa_hero_slider{
  height:90vh!important;
}



#slider_2398 .owl-dots{
  bottom:20px !important;
}

#slider_2398 .owl-dots .owl-dot span{
  height:18px !important;
  width:18px !important;
  background-color: #B5B5B5!important;
}

#slider_2398 .owl-dots .active span{
  background-color: #FFFFFF!important;
}

@media screen and (max-width:768px){
	.owl-carousel{
		/*padding-top:107px;*/
	}
}

/*HOME PRODUCT CAROUSEL*/
.js-carousel-item{
  padding:10px;
  background:#fff;
  padding:10px;
}
.carousel-item-3{
  box-shadow: 0 3px 6px rgba(0,0,0,0.16)!important;
}

.slick-arrow{
    z-index:9999;
}

.slick-prev{
    left:-65px;
}

/*BUTTONS*/

.btn{
  border-radius: 0;
  padding-left:2rem;
  padding-right:2rem;
}

.btn-primary, .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:focus,  .btn-primary:not(:disabled):not(.disabled):active:focus{
  background: #AC4747;
  border-color: #AC4747;
  color:#fff; 
  box-shadow: none;
}

.btn-primary.btn:disabled{
  background: #AC4747;
  border-color: #AC4747;
  color:#fff; 
  box-shadow: none;
  opacity:0.5;
}

.btn-primary:hover{
  background: #fff;
  border-color: #AC4747;
  color:#AC4747; 
}

.btn-black{
  background: #000;
  border-color: #000;
  color:#fff;   
}

.btn-black:hover{
  background: #fff;
  border-color: #000;
  color:#000;   
}

footer.footer{
  color:#AC4747;
  font-size: 0.9em;
  position: absolute;
  width: 100%;
  /*bottom: 0;*/
}

footer.footer a{
  color:#AC4747;
}

footer #menu-footer{
  padding:0;
  margin:0;
}

.aree-menu-container .menu li{
  padding:3px 0;
}

footer #menu-footer .menu-item{
  display:inline;
}

footer #menu-footer .menu-item:after{
  content:"/";
  margin-right:0.3rem;
  margin-left:0.3rem;
}

.aree-menu-container .menu{
  margin:0;
  padding:0;
  list-style: none;
}

/*front page*/
.home-article, .home-news{

  padding:0;
  color:#fff;
}



.home-article, .home-news {
  background: #969696;
  border:none;
}

.home-article a{
  color:#fff;
}

.home-news a{ 
  color:#AC4747;
}

.home-article img{

}

.home-article-content{
  background-color:#969696;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

.wp-block-cover, .wp-block-cover-image{
  height:auto;
}

.single-prodotti{
    padding-top:106px;
}

.zoom-box{
  overflow: hidden;  
  height: 450px;
  color:#fff;
}

.zoom-box div{
  transition: 0.5s;  
  justify-content: space-around;
  align-items: flex-start;
  flex-direction: column;  
  background-position: center;
  background-size: 120%;
  background-repeat: no-repeat;  
  background-color: rgba(98,98,98,0.5);
  background-blend-mode: darken;
}


.zoom-box:hover{
color:#fff; 
}

.zoom-box:hover div {
  background-size: 130%;
  background-color: rgba(98,98,98,0.0);


}

/*PRODOTTI*/
.modal-header{
  background:#AC4747;
  color:#fff;
}

.item-product>div{
  border:1px solid #fff;
  background: #fff;
  border:1px solid #ddd;  
}

.item-product>div:hover{
   border:1px solid #ddd;
   color:#AC4747;
}

.item-product-name a{
  color:#000;
  transition: all 0.3s ease-out;

}

.item-product>div:hover .item-product-name a{
  color:#AC4747;
}

.product-menu.nav-pills .nav-link, .download-menu.nav-pills .nav-link, .page-sub-menu.nav-pills a {
  color:#444;
}

/**/
.nav-pills .nav-link{
  border-radius:0;
}

.page-sub-menu.nav-pills a{
  display: block;
  padding: .5rem 1rem;
}

.nav-pills .nav-link.active, .nav-pills .show>.nav-link, .page-sub-menu.nav-pills .current-menu-item a{
  background-color: #AC4747;
  color:#fff;
}

.nav-link:hover,.page-sub-menu.nav-pills  a:hover {
  color:#000;
  background-color: #ddd;  
  text-decoration: none;
}

/*MARKETING*/
.marketing-item{
  border:1px solid #ddd;
  border-collapse: collapse;
  box-sizing: border-box;
  margin-left: -1px;
  margin-top:-1px;
}

.suggerimenti-home-row{
    background-color:#5D5D5D;

}

@media (min-width: 768px){
  .navbar-expand-md .navbar-nav .nav-link {
    padding:0.2rem 0.2rem;  
    margin: 0 1rem;  
  }


  .center{
    position: absolute;
    top: 50%;
    left: 50%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }

  .center-left{
    position: absolute;
    top: 50%;
    left: 30%;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
  }

  .recapiti-box{
    background-color: #AC4747;
    text-align: start;
    margin: auto;
    z-index: 3;
    height: 50%;
    transform: translate(-150%, -50%);
  }

  .contatti-box{
    background-color: #fff;
    z-index: 2;
    padding-left: 5%;
    max-height: 150%;
    transform: translate(-35%, -50%);
  }




  .separator {
    color: grey;
    display: flex;
    align-items: center;
    text-align: center;

  }
  
  .separator::before,
  .separator::after {
    content: '';
    flex: 1;
    border-bottom: 5px solid grey;
  }
  
  .separator:not(:empty)::before {
    margin-right: 50px;
  }
  
  .separator:not(:empty)::after {
    margin-left: 50px;
  }

  .button-border{
    border-radius: 5px;
    border: 1px solid #fff;
  }

  .img-main{
    filter: brightness(50%);
    z-index: 1;
  }

  .img-background{
    position: relative;
    z-index: 4;
  }



  .margin{
    margin-top: 5%;
    margin-bottom: 5%;
  }



  .footer-content-border:before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 50%;
    border-left:5px solid grey;
  }

  .nopadding {
    padding: 0px !important;
    margin: 0px !important;
 }

 .image-fullweight{
    width: 100%;
 }

 .seachform-form {
  display: flex;
  flex-direction: row;
  border: 1px solid #000;
  border-radius: 50px;
  background-color: #FFF;
}

.searchform-input {
  width: 900px;
  flex-grow: 2;
  border: none;
  outline: none;
  border-radius: 50px;
}

.searchform-input-button {
  flex-grow: 2;
  border: none;
  border-radius: 50px;
}

.bottom-left {
  position: absolute;
  bottom: 64px;
  left: 128px;
}

  .arrow {
    border: solid #fff;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 10px;
  }

  .right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
}

@media screen and (max-width:768px){
  .zoom-box{
    height: 260px;
  
  }
.sa_hover_container {
     min-height:50vh!important;
 }


}

@media screen and (max-width: 575px){
    .contact-footer-form{
        position:relative!important;
        transform: none!important;
    }
}

@media screen and (min-width:992px) and (max-width:1220px){
    .navbar-nav >li>a{
        font-size:0.75rem;
    }
    .navbar-brand img{
        max-width:130px;
    }
}

.wpcf7 form.init .wpcf7-response-output {
    display: none;
	margin-top:1.5rem!important
}