.display-2 {
    direction: rtl;
}

.load {
    display: none;
}

label {
    font-size: 15px;
}

#addNewProduct {
    border: 1px solid #efefef;
    border-radius: 1rem;
    padding: 0.5rem;
}

.txt-color {
    color: var(--primaryColor) !important;
}

.back-color {
    background-color: var(--primaryColor) !important;
}

.table-icon {
    width: 25px;
    height: 25px;
}

.spanLink {
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/*.card {
    border: 1px solid #169fc6;
}*/

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

::-webkit-scrollbar {
    width: 7px;
    background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(var(--mainColor)), to(var(--mainColor)), color-stop(.6,var(--customBtnHoverShadow)))
}

::placeholder {
    color: var(--inputsPlaceholderColor) !important;
}

input:disabled, input:not([type=file]):not([type=color]):read-only {
    cursor: not-allowed !important;
    background-color: #eff2f7 !important;
}

.custom-checkbox .custom-control-input {
    left: unset !important;
    right: 0 !important;
}

#toast-container .toast-success {
    background-color: #51A351 !important;
}

.nav-tabs li.nav-item {
    width: auto !important;
    flex-basis: unset !important;
    flex-grow: unset !important;
}

#page-topbar {
    max-height: 70px;
    padding: 0 calc(24px / 2);
}

.navbar-header {
    padding: 0 calc(24px / 2) 0 0;
}

.zoom-sm {
    transition: transform .2s;
}

    .zoom-sm:hover {
        transform: scale(1.1);
        box-shadow: unset !important;
    }

.zoom-lg {
    transition: transform .2s;
}

    .zoom-lg:hover {
        transform: scale(1.2);
        /* margin: 0.25rem; */
        box-shadow: unset !important;
    }

@media only screen and (max-width: 991px) {
    .navbar-nav .nav-item .dropdown-menu.show {
        border-top: 1px solid #0000001a;
        border-radius: 0;
        padding-top: 0;
    }
}

.adCard {
    height: 80px;
    display: inline-flex
}

    .adCard .adsMessageDiv {
        padding: 10px 0;
        overflow: auto;
        max-height: 40px;
    }

    .adCard .adCompanyLogo {
        height: 40px;
        width: 40px;
        border-radius: 10px;
    }

/*select2*/
/*.select2-selection {
    border-bottom-left-radius: 0px !important;
    border-top-left-radius: 0px !important;
    height: 100% !important;
    border-color: #ced4da !important;
}

.select2-search {
    line-height: 33px;
    padding-right: 10px;
}

.select2-search__field {
    height: 35px !important;
    margin-top: 0 !important
}

.select2-selection__placeholder, .select2-selection--single .select2-selection__rendered {
    line-height: 33px !important;
}*/

/*.select2-selection__rendered {
    padding-left: 11px !important;
}*/

/*    .select2-selection__placeholder {
         color: #495057 !important;
     }*/

/*.select2-selection__arrow {
    height: 33px !important
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
    margin-top: 6.5px !important;
}

li.select2-selection__choice {
    background-color: #eff2f7 !important;
    border-color: #ced4da !important;
}

    li.select2-selection__choice button.select2-selection__choice__remove {
        border-color: #ced4da !important;
    }*/

/*.select2-container--default .select2-results__option[aria-selected=true]:hover, .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: var(--customBtnHover);
    color: white;
}

.select2-dropdown {
    border-color: #00000026 !important;
}

.select2-container--default.select2-container--disabled .select2-selection--single, .select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: #eff2f7 !important;
    cursor: not-allowed !important;
}*/

/*.select2-container--default .select2-selection--single .select2-selection__clear {
    float: left !important;
    height: 34px !important;
    margin-left: 20px !important;
    margin-right: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-right: 0 !important;
    margin-left: 10px !important;
    left: 0 !important;
    right: unset !important;
}

.select2-container--default .select2-selection--multiple.select2-selection--clearable {
    padding-right: 5px !important;
    padding-left: 25px !important;
}*/

.modalSearchDiv .select2-container {
    width: 100% !important;
}

.modalSearchDiv {
    width: 250px !important;
    display: none;
}

.modal-title-with-search {
    padding-left: 250px;
}

.searchDropdown {
    margin: auto;
    padding: 0.47rem 0.75rem;
}

    .searchDropdown .select2-container {
        width: 200px !important;
    }

.navBarSearchDropdown {
    width: 200px !important;
    /*        background-color: #383e4f !important;
        color: #fff !important;*/
}

.searchDropdown .select2-selection {
    border-top-right-radius: 4px !important;
    /*border-bottom-right-radius:4px !important;*/
    background-color: #f3f3f912;
    color: #fff;
}

.searchDropdown .select2-selection__rendered, .searchDropdown .select2-selection__clear {
    color: #fff !important;
}

