@charset "UTF-8";

.header-social-icons a {
    background-size: 16px;
    background-repeat: no-repeat;
    background-position: center;
}

.header-facebook {
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/icon-facebook.png');
}

.header-twitter {
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/icon-twitter.png');
}

.header-youtube-play {
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/icon-youtube.png');
}

.post-info {
    display: initial;
    float: none;
    clear: none;
    width: 100%;
}

.post-info .fa.fa-calendar{
    content: '';
    display: inline-block;
    width: 19px;
    height: 19px;
    vertical-align: text-bottom;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    background-image: url('https://ministeriodotrabalho.org/content-wp/themes/mts_schema/images/fa-calendar.webp');
}

#header .logo-wrap{
    display: flex;
    flex-direction: column;
    width: 26%;
}

#header .logo-wrap .logo-subtitle{
    font-size: 12px;
    margin: 5px 0;
    color: #005CA5;
    /* letter-spacing: 0.3px; font-size: 13px;*/
}

@media (min-width: 866px) {
	#secondary-navigation a {
    	padding: 42.3px 25px !important;
	}
}

@media screen and (min-width:800px) {
    #primary-navigation {
        display: none;
    }
    /* #logo img{
        height: 6vw;
        width: 14vw;
    } */
}

.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: '-'
}

.post-info i.fa:before, .ultimos_artigos .post-relacionado .conteudo-post p.conteudo-data i.fa:before{
    content: '';
    display: inline-block;
    width: 19px;
    height: 19px;
    vertical-align: text-bottom;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
body:where(.home, .archive) .thecategory i.fa-tags::before, body:where(.home, .archive) .post-info .thetime i.fa-calendar::before{
    content: '';
    display: inline-block;
    width: 13px;
    height: 13px;
    vertical-align: text-bottom;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.post-info .theauthor i.fa-user::before{
	background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/fa-user.webp');
}
.post-info .thecategory i.fa-tags::before, .thecategory i.fa-tags::before{
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/fa-tags.webp');
}
.post-info .thetime i.fa-calendar::before, .ultimos_artigos .post-relacionado .conteudo-post p.conteudo-data i.fa-calendar::before{
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/fa-calendar.webp');
}

.ultimos_artigos{
    border-top: 1px solid var(--cor-borda);
    padding-top: 15px;
}
.ultimos_artigos .post-relacionado{
    display: grid;
    grid-template-columns: 28% 70%;
    gap: 2%;
    margin-top: 15px;
}
.ultimos_artigos .post-relacionado{
    border-bottom: 1px dotted var(--cor-borda);
    padding-bottom: 10px;
}
.ultimos_artigos .post-relacionado .conteudo-post p{
    margin-bottom: 14px;
}
.ultimos_artigos .post-relacionado .conteudo-post p.conteudo-data{
    color: #AAAAAA;
}
.ultimos_artigos .post-relacionado .conteudo-titulo{
    font-weight: bold;
}
.ultimos_artigos .post-relacionado .read-more{
    background-color: var(--cor-primaria);
    color: var(--cor-i-texto);
    padding: 5px 10px;
    margin-left: 0;
    border-radius: 5px;
    transition: all .3s ease-in-out;
}
.ultimos_artigos .post-relacionado .read-more:where(:hover,:active){
    background-color: var(--cor-contraste);
}

/* #copyright-note, .to-top{color:#fff !important} */
@media screen and (min-width:500px) {
    #copyright-note span, .to-top {
        float: left
    }
}

.f-widget-2, .f-widget-3 {
    display: none
}

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

.f-widget .widget {
    margin-bottom: 0
}

.footer-widgets .f-widget p {
    margin-bottom: 5px
}

@media screen and (max-width:500px) {
    .footer-widgets .f-widget {
        width: 100% !important;
    }

    #logo img {
        margin: 8px 0 4px 25px;
        width: 63.9vw;
    }
    #header .logo-wrap{
            width: 100%;
    }
    #page {
        padding-top: 17px;
    }
    #header h1, #header h2{
        text-align: left;
    }
}

/* ATULIZAÇÃO HEADER COM BUSCA */

#pesquisar, #formulario_pesquisa {
    display: none;
}

@media screen and (max-width:800px) {
    #page {
        padding-top: 10px;
        display: flow-root;
    }

    a#pull {
        background: transparent;
        padding: 0 0px !important;
        top: -1px;
        width: 20px;
        margin: 0 auto !important;
    }

    a#pull:after {
        content: none;
    }

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

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

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

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

    #secondary-navigation {
        height: 0;
    }

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

    #header .container {
        display: grid;
        grid-template-columns: 80% 20%;
        grid-template-rows: 50% 50%;
        grid-template-areas: "logo menu""logo pesquisa";
        align-items: center;
    }

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

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

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

    #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: 112px;
        left: 1%;
    }

    #formulario_pesquisa.mostra {
        background: #fff;
        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);
        border-radius: 0 0 5px 5px;
        
    }

    .main-header .container {
        background: transparent
    }

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

    #formulario_pesquisa .sbutton {
        height: 38px;
    }

    .sidebar.c-4-12 {
        max-width: 100%;
    }

    #logo img {
        margin-top: 15px;
    }

    .navigation.mobile-menu-wrapper{
        display: flex;
        flex-direction: column;
    }
    #menu-menu-mobile{
        order: 1;
    }
    .menu.categorias{
        order: 3;
    }
    .header-social-icons{
        order: 2;
    }

    .header-social-icons a {
        background-size: 19px;
    }
    .menu.categorias{
        border-top: 1px solid #0274BE;
        border-bottom: 1px solid #0274BE;
    }
    .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.ministeriodotrabalho.org/content-wp/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;
    }
    .ultimos_artigos .post-relacionado{
        grid-template-columns: 100%;
        gap: 1%;
    }
    .ultimos_artigos .post-relacionado .conteudo-post{
        margin-bottom: 10px;
    }
    .ultimos_artigos .post-relacionado .post-imagem{
        display: flow-root;
        max-height: 230px;
        overflow: hidden;
    }
    .ultimos_artigos .post-relacionado .post-imagem img{
        width: 100%;
    }
    #header .logo-wrap .logo-subtitle{
        font-size: 2.58vw;
        margin: 0px;
        margin-bottom: 14px;
        margin-left: 25px;
        text-align: left;
    }
}

@media screen and (min-width:500px) {
    .ultimos_artigos .post-relacionado .read-more{
        display: none;
    }
}

/* Atualizaçao sem fontawesome */
#search-image {
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/lupa.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);
}

#header .logo-wrap .fa.fa-home {
    background-image: url('https://www.ministeriodotrabalho.org/content-wp/themes/mts_schema/images/icon-home.png');
    background-position: center;
    background-repeat: no-repeat;
    display: block;
    height: 22px;
    width: 15px;
    margin: 0 10px 0 0;
}

#header .logo-wrap .fa.fa-caret-right:before {
    content: '➤';
    font-style: normal;
}

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

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

.logo-subtitle {
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    margin-top: -10px;
    margin-bottom: 10px;
}
#mobile-menu-overlay{
    background-image: url(/content-wp/themes/mts_schema/images/botao-fechar.png) !important;
}