:root {
    --primary-color: #284d91;
    --secundary-color: #fe8140;
    --action-color-success: #116611;
    --action-color-error: #ff0000;

    --primary-color-half:#284d9180;
    --secundary-color-half: #fdbd9a;
  
    --background-color: #f0f2f5;
    --background-box:#fff;
  
    --text-color: black;
    --text-title-color: #284e91;
    --text-color-white: #fff;
    --text-color-correcao: #cc0000;
  
    --icon-disable: #979292;
    --icon-active: #284d91;
  
    --icon-button: #979797;
  
    --icon-success: #116611;
    --icon-success-background: #d1f5d6;
  
    --icon-active-background: #f6f9ff;
    --icon-disable-hover: #52545a;
  
    --border-color: #b8cfe4;
    --border-color-primary: #b4c6eb;
    --border-color-input: #e48762;
    --border-color-table: #000000;
  
    --primary-color-shadow: rgba(40, 77, 145, 0.5); /* 50% da Cor primaria */
    --primary-shadow: rgba(1, 41, 112, 0.302);
    --shadow-box: #555555;

    --grafic-primary-color: #284e91;
    --grafic-second-color: #da3d2c;
    --grafic-third-color: #f48736;

    --chart-primary:#1C1FFE;
    --chart-second: #f58634;
    --chart-primary-shadow:#0E1080;

    --font-size: 90%;
}
.dark-mode:root{
    --primary-color:#fe8140;
    /* --secundary-color: #284d91; */

    --background-color: #212529;
    --background-box:#000;

    --text-color:#fff;
    /* --text-color-white:#000; */

    /* --primary-shadow: #a09c9c; */

    --primary-color-half: #fff;
}
/* .dark-mode h1 {
    color: var(--secundary-color)
}
.dark-mode h2 {
    color: var(--secundary-color)
}
.dark-mode h3 {
    color: var(--secundary-color)
}
.dark-mode h4 {
    color: var(--secundary-color)
}
.dark-mode h5 {
    color: var(--secundary-color)
}
.dark-mode h6 {
    color: var(--secundary-color)
} */
.dark-mode a {
    color: #fff;
}
.dark-mode #back-to-top{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode #back-to-top:hover{
    filter: invert(54%) sepia(87%) saturate(556%) hue-rotate(331deg) brightness(101%) contrast(99%);
}
.dark-mode .filter-primary:hover{
    filter: invert(54%) sepia(87%) saturate(556%) hue-rotate(331deg) brightness(101%) contrast(99%);
}
.dark-mode .form-control {
    background-color: #212529;
}
.dark-mode .form-control:read-only {
    background-color: var(--icon-disable-hover);
}
.dark-mode .form-select{
    background-color: #212529;
}
.dark-mode .btn-close {
    background-color: #fff;
}
.dark-mode label {
    color: #fff;
}
.dark-mode input {
    color: #fff;
}
.dark-mode input:focus {
    color: #fff;
}
.dark-mode select {
    color: #fff;
}
.dark-mode select:focus {
    color: #fff;
}
.dark-mode textarea{
    color: #fff;
}
.dark-mode textarea:focus{
    color: #fff;
}
.dark-mode ol,.dark-mode ul,.dark-mode il {
    color: #fff;
}
.dark-mode table,.dark-mode tr,.dark-mode th,.dark-mode td {
    color: #fff;
}
.dark-mode .filter-icon{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .filter-primary {
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .link-youtube{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .link-instagram{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .link-twitter{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .link-facebook{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}
.dark-mode .bg-box {
    box-shadow: 0px 0px 5px var(--primary-shadow);
}
/*Teste com '*' */
.dark-mode * {
    color: #fff;
}

.alto-contraste{
    filter: grayscale(100%);
}

.icon16{
    height: 16px;
    width: 16px;
    min-width: 12px;
}
.icon20{
    height: 20px;
    width: 20px;
    min-width: 16px;
}
.icon24{
    height: 24px;
    width: 24px;
    min-width: 20px;
}
.icon32{
    height: 32px;
    width: 32px;
    min-width: 28px;
}
.icon48{
    height: 48px;
    width: 48px;
    min-width: 44px;
}
.icon64{
    height: 64px;
    width: 64px;
    min-width: 60px;
}
.logo-header img{
    height: 60px;
}

.dropdown-menu{
    background-color: var(--background-box);
    border: solid 0.3px #fff;
}

.icon-button{
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    font-family: "Nunito", sans-serif;
    color: var(--primary-color-half);
    font-weight: 900;
}
.icon-button:hover{
    opacity: 0.7;
}

.nav-top{
    display: flex;
    justify-content: space-evenly;
    list-style: none;
    /* border: none; */
    width: 100%;
    align-items: center;
    margin: 8px auto;
    /* margin-bottom: 8px; */
    padding: 0.5rem 0;
    background-color: var(--background-box);
    box-shadow: 0px 0px 5px var(--primary-shadow);
}
.nav-top ol,ul{
    padding-left: 0px;
    list-style: none;
}
.nav-top > li {
    width: 100%;
    display: flex;
    justify-content: center;
}
.nav-top .nav-busca{
    display: flex;
    justify-content:center;
}
.nav-busca input{
    width: 100%;
}
.nav-top .nav-data {
    display: flex;
    justify-content: space-evenly;
}
.nav-top img {
    cursor: pointer;
    margin-right: 10px;
}
.nav-top .nav-data {
    align-items: center;
}
.nav-top .nav-item{
    display: flex;
    align-items: center;
    cursor: pointer;
    -webkit-user-drag: none;
}


.nav-list {
    display: flex;
    list-style: none;
    border: none;
    margin: 0;
    width: 100%;
    justify-content: right;
    align-items: center;
}
/* .nav-list a {
    display: flex;
    flex-direction: column;
    letter-spacing: 2px;
} */

.nav-logo {
    width: auto;
    position: absolute;
    left: 65px;;
    top: 4px;
}

.nav-element {
    width: auto;
    padding: auto;
    margin-right: 2.5%;
}
.nav-element a:hover{
    border-bottom: 3px solid var(--primary-color);
}
.nav-element img{
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 6px;
}

/* .button-floating {
    height: 58px;
}   */
.bg-box{
    background-color: var(--background-box);
    box-shadow: 0px 0px 5px var(--primary-shadow);
    justify-content: center;
    align-items: center;
    margin: 8px auto;
    padding: 8px 8px;
}

.disabledLink{
    pointer-events: none;
    opacity: 0.5;
}

.tab-nav {
    display: grid;
    grid-template-columns: repeat(auto-fill, 220px);
    justify-content: space-between;
    box-sizing: border-box;
    gap: 4px;
    width: 100%;
    margin: 16px auto;
}
.link-nav {
    height: 80px;
    margin: 4px;
    padding: 1px;
    background-color: var(--background-box);
    align-items: center;
    border: 1px solid var(--primary-color-half);
}
.link-nav:hover {
    cursor: pointer;
    box-shadow: 0px 5px 10px var(--primary-shadow);
    border: 1px dashed var(--primary-color);
    -webkit-transition: .4s linear;
    transition: .4s linear;
}

.tab-social {
    
}

@media screen and (max-width:768px){
    html {
      font-size: 70%;
    }
    .mobile-menu{
        display: block;
    }
    .nav-element {
      align-items: center;
      padding: 0;
      margin: 0;
      margin-bottom: 0;
    }
    .nav-top{
        display: flex;
        flex-direction: column;
    }
    .nav-top li {
        margin-bottom: 8px;
    }
}

.btn-lg {
    width: 10rem;
    padding: 0.8rem 0;
    margin: 0 4px;
}
.btn-long{
    width: 100%;
    padding: 0.6rem;
    font-size: 20px;
}

.hide {
    display: none!important;
}

table {
    -webkit-border-radius: 5px;
       -moz-border-radius: 5px;
            border-radius: 5px;
}

.table {
    margin-bottom: 0px;
}

.Inativo {
    background-color: #dc3545;
}
.Ativo {
    background-color: #0d6efd;
}
.Não {
    background-color: #dc3545;
}
.Sim {
    background-color: #0d6efd;
}

/* Mobile Menu */
.side-toggle{
    position: fixed;
    left: -3000px;
    z-index: 1000; 
}

.side-toggle.active {
    left: 0;
}

/* .nav-list li {
    letter-spacing: 3px;
    margin-left: 24px;
} */
  
.mobile-menu{
    display: block;
    cursor: pointer;
}
  
.mobile-menu div{
    width: 32px;
    height: 2px;
    background: var(--primary-color);
    margin: 8px;
    transition: 0.3s;
}
  
.mobile-menu.active .line1{
    transform: rotate(-45deg) translate(-8px, 8px);
}
  
.mobile-menu.active .line2{
    opacity: 0;    
}
  
.mobile-menu.active .line3{
    transform: rotate(45deg) translate(-5px, -7px);
}

html.active {
    overflow-y: hidden;
    padding-right: 15px !important;
}

.blocked{
    position: fixed;
    top: 76px;
    left: -30000px;
    width: 100%;
    height: calc(100% - 76px);  
    background: rgb(0, 0, 0);
    z-index: 999;
    opacity: 0.5;
    overflow-y: hidden;
}
.blocked.active{
    left: 0px;
}

.modal{
    background-color: rgba(0, 0, 0, 0.7);
}
.modal-content{
    background-color: var(--background-box);
}

.modal-title{
    width: 100%;
    text-align: center;
}
.modal-text{
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}
.btn-close {
    border: solid 0.5px rgba(0, 0, 0, 0.3);
}

/* Footer */
/* .icon-instagram:hover{
    color: #3f729b;
} */

.footer-copyright{
    height: 40px;
    background-color: var(--primary-color);
}
.footer-copyright h3{
    color: var(--text-color-white);
}

footer h5 {
    color: var(--secundary-color);
    text-transform: uppercase;
    font-weight: 700;
    font-size: 24px;
    font-family: sans-serif;
    margin-bottom: 8px;
}

footer ul {
    padding: 0;
}

.aviso-mid{
    height: calc(100vh - 190px);
    display:flex;
    flex-direction: column;
    justify-content: center;
}

.links-uteis li{
    display: flex;
    justify-content: center;
    list-style: none;
}

.social-icons ul{
    display: flex;
    justify-content: center;
    list-style-type: none;
    overflow: hidden;
}
.social-icons li{
    display: flex;
    justify-content: center;
    list-style: none;
}
.social-icons li a {
    display: block;
    text-align: center;
    padding: 8px;
    text-decoration: none;
    opacity: 1;
}

.link-youtube:hover {
    filter: invert(32%) sepia(94%) saturate(7348%) hue-rotate(357deg) brightness(93%) contrast(126%);
}
.link-instagram:hover {
    filter: invert(16%) sepia(99%) saturate(4228%) hue-rotate(280deg) brightness(87%) contrast(78%);
    /* filter: invert(26%) sepia(28%) saturate(6989%) hue-rotate(316deg) brightness(88%) contrast(89%); */
}
.link-twitter:hover{
    filter: invert(64%) sepia(99%) saturate(4008%) hue-rotate(179deg) brightness(99%) contrast(89%);
}
.link-facebook:hover {
    filter: invert(45%) sepia(100%) saturate(6062%) hue-rotate(213deg) brightness(110%) contrast(90%);
}

#back-to-top {
    /* position: relative; */
    bottom: 50px;
    right: 50px;
    float: right;
    cursor: pointer;
}

.filter-dark-icon{
    filter: invert(99%) sepia(25%) saturate(58%) hue-rotate(189deg) brightness(113%) contrast(100%);
}

.filter-icon{
    /* filter: invert(27%) sepia(94%) saturate(2294%) hue-rotate(210deg) brightness(99%) contrast(105%); */
}

.filter-primary:hover{
    cursor: pointer;
    filter: invert(27%) sepia(94%) saturate(2294%) hue-rotate(210deg) brightness(99%) contrast(105%);
}

@media screen and (max-width:900px){
    .nav-top h2{
        font-size: 1.5rem;
    }
    .nav-top h3{
        font-size: 1.3rem;
    }
}

.rotate:hover{
    transition: 2s;
    transform: rotate(540deg)
}