body, html {
    height: 100%;
    margin: 0;
    background-color: #e6e6e8;
    font-size: 13px;
    font-family: "Lato";
}

.bg {
    background-image: url('../images/bg.png?v=3'); /* Reemplaza con la URL de tu imagen de fondo */
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.login-form {
    width: 350px;
    float: right;
    margin: 50px;
}
h3 {
    color: #2F3893;
    font-size: 30px;
    font-weight: bold;
}
p {
    color: #6B76DB;
    font-size: 14px;
}
label {
    color: #000;
    font-size: 14px;
    margin-top: 10px;
}
.align-right {
    position: absolute;
    right: 23px;
}
.login-form a {
    color: #2F3893;
}
.login-form button {
    background-color: #4955C5;
    border: 0px;
    border-radius: 10px;
    width: 100%;
    color: #fff;
}

.sidebar {
    height: 100%;
    width: 250px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #2d3b55;
    transition: width 0.3s;
}
.sidebar.collapsed {
    width: 60px;
}
.sidebar .menu_principal a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 15px;
    color: #ffffff;
    display: block;
    transition: opacity 0.3s, padding-left 0.3s;
}
.sidebar.collapsed a {
    padding-left: 10px;
    height: 45px;
}
.sidebar.collapsed a span {
    display: none;
}
.sidebar.collapsed .user-info {
    width: 60px;
}
.sidebar.collapsed .user-info p{
    display: none;
}
.sidebar.collapsed .user-panels {
    display: none;
}
.content {
    margin-left: 270px;
    margin-right: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    transition: margin-left 0.3s;
    background-color: #fff;
    border-radius: 10px;
}
.content.collapsed {
    margin-left: 80px;
}
.navbar {
    background-color: #fff;
    transition: margin-left 0.3s;
    margin-bottom: 40px;
    padding: 0 !important;
}

.alerta {
    position: absolute;
    bottom: 20px;
    right: 20px;
    min-height: 50px;
    padding: 15px;
    font-size: 12px;
    padding-right: 50px;
    padding-left: 40px;
    border-bottom: 3px solid #dfb545;
    background-image: url(../images/ico-alerta.png?v=1);
    background-repeat: no-repeat;
    background-size: 20px 20px;
    background-position: 10px 20px;
    border-radius: 10px;
    display: none;
    z-index: 1000;
}
.alerta strong {
    color: #dfb545;
    font-size: 14px;
    display: block;
}
.card {
    margin-top: 20px;
}
.table .btn {
    font-size: 14px;
}
.badge-success {
    background-color: #00ff00;
}
.badge-danger {
    background-color: #ff0000;
}
.user-info {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 250px;
    padding: 10px;
    background-color: #404e6b;
    color: #ffffff;
    height: 60px;
    transition: .3s;
}
.user-info p {
    padding: 0;
    margin: 0;
}
.sidebar .toggle-btn {
    position: absolute;
    top: 20px;
    right: 10px;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px 10px;
    background-image: url(../images/collapse.png);
    background-repeat: no-repeat;
    background-size: 15px 15px;
    background-color: #404e6b;
    background-position: left 10px;
    width: 15px;
    height: 25px;
}

.sidebar.collapsed .toggle-btn {
    transform: rotate(180deg);
    background-position: left 0px;
}
.sidebar.collapsed .head img {
    display: none;
}

.head {
    background-color: #404e6b;
    height: 80px;
    padding-top: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
}
.sidebar a:hover,.active {
    background-color: #0D94B9 !important;
}
.user-info .icon {
    float: left;
    border-radius: 25px;
    background-color: #2d3b55;
    padding: 5px;
}
.collapsed .user-info .icon {
    display: none;
}

