:root, [data-bs-theme=light] {
    --bs-body-color: #212529;
    --bs-body-color-rgb: 33, 37, 41;
    --bs-secondary-color: rgba(33, 37, 41, 0.75);
    --bs-secondary-color-rgb: 33, 37, 41, 0.75;
    --bs-tertiary-color: rgba(33, 37, 41, 0.5);
    --bs-tertiary-color-rgb: 33, 37, 41, 0.5;
    --bs-link-color: #000000;
    --bs-link-color-rgb: 0, 0, 0;
    --bs-link-hover-color: #ff5722;
    --bs-link-hover-color-rgb: 255, 87, 34;
    --bs-focus-ring-width: 0;
    --bs-focus-ring-opacity: 0;
    --bs-focus-ring-color: rgba(27, 27, 27, 0);
}

[data-bs-theme=dark] {
    --bs-light: #323232;
    --bs-light-rgb: 50, 50, 50;
    --bs-light-text-emphasis: #848484;
    --bs-light-bg-subtle: #0A0A0A;
    --bs-light-border-subtle: #1E1E1E;
    --bs-body-color: #dee2e6;
    --bs-body-color-rgb: 222, 226, 230;
    --bs-secondary-color: rgba(222, 226, 230, 0.75);
    --bs-secondary-color-rgb: 222, 226, 230, 0.75;
    --bs-tertiary-color: rgba(222, 226, 230, 0.5);
    --bs-tertiary-color-rgb: 222, 226, 230, 0.5;
    --bs-link-color: #ffffff;
    --bs-link-color-rgb: 255, 255, 255;
    --bs-link-hover-color: #ff5722;
    --bs-link-hover-color-rgb: 255, 87, 34;
    --bs-border-color: #2c3136;
    --bs-focus-ring-width: 0;
    --bs-focus-ring-opacity: 0;
    --bs-focus-ring-color: rgba(27, 27, 27, 0);
}

[data-bs-theme=dark] .btn-light, .btn-light[data-bs-theme=dark] {
    --bs-btn-color: #fff;
    --bs-btn-bg: #323232;
    --bs-btn-border-color: #323232;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2B2B2B;
    --bs-btn-hover-border-color: #282828;
    --bs-btn-focus-shadow-rgb: 224, 224, 224;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #282828;
    --bs-btn-active-border-color: #262626;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #323232;
    --bs-btn-disabled-border-color: #323232;
}

[data-bs-theme=dark] .btn-outline-light, .btn-outline-light[data-bs-theme=dark] {
    --bs-btn-color: #323232;
    --bs-btn-border-color: #323232;
    --bs-btn-focus-shadow-rgb: 50, 50, 50;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #323232;
    --bs-btn-hover-border-color: #323232;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #323232;
    --bs-btn-active-border-color: #323232;
    --bs-btn-disabled-color: #323232;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #323232;
}

[data-bs-theme=dark] .navbar-brand-logo-dash {
    background-image: url(../img/logo.png);
}

[data-bs-theme=light] .navbar-brand-logo-dash {
    background-image: url(../img/logo-grey.png);
}

[data-bs-theme=dark] .bg-white {
    background-color: #212529 !important;
}

[data-bs-theme=light] .bg-white {
    background-color: #fff;
}

[data-bs-theme=dark] .radio span:before {
    border: 1px solid #505050;
    background: #2e2e2e;
}

[data-bs-theme=dark] .form-control:focus {
    border-color: #495057;
}

