@font-face {
    font-family: 'FontAwesome';
    src: url('../fonts/fontawesome/fontawesome-webfont.eot?v=4.7.0');
    src: url('../fonts/fontawesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),
        url('../fonts/fontawesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),
        url('../fonts/fontawesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),
        url('../fonts/fontawesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),
        url('../fonts/fontawesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'dripicons-v2';
    src: url('../fonts/dripicons-v2.eot');
    src: url('../fonts/dripicons-v2.eot?#iefix') format('embedded-opentype'),
        url('../fonts/dripicons-v2.woff') format('woff'),
        url('../fonts/dripicons-v2.ttf') format('truetype'),
        url('../fonts/dripicons-v2.svg#dripicons-v2') format('svg');
    font-weight: normal;
    font-style: normal;
}

table.dataTable {
    margin-top: 0px !important;
}

body {
    background: #eef2f6;
}

:root {
    /*custom toggle button*/
    --switches-bg-color: #9d9aa5;
    --switches-label-color: white;
    --switch-bg-color: white;
    --switch-text-color: #301b73;
}

.bootstrap-select:not([class*="col-"]):not([class*="form-control"]):not(.input-group-btn) {
    width: auto;
}

.count-title {
    margin-top: 15px
}

.dashboard-counts strong {
    font-size: .9rem;
    margin-top: 5px
}

.dropdownWarehouse .btn-group.bootstrap-select {
    display: none;
}

.bootstrap-select.btn-group>.dropdown-toggle {
    height: auto;
}

.dropScroll .dropdown-menu {
    max-height: 233px;
    overflow: hidden;
    min-height: 114px;
}

.dropScroll .dropdown-menu .inner {
    overflow: scroll;
}

select.month-select,
select.selectpicker {
    display: none !important;
}

#product-form,
#purchase-form,
.payment-form,
#quotation-form,
#transfer-form {
    overflow-y: scroll;
    max-height: 568px;
    overflow-x: hidden;
}

.modal-dialog {
    max-width: 990px;
}

.toolbarButtons button {
    height: 31px;
    border-radius: 11px !important;
    text-align: center;
}

select.form-control {
    font-size: 13px;
}

textarea::placeholder {
    font-size: 13px;
    color: #e2e3e9;
}
select.form-control {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  background-image: none;
}
.table thead th {
    background: #dfdcf970 !important;
    border-bottom: 2px solid #dee2e6 !important;color: #464275;
}

.side-navbar {
    box-shadow: 2px 0 8px rgba(0, 0, 0, .1);
}

.btn-dark {
    color: color-yiq(#343a40);
    background-color: #858585;
    border-color: #343a40;
}

/* .page{
    background-color: aliceblue;
} */
.side-navbar li a:focus,
.side-navbar li a:hover,
.side-navbar li a[aria-expanded=true],
.side-navbar li.active>a {
    background: rgba(102, 51, 153, .08) !important;
    color: #639;
}

.side-navbar li a {
    transition: all .3s;
}

.side-navbar li a:hover::before {
    height: 70%;
}

.Sectionshadow {
    padding: 16px;
    border: 1px solid #dee2e6;
    background: #fff;
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .08);
    margin: 16px 27px 16px 16px;
    border-radius: 8px
}

.Sectionshadow1 {
    border: 1px solid #dee2e6;
    background: #fff;
    box-shadow: 0 4px 20px 1px rgba(0, 0, 0, .06), 0 1px 4px rgba(0, 0, 0, .08);
    border-radius: 8px
}

.goog-te-gadget-icon {
    margin-right: -13px !important;
}

/* .side-navbar li a:before {
    background: #639;
    border-radius: 0 2px 2px 0;
    content: "";
    height: 0;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: height .3s;
    width: 3px;

} */

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 {
    opacity: 1;
}

#google_translate_element span {
    display: none;
}

.goog-te-gadget .goog-te-combo {
    width: 72%;
    height: 30px;
    border: none;
}

.goog-te-gadget-simple {
    background-color: #FFF;
    border-left: 1px solid #D5D5D5;
    border-top: 1px solid #9B9B9B;
    border-bottom: 1px solid #E8E8E8;
    border-right: 1px solid #D5D5D5;
    font-size: 10pt;
    display: inline-block;
    padding-top: 1px;
    padding-bottom: 2px;
    cursor: pointer;
    border: navajowhite !important;
    height: 35px;
    background-color: transparent !important;
    padding-right: 8px;
}

#loadTranslate span {
    overflow: hidden;
    text-overflow: ellipsis;
    width: 71px;
    white-space: nowrap;
    pointer-events: none;
    font-size: 13px;
    color: #a19f9e;
}

.btngradiaent {
    background-color: #693295;
    border-color: #17a2b8;
    background: linear-gradient(to bottom, #2196f3, #6b3191);
}

.HeaderBg {
    background: linear-gradient(to bottom, #2196f33d, #6b319154);
}

/*Switch Btn*/
.switches-container {
    width: 13rem;
    position: relative;
    display: flex;
    padding: 0;
    position: relative;
    background: var(--switches-bg-color);
    line-height: 2.5rem;
    border-radius: 3rem;
    margin-left: auto;
    margin-right: auto;
}

.switches-container input {
    visibility: hidden;
    position: absolute;
    top: 0;
}

.switches-container label {
    width: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    cursor: pointer;
    color: var(--switches-label-color);
}

.switch-wrapper {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 50%;
    padding: 0.15rem;
    z-index: 3;
    transition: transform .5s cubic-bezier(.77, 0, .175, 1);
    /* transition: transform 1s; */
}

.switch {
    border-radius: 3rem;
    background: var(--switch-bg-color);
    height: 100%;
}

.switch div {
    width: 100%;
    text-align: center;
    opacity: 0;
    display: block;
    color: var(--switch-text-color);
    transition: opacity .2s cubic-bezier(.77, 0, .175, 1) .125s;
    will-change: opacity;
    position: absolute;
    top: 0;
    left: 0;
}

.switches-container input:nth-of-type(1):checked~.switch-wrapper {
    transform: translateX(0%);
}

.switches-container input:nth-of-type(2):checked~.switch-wrapper {
    transform: translateX(100%);
}

.switches-container input:nth-of-type(1):checked~.switch-wrapper .switch div:nth-of-type(1) {
    opacity: 1;
}

.switches-container input:nth-of-type(2):checked~.switch-wrapper .switch div:nth-of-type(2) {
    opacity: 1;
}

/*CustomCheckbox*/
/* The container */
.Customcontainer {
    display: block;
    position: relative;
    padding-left: 34px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.Customcontainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.Customcontainer:hover input~.checkmark {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.Customcontainer input:checked~.checkmark {
    background-color: #7c5cc4;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.Customcontainer input:checked~.checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.Customcontainer .checkmark:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/*Radio*/

/* Create a custom radio button */

/* Show the indicator (dot/circle) when checked */
/* Style the indicator (dot/circle) */
.CustomRadiocontainer .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
    border-radius: 50%;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #fff;
}

.CustomRadiocontainer .checkmark:after {
    top: 5px !important;
    left: 5px !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: white !important;
}

/*Tab strip changes*/
.tab-strip-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
}

.tab-strip {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    white-space: nowrap;
}

.tab-strip::-webkit-scrollbar {
    display: none;
}

.tab-scroll-left,
.tab-scroll-right {
    display: none;
}

.page {
    padding-bottom: 0px;
}

.dataTable,
.dataTables_wrapper {
    margin-top: 8px;
}

.form-group {
    margin-bottom: 4px;
}

#AddUser-modal .form-group span.text-danger {
    font-size: 12px;
}

.form-check-input {
    width: 18px;
    height: 18px;
}

.dataTables_info small {
    display: none;
}

.multiselect-native-select {
    width: 100%;
}

.btn-pos {
    background-color: #7c5cc4;
    border: 1px solid #7c5cc4;
    border-radius: 5px;
    line-height: 30px !important;
    padding: 5px 10px !important;
    text-decoration: none !important;
    color: #fff !important;
}

td .btn-danger {
    color: color-yiq(#dc3545);
    background-color: #f796a0;
    border-color: navajowhite;
    padding: 1px 10px !important;
    font-weight: bold;
    font-size: 12px;
}

td .btn-success {
    padding: 1px 10px !important;
    font-weight: bold;
    font-size: 12px;
}

.btn-pos i,
.btn-pos span {
    color: #fff !important;
}

.input-group-btn {
    display: none;
}

.multiselect-search {
    max-width: 21vh;
}
table.dataTable img {
    width: 40px !important;
    height: 40px !important;
}

.HeaderToolbar a.btn, .HeaderToolbar .btn {
    font-size: 13px;
    padding: 4px 10px;
}
table.dataTable td, table tbody td {
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
    white-space: normal;
    word-wrap: break-word;
    max-width: 180px;
    white-space: nowrap;
    overflow: hidden;align-content: center;
    text-overflow: ellipsis;padding-top: 6px;padding-bottom: 6px;
}

td.action-td {
    overflow: visible !important;
    position: relative;
}
/*Notification CSs*/
.notify {
    position: fixed;
    left: 50%;
    transform: translateX(-50%);
    top: -60px;
    background: linear-gradient(90deg, #00c6ff, #83c8e3);
    color: white;
    padding: 12px 30px;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    font-size: 15px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.4s ease;
}

.notify.show {
    top: 0;
    opacity: 1;
}

.imaggadd {
    background: #f5f5f5;
    background-image: url('../imgs/119206-abstract-blue-background-graphic-design.jpg');
    background-size: cover;
    width: 100%;
    min-height: auto;
    padding-bottom: 0;
    margin-left: 0;
    height: 200px;
    background-repeat: no-repeat;
    border-radius: 4px;
}

.userimg {
    border-radius: 50%;
    width: 217px;
    height: 217px;
    margin-top: 59px !important;
    position: absolute;
}

.colorMuture {
    color: #ccc !important;
}

.dataTables_length .bootstrap-select button {
    border: 1px solid #e4e6fc;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    margin-right: 30px;
}

.dataTables_paginate {
    float: right;
}

.Producttitle {
    background-color: #7c5cc414;
    margin: 5px 14px;
    width: 157vh;
    padding: 6px 12px !important;
    border-radius: 5px;
    color: #7c5cc4;
}

.dropdown-menu.edit-options li .btn-link,
.dropdown-menu.edit-options li a {
    color: #7c5cc4 !important;
}

.text-danger {
    font-size: small;
}

@media (max-width: 1110px) {
    .modal-dialog {
        max-width: 990px;
        width: 40% !important;
    }

    #AddUser-modal .modal-dialog {
        width: 80% !important;
    }

    .tab-scroll-left,
    .tab-scroll-right {
        display: block;
        background: #f0f0f0;
        border: none;
        cursor: pointer;
        font-size: 18px;
        padding: 6px 10px;
        border-radius: 6px;
        margin: 0 5px;
    }
}

@media (max-width: 996px) {
    .modal-dialog {
        max-width: 990px;
        width: 62% !important;
    }

    #AddUser-modal .modal-dialog {
        width: 80% !important;
    }
}

@media (max-width: 768px) {
    .btn-pos {
        line-height: 30px !important;
    }

    .mobileView {
        display: none;
    }

    .HeaderBg {
        margin-top: 1%
    }
}

@media screen and (max-width: 768px) {
    table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    thead th {
        position: sticky;
        top: 0;
        background-color: #f1f1f1;
        z-index: 1;
        /* Ensure the header is above other rows */
    }


    th {
        position: static;
        /* Header will scroll with content on smaller screens */
    }
}

@media (max-width: 600px) {

    .table-container th,
    .table-container td {
        width: auto !important;
    }
}

@media (max-width: 450px) {
    .subtab {
        padding: 7px 10px !important;
    }

    div.dataTables_filter {
        width: 100% !important;
        margin-right: auto !important;
    }

    div.dataTables_filter label {
        float: left;
    }

    .modal-dialog,
    #AddUser-modal .modal-dialog {
        max-width: 990px;
        width: 96% !important;
    }

    .dataTables_wrapper .text-right {
        padding-left: 0px !important;
    }

    .userimg {
        margin: 42px !important;
    }
}

/*Page loader*/
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: opacity 0.5s ease;
}

.lds-ripple {
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #007bff;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1.2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.6s;
}

.form-inline .bootstrap-select.btn-group,
.form-horizontal .bootstrap-select.btn-group,
.form-group .bootstrap-select.btn-group {
    border: 1px solid #ced4da;
}

.btn-primary,
.btn-primary.disabled,
.btn-primary:disabled {
    background-color: #7c5cc4 !important;
    border-color: #7c5cc4 !important;
}

/* Enable tbody scroll */
.Modaltable-scroll tbody {
    display: block;
    overflow-y: auto;
}

/* Keep header alignment */
.Modaltable-scroll thead,
.Modaltable-scroll tbody tr {
    display: table;
    width: 100%;
}

/* Sticky header */
.Modaltable-scroll thead th {
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 2;
}

.bootstrap-select.btn-group .dropdown-menu.inner {
    max-height: 122px !important;
}

.brand-big {
    line-height: normal !important;
}

@keyframes lds-ripple {
    0% {
        top: 36px;
        left: 36px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 72px;
        height: 72px;
        opacity: 0;
    }
}