/*
Theme Name: Divi_hijo
Theme URI: 
Template: Divi
Description: Modificación del tema original
Author: Dadú estudio
Author URI: 
Version: 1.0
  
*/

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

.carritovacio a.et-cart-info{display: none !important;}

p:empty:before, .et_pb_wc_add_to_cart .cart .quantity{display: none !important}

body.single-product ul.woocommerce-error{background: #bb1d11!important;}
/**** valoraciones ****/
p.cuerpo-valoracion{text-align: center; font-style: italic; padding-bottom: 30px;}
p.nombre-valoracion{color: #6880b2; font-weight: 700; text-align: center; padding-bottom: 0px;}
p.instituto-valoracion{text-align: center; padding-bottom: 65px !important;}
.sa_owl_theme .owl-dots .owl-dot span{background-color: white !important; border: 2px solid #6880b2 !important;}
.sa_owl_theme .owl-dots .owl-dot.active span{background-color: #6880b2 !important; border: 2px solid #6880b2 !important;}

/******* COOKIES BOTONES ********/
#cn-accept-cookie{    background: #6880b2;
    border: 1px solid #6880b2;}
#cn-accept-cookie:hover{background: transparent}
#cn-refuse-cookie{background: transparent;
    border: 1px solid #6880b2;}
#cn-refuse-cookie:hover{border: 1px solid rgba(0,0,0,0.85);}
#cn-more-info{    background: transparent;
    text-decoration: underline;}


/********* MENU **********/
div#top-header{display: none !important}
header#main-header{top: 0 !important}
ul#top-menu li.menu-item a{font-weight: bolder; margin-right: 20px;}
/* ul#top-menu li.menu-item:last-child a{margin-right: 0px; color: #6880b2 !important} */

@media all and (min-width: 981px) and (max-width: 1250px) {
	header#main-header .container{width: 95%;}
	ul#top-menu li.menu-item a{margin-right: 0px;}
}

/* HOME */
body.home #page-container{padding-top: 0 !Important;}
body.home header#main-header{background: transparent !important; box-shadow: none !important;}
body.home header#main-header.et-fixed-header{background: black !important; box-shadow: none !important;}
body.home header#main-header .logo_container img{content: url(https://cdeonline.es/wp-content/uploads/2024/01/Logo-CDE-blanco.png);}
body.home header#main-header.et-fixed-header .logo_container img{content: url(https://cdeonline.es/wp-content/uploads/2024/01/Logo-CDE-blanco.png);}
body.home ul#top-menu li.menu-item:last-child a{color: white !important}
body.home header#main-header.et-fixed-header ul#top-menu li.menu-item:last-child a{color: #6880b2 !important}


/********** CUSTOM MENU MOVIL *******/
@media all and (max-width: 980px){
	header#main-header{position: fixed !important}
/*	ul#mobile_menu li:last-child{background: #6880b2;}
	ul#mobile_menu li:last-child a{color: white !important; font-weight: 800;}
	*/
	
/* when mobile menu is open, change hamburger icon to x icon */
#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
    content: '\4d';
}
	
/* makes sub sub menu icon be right arrow instead of down arrow */
#top-menu .menu-item-has-children .menu-item-has-children > a:first-child::after,
#et-secondary-nav .menu-item-has-children .menu-item-has-children > a:first-child::after {
    content: '5';
}
	
/* - mobile menu toggling elements, injected via jQuery - */
/* make menu list item be relative, to be able to position toggle within this item */
#main-header #mobile_menu.et_mobile_menu .menu-item-has-children {
    position: relative;
}
	
/* the new toggle element, which is added via jQuery */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle {
    position: absolute;
    background-color: rgba(255,255,255, 0.2);
    z-index: 1;
    width: 36px;
    height: 36px;
    line-height: 36px;
    border-radius: 50%;
    top: 35px;
    right: 30px;
    cursor: pointer;
    text-align: center;
    -webkit-box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
            box-shadow: 0 2px 14px 0 rgba(0,0,0, .1);
}
	
/* the new toggle element when popped */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped {
    background-color: rgba(255,255,255, 0.2);
}

/* toggle icon */
#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle::before {
    font-family: "ETmodules" !important;
    font-weight: normal;
    font-style: normal;
    font-variant: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 36px;
    font-size: 24px;
    text-transform: none;
    speak: none;
    content: '\33';
    color: #fff;
}
/* toggle icon when triggered */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped::before {
    content: '\32';
}
/* hide sub menus by default */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle ~ ul.sub-menu {
    display: none !important;
    padding-left: 0;
}
/* show sub menu when triggered via jQuery toggle, and add slight bg color */

#main-header #mobile_menu.et_mobile_menu .sub-menu-toggle.popped ~ ul.sub-menu {
    display: block !important;
}
/* remove sub menu list item left padding, since padding will be on anchors */

#main-header #mobile_menu.et_mobile_menu li li {
    padding-left: 0;
}
/* adjust mobile menu anchors side paddings */

#main-header #mobile_menu.et_mobile_menu li a {
    padding-left: 20px;
    padding-right: 20px;
}
/* indent sub sub menus further */

#main-header #mobile_menu.et_mobile_menu li li li a {
    padding-left: 60px;
    padding-right: 20px;
}

#main-header #mobile_menu.et_mobile_menu .menu-item-has-children > a {
    background-color: transparent;
    font-weight: inherit;
}


