/* ====== Paleta de colores ====== */
:root {
    --primary   : #919800;
    --secondary : #1B5E20;
    --footer    : #dddddd;
    --details   : #4E342E;
    --negro     : #000;
    --blanco    : #FFF;
    --transition: all 500ms;
}


/* ====== Estilos Generales ====== */
p {
    text-align: justify;
}

::-webkit-scrollbar {
    width : 5px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background   : var(--footer);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background   : var(--primary);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--details);
}



.pkp_brand_footer {
    display: none;
}

.pkp_structure_main::before {
    display: none;
}

.current_issue h2 {
    font-size     : 1.8rem;
    font-weight   : bold;
    color         : var(--negro);
    width         : 200px;
    padding-bottom: 10px;
    border-bottom : var(--secondary) 5px solid;
}

.obj_issue_toc .galleys:before,
.obj_issue_toc .section:before {
    content   : '';
    position  : absolute;
    top       : 46px;
    right     : 34px;
    width     : 90%;
    left      : auto;
    border-top: 1px solid #ddd;
}


.pkp_page_index .current_issue .read_more {
    text-decoration: none;
    color          : var(--primary);
    transition     : var(--transition);
}

.pkp_page_index:hover .current_issue:hover .read_more:hover {
    text-decoration: none;
    color          : var(--details);
    transition     : var(--transition);
}

.page a {
    text-decoration: none;
    color          : var(--primary);
    transition     : var(--transition);
}

.page a:hover {
    text-decoration: none;
    color          : var(--details);
    transition     : var(--transition);
}



.pkp_structure_sidebar a {
    text-decoration: none;
    color          : var(--primary);
    transition     : var(--transition);
}

.pkp_structure_sidebar a:hover {
    text-decoration: none;
    color          : var(--details);
    transition     : var(--transition);
}

.block_make_submission a {
    display         : inline-block;
    padding         : 0.5em 1em;
    background      : var(--primary);
    border          : none;
    border-top-color: none;
    border-radius   : 3px;
    box-shadow      : inset 0 -1em 1em rgba(0, 0, 0, 0.1);
    font-size       : 1rem;
    line-height     : calc(2.143rem - 2px);
    font-weight     : 700;
    color           : var(--blanco) !important;
    text-decoration : none;
    width           : 100%;
    text-align      : center;
    transition      : var(--transition);
}

.block_make_submission a:hover {
    background: var(--details);
    transition: var(--transition);
}

.pkp_structure_footer {
    width: 100%;
}

.cmp_button,
.cmp_download_link,
.cmp_form .buttons button,
.page_lost_password .buttons button,
.page_search .cmp_search button,
.obj_monograph_full .files .link a,
.obj_monograph_full .files .pub_format_remote a,
.obj_monograph_full .files .pub_format_single a,
.block_make_submission a {
    display         : inline-block;
    padding         : 0 1.0715rem;
    background      : var(--primary);
    border          : 1px solid #aaa;
    border-top-color: #bbb;
    border-radius   : 3px;
    box-shadow      : inset 0 -1em 1em rgba(0, 0, 0, 0.1);
    font-size       : .93rem;
    line-height     : calc(2.143rem - 2px);
    font-weight     : 700;
    color           : var(--blanco) !important;
    text-decoration : none;
    text-shadow     : none;
}

.cmp_button:hover,
.cmp_button:focus,
.cmp_download_link:hover,
.cmp_download_link:focus,
.page_login .buttons button:hover,
.page_login .buttons button:focus,
.page_lost_password .buttons button:hover,
.page_lost_password .buttons button:focus,
.page_search .cmp_search button:hover,
.page_search .cmp_search button:focus,
.obj_monograph_full .files .link a:hover,
.obj_monograph_full .files .pub_format_remote a:hover,
.obj_monograph_full .files .pub_format_single a:hover,
.obj_monograph_full .files .link a:focus,
.obj_monograph_full .files .pub_format_remote a:focus,
.obj_monograph_full .files .pub_format_single a:focus {
    box-shadow  : inset 0 -1em 1em rgba(0, 0, 0, 0.1);
    background  : var(--secondary);
    border-color: none;
    color       : #fff;
    text-shadow : none;
}

.page_search .submit button:after {
    background: var(--primary);
}

.page_search .submit button:hover:after,
.page_search .submit button:focus:after {
    box-shadow: inset 0 1em 1em rgba(0, 0, 0, 0.2);
    background: var(--details);
}

.img-to-icon {
    width        : 1.3rem;
    height       : auto;
    margin-bottom: -1px;
}

.img-to-icon-block {
    width        : 1.7rem;
    height       : auto;
    margin-bottom: -6px;
}

.indices-block {
    display        : flex;
    justify-content: center;
    align-items    : center;
    width          : 100%;
    gap            : 1rem;
    flex-wrap      : wrap;
    padding        : 1.443rem;
}

