/*
Theme Name: Humanas 2026
Theme URI: http://www.humanas.ufpr.br/portal/
Author: Bordini
Author URI: www.humanas.ufpr.br
Version: 1.0
*/
:root
{
	--azul-logo: #3f328a;
	--vermelho-logo: #531f28;
	--bege-logo: #b9b1a9;
    --bege2-logo: #beabc0;
	--verde-logo: rgb(85 110 112);
    --cinza-logo: rgb(249 249 249);
	--chumbo-logo: #565656;
    --lilas-logo: #ae9dbf;
    --roxo-logo: #800080;
}

/*
@font-face {
    font-family: 'Nunito';
    src: url("./fonts/nunito-sans/NunitoSans_10pt-Regular.ttf");
    font-weight: 400;
}
@font-face {
    font-family: 'Nunito';
    src: url("./fonts/nunito-sans/NunitoSans_10pt-Medium.ttf");
    font-weight: 500;
}
@font-face {
    font-family: 'Nunito';
    src: url("./fonts/nunito-sans/NunitoSans_10pt-SemiBold.ttf");
    font-weight: 600;
}
@font-face {
    font-family: 'Nunito';
    src: url("./fonts/nunito-sans/NunitoSans_10pt-ExtraBold.ttf");
    font-weight: 800;
}
@font-face {
    font-family: 'Nunito';
    src: url("./fonts/nunito-sans/NunitoSans_10pt-Black.ttf");
    font-weight: 900;
}
*/
@font-face {
    font-family: '../fonts/Nunito', sans-serif;
}

*{ word-break: break-word; }

::marker{font-size: 0;}

body{ font-family: "Nunito"; font-size: 1em; overflow-x: hidden; }

#barra-brasil ~ *{ hyphens: auto; }


hr{margin: 5px 0;}

.row{--bs-gutter-x: 0;}

a {text-decoration: none; color: var(--chumbo-logo);}
.cor-icon{color: var(--chumbo-logo);}

a:hover{
    color: var(--azul-logo);
}

#translate {
    position: absolute;
    right: 5%;
}

.contrastebody
{
	filter: invert(1) hue-rotate(180deg);
}

.acessibilidade 
{
    background-color: #f8f8f8;
    cursor: pointer;
    height: 32px;
}
.acessibilidade-in 
{
    display: flex;
    padding: 0 10%;
    width: 100%;
    justify-content: space-between;
}
.acessibilidade-itens 
{
    padding: 0.25em;
    list-style-type: none;
    display: inline-flex;
    align-items: center;
}
.acessibilidade-itens li 
{
    margin: 0 8px;
}

.acessibilidade-itens span 
{
    background: var(--chumbo-logo);
    color: #fff;
    padding: 0 0.35em;
    margin: 0 5px;
    border-radius: 50%;
}
#busca-menu{ cursor: pointer; }
#search
{
	padding: 0.5em;
    display: grid;
    grid-template-columns: 40% 5%;
    justify-content: center;
    align-items: center;
}
#search form label
{
	display: inline-grid;
	width: 80%;
}
input.search-field 
{
    padding: 0.5em;
    border-radius: 0.5em;
}
input.search-submit 
{
    background-color: var(--roxo-logo);
    padding: 0.6em;
    border-radius: 0.5em;
    border: none;
    color: white;
}

#header
{     
    display: flex;
    align-items: center; 
}


