/*
Theme Name: OnePress Child
Author: Nelson Madeira
Styling: Patricia Gois
Description: Custom child theme using the parent theme OnePress 
Template: onepress
Version: 1
*/

@import "fonts/source_sans_pro/source_sans_pro.css";
@import "fonts/raleway/raleway.css";


/* ------------------------------------------------------------------------- */
/* -- propriedades base: podem ser chamadas na forma var(--property-name) -- */
/* ------------------------------------------------------------------------- */

:root {
    --base-unit-color-anchors: #428ecb;
    --base-unit-color-anchors-hover: #e0a100;
    
	--base-color-red: #9e203b;    
    --base-color-white: #fff;    
    --base-color-black: #000;
    --base-color-light-grey: #f1f1f1;
	--base-color-grey: #ccc;
	--base-color-dark-grey: #777;    
}

:root :where(p.has-background){
	padding: 0px !important;
}

body
{
    font-family: SourceSansPro_Regular!important;
    font-size: 12pt!important;
    color: var(--base-color-black)!important;
}

a
{
    color: var(--base-color-black)!important;
}
.elementor-text-editor a
{
    color: var(--base-color-black)!important;
    text-decoration: underline!important;
}

.onepress-menu > li > a {
	padding-top: 10px;
    padding-bottom: 0px;
}

.menu-item a
{
    font-family: SourceSansPro_Regular;
    text-transform: uppercase!important;
}
.menu-item a::hover {
    color: var(--base-color-black);
}

.lang-item a
{
    padding-left: 2px;
    padding-right: 2px;    
}
.lang-item.current-lang a img
{
    width: 18px!important;
    height: 13px!important;
    padding: 1px;
    border: 1px solid #000;
}

h1, h2, h3, h4, h5, h6
{
    color: var(--base-color-black);
    text-transform: none;
}
h1
{
    font-family: SourceSansPro_Bold!important;    
    font-size: 3rem!important;
    margin-bottom: 30px!important;                   
}
h2
{
	font-family: SourceSansPro_Semibold!important;    
    font-size: 2.5rem!important;
    margin-top: 50px!important;
    margin-bottom: 30px!important;
}
h3
{
    font-size: 1.5rem;
    margin-bottom: 10px;                   
}
h4
{
    font-size: 1.2rem;
    margin-bottom: 10px;                   
}
h5
{
    font-size: 1.1rem;
    margin-bottom: 10px;                   
}

.list-article h2
{
    margin-top: 0!important;
}

p
{
    margin-bottom: 2rem;
    line-height: 1.5rem;
    text-align: justify;
}
p i
{
	margin-right: 10px;
	font-size: 1.2rem;
	color: var(--base-color-red);
}
p a,
.entry-content ul.wp-block-list a
{
	color: var(--base-unit-color-anchors) !important;
}
p a:hover,
.entry-content ul.wp-block-list a:hover
{
	color: var(--base-unit-color-anchors-hover) !important;
}

/* ------------------------ */


.site-branding h1,
.site-branding h1 a
{
	color: var(--base-color-red)!important;
}
.site-branding .site-logo-div
{
	float: left;
	margin-right: 10px;
}
.site-branding .site-logo-div img
{
	height: 100px;
	width: auto;
}

.site-branding .site-title{
	display: none;
}

.site-description{
	display: none;
}

/* ----------- Menu ---------- */

#nav-toggle{
    color: transparent !important;
}

/* ------------------------- */


/*
.entry-content h1::before {
    content: ' ';
    width: 100px;
    display: block;
    border-top: 10px solid var(--base-color-grey);
    padding-top: 40px;
}
*/
.page-header {
	background-color: solid var(--base-color-white);
}
.page-header .entry-title::before, .page-header .container .page-title::before {
    content: ' ';
	width: 100px;
    display: block;
    border-top: 10px solid var(--base-color-black);
    padding-top: 35px;
}

.home #primary.content-area
{
	padding-top: 0;
}

/* --------- frontpage ----------- */

.label-programa
{
    color: var(--base-color-white);
}

.wp-block-essential-blocks-slider{
    position: relative;
      width: 100vw;
    height: 100vh;
      left: calc(((100vw - 100%) / 2) * -1);
}

.eb-accordion-title-wrapper
{
	background-color: #fff!important;
	border-bottom: 1px solid var(--base-color-black);
	font-family: SourceSansPro_Light;
	padding-left: 0!important;
}
.eb-accordion-content-wrapper .eb-accordion-content
{
	border: 0!important;
	font-size: 1.1rem!important;
}
.eb-accordion-container .eb-accordion-title,
.eb-accordion-container .eb-accordion-content
{
    color: var(--base-color-black)!important;
}

.carousel-noticias .ebpg-entry-thumbnail img
{
	border-radius: 15px!important;
}
.carousel-noticias .ebpg-carousel-post-holder
{
	background-color: #fff!important;	
}
.carousel-noticias .ebpg-entry-title
{
	font-family: SourceSansPro_Semibold;
}
.carousel-noticias .ebpg-entry-title a
{
	font-size: 1.4rem!important;
}
.carousel-noticias .ebpg-footer-meta
{
	border-top: 1px solid var(--base-color-dark-grey);
}
.carousel-noticias .ebpg-posted-on
{
    font-size: 0.7rem!important;
    margin-top: 5px;
	color: var(--base-color-dark-grey)!important;
}

.formacao-h2 {
	margin-bottom: 30px;
}

