/* Variables css colores */

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

:root {
    --mar: #801123;
    --back: #ffffff;
    --back-sec: #efefef;
    --principal: #1e2124;
    --secundario: #535556;
}


/* Para todo */

* {
    box-sizing: border-box;
}

body {
    background: var(--back-sec);
    color: var(--principal);
    margin: 0;
    font-family: 'Roboto', sans-serif !important;
    font-weight: 500;
}


/* Navegación */

.xnavbar {
    display: flex;
    flex-direction: row;
    background: var(--back);
    color: var(--principal);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 101;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
}

.xnavbar-nav {
    list-style: none;
    display: flex;
    flex-direction: row;
    padding-left: 0;
    margin-bottom: 0;
    margin-top: 0;
}

.xnav-link {
    float: left;
    text-align: center;
    padding: 21px 10px;
    padding-left: 1.5rem;
    padding-right: 1rem;
    text-decoration: none;
    font-size: 17px;
    color: var(--secundario);
    position: relative;
}

.xnav-item .user {
    padding-top: 21px;
    color: var(--principal);
}

.xnav-item .user small {
    color: var(--secundario);
}

.xnav-link:hover {
    cursor: pointer;
    color: var(--mar);
}

.xnavbar-nav i {
    font-size: 1.4rem;
}

.xnav-right {
    margin-left: auto;
}

.logo {
    height: 60px;
    padding: 10px;
    margin-left: auto;
}

.avt img {
    width: 39px;
    height: 39px;
    border-radius: 50%;
}

.avt {
    padding: 11px
}


/* Opciones usuario */

.dropdown {
    position: relative;
}

.dropdown:hover {
    cursor: pointer;
}

.xdropdown-menu {
    list-style: none;
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20%;
    top: 90%;
    background: var(--back);
    max-width: 300px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: unset;
    border-radius: 10px;
    border: 0.125px solid var(--back-sec);
}

.dropdown-expand {
    display: flex;
}

.dropdown-menu-content {
    max-height: 500px;
    overflow-y: auto;
}

.dropdown-menu-item {
    width: 100%;
}

.dropdown-menu-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    color: var(--principal);
}

.dropdown-menu-link div {
    min-width: 82px;
    height: 50px;
    position: relative;
}

.dropdown-menu-link i {
    font-size: 1.25rem;
    color: var(--secundario);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.dropdown-menu-link span {
    font-size: 15px;
    width: 298px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-menu-link span>span {
    font-size: 10px;
}

.dropdown-menu-link:hover {
    cursor: pointer;
    background: linear-gradient(240deg, rgba(86, 86, 86, 0.1), rgba(205, 205, 205, 0.088) 50%, transparent);
    border-radius: 10px;
    color: var(--mar);
}


/* Scrollbar navegación skin */

.overlay-scrollbar::-webkit-scrollbar {
    width: 9px;
    height: 9px;
}

.scrollbar-hover::-webkit-scrollbar {
    display: none;
}

.scrollbar-hover:hover::-webkit-scrollbar {
    display: block;
}

.overlay-scrollbar::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 10rem;
    border: 1px solid var(--back);
}

.overlay-scrollbar::-webkit-scrollbar-track-piece:start {
    background: transparent;
}

.overlay-scrollbar::-webkit-scrollbar-track-piece:end {
    background: transparent;
}


/* Contenido principal */

.wrapper {
    padding: 10px;
    margin-left: 82px;
    padding-top: 75px;
    background: var(--back-sec);
    transition: margin-left .5s;
}


/* Sidebar */

.sidebar {
    width: 82px;
    height: 100vh;
    position: fixed;
    margin-top: 65px;
    background: var(--back);
    box-shadow: rgba(0, 0, 0, 0.12) 0px 1px 4px 1px;
    overflow: hidden;
    z-index: 100;
    transition: width .5s;
}

.sidebar:hover {
    width: 250px;
}

.sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
}

.sidebar-nav-item {
    width: 100%;
    height: 70px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    color: var(--principal);
    text-decoration: none;
}

