/*
Theme Name:     Tema Padrão da UFPR - Organizacional
Theme URI:      https://www.ufpr.br
Description:    Tema padrão da UFPR usando o framework Bootstrap
Author:         UFPR|AGTIC|CSGD|Divisão de WebDesign
Author URI:     https://www.agtic.ufpr.br/portal/coordenadoria-de-software-e-gestao-de-dados-csgd/
Text Domain:    wpufpr_bootstrap5_organizacional
Version:        2.3.4
*/

/* =========================================================
   HEADER EDITORA UFPR
========================================================= */

.editora-navbar {
    width: 100%;
    height: 60px;

    background-color: #d9dde2;

    padding: 0 !important;
    margin: 0;

    border: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.editora-header-container {
    width: 100%;
    max-width: 1200px;
    height: 100%;

    margin: 0 auto;
    padding: 0 20px;

    display: flex;
    align-items: center;
}


/* =========================================================
   LOGO
========================================================= */

.editora-logo {
    width: 150px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
}

.editora-logo a {
    display: flex;
    align-items: center;
}

.editora-logo img {
    display: block;

    width: 75px;
    height: auto;

    max-height: 40px;
    object-fit: contain;
}


/* =========================================================
   MENU
========================================================= */

.editora-menu {
    flex: 1;

    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.editora-menu-list {
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* Itens */

.editora-menu-list > li {
    height: 100%;

    display: flex;
    align-items: center;

    margin: 0;
    padding: 0;
}


/* Links */

.editora-menu-list > li > a {
    height: 100%;

    display: flex;
    align-items: center;

    padding: 0 10px;

    color: #111 !important;

    font-family: inherit;
    font-size: 10px;
    font-weight: 400;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    transition: color 0.2s ease;
}


/* Hover */

.editora-menu-list > li > a:hover {
    color: #005ca9 !important;
}


/* Página atual */

.editora-menu-list > li.current-menu-item > a,
.editora-menu-list > li.current_page_item > a {
    color: #005ca9 !important;
}


/* =========================================================
   NOSSA LOJA
========================================================= */

.editora-loja {
    flex-shrink: 0;

    display: flex;
    align-items: center;
}

.editora-loja a {
    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 72px;
    height: 30px;

    padding: 0 13px;

    background-color: #00d9b0;

    color: #111 !important;

    font-size: 9px;
    font-weight: 500;

    text-decoration: none;

    white-space: nowrap;

    transition: background-color 0.2s ease;
}

.editora-loja a:hover {
    background-color: #00c9a3;

    color: #111 !important;
}


/* =========================================================
   REMOVER ESTILOS ANTIGOS DO BOOTSTRAP NESSA BARRA
========================================================= */

.editora-navbar .navbar-nav {
    margin: 0;
}

.editora-navbar .navbar-nav > li {
    float: none;
}

.editora-navbar .navbar-collapse {
    display: flex !important;

    height: 100%;

    padding: 0;
}

.editora-navbar .container {
    width: 100%;
    padding: 0;
}

.editora-navbar .menu-items {
    background: transparent !important;
}
*/
/* =========================================================
   FOOTER EDITORA UFPR
========================================================= */

.editora-footer {
    width: 100% !important;
    min-height: 512px !important;

    margin: 0 !important;
    padding: 0 !important;

    background-color: #195187 !important;
    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    box-sizing: border-box;
}


.editora-footer *,
.editora-footer *::before,
.editora-footer *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.editora-footer__container {
    width: 100% !important;
    max-width: 1440px !important;

    min-height: 512px;

    margin: 0 auto !important;
    padding: 60px 7% 30px !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box;
}


/* =========================================================
   ÁREA PRINCIPAL
========================================================= */

.editora-footer__main {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: 1fr 1fr !important;

    gap: 80px;

    flex: 1;
}


/* =========================================================
   COLUNAS
========================================================= */

.editora-footer__left,
.editora-footer__right {
    width: 100%;

    display: flex !important;
    flex-direction: column !important;

    align-items: flex-start !important;
}


/* =========================================================
   TÍTULOS
========================================================= */

.editora-footer .editora-footer__title {
    margin: 0 0 18px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 36px !important;
    font-weight: 700 !important;

    line-height: 1.1 !important;

    text-transform: none !important;
}


/* =========================================================
   REDES SOCIAIS
========================================================= */

.editora-footer__social {
    display: flex !important;

    align-items: center !important;

    gap: 15px;

    margin: 0 0 25px !important;
    padding: 0 !important;
}


.editora-footer__social a {
    width: 30px !important;
    height: 30px !important;

    padding: 0 !important;
    margin: 0 !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    color: #ffffff !important;

    background: transparent !important;

    font-size: 21px !important;

    text-decoration: none !important;
}


.editora-footer__social a:hover {
    color: #ffffff !important;

    opacity: 0.75;
}


/* =========================================================
   LOGO
========================================================= */

.editora-footer__logo {
    width: 235px !important;

    height: auto !important;

    margin: 0 0 17px !important;
    padding: 0 !important;
}


.editora-footer__logo a {
    display: block !important;

    width: 100% !important;
}


.editora-footer__logo img {
    display: block !important;

    width: 235px !important;
    height: auto !important;

    max-width: 100% !important;
    max-height: 90px !important;

    object-fit: contain !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* =========================================================
   INFORMAÇÕES
========================================================= */

.editora-footer__info {
    width: 100% !important;
    max-width: 390px !important;

    margin: 0 !important;
    padding: 0 !important;
}


.editora-footer .editora-footer__info p {
    margin: 0 !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 13px !important;
    font-weight: 400 !important;

    line-height: 1.3 !important;
}


/* =========================================================
   NEWSLETTER
========================================================= */

.editora-footer__newsletter {
    width: 100% !important;
    max-width: 360px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    align-items: flex-start !important;
}


/* =========================================================
   CAMPOS
========================================================= */

.editora-footer__field {
    width: 170px !important;

    margin: 0 0 23px !important;
    padding: 0 !important;
}


.editora-footer__field input {
    width: 170px !important;
    height: 49px !important;

    display: block !important;

    margin: 0 !important;
    padding: 0 13px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background-color: #f1f1f1 !important;

    color: #174f83 !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 16px !important;

    outline: none !important;
}


.editora-footer__field input::placeholder {
    color: #174f83 !important;
    opacity: 1 !important;
}


/* =========================================================
   BOTÃO
========================================================= */

.editora-footer__button {
    height: 43px !important;

    margin: 0 !important;
    padding: 0 20px !important;

    border: 0 !important;
    border-radius: 0 !important;

    background-color: #00d9b0 !important;

    color: #000000 !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    line-height: 43px !important;

    cursor: pointer;

    text-decoration: none !important;
}


.editora-footer__button:hover {
    background-color: #00c9a3 !important;
    color: #000000 !important;
}


/* =========================================================
   QR CODE E-MEC
========================================================= */

.editora-footer__qrcode {
    margin-top: 30px !important;

    width: 300px !important;
    height: 300px !important;

    display: block !important;
}

.editora-footer__qrcode a {
    display: block !important;

    width: 140px !important;
    height: 140px !important;
}

.editora-footer__qrcode img {
    display: block !important;

    width: 140px !important;
    height: 140px !important;

    max-width: 140px !important;
    max-height: 140px !important;

    margin: 0 !important;
    padding: 0 !important;

    object-fit: contain !important;

    background: #ffffff !important;
}
/* =========================================================
   PARTE INFERIOR
========================================================= */

.editora-footer__bottom {
    width: 100% !important;

    margin: 40px 0 0 !important;
    padding: 0 !important;

    text-align: center !important;

    color: #ffffff !important;
}


.editora-footer .editora-footer__bottom p {
    margin: 0 0 10px !important;
    padding: 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;

    font-size: 12px !important;
    font-weight: 400 !important;

    line-height: 1.4 !important;
}


.editora-footer__links {
    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    gap: 5px;

    margin: 0 !important;
    padding: 0 !important;

    font-size: 12px !important;
}


.editora-footer__links a {
    color: #ffffff !important;

    font-size: 12px !important;

    text-decoration: none !important;
}


.editora-footer__links a:hover {
    color: #00d9b0 !important;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .editora-footer {
        min-height: auto !important;
    }


    .editora-footer__container {
        min-height: auto !important;

        padding: 45px 25px 30px !important;
    }


    .editora-footer__main {
        grid-template-columns: 1fr !important;

        gap: 50px;
    }


    .editora-footer .editora-footer__title {
        font-size: 30px !important;
    }


    .editora-footer__field,
    .editora-footer__field input {
        width: 100% !important;
        max-width: 300px !important;
    }


    .editora-footer__logo,
    .editora-footer__logo img {
        width: 210px !important;
    }


    .editora-footer__info {
        max-width: 100% !important;
    }


    .editora-footer__bottom {
        margin-top: 50px !important;
    }

}
/* =========================================================
   NEWSLETTER + QR CODE
   ========================================================= */

footer.editora-footer .editora-footer__right {
    display: grid !important;
    grid-template-columns: 360px 250px !important;
    grid-template-rows: auto 1fr !important;
    column-gap: 40px !important;
    align-items: start !important;
}

/* Título Newsletter */
footer.editora-footer .editora-footer__right > .editora-footer__title {
    grid-column: 1 !important;
    grid-row: 1 !important;
}

/* Formulário */
footer.editora-footer .editora-footer__newsletter {
    grid-column: 1 !important;
    grid-row: 2 !important;
}

/* QR */
footer.editora-footer .editora-footer__qrcode {
    grid-column: 2 !important;
    grid-row: 1 / span 2 !important;

    position: static !important;

    width: 250px !important;
    height: 250px !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;
}

/* Link do QR */
footer.editora-footer .editora-footer__qrcode a {
    display: block !important;
    width: 250px !important;
    height: 250px !important;
}

/* Imagem */
footer.editora-footer .editora-footer__qrcode img {
    display: block !important;

    width: 250px !important;
    height: 250px !important;

    max-width: none !important;
    max-height: none !important;

    min-width: 250px !important;
    min-height: 250px !important;

    object-fit: contain !important;
}
/* =========================================================
   AJUSTE FINAL — FOOTER EDITORA UFPR
   ========================================================= */

/* Área da direita */
footer.editora-footer .editora-footer__right {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 360px 260px !important;
    column-gap: 50px !important;
    align-items: start !important;
}

/* Newsletter */
footer.editora-footer .editora-footer__newsletter {
    width: 100% !important;
}

/* QR Code — ao lado da Newsletter */
footer.editora-footer .editora-footer__qrcode {
    position: relative !important;
    width: 250px !important;
    height: 250px !important;
    margin: 30px 0 0 0 !important;
    padding: 0 !important;
    display: block !important;
    overflow: visible !important;
}

footer.editora-footer .editora-footer__qrcode a {
    display: block !important;
    width: 250px !important;
    height: 250px !important;
}

footer.editora-footer .editora-footer__qrcode img {
    display: block !important;
    width: 250px !important;
    height: 250px !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 250px !important;
    min-height: 250px !important;
    object-fit: contain !important;
}
/* =========================================================
   FUNDO AZUL DO FOOTER
   ========================================================= */

html body footer.editora-footer {
    background-color: #195187 !important;
    background-image: none !important;
    opacity: 1 !important;
}

html body footer.editora-footer .editora-footer__container {
    background-color: #195187 !important;
    background-image: none !important;
    opacity: 1 !important;
}
/* =========================================================
   HEADER EDITORA — SEGUNDA BARRA
   O MENU SUPERIOR AZUL PERMANECE INALTERADO
   ========================================================= */

.editora-navbar {
    width: 100% !important;
    height: 88px !important;

    background: #ffffff !important;

    border-bottom: 2px solid #195187 !important;

    margin: 0 !important;
    padding: 0 !important;
}

.editora-header-container {
    width: 100% !important;
    max-width: 1715px !important;
    height: 88px !important;

    margin: 0 auto !important;
    padding: 0 35px !important;

    display: flex !important;
    align-items: center !important;

    background: #ffffff !important;
}


/* LOGO */

.editora-logo {
    width: 130px !important;
    flex: 0 0 130px !important;

    margin-right: auto !important;
}

.editora-logo img {
    display: block !important;

    width: 110px !important;
    height: auto !important;
}


/* MENU */

.editora-menu {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
}

.editora-menu-list {
    display: flex !important;
    align-items: center !important;

    gap: 35px !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}

.editora-menu-list > li {
    margin: 0 !important;
    padding: 0 !important;
}

.editora-menu-list > li > a {
    display: flex !important;
    align-items: center !important;

    height: 88px !important;

    padding: 0 !important;
    margin: 0 !important;

    color: #111111 !important;

    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    text-decoration: none !important;
}

.editora-menu-list > li > a:hover {
    color: #195187 !important;
}


/* HOME ATIVO */

.editora-menu-list > li.current-menu-item > a,
.editora-menu-list > li.current_page_item > a {
    color: #195187 !important;
}


/* NOSSA LOJA */

.editora-loja {
    margin-left: 40px !important;
}

.editora-loja a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 46px !important;

    padding: 0 27px !important;

    background: #00d9b0 !important;
    color: #000000 !important;

    font-family: "Inter", sans-serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;

    text-decoration: none !important;
}

.editora-loja a:hover {
    background: #00c9a4 !important;
    color: #000000 !important;
}
.editora-navbar {
    border-bottom: 1px solid #B5C5D3 !important;
}
.editora-menu-list > li > a:hover,
.editora-menu-list > li > a:focus,
.editora-menu-list > li > a:active {
    color: #11477F !important;
}
.editora-loja a:hover,
.editora-loja a:focus,
.editora-loja a:active {
    background: #00d9b0 !important;
    color: #000000 !important;
}
/* =========================================================
   CORRIGIR HOVER DO MENU EDITORA
   ========================================================= */

/* Links normais */
.editora-navbar .editora-menu a,
.editora-navbar .editora-menu-list a {
    --bs-nav-link-hover-color: #11477F !important;
}

/* Hover */
.editora-navbar .editora-menu a:hover,
.editora-navbar .editora-menu a:focus,
.editora-navbar .editora-menu a:active,
.editora-navbar .editora-menu-list li a:hover,
.editora-navbar .editora-menu-list li a:focus,
.editora-navbar .editora-menu-list li a:active {
    color: #11477F !important;
    background-color: transparent !important;
    border-color: transparent !important;
}

/* Caso o Bootstrap esteja usando variável de link */
.editora-navbar .editora-menu .nav-link:hover,
.editora-navbar .editora-menu .nav-link:focus {
    color: #11477F !important;
    --bs-nav-link-hover-color: #11477F !important;
    --bs-link-hover-color: #11477F !important;
    background-color: transparent !important;
}