@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap');

:root {
    --bodybackground: #ffffff;
    --responsiveMenu: #978739db;
    --lightgray: #BEBFB3;
    --blue: #0E3DC9;
    --darkblue: #061234;
    --mediumgray: #5C6872;
    --darkgray: #4D4649;
    --darkyellow: #978739;
    --veryDarkBlue: #030A1C;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: Tahoma, sans-serif;
    background-color: var(--bodybackground);
    overflow-x: hidden;
}

/* ======== Header ========= */
.header {
    overflow-x: hidden;
}
.header-blue-line {
    height: 0.3em;
    background-color: #0E3DC9;
    width: 100%;
    box-shadow: 0 5px 18px 0.5px var(--mediumgray);
}
.logo-box {
    width: 12em;
    padding-left: 1em;
    padding-right: 0;
}
.header-left-content {
    padding-right: 0;
}
.header-right-content {
    padding-right: 0;
}
.header-right-content h1 {
    font-size: 2em;
    font-family: "Archivo Black", sans-serif;
    color: var(--blue);
    padding-top: 1em;
    padding-bottom: 1em;
    padding-right: 1em;
    width: 100%;
}
/* ======== Nav Menu ========*/
.nav-itens-box {
    width: 100%;
    background-color: var(--blue);
    border-top-left-radius: 1em;
}
.dropbtn {
    background-color: var(--blue);
    color: white;
    padding: 0.8em;
    font-size: 0.8em;
    border: none;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 15em;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
.contactos-dropdown {
    right: 0;
}
.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8em;
}
.dropdown-content a:hover {
    background-color: #ddd;
}
.dropdown:hover .dropdown-content {
    display: block;
}
.dropdown:hover .dropbtn {
    background-color: var(--darkyellow);
}

/* ====== Hamburger Menu ====== */

.hamburger-menu-box {
    position: absolute;
    top: 0.4em;
    right: 1em;
    cursor: pointer;
    display: none;
}
.hamburger-menu-box i {
    font-size: 2.5em;
    color: var(--blue);
}

/* ====== Hidden Menu ====== */

.hidden-menu-container {
    background-color: var(--responsiveMenu);
    width: 75%;
    height: 100vh;
    position: fixed;
    top: 0;
    right: -75%;
    transition: 0.3s ease-in-out;
    z-index: 99999;
}
.active-menu-responsive {
    right: 0%;
}
.close-menu-box {
    text-align: right;
    padding-right: 0.7em;
}
.close-menu-box i {
    font-size: 3.2em;
    padding-top: 0.8em;
    color: white;
    cursor: pointer;
}

    /* Accordion Menu */