.img-index {
    height: 3rem;
    width : auto;
}

.hover-container {
    position       : relative;
    display        : flex;
    justify-content: center;
    align-items    : center;
    flex-direction : column;
}

.hover-text {
    opacity         : 0;
    position        : absolute;
    top             : -110%;
    left            : 50%;
    transform       : translate(-50%, -0%);
    border-radius   : 10px;
    background-color: var(--primary);
    padding         : 1px 5px;
    color           : white;
    transition      : opacity 0.4s ease, transform 0.4s ease;
    pointer-events  : none;
}

.hover-container:hover .hover-text {
    opacity       : 1;
    transform     : translate(-50%, -60%);
    pointer-events: auto;/
}

.somehide-icon-galley {
    max-width   : 40px;
    height      : auto;
    margin-right: 0px;
    transition  : transform 0.4s ease;
    display     : block;
}

.hover-container:hover .somehide-icon-galley {
    transform: scale(1.1);
}

.cmp_button_wire,
.obj_galley_link {
    display        : inline-block;
    padding        : 0 1em;
    background     : transparent;
    border         : none;
    border-radius  : 3px;
    font-size      : .93rem;
    line-height    : calc(2.143rem - 2px);
    color          : var(--primary);
    text-decoration: none;
}

.obj_galley_link:hover,
.obj_galley_link:focus {
    background: none;
    color     : #fff;
}

.obj_galley_link.pdf:before {
    display: none;
}



.footer-somehide {
    display         : flex;
    justify-content : space-between;
    align-items     : center;
    width           : 100%;
    height          : 100%;
    background-color: var(--footer);
    flex-direction  : row;
    flex-wrap       : wrap;

    a {
        color     : var(--primary);
        transition: var(--transition);
    }

    a:hover {
        color     : var(--details);
        transition: var(--transition);
    }

    .footer-somehide-content {
        width         : 70%;
        display       : flex;
        flex-direction: column;
        gap           : 1rem;
        flex-wrap     : wrap;
        padding-right : 20px;
    }

    .footer-somehide-content-info {
        border-bottom: 2px solid var(--negro);
    }

    .footer-somehide-content-rights {
        display        : flex;
        flex-direction : row;
        gap            : 1rem;
        justify-content: space-between;
    }

    .footer-somehide-content-rights-info {
        width: 80%;
    }

    .footer-somehide-content-rights-copyright {
        width          : 20%;
        display        : flex;
        justify-content: end;

        img {
            width      : auto;
            height     : 50px;
            padding-top: 10px;
        }
    }

    .footer-somehide-social {
        width          : 25%;
        display        : flex;
        justify-content: center;
        align-items    : end;
        flex-direction : row;
        gap            : 1rem;
        flex-wrap      : wrap;
        height         : 100%;
        padding-left   : 20px;
        border-left    : 2px solid var(--negro);

        .footer-somehide-social-icons {
            display        : flex;
            flex-direction : row;
            gap            : 1rem;
            justify-content: center;

            img {
                width : 120px;
                height: auto;
            }
        }

        .footer-somehide-social-escire {
            display        : flex;
            justify-content: center;
            align-items    : center;
            flex-direction : column;
            gap            : 1rem;

            img {
                width : 120px;
                height: auto;
            }

            a {
                text-decoration: underline;
                color          : var(--negro);
                font-weight    : bold;
            }
        }
    }

}



.cmp_notification {
    border-left: 5px solid var(--primary);

}

.additional_content a {
    color     : var(--primary);
    transition: var(--transition);
}

.additional_content a:hover {
    color     : var(--details);
    transition: var(--transition);
}

