/*
Theme Name: RECACOR
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Tema hijo de DIVI con diseño personalizado para Recacor S.L.
Author: Small Development
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/


.cabecera-menu {
    box-shadow: none;
    transition: box-shadow 0.3s ease-in-out; 
}
.cabecera-menu.et_pb_sticky--top {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); 
}
/* IDIOMAS SUBMENU */
a.gt-current-wrapper ~ .dropdown-menu {
    left: initial !important;
    right:0 !important;

}
/* Contenedor del logo */
.logo-menu {
    position: relative;
    width: 250px;
    height: auto;
}

/* Ambas imágenes superpuestas */
.logo-menu img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out; /* Transición suave */
}

/* ------------------------- */
/* Logo por defecto visible */
/* ----------------------- */
.logo-menu .logo-normal {
    opacity: 1;
    z-index: 1;
}

/* Logo sticky invisible inicialmente */
.logo-menu .logo-sticky {
    opacity: 0;
    z-index: 0;
}
.et_pb_sticky--top {
    
}

/* Cuando el header se vuelve sticky */
.et_pb_sticky--top .logo-menu .logo-normal {
    opacity: 0; /* Logo normal desaparece */
}

.et_pb_sticky--top .logo-menu .logo-sticky {
    opacity: 1; /* Logo sticky aparece */
    z-index: 1;
}

/* CARRUSEL CABECERA  */
.home .et_pb_slide_content{
    width: 70%;
}
/* CONTADORES */
.et_pb_number_counter{
    margin:0px;
}
.et_pb_number_counter.et_pb_with_title .percent{
    margin-bottom: 0px;
}

/* TALLERES */
.provincia{
    line-height: 1em !important;
}
.provincia .dmach-icon{
    font-size:24px !important;
}
.galeria-fotos-taller{
    display:block !important;
}
.boton{
    background-color:#0e4e92;
    color:#fff;
    display:inline-block;
    margin:auto;
    width: 100%;    
    padding:10px 40px;

}
.et_pb_map_container{
    height: 100%;
}
.et_pb_map{
    height: 100%;
}

/* RECAUCHUTADOS */

.dmach-vertical-alignment-middle .dmach-acf-item-container {
    justify-items: center !important;
}
.dmach-vertical-alignment-middle .dmach-icon-image-content{
    margin:0px !important;
}
.divi-filter-item {
    background-color: transparent !important;
}

/* FORMULARIO CONTACTO */
#formulario textarea{
    height: 120px !important;
}
#formulario button{
    width: 100% !important;
}

/* MODALES */

.dipl_modal_inner_wrap{
    position:relative;
}
.dipl_modal_header{
    position:absolute;
    top: 20px;    
    right: 10px;
    z-index: 10;
}
#modal_presupuesto{
    top:0px;
}
#modal_presupuesto .wpcf7-response-output,
#modal_curriculum .wpcf7-response-output{
    border-color:#08338F!important;
    color:#08338F!important;
}
@media only screen and (max-width: 780px) {
    #form-contacto textarea{
        height: 100px;
    }
}