/*
Theme Name: Engie.pt
Theme URI: https://engie.pt/
Description: An engie.pt theme as a blankslate theme child
Author: Devoteam
Author URI: http://devoteam.pt
Template: blankslate
Version: 1.0.0
*/

body{
    margin: 0px;
}
.nj-header__controls{
    display: flex;
}
.nj-header  .nj-header__nav-link.active{
    background: transparent;
}
.darkmode{
    width: 40px;
    height: 40px;
    text-align: center;
    align-content: center;
    padding: 8px;
}

.lang-switcher {
    width: 120px;
    height: 40px;
    z-index: 1;
    text-align: center;
    align-content: center;
    background: var(--nj-semantic-color-background-neutral-primary-default);
    display: flex;
    align-items: center;
}
.lang-switcher .material-icons{
    width: 40px;
    height: 100%;
    background: var(--nj-semantic-color-background-neutral-primary-default);
    display: grid;
    align-items: center;
    color: var(--nj-semantic-color-text-neutral-primary-default);
}
.lang-switcher ul {
    position: absolute;
    list-style: none;
    display: block;
    height: 100%;
    width: 40px;
    margin: 0;
    padding: 0;
    background-color: var(--nj-semantic-color-background-neutral-primary-default) !important;
    transition: background-color 0ms !important;
}
.lang-switcher ul li{
    height: 100%;
    width: 100%;
    align-content: center;
    background: var(--nj-semantic-color-background-neutral-primary-default);
}
.lang-switcher ul li:not(.current-lang) {
    display: none;
}
.lang-switcher ul:hover li{
    display: block;
}
.lang-switcher .lang-item a{
    text-decoration: none;
}
.nj-header nav, .nj-footer > div {
    max-width: 100%;
}
.nj-header__nav {
    justify-content: flex-start !important;
}
.nj-header nav .nj-header__nav-logo--reduced{
    display: none;
}
.nj-header-right{
    justify-content: flex-end !important;
}
.nj-header__nav-item {
    display: block !important;
}
.nj-header__nav-item .nj-header__nav-link {
    margin-left: 0;
}
.nav-search{
    height: 100%;
    width: 100%;
    padding: 8px 0px;
}
.nav-search fieldset{
    height: 100%;
    width: 100%;
    border-radius: var(--nj-semantic-size-border-radius-none);
    border: 1px solid var(--nj-semantic-color-border-neutral-moderate-default);
    padding: 0px;
    margin: 0px;
}
.nav-search fieldset .material-icons{
    padding: var(--nj-semantic-size-spacing-12) var(--nj-semantic-size-spacing-16);
    align-items: center;
    gap: var(--nj-semantic-size-spacing-8);
    color: var(--nj-semantic-color-border-neutral-moderate-default);;
}
.nav-search input[name="s"]{
    height: 100%;
    width: calc(100% - 65px);
    border-radius: 0px;
    border: 0px;
    position: relative;
    top: -9px;
    background: transparent;
    color: var(--nj-semantic-color-text-neutral-primary-default);
}
.nav-search input[name="submit_search"]{
    height: 100%;
    width: 60px;
    border-radius: 0px;
    border: 0px;
    display: none;
}
footer p.footer_message{
    color: var(--nj-semantic-color-text-neutral-primary-default);
}
.ct-form > div{
    height: auto;
    padding-bottom: 16px;
}
.ct-form div p{
    padding: 0px;
    margin: 0px;
}
.ct-form div .wpcf7-list-item{
    padding: 0px;
    margin: 0px;
}
.ct-form label{
    font-family: Lato;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: #334551;
}
.ct-form textarea, .ct-form input{
    border: 1px solid #9EADB8;
    width: 100% !important;
    padding: 12px 16px 12px 16px;
    gap: 8px;
}
.ct-form input[type="checkbox"]{
    text-align: left;
    margin: 0px;
    width: 16px !important;
    height: 16px;
    padding: var(--nj-semantic-size-spacing-0);
    border: 2px solid var(--nj-semantic-color-border-neutral-strong-default);
    background: var(--nj-semantic-color-background-neutral-primary-default);
    border-radius: 0px;
}
.ct-form input[type="submit"]{
    color: var(--nj-semantic-color-text-neutral-inverse-default);
    /* Text/Text M (Default) */
    font-family: var(--nj-semantic-font-family-default);
    font-size: var(--nj-semantic-font-size-text-md);
    font-style: normal;
    font-weight: 400;
    line-height: var(--nj-semantic-line-height-text-md); /* 150% */
    letter-spacing: var(--nj-semantic-letter-spacing-none);
    border-radius: var(--nj-semantic-size-border-radius-none);
    background: var(--nj-semantic-color-background-brand-solid-default);
    padding: 16px 48px 16px 48px;
    width: auto !important;
}
.nj-header__nav-item ul.nj-alt_submenu{
    display: none;
    position: absolute;
    background: var(--nj-semantic-color-background-neutral-primary-default);
    top: 167px;
}
.nj-header__nav-item:hover ul{
    display: block;
}
.nj-header__nav.nj-header__nav--show .nj-header__nav-item ul{
    top: auto;
    display: block;
    width: 100%;
    position: relative;
    height: auto;
}
.nj-header__nav.nj-header__nav--show .nj-header__nav-item ul li{
    height: auto !important;
}
.nj-header--expand-lg .nj-header__nav--panel li {
    height: auto !important;
}
article.not-found {
    margin: 0px;
    padding: 64px 32px 64px 32px;
}
article.not-found header{
    text-align: center;
}
article.not-found h1{
    background: linear-gradient(90deg, #00AAFF 0%, #23D2B5 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    font-family: "Lato", Sans-serif;
    font-size: 95px;
    font-weight: 700;
    line-height: 78px;
    color: #171D21;
    margin: 0px;
    display: inline-flex;
}

article.not-found h2{
    text-align: center;
    font-family: "Lato", Sans-serif;
    font-size: 54px;
    font-weight: 700;
    line-height: 64px;
    color: #171D21;
    margin: 0px;
    padding-top: 24px;
    padding-bottom: 16px;
}
article.not-found p{
    text-align: center;
    font-family: Lato;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px;
    padding: 0px;
    margin: 0px;
}

.search.search-results main{
    padding: 64px 32px 64px 32px;
}
.search.search-results main > header{
    font-family: "Lato", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 35px;
    color: #171D21;
}
.search.search-results main > .content{
    display: flex;
    gap: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}
.search.search-results main article{
    width: 350px;
    font-family: "Lato", Sans-serif;
    border: 1px solid rgb(204, 212, 218);
}
.search.search-results main article img{
    object-fit: cover;
    max-height: 212px;
    width: 100%;
}
.search.search-results main article h2{
    margin: 0px;
    padding: 8px 16px;
}
.search.search-results main article h2 a{
    font-size: 24px;
    font-weight: 400;
    line-height: 32px;
    color: #171D21;
    text-decoration: none;
}

.single.single-post .post img{
    height: 320px;
    width: 100%;
    object-fit: cover;
}
.single.single-post .post header h1{
    font-family: "Lato", Sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 35px;
    color: #171D21;
    padding: 64px 32px 64px 32px;
}
.single.single-post .post header h1 a {
    text-decoration: none;
}
.nj-footer{
    padding-top: 0px !important;
}
.nj-footer::before {
    display: block;
    width: 100%;
    height: 3px;
    margin-top: var(--nj-footer-gap);
    background: var(--nj-semantic-color-background-additional-engie-ray-default);
    content: "";
}
.nj-footer::after {
    height: 0px;
    background: none !important;
}
.nj-footer figure.wp-block-image{
    margin: 0px !important;

}
.nj-footer h1, .nj-footer h2, .nj-footer h3, .nj-footer h4, .nj-footer h5 {
    margin: 0px !important;

}
.nj-footer .nj-footer__baseline {
    justify-content: space-between;
}
.nj-footer .nj-footer__baseline div{
    display: block;
    text-align: left;
}
.nj-footer .nj-footer__baseline > div img{
    width: 134px;
    height: auto;
}
.nj-footer .nj-footer__baseline > div .footer_message{
    margin-top: 12px;
    font-size: 16px;
    line-height: 24px;
}
.nj-footer .nj-footer__baseline .nj-footer__social {
    gap: 12px;
}

.nj-footer  .nj-footer__menu-section img{
    width: 100%;
    height: auto;
}
.nj-footer  .nj-footer__menu-section ul{
    list-style: none;
    padding: 0px;
    margin: 0px;
}
.nj-footer  .nj-footer__menu-section ul li{
    font-size: 16px;
    line-height: 24px;
    color: #171D21;
    height: 24px;
}
.nj-footer  .nj-footer__menu-section ul li a{
    display: block;
    font-size: 16px;
    line-height: 24px;
    color: #171D21;
    height: 24px;
    text-decoration: none;
}
.nj-footer .footer_end_text{
    font-size: 12px;
    line-height: 16px;
    color: #60798B;
    margin-top: 32px;
    margin-bottom: 32px;
}
.nj-footer .footer_menu{
    display: flex;
    border-top: var(--nj-footer-divider);
    border-bottom: var(--nj-footer-divider);
    justify-content: space-between;
}
.nj-footer .footer_menu p{
    font-size: 14px;
    line-height: 20px;
    color: #60798B;
}
.nj-footer .footer_menu .nj-footer__links{
    border: 0px;
    gap: 8px;
    padding: 0px;
}
.nj-footer .nj-footer__menu  .nj-footer__menu-section p{
    display: none;
}
