﻿/*Login*/
.login-content .logo {
    margin-bottom: 10px;
    color: #fff;
}

.login-content {
    margin-top: -15vh;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: normal;
    margin-bottom: 0.1rem;
    line-height: 1.1;
}

.app-sidebar__toggle::before {
    font-weight: 900;
}

.login-content .login-box {
    min-width: 320px;
    border-radius: 1rem;
    min-height: 340px;
    font-size: 0.9rem;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px, rgba(10, 37, 64, 0.35) 0px -2px 6px 0px inset;
}
.login-content .login-box label {
    color: #666;
    font-weight: 500;
}

.login-content .login-box .login-head {
    border-bottom: none;
    color: #FEB245;
    font-weight:600;
}

@media (max-width: 575.98px) {
    .material-half-bg .cover {
        background-color: #009688;
        height: 100vh;
    }

    .login-content {
        margin-top: -10vh;
    }

    .gj-datepicker {
        width: 112px !important;
    }

        .gj-datepicker .input-group-append {
            visibility: collapse;
            display:none;
        }
}

@media (min-width: 576px) {
    .modal-dialog {
        margin: 10vh auto;
        max-width: 600px;
    }
    .gj-datepicker {
        width: 160px !important;
    }
}
/*Login*/

:root {
    --font-family-sans-serif: "Open Sans","Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

body {
    margin: 0;
    font-family: "Open Sans","Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.875rem;
    font-size: 1.0rem;
    font-weight: 300;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    background-color: #FFF;
}

.collapsed {
    /*visibility: collapse;*/
}

.form-inline .form-check {
    -webkit-box-align: unset;
    -ms-flex-align: unset;
    align-items: unset;
    -webkit-box-pack: unset;
    -ms-flex-pack: unset;
    justify-content: unset;
}
.form-inline .multiselect-container span.form-check {
    padding: 3px 10px 3px 10px;
}

.form-check-input {
    transform: scale(1.5);
    position: unset;
    margin-left: 0;
    margin-right:0.2rem;
}

.btn {
    font-weight: 400;
}

.btn:not([disabled]):not(.disabled):not(.btn-link):hover, .btn:not([disabled]):not(.disabled):not(.btn-link):focus {
    -webkit-box-shadow: none;
    box-shadow: none;
    -webkit-transform: none;
    transform: none;
}

.semibold-text {
    font-weight: 500 !important;
}
.tooltip, .popover {
    font-family: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.app-sidebar__user {
    padding: 5px 15px 15px 15px;
    margin-bottom: 0px;
    border-bottom: solid 1px #666;
}

.app-menu__item {
    padding: 6px 15px;
    font-size: 0.9em;
}

.app-header__logo, .login-content .logo {
    font-family: unset !important;
}

.sidebar_user {
    border-bottom: solid 1px #666;
}

.treeview-item {
    padding: 4px 4px 4px 20px;
    font-size: 0.9rem;
}
.treeview-item .icon {
  margin-right: 8px;
}

.form-group {
    margin-bottom: 0.5rem;
}
.widget-small {
    margin-bottom: 6px;
    border-radius:8px;
}
@media (min-width: 1200px) {
    .widget-small {
        margin-bottom: 12px;
    }
}
.widget-small.prime {
    background-color: #3598DB;
}
.widget-small .icon {
    background-color: rgba(0, 0, 0, 0.0);
    padding:0px;
}
@media (min-width: 1200px) {
    .widget-small .icon {
        background-color: rgba(0, 0, 0, 0.0);
        padding: 8px;
    }
}
.widget-small .info h4 {
    text-transform: unset;
    border-bottom: solid 1px;
    padding-bottom: 5px;
}
.widget-small .info {
    padding: 2px 5px;
}
@media (min-width: 1200px) {
    .widget-small .info {
        padding: 5px 5px;
    }
}
    .table-mini th, .table-mini td {
        padding: 0.25rem 0.75rem;
    }

    .table-vmiddle th, .table-vmiddle td {
        vertical-align: middle;
    }

    .table-striped tbody tr:nth-of-type(2n+1) {
        background-color: rgba(0, 0, 0, 0.03);
    }

    .branch-total {
        width: 130px;
        max-width: 150px;
    }

    .progress-mini {
        height: 8px;
    }

    .fa-05x {
        font-size: 0.5em
    }

    .dataContainer {
        overflow-x: auto;
        white-space: nowrap;
        width: auto;
        display: block;
    }

    #reportTable_wrapper .row {
        margin-left: 0;
        margin-right: 0;
    }

    .bg-indigo {
        background-color: #6610f2 !important;
    }

    .bg-purple {
        background-color: #6f42c1 !important;
    }

    .bg-red {
        background-color: #dc3545 !important;
    }

    .bg-cyan {
        background-color: #17a2b8 !important;
    }


    #reportTable thead {
        background-color: #666;
        color: #fbfbfb;
    }

    .table th, .table td {
        padding: 0.25rem 0.5rem;
    }

    table.dataTable thead .sorting::before, table.dataTable thead .sorting::after, table.dataTable thead .sorting_asc::before, table.dataTable thead .sorting_asc::after, table.dataTable thead .sorting_desc::before, table.dataTable thead .sorting_desc::after, table.dataTable thead .sorting_asc_disabled::before, table.dataTable thead .sorting_asc_disabled::after, table.dataTable thead .sorting_desc_disabled::before, table.dataTable thead .sorting_desc_disabled::after {
        bottom: 0.2rem;
        opacity: 0.5;
    }

    .app-content {
        padding: 20px 15px;
        margin-top: 40px;
        background-color: #FBFBFB;
    }

    .btn-warning {
        color: #FFF;
        background-color: #E8910D;
        border-color: #E8910D;
    }

        .btn-warning:not(:disabled):not(.disabled):active, .btn-warning:not(:disabled):not(.disabled).active, .show > .btn-warning.dropdown-toggle {
            color: #FFF;
        }

    .btn-primary {
        color: #FFF;
        background-color: #2098D1;
        border-color: #2098D1;
    }

    .btn-success {
        color: #FFF;
        background-color: #1CA345;
        border-color: #1CA345;
    }

    .btn .icon, .btn .fa {
        margin-right: 0px;
    }

    div.dt-button-collection div.dropdown-menu {
        display: block !important;
        top: 0px;
        -webkit-box-shadow: none !important;
        box-shadow: none !important;
    }


    div.dt-buttons {
        position: relative;
        float: left;
        font: 0.9em Arial;
        padding-bottom: 0.25em;
    }

        div.dt-buttons .dt-button {
            margin: 0.25em 0.333em 0.25em 0;
        }

    div.dt-button-collection {
        font: 0.9em Arial;
        position: absolute;
        margin-top: 3px;
        padding: 4px;
        border: 1px solid #ccc;
        background-color: #fff;
        overflow: hidden;
        /*height: 450px !important;*/
        min-height: 250px !important;
        overflow-y: auto !important;
        z-index: 2002;
    }

        div.dt-button-collection .dt-button {
            text-align: center;
            position: relative;
            display: block;
            margin-right: 0;
            width: 100px;
        }

    div.dt-button-background {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #000;
        opacity: .05;
        z-index: 2001;
        filter: opacity(05);
    }

    .dropdown-item.active, .dropdown-item:active, .dropdown-menu .dt-button {
        color: #fff;
        text-decoration: none;
        background-color: #007bff;
    }

    .dropdown-item {
        display: block;
        width: 100%;
        padding: 0.35rem 1.0rem;
        clear: both;
        font-weight: 400;
        color: #212529;
        text-align: inherit;
        white-space: nowrap;
        background-color: transparent;
        border: 0;
    }

    div.dt-button-collection a.dt-button {
        width: 100%;
        display: block;
        float: none;
        margin-bottom: 4px;
        margin-right: 0;
        display: inline-block;
        font-weight: 700;
        color: #212529;
        text-align: center;
        vertical-align: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        background-color: transparent;
        border: 2px solid transparent;
        border-top-color: transparent;
        border-right-color: transparent;
        border-bottom-color: transparent;
        border-left-color: transparent;
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
        line-height: 1.5;
        border-radius: 3px;
        -webkit-transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, -webkit-box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.2s cubic-bezier(0.35, 0, 0.25, 1);
        transition: background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, -webkit-box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.2s cubic-bezier(0.35, 0, 0.25, 1);
        -o-transition: box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), transform 0.2s cubic-bezier(0.35, 0, 0.25, 1), background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
        transition: box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), transform 0.2s cubic-bezier(0.35, 0, 0.25, 1), background-color 0.3s ease-in-out, border-color 0.3s ease-in-out;
        transition: box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), transform 0.2s cubic-bezier(0.35, 0, 0.25, 1), background-color 0.3s ease-in-out, border-color 0.3s ease-in-out, -webkit-box-shadow 0.3s cubic-bezier(0.35, 0, 0.25, 1), -webkit-transform 0.2s cubic-bezier(0.35, 0, 0.25, 1);
        color: #FFF;
        background-color: #bbbbbb;
        border-color: #bbbbbb;
    }

    div.dt-button-collection .active {
        background-color: #6c757d !important;
        border-color: #6c757d !important;
    }

    div.dt-button-collection {
        position: absolute;
        margin-top: 3px;
        padding: 4px;
        border: 1px solid #ccc;
        background-color: #fff;
        overflow: hidden;
        overflow-y: hidden;
        z-index: 2002;
        min-width: 150px;
    }

        div.dt-button-collection div.dropdown-menu {
            display: block;
            z-index: 2002;
            min-width: 100%;
            padding: 2px 5px;
        }

