/*
Theme Name: Divi-child
Theme URI: https://www.elegantthemes.com/gallery/divi/
Description: Tema hijo de Divi adaptado por optika.es
Author: Optika
Author URI: https://optika.es
Template: Divi
Version: 1.0.0
*/

@import url("../Divi/style.css");

/*----------------- Empieza a añadir cambios aquí abajo -------------------------------*/

/* MENU MOBILE */
#main-header .et_mobile_menu li ul.hide {
    display: none !important;
}
#mobile_menu .menu-item-has-children {
    position: relative;
}
#mobile_menu .menu-item-has-children > a {
    background: transparent;
}
#mobile_menu .menu-item-has-children  >a + span {
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px 20px;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
    z-index: 3;
}
span.menu-closed:before {
    content: "\4c";
    display: block;
    color: inherit;
    font-size: 16px;
    font-family: ETmodules;
}
span.menu-closed.menu-open:before {
    content: "\4d";
}
/* FIN MENU MOBILE */

/** FICHA PRODUCTO **/
#ficha-producto-detalles-del-producto-atributos{
	margin-top: 60px;
}

#ficha-producto-detalles-del-producto-atributos div{
	margin-bottom: 10px;
}

.seccion-ficha-producto{
	margin-bottom: 60px;
}

.seccion-ficha-producto h2{
    border-bottom: 1px solid #c7c7c7;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.product .related h2.woocommerce-loop-product__title{
	font-size: inherit !important;
}
/** FORMULARIO FICHA PRODUCTO */
.woocommerce div.product .out-of-stock {
    color: red;
    margin-bottom: 20px;
}
#mw-product-form{
    margin:20px 0;
}
#mw-product-form div{
    width:100%;
    margin-bottom:20px;
}
#mw-product-form .input{
    width:100%;
    border: 1px solid #333;
    font-size: 13px;
    line-height: 1.5em;
    color: #000000;
    background-color: #eaeaea;
    padding: 16px;
}
#mw-product-form .input::placeholder{
    color: #000000;
}
#mw-product-form-send{
    float:right;
    cursor:pointer;
}
.mw-alert-success{
    padding:16px !important;
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}
.mw-alert-danger{
    padding:16px !important;
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}
.mw-alert-warning{
    padding:16px !important;
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}
.label-rgpd{
    font-size:12px;
}
.product_meta{
    padding-top:20px;
}
.mt-40{
    margin-top:40px;
}

@media (max-width: 409px) {
	.woocommerce div.product form.cart .button{
		margin-top: 20px;
	}
}


@media (max-width: 480px) {
	.seccion-ficha-producto > h2{
		font-size: 20px;
	}
}

@media (min-width: 769px) and (max-width: 852px) {
	.woocommerce div.product form.cart .button{
		margin-top: 20px;
	}
}

@media (min-width: 981px) and (max-width: 1148px) {
	.woocommerce div.product form.cart .button{
		margin-top: 20px;
	}
}


/** FIN FICHA PRODUCTO **/


/* The sidebar menu */
.collapsed-sidebar {
  height: 100%; /* 100% Full-height */
  width: 0; /* 0 width - change this with JavaScript */
  position: fixed; /* Stay in place */
  z-index: 9999999; /* Stay on top */
  top: 0;
  right: 0;
  background-color: #fff; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding-top: 60px; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the collapsed-sidebar */
}


#collapsed-sidebar.collapsed {
	width: 350px;
}
#page-container.page-container-collapsed-sidebar{
	margin-right: 250px !important;
}

#overlay-collapsed-sidebar{
	top: 0;
	left: 0;
	right: 0;
	position: fixed;
	bottom: 0;
	background-color: #000;
	z-index: 99999;
	opacity: .5;
	display: none;
}

#collapsed-sidebar section {
    padding: 0px 20px;
    margin-top: 10px;
	width:100%;
}

/* Position and style the close button (top right corner) */
.collapsed-sidebar .closebtn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 50px;
  margin-left: 50px;
}


/* On smaller screens, where height is less than 450px, change the style of the sidenav (less padding and a smaller font size) */
@media screen and (max-height: 450px) {
  .collapsed-sidebar {padding-top: 15px;}
  
  #collapsed-sidebar.collapsed {
  	max-width: 350px;
  	width: 100%;	
	}
}

#collapsed-sidebar .collapsed-sidebar-element.widget_search{
	float: inherit;
}

#collapsed-sidebar .widget_premmerce_filter_filter_widget .filter__title{
	font-weight: 500;
	color: #333;
}

#collapsed-sidebar .widget_premmerce_filter_filter_widget select{
	width: 100%;
}

#collapsed-sidebar .widget_premmerce_filter_filter_widget .pc-range-slider__control{
	border: 1px solid #c7c7c7;
    margin-top: 10px;
}

#collapsed-sidebar .widget_premmerce_filter_filter_widget .pc-range-slider__control .ui-slider-range{
	height: 3px !important;
	margin-top: 0;
}

#collapsed-sidebar .widget_aws_widget {
	width: 100%;
}

.boton-filtrar-categorias {
    border: 1px solid #000000;
    border-radius: 3px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding: 12px 16px;
    font-size: 16px;
    cursor: pointer;
    background-color: transparent;
    margin: 14px 0 16px 0;
 }
 

.boton-filtrar-categorias:before {
    content: url('https://misterwils.fr/wp-content/themes/Divi-child/images/filter-categorias.svg');
	width: 18px;
	float: left;
	margin-right: 5px;
}

#woof_widget-2 .et_pb_widget .widget_block .collapsed-sidebar-element .WOOF_Widget {
    float: none !important;
}

/*Botón profesional en ficha de productos */

#bigbuttonprofesional {

    background-color: #fff;
    border: solid 1px #000;
    color: black;
    padding: 11px 11px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    margin: 11px 0 11px 0;
    cursor: pointer;
	letter-spacing: 1px;
}

#bigbuttonprofesional:hover {
    background: #eee;
    color: #000 ;
    opacity: 1 ;
}

/*Segunda descripción en categorías*/
@media only screen and (min-width : 1025px) {
    .second-description{
        column-count: 2;
        padding: 20px 0;
    }
}