/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/*** Sticky Footer ***/
body { min-height: 100vh; display: flex; flex-direction: column; }
.container.grid-container { width: 100%; }
.site-footer { margin-top: auto; }

body p:empty { margin-bottom: 0 !important; }

/* Typography */

.fs-300 p { font-size: 16px; }
.fw-700 { font-weight: 700; }
.hff-primary h3 { font-family: "Open Sans", sans-serif; }
.id-item-1 { margin: 1em 0 0.4em; padding: 1.2em 0 0; font-size: 1.25rem; line-height: 150%; font-weight: 600; border-top: 1px solid #777; }
.id-item-1:first-of-type { border-top: 0; }
.no-margin p {margin-bottom: 0; }

/* Links */
a, a:hover, a:focus { text-underline-offset: .3em; }
.no-decoration a { text-decoration: none; }
.no-decoration a:is(:focus, :hover) { text-decoration: underline; }

/* Spacing */
.sp-s { margin-bottom: 8px; }
.sp-m { margin-bottom: 24px; }
.item-title { margin-bottom: 8px; }
.item-title:not(:first-of-type)  { margin-top: 1.6em; }

/* GP */
.reverse-icon.gb-headline { flex-direction: row-reverse; margin-right: 10px; justify-content: flex-end; }

/* Images */
.img-txt-col .wp-block-image { margin-bottom: 16px; }

/*** Header ***/

.site-logo { margin-top: -24px;  background: #fff; }

@media(max-width: 768px) {
.inside-top-bar { padding: 0 !important; }
#block-10 { display: none; }
.site-header .header-image { max-width: 99%; }
.site-logo { margin-top: 0; } 
.nav-below-header .main-navigation .inside-navigation.grid-container { padding: 0 16px 0 8px; }
.menu-toggle { line-height: 40px; }
}

/* Language Switcher */

.id-langswitcher .polylang_langswitcher {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.id-langswitcher .polylang_langswitcher .lang-item {
  display: inline-block;
}

.id-langswitcher .polylang_langswitcher .lang-item a {
  padding: 0 .4em 0 .4em;
  font-size: 0.8rem;
  font-weight: 400;
  text-transform: uppercase;
}

.id-langswitcher .polylang_langswitcher .lang-item a {
padding: .2em .5em;
color: var(--contrast-2);
background: var(--base-2);
font-weight: 300;
}

.id-langswitcher .polylang_langswitcher .lang-item a:is(:focus, :hover) { background: var(--accent); color: #fff; }

/* Main Navigation */

.main-navigation .inside-navigation {  padding: 0 8px; }

.main-navigation.slideout-navigation  .inside-navigation { max-width: 100%;  border: 0; }

@media(max-width: 768px) {
  .main-navigation .inside-navigation { flex-direction: row-reverse; }
  .menu-bar-items .language-switcher__list a { font-size: 1rem; }
.main-navigation.is-open .inside-navigation { flex-direction: row; }
}

/* Main Nav Hover Effect */

/* set global menu transform */
.main-navigation .main-nav > ul > li > a::after {
  content: '';
  position: absolute;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.2s ease-in;
}

.main-navigation .main-nav ul li > a::after { height: 2px; left: 12px; bottom: -0.1em; width: calc(100% - 24px); }

.main-navigation.slideout-navigation .main-nav ul li > a::after { bottom:4px; height: 1px; }

/* set global menu transform on hover */
.main-navigation .main-nav ul li > a:hover::after, .main-navigation .main-nav ul li > a:focus::after { transform: scaleX(1); transform-origin: left; }

/* Slideout Menu */

.slideout-overlay { background-color: transparent !important; }

button.slideout-exit.has-svg-icon { text-align: right;  max-width: 100px; }

#generate-slideout-menu.main-navigation.offside { width: 90%; }
#generate-slideout-menu.main-navigation.offside--left { left: -90%; }
#generate-slideout-menu.main-navigation.offside--left.is-open {  transform: translate3d(100%,0,0); }

.slideout-navigation button.slideout-exit { position: absolute; top: 24px; right: 24px; font-size: 1.25rem;}

#generate-slideout-menu .slideout-menu {  flex-direction: column; align-items: flex-start; }

#generate-slideout-menu .slideout-menu li { width: auto; margin-bottom: .4em; }

.slideout-navigation.main-navigation .main-nav ul li a::after { display: inline-block; }

.slideout-navigation.main-navigation .main-nav ul li a { padding: 0 20px;}

/* Content */
.entry-title { text-align: center;}
.full-width-content .entry-header {  margin: 56px 0 0; } 
@media(min-width: 769px) {
  .full-width-content .entry-header {  margin: 64px 0 16px; } 
}

/* Publicações */

.loop-subtitle {margin-bottom: 2px; font-size: 0.875rem; font-weight: 800; letter-spacing: 0.8px; }
.loop-content p:not([class]) { margin-bottom: 0; line-height: 1.4; }

.pub-loop .wp-block-post-content { margin-top: 8px; }

.publi-img-ct a { position: relative;  background: #F3F3F1; display: block; width: 100%; height: 100%; }

/* Associados */

.associados-img-ct .dynamic-featured-image { max-width: 240px; }

@media(min-width: 769px) {
  .associados-img-ct .dynamic-featured-image { max-width: 100%; }
}

.associados-list p { margin-bottom: .4em; }
.associados-list p a { text-decoration: none;  color: var(--accent); }
.associados-list p a:is(:hover, :focus) { text-decoration: underline; color: var(--accent); }

.social-block { display: flex; flex-wrap: wrap;  border-top: 1px solid; }

.social-item a { display: inline-block; padding: .8em 1em .4em; }
.social-item:is(:hover, :focus) { background: rgb(0 0 0 / .05); }

.social-block img { height: 20px; }
.social-lattes { flex-basis: 100%; }
.social-lattes a {
  padding: 1.1em 1.2em 0.9em;
  color: var(--contrast);
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  text-transform: uppercase;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.social-email { flex-basis: 100%; padding-bottom: 0.3em; border-top: 1px dotted; border-bottom: 1px dotted; }
.social-email a { display: flex; align-items: center; gap: .5em; text-decoration: none; color: var(--contrast); }
.social-email span { font-size: 16px; line-height: 1; }

@media(min-width: 1025px) {
  .social-email { margin-right: auto; }
}


/* Easy Accordion */
.sp-easy-accordion>.sp-ea-single>.ea-header a { font-weight: 500 !important; }
.qs-block h3, .ev-block h3 { margin-bottom: 1.2em; font-size: 18px; text-transform: uppercase; font-weight: 700; letter-spacing: 0.01em; }
.ev-block h3 { margin-bottom: 0.3em; }
.qs-block h3:not(:first-of-type) { margin-top: 2em; }
.qs-block h4 { margin-bottom: 0;  font-size: 15px;  font-weight: 400; letter-spacing: 0.01em; text-transform: uppercase; }
.ea-body .qs-block p { margin-bottom: 1em; }
#sp-eap-accordion-section-825 h3,
#sp-eap-accordion-section-1600 h3,
#sp-eap-accordion-section-1604 h3 { margin-bottom: 4px;  font-size: 16px; text-transform: uppercase; }

/* Slideshow El */
.elementor-slideshow__title { display:none; }

/* Accordion EL */

.id-accordion h3 {
    margin: 1.5em 0 1.5em;
    font-size: 1.125rem;
    font-weight: 700;
    text-transform: uppercase;
    font-family: "Lato", Sans-Serif !important;
}

.id-accordion h3:not(:first-of-type) {
margin: 1.5em 0 1.5em; padding-top: 1.5em; border-top: 1px dotted var(--contrast-3);
}

/* Associados */
.page-id-27 img, .page-id-1702 img, .page-id-1700 img { filter: grayscale(100%); -webkit-filter: grayscale(100%);}