.accordion-menu-box {
    margin-top: 0.8em;
}
.accordion-body {
    display: flex;
    flex-direction: column;
}
.accordion-button:not(.collapsed) {
    background-image: linear-gradient(to right, #0E3DC9, #978739db);
    /* background-color: var(--blue); */
    color: white;

}
.accordion-button.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  }
.accordion-button:not(.collapsed)::after {
    filter: brightness(0%) invert(70%);
}
.accordion-button.collapsed {
    /* background-color: var(--blue); */
    background-image: linear-gradient(to right, #0E3DC9, #978739db);
    color: white;
}
.accordion-item {
    border: 1px solid var(--lightgray);
}
.accordion-item a {
    text-decoration: none;
    color: var(--blue);
    padding: 0.5em 0.5em;
    transition: 0.2s ease-in-out;
}
.accordion-item a:hover {
    background-color: var(--darkyellow);
    color: white;
}
.solo-accordion {
    border: 1px solid var(--lightgray);
    border-bottom: none;
    border-top: none;
}
.solo-accordion a {
    text-decoration: none;
    color: white;
}
.solo-accordion::after {
    display: none;
}
.accordion-button:focus {
    box-shadow: none;
}

/* ====== Header Fixed Section ====== */

.header-fixed {
    background-color: rgb(237, 237, 237);
    position: fixed;
    top: -20%;
    left: 0;
    right: 0;
    padding: 0.8em;
    z-index: 9999;
    box-shadow: 0px 15px 30px -15px var(--lightgray);
    transition: 0.4s ease-in-out;
}
.active-header-fixed {
    top: 0;
}
.header-fixed-logo-box {
    width: 7em;
}
.fixed-nav-itens-box {
    border-bottom-right-radius: 1em;
}

/* ====== Section Time and main contacts ====== */

.email-box {
    padding-right: 1em;
}
.email-box a {
    text-decoration: none;
    color: var(--mediumgray);
}
.data {
    color: var(--mediumgray);
    font-size: 0.8em;
    padding-top: 1em;
    padding-left: 1em;
}
.phone-email {
    padding-top: 1em;
    font-size: 0.9em;
}
.phone-email p {
    color: var(--mediumgray);
}
.phone-email i {
    font-size: 1.7em;
    color: var(--darkyellow);
}

/* ====== Main/Aside Section ====== */

.main-section {
    padding-left: 1em;
    padding-right: 1em;
}

/* Article Title */

.article-title {
    background-color: var(--blue);
    color: white;
    padding: 0.5em 0.3em;
    font-size: 1.3em;
    text-align: center;
    border-top-left-radius: 1em;
    border-bottom-right-radius: 1em;
}
.executivo-box {
    margin-top: 3em;
}
.executivo-item {
    margin-bottom: 2em;
}
.executivo-cargo {
    font-size: 1.2em;
    padding-bottom: 0.8em;
}
.executivo-img-box {
    width: 15em;
    margin: auto;
}
.executivo-nome {
    padding-top: 0.8em;
}


/* ====== Right side of page (Asides) ====== */

.aside-section {
    background-color: white;
    padding-bottom: 3em;
}
.aside-title {
    margin-bottom: 1rem;
}
.box-container {
    max-width: 20em;
    margin: auto;
}
.aside-icon i {
    color: var(--darkyellow);
}
.number-date {
    color: var(--mediumgray);
    font-size: 0.8em;
}
.img-box {
    max-width: 20em;
    margin: auto;
}

/* ====== Footer ====== */

.section-footer {
    background-color: var(--darkblue);
    position: relative;
}
.background-footer-box {
    background-image: url("../Images/mercado_praca2.JPG");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    opacity: 5%;
}
.footer-logotipo-box {
    width: 12em;
    margin: auto;
    padding-top: 2.5em;
    padding-bottom: 2.5em;
}
.bottom-footer-box {
    color: white;
    position: relative;
    padding-bottom: 2em;
}
.bottom-footer-box hr {
    margin-bottom: 2em;
}
.footer-box-title {
    font-size: 1.5em;
    text-transform: uppercase;
    padding-bottom: 1em;
}
.link-uteis-box a {
    text-decoration: none;
    color: white;
    cursor: pointer;
    margin-bottom: 0.5em;
}
.footer-phone-box i, .footer-email-box i {
    font-size: 1.5em;
}
.footer-email-box a {
    text-decoration: none;
    color: white;
}
.redes-sociais-content a {
    font-size: 2.5em;
    text-decoration: none;
    color: white;
    transition: 0.3s ease-in-out;
}
.redes-sociais-content a:hover {
    transform: scale(1.5);
}

/* ===== Copyright Box ===== */

.copyright-box {
    background-color: var(--veryDarkBlue);
    color: white;
    padding: 1em 0.3em;
    font-size: 0.8em;
}

/* ====== Top of Page ====== */

.top-of-page {
    position: fixed;
    right: 2%;
    bottom: -15%;
    z-index: 99;
    transition: 0.3s ease-in-out;
}
.top-of-page a {
    color: var(--darkyellow);
    font-size: 3em;
    text-decoration: none;
}
.top-of-page:hover {
    transform: scale(1.3);
}
    /* Active class */
.active-top {
    bottom: 5% !important;
}

/* ===== SCROLL BAR ===== */

::-webkit-scrollbar {
    width: .60rem;
    background-color: var(--darkblue);
}
  
::-webkit-scrollbar-thumb {
    background-color: var(--darkyellow);
    border-radius: 5px;
}

/* ====== Dark/Ligh Mode ====== */

.dark-mode-img {
    width: 2em;
    position: fixed;
    top: 4%;
    left: 1%;
    cursor: pointer;
    z-index: 9999;
}

/* ====== Cookies Bar ====== */

.cookies-container {
    background-color: #978739e4;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.7em 2em;
    display: none;
}
.cookie-description-box {
    color: white;
}
.aviso-cookies {
    font-size: 1em;
    padding-bottom: 0.5em;
}
.aviso-cookies img {
    width: 1.7em;
    margin-right: 1em;
}
.aviso-cookies a {
    padding-left: 1em;
    color: var(--darkgray);
    transition: 0.2s;
}
.aviso-cookies a:hover {
    color: var(--mediumgray);
}
.texto-cookies {
    font-size: 0.9em;
}
.texto-cookies a {
    padding-left: 1em;
    color: var(--darkgray);
    transition: 0.2s;
}
.texto-cookies a:hover {
    color: var(--mediumgray);
}
.cookie-button-box button {
    background-color: var(--darkblue);
    color: var(--bodybackground);
    font-size: 0.9em;
    outline: none;
    border: none;
    border-radius: 0.3em;
    padding: 0.5em 1em;
}
.cookies-container.mostrar {
    display: block;
}






/* ====== Responsive ====== */
@media (max-width: 1400px) {
    
}
@media (max-width: 1284px) {
    
}
@media (min-width: 992px) {
    .hamburger-menu-box {
        display: none !important;
    }
    .hidden-menu-container {
        display: none !important;
    }
}
@media (max-width: 992px) {
    .dropdown {
        display: none;
    }
    .hamburger-menu-box {
        display: block;
    }
    .footer-contactos-box {
        padding-top: 2em;
    }
    .redes-sociais-box {
        padding-top: 2em;
    }
}
@media (max-width: 769px) {
    .logo-box {
        padding-top: 1em;
        width: 10em;
    }
    .header-right-content h1 {
        font-size: 1.5em;
        text-align: center;
        padding: 0.5em 0.3em;
    }
    .data {
        padding-left: 0;
        font-size: 0.8em;
    }
    .phone-email {
        padding-top: 0.5em;
    }
    .phone-email p {
        font-size: 0.9em;
    }
    .phone-email i {
        font-size: 1.5em;
    }
    .email-box {
        padding-right: 0;
    }
    .main-aside-section {
        padding-bottom: 2em;
    }
}
@media (max-width: 576px) {
    
}
@media (max-width: 405px) {
    .right-contacts {
        display: none;
    }
}