@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');

:root {
    padding: 0px;
    margin: 0px;
    box-sizing: border-box;
    --main: #417551;
    --hover: #6bab7f;
    --title: #fff;

}



body{
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: absolute;
    width: 100%;
    
}

main{
    min-height: 400px;
}

* {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;

}
#welcome{
    color: var(--title);
    font-size: 2.6em;
    text-shadow: 1px 3px 7px rgba(0, 0, 0, 1);
}
a * {
    color: #000;
    text-decoration: none;
}

/* .spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 1); 
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999; 
} */

.spinner {
    border: 8px solid rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    border-top: 8px solid #3498db;
    width: 80px;
    height: 80px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#limpar-pesquisa{
    cursor: pointer;
}

/* Navegação */
.navbar .megamenu {
    padding: 1rem;
    letter-spacing: 0.05em;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {

    .navbar .has-megamenu {
        position: static !important;
    }

    .navbar .megamenu {
        left: 0;
        right: 0;
        width: 100%;
        margin-top: 0;
    }

}

/* ============ desktop view .end// ============ */


/* ============ mobile view ============ */
@media(max-width: 991px) {

    .navbar.fixed-top .navbar-collapse,
    .navbar.sticky-top .navbar-collapse {
        overflow-y: auto;
        max-height: 90vh;
        margin-top: 10px;
    }
}

/* ============ mobile view .end// ============ */
.dropdown-menu {
    margin: 0 auto;
}

.megamenu {
    background-color: var(--main);
    color: #fff;
}

.col-megamenu>hr {
    padding: 0px;
    margin: 0px;
}

.megamenu li:hover {
    background-color: var(--hover)!important;
    cursor: pointer;
}

.megamenu a {
    color: #fff;
    width: 100%;
    /* padding: 3px 0px 3px 15px; */
}

header {
    height: 19vh;
    background-color: #F2F2F2;
    background-image: url('../images/portal_servidor.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 1900px 200px;
}

.header-rigth {
    display: flex;
    justify-content: end;
    align-items: center;
}

.form-search {
    display: flex;
    justify-content: space-between;
    background-color: #fff;
    width: 30em;
    padding: 10px;

}

.input-search {
    background-color: transparent;
    outline: none;
    border: none;
    width: 100%;
    color: #777676;
}

.btn-search {
    border: none;
    outline: none;
    background: transparent;
    color: #777676;
    font-size: 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
    text-align: end;
}

.blur-first {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
}

.title-general {
    color: #fff;
    font-size: 3.3em;
    text-shadow: 1px 3px 7px rgba(0, 0, 0, 1);

}


.container-nav {
    background-color: var(--main);
    box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}

.navbar {
    padding: 0px;
}

.nav-list {
    display: flex;
    list-style-type: none;
    color: #FFF;
    text-align: center;
}

.list-item {
    padding: 10px 0px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
}

li:first-child {
    border: none;
}

.visible li a {
    color: #fff !important;
}

.nav-item:last-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.list-link {
    font-size: 1.1rem;
    color: #FFF;
    text-decoration: none;
    padding: 0px 30px;
    width: 100% !important;
}

.nav-item a:focus {
    color: #fff;
}

/* Navegação */

/* Publicacao */
.img-publicacao {
    width: 500px;
    margin: 0px 0px 20px 20px;
    float: right
}

.texto-publicacao{
    text-align: justify;
    line-height: 25px !important;
}
/* Publicacao */


/* FOOTER */

.link-address {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    color: #fff;
}

.link-address:hover {
    color: #fff
}

footer {
    font-size: 1em;
    position: relative;
    bottom: 0px;
    width: 100%;
}

.text-fastaccessfooter{
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#fastAccessFooter p{
    margin: 0px!important;
    padding: 0px!important;
    cursor: pointer;
}

#fastAccessFooter p > a:hover{
    cursor: pointer!important;
}

.bg-footer{
    background-color: var(--main);
}

/* FOOTER */


/* Hovers */
.list-item:hover {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0));
}

.list-link:hover {
    color: #FFF;
}

/* Media queries */
@media (max-width: 1440px) {
    .li-visible {
        display: flex;
        justify-content: center;
        align-items: center;
    }

}

@media (max-width: 991px) {
    .btn-offcanvas {
        width: 97%;
        display: flex;
        justify-content: end;
        margin: 5px 0px;
    }

}

@media (min-width: 992px) {
    .header-rigth {
        display: flex !important;
    }

}

@media (max-width: 600px) {
    .img-publicacao {
        width: 100% !important;
        style: "width: 500px";
        margin: 0px 0px 20px 20px;
        float: right"
    }
}


@media (max-width: 768px) {

    #welcome {
        font-size: 2.5em;
    }
}

@media (max-width: 2560px) {

    main{
        min-height: 420px;
    }
}
