* {
    margin: 0px; 
    padding: 0px; 
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: "Poppins", Arial,  sans-serif;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", Arial,  sans-serif;
    overflow: hidden; /* Para garantir que não haja barra de rolagem */
}

hr {
    display: block;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    margin-left: auto;
    margin-right: auto;
    border-style: inset;
    border-width: 1px;
    border-color: #555;
    width:92%;
}

/*---------------------------------------------*/
a {
    font-family: "Poppins", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

.Poppins{
    font-family: "Poppins", Arial, sans-serif;
    font-weight: 400;
    font-style: normal;
}        


/* Overlay styles */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.admin-overlay {
    background: rgba(255, 0, 0, 0.5); /* Red with 0.8 transparency */
}

.user-overlay {
    /* background: rgba(0, 0, 255, 0.5); */ /* Blue with 0.8 transparency */
    background: rgba(0, 0, 0, 0.1); /* Blue with 0.8 transparency */
}


a:focus {
    outline: none !important;
}

a:hover {
    text-decoration: none;
    color: #333333;
}

/*---------------------------------------------*/
h1,h2,h3,h4,h5,h6 {
    margin: 0px;
}

p {
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #666666;
    margin: 0px;
}

ul, li {
    margin: 0px;
    list-style-type: none;
}


textarea {
    outline: none;
    border: none;
}

textarea:focus, input:focus {
    border-color: transparent !important;
}

input::-webkit-input-placeholder { color: #999999;}
input:-moz-placeholder { color: #999999;}
input::-moz-placeholder { color: #999999;}
input:-ms-input-placeholder { color: #999999;}

textarea::-webkit-input-placeholder { color: #999999;}
textarea:-moz-placeholder { color: #999999;}
textarea::-moz-placeholder { color: #999999;}
textarea:-ms-input-placeholder { color: #999999;}

/*---------------------------------------------*/
/*
button {
    outline: none !important;
    border: none;
    background: transparent;
}
*/

button:hover {
    cursor: pointer;
}

iframe {
    border: none !important;
}

.linha {
    display: block;
    width:100%;
}

/* Container principal que organiza a barra e o mapa */
.mapa-container {
    display: grid;
    grid-template-columns: 115px 1fr; /* Define a barra-temp com largura fixa e o mapa ocupando o restante */
    grid-template-rows: 100vh; /* Altura total da viewport */
}

/* Barra à esquerda */
.barra-temp {
    grid-column: 1; /* Posiciona a barra na primeira coluna */
    grid-row: 1; /* Garante que ela preenche toda a linha */
    height: 100%; /* Preenche toda a altura da célula */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url(/media/imagens/radar_colorbar_-10_70_2.png);
    z-index: 1; /* Mantém a barra acima de outros elementos no grid */
}

/* Mapa */
#map {
    grid-column: 2; /* Posiciona o mapa na segunda coluna */
    grid-row: 1; /* Garante que ele preenche a mesma linha */
    width: 100%; /* Preenche horizontalmente o espaço restante */
    height: 100%; /* Preenche verticalmente a altura da célula */
}
/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.5em;
}

.leaflet-layer {
    transition: opacity 0.5s ease-in-out; /* Controla a duração e a suavidade da transição */
}

/* Galeria */
.gallery {
    position: absolute;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;

}
.gallery img {
    max-width: 100%;
    height: auto;
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Menu */
.menu {
    position: fixed;
    top: 0;
    right: -15%; /* Fora da tela inicialmente */
    height: 100%;
    width: 15%; /* Largura inicial do menu */
    background: #333;
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease-in-out;
    opacity: 0.8; /* Deixe a opacidade menor para verificar comportamento */
    z-index: 1400; /* Mantém o menu acima do mapa */
}

.menu.open {
    right: 0; /* Move o menu para dentro da tela */
}

.menu-button {
    position: absolute;
    top: 0px; /* Ajuste para garantir visibilidade */
    left: -40px; /* Fora do menu inicialmente */
    background: #333;
    color: white;
    padding: 10px 15px;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: left 0.3s ease-in-out;
    z-index: 1500; /* Mantém o botão acima do menu */
}

.menu.open .menu-button {
    left: 0px; /* Move o botão para dentro do menu */
}

.menu-item:hover,
.menu-content a:hover,
.menu-item:focus {
    background-color: #007bff; /* Cor de fundo ao passar o mouse ou ao focar */
    color: white; /* Cor do texto */
    outline: none; /* Remove o contorno padrão de foco */
    transition: background-color 0.3s ease, color 0.3s ease; /* Animação suave */
}

.menu-item.selected {
    background-color: #0056b3; /* Cor diferente para item selecionado */
    color: white;
}

.menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
    font-family: "Poppins", Arial, sans-serif;
}

.menu-content a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center; /* Centraliza o texto dos links */
    width: 94%;
    color: white;
    padding: 10px;
    text-decoration: none;

}

.menu-content a i {
    margin-right: 8px; /* Espaço entre o ícone e o texto */
    text-align: left; /* Alinha o ícone à esquerda */
}



.p95 {
    width:94%;
    text-align: center;
}

.logout-link {
    /* align-self: flex-end; */
    color:red;
}        


.usuario {
    display:block;
    width:100%;
    color:white;
    font-size:130%;
    text-align: center;
    margin-top:80px;
    padding-bottom: 50px;

}
.nome-usuario {
    color:yellow;
}

.disabled {
    color: #999;
    pointer-events: none;
    cursor: default;
    padding: 10px;
}


/* Player do Mapa */
.player {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    gap: 10px;
    z-index: 1300; /* Colocar o player sobre o mapa */
    font-size: 8px;
}
.controls {
    display: flex;
    align-items: center;
    font-size: 10pt;
}
.controls input {
    width: 60px;
    margin-left: 10px;
}
.fa {
    font-size: 20px;
}

#duration {
    width: 4vw;
}

.botao-player {
    cursor: pointer;
    padding:5px;
    border:1px solid #ccc;
}

.botao-logout {
    padding: 5px 10px;
    border: 1px solid #ccc;
    margin: 0px 15px;
}


/* Tela de configurações */

.config-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1600;
}

.config-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    max-width: 400px;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


#update-frequency {
    margin-left: 10px;
    padding-top: 5px;
}
#session-timeout {
    margin-left: 10px;
    padding-top: 5px;
}
#inactivity-timeout {
    margin-left: 10px;
    padding-top: 5px;
}

#frequency {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

#max-session-time {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
}