@media only screen and (max-width: 767px) {
    .searchDropdown .select2-container {
        width: 60px !important;
    }
}

/*dataTable*/
/* .dataTables_length label, .dataTables_info {
    float: right;
}
 */
.customSpan, .customParagraph {
    max-width: 15rem;
    word-wrap: break-word;
    white-space: normal;
}

.customParagraph {
    line-height: 21px;
    height: calc(3 * 21px);
    overflow: hidden;
    position: relative;
}

    .customParagraph:not(:empty):after {
        content: '';
        position: absolute;
        bottom: 0;
        height: 21px;
        width: 75%;
    }

body:not([lang=en]) .customParagraph:not(:empty):after {
    left: 0;
    background: linear-gradient(90deg, #fff,transparent);
}

body[lang=en] .customParagraph:not(:empty):after {
    right: 0;
    background: linear-gradient(90deg, transparent, #fff);
}

.customerNotes {
    min-width: 10rem;
    border: 1px solid #f7f7f7;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #fff;
    /* box-shadow: 0 0 5px 0 #e9e1e1; */
}

.global-search {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
}

.overflowDataTable {
    overflow: auto;
}

.cs-datatable_wrapper {
    display: flex;
    height: 55vh;
    justify-content: space-between;
    flex-direction: column;
}
/*    table.dataTable.dtr-column > tbody > tr > td.dtr-control:before, table.dataTable.dtr-column > tbody > tr > th.dtr-control:before, table.dataTable.dtr-column > tbody > tr > td.control:before, table.dataTable.dtr-column > tbody > tr > th.control:before {
         top: 50% !important;
         left: 5px !important;
         height: 1em !important;
         width: 1em !important;
         margin-top: -9px !important;
         margin-left: 0 !important;
         display: block;
         position: absolute;
         color: white;
         border: 0.15em solid white;
         border-radius: 1em;
         box-shadow: 0 0 0.2em #444;
         box-sizing: content-box;
         text-align: center;
         text-indent: 0 ;
         font-family: "Courier New",Courier,monospace;
         line-height: 1em;
         content: "+";
         background-color: #0275d8;
     }*/
.inputError {
    border-color: #f46a6a !important;
    padding-right: calc(1.5em + 0.94rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23f46a6a' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23f46a6a' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.235rem) center !important;
    background-size: calc(0.75em + 0.47rem) calc(0.75em + 0.47rem) !important;
}

.previewImg {
    display: none;
    border-radius: 10px;
    padding: .5rem;
    box-shadow: 1px 1px 5px #f1f1f1;
    /*box-shadow: rgb(242, 242, 245) 5px 5px;*/
    border: 1px solid #ced4da;
}

.clearImg-container {
    cursor: pointer;
    position: absolute;
    width: 25px;
    height: 25px;
    border-radius: 5px;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    top: 5px;
    right: 5px;
    z-index: 999;
    display: none;
}
/*template colors handler*/
.text-primary {
    color: var(--mainColor) !important;
}

:root {
    /* --seconadryPink: #FBB3C4;
    --transparentPink: rgba(251, 179, 196, 0.2); */
    --seconadryPink: #1B4F2B;
    --transparentPink: #D6FADC;
    --primaryColor: #28282B;
    --mainColor: #28282B;
    --customBtnHover: rgba(40,40,43, 0.3);
    --customBtnHoverShadow: rgba(40,40,43, 0.1);
    --sidebarBackground: #071916;
    --sidebarActiveBackground: #57656587;
    --modalBackground: #2a3042;
    --modalBodyBackground: #fff;
    --inputsPlaceholderColor: #999;
    --tablesRowsHoverColor: rgba(40,40,43, 0.1);
    --darkModeBackground: #2e3548;
    --darkModeModalBodyBackground: #222736;
    --darkModeModalHeaderBackground: #2e3548;
    --darkModeInputBorderColor: #32394e;
    --customLinkHoverColor: #1d3b26;
}

.productImage, .eventImage, .categoryImage, .brandImage, .bannerImage {
    cursor: pointer;
    border-radius: 10px;
    /* border: 0.5px solid #c9c9c952; */
    box-shadow: 1px 1px 5px #b7b7b7;
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.activeSpan {
    min-width: 75px;
    padding: 0.3rem 0.5rem;
    font-weight: 600;
}

.input-group .span-length,
.input-group .search-span-length {
    width: 120px;
}

.input-group .form-inputs,
.input-group .select2-container {
    width: calc(100% - 120px) !important;
}

.input-group .span-length_lg {
    width: 130px;
}

.input-group .form-inputs_lg,
.input-group .select2-container_lg {
    width: calc(100% - 130px) !important;
}

.input-group_lg .select2-container {
    width: calc(100% - 130px) !important;
}

.input-group .span-length_xl {
    width: 140px;
}

.input-group .form-inputs_xl,
.input-group .select2-container_xl {
    width: calc(100% - 140px) !important;
}

.input-group_xl .select2-container {
    width: calc(100% - 140px) !important;
}

.input-group .span-length_xxl {
    width: 150px;
}

.input-group .form-inputs_xxl,
.input-group .select2-container_xxl {
    width: calc(100% - 150px) !important;
}

.input-group_xxl .select2-container {
    width: calc(100% - 150px) !important;
}

.phoneNumberWithCountryCodeInput .countriesCodeSelect,
.phoneNumberWithCountryCodeInput .select2-container {
    width: 100px !important;
    max-width: 100px !important;
}

    .phoneNumberWithCountryCodeInput .select2-container .select2-selection {
        border-radius: 0 !important;
    }

body[lang=en] .phoneNumberWithCountryCodeInput.countryCodeWithoutLabel .select2-container .select2-selection {
    border-top-left-radius: .25rem !important;
    border-bottom-left-radius: .25rem !important;
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

body:not([lang=en]) .phoneNumberWithCountryCodeInput.countryCodeWithoutLabel .select2-container .select2-selection {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: .25rem !important;
    border-bottom-right-radius: .25rem !important;
}

body[lang=en] .phoneNumberWithCountryCodeInput .select2-container .select2-selection {
    border-right: 0 !important;
}

body:not([lang=en]) .phoneNumberWithCountryCodeInput .select2-container .select2-selection {
    border-left: 0 !important;
}

.phoneNumberWithCountryCodeInput .form-inputs {
    width: calc(100% - 100px - 120px) !important;
}

.phoneNumberWithCountryCodeInput .form-inputs_lg {
    width: calc(100% - 100px - 130px) !important;
}

.phoneNumberWithCountryCodeInput.countryCodeWithoutLabel .form-inputs {
    width: calc(100% - 100px) !important;
}

.phoneNumberWithCountryCodeInput label.error:first-of-type {
    display: none !important;
}

.table-striped thead {
    border-bottom: 1px solid var(--mainColor);
}

table.dataTable.table-striped > tbody > tr > *:not(.dataTables_empty) {
    box-shadow: none !important;
}

table.dataTable.table-striped tbody tr {
    margin-bottom: 5px;
    background-color: #fff !important;
    border-bottom: 1px solid #f8f8f8;
    /* box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 5%); */
}

/* .table-striped tbody tr:nth-of-type(odd) {
    background-color: #a8ecff29!important;
}  */

.footer, .card {
    background-color: #fdfdfd !important;
}

.btn-primary, .btn-primary:disabled {
    background-color: var(--mainColor) !important;
    border-color: var(--mainColor);
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: var(--customBtnHover) !important;
        border-color: var(--customBtnHover) !important;
        box-shadow: 0 0 0 0.15rem var(--customBtnHoverShadow);
    }

.custom-checkbox-primary .custom-control-input:checked ~ .custom-control-label:before, .custom-radio-primary .custom-control-input:checked ~ .custom-control-label:before {
    border-color: var(--mainColor);
}

.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--mainColor);
    background-color: var(--mainColor);
}

.chase-dot:before {
    background-color: var(--mainColor);
}

/*TODO modal colors handler*/
/* .modal-content {
    background-color: var(--modalBackground);
    border-color: var(--modalBackground);
} */

.modal-header .modal-title {
    /* color: white; */
    color: var(--gray-dark);
}

.modal-header .close {
    /* color: white; */
    color: var(--gray-dark);
    opacity: 0.8;
}

.modal-body {
    background: var(--modalBodyBackground);
    border-bottom-right-radius: 0.4rem;
    border-bottom-left-radius: 0.4rem;
}

.modal-footer {
    border-color: #0000004d;
    padding-bottom: 0px;
}

@media only screen and (min-width: 576px) {
    .wide-modal {
        max-width: 900px !important;
    }

    .extra-wide-modal {
        max-width: 1400px !important;
    }
}

/*date range picker*/
.daterangepicker .ranges li {
    font-size: 15px !important;
    /*text-align: right !important;*/
    font-weight: 600 !important;
    background-color: white;
    border-bottom: 1px solid #ddd;
    color: #333;
    word-wrap: break-word;
    direction: rtl;
}

    .daterangepicker .ranges li:hover {
        background-color: #071916 !important;
        color: white !important;
    }

    .daterangepicker .ranges li.active:not(:hover) {
        color: var(--mainColor) !important;
    }

.daterangepicker td.active, .daterangepicker td.active:hover {
    background-color: var(--mainColor) !important;
}

/*.select2-results__options::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
    background-color: #F5F5F5;
    border-radius: 10px;
}

.select2-results__options::-webkit-scrollbar {
    width: 7px;
    background-color: #F5F5F5;
}

.select2-results__options::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #FFF;
    background-image: -webkit-gradient(linear, 40% 0%, 75% 84%, from(var(--mainColor)), to(var(--mainColor)), color-stop(.6,var(--customBtnHoverShadow)))
}*/

/*dropzone uploader*/
.dropzone-pro {
    margin: 0 auto;
    text-align: center;
    min-height: 160px;
    border: 2px dashed #ced4da;
    padding: 15px;
    border-radius: 10px;
    justify-content: center;
    display: flex;
    flex-wrap: wrap;
    cursor: pointer
}

img.dropZoneImage {
    width: 115px;
    height: 120px;
    cursor: pointer;
    object-fit: contain;
    padding: 10px;
}

.imageContainer {
    max-width: 120px;
    max-height: 150px;
    position: relative;
    margin: 10px 10px auto;
    border: 2px solid #d6d6d6;
    margin-bottom: 15px;
    border-radius: 10px;
}

    .imageContainer .img-delete {
        top: -12px;
        left: -12px;
        width: 25px;
        height: 25px;
        position: absolute;
        padding: 0 !important;
    }

    .imageContainer.primary-image {
        border: 2px solid var(--mainColor);
    }

.dropZoneContainer.multiDropZoneDragOver {
    border: 2px solid #ced4da;
}

    .dropZoneContainer.multiDropZoneDragOver #noFiles {
        opacity: 0.7;
    }

.uploadMultiFilesBtnContainer .upload-button {
    display: none;
}

.uploadFilesSection .fileUploaderProgress {
    /*flex: unset !important;*/
    /*flex: 2;*/
    /*margin-bottom: 0px;*/
    width: 100% !important;
    border-radius: 0.5rem;
    height: 15px;
}

.selectImage {
    width: 40px;
}

/*dark mode*/
.dark-mode #preloader {
    background-color: var(--darkModeBackground);
}

