﻿

.lds-facebook {
    display: inline-block;
    position: relative;
    width: 50px;
    height: 50px;
}

    .lds-facebook div {
        display: inline-block;
        position: absolute;
        left: 8px;
        width: 16px;
        background: #00953E;
        animation: lds-facebook 1.2s cubic-bezier(0, 0.5, 0.5, 1) infinite;
    }

        .lds-facebook div:nth-child(1) {
            left: 8px;
            animation-delay: -0.24s;
        }

        .lds-facebook div:nth-child(2) {
            left: 32px;
            animation-delay: -0.12s;
        }

        .lds-facebook div:nth-child(3) {
            left: 56px;
            animation-delay: 0;
        }

@keyframes lds-facebook {
    0% {
        top: 8px;
        height: 64px;
    }

    50%, 100% {
        top: 24px;
        height: 32px;
    }
}

.toggleButton {
  /* background-color: #1ABC9C;*/
  background-color:lightgray;
    color:white;
}
#tblMessages td{
    font-size:10px;
}
#tblSuppliers td {
    font-size: 10px;
}
#tblReleaseReq td {
    font-size: 12px;
}
#tblSuppliersInMessage td {
    font-size: 10px;
}
#tblSuppliersCategoriesInMessage td{
    font-size:10px;
}
#tblSuppliersCategories td {
    font-size: 10px;
}
.carousel-indicators {
    background-color: gray;
    bottom: -80px;
}
.fontFFC107 {
    display: none
}

.documentSent {
    background-color: #cdffb7;
}

.carousel-caption > div {
    color: black;
    text-align:justify;
    font-size:12px;
   
}
#side-panel{
    width:550px;
    right:-550px;
}
    #side-panel .side-panel-wrap {
        width:550px;
    }
        .nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    background-color: #00953E;
    color: white;
}
.nav-link {
    background-color: lightgray;
}
table.table-bordered.dataTable tbody th, table.table-bordered.dataTable tbody td {
    font-size: 8px;
}
#tblReleases tbody td {
    font-size: 12px;
}

#tblCC tbody td, #tblAcc tbody td, #tblDeptos tbody td {
    font-size: 15px;
}

#tblViewBudget tbody td {
    font-size: 11px;
}


.initialBudget td, .remainingbudget  td{
    background-color: lightgreen;
    font-size: 13px !important;
    font-weight: bold !important;
}


#tblViewBudget thead th {
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
}

#tblReq tbody td, #tblAccounts tbody td, #tblViewRejectedItems tbody td, #tblViewAccounts tbody td, #tblAccountBudget tbody td, #tblBudgets tbody td, #tblBudgetUsers tbody td, #tblViewRequisitions td, #tblEditViewRequisitions td {
    font-size: 14px;
}

#tblReq thead th, #tblCC thead th, #tblAccounts thead th, #tblAcc thead th, #tblDeptos thead th, #tblViewAccounts thead th, #tblAccountBudget thead th, #tblBudgets thead th, #tblBudgetUsers thead th, #tblViewRequisitions thead th, #tblEditViewRequisitions th {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#tblReqGrouped tbody td, #tblAccounts tbody td, #tblViewRejectedItems tbody td, #tblViewAccounts tbody td, #tblAccountBudget tbody td, #tblBudgets tbody td, #tblBudgetUsers tbody td, #tblViewRequisitions td, #tblEditViewRequisitions td {
    font-size: 14px;
}

#tblReqGrouped thead th, #tblCC thead th, #tblAccounts thead th, #tblAcc thead th, #tblDeptos thead th, #tblViewAccounts thead th, #tblAccountBudget thead th, #tblBudgets thead th, #tblBudgetUsers thead th, #tblViewRequisitions thead th, #tblEditViewRequisitions th {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#tblViewItems thead th, #tblViewRejectedItems thead th {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#tblViewItems tbody td {
    font-size: 14px;
}


#tblItems thead th {
    font-size: 14px;
    font-weight:bold;
    text-transform:uppercase;
}