[data-bs-theme=dark] .gray-theme.fr-toolbar {
    background-image: linear-gradient(to bottom, #303030 0%, #303030 100%) !important;
}

[data-bs-theme=dark] .gray-theme.fr-toolbar .fr-command.fr-btn, .gray-theme.fr-popup .fr-command.fr-btn {
    color: #d3d3d3;
}

[data-bs-theme=dark] .fr-view {
    background-color: #383838;
}

[data-bs-theme=dark] .gray-theme.fr-box.fr-basic .fr-element {
    color: #dfdfdf;
}

[data-bs-theme=dark] .gray-theme.fr-box .fr-counter {
    background: #424242;
    border-top: solid 1px #4e4e4e;
    border-left: solid 1px #4e4e4e;
}

[data-bs-theme=dark] .bbcodes, .ui-dialog-content, .ui-dialog-title {
    color: #000000;
}

[data-bs-theme=dark] .gd-links .btn::before {
    content: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' viewBox='0 0 320 512'%3e%3c!--! Font Awesome Free 6.4.2 by %40fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --%3e%3cstyle%3esvg%7bfill:%23ffffff%7d%3c/style%3e%3cpath d='M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z'/%3e%3c/svg%3e");
}

[data-bs-theme=dark] .bt_paysys_active {
    background-color: #3e3e3e;
}

[data-bs-theme=dark] .link-primary {
    color: #ffffff !important;
}

[data-bs-theme=dark] .link-primary:hover {
    color: #b1b1b1 !important;
}

[data-bs-theme=dark] .accordion-button::after {
    --bs-accordion-btn-icon: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236c6c6c' class='bi bi-patch-plus' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M8 5.5a.5.5 0 0 1 .5.5v1.5H10a.5.5 0 0 1 0 1H8.5V10a.5.5 0 0 1-1 0V8.5H6a.5.5 0 0 1 0-1h1.5V6a.5.5 0 0 1 .5-.5z'/%3e%3cpath d='m10.273 2.513-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z'/%3e%3c/svg%3e") !important;
    --bs-accordion-btn-active-icon: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23ff5722' class='bi bi-patch-minus' viewBox='0 0 16 16'%3e%3cpath fill-rule='evenodd' d='M5.5 8a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 0 1H6a.5.5 0 0 1-.5-.5z'/%3e%3cpath d='m10.273 2.513-.921-.944.715-.698.622.637.89-.011a2.89 2.89 0 0 1 2.924 2.924l-.01.89.636.622a2.89 2.89 0 0 1 0 4.134l-.637.622.011.89a2.89 2.89 0 0 1-2.924 2.924l-.89-.01-.622.636a2.89 2.89 0 0 1-4.134 0l-.622-.637-.89.011a2.89 2.89 0 0 1-2.924-2.924l.01-.89-.636-.622a2.89 2.89 0 0 1 0-4.134l.637-.622-.011-.89a2.89 2.89 0 0 1 2.924-2.924l.89.01.622-.636a2.89 2.89 0 0 1 4.134 0l-.715.698a1.89 1.89 0 0 0-2.704 0l-.92.944-1.32-.016a1.89 1.89 0 0 0-1.911 1.912l.016 1.318-.944.921a1.89 1.89 0 0 0 0 2.704l.944.92-.016 1.32a1.89 1.89 0 0 0 1.912 1.911l1.318-.016.921.944a1.89 1.89 0 0 0 2.704 0l.92-.944 1.32.016a1.89 1.89 0 0 0 1.911-1.912l-.016-1.318.944-.921a1.89 1.89 0 0 0 0-2.704l-.944-.92.016-1.32a1.89 1.89 0 0 0-1.912-1.911l-1.318.016z'/%3e%3c/svg%3e") !important;
}

[data-bs-theme=dark] .accordion-button:not(.collapsed) {
    background-color: #2c2f32;
}

[data-bs-theme=dark] .logo-modal {
    background-image: url(../img/logo-small.png);
}

[data-bs-theme=dark] .delete-order-modal {
    color: #ff5617;
}

[data-bs-theme=dark] .ratingtypeplus {
    color: #ffffff;
}

[data-bs-theme=dark] .icon-heart {
    color: #ffffff;
}

[data-bs-theme=light] .icon-heart {
    color: #000000;
}

[data-bs-theme=dark] .gray-theme .fr-desktop .fr-command:hover, .gray-theme .fr-desktop .fr-command:focus {
    background: #474747
}

[data-bs-theme=dark] .s-it {
    background: rgb(56 56 56);
}

[data-bs-theme=dark] .service-active {
    background: rgb(70 70 70);
}