.dark-mode .select2-search input, .dark-mode .select2-results, .dark-mode .select2-selection, .dark-mode .select2-selection__rendered, .dark-mode .select2-selection__choice {
    color: #bfc8e2 !important;
    background-color: var(--darkModeBackground) !important;
    transition: color 0.15s, background-color 0.15s;
}

.dark-mode .select2-selection, .dark-mode .select2-dropdown {
    border-color: var(--darkModeInputBorderColor) !important;
    transition: border-color 0.15s ease-in-out;
}

.dark-mode .select2-container--default .select2-search--dropdown {
    background-color: var(--darkModeBackground) !important;
}

.dark-mode #page-topbar, .dark-mode .footer {
    color: #a6b0cf !important;
    background-color: var(--darkModeBackground) !important;
    transition: 0.15s;
}

    .dark-mode #page-topbar button, .dark-mode #page-topbar i {
        color: inherit !important;
    }

.dark-mode .modal-body {
    background-color: var(--darkModeModalBodyBackground);
}

.dark-mode .modal-content {
    background-color: var(--darkModeModalHeaderBackground);
    border-color: var(--darkModeModalHeaderBackground);
}

.dark-mode .navbar-header .dropdown.show .header-item {
    background-color: #212529;
}

.dark-mode .tox-editor-header button {
    color: #bfc8e2 !important
}