.logohome{ 
    background-image: url(http://localhost/wptest/humanas2026/wp-content/themes/humanas2026/images/LogoSCH.png);
    width: 100%;
    background-repeat: no-repeat;
    background-size: 70%;
    height: 20vh;
    width: 35%;
    display: flex;
    background-position: 0% 50%;
    z-index: 10;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    align-content: center;
  }

.logohome img{ max-width: 95%; }

.info-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#branding
{
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 20vh;
    max-height: 250px;
    width: 100%;
    padding: 0 10%;
}

#branding h1{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

#menu-moveis{ display: none; }
.menusite{ display: flex;
    flex-direction: column;
    position: absolute;    
    overflow: hidden;
    transition: all 0.5s ease;
    background: #fff;
    width: 100%;
    overflow: hidden;
    padding: 1% 10% 10%;
    transform: scale(0, 0) translate(0, 0);
    z-index: 20;}
.abremenu{ transform: scale(1) translate(0, 0); }
#fecha-menu{ width: 100%; text-align: end; }
.menusite ul li a
{
    display: block;
    height: auto !important;
    padding: 6px;
    border: none !important;   
}
.menu_principal
{
    width: 100%;
    font-size: 1.2rem;
    padding: 1% 9.7%;
}

.menu_principal ul.menu
{
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    padding: 0;
}

.menu_principal ul li a
{
    border: 1px solid #fff;
    
}
.menu_principal ul.menu li a
{
    color: #000000;
    display: flex;
    align-items: center;
    padding: 0 0.5em;
    min-height: 35px;
    transition: all 0.2s ease;
    border-radius: 5px 5px 0 0;
    font-weight: 600;
}
.menu_principal ul.menu li > a:hover{ 
    border-color: #55555547;
    border-width: 1px 1px 0 1px;
    border-style: solid;
}
.menu_principal ul.sub-menu 
{
    position: absolute;
    background-color: #fff;
    font-size: 1.1rem;
    width: max-content;
    min-width: 15rem;
    z-index: 15;
    border-color: #55555547;
    border-width: 0 1px 1px 1px;
    border-style: solid;
    border-radius: 0 5px 5px 5px;
    box-shadow: 1px 2px 5px #5555551f;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 0;
    flex-wrap: wrap;
    transform:  scaleY(0) translate(0, -60%);
    transition: all 0.2s ease;
}
ul.sub-menu li:last-child a {
    border-radius: 0 0 5px 5px !important;
}
.menu_principal li a:has(~ ul.sub-menu:hover) { 
    border-color: #55555547;
    border-width: 1px 1px 0 1px;
    border-radius: 5px 5px 0 0;
    border-style: solid;
}

.menu_principal ul.menu li:hover > ul.sub-menu{
    transform:  scaleY(1);
}
.menu_principal ul.sub-menu li a:hover{ border-color: transparent; background-color: #eee; border-radius: 5px;}

ul.menu > li {
    border-color: transparent;
    border-width: 1px;
    border-radius: 5px;
    border-style: solid;
}

ul.menu > li:not(:has(> ul)):hover {
    border-radius: 5px;
    border-bottom: 1px solid #55555547;
}

.menu-item-object-category > a {
    font-weight: 700 !important;
    font-size: 1rem;
    letter-spacing: 1px;
    height: 2.2rem !important;
    width: max-content;
    pointer-events: none;
    cursor: default;
    margin: 7px;
    background: #800080;
    color: #fff !important;
    border-radius: 5px !important;
}

/* evitar hover visual (caso seu tema troque cor ao passar o mouse) */
.menu-item-object-category > a:hover,
.menu-item-object-category > a:active {
  color: #9aa0a6;
  text-decoration: none;
}

/*----------------------------------*/
/* Definições do conteúdo da página */

#pagina
{
    display: flow-root;
    padding: 2% 10%;
    min-height: 59vh;
    background-color: var(--cinza-logo);
    border-radius: 80px 80px 0 0;
    border-bottom: 1px solid #ccc;
    text-align: justify;
}

.row20vh{ min-height: 20vh;  }
.row40vh{ min-height: 40vh;  }
.row60vh{ min-height: 60vh;  }
.row80vh{ min-height: 80vh;  }
.row100vh{ min-height: 100vh;  }

.ph2pw10{ padding: 2% 10%;}

#titulo-pagina
{ 
    color: var(--chumbo-logo);
    background-size: auto;
    margin-bottom: 3em;
}
    
.tit-pag
{
    display: flex;
    align-items: center;
    flex-direction: row-reverse;
    justify-content: flex-end;
    font-size: 1.5rem;
    
}  
.tit-duvida{  text-align: justify; }
.evento-single
{ 
    text-align: justify;
    margin: 3em 0;
    font-size: 1.2em; 
}
.evento-img{ float: left; max-width: 30%; margin: 0 3em 3em 0; }
.evento-img img { width: 100%; height: auto; border-radius: 15px;}

.page-numbers 
{
    font-size: 1.5em;
    padding: 0.2em 0.5em;
}
.page-numbers:hover{background-color: #f0f8ff;} 

.data-post{ border-top: 4px solid #8000803d; border-radius: 5px; padding: 0.4em; }
.ler
{ 
    text-align: start;
    display: block;
    width: 100%;
    color: var(--azul-logo);
    cursor: cell;
    margin: 10px 0;
}

.saiba-mais{ padding: 10px; border-radius: 10px; border: none; margin-bottom: 1em; }
.saiba-mais:hover{ opacity: 0.8; }

.entry-title
{
    color: var(--chumbo-logo);
}
.entry-content td {
    border: 1px solid #ccc;
    padding: 0.5em;
}

.entry-meta{ margin: 3em 0; }
.entry-date-wrapper{display: flex; justify-content: flex-end; margin-bottom: 2em;}
.entry-date
{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100px;
    width: 100px;
    padding: 0.7em 1em;
    background: var(--roxo-logo);
    color: white;
    font-weight: 300;
    border-radius: 10px;
    
}
.entry-date-dia{ font-size: 40px; line-height: 40px; font-weight: 700; }
.entry-date-mes{ text-transform: uppercase; font-size: 15px; word-break: keep-all;}
.entry-date-mes, .entry-date-ano{ line-height: 23px; }

.donutt{ display: flex; flex-direction: column; }

#seta-sobe
{
	z-index: 20;
}
.xoxo
{
    padding: 2em 8%;
    background-color: var(--azul2-logo);
    font-size: x-large;
    margin: 0;
}
#copyright
{
    text-align: center;
    padding: 1em;
}
.wp-block-social-link-anchor:hover svg
{
    fill: var(--azul-logo) !important;       

}
.footer-contato{
    padding: 3% 10% 1%;    
    background-color: var(--roxo-logo);
    display: flex;
    font-size: larger;
    line-height: 1.1em;
    color: #fff;
    justify-content: space-between;
    flex-wrap: wrap;
}
#footer-brasil 
{
   background: none repeat scroll 0% 0% var(--chumbo-logo);
   padding: 1em 0px;
   max-width: 100%;
   width: 100%;
   bottom: 0;
   left: 0;
}

/* Para resolução média */
@media only screen and (max-width: 1076px)
{
	.acessibilidade 
	{
		height: auto !important;
	}

    #branding{ background-image: none; }

    #branding img { height: auto; max-width: 100%; }	
    
    #menu-moveis{ display: block; text-align: end;
        margin: 0 10% 5%;}

    #menu_principal{ grid-gap: 10px; grid-template-columns: 100%; justify-items: end; }

    #menu-superior{ display: none; width: 100%;}

    .menu{ padding: 0; flex-direction: column; }

    ul.menu li a {
        border-bottom: 1px solid var(--chumbo-logo);
        height: 50px;
        border-radius: 0; 
    }
    
    ul.sub-menu{ display: contents; }
    ul.sub-menu li{ margin: 0 0 0 1em;}
}		

/* Para dispositivos móveis com largura de tela de até 600px */
@media only screen and (max-width: 600px)
{
	.acessibilidade-in { padding: 0 5%; justify-content: flex-end;}	
    .hide-mobile{ display: none !important; }
    #branding {  }
    .ph2pw10 { padding: 5% 2%;}
    #branding img { height: auto; }
    #branding a{ max-width: 70%;}
    .logohome { background-size: 70%; width: 80%; }
    .info-header { width: 20%; }
    #search{ padding: 0 7%; }
    #menu_principal { flex-direction: column; }
    .menu > li { border-bottom: 2px solid #d0b5ec !important; border-radius: 0 !important; }
    .menu > li > a { background: #7a3c8b12; }
    
    #search{ grid-template-columns: 75% 8%; justify-content: space-between; }

    .search-field, .search-submit{ width: 70vw; margin: 1em 0.5em; }

    #pagina
    {
        padding: 3% 5%;
        border-radius: 40px 40px 0 0;
    }

    #titulo-pagina{ margin: 2em 0; }

    .tit-duvida h4 { font-size: 1.25em; }

    .g2-unit-conteudo { width: 90%; }

    .com-externa-content { grid-template-columns: 35% 35%; justify-content: space-evenly; }
    .titulo-cat, .titulo-cat2 { width: 100%; text-align: left; padding: 0 5%; }
    .titulo-cat::before, .titulo-cat2::before { display: none; }

    .conteudo-noticia{ margin-bottom: 2em; }

    .evento-single{ flex-direction: column; align-items: center; }
    .evento-img, .evento-content{ max-width: 100%; }
    .evento-img{ margin: 0 0 1em 0; float: none; }

    .vocesabia-content{ text-align: left; width: 90%; }
    .entry-date-dia{ font-size: 42px; line-height: 45px; font-weight: 700; }
    
    .footer-contato {
        padding: 10%;
        background-color: var(--roxo-logo);
        display: flex;
        font-size: 0.9em;
        text-align: center;
        color: #fff;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: wrap;
    }
}