/*
Theme Name: Gov BR Child
Template: wp-govbr-tema-main/govbr
Description: Tema filho para o Gov BR.
Author: Vinicius Bretzke Müller
Version: 1.0
*/

.site-title a {
    color: #333 !important;
}

.menu-lateral-item-list .elementor-icon-list-item {
    height: 56px !important;

    & a {
        height: 100% !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

.menu-lateral-item-list .e-n-accordion-item-title-icon {
    margin-right: 10px !important;
}

.menu-lateral-item-list .e-n-accordion-item-title-text:hover {
    background-color: rgba(19, 81, 180, 0.16) !important;

}

.menu-lateral-item-list .menu-item {
	width: 100%
}

.menu-lateral-item-list .elementor-item-active span {
	font-weight: 600;
}

.language-list {
    display: none !important;
    margin: 0;
    margin-top: 160px;
    width: 100%;
    padding: 0;
    list-style: none;
    position: absolute;
    background: white;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.language-list.show {
    display: block !important;
}

.language-list li {
    margin: 0;
    padding: 8px 16px;
}

.language-list li a {
    text-decoration: none;
    color: #333;
    display: block;
}

.language-list li a:hover {
    background: #f0f0f0;
}

.govbr-list-item {
    color: #c5d4eb !important;
}

.selected-lang {
    font-weight: 700;
}

@media (max-width: 1279px) {

    .header-links .dropdown .br-list {
        display: none;
    }

    .header-functions .dropdown .br-list {
        display: none;
    }
}

.br-header {
    position: fixed !important;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.content-area {
    margin-top: 134px !important;
}

@media (max-width: 575px) {
    .content-area {
        margin-top: 88px !important;
    }
}


.menu-footer {}

.govbr-list-item a {
    padding-left: 8px !important;
}

.newsletter-footer-column {
    padding-top: 5% !important;
}

/* Deixa o item ativo em negrito e com cor diferente */
@media (max-width: 1279px) {
    .br-item.active {
        color: #333 !important;
    }
}

.menu-top-bar .elementor-item-active {
    font-weight: bold !important;
    transition: all 0.3s ease-in-out;
    background-color: white !important;
}

.menu-item-active {
    font-weight: bold !important;
}

.menu-item-inactive {
    font-weight: normal !important;
}


.menu-ferramentas-page .elementor-item {
    align-items: center !important;
    gap: 10px;

    & img {
        width: 20px !important;
    }
}

.menu-ferramentas-page .elementor-item-active {
    font-weight: bold !important;
}

/* Força a imagem com altura 100% */
.ajuste-imagem img {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
    max-width: 100% !important;
}

.ajuste-imagem a {
    height: 100% !important;
    object-fit: cover !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* .sobre-list-item span .elementor-button-text {
    text-align: left !important;
} */

.menu-button a {
    font-weight: normal;
    transition: font-weight 0.3s;
}

.menu-button a.active,
.menu-button a.current-page {
    font-weight: bold !important;
}

.footer-menu .menu-item {
    display: flex;
    align-items: center;
    padding-left: 16px !important;
}

.menu-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
}



#form-field-input_file_fale_conosco {
    padding: 4px 16px;
    border: 1px solid #69727d;
    font-style: italic;
    color: #C1C1C1;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    min-height: 40px;
    border-radius: var(--surface-rounder-sm, 4px);
    line-height: var(--font-line-height-medium, 1.45);
    margin: 0 2px;
    border: 1px solid #69727d;
    flex-grow: 1;
    vertical-align: middle;
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
    background-color: #ffffff;
    border-width: 1px 1px 1px 1px;
    cursor: pointer;

}

.fale-conosco-form input[type="file"]:valid {
    color: black;
}

#form-field-input_file_fale_conosco::file-selector-button {
    background: none;
    border: none;
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    cursor: pointer;
    padding: 5px;
}

.projetos-producao-form .select-caret-down-wrapper {
    display: none;
}

.san-title-link {
    text-decoration: none;
    color: inherit;
    pointer-events: auto;
    cursor: pointer;
    z-index: 1;
    position: relative;
}

.toggle-icon {
    cursor: pointer;
    margin-left: 10px;
    font-style: normal;
}

/* Garante que o campo não seja empurrado para cima */
.elementor-field-group {
    position: relative !important;
}

/* Ajusta a posição da mensagem de erro */
.elementor-message {
    position: absolute !important;
    bottom: -25px !important;
    left: 8px !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

*[loading] {
    z-index: 0 !important;
}

/* Oculta os submenus por padrão */
.elementor-nav-menu .menu-item-has-children>ul.sub-menu {
    display: none !important;
}

/* Garante que o item pai seja clicável normalmente */
.elementor-nav-menu .menu-item-has-children>a {
    pointer-events: auto !important;
}

.menu-sobre-page .current-menu-item.menu-item-has-children>ul.sub-menu {
    display: block !important;
    position: static !important;
    background: transparent !important;
}

.menu-sobre-page li a {
    padding: 8px 24px !important;
}

.menu-sobre-page .elementor-item-active {
    font-weight: bold !important;
    color: #fff !important;
}

.menu-sobre-page .elementor-sub-item:focus {
    background-color: transparent !important;
    color: #fff !important;
}


.menu-sobre-page .elementor-item.highlighted {
    color: #fff !important;
}

.abas-eixos .e-n-tabs-heading {
    min-height: 88px;
}

.search-form-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.search-form-container .search-close {
    align-self: flex-end;
}

.search-term {
    font-size: 2.4rem;
    line-height: 1.11;
    font-weight: 600;
    color: #0c326f;
    margin: 0;
}

.container-no-results-span {
    border-bottom: var(--divider-size, 1px) solid var(--border-color, #ccc);
    font-weight: 600;
    cursor: pointer;
}

.no-results .container-lg {
    margin-bottom: 50px;
}

.inscrito {
    background-color: #168821;
    /* Verde */
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-family: Rawline, sans-serif;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.newsletter-custom-form div .elementor-form .elementor-message {
    margin: 0 !important;
}

.newsletter-custom-form div .elementor-form .elementor-message.elementor-message-success.elementor-message-svg::before {
    content: none !important;
    background-image: none !important;
    height: 0 !important;
    width: 0 !important;
}

@media (min-width: 768px) {
    .footer-links-custom-accordion .e-n-accordion {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: space-between;

        & .e-n-accordion-item {
            flex: 1 1 48%;
        }
    }
}


@media (max-width: 767px) {
    .slider-home .elementor-slide-button {
        width: 100% !important;
    }
}

.custom-logo-link img {
    width: 80px !important;
    height: 60px !important;
}

@media (max-width: 767px) {
    .br-breadcrumb {
        margin-top: 30px !important;
    }
}

.breadcrumb-separator {
    font-size: 13px !important;
    color: #cccccc !important;
    margin: 0 5px !important;
    font-weight: bold !important;
}

.search-form-govbr form {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.search-form-govbr .search-form-govbr form input:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.language-list-widget {
    display: none;
    position: absolute;
    top: 100%;
    background: white;
    padding: 0;
    width: 100%;
    max-width: 80px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    list-style: none;
    z-index: 999;
    border-radius: 4px;
}

.language-list-widget.show {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.language-list-widget li {
    margin: 4px 0;
}

.language-list-widget a {
    text-decoration: none;
    color: #333;
    font-weight: 400;
    display: block;
}

.language-switcher-widget {
    position: relative;
}

.elementor-widget-container p {
    font-size: inherit !important;
    font-weight: inherit !important;
}