/*REZENDE NOVO*/
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%;
    width: 68.015%;
}

#header {
    /* background: linear-gradient(to top, rgb(0 155 35) 30%, rgba(255, 255, 255, 1) 45%, #ffffff 100%); */
    background:  #ffffff;
}

#header, .article, #sidebar .widget{   
    box-shadow: 0px 0px 1px rgba(3, 7, 18, 0.00), 0px 2px 4px rgba(3, 7, 18, 0.01), 0px 4px 9px rgba(3, 7, 18, 0.01), 0px 6px 15px rgba(3, 7, 18, 0.02), 0px 10px 24px rgba(3, 7, 18, 0.02);
}


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

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

#secondary-navigation a {
    color: #1c7750
}

a#pull {
    background-color: transparent;
}

.left {
    float: left
}

/*BOTAO FECHAR MENU MOBILE*/
#mobile-menu-overlay {
    background-image: url(https://monteverdemg.com/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: #F6990D;
}

/*RODAPE*/
#site-footer {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, .4), rgba(0, 0, 0, .2)), url(https://monteverdemg.com/wp-content/themes/mts_schema/images/monte-verde.webp);
    background-position: -10% bottom;
    background-size: cover
}

.copyrights {
    background: rgba(0,0,0,.5)
}


.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 #009640;
    color: #115e32;
    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
}


.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: #009640;
}

#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
}
.col-2 {
    width: 49.6%;
    display: inline-block;
}

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

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

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

#commentsAdd h4:after {
    content: ''
}

#copyright-note p{
    color: #fff;
    text-align: center;
    margin-bottom: 0;
}

#copyright-note p a{
    color: currentColor;
}

.footer-widgets{
    padding: 0;
}

.f-widget{
    padding: 24px 0em 24px 0em;
}

#pesquisar, #formulario_pesquisa {
    display: none;
}

:where(.advanced-recent-posts, .popular-posts) .attachment-schema-widgetthumb{
    width: 70px;
    height: auto;
}

#outside-page, #article-page{
    padding-top: 35px;
    position: relative;
    display: flow-root;
    margin-right: auto;
    margin-left: auto;
    max-width: 1152px;
    min-width: 240px;
    min-height: 100px;
    float: none;
    clear: both;
    margin-bottom: 0;
}

#outside-page #grid-posts{
    padding: 23px;
    padding-top: 22px;
    background-color: #FFF;
    display: grid;
    grid-template-columns: repeat(4, calc(25% - 8px));
    gap: 10px;
    border: 1px solid #f9f9f9;
    border-radius: 5px;
    box-shadow: 0px 0px 1px 0px rgba(50, 50, 50, 0.1);
}


.latestPost.grid #featured-thumbnail.schema-widgetfull{
    margin-right: 0;
}
.latestPost.grid .post-info{
    margin-bottom: 6px;
}

body:where(.home, .archive) .thecategory{
    font-size: 10px;
    text-transform: uppercase;
}
body:where(.home, .archive) .thetime.date{
    font-size: 12px;
}

.thecategory{
    color:#777777 !important;
}
.thecategory a{
    color:currentColor;
}

.social-profile-icons ul li a{
    background-color: rgba(0,0,0,.5) !important;
}

.footer-widgets{
    color: #fff;
}

.copyrights{
    padding: 15px 0;
}

.f-widget-1 .textwidget p{
    margin-bottom:0
}

.footer-widgets h3{
    position: relative;
}

.footer-widgets h3::after{
    content: '';
    width: 40px;
    height: 3px;
    background-color: #fff;
    z-index: 99;
    position: absolute;
    bottom: 0;
    left: 0;
}

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


@media screen and (max-width: 321px) {
    .navigation.mobile-menu-wrapper {
        width: 260px;
    }

    #mobile-menu-overlay {
        background-size: 30px;
    }
}

@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
    }
}

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

@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%;
    }
}

@media screen and (min-width:800px) {
    #secondary-navigation a{
        padding: 17.5px 25px;
    }
}

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

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

    #nav-mobile span {
        background-color: #1c7750;
        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: 0px;
    }

    #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: #009640;
    }

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

    #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:  #fff;
        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://monteverdemg.com/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: #009640;
        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;
    }
    #header .logo-wrap img{
        max-width: 200px;
        position: relative;
        top: -2px;
    }
    #outside-page, #article-page{
        max-width: 96%;
        padding-top: 10px;
    }
    #outside-page #grid-posts{
        grid-template-columns: 100%;
    }
    #outside-page #grid-posts{
        padding: 2.001%;
        padding-top: 1.994%;
    }
    .latestPost:not(.last){
        margin-bottom: 15px;
        border-bottom: 1px solid #ccc;
        padding-bottom: 15px;
    }
    .home #page .latestPost{
        display: grid;
        grid-template-columns: 80px calc(100% - 100px);
        gap: 20px;
        grid-template-areas: "foto conteudo";
    }
    .home #page .latestPost .post-image{
        grid-area: foto;
    }
    .home #page .latestPost .post-image img{
        max-width: 80px;
    }
    .home #page .latestPost .content-posts{
        grid-area: conteudo;
    }   
    .home #page .latestPost h2.title{
        margin-bottom: 0;
    }
    .home #page .latestPost #featured-thumbnail{
        margin-bottom: 0;
    }
    .home #page .latestPost .title a{
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .home #page .latestPost .front-view-content .post-info{
        margin-bottom: 10px;
    }
    .home #page .latestPost .front-view-content{
        display: -webkit-box;
        -webkit-line-clamp: 5;
        -webkit-box-orient: vertical;
        overflow: hidden;
    } 
    #secondary-navigation a{
        padding-top: 8px !important;
    }
}

@media screen and (min-width:800px) {
    .f-widget .widget{margin-bottom: 15px;}
    .f-widget .widget:last-child{margin-bottom: 0;}
}

