body{
    &.filter_grayscale{
        filter: grayscale(1) invert(1);
    }
    &.filter_invert{
        filter: invert(1);
    }
    &.add_fontsize{
        &.fs-sm{
            & .footer .footer-content,
            & .footer .footer-content .link{
                font-size: 0.9rem;
            }
            & h1{
                font-size: 2rem!important;
            }
            & .card .card-body,
            & .card .card-footer{
                height: 100%!important;
                max-height: 100%!important;
                font-size: 1rem!important;
            }
            & .card .card-footer .data-hora,
            & p,
            & .top-header *,
            & .descricao-content,
            & .menu-content .nav-link{
                font-size: 1rem!important;
            }
        }
        &.fs-md{
            & .footer .footer-content,
            & .footer .footer-content .link{
                font-size: 1rem;
            }
            & h1{
                font-size: 2.1rem!important;
            }
            & .card .card-body,
            & .card .card-footer{
                height: 100%!important;
                max-height: 100%!important;
                font-size: 1.1rem!important;
            }
            & .card .card-footer .data-hora,
            & p,
            & .top-header *,
            & .descricao-content,
            & .menu-content .nav-link{
                font-size: 1.1rem!important;
            }
        }
        &.fs-lg{
            & .footer .footer-content,
            & .footer .footer-content .link{
                font-size: 1.1rem;
            }
            & h1{
                font-size: 2.2rem!important;
            }
            & .card .card-body,
            & .card .card-footer{
                height: 100%!important;
                max-height: 100%!important;
                font-size: 1.2rem!important;
            }
            & .card .card-footer .data-hora,
            & p,
            & .top-header *,
            & .descricao-content,
            & .menu-content .nav-link{
                font-size: 1.2rem!important;
            }
        }
    }
    &.dark_mode{
        background: #111;
        & .top-header{
            background: #111;
            color: #fff;
            border-bottom: 1px solid #222;
            & a {
                background: #111!important;
                color: #fff!important;
                & i{
                    background: transparent!important;
                }
            }
            & .container {
                & .content-right {
                    .btn-acesso {
                        border: 1px solid #ddd;
                    }
                }
            }
        }
        & .bg-header{
            background: #111!important;
            color: #fff!important;
            & .coluna-2{
                & .pesquisa{
                    & input{
                        background: #fff;
                    }
                    & button{
                        border: 1px solid #fff;
                        color:#fff;
                        background: #111;
                    }
                }
            }
        }
        & .menu-content{
            background: #111;
            border-bottom: 1px solid #222;
            &::before {
                background-color: #ccc;
            }
            & .nav {
                & .nav-item {
                    & .nav-link {
                        &.active {
                            background-color: #fff;
                            color: #111;
                        }
                        &:hover, &:focus{
                            background-color: #333;
                            color: #fff;
                        }
                    }
                }
            }
        }
        & section {
            & .title-content {
                h1.title-section {
                    color: #fff;
                }
            }
        }
        #links{
            background-color: #222;
        }
        #acesso-rapido{
            background: #222;
        }
        & #ultimas-noticias, & #noticias-section {
            & .card-ultimas-noticias {
                background: #222;
                color: #eee;
                .card-header{
                    &::after{
                        filter: grayscale(1);
                    }
                    & .img-content {
                        &::before {
                            background: linear-gradient(180deg, #a7aba847 30%, #141414 80%);
                        }
                    }
                }
                .card-body{                
                    background: #222;
                    color: #eee;
                } 
                .card-footer{
                    background: #333;
                    color: #ccc;
                    & .data-hora{
                        color: #ddd;
                    }
                }
            }
        }
        & #videos {
            & .videos-content {
                &::before {
                    background: #555;
                }
                .lista-videos {
                    background-color: #222;
                    .card{
                        background: #222;
                        border: none;
                        .video{
                            border: none;
                        }
                    }
                }
            }
        }
        & #cartilhas {
            & .card-cartilha {
                .card-body{
                    background: linear-gradient(0deg, #222, #555);
                }
                .card-footer{
                    background: #555;
                    color: #eee;
                }
            }
        }
        #breadcrumbs-cover,#servicos_cards{
            background: #222;
        }
        #audiencia_de_custodia {
            .audiencia-content {
                background-color: #111;
                .descricao{
                    color: #ddd;
                }
            }
        }
        #conta_deposito{
            background-color: #333;
        }
        #quem_somos_descricao {
            & .content-descricao {
                color: #ccc;
            }
        }
        .gradiente-back-end{
            background-image: linear-gradient(180deg, #06663a 18%, #111 54%);
        }
        #section-missao {
            color: #ccc;
            #background-missao{
                mix-blend-mode: luminosity;
                svg{
                    path{
                        fill: #111!important;
                    }
                }
            }
        }
        #o_que_fazemos{
            h5{
                color: #aaa;
            }
        }
        .background-fixed{
            & .card-green{
                background-color: rgba(0, 0, 0, 0.5);
                p{
                    color: #ccc;
                }
            }
            & .overlay{
                background-color: rgba(0, 0, 0, 0.75);
            }
        }
        #organograma {
            .orgchart {
                background-color: #111;
            }
        }
        section{
            p{
                color: #aaa;
            }
            h3{
                color: #aaa;
            }
        }
        #corregedoria-geral{

            .corregedoria-geral-content{
                background-color: #444;
            }
        }
        #endereco_subdefensoria {
            & .content-endereco {
                background-color: #444;
                & .endereco {
                    .title {
                        color: #ddd;
                    }
                }
            }
        }
        #nucleos_chefias{
            &::after{
                background-color: rgba(0, 0, 5, .92);
            }
        }
        #third-section-dna {
            &::after {
                background-color: #111;
            }
        }
        #ouvidoria_externa_header{
            color: #aaa;
        }
        #novos_nomeados{
            background-color: #333;
            & .row {
                .content-anexos{
                    background-color: #151515;
                }
            }
        }
        #voluntarios {
            background: linear-gradient(90deg, #032b18 50%, #14411f 50%);
            & .container {
                & .content-voluntarios {
                    & .content-column {
                        & .content-main {
                            & .content-anexos {
                                background-color: #151515;
                            }
                        }
                    }
                }
            }
        }
        #atribuicoes {
            background-color: #111;
            & .container {
                .content-text {
                    color: #ccc;
                }
                & .content-contatos {
                    .card-contato {
                        background-color: #252525;
                    }
                }
            }
        }
    }
    header{
        font-family: 'Raleway';
    }
    .top-header{
        padding: 8px 0;
        background-color: #001E0E;
        font-size: 0.8rem;
        .container-header{
            padding: 0% 15%;
            display: flex;
            justify-content: space-between;
            .content-left{
                display: flex;
                align-items: center;
                .btn-icon{
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    text-decoration: none;
                    margin-right: 10px;
                    transition: all .25s ease-in-out;
                    &:hover{
                        transform: scale(1.05);
                    }
                    i{
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        fill: white;
                        background: #06663a;
                        padding: 4px;
                        border-radius: 5px 5px 5px 0;
                        width: 25px;
                        height: 25px;
                        margin-right: 5px;
                    }
                }
            }
            .content-right{
                display: flex;
                align-items: center;
                justify-content: center;
                .social-links{
                    display: flex;
                    align-items: center;
                    gap: 10px;
                    .btn-social-icon{
                        background-color: #555;
                        border-radius: 5px 5px 5px 0;
                        text-decoration: none;
                        color: #fff;
                        display: inline-flex;
                        align-items: center;
                        font-size: 1rem;
                        justify-content: center;
                        height: 30px;
                        width: 30px;
                        transition: all 0.25s ease-in-out;
                        &:hover{
                            transform: scale(1.1);
                            filter: brightness(120%);
                        }
                        &.facebook-icon{
                            background-color: #2957BA;
                        }
                        &.twitter-icon{
                            background-color: #0EC0D8;
                        }
                        &.youtube-icon{
                            background-color: #C60301;
                        }
                        &.flickr-icon{
                            background-color: #E60397;
                        }
                        &.instagram-icon{
                            background: #f09433; 
                            background: -moz-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); 
                            background: -webkit-linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
                            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%); 
                            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f09433', endColorstr='#bc1888',GradientType=1 );
                        }
                    }
                }
                .webmail{
                    margin: 0 30px;
                    color: #ddd;
                    a{
                        color: #ddd;
                        padding: 5px 10px;
                        border: 1px solid rgba(255,255,255, 0.3);
                        border-radius: 5px 5px 5px 0;
                        transition: all .25s ease-in-out;
                        text-decoration: none;
                        i{
                            margin-right: 5px;
                        }
                        &:hover{
                            background-color: rgba(0,0,0,.3);
                            color: #fff;
                            border: 1px solid #fff;
                        }
                    }
                }
                .btn-acesso{
                    border-radius: 5px 5px 5px 0;
                    background-color: #7FAE00;
                    border: none;
                    padding: 5px 20px;
                    height: 30px;
                    font-size: 0.75rem;
                    font-weight: 500;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    transition: all 0.25s ease-in-out;
                    i{
                        line-height: 0;
                    }
                    &:hover{
                        filter: brightness(115%);
                    }
                }
            }
        }
    }
    .bg-header{
        height: 185px;
        /* background-image: url(https://www.defensoria.pe.def.br/static/imgs/bg-header.png); */
        background-color: #fff;
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: cover;
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: row;
        .coluna-1{
            display: flex;
            align-items: center;
            justify-content: center;
            flex-basis: 50%;
            .logo{
                border: none!important;
                background: none!important;
                padding: 0!important;
                height: 165px;
                display: flex;
                align-items: center;
                justify-content: center;
                a{
                    transition: all 0.25s ease-in-out;
                    &:hover{
                        filter: brightness(1.15);
                    }
                }
                img{
                    max-width: 350px;
                }
            }
        }
        .coluna-2{
            flex-basis: 35%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            .desc-pesquisa-transparencia{
                font-size: 1rem;
                margin-bottom: 5px;
                color: #06663a;
                font-weight: 600;
            }
            .pesquisa{
                /* margin-left: 150px; */
                box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
                border-radius: 5px 5px 5px 0;
                input{
                    height: 35px;
                    width: 250px;
                    border: 1px solid #06663a;
                    border-radius: 5px 0 0 5px;
                    background-color: rgba(255, 255, 255, 0.85);
                    outline: none;
                    font-size: 0.85rem;
                    padding-left: 10px;
                }
                button{
                    border-radius: 0 5px 5px 0;
                    height: 35px;
                    width: 35px;
                    background-color: #50B150;
                    color: #fff;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    border: 1px solid #06663a;
                    border-left: none;
                    &:hover, &:focus{
                        background-color: #06663A;
                        box-shadow: none;
                    }
                    i{
                        line-height: 0;
                        font-size: 0.8rem;
                    }
                }

            }
        }
        .coluna-3{
            flex-basis: 15%;
            .selo {
                img{
                    max-width: 140px;
                    width: 100%;
                }
            }
        }
    }
    .menu-content{
        background-color: transparent;
        background-image: linear-gradient(360deg, #06663a 0%, #309348 100%);
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 100%;
        .container-header{
            padding: 0% 15%;
            width: 100%!important;
        }
        &::before{
            content:"";
            position: absolute;
            top: -3px;
            width: 100%;
            height: 3px;
            background-color: #b57e10;
        }
        .navbar-toggler{
            display: none;
        }
        .nav.collapse{
            display: flex;
        }
        .nav{
            width: 100%;
            .nav-item{
                position: relative;
                flex-grow: 1;
                &:not(:last-child):after{
                    content: '';
                    display: inline-block;
                    width: 1px;
                    height: 20px;
                    position: absolute;
                    right: -1px;
                    top: 50%;
                    transform: translateY(-50%);
                    background-color: rgba(255,255,255, 0.3);
                }
                .nav-link{
                    height: 55px;
                    color: #eee;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-weight: 600;
                    font-size: 0.8rem;
                    text-transform: uppercase;
                    border-radius: 0;
                    &:hover, &:focus {
                        background: #B19D07;
                    }
                    &.active{
                        background-color: #0A6A3B;
                    }
                }
                .menudropdown{
                    background-color: #fff;
                    position: absolute;
                    z-index: 9;
                    border: 1px solid #ddd;
                    border-radius: 0;
                    list-style: none;
                    padding: 0;
                    font-size: 0.85rem;
                    .submenu-content{
                        position: relative;
                        & .menudropdown{
                          left: 100%;
                          top: -1px;
                        }
                    }
                    .dropdown-item{
                        padding: 0.7rem 1.5rem;
                        border-bottom: 1px solid #eee;
                        &:hover, &:focus{
                            background-color: #001E0E;
                            color: #fff;
                        }
                    }
                    
                }
            }
        }
    }
    #breadcrumbs-cover{
        background-color: #06663A;
        height: 145px;
        background-image: url(https://www.defensoria.pe.def.br/static/imgs/verde-1.png), radial-gradient(at top center, #309348 0%, #001e0e 100%);
        background-repeat: no-repeat;
        background-position: bottom center;
        background-size: cover;
        display: flex;
        align-items: center;
        width: 100%;
        flex-direction: row;
        color: #ffffff;
        font-family: 'Raleway';
        #breadcrumbs-title{
            font-weight: 700;
            font-size: 2.3rem;

        }
    }
}

