/*
Theme Name: EVERYDAT
Description: Un <a href='http://codex.wordpress.org/Child_Themes'>tema hijo</a> del tema Enfold
Version: 1.0
Author: Cubic Factory
Author URI: https://www.cubicfactory.com
Template: enfold
*/

/* CSSVARIABLES  */

:root {
	--red:#b70000;
	--blue:#345bbb;	
	--green:#b3d418;
}


/* GENERAL MODS */

.container_wrap { border-top: none !important; }
*:focus { outline: none;} /* removes blue border onfocus in all elements (mainly for Chrome) */
.image-overlay { display: none !important; } /* removes hover-image in links */
.avia-gallery-thumb, .avia-gallery-thumb * { opacity: 1 !important; } /* removes hover-image in gallery thumbs */

.top-border {border-top:1px solid black !important; } /* ... but allows certain sections to have a top border */
div.avia-fullwidth-slider {box-shadow:none !important;} /* disallow full-width sliders top shadow */
.av-special-heading { margin-top:0;}
#top .flex_column_table {margin-bottom:40px;} /* space between rows of equal height columns */
.header-scrolled .header_bg { opacity: 1 !important; }
.main_color strong, .alternate_color strong { color: inherit; }
#top .main_color .avia-color-theme-color {border-color: transparent;}
#top .avia-icon-list .iconlist-timeline {border: none!important;} /* remove iconlists timeline */
h1, h2, h3, h4, h5, h6 {font-weight: 400; text-transform:none !important;}
h1 {line-height:1.2em;}
.avia_textblock {line-height:1.2em;}

/* BURGER MENU BREAKPOINT */

 @media only screen and (max-width: 1350px) {
    #top #header .av-main-nav > li.menu-item  {display: none!important;}
    #top #header .av-burger-menu-main {cursor: pointer;display: block!important;}
    }

/* GENERAL COLUMNS BREAKPOINT */

@media only screen and (max-width: 1200px) {
    .responsive #top #wrap_all .flex_column.av-break-at-tablet, .responsive #top #wrap_all .av-break-at-tablet .flex_cell {
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
        display: block;
        }
    .responsive #top #wrap_all .av-break-at-tablet-flextable, .responsive .av-layout-grid-container.av-break-at-tablet {
        display: block;	
        }
    }

/* Apply reverse order in the new breakpoint range*/
@media only screen and (max-width: 1200px) {
    /* 1. ACTIVAR EL ORDEN INVERSO*/
    .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse {
        display: flex !important;
        flex-direction: column-reverse !important;
        height: auto !important;
    }
    /* 2. ASEGURAR QUE LAS CELDAS SE COMPORTEN BIEN EN FLEX */
    .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .flex_cell {
        width: 100% !important;
        display: block !important;
        position: relative !important;
        top: auto !important;
        margin: 0 !important;
    }
}


/* ABS sizes */
.size50, .size50 .av-special-heading-tag {font-size:50px;line-height:1.2em  !important;}
.size40, .size40 .av-special-heading-tag {font-size:40px;line-height:1.2em  !important;}
.size30, .size30 .av-special-heading-tag {font-size:30px;line-height:1.2em  !important;}
.size27, .size27 .av-special-heading-tag {font-size:27px;line-height:1.2em  !important;}
.size25, .size25 .av-special-heading-tag {font-size:25px;line-height:1.2em  !important;}
.size20, .size20 .av-special-heading-tag {font-size:20px;line-height:1.2em  !important;}
.size18, .size18 .av-special-heading-tag {font-size:18px;line-height:1.2em  !important;}

.tab50 {margin-left:50px;}

/* thin sections */

.width-1500 {max-width:1500px !important;margin:auto;float:none !important;}


/* weights and colors */
.negrita, .negrita .av-special-heading-tag   {font-weight:bolder;}
.high {color:var(--red) !important;}

.claim-level1 {font-weight:bold;}
.claim-level2 {font-size:1.7em;font-weight:500;line-height:1em;}

.strong-list .av_iconlist_title {font-weight:600;}

.edat-iconbox  h3.iconbox_content_title {font-weight:400; font-size:1.1em;}
.edat-iconbox .iconbox_content_container p {margin-top:0.6em; line-height:1.2em;}

.edat-promobox .avia-promocontent p {font-size:1em !important;}


/* SLIDERS */
.screen-slider-container {padding:0 10%;}
.screens_slider .avia-caption {width:100%;left:0; text-align:center;}
.screens_slider h2.avia-caption-title {background:none !important; color: var(--red) !important;padding:0 !important;}
.screens_slider .avia-caption-content p {background: none !important; color:#222; padding:0 0 15px 0;}
.screens_slider.av-control-minimal .avia-slideshow-arrows a.avia-svg-icon {border: none !important;}
.screens_slider .avia-slideshow-arrows a {top: 40% !important;}

@media (min-width:1500px) {.screens_slider .avia-caption {bottom:47px !important;}}
@media (min-width:2200px) {.screens_slider .avia-caption {bottom:100px !important;}}
@media (min-width:2400px) {.screens_slider .avia-caption {bottom:140px !important;} .avia-slideshow-dots {bottom: 100px;}}

@media (max-width:1200px) {.screen-slider-container {padding:0;} .screens_slider .avia-caption {top:75% !important;}}
@media (max-width:990px) {.screens_slider .avia-inner-caption {display:none;}}


/* HEADER */

.av-logo-container {
    margin-top: 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.9); 
    }
    
    @media (min-width:991px) {
        .av-logo-container {border:1px solid #ccc;}
    }

    @media (min-width:1350px) { /* if applied under breakpoint, burger menu crashes */
        .av-logo-container {
            background-color: rgba(255, 255, 255, 0.7); 
            backdrop-filter: blur(10px);-webkit-backdrop-filter: blur(10px);
            }
        }




.av-logo-container:hover {background-color: rgba(255, 255, 255, 0.8);}
@media (min-width:768px) {.av-burger-menu-main {padding-right:20px !important;}}


/* Eliminar el fondo blanco automático del header al hacer scroll */
#top #header .header_bg {
    background-color: transparent !important;
    opacity: 0 !important;
}

