*{
    font-family: 'Red Hat Display', sans-serif;
}


.nav-content{
    display: none;
}

.nav-content.active{
    display: block;
}

::-webkit-scrollbar {
  width: 10px; /* Largura do scroll */
}

/* Estilize a al�«®a do scroll */
::-webkit-scrollbar-thumb {
  background-color: #888; /* Cor do scroll */
}

/* Estilize o hover da al�«®a do scroll */
::-webkit-scrollbar-thumb:hover {
  background-color: #555; /* Cor do scroll ao passar o mouse */
}


/* Lateral */
 #lateral::-webkit-scrollbar {
     width: 5px;
    /* Largura da barra de rolagem */
}
 #lateral::-webkit-scrollbar-track {
     background: #f1f1f1;
    /* Cor de fundo da barra de rolagem */
}
 #lateral::-webkit-scrollbar-thumb {
     background: #888;
    /* Cor do botÃ£o de rolagem */
     border-radius: 4px;
    /* Raio de borda do botÃ£o de rolagem */
}
 #lateral::-webkit-scrollbar-thumb:hover {
     background: #555;
    /* Cor do botÃ£o de rolagem quando hover */
}


#lateral{
    overflow-x: auto;
    width: 60px;
    transition: all 0.5s ease;
    z-index: 999;
}


body.ativo #lateral{
    width: 220px;
}


body:not(.ativo) #lateral .accordion-collapse{
    display: none;
}

 #lateral .item-menu .texto{
     display: none;
}
 #lateral:hover .item-menu .texto{
     display: inline;
}
 .titulo-menu{
     display:none;
}
 #lateral:hover .titulo-menu{
     display: block;
}
 body.ativo #lateral .item-menu .texto{
     display: inline;
}
 #lateral:hover{
     width: 220px;
}
 
 body.ativo #lateral .titulo-menu{
     display: block;
}

 
 #lateral .big{
     display: none;
}
 #lateral:hover .big{
     display:block;
}


body.ativo #lateral .btn-menu, body #lateral:hover .btn-menu{
    justify-content: space-between;
}



body #lateral .btn-menu{
    justify-content: center;
}


body.ativo #lateral .bi-chevron-down, body #lateral:hover .bi-chevron-down{
    display: block;
}

body #lateral .bi-chevron-down {
    display: none;
}

 body.ativo #lateral .big{
     display: block;
}
 #lateral:hover .small{
     display:none;
}

 body.ativo #lateral .small{
     display: none;
}
 #lateral:hover + #corpo {
     margin-left: 220px;
}
 body.ativo #lateral{
     width: 220px;
}
 #lateral #show .icone{
     transition: transform 0.5s ease;
}
 body.ativo #lateral #show .icone{
     transform: rotate(180deg);
}
 body.light #lateral{
     background-color: white;
}
 body #lateral{
     background-color: #212529;
}
/* Fim Lateral */


/* Topo */
 body.light #topo{
    background: var(--headerLightBackgroundImagem) var(--headerLightBackground)  repeat center center;
}
 body #topo{
     background: var(--headerDarkBackgroundImagem) var(--headerDarkBackground)  repeat center center;
}







/* Logo */
 body.light .logoLight{
     display: block;
}

 body.light .logoDark{
     display: none;
}


 body .logoLight{
     display: none;
}

 body .logoDark{
     display: block;
}




/* Body */

body{
    background-color: #121212;
}

body.light {
    background-color: #f6f8fc;
}

 #labelEscuro .marcador{
     content: "";
     position: absolute;
     top: 2px;
     left: 2px;
     width: 28px;
     background: linear-gradient(0deg,rgb(243 112 33) 0,rgb(255 153 93) 100%);
     z-index: 9;
     height:26px;
     transition: left 0.5s ease;
     border-radius: 5px;
}
 #modoEscuro{
     display:none;
}
 #modoEscuro:checked ~ .marcador{
     left: 30px;
     background: linear-gradient(0deg,rgb(0 128 157) 0,rgb(49 201 234) 100%);
}
 #btnPerfil .icone i{
     transition: transform 0.5s ease;
}


 .bg-preto{
     background-color: 000000;
}

html{
    min-height: 100%;
}

 body .background{
     background-color: #f6f8fc;
}
 body .background{
     background-color: #121212;
}


 body .backgroundTopo{
     background-color: #212529;
}
 body.light .text-contrast{
     color: #121212;
}
 body .text-contrast{
     color: white;
}

 body.light .bg-contrast{
    
     background-color: white;
}
 body .bg-contrast{
      background-color: #212529;
}

body.light #corpo{
     background-color: #f6f8fc;
}


