/*
 Theme Name:   MSTheme
 Theme URI:    https://gitlab.com/eita/mstheme
 Description:  Wordpress child theme based on Blocksy for MST main website.
 Author:       Alan Tygel
 Template:     blocksy
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  mstheme
*/

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@500;600&display=swap');

@font-face {
    font-family: 'nunito';
    src: url('fonts/nunito-extralight-webfont.woff2') format('woff2'),
         url('fonts/nunito-extralight-webfont.woff') format('woff');
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('fonts/nunito-light-webfont.woff2') format('woff2'),
         url('fonts/nunito-light-webfont.woff') format('woff');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('fonts/nunito-medium-webfont.woff2') format('woff2'),
         url('fonts/nunito-medium-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('fonts/nunito-regular-webfont.woff2') format('woff2'),
         url('fonts/nunito-regular-webfont.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'nunito';
    src: url('fonts/nunito-semibold-webfont.woff2') format('woff2'),
         url('fonts/nunito-semibold-webfont.woff') format('woff');
    font-weight: 600;
    font-style: normal;
}

:root {
  --theme-font-family: 'nunito' !important;
  --theme-font-weight: 300 !important;
}
/*
h1 {
  font-family: 'EB Garamond' !important;
  font-weight: 500 !important;
  line-height: 1.3;
}
*/
.wp-block-quote p {
    font-size: 20px;
    margin-bottom: 2em;
}
blockquote.wp-block-quote {
    border: unset !important;
    padding: 10px 0 0 50px !important;
    position: relative;
}
.wp-block-quote::before {
    content: url(images/quote.svg);
    position: absolute;
    left: 0px;
    width: 40px;
}
figure {
    margin-bottom: 20px !important;
}
figure.fg-item-inner {
    margin-bottom: 0px !important;
}
time a {
  color: #888;
}

.ct-share-box[data-type="type-1"] a, .ct-share-box[data-type="type-1"] > div {
  border: 0px !important;
}

a {
  text-decoration: unset !important;
}

h1 a, h2 a, h3 a {
  color: var(--theme-palette-color-3);
}

.nomarginbottom {
  margin-bottom: 0px !important;
}
.marginbottom {
    margin-bottom: 30px !important;
}
/* CABEÇALHO GERAL */
header#header {
  background: url('/wp-content/uploads/2020/07/header.png');
  background-size: cover;
}

/* CABEÇALHO DESKTOP */
#main-container {
  border-top: 5px solid var(--theme-palette-color-4);
  border-bottom: 5px solid var(--theme-palette-color-4);
}
[data-device="desktop"] #header-menu-1 {
  height: 60px;
}
header [data-device="desktop"] [data-items] {
    align-items: flex-end;
}
.ct-header-socials {
    display: flex;
}
[data-device="desktop"] #menu-menu-principal a {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
}
[data-device="desktop"] .site-branding {
    position: absolute;
    top: -40px;
}
[class*="header-menu"][data-type="type-2"] > ul > li > a::after {
    height: 10px !important;
}
[data-device="desktop"] #menu-menu-principal .sub-menu a {
    font-size: 14px;
    font-weight: 300;
}
.menu .sub-menu {
    top: 45px !important;
    border-left: 4px solid var(--theme-palette-color-4);
}
.menu .sub-menu li {
    margin: 0 10px;
}
.menu .sub-menu a {
    color: var(--theme-palette-color-3)
}
[data-menu] > ul > li > a::after {
    height: 10px !important;
}
#header-menu-2 {
    height: unset;
}

/* ################ */
/*      HOME        */
/* ################ */

