/**
 * Revista de EducaciÃ³n y Derecho - UB
 *
 * Copyright (c) 2022 CÃ©sar J. EnrÃ­quez
 * Distributed under the GNU GPL v2. For full terms see the file docs/COPYING.
 *
 * Responsive adaptation
 *
 */
div#navigationUserWrapper {
    transform: inherit !important;
    left: 0 !important;
    width: 100%;
    background: #0b2a67;
}

ul#navigationUser {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 3em;
}

.pkp_head_wrapper {
    width: 100% !important;
}

header#headerNavigationContainer {
    background: none !important;
}

.pkp_navigation_primary_row {
    max-width: 1200px;
    margin: 0px auto;
    padding: 0px 3em;
}

@media (min-width: 992px) {
    .pkp_site_name .is_img img {
        max-height:100% !important
    }

    .pkp_site_name_wrapper {
        background:white;
    }
}

@media (max-width: 992px) {
    .pkp_site_name .is_img img {
        max-height: 75px;
        padding-top: 5px;
    }

    .pkp_site_name_wrapper {
        height: fit-content;
        min-height: 2.857rem;
        max-height: 60px;
        display: inline-flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 0;
        left: 0;
        margin: 0;
        overflow: hidden;
        border: 10px #0b2a67 solid;
    }

    .pkp_site_name {
        position: inherit;
        margin: 0;
        left: 0;
        top: 0;
        background:white;
        padding: 0;
        width: 100% !important;
        text-align: center;
    }

    button.pkp_site_nav_toggle {
        position: inherit;
        margin: auto 4px;
    }

    .pkp_head_wrapper {
        background: #0b2a67;
        padding: 0 5px !important;
    }
}

.obj_issue_toc .galleys, .obj_issue_toc .section {
    position: relative;
    margin: 0px !important;
    padding: 0px !important;
}

.pkp_page_index .additional_content {
    word-break: break-word;
    overflow-wrap: break-word;
}

p, #articleAbstract>div {
    text-align: justify;
}

div#content p, div#content div {
    overflow: auto;
}

.top_recub>a>img {
    height: inherit;
    width: 75%;
    max-width: 500px;
}

.logo_ub_top {
    width: 25% !important;
    height: inherit;
    max-width: 173px;
}

#header {
    min-height: inherit ! important;
    background-color: #fff;
    margin: 0px;
}

#header h1 {
    margin: 0 auto;
    padding: 0.5em 0 !important;
}

#header h1>img {
    width: 100% !important;
    height: inherit;
    display: block;
    margin: 0 auto;
    max-width: 1000px;
}

.logo_ub:after {
    clear: both;
    content: "";
    display: block;
}

div#container {
    min-width: inherit !important;
}

img.menu_bot {
    width: 100%;
    max-width: 425px;
}

@media only screen and (max-width: 600px) {
    html {
        background: #2e2c2d;
    }

    div#main {
        float: inherit;
        width: 100%;
    }

    div#rightSidebar {
        width: 100%;
        float: none;
        margin: 7px auto;
        padding: 10px 0 0;
        display: inherit;
        border-top: 3px double #007;
    }

    img.logo_ub {
        margin: 0 auto;
        float: inherit;
        display: block;
        width: inherit;
        height: 50px;
    }

    img.menu_bot {
        display: block;
        margin: 0 auto;
    }

    div#body {
        width: 90%;
        margin: 0 auto;
    }
}