/* General */

body{
    font-size: 0.875rem;
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6{
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
}

h1, .h1{
    font-size: 1.25rem;
}
h2, .h2{
    font-size: 1rem;
}
h5, .h5{
    font-size: 1rem;
}

.btn {
    font-size: 0.875rem;
}
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-light{
    border-radius: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.lh-btn{
    line-height: 35px;
}

.width-100{
    width: 100%;
}

/* 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{
    background: #0073CB;
    display: flex;

    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    height: 70px;

    color: #fff;
}

.web-header > *{
    display: inline-flex;
    align-items: center;
    margin-right: 1rem;
}

/* Logo */
.web-header .header-brand{
    width: 230px;
    text-align: center;
    justify-content: center;
    transition: all 300ms ease;
    margin: 0 1rem;
}
.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: transparent;
    border:0;
    cursor: pointer;
    color: #fff;
}
.web-header .header-minimizer .fa{
    font-size: 1.6rem;
    margin-right: 5px;
}
.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 .user-avatar{
    width: 2.5rem;
    height: 2.5rem;
    background: #fff;
    border-radius: 50%;
    color: #0073CB;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0rem;
    font-size: 1.2rem;
}
.header-user .user-info{
    display: flex;
    flex-direction: row;
    margin: 0 0.5rem;
    min-width: 0;
    max-width: 150px;
    line-height: 1rem;
}
.header-user .user-name{
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.header-user .user-job{
    color: #fff;
    font-size: 0.8rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-left: 0.3rem;
}
.header-user .user-dropdown > .fa{
    color: #fff;
}

/* Dropdown */

.header-user .dropdown-menu{
    padding: 0;
    font-size: 0.875rem;
    margin-top: 17.5px;
    background: #e9ecef;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: 0;
}
.header-user .dropdown-header {
    padding: 8px 20px;
    border-bottom: 1px solid #c8ced3;
    color: #565656;
}
.header-user .dropdown-item {
    display: block;
    width: 100%;
    padding: 10px 20px;
    clear: both;
    font-weight: 400;
    color: #23282c;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    position: relative;
    border-bottom: 1px solid #c8ced3;
    min-width: 180px;
    text-align: center;
}
.header-user .dropdown-item i {
    display: inline-block;
    width: 20px;
    margin-right: 2px;
    color: #73818f;
    text-align: center;
}
.header-user .dropdown-item .badge {
    position: absolute;
    right: 10px;
    margin-top: 2px;
}
.header-user .dropdown-item:last-child {
    border-bottom: 0;
}

/* 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: #FAFAFA;
    min-height: 100vh;
    padding-top: 70px;
}

.main{
    flex-grow: 1;
    min-height: calc(100vh - 100px);
    padding: 15px 0;
    min-width: 0;
}

/* Sidebar */
.sidebar{
    display: flex;
    flex-direction: column;
    transition: all 300ms ease;
    background: #101010;
    flex: 0 0 230px;
    padding: 1rem 0;
}

.sidebar .sidebar-nav{
    width: 230px;
    transition: all 300ms ease;
    position:sticky;
    top:90px;
}
.sidebar .nav {
    flex-direction: column;
    transition: all 300ms ease;
}

.sidebar .nav-item {
    position: relative;
    margin: 0 0 1rem 0;
    transition: all 300ms ease;
    width: 100%;
    white-space: nowrap;
}

.sidebar .nav-link {
    display: block;
    padding: .5rem 0.75rem;
    color: #E9E9E9;
    text-decoration: none;
    background: 0 0;
    transition: all 300ms ease;
    border-left: 5px solid transparent;
    border-radius: 2rem;
    width: calc(100% - 2rem);
    margin: 0 auto;
    white-space: normal;
}
.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: #0073CB;
}

.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-minimized */
.sidebar-minimized .sidebar{
    flex-basis: 0;
    overflow: hidden;
}
.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;
    width: 56px;
}
.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;
}

/* Card */
.card{
    border-radius: 4px;
    background: #fff;
    border:1px solid #E4E4E4;
}
.card-body{
    padding: 1rem;
}
.card-header{
    background: #F6F6F6;
    color: #707070;
    padding: 0.75rem 1rem;
    margin: 0;
    border: 1px solid #E7E7E7;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    font-size: 0.875rem;

    display: none;
}
.card-header b{
    font-weight: 500;
}
.card-header .fa{
    margin-right: 0.5rem;
}

.card-title{
    color: #000;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0 0 0.5rem 0;
    border-bottom: 1px solid #E4E4E4;
    margin: 0 0 1rem 0;
}
.card-title .fa{
    margin-right: 0.5rem;
}

/* Liquido */

@media (max-width: 767px) {

}