
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Sora:wght@100..800&display=swap');

* {
    font-family: 'Sora';
}

.body-page {
    background-image: linear-gradient(
        rgba(255, 255, 255, 0.3),
        rgba(255, 255, 255, 0.3)
        ), url('/images/b.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

.dark .body-page {
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0.5)
        ), url('/images/bsc.jpg');
}

.sidebar, 
.content-wrapper,
.footer {
    background: transparent !important;
}

:root {
    --white-transparent-0: #e8e7ec17;
    --white-transparent-1: #e8e7ec34;
    --blue-transparent: #181a29e8;
}

.dark .sidebar .nav:not(.sub-menu) > .nav-item.active {
    background: var(--white-transparent-0);
}

.dark .sidebar .nav.sub-menu {
    background: transparent;
}

.dark .sidebar .nav.sub-menu .nav-item .nav-link.active {
    color: #248AFD;
}


.dark .sidebar .nav:not(.sub-menu) > .nav-item:hover > .nav-link, .sidebar .nav:not(.sub-menu) > .nav-item:hover[aria-expanded="true"] {
    background: var(--white-transparent-1);
    color: #eee;
}
.dark .sidebar .nav .nav-item .nav-link,
.dark .sidebar .nav .nav-item .nav-link i.menu-icon,
.dark .sidebar .nav.sub-menu .nav-item .nav-link  {
    color: #a8a8a8;
}

.card {
    box-shadow: 4px 8px 9px -2px rgba(197, 197, 197, 0.48);
    -webkit-box-shadow: 4px 8px 9px -2px rgba(197, 197, 197, 0.48);
}
.dark .card {
    background-color: var(--blue-transparent);
    backdrop-filter: blur(10px);
    border: 1px solid #3d4355;
    box-shadow: 4px 8px 9px -2px #24242483;
    -webkit-box-shadow: 4px 8px 9px -2px #24242483;
}
.card {
    border-radius: 0.5rem;
}

.dark h4, .dark h3, .dark h4 {
    color: #cfcfcf;
}

.dark .text-muted {
    color: #b6b6b6;
}

.dark .form-control {
    border-color: #95959595;
}
.dark .modal-window .form-control {
    background: #222538;
}
.dark .card .card-title {
    color: #B28F5E;
}
.dark .text-dark {
    color: #ccc !important;
}

.dark .table > :not(:last-child) > :last-child > *, .dark .jsgrid .jsgrid-table > :not(:last-child) > :last-child > * {
    border-bottom-color: #565f8d;
    color: #eee !important;
}
.dark .table-striped > tbody > tr > * {
    color: #cacaca !important;
}
.dark .table > :not(caption) > * > * {
    background-color: #565f8d27;
}
.dark .table > :not(caption) > * > * {
    border-bottom-color: #565f8d;
}

.dark .sidebar .nav.sub-menu .nav-item .nav-link:hover {
    color: #608cca;
}

.dark label {
    color: #cacaca;
}
.dark .form-control {
    background-color: var(--white-transparent-0);
    color: white;
}
.dark .form-control::placeholder {
    color: #8d8d8d;
}
.dark .form-control:focus {
    background-color: var(--blue-transparent);
    color: white;
}

.dark small {
    color: #868686;
}

.dark input.form-control.file-upload-info::placeholder {
    color: #9e9e9e;
}
.dark input.form-control.file-upload-info {
    color: #fff;
    border-color: #25273a;
}

.logos-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-flow: row;
    gap: 1rem;
    background-color: white;
    border-radius: 1rem;
    width: 100%;
}
.logos-container div {
    flex-grow: 1;
    padding: 1rem .6rem;
    display: flex;
    align-items: center;
}

.logos-container div > img{
    width: 100%;
    max-width: 400px;
}

.dark .sidebar.sidebar-offcanvas {
    /* backdrop-filter: blur(10px); */
    background-color: transparent;

}
.sidebar.sidebar-offcanvas.active {
    backdrop-filter: blur(30px);
}

