@font-face {
    font-family: "Source Sans Pro";
    src: url('../fonts/SourceSansPro-Regular.ttf');
}

@font-face {
    font-family: "Source Sans Pro Bold";
    src: url('../fonts/SourceSansPro-Bold.ttf');
    font-weight: 900;
}

@font-face {
    font-family: 'RadikalBlack';
    src: url('../fonts/Radikal-Medium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Open Sans Hebrew';
    src: url('../fonts/Open Sans Hebrew Regular.ttf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color : #1B75BC;
    --cnvs-themecolor : #1B75BC;
    --cnvs-themecolor-rgb : (68, 144, 205);

    --v2-themecolor : #007AFC;
    --v2-bg-themecolor : #E8F2FC;
}

::selection {
    background-color: rgba(0,0,0,.5);
    color: var(--bs-white);
}

/* ::-webkit-scrollbar {
    width: 6px;
    background: transparent;
}


::-webkit-scrollbar-track {
    border-radius: 100vh;
    background: transparent;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

::-webkit-scrollbar-thumb {
    border-radius: 100vh;
    height: 10px;
    background: var(--primary-color);
}
#content::-webkit-scrollbar {
  display: none;
} */

body {
    font-family: "Plus Jakarta Sans" !important;
    overflow-y: scroll;
}

a, p, span, div, strong, small, li, ul, ol, button, input, textarea {
    font-family: "Open Sans" !important;
}
h1, h2, h3, h4, h5, h6 {
    font-family: "Open Sans" !important;
    font-weight: 700 !important;
}

a {
    color: var(--bs-dark);
    transition: all .2s;
}

#content {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  top: 0 !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}
.bg-gray-1 {
    background-color: var(--bs-gray-100) !important;
}
.bg-gray-2 {
    background-color: var(--bs-gray-200) !important;
}
.bg-gray-3 {
    background-color: var(--bs-gray-300) !important;
}

.btn {
    padding: .75rem 1.25rem;
}
.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}
.btn-primary:hover {
    background-color: var(--themecolor-dark) !important;
    border-color: var(--themecolor-dark) !important;
}
.btn-primary-custom {
    background-color: var(--v2-themecolor) !important;
    border-color: var(--v2-themecolor) !important;
    color: var(--bs-white);
}
.btn-primary-custom:hover {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: var(--bs-light);
}

.btn-primary-darken {
    background-color: var(--themecolor-dark) !important;
    border-color: var(--themecolor-dark) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-gray-300 {
    color: var(--bs-gray-300);
}
.text-gray-500 {
    color: var(--bs-gray-500);
}


section.section {
    background-color: transparent !important;
}
.font-source-sans-3,
.font-ssp {
    font-family: "Open Sans" !important;
}

.font-ssp-bold {
    font-family: "Open Sans" !important;
}

.fs-12 {
    font-size: 12px !important;
}
.fs-14 {
    font-size: 14px !important;
}
.fs-16 {
    font-size: 16px !important;
}
.fs-18 {
    font-size: 18px !important;
}
.fs-24 {
    font-size: 24px !important;
}
.fs-32 {
    font-size: 32px !important;
}
.fs-36 {
    font-size: 36px !important;
}
.fs-48 {
    font-size: 48px !important;
}

.rounded-7 {
    border-radius: 1.5rem !important;
}

.max-w-860 {
    max-width: 860px !important;
}
.max-w-720 {
    max-width: 720px !important;
}
.max-w-540 {
    max-width: 540px !important;
}
.max-w-200 {
    max-width: 200px !important;
}


.btn-circle-img {
    border: 0 none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    height: 48px;
    width: 48px;
}
.btn-circle-img > img {
    height: 32px;
    width: 32px;
    object-fit: contain;
}

.control-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-dark);
}

/* Splash */
.splash {
    background-color: rgba(var(--bs-white-rgb), .75);
    position: fixed;
        top: 0;
        left: 0;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

/* Table Custom */
.table {
    margin-bottom: 0;
}
.table-custom {
    border-spacing: 1px;
    border-collapse: separate;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    margin: 0 0 0 0 !important;
    width: 100%;
}
.table-custom thead tr > th {
    background-color: var(--primary-color);
    color: var(--bs-white);
    padding: 5px 0;
    text-align: center;
}
.table-custom thead tr:first-child > th:first-child,
.table-custom tbody tr:hover > td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.table-custom thead tr:first-child > th:last-child,
.table-custom tbody tr:hover > td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.table-custom.end-corner thead tr:first-child > th:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 0;
}
.table-custom.end-corner thead tr:last-child > th:last-child {
    border-bottom-right-radius: 12px;
}
.table-custom tbody tr > td {
    padding: 12px 8px;
    border-bottom: 1px solid var(--bs-gray-200);
    transition: all .2s;
}
.table-custom tbody tr:hover > td {
    background-color: var(--v2-bg-themecolor) !important;
}
.table-custom tbody tr:nth-child(odd) > td {
    background-color: var(--bs-gray-100);
}