#auto-update {
    margin-right: 10px;
}

/* Centralizar o título */
.config-title {
    text-align: center;
    margin: 0 0 30px;
}

/* Espaçamento e alinhamento das opções */
.config-item {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 20px; /* Espaçamento vertical entre as divs */
}

.config-item label {
    margin-right: 10px;
}

.config-panel {
    display: none;
    position: fixed; /* Para aparecer sobre o mapa */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30%;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.7);
    z-index: 1700; /* Certifique-se de que seja maior que o mapa */
}

.config-panel .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #333;
}

.config-panel .close-button:hover {
    color: red;
}

.config-panel label {
    font-size: 14px;
    color: #333;
}

.config-panel input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}


.close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}


/* Para dispositivos menores, o menu ocupa mais largura */
@media (max-width: 768px) {
    .menu {
        right: -50%;
        width: 50%;
    }

    .menu.open {
        right: 0; /* Move o menu para dentro da tela */
    }

}

@media (max-width: 600px) {
    .config-panel {
        padding: 10px;
    }
    .menu {
        right: -100%;
        width: 100%;
    }

    .menu.open {
        right: 0; /* Move o menu para dentro da tela */

    }

}

@media (max-width: 480px) {
    .menu {
        right: -100%;
        width: 100%;
    }

    .menu.open {
        right: 0; /* Move o menu para dentro da tela */

    }


}

.versao {
    font-size: 80%;
    color: aquamarine;
    width: 100%;
    bottom: 20px;
    position: absolute;
    text-align: center;
    text-transform:uppercase;
}

.marquee {
    position:absolute;
    overflow: hidden;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    top:40%;
    display: flex;
    z-index:1100;
}

.marquee h5{
    font-size: 3em;
    white-space: nowrap;
    text-transform: uppercase
}

.custom-confirm {
    display: none;
    position: fixed;
    z-index: 1999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
.custom-confirm-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 3px solid red;
    width: 80%;
    max-width: 300px;
    text-align: center;
    opacity:1;
}

.custom-confirm-content button {
    cursor: pointer;
}

.logout-message {
    padding-bottom:30px;
    padding-top:30px;
    width:100%;
    display:block;
    text-align: center;
}

.close-login-button { background: none; border: none; font-size: 18px; cursor: pointer; color: #333; }

.close-login-button:hover {
    color: red;
}

.bar-custom-confirm-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logout-title {
    /* flex: 0 0 95%; */
    text-align: left;
}
.close-button-container {
    /* flex: 0 0 4%; */
    text-align: center;
}
.close-login-button {
    cursor: pointer;
}


/* Página de login */


/*//////////////////////////////////////////////////////////////////
[ utility ]*/

/*==================================================================
[ Text ]*/
.txt1 {
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #999999;
}

.txt2 {
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 13px;
    line-height: 1.4;
    color: #00ad5f;
}

.txt3 {
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #00ad5f;
    text-transform: uppercase;
}

/*==================================================================
[ Size ]*/
.size1 {
    width: 355px;
    max-width: 100%;
}

.size2 {
    width: calc(100% - 43px);
}


/*//////////////////////////////////////////////////////////////////
[ login ]*/

.limiter {
    width: 100%;
    margin: 0 auto;
}

.container-login-x {
    width: 22%;
    margin: 0 auto;
    text-align: center;
  }

.container-login100 {
    width: 100%;  
    min-height: 100vh;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 15px;
    /* background: #f2f2f2; */
}

.wrap-login100 {
    width: 100%;
    height: auto;
    max-height: 70vh;
    background-color: rgba(255, 255, 255, 0.6);
    overflow: hidden;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 40px;
}

.padd10 {
    padding:10px;
}

.padd20 {
    padding:20px;
}

.center-text{
    text-align:center;
}

/*==================================================================
[ login more ]*/
.login100-more {
    width: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.login100-more::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0,0,0,0.3);
}