.dark .navbar .navbar-menu-wrapper,
.dark .navbar .navbar-brand-wrapper {
    background-color: #3d4355;
}

.dark .navbar {
    box-shadow: 0 5px 21px -5px #52555f;
}

.navbar-brand .brand-logo {
    filter: saturate(12px);
}

/* logo */
.logo-dark {
    display: none;
}

.dark .logo-dark {
    display: block;
}
.dark .logo-light {
    display: none;
}

.logos-container div:nth-child(1) {
    padding: 1rem 24%;
}
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .count-indicator i {
    font-size: 1.6rem;
}


@media screen and (max-width: 1370px) {
    h4 {
        font-size: 1rem;
    }
    .card .card-title, 
    .form-control,
    button {
        font-size: 0.8rem !important;
    }
}


#toggle_checkbox
{
    display: none;
}

label.theme-switcher
{
    position: relative;
    width: 80px;
    height: 36px;
    margin: 0 auto;
    background-color: #77b5fe;
    border-radius: 36px;
    cursor: pointer;
    transition: 0.3s ease background-color;
    overflow: hidden;
}
label.theme-switcher * {
    user-select: none;
}

#star
{
    position: absolute;
    top: 50%;
    left: 13px;
    width: 20px;
    height: 20px;
    background-color: #fafd0f;
    transform: scale(1) translateY(-50%);
    border-radius: 50%;
    transition: 0.3s ease top, 0.3s ease left, 0.3s ease transform, 0.3s ease background-color;
    z-index: 1;
}

#star-1
{
    position: relative;
}

#star-2
{
    position: absolute;
    transform: rotateZ(36deg);
}

.star
{
    top: -23px;
    left: -5px;
    font-size: 36px;
    color: #fafd0f;
    transition: 0.3s ease color;
}

#moon
{
    position: absolute;
    bottom: -52px;
    right: 8px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s ease bottom;
}

#moon:before
{
    content: "";
    position: absolute;
    top: -5px;
    left: -9px;
    width: 20px;
    height: 20px;
    background-color:#03a9f4;
    border-radius: 50%;
    transition: 0.3s ease background-color;
}

#toggle_checkbox:checked + label
{
    background-color: #000;
}

#toggle_checkbox:checked + label #star
{
    top: 3px;
    left: 44px;
    transform: scale(0.3);
    background-color: yellow;
}

#toggle_checkbox:checked + label .star
{
    color: yellow;
}

#toggle_checkbox:checked + label #moon
{
    bottom: 8px;
}

#toggle_checkbox:checked + label #moon:before
{
    background-color: #000;
}
.list-container {
    background: white;
    padding: 1rem;
    overflow-x: auto;
}

/* Datatable */

.dataTables_info {
    font-size: 0.75rem;
    opacity: .9;
    margin-bottom: .4rem;
}
.dataTables_length,
.dataTables_filter {
    font-size: 0.8rem;
}
thead input {
    border: 1px solid #b1b1b1;
    border-radius: 1px;
    padding: .3rem .6rem;
    width: 100%;
	box-sizing: border-box;
    transition: all 0.2s ease;
    font-weight: normal;
}

thead input:focus {
    border-color: #248AFD;
    box-shadow: 0 0 6px #2489fd38;
}

.overflow-x-auto {
    overflow-x: auto !important;
}

thead input::placeholder {
    color: #9b9b9b;
}
thead tr th {
    padding: 0.5rem .3rem !important;
}

tr.terminated {
    background-color: rgb(247, 82, 115) !important;
}
tr.terminated td {
    border-color: rgb(247, 82, 115) !important;
}
.dark tr.terminated {
    background-color: rgb(218, 72, 101) !important;
}
tr.terminated .btn-more {
    color: #dfdfdf;
}
.dark .table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #4b557569;
}
.dark .table>thead>tr>th,
.dark .table>tbody>tr>th,
.dark .table>tfoot>tr>th,
.dark .table>thead>tr>td,
.dark .table>tbody>tr>td,
.dark .table>tfoot>tr>td,
.dark .table-bordered {
    border-color: #4b557569;
}
.dark table thead th {
    color: #cacaca;
}
.dark thead input {
    border-color: #4b557569;
    background: #3d4355;
}