#js_menu_acessibilidade{
    .nav-link{
        display: flex;
        align-items: center;
        justify-content: space-between;
        .toggle-switch {
            margin-left: 15px;
            position: relative;
            display: inline-block;
            width: 30px;
            height: 14px;
            cursor: pointer;
        }
        
        .toggle-switch input[type="checkbox"] {
            display: none;
        }
        
        .toggle-switch-background {
            position: absolute;
            top: -1px;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #ddd;
            border-radius: 20px;
            box-shadow: inset 0 0 0 2px #ccc;
            transition: background-color 0.3s ease-in-out;
        }
        
        .toggle-switch-handle {
            position: absolute;
            top: -1px;
            left: 0px;
            width: 16px;
            height: 16px;
            background-color: #fff;
            border-radius: 50%;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
            transition: transform 0.3s ease-in-out;
            border: 1px solid #ccc;
        }
        
        .toggle-switch::before {
            content: "";
            position: absolute;
            top: -2px;
            right: -5px;
            font-size: 12px;
            font-weight: bold;
            color: #aaa;
            text-shadow: 1px 1px #fff;
            transition: color 0.3s ease-in-out;
        }
        
        .toggle-switch input[type="checkbox"]:checked + .toggle-switch-handle {
            transform: translateX(16px);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2), 0 0 0 3px #05c46b;
        }
        
        .toggle-switch input[type="checkbox"]:checked + .toggle-switch-background {
            background-color: #05c46b;
            box-shadow: inset 0 0 0 2px #04b360;
        }
        
        .toggle-switch input[type="checkbox"]:checked + .toggle-switch:before {
            content: "On";
            color: #05c46b;
            right: -15px;
        }
        
        .toggle-switch input[type="checkbox"]:checked + .toggle-switch-background .toggle-switch-handle {
            transform: translateX(16px);
        }
    }
}