.user-panels {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 250px;
    padding: 10px;
    background-color: #353f57;
    color: #ffffff;
    height: 60px;
    transition: .3s;
}
.link_secundario {
    font-size: 12px;
}
.alert {
    font-size: 12px;
}
.logout {
    font-size: 12px;
    color: #fff;
}
.page-header {
    border-bottom: 2px solid #ECECEC;
    padding-bottom: 20px;
    margin-bottom: 30px;
}
code {
    background-color: #d4d4d4;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin: 10px;
    display: block;
}
code p {
    text-indent: 30px;
}
code p p {
    text-indent: 60px;
}
code p p p{
    text-indent: 90px;
}
.btn-success {
    background-color: #fff !important;
    padding: 10px;
    border-radius: 10px;
    border:0;
    min-width: 150px;
    float: right;
    color: #4955C5;
    border:1px solid #4955C5;
}
.btn-success:hover {
    background-color: #4955C5 !important;
}
.sidebar_categorias {
    background-color: #fff;
    border-radius: 10px;
    padding: 20px;
}
.sidebar_categorias .row {
    margin-bottom: 10px;
}
.bullet {
    width: 10px;
    height: 10px;
    border-radius: 25px;
    display: inline-block;
}
.bullet.verde {
    background-color: #0AF497;
}
.bullet.rojo{
    background-color: #DA2F43;
}
.bullet.naranjo{
    background-color: #ffa200;
}
.tooltip_content { 
    background-color:#2F3893;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
    position: absolute;
    display: none;
}
.tooltip_question {
    cursor: pointer;
}
.select2 {
    width: 100% !important;
    display: block;
}
.select2 #select2-categoria_select-container{
    width: 100% !important;
    display: block;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #EFF0FB;
    border: 1px solid #6B76DB;
    border-radius: 10px;
    font-weight: bold;
}

.item-subcat{
    margin-bottom: 10px;
    padding: 10px;
    background-color: #F7F7F8;
    color: #333;
    display: block;
    width: 100%;
    border-radius: 10px;
}
.item-subcat:hover {
    background-color: #fff;
    border: 1px solid #999;
}
.item-subcat.active_item {
    background-color: #fff;
    border: 1px solid #999;
}
.categories {
    background-color: #F7F7F8;
    border-radius: 5px;
    border: 1px solid #A9AFEA;
    padding: 15px;
}
.categories h2 {
    font-size: 20px;
    font-weight: bold;
}
.table th {
    background-color: #EFF0FB;
}
.btn-link {
    background-color: #fff !important;
    padding: 10px;
    border-radius: 10px;
    border:0;
    min-width: 150px;
    float: right;
    color: #4955C5;
    border:1px solid #4955C5;
}
.btn-link:hover {
    background-color: #4955C5 !important;
    color: #fff;
}
.loading {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 10px;
    border-radius: 20px;
    background-color: #fff;
    border: 1px solid #c0c0c0;
    display: none;
}
.guardado {
    position: absolute;
    right: 20px;
    bottom: 20px;
    padding: 20px;
    border-radius: 20px;
    background-color: #b0ed8d;
    border-bottom: 3px solid #66a045;
    width: 200px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    display: none;
}
.error {
    border:1px solid #feb7b7;
    background-color: #ffd2d2;
}
.grey {
    color: #999;
}
.info_items {
    padding: 20px;
}
.subcategories {
    padding-top: 50px;
}
.select2-selection__rendered small,.select2-results__option small {
    float: right;
    margin-right: 20px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    top:10px !important;
}
select.select2 {
    display: none;
}
.select2-container--default .select2-selection--single {
    border: 0 !important;
}
.select2-dropdown {
    margin-top: 20px;
}
.error_promedio {
    color: #999;
    display: none;
}

td.grey {
    background-color: #f1f1f1;
}


.diccionario {
    list-style: none;
    padding-left: 0;
}
.diccionario li {
    display: inline-block;
    margin-bottom: 10px;
    border-bottom: 4px solid #d4d4d4;
    padding-left: 30px;
    padding-right: 30px;
    color: #282E67;
    cursor: pointer;
    font-size: 15px;
    font-weight: bold;
}
.diccionario li:hover,.diccionario li.active {
    border-bottom: 4px solid #282E67;
    background:#fff !important;
}
#diccionario code {
    border:1px solid #A9AFEA;
    background-color: #F7F7F8;
    color: #5C5C5C;
    margin-left: 0;
}
.categ {
    display: none;
}
.categ.active {
    display: block;
    background:#fff !important;
    animation: fadeInOut 2s 1 forwards;
}

@keyframes fadeInOut {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}





