@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

* {
    margin: 0;
    padding: 0;
    /* box-sizing: border-box; */
}

body,
html {
    height: 100%;
    margin: 0;
    /* overflow-x: hidden; */
    /* estouro horizontal */
}

body {
    /* background-image: url(../images/construcao-e-reforma-souza-fernandes.jpg);
    background-size: cover; */
    /* height: 100vh; */
    /* display: flex; */
    /* flex-direction: column; */
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Open Sans', sans-serif;
    background-position: center;
    min-height: 100vh;
    width: 100%;
    height: auto;
}

header {
    background-color: #33333300;
    color: rgb(255, 255, 255);
    /* text-align: center; */
    /* padding: 0em 0; */
    width: 100%;
    height: 7em;
}

/* Saudação pág de pergil */
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: black;
    }
}

#saudacao {
    font-family: 'Courier New', Courier, monospace;
    white-space: nowrap;
    overflow: hidden;
    border-right: 3px solid black;
    font-size: 1.5rem;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
    color: #FD7E14;
}

/* Saudação pág de pergil */

.user_menu {
    margin-right: 15px;
    margin-left: 5px;
}

.navbar-nav>li>a {
    color: #fff;
    /* text-transform: uppercase; */
}

/* .dropdown-menu>li>a {
    text-transform: uppercase;
} */

.lupa {
    position: absolute;
    right: 1em;
    width: 2.5em;
    font-size: 20px;
    text-align: center;
    margin-top: 3.5px;
    z-index: 2;
}

.lupa>a {
    text-decoration: none;
    color: black;
}

.header_banner {
    margin: 0 auto;
    margin-top: 5px;
    width: 850px;
    height: 120px;
    background-color: #000;
    border-radius: 5px;
    box-shadow: 0px 3px 10px #ea7b1a75;
}


.header_banner {
    animation: fadeInAnimation ease 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes fadeInAnimation {
    0% {
        opacity: 0.3;
    }

    100% {
        opacity: 1;
    }
}

.img-logo {
    margin-top: 3px;
    margin-bottom: 15px;
    text-align: center;
}

.tituloHome {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 24px;
    color: #fff;
}

.descr {
    color: #fff;
    font-size: 17px;
    padding-top: 10px;
    line-height: 1.4;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}

strong {
    color: #ea7b1a;
}

.container {
    flex: 1;
    background-color: rgba(240, 248, 255, 0);
    padding: 0em;
    text-align: center;
    max-width: 1024px;
    width: 100%;
}

h2 {
    color: #fff;
    font-size: 2em;
}

.menu_esq {
    padding-left: 0;
    width: 100%;
    height: 100%;
    background-color: #2A3035;
}

.bg_sidebar {
    background-color: #2A3035;
    padding-top: 20px;
    height: 100vh;
}

.bgcolor {
    background-color: #2A3035;
}

.pag_write {
    background-color: white;
}

/* Direcionamento AVATAR inicial */
.avatarHome {
    display: flex;
    justify-content: center;
    margin: 11em 40em 0em 0em;
}

.avatarHome img {
    margin-top: -8em;
    width: 100%;
    max-width: 400px;
    display: block;
}

#esquerda {
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

/* Direcionamento AVATAR inicial */

.balao {
    margin: -3em auto 0 auto;
    background: #f4f4f4;
    border-radius: 10px;
    width: 300px;
    height: 180px;
    position: relative;
    -webkit-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
}

.balao:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #ffffff;
    bottom: -20px;
    left: 7%;
}

div h2.bemVindo {
    font-family: sans-serif;
    padding: 5px 15px 4px 10px;
    color: #2b2a2a;
    font-size: 22px;
}

div .balao p {
    padding: 5px 5px 5px 15px;
    font-size: 18px;
}

.caixaBr {
    margin: 3em auto;
    background: #f4f4f4;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    height: 400px;
    -webkit-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    -moz-box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
    box-shadow: 5px 5px 5px rgba(50, 50, 50, 0.77);
}

.div_noticias_home {
    border: 0px solid #ccc;
    padding: 10px;
    height: 300px;
    overflow-y: auto;
}

.noticia {
    margin-bottom: 15px;
}

.noticias {
    color: #007bff;
    text-decoration: none;
}

.noticias:hover {
    text-decoration: underline;
}

.preview {
    margin-top: 5px;
    color: #333;
}

.noticias_lista {
    box-shadow: 20px 20px 20px rgba(251, 251, 251, 0.77);
}

.noticia_item {
    border: 1px solid rgba(128, 128, 128, 0.288);
    padding: 10px 7px 10px 10px;
    margin-top: 10px;
    box-shadow: 0px 0px 1px rgb(110 110 110 / 54%);
    border-radius: 4px;
}

.noticia_item h2 {
    color: #ea7b1a;
}

.noticia_item a {
    text-decoration: none;
    font-size: 15px;
    /* color: #581aea; */
}


