/*REZENDE*/
a#pull:after {
    color: #275a77;
    text-shadow: 0px 0px 5px #fff;
    right: 10px
}

/*REZENDE*/
#commentform textarea {
    height: 150px;
}

#commentform .comment-form-url {
    display: none;
}

#commentform input#submit,
#mtscontact_submit {
    float: left;
}

.bypostauthor>div {
    background: #f3f5f6;
    color: #333;
}

.article {
    padding: 2.001%;
    padding-top: 3.994%;
    width: 68.015%;
}

#header {
    background: #202024;
}

#header .logo-wrap {
    padding: 5px 0
}

#header .logo-wrap img {
    max-width: 190px;
    width: 100%;
}

#secondary-navigation a {
    color: #fff
}

@media screen and (max-width: 865px) {
    #header .logo-wrap {
        padding: 0px 0;
        width: auto
    }

    a#pull:after {
        top: 8px;
        font-size: larger
    }

    #secondary-navigation {
        width: auto !important
    }

    .article {
        width: 100%;
    }
    #header .logo-wrap img{
        max-width: 106px;
        position: relative;
        top: 3px;
    }
}

a#pull {
    background-color: transparent;
}

.left {
    float: left
}

/*BOTAO FECHAR MENU MOBILE*/
#mobile-menu-overlay {
    background-image: url(https://guiadesp.com.br/wp-content/themes/mts_schema/images/botao-fechar.png);
    background-repeat: no-repeat;
    background-position-x: 98%;
    background-position-y: 2%;
}

/*BOTAO VOLTAR*/
.pagination a:hover,
.pagination .nav-previous a:hover {
    background-color: #202024;
}

/*RODAPE*/
footer{
    overflow: visible;
}
#site-footer {
    background-image: url(https://guiadesp.com.br/wp-content/themes/mts_schema/images/fundo-rodape.webp);
    background-color: #be0008;
    position: relative;
}
.copyrights {
    background-color: #be0008;
}
#copyright-note a{
    color:currentColor !important
}

/*IPHNE 5*/
@media screen and (max-width: 321px) {
    .navigation.mobile-menu-wrapper {
        width: 260px;
    }
    
    #mobile-menu-overlay {
        background-size: 30px;
    }
}
@media screen and (max-width: 500px) {
    #sidebar .widget{
        float: none;
    }
    .footer-widgets{
        padding-top: 110px;
    }
    #site-footer{
        margin-top: 95px;
    }
    .copyrights .container::before{
        top: -370px;
        right: 260px;
        width: 75px;
    }
}

.single_page h1,
.single_page .post-content h1,
.single_page .post-content h2,
.single_page .post-content h3,
.single_page .post-content h4,
h1.single-title,
.post-single-content h2,
.post-single-content h3,
.post-single-content h4 {
    border-bottom: 1px solid #be0008;
    color: #202024;
    padding: 2px;
    text-transform: none;
}

.single_page h1,
.single_page .post-content h1,
h1.single-title {
    font-size: 25px
}

.single_page .post-content h2,
.post-single-content h2 {
    font-size: 21px
}

.single_page .post-content h3,
.post-single-content h3 {
    font-size: 18px
}

.single_page .post-content h4,
.post-single-content h4 {
    font-size: 18px
}

@media only screen and (min-width : 480px) {
    .topad {
        float: left;
        margin-right: 0px
    }
}

.feedburner {
    background: #fff url(/imgs/i_email.png) no-repeat 6px 50%;
    border: 1px solid #ccc;
    padding: 8px 6px 8px 28px;
    width: 120px;
}

.sbutton {
    margin-top: 0;
    width: 52px;
    background-color: #be0008;
}

.sub-menu li a{
    background-color: #be0008;
}

#s {
    width: 80%
}

.fa-2 {
    font-size: 2em;
}

.page h1.title {
    margin-bottom: 12px
}

#sidebar .widget.widget_search,
#sidebar .widget.mts_subscribe_widget,
#sidebar .widget.widget_product_search {
    background: #fff;
}

article ul {
    padding: 0 0 0.9em 1.9em
}

#sidebar .widget {
    font-size: 14px
}

#sidebar .widget h3 {
    font-size: 18px
}

@media screen and (max-width: 1366px) {
    .shareit {
        margin: 0 0 0 -100px;
    }
}

.col-2 {
    width: 49.6%;
    display: inline-block;
}

.video-youtube {
    width: 100%;
    height: 389px;
}

@media screen and (max-width:500px) {

    .footer-widgets.widgets-num-4 .f-widget,
    .footer-widgets.widgets-num-3 .f-widget {
        width: 100%
    }

    .col-2 {
        width: 100%;
    }

    .video-youtube {
        height: 175px
    }
}

.f-widget a,
.widget .post-info {
    color: #fff !important;
}

#content_box h1,
#content_box h2,
#content_box h3,
#content_box h4,
#content_box h5,
h6 {
    position: relative;
}

/* #content_box h2:after,
#content_box h3:after,
#content_box h4:after,
#content_box h5:after,
h6:after {
    content: url(https://guiadesp.com.br/wp-content/uploads/2020/03/beach.gif);
    position: absolute;
    right: 0
} */

#commentsAdd h4:after {
    content: ''
}
/* ATULIZAÇÃO HEADER COM BUSCA */

#pesquisar, #formulario_pesquisa {
    display: none;
}


#wpadminbar #wp-admin-bar-my-account.with-avatar>a img{
    width: 30px;
}

.img_autor{max-width:20px;border-radius:100%;padding:4px;background:#ddd;vertical-align:middle;}
    
.tnp-submit{
    cursor: pointer;
}

.footer-widgets h3,
.f-widget a, .widget .post-info,
#copyright-note {
    color: #fff !important;
}

.post-data-container .post-title,
.post-data-container .post-info {
    color: #be0008;
}

.widget .post-info>span {
    color: #be0008;
}

#move-to-top {
    background-color: #be0008;
}


@media screen and (max-width:800px) {

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

    #nav-mobile span {
        background-color: #05b9ee;
        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: 6px 3px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        align-content: center;
        flex-wrap: wrap;
        border: none;
        position: relative;
        grid-area: pesquisa;
        top: 2px;
    }

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

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

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

    .magic-icon-search::before {
        content: "";
        display: inline-block;
        width: 10%;
        height: 35%;
        background: #fff;
        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: 55%;
        height: 55%;
        border: 2px solid #fff;
        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: #fff;
    }

    #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: 41px;
        left: 1%;
    }
    #formulario_pesquisa.mostra {
        background:  #202024;
        border-radius: 0px 0px 5px 5px;
        background-blend-mode: overlay;
        z-index: 9;
        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;
    }
    #formulario_pesquisa .sbutton .fa-2 {
        font-size: 16px;
    }
    
    .sidebar.c-4-12 {
        max-width: 100%;
    }
    .menu.categorias{
        border-top: 1px solid var(--cor-borda-menu);
        border-bottom: 1px solid var(--cor-borda-menu);
    }
    .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://guiadesp.com.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;
    }
    a#pull:after {
        content: none;
    }

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

    #nav-mobile span {
        background-color: #fff;
        height: 3px;
        border-radius: 3px;
        width: 25px;
        display: block;
    }

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

    #secondary-navigation a:hover {
        background: transparent !important;
    }
    #page{
        padding-top: 10px;
    }
}


@media screen and (min-width: 800px){
    #lista-subprefeituras li {
        width: 50%;
        float: left;
    }
}