h2 {
    font-size: 20px;
    font-weight: 500;
    color: #888;
}
.logo-center {
    display: flexbox;
    justify-content: center;
    align-items: center;
}
.lgd {
    background-color: #133d37; /*#FFF;*/
}

.space20 {
    margin-top: 20px;
}
.space30 {
    padding-top: 30px;
}
.space40 {
    padding-top: 40px;
}
.space60 {
    padding-top: 60px;
}

.linha-flex {
    display: flex;
    width: 60%;
}
.styled select {
    background: transparent;
    width: 100%;
    font-size: 16px;
    border: 1px solid #ccc;
    height: 34px;
}

.styled {
    margin: 50px;
    width: 100%;
    height: 34px;
    border: 1px solid #111;
    border-radius: 3px;
    overflow: hidden;
}

.class-card {
    display: flex;
    color: #888;
    font-weight: bold;
    height: 40px;
    width: 100%;
    padding: 10px;
    margin: 10px 10px 0 10px;
    border: 1px solid #e7e7e7;
    border-radius: 10px 10px 0 0;
    background-color: rgb(142 229 240 / 40%);
}
.class-row {
    display: flex;
    justify-content: space-between;
    color: #888;
    width: 100%;
    margin: 0 10px;
    padding: 10px;
    border-style: solid;
    border-width: 1px;
    border-color: #e7e7e7;
    border-top: 0;
    border-radius: 0 0 10px 10px;
}

.btn-green {
    color: #4caf50;
    border: none;
    background-color: transparent;
}
.btn-green:hover {
    color: #0b590e;
    border: none;
    background-color: transparent;
}
.btn-green:active {
    color: #4caf50;
    border: none;
    background-color: transparent;
}
.btn-green:focus {
    color: #0b590e;
    border: none;
    background-color: transparent;
}
.btn-green:visited {
    color: #4caf50;
    border: none;
    background-color: transparent;
}

.btn-orange {
    color: #ff8b63;
    border: none;
    background-color: transparent;
}
.btn-orange:hover {
    color: #8e5744;
    border: none;
    background-color: transparent;
}
.btn-orange:active {
    color: #ff8b63;
    border: none;
    background-color: transparent;
}
.btn-orange:focus {
    color: #8e5744;
    border: none;
    background-color: transparent;
}
.btn-orange:visited {
    color: #ff8b63;
    border: none;
    background-color: transparent;
}

/* BLUE */
.btn-blue {
    color: #007bff;
    border: none;
    background-color: transparent;
}
.btn-blue:hover {
    color: #0056b3;
    border: none;
    background-color: transparent;
}
.btn-blue:active {
    color: #007bff;
    border: none;
    background-color: transparent;
}
.btn-blue:focus {
    color: #0056b3;
    border: none;
    background-color: transparent;
}
.btn-blue:visited {
    color: #007bff;
    border: none;
    background-color: transparent;
}
/* FIM BLUE */

.btn-red {
    color: red;
    border: none;
    background-color: transparent;
}
.btn-red:hover {
    color: #820707;
    border: none;
    background-color: transparent;
}
.btn-red:active {
    color: red;
    border: none;
    background-color: transparent;
}
.btn-red:focus {
    color: #820707;
    border: none;
    background-color: transparent;
}
.btn-red:visited {
    color: red;
    border: none;
    background-color: transparent;
}
.label-unit {
    color: #4caf50;
    font-weight: 500;
}
.text-error {
    color: #f00;
    font-size: 10px;
    font-weight: 500;
}
.links {
    color: #333;
    font-size: 14px;
    font-weight: 400;
}

/* TABS */

.nav-tabs .nav-item {
    background-color: #ccc !important;
    border: 1px solid #fff;
    color: #fff;
    width: 25%;
    flex: 1;
}
.nav-tabs .nav-link {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.nav-tabs .nav-item.show {
    background-color: #fca !important;
    color: #fff;
}
.nav-tabs .nav-link.active {
    background-color: #48c6b3 !important;
    color: #fff;
    border-color: #164841;
}
.tab-content .tab-pane .active {
    border: 2px solid #ccc;
    padding: 20px;
}
.tab-pane {
    padding-left: 20px;
    padding-right: 20px;
}
.inner-content {
    border: 1px solid #fff;
    padding-left: 10px;
    padding-right: 10px;
    flex: 1;
    flex-direction: row;
}
@media (max-width: 768px) {
    .nav-tabs .nav-item {
        width: 100%;
    }
}

#grid_eventos .table {
    width: 100%;
    margin-top: 20px;
}
#grid_eventos th,td {
    /*text-align: center;*/
    vertical-align: middle;
}
#table_list_filter {
    float: right;
}
.texto-grid-content {
    background-color: #48c6b3;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: 500;
}
/* CUSTOM SIDEBAR */
.wrapper{
    display: flex;
    height: 100vh; 
}
.sidebar {
    width: 270px; 
    background-color: #133d37;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: relative;
    left: 0;
    top: 0;
    height: 100vh;
    transition: left 0.3s ease;
    z-index: 1000;
}
.sidebar.visible {
    left: 0;
}
.sidebar.hidden {
    left: -270px; 
}
.toggle-button {
    display: none;
}