.table-custom .with-ordering {
    cursor: pointer;
}
.table-custom .inputable {
    font-family: 'Poppins', sans-serif !important;
}

.dataTables_info {
    color: var(--bs-gray-600);
    padding: 1rem 0;
    font-size: 14px;
}
.dataTables_info b {
    color: var(--bs-dark);
}

.dataTables_paginate {
    float: inline-end;
    padding: .5rem 0;
    font-size: 14px;
}
.dataTables_paginate .paginate_button {
    display: inline-block;
    padding: 5px 8px;
    border-radius: 5px;
    cursor: pointer;
    transition: all .2s;
}
.dataTables_paginate .paginate_button.previous,
.dataTables_paginate .paginate_button.next {
    color: var(--v2-themecolor);
}
.dataTables_paginate .paginate_button.previous.disabled,
.dataTables_paginate .paginate_button.next.disabled {
    color: var(--bs-gray-300);
    cursor: default;
}
.dataTables_paginate .paginate_button:hover,
.dataTables_paginate .paginate_button.current {
    color: var(--v2-themecolor);
}
.dataTables_paginate .paginate_button.current {
    background-color: var(--v2-bg-themecolor);
    font-weight: 700;
}
.dataTables_empty {
    text-align: center;
}

/* Custom Input Control */
.form-control {
    border: 1px solid #3737373D;
    border-radius: 10px;
    font-size: 14px;
    padding: 12px 8px 11px 8px;
    transition: all .2s;
}
.form-control:hover,
.form-control:focus {
    border-color: var(--v2-themecolor);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
}
.form-control[type="number"]::-webkit-outer-spin-button {
    background-color: #007AFC;
}
.form-control[type="number"]::-webkit-inner-spin-button {
    background-color: #007AFC;
}

/* Custom select2 */
.select2-container--default .select2-selection--single {
    border: 1px solid #3737373D;
    border-radius: 10px;
    font-size: 14px;
    height: unset;
    padding: 8px;
    transition: all .2s;
}
.select2-container--default .select2-selection--single:hover {
    border-color: var(--v2-themecolor);
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: unset;
        top: 12px;
        right: 6px;
}
.select2-container--default .select2-selection--single .select2-selection__arrow::before {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 15px;
    color: var(--v2-themecolor);
}
.select2-container--default .select2-selection--single .select2-selection__arrow > b {
    display: none;
}

/* News Item */
.news-v-card {
    transition: box-shadow 0.3s;
}
.news-v-card:hover {
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
}
.news-v-card a img {
    height: 180px;
    width: 100%;
    object-fit: cover;
}
.news-v-card a > div {
    transition: all .2s;
}
/* .news-v-card a:hover > div { */
    /* border-bottom-left-radius: 0 !important; */
    /* border-bottom-right-radius: 0 !important; */
/* } */
.news-v-card a strong {
    font-weight: 1000;
    color: var(--bs-dark);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    line-clamp: 1;
    display: -webkit-box;
}
.news-v-card a p {
    color: var(--bs-dark);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
}
/* End of News Item */

/* Product Item */
.product-card {
    transition: all .2s;
}
.product-card:hover {
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,.15);
}
.product-card .product-logo img {
    height: 24px;
    width: auto;
    object-fit: contain;
}
.product-card div > p {
    color: var(--bs-dark);
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    display: -webkit-box;
}

.case-card {
    transition: all .2s;
}
.case-card:hover {
    box-shadow: 0 0 20px rgba(0,0,0,.1);
}
.case-card > img {
    height: 24px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
}
/* End of Product Item */

.loader-container {
    height: 50vh;
}
.custom-loader {
    width: 48px;
    height: 48px;
    border: 5px solid #1B75BC;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }
    
/* Loader overlay styles */
#overlay-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999; /* Ensure it's on top of other elements */
}

.loader {
    border: 8px solid #f3f3f3; /* Light grey */
    border-top: 8px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
} 

@media (min-width : 992px) {
    #main-container:not(.sidebar-collapsed) {
        max-width: 684px !important; 
    }
}
@media (min-width : 1200px) {
    #main-container:not(.sidebar-collapsed) {
        max-width: 860px !important; 
    }
}
@media (min-width : 1400px) {
    #main-container:not(.sidebar-collapsed) {
        width: 1124px !important;
        max-width: none !important; 
    }
}