#tblItems tbody td {
    font-size: 14px;
}

#tblItems thead th {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

#tblAlerts tbody td{
    font-size:12px;
}
.table th, .table td {
    padding: .25rem;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #e4e4e4;
    border: 1px solid #aaa;
    border-radius: 4px;
    cursor: default;
    float: left;
    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
    color: #00953E;
}
table.dataTable tbody tr.selected, table.dataTable tbody th.selected, table.dataTable tbody td.selected{
    color:black;
}

.counter.counter-small {
    font-size: 15px;
}
.card-row {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 12px; /* 5px rounded corners */
    overflow: visible;
    background-color: #f9f9f9;
}
.card {
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px; /* 5px rounded corners */
    margin-top:10px;
}
    .card:hover {
        cursor:pointer;
        box-shadow: 0 8px 16px 0 grey;
    }
#top-account a.btn{
    background-color: #00953E;
}
#top-account a i.icon-user {
    margin-left: 5px;
    font-size: 22px;
}

#primary-menu {
    float: right;

}

#primary-menu > ul > li:hover > a,
#primary-menu > ul > li.current > a,
#primary-menu > div > ul > li:hover > a,
#primary-menu > div > ul > li.current > a {
    background-color: #00953E;
    color: #FFF;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    border-top-color: rgba(0,0,0,0.1);
    width:320px;
}

    #primary-menu > ul > li:hover > a span,
    #primary-menu > ul > li.current > a span,
    #primary-menu.style-2 > div > ul > li:hover > a span,
    #primary-menu.style-2 > div > ul > li.current > a span {
        color: #EEE;
    }


#primary-menu ul ul li > a {
    font-size: 11px;
    font-weight: 700;
    width: 320px;
    background-color:dimgray;
    color:white;
    padding-top: 10px;
    padding-bottom: 10px;
    border: 0;
    letter-spacing: 0;
    font-family: 'Lato', sans-serif;
    -webkit-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}


#primary-menu > ul > li:first-child {
    margin-left: 0;
    border-left-color: lightgray;
    border-left-style: solid;
    border-left-width: thin;
}

#primary-menu ul li > a {
    display: block;
    line-height: 22px;
    padding: 15px 15px;
    background-color:lightgrey;
    color: #444;
    border-right-color: lightgray;
    border-right-style: solid;
    border-right-width: thin;
    font-weight: bold;
    font-size: 17px;
    letter-spacing: 1px;
    width: 320px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    -webkit-transition: margin .4s ease, padding .4s ease;
    -o-transition: margin .4s ease, padding .4s ease;
    transition: margin .4s ease, padding .4s ease;
}

    #primary-menu > ul > li > a i {
      
        font-size: 20px;
        margin-right:20px;
    }


.status0 {
    background-color: #fff7db !important;
}
.statusError {
    background-color: #ffe5e5 !important;
}

.mensajeExpirado {
    background-color: #ffe5e5 !important;
}
.mensajeVigente {
    background-color: #e4f7a8 !important;
}
/*
div.dt-buttons {
display:inline;
}*/
.divider {
    position: relative;
    overflow: hidden;
    margin: 15px 0;
    color: #E5E5E5;
    width: 100%;
}
.status1 {
    background-color: #e0ffe3 !important;
}
.status3 {
    background-color: #ffbfbf !important;
}
.tabs.tabs-alt ul.tab-nav li.ui-tabs-active a {
    border: 1px solid #00953E;
    border-bottom: 0;
    color: black;

    background-color: white;
}

.promo.promo-dark {
    border: 0 !important;
    background-color: #00953E;
    padding: 30px 200px 30px 30px;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
    border-radius: 3px;
}


#page-title {
    position: relative;
    padding: 10px 0;
    background-color: #00953E;
    border-bottom: 1px solid #EEE;
}
.row.acumentLogoRow {
    background-color: #f2f2f2;
    border-bottom-color: #00953E;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-top-color: #00953E;
    border-top-style: solid;
    border-top-width: thin;
}
#page-title div h1 {
    color: white;
}
    .breadcrumb a{
        color: white;
    }