div.sobreSf {
    background-color: #33333300;
    padding-top: 10px;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.mvv {

    margin: 0 auto;
    align-self: center;
    display: flex;
    width: 50em;
}

.mvv div {
    background-color: #ffffffe6;
    margin: 5px;
    padding: 15px;
    text-align: left;
    font-size: 15px;
    font-weight: 500;
    height: 15em;
    width: 25em;
    border-radius: 10px;
    /* box-shadow: 0px 0px 30px #ea7b1a9e; */
    line-height: 1.4;
}

.notGlobais {
    margin-top: -27em;
    margin-left: 0;
}

.tituloNoticias {
    padding-top: 0px;
    /* align-items: center; */
    text-align: center;
}

.tituloNoticias h2 {
    color: #000;
    padding-top: 10px;
    padding-bottom: 20px;
    border-bottom: 5px #000;
    font-size: 26px
}

.noticias {
    color: #000
}

.preview {
    padding: 10px 30px 10px 30px;
    font-size: 15px;
    font-weight: 500;
}


.view_noticia {
    margin: 20px 200px 0px 30px;
    text-align: justify;
}

.view_noticia_parametros {
    font-size: 17px;
    padding-top: 10px;
    font-weight: 200;
    line-height: 0.5;
    padding-bottom: 20px;
}

.noticia_data {
    font-size: 12px;
    margin-left: 2em;
}

.noticia_data_conteudo {
    font-size: 12px;
    /* margin-left: 2.3em; */
}

.conteudo {
    /* padding: 10px; */
    overflow-y: auto;
    height: calc(100vh - 7em);
    /* height: 100rem; */
    /* box-sizing: border-box; */
    flex-grow: 1;
    /* overflow-x: hidden; */
}



footer {
    display: flex;
    width: 100%;
    height: 25px;
    background-color: #2A3035;
    z-index: -1;
    color: white;
    font-size: 14px;
    justify-content: center;
}

footer .copy {
    margin-left: 40px;
    margin-right: 40px;
}

.f_menu {
    margin-left: 10px;
}

.f_menu a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
}


/* Versão Mobile */
@media (max-width: 1024px) {
    .f_menu_none {
        display: none;
    }
    
    /* Adiciona rolagem ao menu suspenso */
    .dropdown-menu {
        max-height: 200px;
        width: 85%;
        overflow-y: auto;
        overflow-x: hidden;
    }

    .dropdown-menu::-webkit-scrollbar {
        width: 8px;
    }

    .dropdown-menu::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 10px;
    }

    .dropdown-menu::-webkit-scrollbar-track {
        background-color: #f1f1f1;
    }

    .sidebar {
        display: none;
    }
    /* FIM rolagem ao menu suspenso */

    /* header {
        display: block;
        justify-content: center;
    } */
    .conteudo {
        padding: 15px;
    }

    a {
        padding: 15px 5px 5px 5px;
        list-style-type: none;
        text-transform: uppercase;
        font-size: 16px;
        text-decoration: none;
        color: #fff;
    }

    .container {
        padding: 0;
        width: 100%;
    }

    .avatarHome {
        margin: 0;
        margin-top: -2em;
        margin-left: 35px;
        margin-bottom: 3em;
        width: 370px;
    }

    .avatarHome img {
        width: 70%;
        max-width: 500px;
        margin: 0px 80px 0px 0px;
        display: block;
    }

    .balao {
        margin: 2em auto;
        background: #fff;
        border-radius: 15px;
        width: 80%;
        max-width: 300px;
        height: auto;
        padding: 1em;
    }

    .balao:after {
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #ffffff;
        bottom: -10px;
        left: 10%;
    }

    .caixaBr {
        margin: 2em auto;
        width: 80%;
        max-width: 600px;
        height: auto;
        padding: 0px;
        font-size: 12px;
    }

    .descr {
        font-size: 12px;
        line-height: 1.4;
        font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    }

    strong {
        font-size: 16px;
    }

    h2 {
        font-size: 1.3em;
        padding: 0px 15px 0px 15px;
    }

    div h2.bemVindo {
        font-size: 18px;
    }

    div .balao p {
        font-size: 16px;
    }

    .notGlobais {
        margin-top: -50px;
        margin-left: 0px;
    }

    .caixaBr {
        width: 380px;
        height: auto;
        color: #000;
        text-align: left;
        padding: 0px 5px 8px 8px;
    }

    .caixaBr a {
        color: #000;
        font-size: 14px;
    }

    .div_noticias_home {
        height: 150px;
    }

    .mvv {
        margin-left: 0;
        text-align: center;
        padding: 5px 20px;
    }

    .sobreSf {
        margin-left: 2em;
        text-align: center;
        padding-bottom: 15px;
    }

    .pg_login {
        width: 90%;
        margin: 10px 0px 0px 15px;
    }
    
    .view_noticia {
        margin: 20px 5px 20px 5px;
        text-align: justify;
    }

    .view_noticia_parametros {
        font-size: 17px;
        /* padding-top: 10px; */
        font-weight: 200;
        line-height: 1.3;
        /* padding-bottom: 20px; */
    }
}


/* CSS adicionais */
/* Caixa de SCROLL */

.scrollable-div {
    max-height: 400px;
    max-width: 100%;
    overflow-y: auto;
    overflow-x: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
}