/*------ eventos na pagina inicial (by patriciagois) --------*/
/*------ relativo ao shortcode dos proximos 3 eventos --------*/

.proximos-eventos-h2 {
	margin-bottom: 30px;
}

.proximos-eventos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

/* Desktop */
.proximos-eventos .card {
  display: inline-block;
   width: calc(30% - 10px);
  margin: 10px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.proximos-eventos .card-header {
  position: relative;
  height: 150px;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  padding: 0px;
}

.proximos-eventos .card-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.proximos-eventos .card-body {
  padding: 20px;
}

.proximos-eventos .card-body h2 {
  font-size: 18px;
  margin-bottom: 10px;
}

.proximos-eventos .card-body p {
  font-size: 14px;
  margin-bottom: 20px;
}

.proximos-eventos .card-body a {
  display: inline-block; /* transforma o link em um elemento de bloco */
  background-color: #000000; /* cor de fundo do botão */
  color: #ffffff !important; /* cor do texto do botão */
  padding: 10px 20px; /* padding do botão */
  border: none; /* remove a borda do link */
  border-radius: 5px; /* adiciona um efeito de borda arredondada */
  text-decoration: none; /* remove a decoração do link */
  cursor: pointer; /* muda o cursor para uma mão */
}

.proximos-eventos .card-body a:hover {
  background-color: #23527c; /* cor de fundo do botão ao passar o mouse */
}

/* Tablet (max-width: 768px) */
@media (max-width: 768px) {
  .proximos-eventos .card {
    width: calc(40% - 10px);
  }
}

/* Mobile (max-width: 480px) */
@media (max-width: 480px) {
  .proximos-eventos .card {
    width: 90%;
    margin: 10px 0;
  }
}


/* ------------------ footer -------------- */

.center-logos-footer {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.footer-widgets .sidebar .widget {
  margin-bottom: 0px;
}

/* ------------------ botoes -------------- */

.button-principal
{
    border: 1px solid var(--base-color-black);
    background-color: var(--base-color-white);
}
.button-principal,
.button-principal a
{
    color: var(--base-color-black);
    background-color: var(--base-color-white);    
}
.button-principal a
{
    padding: 5px 20px;
}
.button-principal a:hover {
    text-decoration: none;
}

/* ----------- estilo wp-blocks ------------- */
/*
.wp-block-columns .wp-block-column
{
    padding-left: 50px;
    padding-right: 50px;    
}
 */
.wp-block-columns .wp-block-column:nth-child(1)
{
    padding-left: 0;
}
.wp-block-columns .wp-block-column .wp-block-column
{
    padding-right: 0;
}

.wp-block-file
{
    background-color: var(--base-color-light-grey);
    border-radius: 10px;
    margin-bottom: 5px;
}
.wp-block-file a
{
    padding: 5px 20px 5px 5px;
    display: flex;
    align-items: center;
    font-family: SourceSansPro_Light!important;
    color: var(--base-color-black);
}
.wp-block-file a::before {
    content: ' ';
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 20px;
    border-radius: 5px;
    background: #fff url('images/icons/icon_download_doc.png') no-repeat;
    background-size: contain;
}

/* -------- pagina de projetos uevora ---------- */
/*
.lista-projetos table
{
    border: 0;
    font-size: 0.9rem;
    color: var(--base-color-black)!important;
    font-family: "SourceSansPro_Light";
}
.lista-projetos table thead
{
    border: 0;
}
.lista-projetos table tr
{
    border-bottom: 1px solid #dde1e4;
}
.lista-projetos table tr:nth-child(2n+1) {
    background-color: #f1f1f1;
}
.lista-projetos table th,
.lista-projetos table td
{
    padding: 10px 20px!important;
    border: 0!important;
}                                  
.lista-projetos table th
{
    border-top: 1px solid #dde1e4!important;    
    text-transform: inherit!important;
    background-color: #fff;
    color: var(--base-color-black)!important;
    font-family: "SourceSansPro_Regular";
    letter-spacing: inherit;
}
*/

/* -------- membros ---------- */

.membro .label-field {
	margin-top: 1rem;
    margin-bottom: 1rem;
}

.membro .label {
    font-weight: bold;
}

.membro .foto-perfil-membro {
    width: 150px; /* adjust the width and height to your desired frame size */
    height: 150px;
    overflow: hidden; /* hide any excess image size */
    border-radius: 50%; /* optional: add a rounded corner effect */
    border: 1px solid #ddd; /* optional: add a border */
    margin-bottom: 2rem;
}

.membro .foto-perfil-membro img {
    width: 100%; /* make the image fill the container */
    height: 100%;
    object-fit: cover; /* scale the image to cover the container while maintaining aspect ratio */
}

.membro .circular-frame {
  width: 150px; /* ajuste o tamanho da frame */
  height: 150px;
  border-radius: 50%; /* faz a frame circular */
  overflow: hidden; /* esconde qualquer excesso de imagem */
  display: flex; /* centraliza a imagem */
  justify-content: center; /* centraliza a imagem */
  align-items: center; /* centraliza a imagem */
}

.membro .circular-image {
  width: 100%; /* faz a imagem ocupar toda a frame */
  height: 100%;
  object-fit: cover; /* ajusta a imagem para cobrir toda a frame */
  border-radius: 50%; /* faz a imagem circular */
}

/* -------- eventos ---------- */



/* -------- publicacoes ---------- */

