:root{
    --background-padra1:  rgba(217, 118, 43, 1);
    /* --background-padra1: rgba(217, 118, 43, 0.7); */
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: none;
}

body {

    
    background-position: center;
}

.container {
    width: 1080px;
    margin: auto;
}

.areadelogotipo {
    display: flex;
    height: 120px;
    justify-content: space-between;
    align-items: center;
}

.areadelogotipo .area1 {
    margin-left: 70px;
    display: flex;
    align-items: center;
    justify-items: center;
    justify-content: space-between;
}

.areadelogotipo .area1 .logo1 {
    margin-right: 30px;
}

.areadelogotipo .area2 {
    width: 100px;
    display: flex;
    margin-top: 30px;
    justify-content: space-around;
    margin-right: 10px;
}

.areadelogotipo .area2 .youtube {
    color: #FF0000;
}






/*--------------------------NAVIGATION SECTION----------------------------*/
header {
    position: relative;
    top: 0px;
    left: 0;
    right: 0;
    margin: auto;
    background: #fff;
    box-shadow: 0 5px 10px rgba(255, 165, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1;
}

header .logo {
    font-weight: bold;
    font-size: 25px;
    color: #333;
}

header .navbar ul {
    list-style: none;
}

header .navbar ul li {
    position: relative;
    float: left;
}

header .navbar ul li a {
    padding: 20px 18.3px;
    display: block;
    color: #333;
}


header .navbar ul li a:hover {
    background: var(--background-padra1);
    color: #fff;
}

header .navbar ul li ul {
    position: absolute;
    left: 0;
    background: #fff;
    display: none;
    font-size: 13px;
}
header .navbar ul li .divulgacao{
    width: 170px;
}

header .navbar ul li .divulgacao li a{
    padding: 15px 19px;
}

header .navbar ul li .representacaol{
    width: 204px;
}

header .navbar ul li .representacaol li a{
    padding: 15px 19px;
}

header .navbar ul li .lem{
    width: 175px;
}

header .navbar ul li .lem li a{
    padding: 15px 19px;
}

header .navbar ul li .orgaos{
    width: 175px;
}

header .navbar ul li .orgaos li a{
    padding: 15px 19px;
}

header .navbar ul li .servicoscentrais{
    width: 317px;
}
header .navbar ul li .servicoscentrais li a{
    padding: 15px 19px;
}

header .navbar ul li .servicosautonomos{
    width: 265px;
}

header .navbar ul li .servicosautonomos li a{
    padding: 15px 19px;
}
header .navbar ul li ul li {
    width: 100%;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

header .navbar ul li ul li ul {
    left: 260px;
    top: 0;
}
header .navbar ul li ul li .submenuserviauto {
    left: 263px;
    width: 270px;
    top: 0;
}
header .navbar ul li ul li .submenulem{
    left: 173px;
    top: 0;
    width: 235px;
}

header .navbar ul li ul li .submenoserv{
    left: 315px;
    width: 250px;
    top: 0;
}

header .navbar ul li:focus-within>ul,
header .navbar ul li:hover>ul {
    display: initial;
    border-left: 2px solid  var(--background-padra1);
}


#menu-bar {
    display: none;
}

header label {
    color: #333;
    cursor: pointer;
    font-size: 25px;
    display: none;
}






/*--------------------------Secção de Banner*----------------------------*/
.banner {
    top: 10px;
    width: 100%;
    height: 330px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
}

.slider {
    display: flex;
    transition: transform 1s ease-in-out;
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 901px){
    .banner {
        top: 10px;
        width: 100%;
        height: 100%;
        overflow: hidden;
        position: relative;
        margin-bottom: 20px;
    }
} 





/*--------------------------Secção de Main*----------------------------*/

main {
    background-color: #eee;
    width: 100%;
}

main h3 {
    font-size: 20px;
    padding: 10px 20px;
    border-bottom: 1px solid #999;
    border-left: 10px solid var(--background-padra1);
    text-shadow: 2px 2px 4px rgba(255, 165, 0, 0.5);
}

main .destaques {
    display: flex;
    flex-wrap: wrap;
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.column {
    flex: 1;
    padding: 20px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    margin: 10px;
}

.column h5{
    color: #333;
}
.column p{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.2rem;
    color: #333;
    margin: 7px 0px;
}

.column a{
    text-decoration: none;
    font-size: 12px;
    margin-top: 15px;
}









/*---------------------section noticia----------------*/


.areanoticias {
    position: relative;
    top: 10rem;
    width: 100%;
    height: 280px;
    background-color: #777;
    margin-top: -9rem;
}

.areanoticias h2{
    border-left: 10px solid var(--background-padra1);
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.9);
    margin-top: 0;
    color: #fff;
    padding: 12px 20px;
    letter-spacing: 2px;
}

.containernews {
    height: 180px;
    overflow-y: scroll;
    width: 100%;
}


.noticias {
    display: flex;
    border-top: 1px solid #999;
    padding: 15px 10px;
}

.noticia1 {
    display: flex;
    width: 13%;
    flex-wrap: wrap;
    padding: 0 20px;
    flex-direction: column;
    margin-top: 2px;
}

.noticia1 .month{
    background-color: #fff;
    padding: 10px;
    font-weight: 600;
}

.noticia1 .year{
    padding: 3px 10px;
    color: #fff;
}

.noticia1 span {
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
}



.noticia2 {
    width: 85%;
    margin-top: -10px;
}

.noticia2 p a{
    line-height: 1.5rem;
    font-size: 14px;
    color: #fff;
}


.noticia2 p .vermais {
    background-color: #c2bebe;
    padding: 0px 2px;
}

.noticia2 p .vermais:hover {
    background-color: rgb(241, 65, 12);
}

.noticia2 p {
    margin: 0;
    padding: 10px;
}


@media (max-width: 600px) {
    .mes {
        margin-top: -5px;
    }

    .noticia1 {
        margin-right: 10px;
        padding: 0 2px;
    }

    .noticia1 span {
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .areanoticias h2{
       font-size: 18px;
    }

    .noticia2 p a{
        line-height: 1.5rem;
        font-size: 12px;
        color: #fff;
    }

    .containernews {
        height: 310px;
    }

    .areanoticias {
        height: 380px;
        overflow: hidden;
    }

    .noticia1 .month{
        padding: 5px;
    }
    
    .noticia1 .year{
        padding: 2px 7px;
        color: #fff;
    }
}







/*---------------------footer-----------------------*/

.conteinerff {
    margin-top: 15rem;
    padding: 20px 50px 0 50px;
    margin-right: auto;
    color: #fff;
    background-color: #212529;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

}

.conteinerff .footer-main h2 {
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(255, 165, 0, 0.5);
}

.conteinerff .footer-main .logo-design {
    font-weight: bold;
}

.conteinerff .footer-main .sub-logo {
    color: var(--background-padra1);
}

.conteinerff .footer-main .col-1 .aboutwebsite {
    margin: 1rem 0;
    color: #adadad;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    line-height: 1.5rem;
    margin-right: 10px;
    font-size: medium;
}

.conteinerff .footer-main .col-1 .learn-more {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: #adadad;
}

.conteinerff .footer-main .col-1 .follow-us {
    display: flex;
    align-items: center;
}

.conteinerff .footer-main .col-1 .follow-us .siganos {
    margin-right: 1rem;
    color: #adadad;
}

.conteinerff .footer-main .col-1 .follow-us .footer-icon {
    /* margin-right: 1rem; */
    cursor: pointer;
}

.conteinerff .footer-main .col-1 .follow-us i:hover {
    color: rgba(207, 138, 73, 0.8);
}

.conteinerff .footer-main .col-2 .footer-links {
    list-style: none;
    color: #adadad;
}

.conteinerff .footer-main .footer-link {
    cursor: pointer;
    margin-bottom: .5rem;
}


.conteinerff .footer-main .col-3 .footer-links {
    list-style: none;
    color: #adadad;
}




.conteinerff .footer-main .col-4 .footer-links {
    list-style: none;
    color: #adadad;
    font-size: 13.8px;
}

.conteinerff .footer-main .col-4 .footer-links .footer-link:hover{
    color: rgba(207, 138, 73, 0.8);
}

.conteinerff .footer-main .col-2, .col-3, .footer-links .footer-link a{
    color: #adadad;
    font-size: 13.8px;
}
.conteinerff .footer-main .col-2 .footer-links .footer-link:hover{
    color: rgba(207, 138, 73, 0.8);
}
.conteinerff .footer-main .col-2 .footer-links .footer-link a:hover{
    color: rgba(207, 138, 73, 0.8);
}

.conteinerff .footer-main .col-3 .footer-links .footer-link:hover{
    color: rgba(207, 138, 73, 0.8);
}
.conteinerff .footer-main .col-3 .footer-links .footer-link a:hover{
    color: rgba(207, 138, 73, 0.8);
}

.conteinerff .footer-main .col-4 .footer-link {
    cursor: pointer;
    margin-bottom: .5rem;
    margin-left: 12px;
}

.conteinerff .footer-main .col-4,.col-1, .col-2, .col-3, i {
    margin-right: 10px;
}




@media only screen and (max-width:688px) {
    .footer-main {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
    }

    h2{
        margin-top: 20px;
    }

    .conteinerff ul{
        margin-left: 15px;
    }

    .conteinerff .col-4{
        margin-bottom: 20px;
    }

    .col-1 .aboutwebsite {
        font-size: 11px;
    }

    .conteinerff .footer-main h2{
        font-size: 16px;
    }
    .conteinerff .footer-main .col-1 .follow-us i{
        font-size: 11px;
    }
}





 /* Estilos para tornar o layout responsivo */
 @media (max-width: 768px) {
    .destaques {
        flex-direction: column;
    }
    .row {
        flex-direction: column;
    }
}

@media(max-width:1082px) {
    .areadelogotipo .area1 {
        margin-left: 15px;
    }

    .areadelogotipo .area1 .logo1 img {
        width: 70px;
        height: 60px;
    }

    .areadelogotipo .area1 .logo2 img {
        width: 380px;
        height: 47px;
    }

    .areadelogotipo .area1 .logo1 {
        margin-right: 20px;
    }
}

@media(max-width:527px) {
    .areadelogotipo .area1 {
        margin-left: 10px;
        display: table-column;
    }

    .areadelogotipo .area1 .logo1 img {
        width: 60px;
        height: 50px;
        
    }

    .areadelogotipo .area1 .logo2 img {
        width: 360px;
        height: 47px;
    }

    .areadelogotipo .area1 .logo1 {
        margin-right: 20px;
    }
}


@media(max-width:1090px) {

    .container {
        width: 100%;
    }

    header {
        width: 100%;
        padding: 15px;
    }


    header label {
        display: initial;
    }

    header .navbar {
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        display: none;
    }

    header .navbar ul li {
        width: 100%;
    }

    header .navbar ul li ul {
        position: relative;
        width: 100%;
    }

    header .navbar ul li ul li {
        background: #eee;
    }

    header .navbar ul li ul li ul {
        width: 100%;
        left: 0;
    }

    #menu-bar:checked~.navbar {
        display: initial;
    }
}


