html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

@media (max-width: 767.98px) {
    html {
        font-size: 12px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
    padding: 20px;
    padding-top: 60px;
}

.paginacaoDiv {
    position: relative;
    height: 50px;
    width: 100%;
    padding-top: 5px;
    display: flex;
    justify-content: flex-end;
    max-width: 2000px;
}

.pagination .active {
    background-color: #007bff;
    color: white;
    border-radius: 5px;
}

.filtros {
    margin-left: 270px;
    font-size: 12px;
    position: fixed;
    top: 120px;
    left: 0;
    height: 80px;
    right: 0;
    background: white;
    padding: 10px;
    border-bottom: 1px solid #ddd;
    z-index: 1000;
}

.espacamento {
    height: 120px;
}


.divAcoes {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 2000px;
    padding-bottom: 20px;
}

    .divAcoes .btnAdicionar {
        background:#38e15e;
    }





/*------------------------------------------------------------------------------------------------*/
/* Sidebar desktop */
@media (min-width: 768px) {
    #sidebarMenu {
        position: fixed;
        top: 0;
        left: 0;
        height: 100%;
        width: 250px;
        padding-top: 120px;
        background-color: #f8f9fa;
        border-right: 1px solid #ddd;
        overflow-y: auto;
    }

    main {
        margin-left: 250px;
        padding: 20px;
        padding-top: 100px;
    }
}

/* Links sidebar */
#sidebarMenu .nav-link {
    color: #333;
    padding: 10px 20px;
    margin-bottom: 4px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

    #sidebarMenu .nav-link:hover {
        background-color: #d4edda;
        color: #155724;
    }

    #sidebarMenu .nav-link.active {
        background-color: #28a745 !important;
        color: #fff !important;
        font-weight: 500;
    }

/* Links offcanvas mobile */
.offcanvas-body .nav-link {
    color: #333;
    padding: 10px 16px;
    margin-bottom: 4px;
    border-radius: 6px;
    transition: background-color 0.2s, color 0.2s;
}

    .offcanvas-body .nav-link:hover {
        background-color: #d4edda;
        color: #155724;
    }

    .offcanvas-body .nav-link.active {
        background-color: #28a745 !important;
        color: #fff !important;
        font-weight: 500;
    }

/* Header desktop */
#headerDesktop {
    position: fixed;
    top: 0;
    left: 250px;
    right: 0;
    height: 120px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1020;
}

    #headerDesktop .user-area {
        position: absolute;
        right: 20px;
        display: flex;
        align-items: center;
    }

        #headerDesktop .user-area .user-name {
            margin-right: 8px;
            font-weight: 500;
        }

/* Header mobile */
@media (max-width: 767.98px) {
    #headerMobile {
        position: fixed;
        width: 100%;
        top: 0;
        display: flex;
        height: 90px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        background-color: #fff;
        padding: 5px 10px;
    }

        #headerMobile .logo-center {
            position: absolute;
            left: 50%;
            transform: translateX(-50%);
        }

        #headerMobile .user-area {
            display: flex;
            align-items: center;
        }

            #headerMobile .user-area .user-name {
                margin-right: 8px;
                font-weight: 500;
            }

    .paginacaoDiv {
        position: relative;
        height: 30px;
        width: 100%;
        padding-top: 2px;
    }

    .filtros {
        margin-left: 20px;
        font-size: 10px;
        position: fixed;
        top: 90px;
        left: 0;
        height: 60px;
        right: 0;
        background: white;
        padding: 10px;
        border-bottom: 1px solid #ddd;
        z-index: 1000;
    }

    .espacamento {
        height: 110px;
    }
}


/*TABELA */

.listaRegistos {
    width: 100%;
    max-width: 2000px;
}

    .listaRegistos thead {
        background: #1b4332;
        color: white;
        border-style: solid;
        border-color: #96D4D4;
        text-align: center;
    }

    .listaRegistos th, td {
        border: 1px solid black;
    }

    .listaRegistos td button {
        margin-right: 5px;
        background: black;
        border: none;
        color: white;
        padding: 5px 10px;
        border-radius: 4px;
        cursor: pointer;
        font-size: 60%;
    }

        .listaRegistos td button.edit {
            background: #b6ff00;
        }

        .listaRegistos td button.delete {
            background: #d62828;
        }

.Th_TypeId, .Td_TypeId {
    width: 0%;
    display: none;
}

.Td_TypeString {
    text-align: left;
}
