
:root {
    --theme-color: #0168fa;
}

input.error {
    border: 1px solid red;
}

label.error {
    color: red;
}

.wd-15 {
    width: 15px;
}

.ht-15 {
    height: 15px;
}

.form-group {
    position: relative;
}

.switch {
    display: inline-block;
    position: relative;
    width: 40px;
    height: 18px;
    border-radius: 20px;
    background: #c9c9c9;
    transition: background 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    vertical-align: middle;
    cursor: pointer;
}

.switch::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 2px;
    width: 16px;
    height: 16px;
    background: #fafafa;
    border-radius: 50%;
    transition: left 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.28s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(128, 128, 128, 0.1);
}

input:checked+.switch {
    background: #3AB795;
}

.bg-sucess-badge {
    background-color: #cee7d9;
    color: #075228;
}

input:checked+.switch::before {
    left: 22px;
    background: #fff;
}

input:checked+.switch:active::before {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28), 0 0 0 20px rgba(0, 150, 136, 0.2);
}



/* header */


.navbar-header {
    border-bottom: 1px solid rgba(72, 94, 144, 0.16);
}

.navbar-header .navbar-right .dropdown-notification .dropdown-menu::before,
.navbar-header .navbar-right .dropdown-message .dropdown-menu::before {
    opacity: initial;
}

.navbar-header .navbar-right .dropdown-notification .dropdown-menu,
.navbar-header .navbar-right .dropdown-message .dropdown-menu {
    margin-top: 19.5px;
}

.dropdown-profile .dropdown-menu::before {
    opacity: initial;
}

.dropdown-profile .dropdown-menu {
    margin-top: 14.5px;
}

.bootstrap-growl .close {
    position: absolute;
    right: 10px;
    color: #000;
    font-size: 16px;

}

.content-search {
    width: initial;
}

.navbar-header .navbar-right {
    gap: 12px;
}

.modalForm {
    width: 100%;
}

/* custom tab */

/* .nav-custom-tab{
    border-bottom: none;
} */
.nav-custom-tab .nav-link.active {
    color: #000;
    border-bottom: 1px solid #000;
    font-weight: 600;
}

.nav-custom-tab .nav-link {
    background: transparent;
    border: none;
    font-size: 15px;
}

.nav-custom-tab .nav-link:hover,
.nav-custom-tab .nav-link:focus {
    background: none;
}

.broker-d-table th,
.broker-d-table td {
    white-space: nowrap;
}

.nav-aside img {
    width: 24px;
    height: 24px;
    margin-right: 15px;
}

.nav-aside .nav-item ul a {
    margin-left: 5px;
}