/* ====== Dispositivos mÃ³viles (Punto de quiebre OJS) (hasta 991px) ====== */
@media (max-width: 991px) {

    .pkp_structure_footer {

        padding-left : 0;
        padding-right: 0;
    }

    .has_site_logo .pkp_head_wrapper {
        position     : relative;
        width        : 100%;
        margin       : 0 auto;
        padding-right: 0;
        height       : 18vw;
    }

    .pkp_site_name_wrapper {
        height : 100%;
        padding: 0;
        width  : 100%;
    }

    .pkp_site_nav_toggle {
        position     : absolute;
        top          : 18vw;
        background   : var(--primary);
        border-radius: 5px;
        z-index      : 99999;

    }

    .pkp_site_nav_menu {
        position   : absolute;
        width      : 100%;
        top        : auto;
        padding-top: 50px;
    }

    .pkp_site_name {
        position     : absolute;
        left         : 0;
        right        : 0;
        margin-top   : 0;
        margin-bottom: 0;
        padding-left : 0;
        width        : 100%;
        height       : 100%;
    }

    .pkp_site_name .is_img {
        display      : flex;
        margin-top   : 0;
        margin-bottom: 0;
        padding      : 0;
        width        : 100%;
    }

    .pkp_site_name .is_img img {
        display   : block;
        max-height: none;
        max-width : 100%;
        height    : auto;
        width     : 100%;
    }

    .pkp_structure_main {
        padding    : 1.43rem;
        padding-top: 50px;

    }

    .footer-somehide {

        .footer-somehide-content {
            width         : 100%;
            display       : flex;
            flex-direction: column;
            gap           : 1rem;
            flex-wrap     : wrap;
            padding-right : 0px;

            .footer-somehide-content-rights {
                display        : flex;
                flex-direction : row;
                gap            : 1rem;
                justify-content: center;
                flex-wrap      : wrap;
            }

            .footer-somehide-content-rights-info {
                width: 100%;
            }

            .footer-somehide-content-rights-copyright {
                width          : 100%;
                display        : flex;
                justify-content: center;
                padding-bottom : 20px;


                img {
                    width      : auto;
                    height     : 50px;
                    padding-top: 10px;
                }
            }
        }

        .footer-somehide-social {
            width       : 100%;
            padding-left: 0px;
            border-left : none;

        }

    }

    .fa-search:before {
        display          : inline-block;
        width            : 20px;
        height           : 20px;
        margin-bottom    : -5px;
        background-image : url("/public/site/icons/Busqueda.png");
        background-size  : contain;
        background-repeat: no-repeat;
        content          : "" !important;
    }

    .pkp_site_nav_menu a {
        color: var(--blanco);
    }
}

/* ====== Escritorio (Punto de quiebre OJS)(Desde 992px) ====== */
@media (min-width: 992px) {

    .has_site_logo .pkp_head_wrapper {
        width      : 100%;
        padding-top: 0;
    }

    .pkp_site_name_wrapper {
        height       : auto;
        width        : 100%;
        border-bottom: 20px solid var(--pantone-3245);

    }


    .pkp_site_name .is_img img {
        display   : flex;
        max-width : 100%;
        width     : 100%;
        height    : auto;
        max-height: none;
    }

    .pkp_site_name .is_img {
        display: flex;
        margin : 0;
    }

    .pkp_navigation_search_wrapper {
        display: flex;

        a {
            color     : var(--blanco);
            transition: var(--transition);
        }
    }

    .pkp_navigation_primary_wrapper {
        padding-left : 30px;
        padding-right: 30px;

    }

    .pkp_structure_content {
        width: 90%;
    }

    .cmp_monographs_list .obj_monograph_summary:first-child {
        border-right: 1px solid transparent;
    }

    .cmp_monographs_list .obj_monograph_summary+.obj_monograph_summary {
        padding-left: 2.143rem;
        margin-left : -1px;
        border-left : 1px solid transparent;
    }

    .cmp_monographs_list .row {
        border-bottom: 1px solid transparent;
    }

    .pkp_structure_main {

        width: 70%;
    }

    .pkp_structure_sidebar {
        width  : 30%;
        padding: 0% 50px 0% 1%;
    }

    .pkp_structure_main:after {
        display: none;
    }

    .obj_monograph_full .main_entry {
        width       : 70%;
        border-right: transparent;
    }

    .obj_monograph_full .entry_details {
        float      : left;
        width      : 28%;
        margin     : 0 0 0 -1px;
        border-top : none;
        border-left: none
    }

    .pkp_nav_list ul a {
        display     : block;
        padding-left: .357rem;
        border-left : .357rem solid #ffffff00;
        color       : #ffffff;
        background  : var(--primary);
        transition  : var(--transition);
    }

    .pkp_nav_list ul a:hover,
    .pkp_nav_list ul a:focus {
        outline     : 0;
        background  : var(--secondary);
        border-color: var(--details) !important;
        color       : #ffffff;
        transition  : var(--transition);
    }

    .pkp_navigation_primary>li>a {
        transition: var(--transition);
        color     : var(--blanco);
    }

    .pkp_navigation_primary>li>a:hover {
        color       : #fff;
        outline     : 0;
        border-color: var(--secondary);
        transition  : var(--transition);
    }

    .pkp_navigation_user a {

        background   : var(--blanco);
        border-radius: 10px;

    }

    .pkp_navigation_primary {
        width         : 85%;
        display       : flex;
        flex-direction: row;
    }

    .pkp_navigation_primary_wrapper {
        display        : flex;
        justify-content: space-between;
    }


    .pkp_navigation_primary li:nth-last-child(2) {
        margin-left: auto;
    }


}

@media (min-width: 992px) and (max-width: 1400px) {}

/* ====== Escritorio (Punto de quiebre OJS)(Desde 1690px) ====== */
@media (min-width: 1690px) {}