@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap');

/* Estilos de la barra de navegaciÃ³n */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    font-family: 'Roboto', sans-serif !important;
}

.navbar-collapse {
    justify-content: flex-start; /* Alinea el menÃº a la izquierda */
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 1rem; /* Espacio entre elementos del menÃº */
}

/* Estilos para los submenÃºs */
.navbar-nav .dropdown-menu {
    position: absolute;
    left: 0; /* Alinea el submenÃº al borde izquierdo del elemento padre */
    min-width: 200px;
    margin-top: 0;
    background-color: #f8f9fa;
    border: 1px solid #dedede;
    border-radius: 3px;
}

.navbar-nav .dropdown-item {
    font-family: 'Roboto', sans-serif !important;
    font-size: 0.95rem;
    color: #1d1b1b;
    padding: 0.5rem 1rem;
    text-align: left; /* Asegura alineaciÃ³n izquierda del texto */
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus {
    background-color: #e9ecef;
    color: #1d1b1b;
}

/* Media Queries para Responsividad de la Navbar */
@media (min-width: 992px) {
    .navbar-nav {
        gap: 1.5rem; /* Mayor espacio en pantallas grandes */
    }
    .navbar-nav .dropdown-menu {
        display: none; /* Oculta submenÃºs por defecto */
    }
    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block; /* Muestra submenÃº al pasar el ratÃ³n */
    }
}

@media (max-width: 991px) {
    .navbar-collapse {
        justify-content: flex-start; /* Mantiene alineaciÃ³n izquierda en mÃ³viles */
    }
    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }
    .navbar-nav .nav-item {
        width: 100%;
    }
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
    }
    .navbar-nav .dropdown-menu {
        position: static; /* SubmenÃºs no flotan en mÃ³viles */
        width: 100%;
        background-color: #fff;
        border: none;
        padding-left: 1.5rem; /* SangrÃ­a ligera para submenÃºs */
    }
    .navbar-nav .dropdown-item {
        font-size: 0.9rem;
        padding-left: 1.5rem; /* Alinea con sangrÃ­a para diferenciar submenÃºs */
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }
    .navbar-nav .dropdown-item {
        font-size: 0.85rem;
        padding-left: 1rem; /* Menor sangrÃ­a en pantallas pequeÃ±as */
    }
}

