/*
Theme Name: Salient Child Theme
Theme URI: http: //mysite.com/
Description: This is a custom child theme for Salient
Author: My Name
Author URI: http: //mysite.com/
Template: salient
Version: 0.1
*/

/*** HOMEPAGE ***/

.nectar-cta .link_wrap{
    top: -9px;
}
.wpsm-show, .wpsm-hide {
    color: #3cbfd1!important;
}
.nectar-cta .link_wrap .link_text:after, 
.nectar-cta[data-style="material"] .link_wrap .link_text:before, 
.nectar-cta[data-style="material"] .link_wrap .circle{
    border: 2px solid rgba(0,0,0,0.3);
    height: 40px;
    width: 40px;
    margin-top: -20px;
}
.nectar-flip-box .flip-box-back .inner, .nectar-flip-box .flip-box-front .inner {
    padding: 18px;
}
.nectar-cta .link_wrap .arrow:before{
    font-size: 31px;
    width: 38px;
    margin-top: -14px;
}
.nectar-cta[data-style="see-through"] .link_wrap .arrow:after{
    border-bottom: 2px solid #000000;
    margin-top: 0px;
    right: 15px;    
}
.cta-prodotti-home h3{
	font-size:21px !important;
}
h3>span.text{
    margin-right: 18px !important;
}
body .widget h4, body #footer-outer #custom_html-5.widget h4 {
    font-size: 18px!important;
    letter-spacing: 1px;
}
/**********************/
/*** PAGINA PRODOTTO ***/

/*Modifica testo titolo 'descrizione prodotto'*/
.woocommerce-tabs .full-width-content[data-tab-style="fullwidth"] ul.tabs li a{
    background: none !important;
}

/************************************************************************************************************************************/
/************************************************************************************************************************************/
/************************************************************************************************************************************/
/****modifiche L.R. ******************/
/************************************************************************************************************************************/
/************************************************************************************************************************************/
/************************************************************************************************************************************/

/***** nascondo Admin ****************/
.nectar-recent-posts-single_featured.multiple_featured .active .grav-wrap{
	display:none;
}
#page-header-bg[data-post-hs="default_minimal"] #single-below-header {
	display:none;
}

/***** nascondo tendina popolarità ****************/
.post-area.masonry.classic_enhanced article.post .post-meta,
.blog-recent[data-style*="classic_enhanced"] .post-meta {
	display:none !important;
}
form.woocommerce-ordering .orderby{
	display:none;
}

/***** sposto i risultati tutto a destra ****************/
.woocommerce .woocommerce-result-count {
    right: 0 !important; 
}

/****ricalcolo le percentuali delle 6 colonne dei prodotti*************************/

.woocommerce.columns-6 ul.products.columns-6 li.product, 
.woocommerce-page ul.products.columns-6 li.product {
	flex: 0 0 14.1%;
	max-width: 14.1%;
	margin-right:3%;
}
.woocommerce.columns-6 ul.products.columns-6 li.product:last-child, 
.woocommerce-page ul.products.columns-6 li.product:last-child {
	margin-right:0px;
}
/************/
a.nectar_quick_view.no-ajaxy.button{
	display:none !important; 
}
a.nectar_quick_view.no-ajaxy.button{
	margin:0px !important; 
}
.button.product_type_simple.ajax_add_to_cart{
	width:100% !important; 
}



div.widget.woocommerce.widget_product_search button[type=submit] {
    top: 29px !important;
}
body[data-button-style="slightly_rounded_shadow"] .container-wrap button[type="submit"]:hover{
	box-shadow: none !important; 
    -ms-transform: translateY(0px);
    transform: translateY(0px); 
    -webkit-transform: translateY(0px); 
}

.widget.widget_search{
    margin-bottom: 33px;
}
.woocommerce #sidebar .widget.woocommerce{
    margin-bottom: 33px;
}
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:before,
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4:after{
    display: none;
}
.woocommerce #sidebar .widget.woocommerce:not(.widget_price_filter) h4{
    padding-left: 0px !important; 
}


