.hide-desktop{
    display: none!important;
}

.container-fluid{
    padding-top: 15px;
}

@media (min-width: 769px) {
    .content-wrapper > .container-fluid {
        min-height: calc(100vh - 50px);
    }
}

/* Margem mínima para mobile */
@media (max-width: 768px) {
    .content-wrapper .container-fluid {
        margin-top: 0px !important;
        padding-top: 10px !important;
    }
}



.parado, .parado a { color: red !important; }
.online, .online a { color: green !important; }

.dash_equipamento__subtitle{
    margin-top: -10px;
    color: blue;
}

.dashboard-total-products{
    height: 40px;
}

.dash-equipament-status{
    text-align: center;
    margin-right: 20px;
    padding: 5px;
    width:300px;
    float: right;
    background-color: #008001 !important;
    font-size: 25px;
    color: #FFFFFF;
    border-radius: .25rem;
}

.dash-equipament-status__online{
    background-color: #008001 !important;
}

.dash-equipament-status__offline{
    background-color: #e23d4d !important;
}

.card-header-text--right{
    float: right;
}

.card-mouse-click{
    cursor: pointer;
}

.hidden{
    display: none;
}

.clear {clear:both; width:100%; display:block;}

.loader, .loader-block{
    left:50%;
    top:50%;
    margin-left:-65px; /* Metade do valor da Largura */
    margin-top:-65px; /* Metade da valor da Altura */
    position:absolute;
    width:130px; /* Valor da Largura */
    height:130px; /* Valor da Altura */
    z-index: 1000;
}

.loader, .loader-block-card{
    left:50%;
    top:50%;
    margin-left:-50px; /* Metade do valor da Largura */
    margin-top:-30px; /* Metade da valor da Altura */
    position:absolute;
    width:100px; /* Valor da Largura */
    height:100px; /* Valor da Altura */
}

#statusTimer{
    float: right;
}

.card > .overlay,
.overlay-wrapper > .overlay,
.card > .loading-img,
.overlay-wrapper > .loading-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.card .overlay,
.overlay-wrapper .overlay {
    z-index: 50;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 3px;
    opacity: 1;
}
.card .overlay > .fa,
.overlay-wrapper .overlay > .fa {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -15px;
    margin-top: -15px;
    color: #000;
    font-size: 30px;
}
.card .overlay.dark,
.overlay-wrapper .overlay.dark {
    background: rgba(0, 0, 0, 0.5);
}
.input-group a {
    padding-top: 9px;
    padding-bottom: 9px;
    font-size: 12px;
}
label{
    text-transform: none;
}
.nav-item i{
    padding-right: 10px;
}
.enumOptions{
    margin-top:5px;
    display: none;
}
.spacer{
    display:table;
    width:100%;
    padding:15px;
}
.modal-lg { max-width: 1000px !important; }

h5{
    font-weight: 700;
    font-size: 15px;
}

h6{
    font-weight: 700;
    font-size: 12px;
}

.topmenu{
    /*border:1px solid #C9D3DD;*/
    border-left: none;
    /*margin-bottom: 20px;*/
    display: table;
    width: 100%;
    margin-bottom:20px;

}

.topmenu .item{
    padding: 15px;
    color: #000000;
    background: #e2e2e2;
    cursor: pointer;
    border-left: 1px solid #C9D3DD;
    float: left;
    text-align: center;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;

}

.topmenu i{
    margin-left: 5px;

}

.topmenu .item.active{
    background: #fff;
    opacity: 1;
    border-top: 2px solid;
    padding: 14px;
}

.topmenu .item.inactive{
    opacity: 0.6;
}

.close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: 1;
}
.btn:focus {
    box-shadow: inset #0000005e 1px 1px 2px;
}
input:focus, select:focus{
    box-shadow: inset #00000030 1px 1px 2px;
}

.login {
  background-color: #286965 !important;
}
.bg-primary{
    background-color: #286965 !important;
}
.logo-login img{
    max-width: 160px;
}

.md-tabs .nav-item .nav-link.disabled, .md-tabs .nav-item .nav-link.disabled:focus, .md-tabs .nav-item .nav-link.disabled:hover{
    color: #999;
    cursor: none;
    pointer-events: none;
}

.header-table{
    background-color: #eceeef;
    color: #000000;
    font-weight: bold;
}
.header-table-green{
    background-color: #286965;
    color: #ffffff;
    font-weight: bold;
}

.btn-green, .btn-green:focus, .btn-green:hover, .btn-green:active{
    background-color: #286965 !important;
    border-color: #286965 !important;
}
a.color-green{
    color: #286965 !important;
}
.txt-green{
    color: #286965 !important;
}
.sidebar-menu .treeview-menu .treeview-menu li a{
    padding-left: 40px;
}



/*Personalização do bootstrap*/

.badge-secondary {
    background-color: grey;
}

/* ── Sidebar colapsado: delay ao sair do submenu ── */
@media (min-width: 768px) {
    .sidebar-mini.sidebar-collapse .sidebar-menu > li.hover-active > a > span:not(.pull-right),
    .sidebar-mini.sidebar-collapse .sidebar-menu > li.hover-active > a > span > .treeview-menu {
        display: block;
        position: absolute;
        width: 230px;
        left: 50px;
        box-shadow: 2px 1px 5px 1px rgba(128, 128, 128, 0.28);
        background: #fff;
        color: #666;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li.hover-active > a > span {
        top: 0;
        padding: 12px 5px 12px 20px;
        background-color: inherit;
    }
    .sidebar-mini.sidebar-collapse .sidebar-menu > li.hover-active > .treeview-menu {
        top: 44px;
        margin-left: 0;
        display: block;
        position: absolute;
        width: 230px;
        left: 50px;
        box-shadow: 2px 1px 5px 1px rgba(128, 128, 128, 0.28);
        background: #fff;
        color: #666;
    }
    .sidebar-mini.sidebar-collapse .treeview-menu > li.treeview.hover-active > .treeview-menu {
        display: block !important;
        position: absolute;
        left: 100%;
        top: 0;
        width: 230px;
        box-shadow: 2px 1px 5px 1px rgba(128, 128, 128, 0.28);
        background: #fff;
        border-radius: 0 4px 4px 0;
        z-index: 1000;
        padding-top: 5px;
        padding-bottom: 5px;
        margin: 0 1px;
    }
}

/* ── Tabela responsiva mobile cards (padrao CRM) ── */
@media (max-width: 767.98px) {
    .table-mobile-cards thead { display: none; }
    .table-mobile-cards tbody { display: block; }
    .table-mobile-cards tbody tr {
        display: block;
        background: #fff;
        border: 1px solid #e6e6e6;
        border-radius: 6px;
        padding: 12px;
        margin-bottom: 10px;
        box-shadow: 0 1px 2px rgba(0,0,0,0.03);
    }
    .table-mobile-cards tbody td {
        display: block;
        width: 100% !important;
        border: none !important;
        padding-left: 40% !important;
        position: relative;
        text-align: left !important;
        white-space: normal;
    }
    .table-mobile-cards tbody td[data-label]::before {
        content: attr(data-label);
        position: absolute;
        left: 12px;
        top: 12px;
        font-weight: 600;
        color: #666;
        width: 35%;
        white-space: normal;
    }
    .table-mobile-cards tbody td.text-center { text-align: left !important; }
}