.dark-mode .tox-toolbar__primary {
    background-color: var(--darkModeModalBodyBackground) !important;
    border-color: var(--darkModeInputBorderColor) !important;
}

.dark-mode .tox:not([dir=rtl]) .tox-toolbar__group:not(:last-of-type) {
    border-right: 1px solid var(--darkModeInputBorderColor) !important;
}

.dark-mode .tox-toolbar__primary svg {
    background-color: var(--darkModeModalBodyBackground) !important;
    fill: #bfc8e2 !important
}

.dark-mode .tox-sidebar-wrap iframe#description_ifr {
    background-color: var(--darkModeBackground) !important
}

.dark-mode .tox {
    border-color: var(--darkModeInputBorderColor) !important;
}

.dark-mode .dropzone-pro {
    border-color: var(--darkModeInputBorderColor);
}

.conversation-message.message-sent::after {
    border-width: 0px 0 10px 10px;
    border-color: transparent transparent transparent #e1ffc7;
    top: 0;
    right: -10px;
}

@media only screen and (max-width: 767px) {
    #page-topbar .navbar-header .d-flex:nth-child(2) .dropdown button {
        padding: 0.47rem 0.4rem;
    }
}

@media (min-width: 1200px) {
    body[data-layout=horizontal] .container-fluid, body[data-layout=horizontal] .navbar-header {
        max-width: 95%;
    }
}

.backPV {
    cursor: pointer;
}

    .backPV span {
        font-size: 1rem;
    }

    .backPV i {
        font-size: 1.5rem;
    }