.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.company-detail {
    position: relative;
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.aside-logo img {
    max-width: 101px;
}

.log-logo img {
    max-width: 130px;
}

.product-img {
    width: 90px;
    height: 90px;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

@media (min-width: 576px) {
    .modal-dialog {
        max-width: var(--bs-modal-width);
        margin-right: auto;
        margin-left: auto;
    }
}

@media (max-width:767px) {

    .navbar-header .navbar-right .dropdown-notification .dropdown-menu,
    .navbar-header .navbar-right .dropdown-message .dropdown-menu {
        margin-top: 17.5px;
    }

    .dropdown-message .dropdown-link svg,
    .dropdown-notification .dropdown-link svg {
        width: 18px;
        height: 18px;
    }

}

@media (max-width:1199px) {
    .navbar-search-header .form-control {
        padding-left: 48px;
    }
}

.table-hover.cust-table tbody tr:hover {
    background: #f7f7f7;
}

.table.cust-table {
    --bs-table-hover-bg: #f7f7f7;
}

.table.cust-table tr td,
.table.cust-table tr th {
    vertical-align: middle;
}

.pointer {
    cursor: pointer;
}

.wd-fit {
    width: fit-content;
}

.ht-fit {
    height: fit-content;
}

.right-modal .modal-dialog {
    margin-top: 0;
    margin-bottom: 0;
    height: 100%;
}

.right-modal .modal-dialog .modalForm,
.right-modal .modal-dialog .modal-content {
    height: 100%;
}

.right-modal .modal-dialog {
    margin-right: 0;
}

.bg-yellow {
    background-color: #f19c00 !important;
}

.toggle-password {
    position: absolute;
    right: 10px;
    top: 58%;

}

.cust-pd-label {
    padding: 2px 8px;
}

.select2 .select2-selection__rendered {
    margin-bottom: 0;

}

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    display: inline-block;
}

.panso-btn-outline-success {
    --bs-btn-color: #3AB795;
    --bs-btn-border-color: #3AB795;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #1C524D;
    --bs-btn-hover-border-color: #1C524D;
    --bs-btn-focus-shadow-rgb: 12, 136, 66;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #1C524D;
    --bs-btn-active-border-color: #1C524D;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #3AB795;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #3AB795;
    --bs-gradient: none;
}

.panso-btn-outline-success:hover {
    color: var(--bs-btn-hover-color);
    background-color: var(--bs-btn-hover-bg);
    border-color: var(--bs-btn-hover-border-color);
}

.tooltip.cust-tooltip {
    position: relative;

    display: inline-block;

    opacity: 1;

    font-size: 17px;

    cursor: pointer;

    z-index: 1;

    padding: 0;
}

.tooltip.cust-tooltip .tooltiptext {
    visibility: hidden;

    width: 250px;

    background-color: black;

    color: #fff;

    text-align: start;

    border-radius: 6px;

    padding: 5px 14px;

    position: absolute;

    z-index: 1;

    top: 50%;

    left: 110%;

    transform: translateY(-50%);

    font-size: 12px;
}

.cust-tooltip.center-top .tooltiptext {
    width: 210px;
    top: -30px;
    left: -135px;
    text-align: center;
}

.tooltip.cust-tooltip .tooltiptext::after {
    content: "";

    position: absolute;

    top: 50%;

    right: 100%;

    margin-top: -5px;

    border-width: 5px;

    border-style: solid;

    border-color: transparent black transparent transparent;
}

.noafter.cust-tooltip .tooltiptext::after {
    content: none;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

.custom-tab .nav-link.active {
    color: var(--theme-color);
    border: none;
    border-radius: 0;
    font-weight: 600;
    border-bottom: 2px solid var(--theme-color);
}

.custom-tab .nav-link {
    color: var(--dark-color);
    border: none;
    border-radius: 0;
    background-color: transparent;
}

.custom-tab .nav-link:hover,
.custom-tab .nav-link:focus {
    background-color: transparent;
    color: var(--theme-color);
}

.notification-card.read,
.notification-card.read:hover {
    background: #fff;
    cursor: auto;
}

.notification-card.read .notif-message-read {
    display: none !important;
}

.notification-card.unread {
    background: #0c88421c;
    cursor: pointer;

}

.dropdown-message .dropdown-item,
.dropdown-notification .dropdown-item {
    margin: 0;
}

.btn-outline-dark:hover h6,
.btn-outline-dark.show h6 {
    color: #fff;
}

.autocomplete-suggestions {
    position: static !important;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    display: none;
}

.autocomplete-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.autocomplete-item:hover {
    background-color: #f1f1f1;
}

.full-select .select2-container {
    width: 100% !important;
}

.border-top-pt {

    border-top: 1px solid #838383;
    padding-top: 20px;
}

.top-flex {
    display: flex;
    justify-content: space-between !important;
    width: 100%;

}

.icon-set {
    position: absolute;
    top: calc(50% - 11px);
    right: 6px;
}

.pl-0 {
    padding-left: 0px;
}

.pr-0 {
    padding-right: 0px;
}

.select2-custom .select2-container {
    width: 100% !important;
}



#primaryCopyButton:hover {
    color: #f84444;
    /* Change this to any color you want on hover */
}

.modal-body .select2-container {
    width: 100% !important;
}


.social-media-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.social-media-row .form-select,
.social-media-row .form-control {
    width: 250px;
    padding: 5px;
}

.social-media-row button {
    padding: 5px 10px;
    cursor: pointer;
}

.profile_form .select2-container {
    width: 100% !important;
}

.w-48 {
    width: 48%;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 100px;
}

.custom-tab .nav-pills .nav-link.active {
    color: #0168fa !important;
    background: white !important;
    border-bottom: 2px solid #0168fa !important;
}

.custom-tab .nav-pills .nav-link:not(.active):hover {
    color: #0168fa !important;
    background: white !important;
    border-bottom: 1px solid #0168fa !important;
}

.flatpickr-wrapper {
    width: 100%;
}

.card {
    box-shadow: none !important;
}

.sale-order-modal ul li {
    list-style: none;
    padding: 5px 0;
}

.sale-order-modal ul {
    padding: 0;
}

.ui-datepicker {
    z-index: 999999 !important;
}

.pagination {
    justify-content: end;
}

.square-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    /* border: 2px solid gray; */
    text-align: center;
    line-height: 24px;
    font-weight: bold;
    font-size: 14px;
    color: #333;
    border-radius: 4px;
    background: #f19c00;
    color: white;
}

.email-selecter {
    display: flex;
    flex-direction: column;
}

.email-selecter .bootstrap-tagsinput {
    display: block;
    width: 100%;
    padding: 0.46875rem 0.625rem !important;
    font-size: 0.875rem !important;
    line-height: 1.5 !important;
    background-color: #fff;
    background-clip: padding-box !important;
    border: 1px solid #c0ccda !important;
    appearance: none;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.product-category-input .form-control button {
    background-color: #fff !important;
}

#ajaxPreloader {
    position: fixed;
    top: 140px;
    right: 40px;
    z-index: 9999;
}

.agent-addedit-modal .agent-suggestions {
    top: 38px;
    left: 2px;
}

#modalAgentAddEdit label.error {
    position: absolute;
    bottom: -22px;
    font-size: 12px;
}
[data-bs-toggle="tooltip"] {
  cursor: pointer;
}
.mx-w-75 {
    max-width: 75%;
}

@media (max-width: 991.98px) { 
  .mx-w-75 {
    max-width: 100%;
  }
} 
#DataTables_Table_0_wrapper .form-select {
    width: auto !important;
}