.login100-more-op {
    width: 60%;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    z-index: 1;
}

.login100-more-op::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    /*
    background: url('/static/img/op.jpg') no-repeat;
    background-size:cover;
    */
}


.login100-more-ed {
    width: 50%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}

.login100-more-ed::before {
    content: "";
    display: block;
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('/static/img/ed.jpg') no-repeat;
    background-size:cover;
}



/*==================================================================
[ Form ]*/

.login100-form {
    width: 50%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    height:50vh;
    padding: 40px 65px 40px 65px;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
}


.login100-form-title {
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 20px;
    color: #555555;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
    display: block;
}



/*------------------------------------------------------------------
[ Input ]*/

.wrap-input100 {
    width: 100%;
    position: relative;
    border: 1px solid #333;
}

.rs1-wrap-input100,
.rs2-wrap-input100 {
    width: 50%;
}

.rs2-wrap-input100 {
    border-left: none;
}


.input100 {
    display: block;
    width: 100%;
    background: transparent;
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 18px;
    color: #666666;
    line-height: 1.2;
    padding: 0 25px;
}

input.input100 {
    height: 55px;
}

/*---------------------------------------------*/

.focus-input100 {
    position: absolute;
    display: block;
    width: calc(100% + 2px);
    height: calc(100% + 2px);
    top: -1px;
    left: -1px;
    pointer-events: none;
    border: 2px solid #00ad5f;

    visibility: hidden;
    opacity: 0;

    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;

    -webkit-transform: scaleX(1.1) scaleY(1.3);
    -moz-transform: scaleX(1.1) scaleY(1.3);
    -ms-transform: scaleX(1.1) scaleY(1.3);
    -o-transform: scaleX(1.1) scaleY(1.3);
    transform: scaleX(1.1) scaleY(1.3);
}

.input100:focus + .focus-input100 {
    visibility: visible;
    opacity: 1;

    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}



/*------------------------------------------------------------------
[ Button ]*/
.container-login100-form-btn {
    width: 100%;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.login100-form-btn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 50px;
    border-radius: 3px;
    background: #00ad5f;
    font-family: "Poppins", Arial,  sans-serif;
    font-size: 12px;
    color: #fff;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 900;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.login100-form-btn:hover {
    background: #333333;
}



/*------------------------------------------------------------------
[ Responsive ]*/

@media (max-width: 992px) {

    .container-login-x {
        width: 50%; /* Aumenta a largura para melhor adaptação */
    }

    .login100-form {
        width: 60%;
        padding-left: 30px;
        padding-right: 30px;
    }

    .container-login{
        width: 60%;
    }

    .login100-more {
        width: 40%;
    }
}

@media (max-width: 768px) {

    .container-login-x {
        width: 50%; /* Aumenta a largura para melhor adaptação */
    }

    .login100-form {
        width: 100%;
    }

    .container-login{
        width: 90%;
    }


    .login100-more {
        width: 100%;
    }
}

@media (max-width: 576px) {

    .container-login-x {
        width: 70%; /* Aumenta a largura para melhor adaptação */
    }

    .container-login{
        width: 90%;
    }

    .login100-form {
        padding-left: 15px;
        padding-right: 15px;
        padding-top: 150px;
    }

    .rs1-wrap-input100,
    .rs2-wrap-input100 {
        width: 100%;
    }

    .rs2-wrap-input100 {
        border-left: 1px solid #e6e6e6;
    }
}


/*------------------------------------------------------------------
[ Alert validate ]*/

.validate-input {
    position: relative;
}

.alert-validate::before {
    content: attr(data-validate);
    position: absolute;
    max-width: 70%;
    background-color: #fff;
    border: 1px solid #c80000;
    border-radius: 2px;
    padding: 4px 25px 4px 10px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 12px;
    pointer-events: none;
    font-family: "Poppins", Arial,  sans-serif;
    color: #c80000;
    font-size: 13px;
    line-height: 1.4;
    text-align: left;
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    -o-transition: opacity 0.4s;
    -moz-transition: opacity 0.4s;
    transition: opacity 0.4s;
}

.alert-validate::after {
    content: "\f12a";
    font-family: FontAwesome;
    display: block;
    position: absolute;
    color: #c80000;
    font-size: 16px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 18px;
}

.alert-validate:hover:before {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 992px) {
    .alert-validate::before {
        visibility: visible;
        opacity: 1;
    }
}

.qr-code {
    width: 200px;
    height: auto; /* Mantém a proporção automática */
}

/*
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}

@media (min-width: 992px) {
    .container, .container-lg, .container-md, .container-sm {
        max-width: 960px;
    }
}
@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 720px;
    }
}
@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 540px;
    }
}
*/
.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
}