.scrollBox-300 {
    max-height: 300px;
    overflow-y: auto;
}

    .scrollBox-400 {
        max-height: 400px;
        overflow-y: auto;
    }

    .scrollBox-500 {
        max-height: 500px;
        overflow-y: auto;
    }

    .scrollBox-600 {
        max-height: 600px;
        overflow-y: auto;
    }

    .form-title {
        font-size: 1.5rem;
        font-weight: 500;
    }

    .footer-line {
        border-bottom: 1px solid #ddd;
    }

    .hidden {
        visibility: hidden;
    }

    .fa-1x2 {
        font-size: 1.2em;
    }

    .sub-border {
        border-bottom: solid 1px #eee;
    }

    .modal-header {
        padding: 0.6rem 1rem;
    }

    .middle-label label {
        margin-top: 0.6rem;
    }

    .form-control {
        border: 1px solid #ced4da;
    }

        .form-control:focus {
            color: #000;
            background-color: #fff;
            border-color: #86b7fe;
            box-shadow: 0 0 0 .25rem rgba(13,110,253,.1);
        }

    .swal2-html-container {
        text-align: left !important;
    }

    .wf-50 {
        width: 50px;
    }

    .wf-100 {
        width: 100px;
    }

    .wf-120 {
        width: 120px;
    }

    .wf-150 {
        width: 150px;
    }

    .wf-200 {
        width: 200px;
    }

    .wp-100 {
        width: 100%;
    }

    .pulse {
        transform: translate(-505, -50%);
        background: #ffbaba;
        box-sizing: border-box;
        box-shadow: 0 0 0 3px #FF0000, 0 0 0 0px #56ff00;
    }

    .swal2-styled.swal2-confirm {
        background-color: #1CA345
    }

    .swal2-styled.swal2-cancel {
        background-color: #dc3545;
    }

    .swal2-icon .swal2-icon-content {
        font-size: 2em;
        font-weight: 600;
    }
    /*.swal2-icon {
    width: 2em;
    height: 2em;
    margin: 1em auto 0.6em;
}*/
    .swal2-title {
        padding: .2em .2rem 0;
    }

    .pointer {
        cursor: pointer !important;
    }

    .avButtonSuccess {
        color: #ffffff;
        background-color: #1CA345;
        border-color: #1CA345;
    }

    .avButtonDark {
        color: #ffffff;
        background-color: #666666;
        border-color: #666666;
    }

    .avButtonDanger {
        color: #ffffff;
        background-color: #D95050;
        border-color: #D95050;
    }

    .avButtonDarker {
        color: #ffffff;
        background-color: #222222;
        border-color: #222222;
    }

    .avButtonGray {
        color: #444444;
        background-color: #DDDDDD;
        border-color: #DDDDDD;
    }

    .avButtonInfo {
        color: #ffffff;
        background-color: #42B4D8;
        border-color: #42B4D8;
    }

    .avButtonLightGray {
        color: #444444;
        background-color: #EEEEEE;
        border-color: #EEEEEE;
    }

    .avButtonPrimary {
        color: #ffffff;
        background-color: #337AB7;
        border-color: #337AB7;
    }

    .avButtonPurple {
        color: #ffffff;
        background-color: #AA66CD;
        border-color: #AA66CD;
    }

    .avButtonSeconday {
        color: #ffffff;
        background-color: #6C757E;
        border-color: #6C757E;
    }

    .avButtonWarning {
        color: #ffffff;
        background-color: #FF8700;
        border-color: #FF8700;
    }

    .avButtonWhite {
        color: #444444;
        background-color: #F8F8F8;
        border-color: #F8F8F8;
    }

    .modal-400 {
        max-width: 400px;
    }

    .modal-500 {
        max-width: 500px;
    }

    .modal-600 {
        max-width: 600px;
    }

    .modal-700 {
        max-width: 700px;
    }

    .modal-800 {
        max-width: 800px;
    }

    .modal-900 {
        max-width: 900px;
    }

    .w-min-100 {
        min-width: 100px;
    }

    .w-min-200 {
        min-width: 200px;
    }

    .w-min-300 {
        min-width: 300px;
    }

    .w-min-400 {
        min-width: 400px;
    }

    .w-min-500 {
        min-width: 500px;
    }

    .w-min-600 {
        min-width: 600px;
    }

    .font-08 {
        font-size: 0.8rem !important;
    }

    .font-07 {
        font-size: 0.7rem !important;
    }

    .font-06 {
        font-size: 0.6rem !important;
    }

    .btn-group-lg > .btn, .btn-lg {
        font-size: 1.0rem;
    }

    .menu-group-btn {
        background-repeat: no-repeat;
        background-image: url('/Asset/img/design/menu_group.png');
        background-position: right bottom;
    }

    .modal-content {
        border-radius: .5rem;
        border-color: transparent;
        box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    }

    .bg-primary {
        background-color: #069cca !important;
    }

    .bg-dark-4 {
        background-color: #444444 !important;
    }

    .bg-dark-5 {
        background-color: #555555 !important;
    }

    .bg-dark-6 {
        background-color: #666666 !important;
    }

    .bg-dark-7 {
        background-color: #777777 !important;
    }

    .bg-dark-8 {
        background-color: #888888 !important;
    }

    .bg-dark-9 {
        background-color: #999999 !important;
    }

    .border-primary {
        border-color: #337AB7 !important;
    }

    .btn-round {
        border-radius: 50%;
    }

    .tooltip-inner {
        max-width: 300px;
        text-align: left;
        padding: 10px;
    }

    .hidden-arrow::before,
    .hidden-arrow::after {
        border: none !important;
        content: none !important;
    }

    .dropdown-header {
        font-size: 1rem;
    }

    div.multiselect-container.dropdown-menu.show {
        max-height: 500px;
        overflow: hidden scroll;
        width: 350px;
    }

    .treeview.is-expanded .treeview-menu {
        max-height: 200vh;
    }

    .multiselect-container .multiselect-filter > input.multiselect-search {
        min-width: 320px;
    }

    .marketModalButtons {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .prodModalButtons {
        display: grid;
        grid-gap: 10px;
        grid-template-columns: 1fr 1fr 1fr;
    }

    #reportTable th, #reportTable td {
        padding: 0.15rem 0.25rem;
    }

.app-content {
    transition: none !important;
    -webkit-transition: none !important;
    -o-transition: none !important;
}

fieldset {
    border: 1px solid #ddd !important;
    padding: 0.5rem;
}

legend {
    width: unset;
    margin-bottom: unset;
    font-size: 1rem;
    font-weight:500;
}

.max-w-200 {
    max-width: 200px;
}
.max-w-300 {
    max-width: 300px;
}

.no-before::before {
    content: none !important;
    display:none !important
}


#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
    opacity: 1;
}

    #loadingOverlay.hidden {
        display: none;
        opacity: 0;
    }

.loading-message {
    background-color: white;
    padding: 30px 100px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    font-size: 1.2em;
    color: #333;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    position: absolute;
    top: 30%;
    transform: translateY(-50%);
}

    .loading-message i {
        color: #eb9234;
    }

    .loading-message p {
        margin: 0;
        color: #529de3;
        font-weight: 500;
    }