.dark thead input:focus {
    border-color: #248AFD;
    background: #242936;
}
.dark .dataTables_filter,
.dark .dataTables_info,
.dark .dataTables_length {
    color: #cacaca;
}
.dt-buttons .btn-default {
    border: 1px solid #dbdbdb;
}
.dark .dt-buttons .btn-default {
    color: #b1b1b1;
    border: 1px solid #242936;
}
.dark .dt-buttons .btn-default:hover {
    background: #242936;
}

.dark ul.pagination .paginate_button a {
    background-color: #363e50 !important;
    border-color: #727272;
    color: #cacaca;
}

.dark ul.pagination .paginate_button.disabled a {
    color: #a1a1a1;
}

.dark ul.pagination .paginate_button.active a {
    background-color: #2b85d8 !important;
    border-color: #2b85d8 !important;
    color: white;
}
#agents-list thead th.action:not(.sorting) {
    color: transparent !important;
    user-select: none;
}
tr td {
    min-height: 30px;
}
.table>thead>tr>th,
.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>tbody>tr>td,
.table>tfoot>tr>td {
    padding: .6rem;
}

.login-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    margin-bottom: 1rem;
}
.login-logo .optimum-solutions {
    padding: .8rem;
}
.login-logo div {
    flex-grow: 1;
}
.login-logo img {
    width: 100%;
}

.dataTables_wrapper div.dataTables_length label select {
    margin: 0 .2rem;
}
.btn-more {
    cursor: pointer;
    background: none;
    border: none;
    width: 100%;
    color: #8d8d8d;
    transition: all .3s ease;
}
.btn-more:hover {
    transform: scale(1.5);
    color: #000;
}
.btn-more:active {
    transform: scale(0.9);
}
.dark .btn-more:hover {
    color: white;
}

.dark .notification-dropdown {
    background: #242936 !important;
    color: #cacaca;
}
.dark .notification-dropdown a h6 {
    color: #cacaca;
}

.dark .notification-dropdown a.dropdown-item:hover {
    background-color: #3d4355;
}
.dark .notif-header span {
    color: #cacaca;
}

.modal-window {
    background-image: url('/images/pinky-white.jpg');
}
.dark .modal-window {
    background-image: url('/images/pinky-dark.jpg');
}

.modal-window form {
    background: radial-gradient(circle, transparent 1px, white 1px) 0 0 / 10px 10px repeat;
}
.dark .modal-window form {
    background: radial-gradient(circle, transparent 1px, #3D4355 1px) 0 0 / 10px 10px repeat;
}

.modal-close {
    color: #b3b3b3;
}
.modal-close:hover, .modal-close:focus {
    color: #616161;
}

.dark .modal-close {
    color: #dddddd;
}
.dark .modal-close:hover, .modal-close:focus {
    color: #ffffff;
}

.form-check .form-check-input {
    margin-left: 0 !important;
}
label {
    font-weight: 600;
}
label.form-check-label {
    font-weight: normal;
}
input.form-check-input {
    outline: none !important;
}
tbody tr:hover > *{
    background-color: #b8d1ddd2 !important;
}
.dark tbody tr:hover > *{
    background-color: #5db3245e !important;
}
.dark .table>thead>tr>td.active,
.dark .table>tbody>tr>td.active,
.dark .table>tfoot>tr>td.active,
.dark .table>thead>tr>th.active,
.dark .table>tbody>tr>th.active,
.dark .table>tfoot>tr>th.active,
.dark .table>thead>tr.active>td,
.dark .table>tbody>tr.active>td,
.dark .table>tfoot>tr.active>td,
.dark .table>thead>tr.active>th,
.dark .table>tbody>tr.active>th,
.dark .table>tfoot>tr.active>th {
    background-color: inherit;
}