/*
Theme Name: CrisGram child
Template:   labtox
Theme URI: https://labcristiamgram.com
Author: Agencia Vitruz Studio
Author URI: https://vitruzstudio.com
Description: Laboratorio Cristiam Gram Website
Version: 1.4.1
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: labtox
Tags: one-column, two-columns, right-sidebar, custom-logo, custom-menu, threaded-comments, translation-ready, left-sidebar, custom-background, custom-colors, custom-header, featured-images, sticky-post
*/

.banner-content {
    padding: 100px 0 150px 0 !important;
}

.header.header-2 #header-wrap {
    background: #fff;
    border-radius: 20px;
    margin: 5px 0px 0px 0px;
}


.banner-slider .banner-swiper-box {
	border-radius: 0px !important;

}

.header-number i {
    line-height: 42px !important;
    margin-right: 0px !important;
}

.name_directory_startswith {
    display: inline-block;
    min-width: 44px;
    margin: -1px 0 0 -1px;
    padding: 8px 10px;
    border: 1px solid #ddd;
    font-size: 15px;
    line-height: 1.2;
    text-align: center;
    text-decoration: none !important;
}

/* ========================================================
   ESTILOS PARA EL DIRECTORIO DE PROCEDIMIENTOS (Name Directory)
   ======================================================== */

/* 1. Contenedor de las letras (Índice A-Z) */
.name_directory_index {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    align-items: center;
    justify-content: center;
}

/* Estilo general para cada letra del índice (enlaces) */
.name_directory_index a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 5px;
    background-color: #f8f9fa;
    color: #333333;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

/* Hover sobre las letras */
.name_directory_index a:hover {
    background-color: var(--themeht-secondary-color);
    color: #ffffff;
    border-color: var(--themeht-secondary-color);
}

/* Letra activa (la que está seleccionada) */
.name_directory_index a.name_directory_active {
    background-color: var(--themeht-primary-color);
    color: #ffffff;
    border-color: var(--themeht-primary-color);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Letras vacías (sin procedimientos) */
.name_directory_index a.name_directory_empty {
    opacity: 0.4;
    pointer-events: none; /* Evita que se pueda hacer clic */
    background-color: #f1f3f5;
}

/* 2. Formulario de Búsqueda */
.name_directory_index > form {
    width: 100%;
    margin: 0 auto 25px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#name_directory_search_input_box {
    flex: 1;
    min-width: 250px;
    padding: 12px 18px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#name_directory_search_input_box:focus {
    border-color: var(--themeht-primary-color);
    outline: none;
}

#name_directory_search_input_button {
    padding: 12px 28px;
    background-color: var(--themeht-primary-color);
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#name_directory_search_input_button:hover {
    background-color: var(--themeht-secondary-color);
}

/* 3. Encabezado de la letra actual en los resultados (ej. "H") */
.name_directory_character_header {
    font-size: 26px;
    color: var(--themeht-primary-color);
    border-bottom: 2px solid var(--themeht-secondary-color);
    padding-bottom: 8px;
    margin-top: 30px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* 4. Cajas de los resultados (Procedimientos) */
.name_directory_name_box {
    background: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 22px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.name_directory_name_box:hover {
    transform: translateY(-2px);
    border-color: var(--themeht-secondary-color);
}

/* Título del procedimiento */
.name_directory_name_box > strong {
    display: block;
    font-size: 16px;
    color: #565656;
    font-weight: 600;
	margin-bottom: -20px;
}

/* Descripción del procedimiento */
.name_directory_name_box > div {
    font-size: 15px;
    color: #555555;
    line-height: 1.6;
}

.name_directory_entry_message{
    text-align: center;
}

#name-directory-search-input-button{
    padding: 10px 40px !important;
}

.name_directory_submit_bottom_link {
    display: none;
}

.copyright a {
    color: #ffffff !important;
}

.footer-logo{
    display: none !important;
}

.pb0{
    padding-bottom: 0px !important;
}

.banner-slider .banner-swiper-box div {
    font-size: 18px !important;
}

.service-page-sidebar .widget.widget_nav_menu li a {
    font-size: 13px !important;
}

.widgimgcustom{
    margin-bottom: 50px !important;
    padding: 0px !important;
}

.widgtxtcustom{
    padding: 0px !important;
}

.widgtxtcustom .media-icon li i {
    color: #15426e !important;
}

.post-card.style-1 ul.post-bottom {
    display: none !important;
}

.post-card .post-title h4 a {
    font-size: 16px;
}

.noticiavaciar{
    font-weight: 600;
}

.noticiaresultado{
    margin-bottom: 20px;
	text-align: right;
}

@media (max-width: 1201px) {
    .header .primary-btn {
		display: block !important;
		margin-left: 0px !important;
		padding: 10px 12px 10px 12px !important;
		font-size: 10px !important;
	}
}