/* Asegurar que el contenedor principal del header también sea transparente */
#top #header, 
#top #header_main {
    background-color: transparent !important;
}



/* submenu transparency */
#top .header_color .main_menu .menu ul.sub-menu {background-color: rgba(255, 255, 255, 0.95) !important;}
#top .header_color .main_menu .menu ul.sub-menu li a {background-color: transparent;}


/* submenu colors */
.integrator a {color:var(--red) !important;}
.integrator a:hover {background-color:rgba(183,0,0,0.1) !important;}
.manufacturer a {color:var(--blue)  !important;}
.manufacturer a:hover {background-color:rgba(52,91,187,0.1) !important;}
.owner a {color:var(--green)  !important;}
.owner a:hover {background-color:rgba(179,212,24,0.1) !important;}



/* menú*/
#top .av-main-nav  li:first-child ul.sub-menu {width: 500px !important;}
#top .av-main-nav ul a {font-weight:bold;padding:18px 25px;border-bottom:1px solid #eee;}
#top .av-main-nav > li > a .avia-menu-text {
    background-color: black;
    border-radius: 50px;
    padding: 5px 20px;
    color: white;
    font-size: 15px;
    text-transform: uppercase;
}
#top .av-main-nav > li.menu-item-language > a .avia-menu-text {background: none !important;}

#top .av-main-nav li.menu-item-language ul.sub-menu {
    width: auto !important;
    min-width: 90px !important;
}
.wpml-ls-native {color:black !important;}


/* hover de menu principal */
#top .av-main-nav > li:hover > a .avia-menu-text {
    background-color: var(--red);
}
/* Y hover diferente para el menú soluciones */
#top .av-main-nav > li:first-child:hover > a .avia-menu-text {
    background-color: transparent;
    color: black;
}

#top .av-main-nav ul a span.menu_subtitle {
    display:block;
    padding:3px 0;
    font-weight:normal;
    color:#222;
    font-size:15px;
    font-style:italic;
    line-height:18px !important;
    }
@media (max-width:1349px) {.menu_subtitle {display:none !important;}}
 

/* HOME PAGE */

.home-grid-1 {background: linear-gradient(to top, #ffffff 0%, #e5e5e5 100%);}

@media only screen and (max-width: 1700px) { 
    /* grid  in responsive pre-reverse */
    .responsive #top #wrap_all #av-layout-grid-1 .home-grid-1-col-2 {padding-left:50px !important;}
    .sep01 {display:none;}
    }

@media only screen and (min-width: 1350px) {.sep02 {display: none;}}
@media only screen and (max-width: 1200px) {.sep02 {display: none;}}

@media only screen and (max-width: 1349px) { 
    .home-grid-1-col-1 {width:60% !important;}
    .home-grid-1-col-2 {width:40% !important;}
    }

@media only screen and (max-width: 1200px) { 
    /* grid  in responsive-reverse */
    .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .home-grid-1-col-1 {
        padding-top: 0 !important; 
        padding-bottom: 50px !important;
        }
    .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .home-grid-1-col-2 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
        }
    .responsive #top #wrap_all .home-grid-1-col-2 {
        background-position: center bottom !important;
        }
    /*.responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .home-grid-1-col-2 .avia-slideshow-slide {
        width:60% !important;
        margin:auto;
        }*/
    .home-grid-1-col-2 .avia-slideshow {margin:0 !important;}
    .sep01 {display:none;}
    }  

@media (max-width:990px) {
    .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .home-grid-1-col-2 .avia-slideshow-slide {
        width:70% !important;
        margin:auto;
        }
    }
@media (max-width:767px) {
        html body#top div#wrap_all div#av-layout-grid-1 .flex_cell.home-grid-1-col-1 {
        padding-left: 25px !important;
        padding-right: 25px !important;
        }
        .responsive #top #wrap_all #av-layout-grid-1.av-grid-order-reverse .home-grid-1-col-2 .avia-slideshow-slide {
        width:100% !important;
        }
    }


.hero-slider .av-slideshow-caption {
    bottom: 50% !important;
    width: 60%;
    padding:0;
    text-transform:none !important;
}
.hero-slider .av-slideshow-caption .avia-caption-title {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 10px 30px;
    border: 5px solid white;
    padding: 20px;
    font-size: 1.3em;
}


@media (min-width:1350px) and (max-width:1450px) {
    .hero-slider .av-slideshow-caption .avia-caption-title {font-size: 1.1em;}
}

@media (min-width:768px) {
.hero-slider .av-slideshow-caption {bottom: 70% !important;}
}

.home-tab-section .av-tab-section-tab-title-container {display:none;}

@media (min-width:1201px) {.sep03 {display:none;}}


/* FABRICANTES */

.blue-alert h4.av-special-heading-tag {
    width:fit-content;
    background-color: var(--blue);
    font-size:22px;
    color:white;
    padding: 15px 30px !important; 
    border-radius:5px;
    border:2px solid white;
    }

    