.home .page-title {
  display: none;
}
.home .content-area[data-v-spacing*="top"] {
  padding-top: 0px;
}
.destaque .wp-block-getwid-template-post-title {
    font-family: "EB Garamond";
    font-weight: 500;
    line-height: 1.3;
}
.destaque {
    margin-bottom: 30px;
}
.destaque img, .equal_height img {
    height: 300px;
    object-fit: cover;
}
.outras_noticias img {
    height: 220px;
    object-fit: cover;   
}
.secundarias img {
    height: 160px;
    object-fit: cover;
}
.lista .wp-block-getwid-template-post-title {
    font-size: 18px !important;
    font-weight: 500;
}
.lista .wp-block-getwid-custom-post-type__post {
    margin-top: unset !important;
    margin-bottom: 15px;
}
.lista .wp-block-column {
    margin-left: 0px;
}
.coluna_seta {
    min-width: 30px !important;
    max-width: 30px !important;
    padding-top: 4px;
}
.ugb-icon .ugb-icon__item {
    margin: unset;
}
.coluna_seta .ugb-icon.ugb-main-block {
    margin-top: 5px;
    margin-bottom: 0px;
}
.opiniao .coluna_seta, .podcast .coluna_seta {
    margin-right: 10px;
}
.coluna_titulo {
    width: auto !important;
    flex-grow: 2;
}
.uagb-column__inner-wrap {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.mais {
    padding-bottom: 50px !important;
}
.marginbottom .wp-block-getwid-custom-post-type__post {
    margin-bottom: 10px !important;
}
.destaque .wp-block-getwid-template-post-author {
    font-weight: 400;
}
.wp-block-getwid-template-post-author {
    font-size: 16px;
}
.wp-block-getwid-template-post-date {
    font-weight: 200;
    font-size: 14px;
}
.wp-block-getwid-template-post-tags a::before {
    content: "#"
}
p.secao, h2.secao {
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    color: var(--theme-palette-color-1);
    padding: 1px 10px;
    border-bottom: 3px solid var(--theme-palette-color-1);
    width: max-content !important;
    margin-left: 0px !important;
}
p.secao::before {
  width: 16px;
  margin-right: 10px;
  display: inline-block;
}
p.entrevistas::before{
  content: url(images/entrevistas.svg);
  width: 10px;
}
p.opiniao::before{
  width: 13px;
  content: url(images/opiniao.svg);
}
p.imagens::before{
  content: url(images/imagens.svg);
}
p.podcasts::before{
  width: 13px;
  content: url(images/podcasts.svg);
}
p.especiais::before{
  content: url(images/especiais.svg);
}
p.videos::before{
  width: 13px;
  content: url(images/videos.svg);
}
p.historia::before{
  content: url(images/historia.svg);
  width: 13px;
}

p.ultimas {
  background: var(--theme-palette-color-2);
  color: #FFF;
  border: unset;
  display: inline-block;
  width: unset !important;
}
p.ultimas::before{
  width: 15px;
  margin-right: 7px;
  content: url(images/ultimas.svg);
}
.leiamais {
  /*margin-top: -50px;*/
}
.mais_noticias {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    padding-right: 10px;
    padding-top: 2px;
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.mais_noticias a {
    color: black;
    font-weight: 300;
}
.icones .wp-block-column:not(:first-child) {
    margin-left: 0px;
}
.lista .wp-block-getwid-template-post-title, .destaque .wp-block-getwid-template-post-title {
  margin-top: 0px;
}
.wp-block-getwid-custom-post-type__post > .wp-block-getwid-template-post-featured-image {
  margin-bottom: 30px;
}

/* SINGLE POST */
.ct-share-box[data-type="type-1"] a {
    text-align: right;
}
.ct-share-box[data-type="type-1"] > div {
    grid-template-columns: auto 30px 30px 30px 30px!important;
}
.ct-share-box[data-type="type-1"] a {
    display: unset !important;
    justify-self: end;
}
.meta-author .ct-image-container-static {
  display: none;
}
.page-description {
    font-size: 22px !important;
    font-weight: 200 !important;
    line-height: initial !important;
}
.entry-header .entry-meta {
    text-transform: initial;
}
.entry-header li {
    display: block !important;
}
.entry-meta[data-type*="slash"] li:not(:last-child)::after {
    content: unset !important;
    margin-left: unset !important;
}
.meta-author {
    font-size: 16px;
    font-weight: 400;
}
.meta-date {
    font-size: 16px;
    font-weight: 200;
}
.entry-header li.meta-categories {
    margin-bottom: 15px;
}

/* PAGINAS */
.archive h1, .page h1, .page p.page-title, .page p.secao.tema {
    background: var(--theme-palette-color-2);
    color: #FFF;
    border: unset;
    font-family: nunito !important;
    font-size: 16px;
    padding: 3px 10px 1px;
    width: max-content;
    font-weight: 600 !important;
    text-transform: uppercase;
}
.archive h1::before, .page h1::before, .page p.page-title::before, .page p.secao.tema::before {
    width: 16px;
    margin-right: 10px;
    display: inline-block;
    content: url(images/bandeira.svg);
}
.home h1 {
    background: unset;
}
.home h1::before {
    content: unset;
}

/* NOSSA HISTORIA */
#menu-nossa-historia {
  list-style: none;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  margin: 50px 0;
}
#menu-nossa-historia li {
    display: inline-block;
    padding: 10px;
    position: relative;
}
#menu-nossa-historia li.current-menu-item {
    font-weight: 500;
    background: var(--theme-palette-color-1);
}
#menu-nossa-historia li.current-menu-item a {
    color: white;
    font-weight: bold;
}
#menu-item-192895 {
  flex-grow: 4;
}
#menu-item-192895 a {
  width: max-content;
}
div.menu-nossa-historia-container {
  overflow: auto;
  white-space: nowrap;
}
.page-template-page-historia h1{
  font-family: "EB Garamond" !important;
  background: unset;
  text-transform: unset;
  color: black;
  padding: unset;
  font-size: 36px;
}
.page-template-page-historia h1::before{
  content: unset;
}