.acumentBtnInvert {
    background-color: #00953E;
    border-color: gray;
    color: white;
    transition: 0.3s;
}
    .acumentBtnInvert:hover {
        background-color: darkgray;
        border-color: #FFF;
        color: white;
        text-shadow: none;
    }

.acumentBtn {
    background-color: darkgray;
    border-color: gray;
    color: white;
    transition: 0.3s;
}

    .acumentBtn:hover {
        background-color: #00953E;
        border-color: #FFF;
        color: black;
        text-shadow: none;
    }
/*
*
* ==========================================
* CUSTOM UTIL CLASSES
* ==========================================
*
*/

/* Timeline holder */
ul.timeline {
    list-style-type: none;
    position: relative;
    padding-left: 1.5rem;
}

    /* Timeline vertical line */
    ul.timeline:before {
        content: ' ';
        background: #fff;
        display: inline-block;
        position: absolute;
        left: 16px;
        width: 4px;
        height: 100%;
        z-index: 400;
        border-radius: 1rem;
    }

li.timeline-item {
    margin: 20px 0;
}

/* Timeline item arrow */
.timeline-arrow {
    border-top: 0.5rem solid transparent;
    border-right: 0.5rem solid #fff;
    border-bottom: 0.5rem solid transparent;
    display: block;
    position: absolute;
    left: 2rem;
}

/* Timeline item circle marker */
li.timeline-item::before {
    content: ' ';
    background: #ddd;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid #fff;
    left: 11px;
    width: 14px;
    height: 14px;
    z-index: 400;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

#statusModalBody {
    background: linear-gradient(180deg, #f0f4f8 0%, #e8edf2 100%);
    padding: 0;
}

/* ── Requisition history modal (horizontal stepper) ── */
#RequisitionLogModal.modal-requisition-history .modal-dialog,
.modal-dialog.modal-requisition-history {
    max-width: min(1180px, 96vw);
    width: 96vw;
}

#RequisitionLogModal.modal-requisition-history .modal-content,
.modal-dialog.modal-requisition-history .modal-content {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

#RequisitionLogModal.modal-requisition-history .modal-header,
.modal-dialog.modal-requisition-history .modal-header {
    background: linear-gradient(135deg, #00953e 0%, #007a33 100%);
    color: #fff;
    border-bottom: none;
    padding: 1rem 1.35rem;
}

#RequisitionLogModal.modal-requisition-history .modal-header .modal-title,
.modal-dialog.modal-requisition-history .modal-header .modal-title,
#RequisitionLogModal.modal-requisition-history #reqHistoryModalTitle,
.modal-dialog.modal-requisition-history #reqHistoryModalTitle {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
    color: #fff;
}

#RequisitionLogModal.modal-requisition-history .modal-header .req-history-subtitle,
.modal-dialog.modal-requisition-history .modal-header .req-history-subtitle,
#RequisitionLogModal.modal-requisition-history #reqHistorySubtitle,
.modal-dialog.modal-requisition-history #reqHistorySubtitle {
    display: block;
    font-size: 0.78rem;
    font-weight: 500;
    color: #fff;
    opacity: 0.92;
    margin-top: 0.15rem;
    letter-spacing: 0.04em;
}

#RequisitionLogModal.modal-requisition-history .modal-header .btn-close,
.modal-dialog.modal-requisition-history .modal-header .btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.req-history-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1.75rem 1.25rem 1.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #00953e #dde4ea;
}

.req-history-scroll::-webkit-scrollbar {
    height: 8px;
}

.req-history-scroll::-webkit-scrollbar-track {
    background: #dde4ea;
    border-radius: 4px;
}

.req-history-scroll::-webkit-scrollbar-thumb {
    background: #00953e;
    border-radius: 4px;
}

