/*!

 =========================================================
 * HCMS Theme
 =========================================================

 */

 :root{

     /* --theme-color-primary: #393c3e;
     --theme-color-secondary: #000000;
     --theme-color-tertiary: #28292a; */

     /*
      * Gris-Negro
      */
     /* --theme-color-primary: #eaeaea;
     --theme-color-primary-font: #000000;
     --theme-color-secondary: #f6f6f6;
     --theme-color-secondary-font: #000000;
     --theme-color-tertiary: #f6f6f6;
     --theme-color-tertiary-font: #000000; */

     --theme-color-primary: #13322b;
     --theme-color-primary-font: #ffffff;
     --theme-color-secondary: #2c4838;
     --theme-color-secondary-font: #ffffff;
     --theme-color-tertiary: #2c4838;
     --theme-color-tertiary-font: #ffffff;

     --theme-color-titular: #a42145;

     --theme-color-admin-primary: #00447C;/*00447C:262729;*/
     --theme-color-admin-primary-font: #FFFFFF;
     --theme-color-admin-secondary: #0769AD;

     --theme-color-white: #FFFFFF;
     --theme-color-black: #000000;
 }

.bg-theme-primary {
    background-color: var(--theme-color-primary) !important;
    color: var(--theme-color-primary-font) !important;
}

.bg-theme-secondary {
    background-color: var(--theme-color-secondary) !important;
    color: var(--theme-color-secondary-font) !important;
}

.bg-theme-tertiary {
    background-color: var(--theme-color-tertiary) !important;
}

.bg-theme-admin-primary{
    background-color: var(--theme-color-admin-primary) !important;
}

.bg-theme-admin-secondary{
    background-color: var(--theme-color-admin-secondary) !important;
}

.text-titular{
    color: var(--theme-color-titular) !important;
}

/**
 * Navbars
 */
#navbarNavPrimary > .navbar-nav .active,
#navbarNavPrimary > .navbar-nav .nav-item:hover{
    background-color: var(--theme-color-secondary) !important;
    cursor: pointer;
}

#navbarNavSecondary > .navbar-nav .active,
#navbarNavSecondary > .navbar-nav .nav-item:hover{
    background-color: var(--theme-color-primary) !important;
    cursor: pointer;
}

#navbarNavAdminPrimary > .navbar-nav .nav-item:hover{
    background-color: var(--theme-color-admin-secondary) !important;
    cursor: pointer;
}

.navbar-nav .nav-item{
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    white-space: nowrap;
}

.navbar-nav .nav-item .nav-link{
    color: var(--theme-color-primary-font) !important;
}

.navbar-dark .navbar-toggler{
    border-color: transparent !important;
    margin-top: 0.3rem;
    margin-bottom: 0.3rem;
}

.navbar-dark .navbar-toggler-icon{
    background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
}

.navbar-dark .navbar-toggler-icon:hover{
    background-image: url("data:image/svg+xml;charset=utf8,<svg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'><path stroke='rgba(119, 119, 119, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/></svg>") !important;
}

#nbpBrand{
    font-size: 1.2rem;
}

#nbsBrand{
    font-size: 0.85rem;
}

.navbar-nav .dropdown-menu.dropdown-menu-right{
    background-color: var(--theme-color-primary);
}

.navbar-nav .dropdown-menu.dropdown-menu-right a{
    color: var(--theme-color-primary-font);
}

.navbar-nav .dropdown-menu.dropdown-menu-right a:hover{
    color: var(--theme-color-primary);
}

.dropdown-item.active,
.dropdown-item:active{
    background-color: var(--theme-color-white) !important;
}

.dropdown-submenu .dropdown-toggler{
    background-color: var(--theme-color-primary);
    padding: 0.25rem 1.5rem;
    display: block;
    width: 100%;
    clear: both;
    white-space: nowrap;
}

.dropdown-submenu a:hover{
    text-decoration: none;
    background-color: var(--theme-color-white) !important;
}

.dropdown-submenu .dropdown-menu{
    background-color: var(--theme-color-primary);
}



#nav-user > a{
    font-size: 1.5rem;
    color: var(--theme-color-admin-primary-font) !important;
    padding: 0px 6px;
}

#nav-user-image {
    width: 34px;
}

#nav-user-image-dd {
    width: 100px;
}

#btnNavPrimary .hamburger-inner,
#btnNavPrimary .hamburger-inner:after,
#btnNavPrimary .hamburger-inner:before{
    background-color: var(--theme-color-white) !important;
}

#btnNavSecondary .hamburger-inner,
#btnNavSecondary .hamburger-inner:after,
#btnNavSecondary .hamburger-inner:before{
    background-color: var(--theme-color-white) !important;
}

/***************************************************
 ********************* Wrapper *********************
 ***************************************************/
#wrapper{
    height: 100%;
}

#wrapper-content, body, html{
    height: 100%;
}

/***************************************************
 ******************     Sidebar       **************
 ***************************************************/

#sidebar{
    overflow: auto;
}

#sidebar-content{
    padding: 10px 0;
}

.sidebar-menuitem.selected{
    border-left: solid 4px;
    border-bottom: solid 1px;
    border-color: #FFFFFF;
    color: white;
}

