html {
    font-size: 14px;
    /*    position: relative;*/
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.tooltip {
    z-index: 2500 !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

header.fundoHeader {
    background-image: url('../images/bg/Cinza.png');
    background-size: cover;
}

div.fundoGalaxy, table.fundoGalaxy, body.fundoGalaxy {
    background-image: url('../images/bg/StarSpace.png');
    background-position: center;
}

.fundoCharacters {
    background-image: url('../images/bg/bgPlanets/13.jpg');
    background-position: center;
}

.tituloBG {
    background-image: url('../images/bg/vecteezy_flat-design-blue-comic-wallpaper_55822294.jpg');
    background-position: center
}

.backgroundInfo {
    background-color: #f2f2f2;
    min-height: 100vh;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

div.borda {
    border: 5px solid red;
    border-bottom: 50px;
}

html, body {
    height: 100%;
}

.container {
    flex: 1 0 auto;
}

body, html {
    overflow: visible !important;
}

body {
    margin-bottom: 60px;
    font-family: 'SwissFont', sans-serif;
    /*    background-color: #f2f2f2;*/
    display: flex;
    flex-direction: column;
    background-image: url('../images/bg/1876.jpg');
    background-size: cover;
    background-position: center;
}

p {
    color: rgb(0 0 0 / 55%);
}
/*NAVEGACAO PRINCIPAL*/
a.nav-comum {
    font-family: 'Gobold Extra1', sans-serif;
    color: #f2f2f2 !important;
    transition: color 0.3s ease !important;
}

.nav-comum:hover {
    color: #8d3636 !important;
}

/* NAV PAGINAÇÃO */
.pagination .page-link {
    color: #6c757d !important;
}

.borderCharacter {
    border: 50px solid transparent;
    border-image: url("../images/bg/border.png") 200 fill stretch;
    padding: 5px;
    display: inline-block;
}

.pagination .page-item.active .page-link {
    color: white !important;
    background-color: #6c757d !important;
    border-color: #6c757d !important;
}

.pagination .page-item.disabled .page-link {
    color: #adb5bd !important;
}

/*a.test {
    color: #8d3636;
}*/
footer.footer {
    font-family: 'Gobold Extra1', sans-serif;
    background-image: url('../images/bg/Cinza.png');
    padding-top: 16px;
    color: #f2f2f2 !important;
    flex-shrink: 0;
}

div.clickNome {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/*TITULOS H*/
h1.titulos-h, h2.titulos-h, h3.titulos-h, h4.titulos-h, h5.titulos-h, h6.titulos-h, h7.titulos-h, a.titulos-h {
    font-family: 'Gobold Extra1', sans-serif;
    color: #6c757d;
}

svg.warning {
    color: #8d3636 !important;
}

/*INFORMACOES*/
h1.titulo-pag-inf, h3.titulo-pag-inf, h6.titulo-pag-inf {
    background-color: #6c757d;
    color: #f2f2f2;
    transition: color .15s;
}

    h1.titulo-pag-inf:hover, h3.titulo-pag-inf:hover {
        background-color: #f2f2f2;
        color: #adb5bd;
        transition: color .15s;
    }

ul.titulo-pag-inf {
    color: #6c757d;
}

li.clickNome a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    li.clickNome a:hover,
    li.clickNome a:focus {
        text-decoration: none;
        color: inherit;
    }

span.clickNome a {
    text-decoration: none;
    color: #dc3545;
    cursor: pointer;
}

    span.clickNome a:hover,
    span.clickNome a:focus {
        text-decoration: none;
        color: inherit;
    }

div.clickNome a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/*CHARACTERS*/
select.organizarPor {
    color: white;
    background-color: #6c757d
}

.bg-background-characters {
    background-color: rgba(0, 0, 0, 0.1);
}

.info-characters div, .info-characters a {
    color: rgb(0 0 0 / 55%);
}

div.info-characters, .a.info-characters {
    font-family: 'SwissFont',
}

span.btn-outline-secondary {
    background-color: rgba(0, 0, 0, 0.3);
}

div.col[data-species="Demond"] div.border-5 {
    border-color: #6a0e17 !important;
}

div.col[data-species="Insectoid"] div.border-5 {
    border-color: #917d10 !important;
}

div.col[data-species="Dinosaurid"] div.border-5 {
    border-color: #6a4a26 !important;
}

div.col[data-species="Dragoid"] div.border-5 {
    border-color: #2b6f5c !important;
}

div.col[data-species="Strongind"] div.border-5 {
    border-color: #465450 !important;
}

div.col[data-species="Dragawned"] div.border-5 {
    border-color: #1d5216 !important;
}

div.col[data-species="Adaptoid"] div.border-5 {
    border-color: #959595 !important;
}

div.col[data-species="Yetrogind"] div.border-5 {
    border-color: #798633 !important;
}

div.col[data-species="Priesterord"] div.border-5 {
    border-color: #681b6b !important;
}

div.col[data-species="Wattizead"] div.border-5 {
    border-color: #325a0a !important;
}

div.col[data-species="Fishumand"] div.border-5 {
    border-color: #14316e !important;
}

div.col[data-species="Littlond"] div.border-5 {
    border-color: #857a4d !important;
}

div.col[data-species="Poctolopod"] div.border-5 {
    border-color: #423605 !important;
}

div.col[data-species="Hybrid"] div.border-5 {
    border-color: #aa0bc1 !important;
}
div.col[data-species="Humand"] div.border-5,
div.col[data-species="Humano"] div.border-5 {

}

span.btn-outline-secondary[data-species="Humand"], 
span.btn-outline-secondary[data-species="Humano"] {
    background-color: rgba(0, 0, 0, 0.3);
}
span.btn-outline-secondary[data-species="Demond"] {
    background-color: #9c1825;
    border-color: #6a0e17;
}

span.btn-outline-secondary[data-species="Insectoid"] {
    background-color: #edcc1a;
    border-color: #917d10;
}

span.btn-outline-secondary[data-species="Dinosaurid"] {
    background-color: #b2844f;
    border-color: #6a4a26;
}

span.btn-outline-secondary[data-species="Dragoid"] {
    background-color: #4ec2a2;
    border-color: #2b6f5c;
}

span.btn-outline-secondary[data-species="Strongind"] {
    background-color: #728a83;
    border-color: #465450;
}

span.btn-outline-secondary[data-species="Dragawned"] {
    background-color: #52cf42;
    border-color: #1d5216;
}

span.btn-outline-secondary[data-species="Adaptoid"] {
    color: #9b99af;
    background-color: #eeeeee;
    border-color: #959595;
}

span.btn-outline-secondary[data-species="Yetrogind"] {
    background-color: #d1e65c;
    border-color: #798633;
}

span.btn-outline-secondary[data-species="Priesterord"] {
    background-color: #c835cd;
    border-color: #681b6b;
}

span.btn-outline-secondary[data-species="Wattizead"] {
    background-color: #6dc512;
    border-color: #325a0a;
}

span.btn-outline-secondary[data-species="Fishumand"] {
    background-color: #2f67dd;
    border-color: #14316e;
}

span.btn-outline-secondary[data-species="Littlond"] {
    background-color: #d5c57c;
    border-color: #857a4d;
}

span.btn-outline-secondary[data-species="Poctolopod"] {
    background-color: #826a07;
    border-color: #423605;
}

span.btn-outline-secondary[data-species="Hybrid"] {
    color: #aa0bc1;
    background-color: #fce8ff;
    border-color: #aa0bc1;
}

span.btn-outline-secondary:hover,
span.btn-outline-secondary:focus {
    text-decoration: none;
    color: inherit;
}

div.characFonts {
    color: #6c757d;
}

div.characFontsQntd {
    color: #6c757d;
    font-size: 11px;
}

/*TABELA*/
.info-tabela th, .info-tabela td {
    color: rgb(0 0 0 / 55%);
}

tr.colunasNome {
    font-family: 'Gobold Extra1', sans-serif;
}

.infoescrito {
    color: rgb(0 0 0 / 55%);
    margin-left: 1px;
}

@media (max-width: 767px) {
    .infoescrito {
        color: rgb(0 0 0 / 55%);
        margin-left: 1px;
        font-size: 9px;
    }
}

.infoescrito_PWR {
    color: rgb(0 0 0 / 55%);
    margin-left: 1px;
    font-size: 14px
}

.img-brasoes {
    max-width: 30px !important;
}

@media (max-width: 767px) {
    .img-brasoes {
        max-width: 18px !important;
    }
}

div.crest, span.crest {
    margin-bottom: 14px
}

character-tables {
    color: rgb(0 0 0 / 55%);
}

img.imgAumentada {
    -webkit-transition: -webkit-transform .5s ease;
    transition: transform .5s ease;
}

    img.imgAumentada:hover {
        -webkit-transform: scale(1.7);
        transform: scale(1.7);
    }

a.textoAumentado {
    display: inline-block;
    -webkit-transition: transform 0.5s ease, font-size 0.5s ease;
    transition: transform 0.5s ease, font-size 0.5s ease;
}

    a.textoAumentado:hover {
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
        font-size: 1.1em;
    }

td.clickNome a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

    td.clickNome a:hover,
    td.clickNome a:focus {
        text-decoration: none;
        color: inherit;
    }

@media (max-width: 768px) {
    .tb-Oculta td:nth-child(n+4), .tb-Oculta th:nth-child(n+4), tb-OcultaChar td:nth-child(n+2), .tb-OcultaChar th:nth-child(n+2) {
        display: none;
    }
}

/*INDICE*/
nav.indice-lista {
    list-style: none;
    padding-left: 0;
}

    nav.indice-lista a {
        color: black;
        text-decoration: none;
    }

        nav.indice-lista a:hover {
            background-color: #6c757d;
            color: #fff;
        }

        nav.indice-lista a:visited {
            color: black;
        }

.nav-link.text-white:hover {
    color: #8d3636;
}

ul.indice-lista {
    list-style: none;
    padding-left: 0;
}

.indice-lista .crest {
    flex-grow: 1;
}

.indice-lista .progress {
    width: 100%;
}

.progress {
    background-color: #c4c9cb;
}

.indice-lista-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
}

    .indice-lista-nav a {
        margin: 0 15px;
        padding: 10px 5px;
        text-decoration: none;
        color: #000;
        border-radius: 5px;
        transition: background-color 0.3s;
    }

        .indice-lista-nav a:hover {
            background-color: #6c757d;
            color: #fff;
        }

.indice-lista-info {
    list-style: none;
    padding-left: 0;
}

/*LOGOS E IMAGENS*/
#logoInicial {
    width: 100px;
    transition: opacity 1s;
}

.inicialLogo {
    position: relative;
    width: 135px;
    height: 90px;
    overflow: hidden;
}

.logofenix {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
}

.protected-image {
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

/*SETAS NAVEGAÇÃO*/
.character-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.imageInfo-container {
    flex-grow: 1;
    text-align: center;
    z-index: 1;
}
.star-image.voted {
    cursor: default;
    pointer-events: none;
}

.star-image:not(.voted):hover {
    cursor: pointer;
    transform: scale(1.1);
    transition: transform 0.2s;
}
.responsive-character-image {
    max-width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.nav-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 100px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    margin: 0 10px;
}

    .nav-arrow svg {
        width: 30px;
        height: 30px;
    }

    .nav-arrow:hover {
        background-color: rgba(0, 0, 0, 0.8);
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .nav-arrow {
        width: 40px;
        height: 80px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .nav-arrow-left {
        left: 5px;
    }

    .nav-arrow-right {
        right: 5px;
    }

    .imageInfo-container {
        width: 100%;
    }
}
    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(255, 255, 255, 0);
        z-index: 10;
        cursor: not-allowed;
    }

    .imagem-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .imagem-info {
        position: relative;
    }


    .img_gender {
        width: 40px !important;
        height: 40px !important;
        vertical-align: text-top;
    }

.star-image {
    max-width: 100%;
    height: auto;
    max-height: 80vh;

}

    /*IMAGEM 'SOBRE'*/
    .container img {
        max-width: 75%;
        height: auto;
        margin-bottom: 1rem;
    }

    @media (max-width: 768px) {
        .row .col-md-6 {
            flex: 0 0 100%;
            max-width: 100%;
            text-align: center;
        }

        .text-start {
            text-align: left !important;
        }
    }
    /*PAGINA NOTFOUND*/
    h1.NotFound-h {
        padding-bottom: 150px;
        padding-top: 100px;
    }
    /*FONTES*/
    @font-face {
        font-family: 'Gobold Extra1';
        src: url('/fonts/Gobold Extra1 Italic.otf') format('woff'), url('/fonts/Gobold Extra1 Italic.otf') format('woff2'), url('/fonts/Gobold Extra1 Italic.otf') format('truetype');
        font-weight: normal;
        font-style: italic;
    }

    @font-face {
        font-family: 'SwissFont';
        src: url('/fonts/Swiss 721 BT') format('woff') format('woff');
        font-weight: normal;
        font-style: normal;
    }
    /* MODAL LOGIN */
    .modalLogin {
        display: block;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.7);
    }

    .modalLogin-content {
        background-color: #fefefe;
        margin: 10% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 400px;
        max-width: 90%;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    }

    .modalLogin-close {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
        cursor: pointer;
    }

        .modalLogin-close:hover {
            color: black;
        }

    .modalLogin-form-group {
        margin-bottom: 15px;
    }

        .modalLogin-form-group label {
            display: block;
            margin-bottom: 5px;
        }

        .modalLogin-form-group input {
            width: 100%;
            padding: 8px;
            box-sizing: border-box;
        }

    .modalLogin-submit-btn {
        width: 100%;
        padding: 10px;
        background-color: #6c757d;
        color: white;
        border: none;
        cursor: pointer;
    }

    .modalLogin-extra-options {
        margin-top: 15px;
        display: flex;
        justify-content: space-between;
    }

    .power-column {
        height: 160px;
        /*    overflow-y: auto;*/
    }

    /*.power-column::-webkit-scrollbar {
        width: 2px;
    }

    .power-column::-webkit-scrollbar-thumb {
        background-color: #6c757d;
    }
*/

    .image-container-infos {
        width: 100%;
        aspect-ratio: 3 / 4;
        overflow: hidden;
        position: relative;
        border: 1px solid #ccc;
        /*border-radius: 8px;*/
        background-color: #f0f0f0;
    }

        .image-container-infos img {
            position: relative;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%) scale(0.2);
            max-width: none;
            max-height: none;
            height: auto;
            width: auto;
        }

    @media (max-width: 767px) {
        .image-container-infos img {
            transform: translate(-50%, -50%) scale(0.1);
            max-width: 100%;
            max-height: 100%;
            width: auto;
            height: auto;
            object-fit: contain;
        }
    }

.imageInfo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    /*    background-color: #f7f7f7;*/

    overflow: hidden;
    max-width: 100%;
    max-height: 80vh;
}