body #corpo{
     background-color: #121212;
}






body:not(.light) .card {
     background-color: #212529;
     color: #fff;
}

 body:not(.light) .btn-menu:hover{
     background-color: black;
     color: white;
}

 body.light .btn-menu:hover{
     background-color: rgb(232 240 248);
}

 body:not(.light) .form-control {
     background-color: #333;
     color: #fff;
     border: 1px solid #666;
}

 body:not(.light) .form-control:focus {
     background-color: #333;
     color: #fff;
     border-color: #999;
     box-shadow: 0 0 0 0.25rem rgba(153, 153, 153, 0.25);
}

 body:not(.light) .form-control::placeholder {
     color: #999;
}

 body:not(.light) .form-control:disabled, body .form-control[readonly] {
     background-color: #333;
     opacity: 0.7;
}
 body:not(.light) .form-select {
     background-color: #333;
     color: #fff;
     border: 1px solid #666;
}
 body:not(.light) .form-select:focus {
     background-color: #333;
     color: #fff;
     border-color: #999;
     box-shadow: 0 0 0 0.25rem rgba(153, 153, 153, 0.25);
}
 body:not(.light) .form-select option {
     background-color: #333;
     color: #fff;
}
 body:not(.light) .form-select:disabled, body .form-select[readonly] {
     background-color: #333;
     opacity: 0.7;
}


#corpo{
    margin-left: 60px;
    transition: margin-left 0.5s ease;
}

@media (max-width: 991.98px) {
  #corpo{
    margin-left: 0px !important;

}

}


