:root{
    --color-primary         : #ec1c24;
    --color-secondary       : #000e3f;
    --color-complementary   : #00adee;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*== General ==*/
/* Background */
.bg-color-primary,
.bg-color-primary:hover{
    background: var(--color-primary);
}
.bg-color-secondary,
.bg-color-secondary:hover{
    background: var(--color-secondary);
}
.bg-color-complementary,
.bg-color-complementary:hover{
    background: var(--color-complementary);
}
.custom-hover:hover{
    opacity: .8;
}
/* Utilities btn*/
.btn-custom-padding{
    padding-left: 2rem;
    padding-right: 2rem;
}
.btn-custom-font-size{
    font-size: 1.2rem;
}
/* Letter spacing */
.ls-1 { letter-spacing: 1px; }
.ls-2 { letter-spacing: 2px; }
.ls-3 { letter-spacing: 3px; }
.ls-4 { letter-spacing: 4px; }
.ls-n1 { letter-spacing: -1px; }

/* Magin botton negative */
.mb-n1 { margin-bottom: -5px; }
.mb-n2 { margin-bottom: -10px; }
.mb-n3 { margin-bottom: -15px; }
.mb-n4 { margin-bottom: -20px; }
.mb-n5 { margin-bottom: -30px; }
@media (max-width: 576px) {
    .mb-n1 { margin-bottom: -2px; }
    .mb-n2 { margin-bottom: -4px; }
    .mb-n3 { margin-bottom: -8px; }
    .mb-n4 { margin-bottom: -10px; }
    .mb-n5 { margin-bottom: -12px; }
}
/* Font size */
.fs-l{font-size: 1.3rem;}
.fs-xl{font-size: 3rem;}
.fs-xxl {font-size: 3.5rem;}

@media (max-width: 576px) {
    .fs-xl{font-size: 2.5rem;}
    .fs-xxl {font-size: 4rem;}
    .fs-l{font-size: 1.1rem;}
}
@media (max-width: 375px) {
    .fs-xl{font-size: 2rem;}
    .fs-l{font-size: .95rem;}
}
/* Height */
.vh-custom-100{
    min-height: 100vh;
    height: auto;
}
.h-custom-2{height: 2px;}
.h-custom-3{height: 3px;}
.h-custom-5{height: 5px;}
.h-custom-10{height: 10px;}
/* Width */
.w-custom-2{width: 2px;}
.w-custom-5{width: 5px;}
.w-custom-10{width: 10px;}
.w-custom-15{width: 15px;}
.w-custom-20{ width: 20px;}
.w-custom-25{width: 25px;}
.w-custom-30{width: 30px;}
/* Skew */
.skew-x-20 {transform: skewX(-20deg);}
/* Bar Container */
/*== Home ==*/
.bar-container{
    min-width: 110px;
}
.bar-container .bar-home{
    margin-top: 15px;
    max-height: 167px;
}
@media (max-width: 576px) {
    .bar-container .bar-home{
        margin-top: 12px;
        max-height: 150px;
        margin-left: -10px;
    }
}
@media (max-width: 375px) {
    .bar-container .bar-home{
        margin-top: 7px;
        max-height: 120px;
        margin-left: -15px;
    }
}
/* Home */
.home{
    margin-left: -25px;
}
.home-container {
    margin-left: 0px;
}
.home-container hr{
    max-width: 255px;
}
@media (max-width: 992px) {
    .home{
        margin-left: 0px;
    }
}
@media (max-width: 576px) {
    .home{
        margin-left: -10px;
        justify-content: center;
    }
    .home-container {
        margin-left: -20px;
    }
    .home-container hr{
        max-width: 225px;
    }  
}
@media (max-width: 375px) {
    .home-container hr{
        max-width: 180px;
    }  
}
/* Footer */
.footer-text{
    color: #d1d2c6;
}
@media (max-width: 992px) {
    .footer-img {
        max-width: 370px;
    }
}
@media (max-width: 576px) {
    .footer-text {
        font-size: 0.9rem !important;
        line-height: 1.4;
    }
    .footer-img {
        width: 70% !important;
        margin-bottom: 1rem;
    }
}
/* Login */
.login{
    border-radius: 1.5rem;
    max-width: 700px;
    width: 100%;
}
.login .login-aside{
    border-right: 10px solid var(--color-primary);
    overflow: hidden;
}
.login .login-aside .login-aside-img{
    position: absolute;
    bottom: 1.5rem;
    left: 1rem;
}
.login .login-form input{
    background: #e6f6fd;
    border-radius: 0;
}
.login .login-form input:checked[type=checkbox] {
    background: var(--color-primary);
}
.login .login-form button{
    min-width: 160px;
}
@media (max-width: 992px) {
    .login{
        max-width: 350px;
    }
    .login-container {
        flex-wrap: wrap;
        
    }
    .login .login-aside{
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        border-right: 0;
        border-bottom: 7px solid var(--color-primary);
    }
    .login-container .login-aside h1 > span{
        font-size: 2.2rem !important;
        margin-bottom: -10px;
    }
    .login .login-aside .login-aside-img{
        bottom: -.5rem;
        min-width: 520px;
    }
    .login-container .login-form{
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }
    .login-container .login-form form{
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    .login .login-form button{
        display: block;
        margin: auto;
    }
}
/*==Dashboard==*/
/* Navbar */
.section-gradient{
    background: linear-gradient(90deg, var(--color-secondary) 50%, var(--color-complementary) 100%);
}
.navbar-dashboard .nav-dashboard-logo{
    max-width: 160px;
    min-width: 160px;
}
.navbar-dashboard .nav-dashboard-text{
    color: #d1d2c6;
    font-size: .85rem;
}
.navbar-dashboard .section-language img{
    max-width: 45px;
}   
.navbar-dashboard .avatar{
    background: #f9f8fb;
}
.navbar-dashboard .dropdown-toggle{
    border: inherit !important;
    box-shadow: inherit !important;
}
.navbar-dashboard .dropdown-toggle::after{
    display: none;
}
.navbar-dashboard .dropdown-toggle:first-child:active:focus-visible,
.navbar-dashboard .dropdown-toggle:first-child:active,
.navbar-dashboard .dropdown-toggle.show,
.navbar-dashboard .dropdown-toggle:focus-visible{
    border: inherit;
    box-shadow: inherit;
    border-color: inherit;
}
.navbar-dashboard .squares{
    margin-left: auto;
}
.navbar-dashboard .squares .item{
    width: 8px;
    height: 8px;
    background: #fff;
}
.navbar-dashboard .squares:hover .item{
    opacity: .8;
}
.navbar-dashboard .menu-toggle button{
    width: 35px;
    border: 0;
    background: inherit !important;
    gap: 10px;
}
.navbar-dashboard .menu-toggle button .item{
    background: #cccdcd;
    border-radius: .2rem;
    transition: all .8s ease;
}
.navbar-dashboard .dropdown-menu{
    padding: 0;
    margin-top: 1.45rem !important;
    background: rgba(255, 255, 255, .6);
}
.dashboard{
   min-height: 100vh;
  height: 100vh;
}
.footer-copy {
  margin-top: 0px; /* Ajusta el valor según lo que necesites */
  
}

.dashboard__main,
.dashboard__main .dashboard__inner {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}
.dashboard .menu{
    background: #abdbf3;
    max-width: 220px;
    min-width: 220px;
}
.dashboard .menu span{
    color: var(--color-secondary);
}
.dashboard .menu .menu-item img{
    max-width: 115px;
}
.dashboard .menu .menu-item:hover .image,
.dashboard .menu .menu-item.active .image,
.dashboard .menu .menu-item .image.image-hover{
    display: none;
}
.dashboard .menu .menu-item:hover .image.image-hover,
.dashboard .menu .menu-item.active .image.image-hover{
    display: block;
}
.dashboard__main{
    min-height: 100%;
}
.dashboard__main .dashboard__inner,
.dashboard__main .dashboard__inner .tab-content{
    box-shadow: 0em 0em .7em rgba(0, 0, 0, .3) !important;
    background: #fff;

}

.dashboard__main .dashboard__inner .tab-content{
    margin-top: -4px;
    position: relative;
    z-index: 3;
}
.dashboard__main .dashboard__inner .tab-content .tab-pane svg rect{
    position: relative !important;
}
.morris-hover { display:none !important; }
/* rect { fill: url(#barGradient) !important; } */
.dashboard__main .dashboard__inner .tab-content text tspan{
    fill: var(--color-secondary) !important;
    font-family: degular-display, sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: .05rem;
    font-size: .9rem !important;
}
/* .dashboard__main .dashboard__inner .tab-content .tab-pane svg rect::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: red;
    width: 100%;
    height: 100%;
} */
.dashboard__main .dashboard__inner .tab-content .tab-pane .myBarChart{
    min-height: 430px;
}
.dashboard__main .dashboard__inner .nav-tabs .nav-link{
    color: var(--color-secondary);
}
.dashboard__main .dashboard__inner .nav-tabs .nav-link.active{
    background: var(--color-primary);
    color: #fff;
}
.dashboard .menu#dashboardMenu {
  padding-top: 47px !important;
}
@media (max-width: 992px) {
    #overlayedMenu{
        position: absolute;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, .5);
        z-index: 998;
        opacity: 0;
        visibility: hidden;
    }
    #menuToggle.active .item{
        transition: all .8s ease;
    }
    #menuToggle.active .item:nth-child(1){
        position: absolute;
        top: 0;
        transform: rotate(-45deg);
    }
    #menuToggle.active .item:nth-child(3){
        position: absolute;
        top: 0;
        transform: rotate(45deg);
    }
    #menuToggle.active .item:nth-child(2){
        display: none;
    }
    #dashboardMenu.menu {
        position: absolute;
        height: 100%;
        z-index: 999;
        left: -100%;
        transition: all .8s ease;
       
    } 
  
    .dashboard__main .dashboard__inner .nav-tabs{
        gap: .3rem !important;
    }
    .dashboard__main .dashboard__inner .nav-tabs .nav-link{
        font-size: .86rem;
        border-radius: .2rem !important;
    }
    .dashboard__main .dashboard__inner .tab-content{
        margin-top: 10px;
    }
    .dashboard__main .dashboard__inner .tab-content text tspan{
        font-size: .65rem !important;
    }
    .dashboard .menu .menu-item img {
        max-width: 135px;
    }
    .navbar-dashboard .menu-toggle button{
        width: 30px;
        gap: 7px;
    }
}
@media (max-width: 375px) {
    .navbar-dashboard .nav-dashboard-logo {
        max-width: 180px;
        min-width: 180px;
    }
}
/* Footer copy */
.footer-copy{
    border-top: 10px solid var(--color-primary);
}
.footer-copy p{
    color: #d1d2c6;
    font-size: .8rem;
}
.foreign-trade-img {
  max-width: 600px;
  width: 100%;
  height: auto;
}
@media (max-width: 576px) {
  .foreign-trade-img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
}


