/* 
'wght' - the weight of the font.
'wdth' - the width of the letters.
'slnt' - the angle of the letters
'ital' - how italic the letters are.
'opsz' - how adjusted the font is for the screen it is on (optical sizing). */

@font-face {
    font-family: "Inter";
    src: url(/assets/fonts/Inter-VariableFont.ttf) format("truetype");
}

:root {
    --primary-color: #35688D;
    --primary-color-rgb: 53, 104, 141;
    --primary-color-120: #003e5f;
    --primary-color-40: #6696bd;
    --primary-color-20: #97c7f0;
    --primary-color-active-blue: #406FF6;
    --primary-color-active-blue-120: #0045c2;
    --primary-color-active-blue-60: #809dff;
    --primary-color-green: #19B156;
    --primary-color-red: #FF002E;
    --primary-color-red-light: #FF4062;
    --primary-color-border: #14244D;
    --primary-color-yellow: #fbc02d;
    --primary-color-orange: #f57c00;
    --primary-color-grey: #F5F5F5;
    --seconday-color-iron-100: #657f89;
    --seconday-color-iron-100-rgb: 101, 127, 137;
    --secondary-color-iron-80: #93AEB9;
    --secondary-color-iron-80-rgb: 147, 174, 185;
    --secondary-color-iron-40: #D4DFE3;
    --secondary-color-iron-20: #E9EFF1;
    --secondary-color-iron-10: #F3F7F9;
    --secondary-color-blue-200: #1e2940;
    --secondary-color-blue-180: #47516B;
    --secondary-color-blue-120: #4D70A4;
    --secondary-color-blue-80: #8CA9FA;
    --secondary-color-blue-60: #789EBB;
    --secondary-color-blue-60-rgb: 120, 158, 187;
    --secondary-color-blue-50: #AABECC;
    --secondary-color-blue-40: #BCDBFF;
    --secondary-color-blue-20: #c3e5ff;
    --secondary-color-blue-10: #DCF0FF;
    --secondary-color-yellow-120: #967633;
    --secondary-color-link-120: #c09024;
    --secondary-color-link-100: #e7b550;
    --secondary-color-link-20: #FAF0CC;
    --secondary-color-green-120: #0F5257;
    --secondary-color-green-100: #1BB3AD;
    --secondary-color-green-20: #D1F0EF;
    --secondary-color-orange-120: #914B2C;
    --secondary-color-orange: #DD7243;
    --secondary-color-orange-20: #F3D8CA;
    --secondary-color-oliva-120: #afb066;
    --secondary-color-oliva-100: #DEDF9F;
    --secondary-color-oliva-20: #F1F1D7;
    --background-color-blue-dust: #FAFCFD;
    --background-color-blue-dust-rgb: 250, 252, 253;
    --background-color-white: #FFFFFF;
    --background-color-dark-grey: #3a3a3a;
    --background-color-dark-grey-rgb: 58, 58, 58;
    --traffic-light-color-error-120: #b40021;
    --traffic-light-color-error-100: #ED4949;
    --traffic-light-color-error-80: #ff7d75;
    --traffic-light-color-error-50: #FFCBCB;
    --traffic-light-color-warning-120: #bf6b00;
    --traffic-light-color-warning-100: #F79A2D;
    --traffic-light-color-warning-80: #ffcb5f;
    --traffic-light-color-warning-50: #FFF1BE;
    --traffic-light-color-success-120: #176d41;
    --traffic-light-color-success-100: #4C9C6C;
    --traffic-light-color-success-80: #7dcd9a;
    --traffic-light-color-success-50: #BEFBD6;
    --text-color-white: #FFFFFF;
    --text-color-dark-120: #0F2426;
    --text-color-dark-100: #1e2d2e;
    --text-color-dark-80: #677273;
    --text-color-dark-70: #556769;
    --text-color-dark-60: #848d8e;
    --text-color-dark-50: #95A0A1;
    --text-color-dark-40: #8f9596;
    --text-color-dark-30: #BFC6C7;
    --text-color-dark-20: #DFE3E3;
}

body {
    overflow-y: scroll;
    opacity: 1 !important;
    height: 100%;
    /* background-color: var(--background-color-blue-dust); */
    font-size: 1em !important;
    line-height: 1.625;
    letter-spacing: 0.3px;
    /* more info about font-variation-settings --> https://web.dev/more-variable-font-options-in-chromium-83/ */
    /* font-variation-settings: 'wght' 400, 'GRAD' 400; */
    font-weight: 400;
    color: var(--text-color-dark-100);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif !important;
}

::-webkit-scrollbar {
    width: 10px; /* width of the entire scrollbar */
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color-blue-10); /* color of the tracking area */
}

