/*COMECO ACCORDEON*/
h6 {
    cursor: pointer;
    padding: 15px 0;
    width: 100%;
    text-align: left;
    outline: none;
    transition: 0.4s;
    color: #000;
    background: #f5f5f5;
    padding: 15px;
    margin: 0;
    border-bottom: 3px solid #000;
    display: flex;
    font-weight: normal;
}

h6:before {
    content: '+';
    margin-right: 5px;
}

h6.active {
    font-weight: bold;
}

h6.active:before {
    content: '-';
    margin-right: 5px;
}


h6+p {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/*FINAL ACCORDEON*/

.voltarTopo {
    background: transparent url(https://www.kaiaque.com.br/wp-content/uploads/2021/05/totop.png) no-repeat center center;
    border-radius: 5px;
    bottom: 15px;
    color: rgba(216, 216, 216, .0);
    font-size: 33px;
    font-style: normal;

    position: fixed;
    right: 15px;
    z-index: 1000;
    box-shadow: none;
    border: 1px solid rgba(216, 216, 216, .0);
    width: 50px;
    height: 50px;
}

@media screen and (min-width:1024px) {
    .voltarTopo {
        display: none !important;
    }
}

mark, ins {
    background: transparent !important
}

.sidr-class-emoji {
    max-width: 33px;
}

.mean-container .mean-bar {
    display: none;
}

.feedburner {
    background: #fff url(/wp-content/themes/travel-diaries/images/i_email.png) no-repeat 6px 50%;
    border: 1px solid #ccc;
    padding-left: 28px !important;
}

.site-header .site-branding {
    text-align: center;
    float: none;
}

/* botão pesquisa menu */
.search-form input[type="submit"] {
    background: url('/wp-content/themes/travel-diaries/images/icon-search.png') !important;
    width: 17px;
    height: 17px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    float: right;
    padding: 0;
    margin: 8px 0 0;
    text-indent: -9999px;
    margin-top: 20px;
    margin-left: 5px;
}

input[type="search"] {
    padding: 3px;
    margin-top: 10px;
    font-weight: initial;
}

#secondary-menu .is-menu {
    display: none;
}

.is-menu.default form {
    padding-left: 20px;
}

.astm-search-menu-wrapper.is-menu-wrapper {
    display: none;
}

.sidr-class-screen-reader-text {
    padding: 0px !important;
}

@media screen and (min-width:600px) {
    #secondary-menu {
        display: none
    }
}

.top-menu-open .fa-bars:before {
    content: "\f00d";
}

/* Plugin de posts relacionados */
.relpost-block-single-text {
    font-weight: bold;
    margin-top: 10px;
}

.relpost-thumb-wrapper {
    margin-top: 50px;
}

.clearfix:before {
    content: '';
    display: table;
    clear: both;
}

ul, ol {
    margin-left: 0;
}

.nav-image {
    display: flow-root;
    width: 100%;
    height: 150px;
    overflow: hidden;
    border-radius: 5px;
}

.nav-image img{
    width: 100%;
    height: auto;
}

.post-navigation .title-related {
    margin: 10px 0 0 0;
}

.post-navigation .nav-previous, .post-navigation .nav-next {
    max-width: 300px;
}

.nav-links::after {
    content: '';
    display: table;
    clear: both;
}

.readmore {
    color: #fff;
    background-color: #0089bd;
    transition: all .3s ease-in-out;
    padding: 5px 10px;
}

.readmore:hover, a.readmore:visited {
    color: #fff;
    background-color: #006f9b;
}

.readmore:hover, a.readmore:visited {
    color: #fff;
    background-color: #006f9b;
}


#pesquisar, #formulario_pesquisa {
    display: none;
}

#primary .post .post-thumbnail img{
    width: 100%;
    height: auto;
}

@media screen and (max-width:800px) {
    .header-t{
        padding: 0;
    }
    .custom-logo-link{
        line-height: 1em;
        margin: 3px auto;
    }
    #mobile-header{
        padding: 5px 0;
    }
    #content{
        padding-top: 15px;
    }
    #primary .post .entry-header .entry-title, #primary .page .entry-header .entry-title, #primary :where(.post, .page) H2{
        font-size: 23px !important;
    }
    ul, ol {
        padding-left: 20px
    }

    .featured-on, #client {
        position: relative;
    }

    .featured-on .featured-on-lists, #client .row {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        align-items: center;
    }

    #client .row {
        align-items: center;
    }

    .featured-on .featured-on-lists li img, #client .row div[class*='columns-'] img {
        width: 80%;
    }

    .navigation{
        height: auto;
    }

    .post-navigation .nav-previous, .post-navigation .nav-next {
        width: 100%;
        float: none;
        max-width: 100%;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid #e5e5e5;
    }

    .nav-next .title-related {
        text-align: left;
    }

    .post-navigation .nav-next {
        padding-left: 15px;
    }
    /* CATEGORIA */
    .blog #primary .post, .category #primary .post, .archive #primary .post, .search #primary .post, .search #primary .page {
        padding: 10px 10px;
    }

    .blog #primary .post .post-thumbnail, .category #primary .post .post-thumbnail, .archive #primary .post .post-thumbnail, .search #primary .post .post-thumbnail {
        float: none;
        width: 100%;
        margin: 0px 0px 10px 0;
        display: flow-root;
    }

    .blog #primary .post .entry-content, .category #primary .post .entry-content, .archive #primary .post .entry-content, .search #primary .post .entry-content {
        padding-right: 0;
    }

    .readmore {
        width: 100%;
    }
    #pesquisar {
        padding: 10px 3px;
        background: transparent;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        border: none;
        box-shadow: none;
        float: right;
    }

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

    .magic-icon-search::before {
        content: "\f002";
        display: inline-block;
        color: #333;
        font-family: FontAwesome;
        font-size: 17px;
        text-rendering: auto;
        -webkit-font-smoothing: antialiased;
        transition: all 0.3s;
    }


    #pesquisar:active {
        background: transparent;
    }

    .magic-icon-search.fechar::before {
        content: "\f00d";
    }

    #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%;
    }
    #formulario_pesquisa form{
        width: 95%;
    }
    #formulario_pesquisa form.search-form input[type="search"]{
        width: 85%;
        margin-top: 0;
    }
    #formulario_pesquisa form.search-form input[type="submit"]{
        width: 11%;
        background-color: #0084b6 !important;
        padding: 16px 10px;
        margin-top: 0px;
        display: inline-block;
        border-radius: 5px;
        background-repeat: no-repeat !important;
        background-position: center !important;
        background-blend-mode: color-dodge;
        backdrop-filter: invert(1);
    }

    #formulario_pesquisa.mostra {
        background: #fff;
        border-radius: 0px 0px 5px 5px;
        background-image: url(images/bg-pesquisa.jpg);
        background-size: cover;
        background-position: center;
        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);
    }
    #primary .post .entry-header .entry-meta{
        display: flex;
        gap: 15px;
    }

}

@media screen and (min-width:800px) {
    .columns-3 .post .post-thumbnail img {
        width: 100%
    }

    .columns-3 .post .post-thumbnail {
        display: flow-root;
        max-height: 200px;
        overflow: hidden
    }
}