/************************/
#portfolio-nav{
	display:none !important;
}
body:not(.material) header#top nav > ul > li:not(#social-in-menu) > a {
    padding-bottom: 20px !important;
}

@media (max-width: 1100px){
	.button.product_type_simple.ajax_add_to_cart{
		width:100% !important; 
	}
	div.widget.woocommerce.widget_product_search button[type=submit] {
    top: 33px !important;
}
}
@media (max-width: 758px){ 
	.woocommerce.columns-6 ul.products.columns-6 li.product, 
	.woocommerce-page ul.products.columns-6 li.product {
		flex: 0 0 30%;
		max-width: 30%;
		margin-right: 5%;
	}
	
	.woocommerce.columns-6 ul.products.columns-6 li.product:nth-child(3), 
	.woocommerce-page ul.products.columns-6 li.product:nth-child(3),
	.woocommerce.columns-6 ul.products.columns-6 li.product:last-child, 
	.woocommerce-page ul.products.columns-6 li.product:last-child {
		margin-right:0px;
	}
}
@media (max-width: 530px){
	.woocommerce.columns-6 ul.products.columns-6 li.product, 
	.woocommerce-page ul.products.columns-6 li.product {
		flex: 0 0 100%;
		max-width: 100%;
		margin: 0px;
		margin-bottom: 30px;
	}
}

.div-contact-button{
	text-align:center;
	padding:40px 0 30px;
}
.contact-button{
	background:#3cbfd1!important;
	padding:15px 22px!important;
	border-radius: 4px!important;
	color:#fff;
}
.contact-button:hover{
	background:#48ccde!important;
	color:#fff;
}
/*********************   MODICHE VGD - Alberto ************************/
.search-desk{
	text-align:center;
}
.custom-product-search input{
	border-radius:10px;
	border:1px solid #e6e6e6;
}
.custom-product-search {
	    width: 58%;
    position: relative;
    float: right;
    margin-right: 20%;
}
body[data-form-submit="regular"] .custom-product-search button[type="submit"]{
	position:absolute;
	top:0px;
	right:10px;
	background-color:#f1f1f1 !important;
	color:#555;
}
.search-mobile, .search-in-mobile {
    display:none;
}

@media (max-width: 1400px){
.custom-product-search {
    width: 654px;
    position: relative;
    float: right;
     margin-right: 187px;
}
}
@media (max-width: 1300px){
.custom-product-search {
    width: 503px;
    position: relative;
    float: right;
    margin-right: 187px;
}
}
@media (max-width: 1000px){
.custom-product-search {
    width: 100%;
    position: relative;
    float: none;
    margin-right: auto;
}
.search-in-mobile .fa-close {
    margin-right: 10px;
}
.search-in-mobile{
    position: absolute;
    right: 51px;
    top: 7px;
	color:#333333!important;
	display:block;
	z-index:10000;
}
.custom-product-search-mobile input{
	border-radius:10px;
	border:1px solid #e6e6e6;
}
.custom-product-search-mobile {
	width:40%;
	position:relative;
	margin:0 auto;
}
body[data-form-submit="regular"] .custom-product-search-mobile button[type="submit"]{
	position:absolute;
	top:15px;
	right:5px;
	background-color:#f1f1f1 !important;
	color:#555;
}
}

.contact-form-header{
    text-align: left;
}
.md-contact-form-field {
    width:50%;
    float:left;
    padding: 5px;
}

.md-contact-form-field-msg{
    width:100%;
}

.md-contact-form-field input::placeholder,.md-contact-form-field textarea::placeholder{
    color: rgba(60,191,209,0.94);
}

.md-contact-form-acceptance{
    float: left;
    text-align: left;
    margin-bottom: 10px;
}

.md-contact-form-acceptance .wpcf7-list-item{
    margin-left: 0;
}

