@charset "UTF-8";

/* ATULIZAÇÃO HEADER COM BUSCA */

#menu-menu-home a i.fa::before{
    content: '';
    width: 14px;
    height: 16px;
    display: inline-block;
    background-position: center bottom;
    background-repeat: no-repeat;
}

#menu-menu-home a:hover i.fa{
    filter: invert(1) grayscale(1) brightness(2);
}
#menu-menu-home a i.fa-home::before{
    background-image: url(images/icon-home.png);
}
#menu-menu-home a i.fa-building::before{
    background-image: url(images/icon-quem-somos.png);
}
#menu-menu-home a i.fa-comment::before{
    width: 15px;
    background-image: url(images/icon-dicas.png);
}
#menu-menu-home a i.fa-times-circle::before{
    background-image: url(images/icon-informa-erro.png);
}

.toggle-menu .toggle-caret .fa:before {
    content: '+';
    font-family: initial;
    font-style: normal;
    font-size: 30px;
    position: relative;
}
.toggle-menu .active>.toggle-caret .fa:before{
    content: '-';
}

.footer-widgets .f-widget{
    width: 100%;
    font-size: 12px;
    text-align: left;
}

.footer-widgets .f-widget :where(.widget, p){
    margin-bottom: 0;
}

#pesquisar, #formulario_pesquisa {
    display: none;
}

@media screen and (max-width:800px) {
    a#pull{
        max-width: 20px;
        margin: 0;
        top: 3px;
        background-color: transparent !important;
    }
    a#pull:after {
        content: none;
    }

    #nav-mobile {
        position: relative;
        display: flow-root;
    }

    #nav-mobile span {
        background-color: #01620f;
        height: 3px;
        border-radius: 3px;
        width: 100%;
        display: block;
    }

    #nav-mobile span:not(:last-child) {
        margin-bottom: 4px;
    }

    #secondary-navigation a:hover {
        background: transparent !important;
    }

    #secondary-navigation {
        height: 0;
    }

    #mobile-menu-overlay {
        backdrop-filter: blur(2px);
    }

    #header .container {
        display: grid;
        grid-template-columns: 40px calc(100% - 80px) 40px;
        grid-template-areas: "menu logo pesquisa";
    }

    #pesquisar {
        padding: 0 3px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        align-content: center;
        border: none;
        position: relative;
        grid-area: pesquisa;
    }

    #header .logo-wrap {
        grid-area: logo;
        line-height: 1;
    }

    #secondary-navigation {
        grid-area: menu;
    }

    .magic-icon-search {
        display: inline-block;
        position: relative;
        width: 20px;
        height: 20px;
        cursor: pointer;
    }

    .magic-icon-search::before {
        content: "";
        display: inline-block;
        width: 10%;
        height: 35%;
        background: #01620f;
        position: absolute;
        left: 80%;
        top: 80%;
        transform: translate(-50%, -50%) rotate(-50deg);
        transition: all 0.3s;
    }

    .magic-icon-search::after {
        content: "";
        display: inline-block;
        position: absolute;
        width: 60%;
        height: 60%;
        border: 2px solid #01620f;
        border-radius: 50%;
        top: 40%;
        left: 40%;
        transform: translate(-50%, -50%) rotate(0deg);
        transition: all 0.3s;
    }

    #pesquisar:active {
        background: transparent;
    }

    .magic-icon-search.fechar::before {
        height: 120%;
        left: 50%;
        top: 50%;
    }

    .magic-icon-search.fechar::after {
        border-width: 0;
        border-radius: 0;
        width: 10%;
        height: 120%;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) rotate(50deg);
        transition: all 0.3s, background 0s 0.3s;
        background: #01620f;
    }

    #formulario_pesquisa #searchform {
        width: 95%;
    }

    #formulario_pesquisa #searchform input[type="text"] {
        border-radius: 5px;
    }

    #formulario_pesquisa {
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: all .3s ease-in-out;
        position: absolute;
        top: 44px;
        left: 1%;
        border-radius: 0 0 5px 5px;
    }

    #formulario_pesquisa.mostra {
        background: hsl(0deg 0% 100% / 90%);
        z-index: 0;
        width: 98%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: space-around;
        padding: 5px 0;
        box-shadow:
            0 2.8px 2.2px rgba(0, 0, 0, 0.02),
            0 6.7px 5.3px rgba(0, 0, 0, 0.028),
            0 12.5px 10px rgba(0, 0, 0, 0.035),
            0 22.3px 17.9px rgba(0, 0, 0, 0.042),
            0 41.8px 33.4px rgba(0, 0, 0, 0.05),
            0 100px 80px rgba(0, 0, 0, 0.07);
    }

    .main-header .container {
        background: transparent
    }

    #formulario_pesquisa #s {
        padding: 10px 0;
    }

    #formulario_pesquisa .sbutton {
        height: 38px;
        width: 18%;
        margin-top: 0;
    }
    .sidebar.c-4-12{
        max-width: 100%;
    }
    #page{
        display: flow-root;
        padding-top: 10px;
    }
    #header #logo a{
        display: flow-root;
        line-height: 1;
        font-size: 16px;
        margin: 3px 0px 0px 0px;
    }
    .postauthor{
        margin: 0 0 30px -1.8%;
        padding: 30px 1.8%;
    }
    #menu-menu-home a i.fa{
        filter: invert(1) grayscale(1) brightness(2);
    }
    #logo img{
        max-width: 90px;
    }
    .to-top{
        text-align: justify;
        margin-bottom: 5px;
    }
    .footer-widgets.widgets-num-3 .f-widget{
        width: 100%;
        max-width: 400px;
    }
    .copyrights{
        padding-top: 0;
    }
    #copyright-note span{
        display: none;
    }
    .footer-widgets .f-widget :where(.widget, p){
        text-align: justify;
    }
    .menu.categorias{
        border-top: 1px solid #01620f;
        border-bottom: 1px solid #01620f;
    }
    .menu.categorias .cat-item{
        display: grid;
        grid-template-columns: 30px calc(100% - 35px);
        gap: 5px;
        align-items: center;
    }
    .menu.categorias .cat-item:before{
        content: '';
        display: inline-flex;
        background-image: url('https://www.iptu.net.br/wp-content/themes/mts_schema/images/fa-folder.webp');
        background-repeat: no-repeat;
        background-position: center;
        width: 30px;
        height: 22px;
    }
    #header nav .menu.categorias .cat-item a{
        text-indent: 0;
    }
}


/* Atualizaçao sem fontawesome */
#search-image{
	background-image: url(images/lupa-branco.png);
	background-position: center;
	background-repeat: no-repeat;
}
#move-to-top{
	padding: 5px 11px 25px 8px;
}
.fa-angle-double-up:before{
	content: "»";
    font-family: initial;
    display: block;
    font-weight: normal;
    text-decoration: none;
    font-style: normal;
	transform: rotate(-90deg);
}
.breadcrumb .fa.fa-home{
	background-image: url(images/icon-home.png);
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 22px;
    width: 15px;
    margin: 0 10px 0 0;
}
.breadcrumb .fa.fa-caret-right:before{
	content: '➤';
	font-style: normal;
}

.breadcrumb>div{
    vertical-align: middle; 
}

.nav-previous a .fa-angle-left:before{
	content: '«';
	font-style: normal;
}
.nav-next a .fa-angle-right:before{
	content: '»';
	font-style: normal;
}