/****** Code Style: Menu Full-screen ******/

/* Font Awesome */
.fa {
    margin: 10px ;
  }


.et_mobile_menu {
  top: 0;
  left: 0;
  position: fixed;
  z-index: 9998;
  overflow: scroll !important;
  background-color: white !important;
  margin-left: -30px;
  padding: 25% 0;
  height: 100%;
  width: calc( 100% + 60px);
  border-top: none;
}
ul#mobile_menu.et_mobile_menu li a {
  text-align: center;
  font-size: 18px;
  border: 0;
  padding: 4% 0;
  text-transform: uppercase;
  color: #333333;
}

.mobile_nav ul#mobile_menu .current_page_item > a {
  color: #5376F6;
  background-color: rgba(255,255,255, 0.1);
}
.mobile_nav ul#mobile_menu li ul li a {
  font-size: 1.05em !important;
  margin: auto;
  padding-top: 0.2em;
}
.et_mobile_menu li a:hover {
  color: #999;
  -webkit-transition: all .2s ease-in-out;
  transition: all .2s ease-in-out;
}
.mobile_nav.opened .mobile_menu_bar:before {
  content: '\4d';
  z-index: 9999;
  color: #6880b2;
}

ul#mobile_menu li.current-page-ancestor a, ul#mobile_menu li.current-menu-item a{color: #2898a9 !important; background: #f4f4f4 !important;}
ul#mobile_menu li a:hover{    color: #000000 !important; opacity: 1 !important; background-color: rgb(0 0 0 / 2%) !important;}
}




/****************** CODIGOS PAGINAS OBRAS *****************/

/************ CABECERA OBRAS *********/
.cabecera .borde{width:100%; height: 2px; background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 10%, rgba(255,255,255,1) 50%, rgba(255,255,255,1) 90%, rgba(255,255,255,0) 100%); margin: auto; max-width: 360px}

.cabecera p{margin: auto; padding-top: 3px; padding-bottom: 5px !important; text-align: center;}

/****** Ajustes responsive *******/
@media all and (min-width: 768px) and (max-width: 980px) {
 .botones-cabecera-obras .et_pb_column_1, .botones-cabecera-obras .et_pb_column_2{width: 48.5%;     margin-bottom: 0px;}
  .botones-cabecera-obras .et_pb_column_1{    margin-right: 3%;}
}

@media all and (max-width: 767px){
  .botones-cabecera-obras .et_pb_button{    width: 100%;
    text-align: center;}
  .botones-cabecera-obras .et_pb_column_1{margin-bottom: 15px}
  .botones-cabecera-obras .et_pb_column_2{margin-bottom: 0}
}

/********* BLOQUE ICONOS ********/
@media all and (max-width: 767px){
  .columnas-iconos{    display: flex;  flex-direction: column;}
  .columnas-iconos .et_pb_column{    width: 100% !important;
    margin-bottom: 30px !important;}
  .columnas-iconos .et_pb_column.et-last-child{margin-bottom: 0 !important}
}

/********* BLOQUE ACTIVIDADES ********/
@media all and (min-width: 768px) and (max-width: 980px){
  .variacion-seccion-detective-fotos .et_pb_column_1_2{width: 47.25%; margin-right: 5%; margin-bottom: 0!important}
  .variacion-seccion-detective-fotos .et_pb_column_1_2.et-last-child{margin-right: 0}
}


/********* BLOQUE INTERACTIVIDAD ********/
@media all and (max-width: 980px){
  .invertir-orden-cols-responsive{    flex-direction: column-reverse;     display: flex;}
  .invertir-orden-cols-responsive .columna-fotos{ margin-bottom: 0;}
}
@media all and (min-width: 768px) and (max-width: 980px){
  .invertir-orden-cols-responsive .columna-fotos{display: flex; }
  .invertir-orden-cols-responsive .columna-fotos .et_pb_image {    width: 47.25%;
    margin-right: 5%;
    margin-bottom: 0 !important;}
  .invertir-orden-cols-responsive .columna-fotos .et_pb_image.et_pb_image_5{margin-right: 0%;}
}

@media all and (max-width: 767px){.invertir-orden-cols-responsive .et_pb_button{width: 100%;
    text-align: center;}}


/********* BLOQUE CONTENIDOS ********/
@media all and (max-width: 767px){
  .columnas-escenas .et_pb_column{width: 100% !important;
    margin-right: 0 !important;}
}

@media all and (max-width: 767px){
  .fondo-escenas-peluqueria .et_pb_column_1_4{margin-bottom: 0 !important}
}


/********* Ocultar toggle cupón checkout 
.woocommerce .woocommerce-form-coupon-toggle{display:none;}
********/

/********* CONTENIDO BLOQUEADO ********/

DIV.wc-memberships-content-restricted-message {
    padding: 50px !important;
	text-align: center;
}

/********* PRODUCTO SIN OPCIONES A ELEGIR ********/
.sin-opciones span.woocommerce-Price-amount.amount {
    font-size: 35px !important;
}
.sin-opciones.et_pb_module.et_pb_wc_price {
    width: 50%;
    float: left;
}


.woocommerce-page span.onsale, .woocommerce span.onsale{background: #6880b2!important; font-family: 'Raleway'; font-weight: bold !important;}

/****** CARRITO ******/
.xoo-wsc-pprice, .xoo-wsc-qty-price{display: none !important;}