.wpcf7-form .md-contact-form-acceptance label > span,.wpcf7-form .md-contact-form-acceptance label > span a,.wpcf7-form .md-newsletter-form-acceptance label > span,.wpcf7-form .md-newsletter-form-acceptance label > span a{
    color: white !important;
    font-size: 14px;
}
.single-post .md-contact-form-acceptance label > span, .single-post .md-contact-form-acceptance label > span a, .single-product .md-contact-form-acceptance label > span, .single-product .md-contact-form-acceptance label > span a{
	color: #3cbfd1 !important;
}
.md-newsletter-unsuscribe-text{
    color: black;
    font-size: 14px;
    margin-left: 1em;
}
.md-contact-form-acceptance label > span a,.md-newsletter-form-acceptance label > span a{
    color: white !important;
    font-size: 14px;
    text-decoration: underline;
}
.single-post .md-contact-form-acceptance input[type="checkbox"], .single-product .md-contact-form-acceptance input[type="checkbox"]{background:#3cbfd1 !important;}
.md-contact-form-acceptance input[type="checkbox"],.md-newsletter-form-acceptance input[type="checkbox"]{
    -webkit-appearance: none;
    border: 1px solid white;
    padding: 10px;
    border-radius: 7px;
    position: relative;
    top: 10px;
    margin-right: 10px;
  cursor: pointer;
}
.md-contact-form-acceptance input[type="checkbox"]:checked:after,.md-newsletter-form-acceptance input[type="checkbox"]:checked:after {
	content: '\2714';
	font-size: 14px;
	position: absolute;
	top: 0px;
	left: 5px;
	color: white;
}

.submit-contact-btn,.submit-newsletter-btn{
    margin-top: 10px;
    border: 1px solid white !important;
    width: 100% !important;
}

.contatti-contact-form .contact-form-header h1{
    color: black;
}

.contatti-contact-form .md-contact-form-field input,.contatti-contact-form .md-contact-form-field textarea{
    background-color: #f2f0f0;
    color: black;
    font-weight: bold;
}
.contatti-contact-form .md-contact-form-field input::placeholder,.contatti-contact-form .md-contact-form-field textarea::placeholder,.md-newsletter-form-field input::placeholder{
    color: black;
    
}

.contatti-contact-form .md-contact-form-acceptance label > span,.contatti-contact-form .md-contact-form-acceptance label > span a,.md-newsletter-form .md-newsletter-form-acceptance label > span ,.md-newsletter-form .md-newsletter-form-acceptance label > span a{
    color: black !important;
}
.contatti-contact-form .md-contact-form-acceptance label > span a{
    color: black !important;
}

.contatti-contact-form .submit-contact-btn{
    border: 1px solid rgba(60,191,209,0.94) !important;
}
.contatti-contact-form .md-contact-form-acceptance input[type="checkbox"],.md-newsletter-form-acceptance input[type="checkbox"]{
    border: 1px solid rgba(60,191,209,0.94);    
}
.contatti-contact-form .md-contact-form-acceptance input[type="checkbox"]:checked:after, .md-newsletter-form-acceptance input[type="checkbox"]:checked:after {
    color: rgba(60,191,209,0.94);
    
}

.md-newsletter-form{
    margin-top: 50px;
}

.md-newsletter-form input[type="submit"] {
    padding: 15px 22px!important;
}

 body[data-button-style="slightly_rounded_shadow"] input[type="submit"].submit-newsletter-btn:hover {
    box-shadow: none !important;
}

.submit-contact-btn,.submit-newsletter-btn {
    font-size: 14px !important;
    font-family: inherit;
}

.wpml-ls .wpml-ls-current-language .wpml-ls-item-toggle{
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}
body[data-dropdown-style="minimal"] #header-outer:not([data-format="left-header"]) header#top nav > ul > li.md_lang_switch:not(.megamenu) ul a.wpml-ls-item-toggle:hover{
    background-color: rgba(0, 0, 0, 0) !important;
}


body[data-dropdown-style="minimal"] #header-outer:not(.transparent):not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle span,
body[data-dropdown-style="minimal"] #header-outer:not(.transparent):not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover span,
body[data-dropdown-style="minimal"] #header-outer:not(.transparent):not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:after,
body[data-dropdown-style="minimal"] #header-outer:not(.transparent):not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover:after
{
    color: black;
}

