/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/


body{
	font-family: var(--e-global-typography-text-font-family), Sans-serif;
	font-size:19px; 
	color:var(--e-global-color-text);
	padding: 0;
	margin: 0;
}
h1, h2, h3, h4, h5{
    font-family: var(--e-global-typography-primary-font-family), Sans-serif;
}
h1{        
    font-weight: 700;
    color: #60606B;
}
h2{
    font-weight: 700;
    color: #878787;
}
h3{
    font-weight:300;
    color: #720000;
}


h1{
    font-size:60px; 
}
h2{
    font-size:45px; 
}
h3{
    font-size:37px; 
    margin-top: 20px;
}


img {
	width: auto\9;
	height: auto;
	max-width: 100%;
	vertical-align: middle;
	-ms-interpolation-mode: bicubic;
}

/* Works on Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--e-global-color-accent) #E5E5E5;
  }
  
  /* Works on Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 12px;
  }
  
  *::-webkit-scrollbar-track {
    background: #E5E5E5;
  }
  
  *::-webkit-scrollbar-thumb {
    background-color: var(--e-global-color-accent);
    border-radius: 20px;
    border: 3px solid #E5E5E5;
  }

.bg-title_headerinner{
    background: rgba(168,18,23,0.5);
    backdrop-filter: saturate(180%) blur(15px);
    -webkit-backdrop-filter: saturate(180%) blur(15px);
}

.headercss{	
	background: linear-gradient(to right,  #ffffff 40%,#dadada 100%);
	box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);	
	position: relative;
	z-index: 7;
}
.div_a1{
    background: url(https://hemocentroboyaca.com/wp-content/uploads/2025/12/bg_a1.webp) no-repeat center;
    background-size: cover;
    background-attachment: fixed;
}
.inf .elementor-icon{
    background: #fff;
    padding: 12px;
    border-radius: 40px;
    box-shadow: 0px 0px 9px rgba(0, 0, 0, 0.3)
}
.blured{
    background: rgba(128,128,140,0.1);
    backdrop-filter: saturate(180%) blur(7px);
}



.menumovil_o ul, .menumovil ul, .menumovil li {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Enlaces de primer nivel */
.menumovil > li > a {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    color: #333;
    text-decoration: none;
    position: relative; /* Para posicionar flechas si usas pseudo-elementos */
}
/* Estado Hover y Active */
.menumovil a:hover,
.menumovil a.active {
    background-color: #f9f9f9;
    color: var(--e-global-color-accent);
}
/* Submenús (WordPress usa la clase .sub-menu) */
.menumovil .sub-menu {
    display: none; /* JS lo manejará, pero CSS base lo oculta */
    background-color: #fcfcfc;
    box-shadow: inset 0 3px 5px rgba(0,0,0,0.05);
}

.menumovil .sub-menu a {
    padding: 10px 20px 10px 40px; /* Más indentación */
    display: block;
    color: #666;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f1;
    font-size: 0.95em;
}


/* Flecha indicadora usando CSS puro (opcional) */
/* Añade una flecha a los items que tienen hijos */
.menumovil li.menu-item-has-children > a::after {
    content: '▼';
    float: right;
    font-size: 0.8em;
    transition: transform 0.3s;
}
/* Rotar flecha cuando está activo */
.menumovil li.menu-item-has-children > a.active::after {
    transform: rotate(180deg);
}









/* --- Estilos Base del Menú Horizontal --- */
.mainmenu {
    /* El selector debe coincidir con el ID/clase de tu menú principal */
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Convierte los <li> en elementos flexibles (horizontal) */    
    z-index: 1000; /* Asegura que el menú esté por encima de otros elementos */
}

.mainmenu > li {
    position: relative; /* Esencial para posicionar el submenú */
    margin: 0;
    padding: 0;
}

.mainmenu a {
	font-family: var(--e-global-typography-primary-font-family) ,sans-serif;
	font-size: 20px;
    display: block;
    padding: 15px 20px;
    text-decoration: none;
    color: var(--e-global-color-secondary);
    /*white-space: nowrap;  Evita que el texto se rompa */
    transition: background-color 0.3s;	
}

.mainmenu a:hover, 
.mainmenu a.active {
    color: var(--e-global-color-accent);
	background: var(--e-global-color-704f349);
}


/* --- Estilos para los Submenús Desplegables --- */

.mainmenu ul.sub-menu{
	list-style: none;
	padding: 0;
	margin: 0;
}

.mainmenu .sub-menu {
    display: none; /* Oculto por defecto, JS lo muestra */
    position: absolute;
    top: 100%; /* Posicionar justo debajo del elemento padre */
    left: 0;
    width: 250px; /* Ancho fijo para el desplegable */    
    border-top: 2px solid #E40613;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001; 
	background:rgba(60,60,60,0.8);	
	backdrop-filter: saturate(180%) blur(10px);
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

.mainmenu .sub-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.3);
}

.mainmenu .sub-menu li:last-child {
    border-bottom: none;
}

.mainmenu .sub-menu a {
	font-size: 17px;
    padding: 10px 20px;
    color: #fff;
    background-color: transparent;
}

.mainmenu .sub-menu a:hover {
    background-color: #E40613;
}

.sub-menu li.current-menu-item a{
    color: #fff;
	background-color: #E40613;
}

/* --- Submenús Anidados (Mega-Dropdowns hacia la derecha) --- */

.mainmenu .sub-menu .sub-menu {
    top: 0; /* A la misma altura que el padre */
    left: 100%; /* Desplazado a la derecha del padre */
}

.shdw{
    background: url(https://hemocentroboyaca.com/wp-content/uploads/2026/01/sh_1.png) no-repeat center top;
}
.newsbox{
     box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
     border-radius: 5px;
}


















/* Small devices  */
@media only screen and (min-width: 300px) {
    .pdd{
        padding: 50px 30px;
    }
    .headercss .navmenu{
        padding: 15px 0 15px 0;	            
    }
}
/* Tablet */
@media only screen and (min-width: 768px) {
	.logo_site{
		position: absolute;	
		z-index:5;
	}
}
/* Laptop */
@media only screen and (min-width: 1366px) {
    .pdd{
        padding: 100px 0 100px 0;
    }
    .headercss .navmenu{
        padding: 15px 0 15px 0;	
        border-top: solid 5px #A81217;
    }
	
}
/* desktop */
@media only screen and (min-width: 1400px) {
}







/* Shrink */
.hvr-shrink {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
}
.hvr-shrink:hover, .hvr-shrink:focus, .hvr-shrink:active {
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
}