.sidebar-nav-link i {
    font-size: 1.5rem;
    color: var(--secundario);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sidebar-nav-link div {
    min-width: 82px;
    height: 70px;
    position: relative;
}

.sidebar-nav-link:hover {
    background: linear-gradient(240deg, rgba(86, 86, 86, 0.1), rgba(205, 205, 205, 0.088) 50%, transparent);
    color: var(--mar);
}

.sidebar-nav-link.active {
    background: linear-gradient(240deg, rgba(86, 86, 86, 0.1), rgba(216, 216, 216, 0.088) 50%, transparent);
    color: var(--mar);
}

.sidebar-nav-link.active div {
    border-left: 5px solid var(--mar);
}

.sidebar-nav-link.active i {
    color: var(--mar);
    margin-left: -5px;
}


/* Movimiento al expandir el sidebar */

.sidebar-expand .sidebar {
    width: 250px;
}

.sidebar-expand .wrapper {
    margin-left: 250px;
}


/* Propiedades */

.row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.row:after,
.row:before {
    box-sizing: border-box;
}

[class*="col-"] {
    padding: 10px;
}

.chosen-container-single .chosen-single {
    height: 36px !important;
    padding: 4px 0 0 10px !important;
    border-radius: 3px !important;
    max-width: 420px !important;
}

.chosen-container-single .chosen-single {
    background-color: #fff;
    background: #fff !important;
    background: #fff !important;

}

.chosen-container {
    font-size: 16px !important;
    max-width: 420px !important;
}

/* Dispositivos mas pequeños <= 600px */

@media only screen and (max-width: 600px) {
    .sidebar {
        width: 0;
    }

    .wrapper {
        margin-left: 0;
    }

    .sidebar-expand .wrapper {
        margin-left: 0;
    }

    .xnav-right .nav-item {
        display: none;
    }

    .xnav-right .mode,
    .xnav-right .avt-wrapper {
        display: list-item;
        ;
    }

    .xdropdown-menu {
        max-width: 300px;
    }

    [class*="col-"] {
        width: 100%
    }

    .xnav-item .user {
        display: none
    }

    .rowScroll {
        width: 700px;
        overflow-x: scroll;
    }


}


/* Dispositivos pequeños >= 600px */

@media only screen and (min-width: 600px) {
    .col-sm-1 {
        width: 8.33%;
    }

    .col-sm-2 {
        width: 16.66%;
    }

    .col-sm-3 {
        width: 25%;
    }

    .col-sm-4 {
        width: 33.33%;
    }

    .col-sm-5 {
        width: 41.66%;
    }

    .col-sm-6 {
        width: 50%;
    }

    .col-sm-7 {
        width: 58.33%;
    }

    .col-sm-8 {
        width: 66.66%;
    }

    .col-sm-9 {
        width: 75%;
    }

    .col-sm-10 {
        width: 83.33%;
    }

    .col-sm-11 {
        width: 91.66%;
    }

    .col-sm-12 {
        width: 100%;
    }

    .rowScroll {
        width: 1700px;
        overflow-x: scroll;
    }

}


/* Dispositivos medianos (tablet) >= 768px */

@media only screen and (min-width: 768px) {
    .col-m-1 {
        width: 8.33%;
    }

    .col-m-2 {
        width: 16.66%;
    }

    .col-m-3 {
        width: 25%;
    }

    .col-m-4 {
        width: 33.33%;
    }

    .col-m-5 {
        width: 41.66%;
    }

    .col-m-6 {
        width: 50%;
    }

    .col-m-7 {
        width: 58.33%;
    }

    .col-m-8 {
        width: 66.66%;
    }

    .col-m-9 {
        width: 75%;
    }

    .col-m-10 {
        width: 83.33%;
    }

    .col-m-11 {
        width: 91.66%;
    }

    .col-m-12 {
        width: 100%;
    }

    .rowScroll {
        width: 1700px;
        overflow-x: scroll;
    }

}


/* Dispositivos grandes (Notebook o PC) >= 992px */

@media only screen and (min-width: 992px) {
    .col-1 {
        width: 8.33%;
    }

    .col-2 {
        width: 16.66%;
    }

    .col-3 {
        width: 25%;
    }

    .col-4 {
        width: 33.33%;
    }

    .col-5 {
        width: 41.66%;
    }

    .col-6 {
        width: 50%;
    }

    .col-7 {
        width: 58.33%;
    }

    .col-8 {
        width: 66.66%;
    }

    .col-9 {
        width: 75%;
    }

    .col-10 {
        width: 83.33%;
    }

    .col-11 {
        width: 91.66%;
    }

    .col-12 {
        width: 100%;
    }

    .rowScroll {
        width: 1700px;
        overflow-x: scroll;
    }

}


/* Dispositivos mas grandes (TV, PC) >= 1200px */

@media only screen and (min-width: 1200px) {
    .col-xl-1 {
        width: 8.33%;
    }

    .col-xl-2 {
        width: 16.66%;
    }

    .col-xl-3 {
        width: 25%;
    }

    .col-xl-4 {
        width: 33.33%;
    }

    .col-xl-5 {
        width: 41.66%;
    }

    .col-xl-6 {
        width: 50%;
    }

    .col-xl-7 {
        width: 58.33%;
    }

    .col-xl-8 {
        width: 66.66%;
    }

    .col-xl-9 {
        width: 75%;
    }

    .col-xl-10 {
        width: 83.33%;
    }

    .col-xl-11 {
        width: 91.66%;
    }

    .col-xl-12 {
        width: 100%;
    }

    .rowScroll {
        width: 100%;
        overflow-x: scroll;
    }

}

.scrollable {
    overflow-y: auto;
    max-height: 300px;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.text-maretich {
    color: var(--mar);
}

.text-maretich-violeta {
    color: rgb(103, 47, 187);
}

.crojo {
    background-color: rgb(255, 148, 148) !important;
}

.camarillo {
    background-color: rgb(255, 255, 105) !important;
}

.cverde {
    background-color: rgb(158, 236, 158) !important;
}

.cgris {
    background-color: rgb(228, 228, 228) !important;
}

.cvioleta {
    background-color: rgb(194, 148, 255) !important;
}

.mask-0-decimales {
    text-align: right;
}

.mask-2-decimales {
    text-align: right;
}

.mask-4-decimales {
    text-align: right;
}

.bg-rojo {
    background-color: #fcaab1 !important
}

.bg-violeta {
    background-color: #debff7 !important
}

.bg-naranja {
    background-color: #b84f0a !important
}

.bg-naranjaa {
    background-color: #c72e00 !important
}

.bg-naranjaaa {
    background-color: #a12600 !important
}

.highlight-tr {
    background-color: #ffeacf !important;
}

.bg-amarillo {
    background-color: #fcf8aa !important
}

.bg-verde {
    background-color: #dcffda !important
}