::-webkit-scrollbar-thumb {
    background-color: var(--primary-color); /* color of the scroll thumb */
    border-radius: 100px; /* roundness of the scroll thumb */
    border: 2px solid var(--secondary-color-blue-10); /* creates padding around scroll thumb */
}


.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

/* GENERAL PAGES  */

.content-header {
    padding: 0px .5rem;
}

.content-body {
    width: 100%;
}

.content-card {
    background: var(--background-color-white);
    box-shadow: 0px 0px 16px rgba(53, 104, 141, 0.08);
    border-radius: 16px;
    padding-top: 6px;
    padding-bottom: 6px;
}

/* FIN GENERAL PAGES */

/* SKELETON UI  */

.line {
    float: left;
    width: 100%;
    height: 16px;
    border-radius: 7px;
    background-image: linear-gradient(90deg, #ddd 0px, #e8e8e8 40px, #ddd 80px);
    background-size: 66%;
    animation: shine-lines 1.6s infinite linear;
}

@keyframes shine-lines {
    0% {
        background-position: -100%;
    }

    100% {
        background-position: 100%;
    }
}

/* FIN SKELETON UI  */


/* CUSTOM BOOTSTRAP  */

.dropdown-menu {
    flex-direction: column;
    align-items: flex-start;
    background: var(--background-color-white);
    box-shadow: 0px 2px 64px rgba(8, 84, 117, 0.12), 0px 1px 20px rgba(8, 84, 117, 0.12);
    border: unset;
    border-radius: 16px !important;
    border-left: 1px solid rgba(0, 0, 0, 0.15);
    border-right: 1px solid rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    padding: 0 0 0.5rem 0 !important;
    margin-top: 2px !important;
}

.dropdown-menu-header {
    height: 34px;
    display: flex;
    align-items: center;
    background: var(--primary-color) !important;
    font-size: 0.9em;
    border-top-left-radius: .5em;
    border-top-right-radius: .5em;
    color: var(--text-color-white);
    font-variation-settings: 'wght' 600;
    font-weight: 600;
}

.dropdown-menu-header-title {
    padding-left: 0.5em;
    flex: 1;
}
.dropdown-menu-header-close {
    flex: 0;
    min-width: 30px;
}

.dropdown-menu-header-close a {
    text-decoration: none;
    cursor: pointer;
}

.dropdown-menu-footer {
    padding: 6px 16px 6px 30px;
    margin-bottom: -8px;
    box-shadow: 0px 0px 16px rgba(8, 84, 117, 0.08);
    border-bottom-left-radius: .5em;
    border-bottom-right-radius: .5em;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dropdown-menu-container {
    padding: 1em !important;
}

.dropdown-item {
    font-size: 0.975em;
    cursor: pointer;
}

    .dropdown-item i {
        padding-right: 8px;
        font-size: 1.125em;
        color: var(--secondary-color-blue-120);
    }

    .dropdown-item:hover, .dropdown-item:focus {
        color: var(--text-color-dark-120);
        background-color: var(--secondary-color-iron-20);
        border-radius: 6px;
    }

        .dropdown-item:hover i, .dropdown-item:focus i {
            color: var(--text-color-dark-180);
        }

.dropdown-menu-end[data-bs-popper] {
    right: 10px
}

.dropdown-button-body-text-alert {
    font-size: .75em;
    font-variation-settings: 'wght' 600;
    font-weight: 600;
    height: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}

.card {
    background: var(--background-color-white);
    box-shadow: 0 0 0.875rem 0 rgb(41 48 66 / 5%);
    border: 1.5px solid rgb(var(--secondary-color-iron-80-rgb), 0.5);
}

/* FIN CUSTOM BOOTSTRAP  */

.text-muted {
    color: var(--text-color-dark-50) !important;
}

.cursor-pointer {
    cursor: pointer;
}

/* TABLE RESPONSIVE */

.table-responsive > :not(caption) > * > * {
    border-bottom-width: 0px;
}

.table > :not(:last-child) > :last-child > * {
    border-bottom: 1.5px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
    border-bottom-color: rgb(var(--secondary-color-iron-80-rgb), 0.2) !important;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px 16px 0px 0px;
    box-shadow: 0px 0px 16px rgba(53, 104, 141, 0.08);
}

    .table-responsive thead tr th:first-child {
        border-top-left-radius: 6px;
    }

    .table-responsive thead tr th:last-child {
        border-top-right-radius: 6px;
    }

    .table-responsive thead {
        background: #F3F7F9;
        font-variation-settings: 'wght' 600;
        font-weight: 600;
        font-size: 0.825em;
    }

    .table-responsive thead input {
        font-size: 1.175em;
    }

        .table-responsive thead tr {
            border-bottom: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
        }

            .table-responsive thead tr th {
                border-left: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
                border-right: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
            }

    .table-responsive tbody {
        font-size: 0.9em;
    }

        .table-responsive thead tr th:first-child,
        .table-responsive tbody tr th:first-child,
        .table-responsive tbody tr td:first-child {
            border-left: none;
            font-size: 0.9em;
        }

        .table-responsive thead tr th:last-child,
        .table-responsive tbody tr th:last-child,
        .table-responsive tbody tr td:last-child {
            border-right: none;
            border-bottom: none;
        }

        .table-responsive tbody tr th,
        .table-responsive tbody tr td {
            border: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
            font-weight: 450;
            font-variation-settings: 'wght' 450;
            font-size: .9em;
            vertical-align: middle;
        }

        .table-responsive tbody tr:last-child th,
        .table-responsive tbody tr:last-child td {
            border-bottom: none;
            vertical-align: middle;
        }

        .table>:not(caption)>*>* {
            padding: .4rem .4rem !important;
        }
        .table-responsive > thead tr th.th-20 {
            min-width: 20px;
        }
        .table-responsive > thead > tr th.th-30 {
            min-width: 30px;
        }
        .table-responsive thead tr th.th-40 {
            min-width: 40px;
        }
        .table-responsive thead tr th.th-50 {
            min-width: 50px;
        }
        .table-responsive thead tr th.th-60 {
            min-width: 60px;
        }
        .table-responsive thead tr th.th-70 {
            min-width: 70px;
        }
        .table-responsive thead tr th.th-80 {
            min-width: 80px;
        }
        .table-responsive thead tr th.th-90 {
            min-width: 90px;
        }
        .table-responsive thead tr th.th-100 {
            min-width: 100px;
        }
        .table-responsive thead tr th.th-110 {
            min-width: 110px;
        }
        .table-responsive thead tr th.th-120 {
            min-width: 120px;
        }
        .table-responsive thead tr th.th-min-120-max-150 {
            min-width: 120px;
            max-width: 120px;
        }
        .table-responsive thead tr th.th-130 {
            min-width: 130px;
        }
        .table-responsive thead tr th.th-140 {
            min-width: 140px;
        }
        .table-responsive thead tr th.th-150 {
            min-width: 150px;
        }
        .table-responsive thead tr th.th-160 {
            min-width: 160px;
        }
        .table-responsive thead tr th.th-170 {
            min-width: 170px;
        }
        .table-responsive thead tr th.th-180 {
            min-width: 180px;
        }
        .table-responsive thead tr th.th-190 {
            min-width: 190px;
        }
        .table-responsive thead tr th.th-200 {
            min-width: 200px;
        }
        .table-responsive thead tr th.th-210 {
            min-width: 210px;
        }
        .table-responsive thead tr th.th-220 {
            min-width: 220px;
        }
        .table-responsive thead tr th.th-230 {
            min-width: 230px;
        }
        .table-responsive thead tr th.th-240 {
            min-width: 2400px;
        }
        .table-responsive thead tr th.th-250 {
            min-width: 250px;
        }

    .table-responsive tfoot {
        font-variation-settings: 'wght' 600;
        font-weight: 600;
        font-size: 0.825em;
    }
        .table-responsive tfoot tr {
            border-bottom: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
        }
            .table-responsive tfoot tr td {
                border-left: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
                border-right: 1px solid rgb(var(--secondary-color-iron-80-rgb), 0.2);
            }     
/* FIN TABLE RESPONSIVE */

/* LOADING PAGE */

.general-loading-container {
    display: flex;
    width: 100%;
    height: 100%;
    transition: margin-left .35s ease-in-out, left .35s ease-in-out, margin-right .35s ease-in-out, right .35s ease-in-out;
    flex-direction: column;
    align-items: center;
    background-color: var(--background-color-white);
}

.general-loading-header {
    height: 100vh;
    background-image: url(../img/general-loading-header.png);
    opacity: 0.8;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.general-loading-powered-by {
    position: fixed;
    bottom: 20px;
    left: 10px;
    font-size: 0.825em;
    font-style: italic;
}

.general-loading-text {
    position: fixed;
    left: 100px;
    top: 100px;
}

.general-loading-svg {
    position: fixed;
    height: 150px;
    width: 150px;
    top: 200px;
}

.general-loading-powered-by img {
    height: 30px;
}

@media (max-width: 768px) {
    .general-loading-text {
        position: fixed;
        left: unset;
        top: unset;
        right: 10px;
    }

    .general-loading-svg {
        top: 75px;
    }
}

/* FIN LOADING PAGE */


/*BUTTONS*/

.button-icon-sm {
    font-size: 1.3em;
    cursor: pointer;
}

    .button-icon-sm:hover {
        text-shadow: 0 0 1px rgb(var(--secondary-color-iron-80-rgb));
    }

.button-icon-primary {
    color: var(--primary-color-active-blue-120);
}

.button-icon-primary:hover {
    color: var(--primary-color-active-blue);
}

.button-icon-success {
    color: var(--primary-color-green);
}

.button-icon-alert {
    color: var(--primary-color-orange);
}   

.button-icon-error {
    color: var(--primary-color-red) ;
}

/*FIN BUTTONS*/




/*EXTERNAL COMPONENTS CUSTOM CSS*/

.rz-dialog-wrapper {
    z-index: 1099 !important;
}

/*FIN EXTERNAL COMPONENTS CUSTOM CSS*/

.font-1 {
    font-size: 0.1em;
}

.font-2 {
    font-size: 0.2em;
}

.font-3 {
    font-size: 0.3em;
}

.font-4 {
    font-size: 0.4em;
}

.font-5 {
    font-size: 0.5em;
}

.font-6 {
    font-size: 0.6em;
}

.font-7 {
    font-size: 0.7em;
}

.font-8 {
    font-size: 0.8em;
}
.font-8-5 {
    font-size: 0.85em;
}
.font-9 {
    font-size: 0.9em;
}

.font-10 {
    font-size: 1.0em;
}

.font-11 {
    font-size: 1.1em;
}

.font-12 {
    font-size: 1.2em;
}

.font-13 {
    font-size: 1.3em;
}

.font-14 {
    font-size: 1.4em;
}

.font-15 {
    font-size: 1.5em;
}

.font-16 {
    font-size: 1.6em;
}

.font-weight-450 {
    font-weight: 450 !important;
    font-variation-settings: 'wght' 450 !important;
}

.font-weight-500 {
    font-weight: 500 !important;
    font-variation-settings: 'wght' 500 !important;
}

.font-weight-550 {
    font-weight: 550 !important;
    font-variation-settings: 'wght' 550 !important;
}

.font-weight-600 {
    font-weight: 600 !important;
    font-variation-settings: 'wght' 600 !important;
}

.font-weight-650 {
    font-weight: 650 !important;
    font-variation-settings: 'wght' 650 !important;
}


.flex-100 {
    flex: 0 1 100% !important;
}
.flex-99 {
    flex: 0 1 99% !important;
}

.flex-70 {
    flex: 0 1 70% !important;
}

.flex-50 {
    flex: 0 1 50% !important;
}

.flex-25 {
    flex: 0 1 25% !important;
}

.flex-33 {
    flex: 0 1 33% !important;
}

.flex-66 {
    flex: 0 1 66% !important;
}

.flex-49 {
    flex: 0 1 49% !important;
}

.flex-form-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.flex-form-wrap > div {
    padding-left: 0.25em;
    padding-right: 0.25em;
    display: flex;
    align-items: end;
}

.edit-form-warp {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.h-100percent { height: 100%;}

.h-500 {
    height: 500px;
}

.h-250 {
    height: 250px !important;
}


.font-success {
    color: var(--primary-color-green) !important;
}

.font-alert {
    color: var(--primary-color-orange) !important;
}

.font-olive {
    color: var(--secondary-color-oliva-120) !important;
}

.font-warning {
    color: var(--secondary-color-link-100) !important;
}

.font-error {
    color: var(--primary-color-red) !important;
}

.font-secondary {
    color: var(--seconday-color-iron-100) !important;
}

.font-primary {
    color: var(--secondary-color-blue-120) !important;
}

.font-active-blue {
    color: var(--primary-color-active-blue-120);
}

.bg-success {
    background-color: var(--primary-color-green) !important;
}

.bg-alert {
    background-color: var(--primary-color-orange) !important;
}

.bg-error {
    background-color: var(--primary-color-red) !important;
}

.delivery-state {
    border-radius: 100px;
    align-items: center;
    padding: 6px 10px;
    font-weight: 500;
    font-size: 12px;
}

    .delivery-state.completo {
        background: #BEFBD6;
        color: #4C9C6C;
    }

    .delivery-state.anulado {
        background: #FFCBCB;
        color: #ED4949;
    }

    .delivery-state.parcial {
        background: #FFF1BE;
        color: #F79A2D;
    }

    .delivery-state.notsent {
        background: #FFE6D0;
        color: #FD7700;
    }

    .delivery-state.sent {
        background: var(--traffic-light-color-success-50);
        color: var(--traffic-light-color-success-100);
    }

    .delivery-state.error {
        background: var(--traffic-light-color-error-50);
        color: var(--traffic-light-color-error-100);
    }

    .delivery-state.partialsent {
        background: var(--traffic-light-color-warning-50);
        color: var(--traffic-light-color-warning-100);
    }


.item_flex_33 {
    flex: 33%;
}

.item_flex_full {
    flex: 100%;
}


.modal-body-no-padding {
    padding-top: 0.05em !important;
}

.form-label-no-height {
    height: 0 !important;
}

.pre-line .order-header-title {
    white-space:pre-line;
}