@media (max-width: 991px) {
    .toggle-button {
        display: block;
        position: fixed;
        left: 10px;
        top: 10px; 
        background-color:#333;
        color: #FFF;
        font-weight: 600;
        border: 2px solid #333;
        width: 30px;
        height: 30px;
        padding: 1px;
        cursor: pointer; 
        z-index: 1001;
    }
    .sidebar {
        left: -270px;
    }
    .sidebar.visible {
        left: 0;
    }
}

.menu {
    list-style-type: none;
    padding: 0;
    padding-top: 15px;
    padding-bottom: 30px;
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    background-color: #133d37;
}

.menu-item {
    position: relative;
}
.rounded-circle {
    border-radius: 50% !important;
  }

.link-sidebar {
    display: flex;
    flex-direction: row;
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 45px;
    padding-left: 20px;
    margin: 5px 0;
}
.link-sidebar.active {
    color: #fff;
    background-color:#48c6b35e;/**/ #48c6b3 !important;
    border-radius: 3px;
    border: none;
}
.link-sidebar:hover {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}
.link-sidebar:focus {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}
.item-title {
    padding-left: 15px;
}

.dropdown {
    display: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.dropdown.active {
    display: block;
}

.dropdown-item {
    padding: 0px;
    background-color: transparent;
}
.dropdown-item:hover {
    padding: 0px;
    background-color: transparent;
}
.dropdown-toggle {
    display: flex;
    flex-direction: row;
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 45px;
    padding-left: 20px;
    margin: 5px 0;
}
.dropdown-toggle.active {
    color: #fff;
    background-color:#48c6b35e !important;/* #48c6b3 */
    border-radius: 3px;
    border: none;
}
.dropdown-toggle:hover {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}
.dropdown-toggle:focus {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}

.dropdown-toggle.active + .dropdown {
    display: block;
}
.material-icons{
    font-size: 18px;
}

.dropdown-toggle-custom {
    display: flex;
    flex-direction: row;
    color: #ccc;
    font-size: 14px;
    text-decoration: none;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 45px;
    padding-left: 20px;
    margin: 5px 0;
}

.dropdown-toggle-custom::after {
    content: "\25BC";
    font-size: 8px;
    margin-left: 10px;
    transition: transform 0.3s;
}

.dropdown-toggle-custom.active::after {
    content: "\25B2";
}
.dropdown-toggle-custom.active {
    color: #fff;
    background-color:#48c6b35e !important;/* #48c6b3 */
    border-radius: 3px;
    border: none;
}
.dropdown-toggle-custom:hover {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}
.dropdown-toggle-custom:focus {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}

.dropdown-toggle-custom.active + .dropdown {
    display: block !important;
}

/* Garante que o dropdown permaneça aberto quando um item é clicado */
.dropdown.active {
    display: block !important;
}

/* Previne que links dentro do dropdown fechem o menu */
.dropdown-item .link-sidebar {
    pointer-events: auto;
}

/* Garante que o dropdown pai permaneça ativo quando um item filho é clicado */
.dropdown-item .link-sidebar:hover,
.dropdown-item .link-sidebar:focus,
.dropdown-item .link-sidebar:active {
    background-color: #375954;
    text-decoration: none;
    color: #fff;
    border-radius: 3px;
}

/* Força o dropdown a permanecer visível quando um item é clicado */
.dropdown-item .link-sidebar[data-clicked="true"] {
    background-color: #48c6b35e !important;
    color: #fff !important;
}

/* Garante que o dropdown pai permaneça ativo */
.dropdown-item .link-sidebar[data-clicked="true"] + *,
.dropdown-item .link-sidebar[data-clicked="true"] ~ * {
    /* Força o dropdown pai a permanecer ativo */
}

/* CSS para garantir que dropdowns permaneçam abertos */
.menu-item:hover .dropdown,
.menu-item .dropdown.active {
    display: block !important;
}

/* Força o comportamento correto do dropdown */
.dropdown-toggle-custom.active + .dropdown,
.dropdown-toggle-custom.active ~ .dropdown {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.event-block {
    background-color: white;
    height: 120px;
    /* Altura fixa para o bloco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    /* Alinha os elementos verticalmente */
    justify-content: space-between;
    /* Distribui o espaço entre os elementos */
}

.event-title {
    font-weight: bold;
    font-size: 14px;
}

.event-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 30px;
    /* Define uma altura fixa para a linha de status */
}

.event-value,
.event-date {
    height: 30px;
    /* Define uma altura fixa para as linhas de valor e data */
    display: flex;
    align-items: center;
    /* Centraliza verticalmente o conteúdo */
}

/* NAV PILLS */

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    border-radius: 0;
    background-color: #48c6b3;
    color: #fff;
}

.nav-pills a{
    color: #143F39;
}

.nav-pills .nav-item:hover{
    color:hsl(171, 84%, 83%);
}
.tab-pane{
    border-left: 1px solid #ccc;
}


.avatar-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.avatar-circle:hover {
    transform: scale(1.405);
}

.flex-row-start {
	display: flex;
	justify-content: flex-start;
	align-items: flex-start;
	flex-wrap: wrap;
	width: 100%;
}
.campo_valor {
	margin-left: 40px;
}