.sidebar-menuitem{
    width: 100%;
    height: 50px;
    display: block;
    overflow: hidden;
    color: #FFFFFF !important;
    padding-left: 5px;
    padding-right: 5px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -khtml-user-select: none;
    -ms-user-select:none;
}

.sidebar-menuitem:hover{
    background-color: #FFFFFF;
    cursor: pointer;
    color: #0769ad !important;
}
.sidebar-menuitem-icon{
    width: 50px;
    height: 50px;
    padding: 3px;
    float: left;
    font-size: 30px;
    color: white;
    text-align: center;
    color: inherit;
}
.sidebar-menuitem-text{
    height: 50px;
    margin-left: 50px;
    font-size: 18px;
    color: inherit;
    padding-top: 15px;
    padding-right: 5px;
    font-variant: small-caps;
    font-size: 1.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-submenuitem{
    width: 200px;
    margin-left: 50px;
    height: 50px;
    display: block;
    overflow: hidden;
    color: #bdbdbd;
}
.sidebar-submenuitem:hover{
    background-color: #FFFFFF;
    cursor: pointer;
}
.sidebar-submenuitem-icon{
    width: 50px;
    height: 50px;
    padding: 3px;
    float: left;
    font-size: 30px;
    color: white;
    text-align: center;
    color: inherit;
}
.sidebar-submenuitem-text{
    height: 50px;
    margin-left: 50px;
    font-size: 18px;
    font-variant: small-caps;
    color: inherit;
    padding-top: 15px;
}
#sidebar-bottom-fix{
    display: block;
    height: 65px;
}

/***************************************************
 *************** Contenido principal ***************
 ***************************************************/
#content{
    height: 100%;
    overflow: auto;
}

@media (max-width: 767px) {
    #content{
        padding-bottom: 85px !important;
    }
    #sidebar-content{
        display: none;
    }
}

@media (min-width: 768px) {
    #content{
        padding-bottom: 75px !important;
    }
    #sidebar-content{
        display: block;
    }
}

#page-title{
    font-weight: bold;
    font-size: 20px;
}

/**
 * breadcrumb
 */
#breadcrumb i{
    font-size: 1.3rem;
    color: #000000;
}

#breadcrumb i.fa-chevron-right{
    font-size: 0.8rem;
}

#breadcrumb a{
    text-decoration: none;
    color: #000000;
}

/**
 * Footer
 */

#footerBrand{
    font-size: 1.125rem;
    color: var(--theme-color-white);
}

.redes-sociales{
    font-size: 2.5rem;
}

/**
 * Links
 */
.bg-theme-tertiary a,
.bg-theme-tertiary a:hover{
    color: var(--theme-color-white);
}
/* 
.bg-theme-admin-primary a,
.bg-theme-admin-secondary a,
.bg-theme-admin-primary a:hover,
.bg-theme-admin-secondary a:hover{
    color: var(--theme-color-white);
} */


/**
 * Secciones
 */
.seccion-divisor{
    margin-top: 10px;
    margin-bottom: 10px;
    border-top: 1px solid #b38e5d;
}

.seccion-divisor .contenido{
    background-color: #b38e5d;
    width: 35px;
    height: 5px;
}

/**
 * Noticias
 */
.noticia-extracto{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

/**
 * Login
 */
.logo-background{
    width: 100%;
    max-width: 220px !important;
}

/**
 * Carousel
 */
.carousel-caption{
    background-color:rgba(0,0,0,0.5);
    bottom: 0 !important;
    right: 0 !important;
    left: 0 !important;
    padding: 20px 40px !important;
}

/***************************************************
 *************** Clases adicionales  ***************
 ***************************************************/

.table-fit{
    white-space: nowrap;
    width: 60% !important;
    margin:0 auto;
}

.table-fit td{
    vertical-align: middle !important;
}

.table-rounded {
    border: none !important;
}
.table-rounded thead th {
    border: none;
}
.table-rounded thead th:first-child {
    border-radius: 7px 0 0 0;
}
.table-rounded thead th:last-child {
    border-radius: 0 7px 0 0;
}
.table-rounded tbody tr:last-child td:first-child {
    border-radius: 0 0 0 7px;
}
.table-rounded tbody tr:last-child td:last-child {
    border-radius: 0 0 7px 0;
}

.code{
    font-family: 'Ubuntu Mono' !important;
}

/* Hamburger button */
.hamburger{
    padding: 10px 10px 4px 10px;
}
.hamburger-box{
    width: 30px;
}
.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after, .hamburger.is-active .hamburger-inner, .hamburger.is-active .hamburger-inner::before, .hamburger.is-active .hamburger-inner::after{
    background-color: #FFF;
    width: 30px;
    height: 2px;
}
.hamburger-inner::before{
    top: -8px;
}
.hamburger-inner::after{
    bottom: -8px;
}

/* Hover effect */
.card-hover{
    opacity: 1;
    color: var(--theme-color-white) !important;
}
.card-hover a{
    color: var(--theme-color-white) !important;
}
.card-hover:hover, .card-hover:hover a{
    opacity: 0.75;
    cursor: pointer;
    user-select: none;
    color: var(--theme-color-white) !important;
}

/* Borders */
.border-theme-admin-secondary{
    border-color: var(--theme-color-admin-secondary) !important;
}