body.ativo #corpo{
     margin-left: 220px;
}
 .btn-contrast {
     color: #fff;
     background-color: #343a40;
     border-color: #343a40;
}
 body .btn-contrast {
     color: #212529;
     background-color: #f8f9fa;
     border-color: #f8f9fa;
}
 body.light .btn-contrast {
     color: #fff;
     background-color: #343a40;
     border-color: #343a40;
}
 .btn-contrast:hover {
     color: #fff;
     background-color: #23272b;
     border-color: #23272b;
}
 body .btn-contrast:hover {
     color: #212529;
     background-color: #e2e6ea;
     border-color: #e2e6ea;
}
 body.light .btn-contrast:hover {
     color: #fff;
     background-color: #23272b;
     border-color: #23272b;
}
 .btn-contrast:focus, .btn-contrast.focus {
     box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
 body .btn-contrast:focus, body .btn-contrast.focus {
     box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
 body.light .btn-contrast:focus, body.light .btn-contrast.focus {
     box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
 .btn-contrast.disabled, .btn-contrast:disabled {
     color: #fff;
     background-color: #343a40;
     border-color: #343a40;
}
 body .btn-contrast.disabled, body .btn-contrast:disabled {
     color: #212529;
     background-color: #f8f9fa;
     border-color: #f8f9fa;
}
 body.light .btn-contrast.disabled, body.light .btn-contrast:disabled {
     color: #fff;
     background-color: #343a40;
     border-color: #343a40;
}
 .btn-contrast:not(:disabled):not(.disabled):active, .btn-contrast:not(:disabled):not(.disabled).active, .show > .btn-contrast.dropdown-toggle {
     color: #fff;
     background-color: #1d2124;
     border-color: #1d2124;
}
 body .btn-contrast:not(:disabled):not(.disabled):active, body .btn-contrast:not(:disabled):not(.disabled).active, body .show > .btn-contrast.dropdown-toggle {
     color: #212529;
     background-color: #dae0e5;
     border-color: #dae0e5;
}
 body.light .btn-contrast:not(:disabled):not(.disabled):active, body.light .btn-contrast:not(:disabled):not(.disabled).active, body.light .show > .btn-contrast.dropdown-toggle {
     color: #fff;
     background-color: #1d2124;
     border-color: #1d2124;
}
 .btn-contrast:not(:disabled):not(.disabled):active:focus, .btn-contrast:not(:disabled):not(.disabled).active:focus, .show > .btn-contrast.dropdown-toggle:focus {
     box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
 body .btn-contrast:not(:disabled):not(.disabled):active:focus, body .btn-contrast:not(:disabled):not(.disabled).active:focus, body .show > .btn-contrast.dropdown-toggle:focus {
     box-shadow: 0 0 0 0.2rem rgba(248, 249, 250, 0.5);
}
 body.light .btn-contrast:not(:disabled):not(.disabled):active:focus, body.light .btn-contrast:not(:disabled):not(.disabled).active:focus, body.light .show > .btn-contrast.dropdown-toggle:focus {
     box-shadow: 0 0 0 0.2rem rgba(52, 58, 64, 0.5);
}
 .btn-contrast.btn-sm {
     padding: 0.25rem 0.5rem;
     font-size: 0.875rem;
     line-height: 1.5;
     border-radius: 0.2rem;
}
 .btn-contrast.btn-lg {
     padding: 0.5rem 1rem;
     font-size: 1.25rem;
     line-height: 1.5;
     border-radius: 0.3rem;
}

.form-label.obrigatorio:after{
   content: "*";
   color: red;
   margin-left: 5px;
   }
 
.text-vermelho {
    color: #e10600;
}


.bg-carregando {
  animation: timeline;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background: linear-gradient(to right, #444444 8%, #333333 18%, #444444 33%);
  background-size: 800px auto;
  background-position: 100px 0;
}


body.light .bg-carregando {
  animation: timeline;
  animation-duration: 1s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
  background-size: 800px auto;
  background-position: 100px 0;
}



@keyframes timeline {
  0% {
    background-position: -350px 0;
  }
  100% {
    background-position: 400px 0;
  }
}


.bg-vermelho {
    background-color: #e10600;
}

    .preloader {
        position: fixed;
        left: 0px;
        top: 0px;
        width: 100%;
        height: 100%;
        z-index: 999999999;
        background-color: #ffffff;
        background-position: center center;
        background-repeat: no-repeat;
        background-size: 100px;
    }

    .handle-preloader {
        background-color: black;
    }

    .handle-preloader {
        align-items: center;
        -webkit-align-items: center;
        display: flex;
        display: -ms-flexbox;
        height: 100%;
        justify-content: center;
        -webkit-justify-content: center;
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        z-index: 9999999;
    }

    .preloader-close {
        position: fixed;
        z-index: 99999999;
        font-size: 18px;
        background: #fff;
        width: 30px;
        height: 30px;
        line-height: 26px;
        text-align: center;
        cursor: pointer;
        right: 15px;
        top: 15px;
        border-radius: 0%;
    }

    .handle-preloader .animation-preloader {
        position: absolute;
        z-index: 100;
    }

    .handle-preloader .animation-preloader .spinner {
        animation: spinner 1s infinite linear;
        border-radius: 50%;
        height: 150px;
        margin: 0 auto 45px auto;
        width: 150px;
    }

    .handle-preloader .animation-preloader .txt-loading {
        text-align: center;
        user-select: none;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:before {
        animation: letters-loading 4s infinite;
        content: attr(data-text-preloader);
        left: 0;
        opacity: 0;
        top: 0;
        position: absolute;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading {
        font-weight: 500;
        letter-spacing: 15px;
        display: inline-block;
        position: relative;
        font-size: 70px;
        line-height: 70px;
        text-transform: uppercase;
        color: transparent;
        -webkit-text-stroke-width: 1px;
        font-family: 'Nunito Sans', sans-serif;
        -webkit-text-stroke-color: rgba(255, 255, 255, 0.30);
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(2):before {
        animation-delay: 0.2s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(3):before {
        animation-delay: 0.4s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(4):before {
        animation-delay: 0.6s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(5):before {
        animation-delay: 0.8s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(6):before {
        animation-delay: 1s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(7):before {
        animation-delay: 1.2s;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:nth-child(8):before {
        animation-delay: 1.4s;
    }

    .handle-preloader .loader-section {
        background-color: #ffffff;
        height: 100%;
        position: fixed;
        top: 0;
        width: calc(50% + 1px);
    }

    .preloader .loaded .animation-preloader {
        opacity: 0;
        transition: 0.3s ease-out;
    }

    .handle-preloader .animation-preloader .txt-loading .letters-loading:before {
        color: #ffffff;
    }

    .handle-preloader .animation-preloader .spinner {
        border: 3px solid #ffffff;
        border-top-color: rgba(255, 255, 255, 0.5);
    }


    @keyframes spinner {
        to {
            transform: rotateZ(360deg);
        }
    }

    @keyframes letters-loading {

        0%,
        75%,
        100% {
            opacity: 0;
            transform: rotateY(-90deg);
        }

        25%,
        50% {
            opacity: 1;
            transform: rotateY(0deg);
        }
    }

    @media screen and (max-width: 767px) {
        .handle-preloader .animation-preloader .spinner {
            height: 8em;
            width: 8em;
        }
    }

    @media screen and (max-width: 500px) {
        .handle-preloader .animation-preloader .spinner {
            height: 7em;
            width: 7em;
        }

        .handle-preloader .animation-preloader .txt-loading .letters-loading {
            font-size: 30px;
            letter-spacing: 10px;
        }
    }