/* NOSSOS SIMBOLOS */
ul.fixolateral {
  list-style: none;
  padding-left: 0px;
  width: max-content;
  position: -webkit-sticky;
  position: sticky;
  top: 0px;
  margin-top: -30px;
}
.fixolateral li {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  padding: 0 15px 0px 5px;
  margin: 30px 0px;
}
.fixolateral li:hover {
  background: var(--theme-palette-color-6);
}
.fixolateral li a {
  text-transform: uppercase;
  display: block;
}
.uagb-column__wrap, #primary {
  overflow: initial !important;
}
.uagb-block-8665a4bf .uagb-column__inner-wrap {
    padding: 0px !important;
}

/* ACORDEÃO */
.wp-block-getwid-accordion__header {
    font-family: 'EB Garamond';
    font-size: 24px;
    font-weight: 500;
    border-top: 1px solid black !important;
}
.ui-accordion-content:last-child {
    border-bottom: 1px solid black !important;
}
.wp-block-getwid-accordion__content > :last-child {
    margin-bottom: 2em;
}
.fas.fa-plus-circle,.fas.fa-minus-circle {
    color: var(--theme-palette-color-2);
}
.wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper:first-child, .wp-block-getwid-accordion .wp-block-getwid-accordion__header-wrapper, .wp-block-getwid-accordion__content {
    border: unset;
}
.has-icon-left .wp-block-getwid-accordion__header-wrapper a {
    flex-direction: row;
    justify-content: space-between;
}
@media (min-width:1000px) {
  .wp-block-getwid-accordion__content {
    padding: 1.5em 4.5em;
  }
}

#post-205860 .wpp-list {
    display: grid;
    grid-template-columns: repeat(5, 20%);
    padding-left: 0px;
}
.wpp-list li {
  display: grid;
  grid-template-columns: 70px auto;
}
.wpp-list h3 {
  font-size: 18px;
  margin-bottom: 0px !important;
}
.wpp-list br {
  display: none;
}
.wpp_position {
  font-family: EB Garamond;
  font-size: 68px;
  line-height: .7em;
  color: var(--theme-palette-color-2);
}
.wpp_position::after {
    content: url(/wp-content/themes/mstheme/images/seta.svg);
    width: 34px;
    height: 16px;
    display: block;
    padding-left: 15px;
}
.wpp_date {
  font-size: 14px;
  color: #666;
}

.page-id-199442 .page-title{
  display: none;
}