.responsive-character-image {
    max-width: 100%;
    max-height: 80vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
    cursor: zoom-in;
}
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    text-align: center;
}
#imageModal img {
    pointer-events: none;
    user-select: none;
}
    .image-modal img {
        margin: auto;
        display: block;
        max-width: 90%;
        max-height: 90%;
        transition: 0.3s;
    }

    .image-modal .close {
        position: absolute;
        top: 30px;
        right: 35px;
        color: #fff;
        font-size: 40px;
        font-weight: bold;
        transition: 0.3s;
        cursor: pointer;
    }

        .image-modal .close:hover,
        .image-modal .close:focus {
            color: #bbb;
            text-decoration: none;
            cursor: pointer;
        }
#modalImage {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    display: block;
    margin: auto;
    pointer-events: none;
    user-select: none;
}
.btn-google {
    display: inline-flex;
    align-items: center;
    background-color: white;
    border: 1px solid #ccc;
    color: #555;
    padding: 1px 75px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.2s;
}

    .btn-google:hover {
        background-color: #f5f5f5;
    }

.google-logo {
    height: 25px;
    width: 25px;
    margin-right: 8px;
}

.subcat-icons {
    display: grid !important;
    grid-template-columns: repeat(6, auto);
    gap: 8px;
}

    .subcat-icons .img-category {
        max-width: 30px;
        height: auto;
    }

/* Tablet */
@media (max-width: 768px) {
    .subcat-icons {
        grid-template-columns: repeat(6, auto); 
    }

        .subcat-icons .img-category {
            max-width: 20px;
        }
}

/* Celular */
@media (max-width: 576px) {
    .subcat-icons {
        grid-template-columns: repeat(6, auto); 
    }

        .subcat-icons .img-category {
            max-width: 20px;
        }
}