body[data-dropdown-style="minimal"] #header-outer:not(.transparent):not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) ul a
{
    color: #999!important;
}


body[data-dropdown-style="minimal"] #header-outer.transparent:not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) ul.wpml-ls-sub-menu a.wpml-ls-link:hover,
body[data-dropdown-style="minimal"] #header-outer.transparent:not([data-format="left-header"]) header#top nav > ul > li:not(.megamenu) ul a.wpml-ls-item-toggle:hover,
body[data-dropdown-style="minimal"] #header-outer.transparent:not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover span,
body[data-dropdown-style="minimal"] #header-outer.transparent:not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown .wpml-ls-sub-menu a.wpml-ls-link:hover span,
body[data-dropdown-style="minimal"] #header-outer.transparent:not([data-format="left-header"]) header#top .wpml-ls-legacy-dropdown a.wpml-ls-item-toggle:hover:after{
    color: white !important;
}


.wpml-ls-legacy-dropdown .wpml-ls-sub-menu{
    border-top: 0;
}
.wpml-ls-legacy-dropdown .wpml-ls-sub-menu li a {
    
    background-color: rgba(0, 0, 0, 0);
    border: 0;
}
li.wpml-ls-item-legacy-dropdown:hover{
    background-color: rgba(0, 0, 0, 0);
    
}
.wpml-ls-legacy-dropdown .wpml-ls-current-language:hover>a {
    background-color: rgba(0, 0, 0, 0);
    
}
body[data-dropdown-style="minimal"] #header-outer:not([data-format="left-header"]) header#top nav > ul > li.md_lang_switch:not(.megamenu) ul.wpml-ls-sub-menu li a.wpml-ls-link:hover{
       background-color: rgba(0, 0, 0, 0) !important;
}


.md_lang_switch{
    max-width: 100px;
}

.wpml-ls-statics-shortcode_actions.wpml-ls-legacy-dropdown.js-wpml-ls-legacy-dropdown > ul{
    float: left;
    top: 31px;
    left: 15px;
}

.wpml-ls-sub-menu > li {
    float: none !important;
}


/*
.wpml-ls-item-toggle span,.wpml-ls-link span {
    color: black;
}*/



.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 35%;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}
@media only screen and (max-width: 1000px) {
	#header-outer.transparent header#top #logo {
    height: 75px;
}
	.swap-on-mobile {
		display: flex !important;
		flex-direction: column-reverse;
	}
	body .vc_row-fluid .vc_col-sm-2 {
    width: 100% !important; 
     margin-left: 0 !important;
}
.bapf_body{
	display:none;
}
#sidebar .berocket_single_filter_widget li {
	display:inline-block;
	width:49%;
	font-size:13px;
}
.bapf_sfilter .bapf_button, .bapf_sfilter label {
    width: 80%;
}
.contact-button {
	display:block;
}
header#top .col.span_3 {
	z-index:100 !important;
}
}
@media (max-width: 530px){
	
    .modal-content {
      width: 100%;
    }
    
    #md_lang_switch_js_mobile .wpml-ls-statics-shortcode_actions.wpml-ls-legacy-dropdown.js-wpml-ls-legacy-dropdown > ul {
        width: 100%;
        top: 0;
        left: 0;
    }
    
    #md_lang_switch_js_mobile .wpml-ls-legacy-dropdown .wpml-ls-current-language a{
        width: 100%;
    }
}

h3.berocket_aapf_widget-title{
    font-family: Muli;
    font-size: 20px!important;
    line-height: 15px;
    font-weight: 800!important;
    color: #999; 
}
ul.md_filter_product_tag {
    max-height: 600px;
    overflow-y: scroll;
}

@media (min-width: 991px) {
    .woocommerce.archive .wpsm-content-hide{
        display: block !important;
    }

    .woocommerce.archive .wpsm-show,
    .woocommerce.archive .wpsm-hide{
        display: none !important;
    }
}

@media (max-width: 530px){
    ul.md_filter_product_tag {
        max-height: 400px;
        overflow-y: scroll;
    }
}