/*
Theme Name: VARMONT
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Tema hijo de DIVI para VARMONT
Author: SMALL DEVELOPMENT
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/

:root{
	--general: #221F34;
}

#page-container{
	border:1px solid var(--general);
	margin:20px;
    position: relative;
    z-index: 0;
}
@media(max-width: 980px) {
    #page-container{
        border: none !important;
        margin:0px;        
    }
}
.altura-100vh {
    height: 95vh !important;
}
.columna-altura{
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}
@media (max-width: 980px) {  
  .columna-altura {
    height: 33.3% !important;
  }
}

/* Oculta el mega menú por defecto */
#menu_general {
    display: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.9); /* Fondo oscuro */
    z-index: 9999 !important;
    overflow: hidden !important;    
}
.de-mega-menu-item.menu-item-has-children>a:after{
    display:none;
}
/* Clase para mostrar el mega menú */
#menu_general.active {
    display: block;
}

.swiper-pagination-bullet{
    border-radius: 0px;
    height: 6px;
    width: 30px;
}

/* FORMULARIOS  */ 

.formulario .doble{
    display: flex;
    gap: 5px;
}
.formulario .form-control{
    margin: 10px 5px;
}
.formulario .doble .form-control{
    width:50%;
}
.formulario .aceptacion{
    margin-bottom: 10px;
}
.formulario textarea{
    height: 80px !important;
}
.formulario button{
    padding: 10px 20px !important;
    width: 100%;
}

/* FILTRADO POR CATEGORÍA */
#filtro .et_pb_module_inner{
    display: none;
}

.custom-category-list {
    display: flex;    
    gap: 15px; 
    justify-content: space-evenly;
    margin: 20px 0;
}

.custom-category-list .category-filter-link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 300;
    padding: 8px 15px;    
    color: #333;    
    font-size: 18px;
}
.custom-category-list .category-filter-link.selected {
    font-weight: 500;
}
.custom-category-list .category-filter-link:hover {
    text-decoration: underline;
}

/* ACORDEON PROYECTOS */
.dsm_image_accordion_wrapper{
    margin-bottom:-20px;
}
.dsm_image_accordion_child_content{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    margin-left: auto;
    padding: 15px;
    text-align: left;
    width: 50%;
}
.fondo-oscuro .dsm_image_accordion_child_content{
    background-color: #221f34;
}
@media only screen and (max-width: 1200px) {
    .dsm_image_accordion_child_content{
        width: 80%;
    }
}
.plano span{
    display: flex;
    justify-content: center;
    align-items:center ;
}
.plano:hover .icono-plano {
  content: url('/wp-content/uploads/2025/04/icono-plano-positivo.png');
}
.icono-plano{
    width: 24px;
    margin-right:5px;
}
/* Cerrar Ligthbox planos */
.mfp-close{
    font-size: 30px !important;
    top:30px !important;
    right: -30px !important;
}

/* ZOOM FONDO CABECERA HOME */
/* Contenedor con posición relativa para poder usar pseudo-elemento */
.zoom-anuncio::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1);
    z-index: 0;
    transition: transform 1.5s ease-out; /* salida rápida */
}

/* Clase que se aplica solo en hover */
.zoom-anuncio.zoom-in::before {
    transform: scale(2.5);
    transition: transform 14s cubic-bezier(0.4, 0, 0.2, 1); /* entrada lenta */
}

/* Opciones formulario en linea */
.et_pb_contact_field_options_list{
    display:flex !important;
    justify-content: space-around !important;
}
.et_pb_contact_field textarea.et_pb_contact_message{
    min-height: 100px !important;
}
@media only screen and (max-width: 980px) {
    .et_pb_contact_field_options_list{
        display:block !important;        
    }
}

.imagen-menu{
    display:none;
}
#general{
    display: block;
}