/* Resto del CSS (sin cambios) */
.hero-section .wave {
    bottom: -50%;
}
.row {
    display: initial;
}
.hero-section {
    height: auto;
    min-height: auto;
    background: linear-gradient(to right, rgba(148,182,180) 50%, rgba(235,241,241) 100%), url('https://raw.githubusercontent.com/madi-nuralin/material/main/assets/background.jpg');
}
.hero-section.inner-page .wave {
    bottom: -27%;
}
#header.header-scrolled {
    background: linear-gradient(to right, rgba(148,182,180) 50%, rgba(235,241,241) 100%), url('https://raw.githubusercontent.com/madi-nuralin/material/main/assets/background.jpg');
}
a {
    color: #303232;
}
a:hover, a:focus {
    color: #68a09e;
}
.btn-primary {
    background-color: #5A9BB4;
}
.btn-primary:hover, .btn-primary:focus {
    background-color: #5A9BB4;
}
.additional_content {
    background-color: #ededed;
    padding: 2rem !important;
    border-radius: 3px;
    border: 1px solid #dedede !important;
}
table.jif {
    width: 25%;
    background-color: #fff;
    border: 1px solid #dddddd;
    padding: 1rem;
    border-collapse: collapse;
    color: #4f4f4f;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
table.jif td {
    padding: .3rem;
    border: 1px solid #ededed;
}
.hero-section img {
    width: 100%;
}
p, div, a, blockquote, cite, td, th, dd, address, li, dt, dd, strong {
    font-family: 'Roboto', sans-serif !important;
    text-align: justify;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', sans-serif !important;
}
.cmp_article_list > li {
    border-top: 1px solid #dbdbdb !important;
}
.footer {
    background-color: #252728;
    color: #adadad !important;
    font-size: medium;
}
.footer .copyright, .footer .credits {
    text-align: center !important;
}
.read_more {
    color: #005555;
}
.sub_item img:hover {
    transform: scale(1.1);
    cursor: pointer;
}
.pop_image {
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .9);
    height: 100%;
    width: 100%;
    z-index: 100;
    display: none;
}
.pop_image span {
    position: absolute;
    top: 10%;
    right: 10px;
    font-size: 40px;
    font-weight: bolder;
    color: #fff;
    cursor: pointer;
    z-index: 100;
}
.pop_image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 5px solid #fff;
    border-radius: 5px;
    width: 750px !important;
    object-fit: cover;
}
@media (max-width: 768px) {
    .pop_image img {
        width: 95% !important;
    }
}
.pkp_block {
    border: 1px solid #dedede;
    margin: 0 5px;
    border-radius: 3px;
    height: fit-content;
    width: 25%;
}
.pkp_block h2.title {
    color: #1d1b1b;
    font-size: medium;
    margin: 0;
    padding: 1rem 0;
    border-bottom: 3px solid #1D1B1F;
    margin: 0 20px;
}
.pkp_block .content {
    padding: 1rem;
}
.pkp_block .content a {
    color: #68a09e;
}
.birth.d-flex {
    min-height: 150px;
}
div.row.justify-content-center.text-center {
    display: flex;
    padding: 1.5em;
}
ul._pkp_structure_sidebar.list-unstyled.container {
    display: flex !important;
}
.obj_article_details .entry_details img {
    margin-bottom: 1em;
}
.item.copyright img {
    width: auto;
    height: auto;
    margin-bottom: 1em;
}
.current_issue h2 {
    display: none;
}
.current_issue_title {
    background-color: #333;
    color: #fff;
    padding: 1rem;
    font-size: xx-large;
    text-align: center;
    font-weight: normal !important;
    border-radius: 3px;
}
.obj_article_summary > .title a {
    text-decoration: none;
    font-size: 1.375rem;
}
.obj_article_summary > .title a:hover, .obj_article_summary > .title a:focus {
    color: #044788;
}
.cmp_article_list > li {
    border-top: 0 !important;
}
.accordion-item {
    border: 0;
}
.footer a {
    color: #68a09e;
}
.pkp_brand_footer img {
    width: 12%;
}
.custom-submission-accordion {
    font-family: 'Roboto', sans-serif !important;
    border: 1px solid #dedede;
    border-radius: 3px;
    background-color: #ededed;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    margin: 0 5px;
}
.custom-submission-accordion .accordion-button {
    background-color: #f8f9fa;
    color: #1d1b1b;
    font-weight: 500;
    font-size: 1.2rem;
    padding: 1rem;
    border-bottom: 3px solid #1D1B1F;
    transition: background-color 0.3s ease;
}
.custom-submission-accordion .accordion-button:not(.collapsed) {
    background-color: #a4c1bf;
    color: #fff;
}
.custom-submission-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: #dedede;
}
.custom-submission-accordion .accordion-body {
    padding: 1.5rem;
    background-color: #fff;
    color: #4f4f4f;
    text-align: justify;
}
.custom-submission-accordion .accordion-body a {
    color: #68a09e;
    text-decoration: none;
}
.custom-submission-accordion .accordion-body a:hover,
.custom-submission-accordion .accordion-body a:focus {
    color: #044788;
}
.custom-submission-accordion .accordion-body img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
    border: 1px solid #dedede;
    border-radius: 3px;
}
.custom-submission-accordion .accordion-body p,
.custom-submission-accordion .accordion-body li,
.custom-submission-accordion .accordion-body ol,
.custom-submission-accordion .accordion-body ul {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    line-height: 1.6;
}
.custom-submission-accordion .accordion-body h3,
.custom-submission-accordion .accordion-body h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
    color: #1d1b1b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.custom-submission-accordion .nested-accordion .accordion-button {
    font-size: 1rem;
    padding: 0.8rem 1rem;
    background-color: #fff;
    border-bottom: 1px solid #dedede;
}
.custom-submission-accordion .nested-accordion .accordion-button:not(.collapsed) {
    background-color: #e9ecef;
    color: #1d1b1b;
}
.custom-submission-accordion .nested-accordion .accordion-body {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
}
@media (max-width: 768px) {
    .custom-submission-accordion {
        margin: 0;
    }
    .custom-submission-accordion .accordion-button {
        font-size: 1rem;
    }
    .custom-submission-accordion .nested-accordion .accordion-button {
        font-size: 0.9rem;
    }
    .custom-submission-accordion .accordion-body img {
        width: 95% !important;
    }
}
.vertical-tabs {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Roboto', sans-serif !important;
    border: 1px solid #dedede;
    border-radius: 3px;
    background-color: #ededed;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    overflow: hidden;
}
.vertical-tabs input[type="radio"] {
    display: none;
}
.tab-labels {
    width: 180px;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #dedede;
}
.tab-labels > label {
    padding: 1rem;
    border-bottom: 3px solid #1D1B1F;
    cursor: pointer;
    background: #f8f9fa;
    color: #1d1b1b;
    font-weight: 500;
    font-size: 1.2rem;
    transition: background-color 0.3s ease;
    min-height: 48px;
}
.tab-labels > label:hover {
    background: #e9ecef;
}
.submenu-labels,
.checklist-submenu-labels {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    padding-left: 20px;
}
.submenu-labels label,
.checklist-submenu-labels label {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #dedede;
    cursor: pointer;
    background: #f9f9f9;
    color: #1d1b1b;
    font-weight: 400;
    transition: background-color 0.3s ease;
    white-space: nowrap;
    word-spacing: normal;
    letter-spacing: normal;
    min-height: 44px;
}
.submenu-labels label:hover,
.checklist-submenu-labels label:hover {
    background: #ececec;
}
#tab1:checked ~ .tab-container .checklist-submenu-labels {
    display: flex !important;
}
#tab2:checked ~ .tab-container .submenu-labels {
    display: flex !important;
}
.tab-content {
    flex: 1;
    padding: 1.5rem;
    display: none;
    background: #fff;
    overflow-y: auto;
    min-height: 400px;
    color: #4f4f4f;
    text-align: justify;
}
.tab-content h3,
.tab-content h4 {
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
    color: #1d1b1b;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.tab-content p,
.tab-content li,
.tab-content ol,
.tab-content ul {
    font-family: 'Roboto', sans-serif !important;
    font-size: 1rem;
    line-height: 1.6;
}
.tab-content a {
    color: #68a09e;
    text-decoration: none;
}
.tab-content a:hover,
.tab-content a:focus {
    color: #044788;
}
.tab-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 1em;
    border: 1px solid #dedede;
    border-radius: 3px;
}
.submenu-content,
.checklist-submenu-content {
    display: none;
}
#tab1:checked ~ .tab-container #content1,
#tab2:checked ~ .tab-container #content2,
#tab3:checked ~ .tab-container #content3 {
    display: block !important;
}
#tab1:checked ~ .tab-container .tab-labels label[for="tab1"],
#tab2:checked ~ .tab-container .tab-labels label[for="tab2"],
#tab3:checked ~ .tab-container .tab-labels label[for="tab3"] {
    background: #a4c1bf;
    color: #fff;
}
#tab1:checked ~ .tab-container #content1 .checklist-submenu-content {
    display: none;
}
#subtab1_1:checked ~ .tab-container #content1 #subcontent1_1,
#subtab1_2:checked ~ .tab-container #content1 #subcontent1_2 {
    display: block !important;
}
#tab2:checked ~ .tab-container #content2 .submenu-content {
    display: none;
}
#subtab1:checked ~ .tab-container #content2 #subcontent1,
#subtab2:checked ~ .tab-container #content2 #subcontent2,
#subtab3:checked ~ .tab-container #content2 #subcontent3,
#subtab4:checked ~ .tab-container #content2 #subcontent4,
#subtab5:checked ~ .tab-container #content2 #subcontent5,
#subtab6:checked ~ .tab-container #content2 #subcontent6,
#subtab7:checked ~ .tab-container #content2 #subcontent7,
#subtab8:checked ~ .tab-container #content2 #subcontent8,
#subtab9:checked ~ .tab-container #content2 #subcontent9,
#subtab10:checked ~ .tab-container #content2 #subcontent10,
#subtab11:checked ~ .tab-container #content2 #subcontent11 {
    display: block !important;
}
#subtab1_1:checked ~ .tab-container .checklist-submenu-labels label[for="subtab1_1"],
#subtab1_2:checked ~ .tab-container .checklist-submenu-labels label[for="subtab1_2"],
#subtab1:checked ~ .tab-container .submenu-labels label[for="subtab1"],
#subtab2:checked ~ .tab-container .submenu-labels label[for="subtab2"],
#subtab3:checked ~ .tab-container .submenu-labels label[for="subtab3"],
#subtab4:checked ~ .tab-container .submenu-labels label[for="subtab4"],
#subtab5:checked ~ .tab-container .submenu-labels label[for="subtab5"],
#subtab6:checked ~ .tab-container .submenu-labels label[for="subtab6"],
#subtab7:checked ~ .tab-container .submenu-labels label[for="subtab7"],
#subtab8:checked ~ .tab-container .submenu-labels label[for="subtab8"],
#subtab9:checked ~ .tab-container .submenu-labels label[for="subtab9"],
#subtab10:checked ~ .tab-container .submenu-labels label[for="subtab10"],
#subtab11:checked ~ .tab-container .submenu-labels label[for="subtab11"] {
    background: #a4c1bf;
    color: #fff;
    font-weight: 500;
}
@media (min-width: 768px) and (max-width: 1024px) {
    .vertical-tabs {
        max-width: 100%;
    }
    .tab-labels {
        width: 160px;
    }
    .tab-labels > label {
        font-size: 1.1rem;
        padding: 0.8rem;
    }
    .submenu-labels,
    .checklist-submenu-labels {
        padding-left: 15px;
    }
    .submenu-labels label,
    .checklist-submenu-labels label {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
    }
    .tab-content {
        padding: 1.2rem;
    }
    .tab-content p,
    .tab-content li,
    .tab-content ol,
    .tab-content ul {
        font-size: 0.95rem;
    }
}
@media (max-width: 767px) {
    .vertical-tabs {
        flex-direction: column;
        max-width: 100%;
    }
    .tab-labels {
        width: 100%;
        flex-direction: row;
        flex-wrap: nowrap;
        border-right: none;
        border-bottom: 1px solid #dedede;
        overflow-x: auto;
        white-space: nowrap;
    }
    .tab-labels > label {
        flex: 0 0 auto;
        text-align: center;
        border-right: 1px solid #dedede;
        border-bottom: none;
        font-size: 1rem;
        padding: 0.8rem 1rem;
        min-height: 44px;
    }
    .submenu-labels,
    .checklist-submenu-labels {
        flex-direction: row;
        flex-wrap: nowrap;
        padding-left: 0;
        border-bottom: 1px solid #dedede;
        overflow-x: auto;
        white-space: nowrap;
    }
    .submenu-labels label,
    .checklist-submenu-labels label {
        flex: 0 0 auto;
        text-align: center;
        border-right: 1px solid #dedede;
        border-bottom: none;
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
        min-height: 40px;
    }
    .tab-content {
        padding: 1rem;
    }
    .submenu-content,
    .checklist-submenu-content {
        padding: 1rem;
    }
    .tab-content p,
    .tab-content li,
    .tab-content ol,
    .tab-content ul {
        font-size: 0.9rem;
    }
}
@media (max-width: 480px) {
    .vertical-tabs {
        border-radius: 2px;
    }
    .tab-labels > label {
        font-size: 0.9rem;
        padding: 0.6rem 0.8rem;
        min-height: 40px;
    }
    .submenu-labels label,
    .checklist-submenu-labels label {
        font-size: 0.8rem;
        padding: 0.5rem 0.6rem;
        min-height: 36px;
    }
    .tab-content {
        padding: 0.8rem;
    }
    .tab-content p,
    .tab-content li,
    .tab-content ol,
    .tab-content ul {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    .tab-content h3 {
        font-size: 1.2rem;
    }
    .tab-content h4 {
        font-size: 1rem;
    }
}
.container {
    max-width: 1420px;
}

.footer .container .row.justify-content-center.text-center {
    display: none;
}