/* RESPONSIVO */
@media screen and (max-width: 839px) {
    body{
        .top-header{
            padding: 30px 15px!important;
            .container-header{
                padding: 0% 10%!important;
                display: block!important;
                .content-left{
                    display: block!important;
                    .icon-links{
                        display: flex!important;
                        .btn-icon{
                            margin: 0!important;
                            width: 100%!important;
                            font-size: 0.85rem!important;
                            display: flex!important;
                            flex-direction: column!important;
                            i{
                                margin: 0!important;
                                width: 30px!important;
                                height: 30px!important;
                            }
                        }
                    }
                }
                .content-right{
                    display: block!important;
                    margin-top: 20px!important;
                    .social-links{
                        padding-top: 15px!important;
                        border-top: 1px solid rgba(0, 80, 0, .3)!important;
                        display: flex!important;
                        justify-content: center!important;
                        gap: 20px!important;
                        .btn-social-icon{
                            font-size: 1rem!important;
                            width: 30px!important;
                            height: 30px!important;
                        }
                        label{
                            display: none!important;
                        }
                    }
                    .webmail{
                        font-size: 0.85rem!important;
                        margin: 20px 0!important;
                        text-align: center!important;
                        a{
                            padding: 5px 15px!important;
                        }
                    }
                    .btn-acesso{
                        border-radius: 7px 7px 7px 0!important;
                        font-size: 0.85rem!important;
                        height: 30px!important;
                    }
                }
            }
        }
        .bg-header{
            height: auto;
            padding: 30px 15px;
            flex-direction: column;
            justify-content: center;
            .coluna-1{
                .logo{
                    height: auto;
                    img{
                        max-width: 250px;
                    }
                }
            }
            .coluna-2{
                margin-top: 15px;
                .desc-pesquisa-transparencia{
                    text-align: center;
                    font-size: 0.9rem;
                    margin-bottom: 0;
                }
                .pesquisa{
                    text-align: center;
                    margin: 10px auto;
                    /* border: 1px solid green; */
                    border-radius: 0 4px 4px 0;
                    input{
                        font-size: 0.95rem;
                    }
                }

            }
            .coluna-3{
                display: none;
            }
        }
        
        & .menu-content{
            .container-header{
                padding: 0% 10%!important;
            }
            .navbar-toggler{
                display: block;
                width: 50px;
                padding: 10px;
                margin: 8px 0;
                box-shadow: none;
                background-color: #309348;
                border: 1px solid rgba(255,255,255, 0.2);
                i{
                    color: #fff;
                    font-size: 1.5rem;
                }

            }
            /* height: 50px; */
            & .nav.collapse{
                display: none;
            }
            & .nav.collapsing, & .nav.show{
                display: block;
                & .nav-item{
                    display: block;
                    &:not(:last-child):after{
                        display: none;
                    }
                    & .menudropdown.dropdown-menu{
                        position: relative!important;
                        transform: none!important;
                        background: #226934;
                        border: none;
                        text-align: center;
                        width: 100%;
                        text-transform: uppercase;
                        li{
                            a{
                                padding: 12px;
                                border-bottom: none;
                                color: #fff;
                            }
                        }
                        & .submenu-content {
                            & .menudropdown {
                                position: relative!important;
                                left: auto;
                                top: auto;
                                font-size: 0.75rem;
                                border: none;
                                li{
                                    background-color: rgba(0, 0, 0, 0.3);
                                    a{
                                        border: none;
                                        padding: 12px 0;
                                        /* padding-left: 25px; */
                                    }
                                    & .menudropdown {
                                        li{
                                            background-color: rgba(0, 0, 0, 0.5);
                                        }
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
        & #breadcrumbs-cover {
            & #breadcrumbs-title {
                font-size: 1.8rem;
            }
        }
    }
}