/* DOWLOAD SEM TERRINHA */
.wpdm-lt-card img {
    object-fit: cover;
    width: 100%;
    height: 350px;
}
.wpdm-lt-card h3 {
    font-family: EB Garamond;
    font-size: 19px;
    text-align: center;
    width: 100%;
}
.wpdm-lt-card h3 a {
    color: unset;
}
.wpdm-download-link.download-on-click.btn.btn-primary {
    background: var(--theme-palette-color-2);
    border-color: var(--theme-palette-color-2);
    margin: auto;
}
.w3eden .list-group-item {
    background: unset;
    border: 0px;
}
.list-group-item.d-flex.justify-content-between.align-items-center.date {
    color: #999;
    font-size: 16px;
    text-align: center;
    margin: auto;
}
.list-group-item.d-flex.justify-content-between.align-items-center {
    padding-bottom: 5px;
    padding-top: 5px;
}
h2.wp-block-getwid-template-post-title {
    margin-top: unset !important;
}
.wp-block-getwid-template-post-custom-field {
    text-decoration: underline;
    font-weight: 200;
    line-height: 1em;
    margin-bottom: 10px;
}
.lista .wp-block-getwid-template-post-featured-image{
    margin-bottom: 15px !important;
}

/* SINGLE BIBLIOTECA */
.single-wpdmpro time {
   display: none;
}


/* SINGLE LOJA */
.single-loja time {
  display: none;
}

/* NOTICIAS */
.entry-content > div.menu-temas-container {
    margin-top: 15px !important;
    margin-bottom: 75px;
    border-bottom: 1px solid black;
    padding-bottom: 15px;    

}
#menu-temas {
  flex-wrap: wrap;
}
.menu-item-object-page {
  padding-right: 29px;
}
/* .menu-item-object-tema:first-child {
  padding-left: 0px;
} */

/* QUEM SOMOS */
.accordion_quem_somos > div:first-child span {
    border-top: 0px !important;
}
.accordion_quem_somos > div:last-child span {
    border-bottom: 0px !important;
}

/* FOOTER */
footer .widget-title {
    text-transform: uppercase;
    font-size: 1.2em;
    border-bottom: 1px solid;
}
footer a {
    text-decoration: none;
}
footer p {
    margin-top: 12px !important;
}
footer li {
    min-height: 35px;
}
footer .ct-widget > :not(.widget-title) li {
    line-height: 1.5em !important;
}
footer [data-column="widget-area-5"] img {
    width: 15%;
    min-width: 140px;
}
/* VIDEOS */
.lista_videos.ugb-columns > .ugb-inner-block > .ugb-block-content > .ugb-columns__item {
    grid-gap: 5px;
    grid-template-columns: 20px auto !important;
}
.wp-block-getwid-post-carousel .attachment-ab-block-post-grid-landscape.size-ab-block-post-grid-landscape.wp-post-image {
    height: 166px;
    object-fit: cover;
}
.slick-prev::before {
    content: url(/wp-content/themes/mstheme/images/previous.svg);
}
.slick-prev {
    left: -35px;
}
.slick-next::before {
    content: url(/wp-content/themes/mstheme/images/next.svg);
}
.slick-next {
    right: -35px;
}
/* TMP Vídeos */
.page-id-204779 img.attachment-ab-block-post-grid-landscape.size-ab-block-post-grid-landscape.wp-post-image {
    aspect-ratio: 16/9;
    max-width: 100%;
    height: auto;
}
.page-id-204779 .destaque img, .equal_height img {
    height: 350px;
    aspect-ratio: 16/9;
    max-width: 100%;
    width: auto;
    margin: auto;
}
/* PAULO FREIRE */

header[data-id="n92UVC"] [data-items] {
    align-items: center;
}
header[data-id="n92UVC"] [data-device="desktop"] .site-branding {
    position: absolute;
    top: 7px;
}

:target:before {
    content:"";
    display:block;
    height:90px !important; /* fixed header height*/
    margin:-90px 0 0; /* negative fixed header height */
}

/* SINGLE POST */
.chapeu_post {
    text-decoration: underline;
    margin-bottom: -4px;
}
