/* =========================================
   VISIBILIDADE GERAL
   ========================================= */

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (min-width: 901px) {

    #desktop-acoes {
        position: fixed;
        left: 50%;
        bottom: 2px;
        transform: translateX(-50%);

        display: flex;
        align-items: center;
        gap: 12px;

        z-index: 10050;
        white-space: nowrap;
        pointer-events: auto;
    }

    #desktop-acoes a {
        position: static !important;
        transform: none !important;

        color: #fff;
        font: inherit;
        line-height: 1;
        text-decoration: none;
        cursor: pointer;
    }

    #desktop-acoes a:hover {
        text-decoration: underline;
    }
}


/* =========================================
   NOVA INTERFACE DESKTOP
   ========================================= */

#desktop-interface {
    display: none;
}


@media (min-width: 901px) {

    #desktop-interface {
        display: block;

        position: fixed;
        inset: 0;

        width: 100vw;
        height: 100vh;

        z-index: 10000;

        pointer-events: none;

        font-family: monospace;
        font-size: 14px;
        line-height: 1.03;

        color: #fff;
    }


    /* =====================================
       LINKS / CONTROLES
       ===================================== */

    #desktop-interface a,
    #desktop-interface a:link,
    #desktop-interface a:visited,
    #desktop-interface a:hover,
    #desktop-interface a:active,
    #desktop-interface a:focus,
    #desktop-interface button {
        color: #fff !important;

        font: inherit;

        background: transparent;

        border: 0;
        outline: 0;
        box-shadow: none;

        padding: 0;
        margin: 0;

        text-decoration: none !important;

        cursor: pointer;

        pointer-events: auto;
    }


    /* =====================================
       LOGO
       ===================================== */

    #desktop-logo {
        position: absolute;

        top: 2px;
        left: 2px;

        z-index: 10002;
    }


    /* =====================================
       TOTAL DE IMAGENS
       ===================================== */

    #desktop-total {
        position: absolute;

        top: 2px;
        left: 50%;

        transform: translateX(-50%);

        white-space: nowrap;

        z-index: 10002;
    }


    /* =====================================
       MENU VERTICAL ESQUERDO
       ===================================== */

    #desktop-menu-vertical {
        position: absolute;

        left: 2px;
        top: 50%;

        transform: translateY(-50%);

        display: flex;
        flex-direction: column;
        align-items: flex-start;

        margin: 0;
        padding: 0;

        z-index: 10002;

        pointer-events: auto;
    }


    #desktop-menu-vertical a {
        display: block;

        margin: 0;
        padding: 0;

        white-space: nowrap;
    }


    /* =====================================
       TAXONOMIA DIREITA
       ===================================== */

     #desktop-categorias-track {
        position: absolute;

        top: 22px;
        right: 0;
        bottom: 22px;

        width: 100%;

        overflow-y: auto;
        overflow-x: hidden;

        scrollbar-width: none;

        pointer-events: auto;
    }

#desktop-categorias-track::-webkit-scrollbar {
    display: none;
}

    /* =====================================
       LISTA DE CATEGORIAS
       ===================================== */

    @media (min-width: 901px) {

    #desktop-taxonomia {
        position: absolute;

        top: 2px;
        right: 2px;
        bottom: 2px;

        width: 240px;

        z-index: 10002;

        pointer-events: none;
    }


    /* seta superior */
    
     #desktop-categorias-track::-webkit-scrollbar {
        display: none;
    }

    #desktop-cat-prev,
    #desktop-cat-next {
        position: absolute;

        left: 70%;
        transform: translateX(-70%);

        z-index: 10003;

        color: #fff;
        text-decoration: none;

        line-height: 1;

        pointer-events: auto;
        cursor: pointer;
    }

    #desktop-cat-prev {
        top: 0;
    }

    #desktop-cat-next {
        bottom: 0;
    }


    /* seta inferior */


    /* área visível */ 

    /* lista */

    #desktop-categorias-list {
        display: block;

        width: 100%;

        margin: 0;
        padding: 0;
    line-height: 1.02;
        text-align: right;

        transform: translateY(0);

        will-change: transform;
    }


    #desktop-categorias-list a {
    display: block;

    margin: 0;
    padding: 0;

    line-height: 1.02;

    text-align: right;

    color: #fff;
    text-decoration: none;

    white-space: nowrap;
}

}
    /* =====================================
       SETAS DA TAXONOMIA
       ===================================== */

    #desktop-taxonomia-anterior,
    #desktop-taxonomia-proximo {
        position: static !important;

        display: block !important;

        flex: 0 0 auto !important;

        width: auto !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        -webkit-appearance: none;
        appearance: none;

        color: #fff !important;
        background: transparent !important;

        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;

        font: inherit !important;
        line-height: inherit !important;

        text-decoration: none !important;

        cursor: pointer;

        pointer-events: auto;
        text-align: left;
    }


    /* =====================================
       DATA / HORA
       ===================================== */

    #desktop-data {
        position: absolute;

        left: 2px;
        bottom: 14px;

        z-index: 10002;

        white-space: nowrap;
    }

}


/* =========================================
   FOOTER / MANCHETE
   ========================================= */

#footer-manchete {
    flex: 1;

    min-width: 0;
    width: 100%;

    overflow: hidden;

    white-space: nowrap;

    text-overflow: clip;
    text-align: center;

    cursor: pointer;

    color: #fff;

    font-family: monospace;
    font-size: 18px;
    line-height: inherit;
}


/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 600px) {

    .desktop-only {
        display: none !important;
    }


    .mobile-only {
        display: flex !important;
    }


    /* =====================================
       HEADER MOBILE
       ===================================== */

    .mobile-header {
        position: fixed;

        top: 0;
        left: 0;
        right: 0;

        z-index: 99999;

        display: flex;

        align-items: center;

        box-sizing: border-box;

        padding: 6px 8px;

        font-family: monospace;
        font-size: 16px;

        color: #fff;
    }


    #mobile-header-track {
        flex: 1;

        min-width: 0;

        overflow-x: auto;
        overflow-y: hidden;

        -webkit-overflow-scrolling: touch;

        scrollbar-width: none;
    }


    #mobile-header-track::-webkit-scrollbar {
        display: none;
    }


    #mobile-header-list {
        display: flex;

        width: max-content;

        gap: .3em;

        white-space: nowrap;
    }


    #mobile-header-list a,
    #mobile-header-list a:link,
    #mobile-header-list a:visited,
    #mobile-header-list a:hover,
    #mobile-header-list a:active {
        color: #fff !important;

        text-decoration: none !important;
    }


    .mobile-header-next {
        flex-shrink: 0;

        margin-left: 6px;
    }


    /* =====================================
       FOOTER MOBILE
       ===================================== */

    .mobile-footer {
        position: fixed;

        left: 0;
        right: 0;
        bottom: 0;

        z-index: 99999;

        width: 100%;
    }


    .footer-categorias {
        display: grid;
    }

}


/* =========================================
   FOOTER CATEGORIAS FORA DO MOBILE
   ========================================= */

@media (min-width: 601px) {

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

}


/* =========================================
   LIGHTBOXES
   ========================================= */

#consulta-lightbox {
    z-index: 200000 !important;
}


#imagem-lightbox {
    z-index: 210000 !important;
}

@media (min-width: 901px) {

    #desktop-data {
        position: fixed;
        left: 2px;
        bottom: 2px;

        z-index: 10002;

        margin: 0;
        padding: 0;

        color: #fff;
        line-height: 1;

        pointer-events: none;
    }

}
 