.req-history-track {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    --req-history-step-gap: 1.35rem;
    gap: var(--req-history-step-gap);
    min-width: min-content;
    list-style: none;
    margin: 0;
    padding: 0 0.75rem;
}

.req-history-step {
    flex: 0 0 auto;
    width: 168px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.req-history-step__rail {
    display: flex;
    align-items: center;
    width: 100%;
    height: 44px;
    position: relative;
    margin-bottom: 0.65rem;
}

.req-history-step__dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 3px solid #cbd5e1;
    color: #64748b;
    font-size: 14px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.req-history-step__line {
    position: absolute;
    left: calc(50% + 18px);
    right: calc(-1 * var(--req-history-step-gap, 1.35rem) - 50% + 18px);
    top: 50%;
    height: 3px;
    background: #cbd5e1;
    transform: translateY(-50%);
    z-index: 1;
    border-radius: 2px;
}

.req-history-step--completed .req-history-step__dot {
    background: #00953e;
    border-color: #00953e;
    color: #fff;
}

.req-history-step--completed .req-history-step__line {
    background: linear-gradient(90deg, #00953e, #34d399);
}

.req-history-step--current .req-history-step__dot {
    background: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25), 0 4px 12px rgba(13, 110, 253, 0.35);
    animation: req-history-pulse 2s ease-in-out infinite;
}

.req-history-step--rejected .req-history-step__dot {
    background: #dc3545;
    border-color: #dc3545;
    color: #fff;
}

.req-history-step--rejected .req-history-step__line {
    background: #fca5a5;
}

@keyframes req-history-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.2), 0 4px 12px rgba(13, 110, 253, 0.3); }
    50% { box-shadow: 0 0 0 8px rgba(13, 110, 253, 0.12), 0 4px 16px rgba(13, 110, 253, 0.4); }
}

.req-history-step__card {
    width: 100%;
    max-width: 168px;
    background: #fff;
    border-radius: 12px;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.req-history-step:hover .req-history-step__card {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.req-history-step--current .req-history-step__card {
    border-color: rgba(13, 110, 253, 0.45);
    box-shadow: 0 6px 20px rgba(13, 110, 253, 0.12);
}

.req-history-step--rejected .req-history-step__card {
    border-color: rgba(220, 53, 69, 0.35);
    background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.req-history-step--completed .req-history-step__card {
    border-color: rgba(0, 149, 62, 0.2);
}

.req-history-step__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    margin-bottom: 0.35rem;
}

.req-history-step__index {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.req-history-step__badge {
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #0d6efd;
    color: #fff;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}

.req-history-step__title {
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1e293b;
    margin: 0 0 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.req-history-step__meta {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.35rem;
}

.req-history-step__meta-item {
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.3;
}

.req-history-step__meta-item i {
    margin-right: 0.25rem;
    opacity: 0.75;
}

.req-history-step__desc {
    font-size: 0.72rem;
    color: #475569;
    line-height: 1.45;
    margin: 0;
    margin-top: auto;
    padding-top: 0.35rem;
    border-top: 1px dashed #e2e8f0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.req-history-step:hover .req-history-step__desc {
    -webkit-line-clamp: unset;
}

.req-history-empty {
    flex: 1;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
    padding: 2rem;
    list-style: none;
}

@media (max-width: 576px) {
    .req-history-step {
        width: 152px;
    }

    .req-history-step__card {
        max-width: 152px;
    }

    .req-history-track {
        --req-history-step-gap: 1rem;
    }

    #RequisitionLogModal.modal-requisition-history .modal-dialog,
    .modal-dialog.modal-requisition-history {
        max-width: 100vw;
        width: 100vw;
        margin: 0.5rem;
    }
}

    @media (min-width: 992px) {
        .modal-timeline:not(.modal-requisition-history) {
            max-width: 600px;
        }
    }

    @media (min-width: 1200px) {
        .modal-timeline:not(.modal-requisition-history) {
            max-width: 800px;
        }
    }