/* General */

body{
    font-size: 0.875rem;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

h4, h5, h6, .h4, .h5, .h6{
    font-weight: 500;
}

h1, .h1{
    font-size: 1.375rem;
}
h1 strong {
    font-weight: 600;
}
h2, .h2{
    font-size: 1rem;
}
h5, .h5{
    font-size: 1rem;
}

.lh-btn{
    line-height: 35px;
}

.width-100{
    width: 100%;
    margin-right: 0.75rem;
}

.btn {
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.main .container-fluid {
    padding: 0 20px;
}

/* Boostrap */

.row-no-padding{
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.row-no-padding > [class*="col-"] {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dropdown-menu-triangle::before {
    position: absolute;
    top: -7px;
    left: 9px;
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid #CCC;
    border-left: 7px solid transparent;
    border-bottom-color: rgba(0, 0, 0, 0.2);
    content: '';
}
.dropdown-menu-triangle::after {
    position: absolute;
    top: -6px;
    left: 10px;
    display: inline-block;
    border-right: 6px solid transparent;
    border-bottom: 6px solid white;
    border-left: 6px solid transparent;
    content: '';
}

.dropdown-menu-triangle.dropdown-menu-right::before {
    left: auto;
    right: 9px;
}
.dropdown-menu-triangle.dropdown-menu-right::after {
    left: auto;
    right: 10px;
}

.progress{
    height: 0.75rem;
}

/* Body */

.web-body{
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.web-header{
    display: flex;
    color: #fff;
    background: #202430;
    box-shadow: 0px 3px 4px 0px #00000040;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    height: 70px;
}
.web-header .container-fluid{
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.web-header .container-fluid > *{
    display: inline-flex;
    align-items: center;
    margin-right: 1.25rem;
}

.user-dropdown.dropdown-toggle {
    background: #313540;
    padding: 0.3rem 0.5rem 0.2rem;
    border-radius: 6px;
    min-width: 182px;
}

.dropdown-toggle::after {
    border-left: 0;
    border-right: 0;
}


/* Logo */
.web-header .header-brand{
    width: 230px;
    text-align: center;
    justify-content: center;
    transition: all 300ms ease;
}
.web-header .header-brand img{

}
.web-header .header-brand .header-brand-full{
    display: inline-block;
    max-width: 100%;
    max-height: 46px;
}
.web-header .header-brand .header-brand-minimized{
    display: none;
}

/* Minimizar menu */
.web-header .header-minimizer{
    transition: all 300ms ease;
    background: #66EFE5;
    border: 0;
    cursor: pointer;
    width: 46px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    color: #202430;
}
.web-header .header-minimizer .fa{
    font-size: 1.25rem;
}
.web-header .header-minimizer:hover {
    color: #2D3B41;
    text-decoration: none;
}

/* Alertas */
.web-header .header-alerts{
}
.web-header .header-alerts .alerts-dropdown{
    position: relative;
    color:#707070;
    padding: 0 5px;
}
.web-header .header-alerts .alerts-dropdown .badge{
    position: absolute;
    bottom: -5px;
    right: -5px;
}

/* Usuario */
.header-user{
    margin-left: auto;
}
.header-user .user-dropdown{
    display: inline-flex;
    align-items: center;
}
.header-user .user-dropdown:hover{
    text-decoration: none;
}

.header-user.dropdown{
    margin-right: 0;
}

.header-user .user-avatar{
    width: 2.125rem;
    height: 2.125rem;
    background: #66EFE5;
    border-radius: 50%;
    color: #00466D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    font-size: 1rem;
    box-shadow: 0 0 3px 0 rgba(0, 0, 0, 0.20);
}
.header-user .user-info{
    margin: 0 0.75rem;
    min-width: 0;
    max-width: 150px;
}

.header-user .fa-chevron-down {
    margin-left: auto;
}

.header-user .user-name{
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    line-height: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.header-user .user-job{
    color: #66EFE5;
    font-size: 0.8125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-user .user-dropdown > .far{
    color: #fff;
}

/* Dropdown */

.header-user .dropdown-menu{
    padding: 7px 0 4px 0;
    font-size: 0.8125rem;
    margin-top: 17.5px;
    background: #313540;
    border-top: 0;
    border-radius: 0 0 7px 7px;
    min-width: 182px;
}
.header-user .dropdown-header {
    padding: 8px 20px;
    border-bottom: 1px solid #c8ced3;
    color: #565656;
}
.header-user .dropdown-item {
    display: block;
    width: 100%;
    padding: 7px 20px;
    clear: both;
    color: white;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    position: relative;
    min-width: 180px;
    letter-spacing: 0.26px;
    font-weight: 300;
}
.header-user .dropdown-item i {
    display: inline-block;
    width: 20px;
    margin-right: 6px;
    color: white;
    text-align: center;
    font-size: 12px;
}
.header-user .dropdown-item .badge {
    position: absolute;
    right: 10px;
    margin-top: 2px;
}
.header-user .dropdown-item:last-child {
    border-bottom: 0;
}

.header-user .dropdown-item.item-logout{
    color: #66EEE4;
    text-decoration: underline;
    margin-top: 9px;
}

.header-user .dropdown-item.last-item::after {
    content: '';
    width: 146px;
    display: block;
    height: 2px;
    margin-top: 12px;
    background: rgba(255, 255, 255, 0.58);
    position: absolute;
    left: 15px;
}
/* Footer */
.web-footer{
    display: flex;
    flex-wrap: wrap;
    flex: 0 0 auto;

    background: #101010;
    color: #fff;
}
.web-footer-inner{
    flex: 1 1 100%;
    margin-left: 230px;
    background: #fff;
    border-top: 1px solid #CED4DA;
    color: #777;
    display: flex;
}

/* Ocultar */
.web-footer .header-toggler,
.web-footer .sidebar-toggler{
    display: inline-flex;
    align-items: center;

    background: transparent;
    border: 0;
    color: #fff;
    margin: 0 1rem;
    cursor: pointer;
}

/* Menu */
.web-footer .footer-nav{
    display: inline-flex;
    align-items: center;
}
.web-footer .footer-nav ul{
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}
.web-footer .footer-nav ul li{
    margin: 0 1rem;
    font-size: 0.875rem;
}
.web-footer .footer-nav ul li a{
    color: #777;
    padding: 0.25rem 0;
    display: block;
}

/* Main */
.web-main{
    display: flex;
    flex: 0 0 auto;
    background: #F5F5F5;
    min-height: 100vh;
    padding-top: 70px;
}

.main{
    flex-grow: 1;
    padding: 15px 0;
    min-width: 0;
}

/* Sidebar */
.sidebar{
    display: flex;
    flex-direction: column;
    transition: all 300ms ease;
    background: #12161F;
    padding: 1.375rem 0 1rem;
    width: 238px;
    flex-shrink: 0;
    overflow: hidden;

    color: #fff;
    --bs-link-color: #fff;
    --bs-link-color-rgb: 255, 255, 255;
    --bs-link-hover-color: #fff;
    --bs-link-hover-color-rgb: 255, 255, 255;

    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    box-shadow: 6px 1px 4px 0px rgba(0, 0, 0, 0.25);
}
.sidebar-inner{
    width: 240px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sidebar .title-nav {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-transform: uppercase;
    color: #66EFE5;
    padding: 0 1.25rem;
    letter-spacing: 0.8px;
    font-weight: 500;
}

.sidebar .sidebar-nav{
    transition: all 300ms ease;
}
.sidebar .nav {
    flex-direction: column;
    transition: all 300ms ease;
}

.sidebar .nav-item {
    position: relative;
    transition: all 300ms ease;
    width: 100%;
    white-space: nowrap;
}

.sidebar .nav-link {
    display: block;
    padding: .5rem 2.125rem;
    text-decoration: none;
    width: 100%;
    height: 39px;
    font-size: 0.9rem;
    font-weight: 300;
}
.sidebar .nav-link i {
    margin-right: 0.5rem;
    width: 14px;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #323848;
    color: #66EFE5;
    font-weight: 500;
}

.sidebar .nav-link.active::before,
.sidebar .nav-link:hover::before {
    content: '';
    width: 5px;
    height: 39px;
    background: #66EFE5;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}

.sidebar .nav-link .fa {
    margin-right: 0.8rem;
    width: 1.125rem;
}

.sidebar .nav-link .badge {
    transition: all 300ms ease;
}

.sidebar .nav-title {
    padding: .75rem 1rem;
    font-size: 80%;
    font-weight: 700;
    color: #e4e7ea;
    text-transform: uppercase;
    border-left: 5px solid transparent;
    border-bottom: 1px solid #5C5C5C;
}

.sidebar .nav-dropdown-toggle::before{
    font-family: "Font Awesome 5 Free";
    content: "\f104";
    display: inline-block;
    vertical-align: middle;
    font-weight: 900;
    position: absolute;
    top: .75rem;
    right: 1rem;
    transition: all 300ms ease;
}

.sidebar .nav-dropdown-items {
    max-height: 0;
    padding: 0;
    margin: 0;
    overflow-y: hidden;
    transition: all 300ms ease;
}
.sidebar .nav-dropdown-items .nav-item {
    border-bottom: 0;
}
.sidebar .nav-dropdown-items .nav-link:before {
    content: "";
    display: inline-block;
    margin-right: 0.8rem;
    width: 1.125rem;
}

.sidebar .nav-dropdown.open {
    background: rgba(0,0,0,.2);
}
.sidebar .nav-dropdown.open > .nav-dropdown-toggle::before{
    transform: rotate(90deg);
}
.sidebar .nav-dropdown.open > .nav-dropdown-items {
    max-height: 1500px;
    border-top: 1px solid #5C5C5C;
}

.sidebar .nav-divider {
    height: 10px;
}

.sidebar .nav-legal{
    padding: 0 1.375rem;
    font-size: 0.6875rem;
    font-weight: 300;
}
.sidebar .nav-legal a {
    text-decoration: none;
}

.sidebar .nav-legal a:hover {
    color: #66EFE5;
}

.sidebar .nav-legal ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar .nav-legal ul li{
    margin-bottom: 0.25rem;
}

/* sidebar-minimized */
.sidebar-minimized .sidebar{
    width: 0;
}
/*.sidebar-minimized .sidebar .nav,
.sidebar-minimized .sidebar .sidebar-nav{
    width: 0;
}

.sidebar-minimized .sidebar .nav-title {
    display: none;
}

.sidebar-minimized .sidebar .nav-item{
    overflow: hidden;
}
.sidebar-minimized .sidebar .nav-item:hover > .nav-link {
    background: #e4e7ea;
}
.sidebar-minimized .sidebar .nav-link {
    position: relative;
    margin: 0;
    white-space: nowrap;
}

.sidebar-minimized .sidebar .nav-link .badge {
    top: 0.5rem;
}

.sidebar-minimized .sidebar .nav-dropdown-toggle::before{
    display: none;
}

.sidebar-minimized .sidebar .nav > .nav-dropdown > .nav-dropdown-items {
    display: none;
    max-height: 1000px;
    background: #2f353a;
}
.sidebar-minimized .sidebar .nav > .nav-dropdown:hover > .nav-dropdown-items {
    position: absolute;
    left: 56px;
    display: inline;
}
.sidebar-minimized .sidebar .nav-dropdown-items .nav-item {
    width: 174px;
}
.sidebar-minimized  .sidebar .nav-dropdown-items .nav-link:before {
    width: 0;
    display: none;
}*/

/* sidebar-hidden */
.sidebar-hidden .sidebar,
.sidebar-hidden .sidebar .nav,
.sidebar-hidden .sidebar .sidebar-nav,
.sidebar-hidden .sidebar .nav-item{
    flex-basis: 0;
    width: 0;
    overflow: hidden;
}

/* Liquido */

@media (max-width: 576px) {
    .header-user .user-info, .header-user .user-dropdown > .far, .dropdown-toggle::after {
        display: none;
    }

    .header-user .user-dropdown {
        padding: 0.5rem;
        border-radius: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: unset;
    }

    .web-header .header-minimizer {
        margin-right: 0.81rem;
    }
}