@use 'colors.scss';
@mixin lwTransition($time: 0.3s, $property: all) {
    -webkit-transition: $property $time ease-in-out;
    -moz-transition: $property $time ease-in-out;
    -ms-transition: $property $time ease-in-out;
    -o-transition: $property $time ease-in-out;
    transition: $property $time ease-in-out;
}

.lds-ring {
    display: inline-block;
    position: relative;
    width: 30px;
    height: 60px;
}

.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 40px;
    height: 40px;
    margin: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #fff transparent transparent transparent;
}

.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

// date-picker icon
::-webkit-calendar-picker-indicator {
    filter: invert(1);
}

.sw .toolbar > .btn.disabled,
.sw .toolbar > .btn:disabled {
    cursor: not-allowed;
}

@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

html {
    color-scheme: dark;
}
*,
html,
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.g-recaptcha {
    color-scheme: light;
}

#wrapper #content-wrapper {
    background: transparent;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    color-scheme: light;
}

[dir="rtl"] {
    .float-left {
        float: right !important;
    }

    .float-right {
        float: left !important;
    }

    .text-left {
        text-align: right !important;
    }

    .text-right {
        text-align: left !important;
    }

    .modal-header .close {
        margin: 0;
        display: contents;
        float: left;
    }

    .sidebar {
        padding-right: 0;
    }

    .sidebar-dark .sidebar-brand,
    .navbar {
        border-radius: 0;
    }

    .lw-original-text-line {
        direction: ltr;
        text-align: left;
    }

    .lw-lang-direction-ltr {
        textarea,
        input {
            text-align: left;
            direction: ltr;
        }
    }
}

h3,
.h3 {
    font-size: 1.5rem;
}

.card-header h5 {
    margin: 0;
    margin-left: 0;
}

hr {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

a,
a:hover {
    color: var(--lw-primary-color);
}

.btn {
    &:focus,
    &.focus {
        box-shadow: 0 0 0 0.2rem rgb(78 109 212 / 25%);
    }
    &:hover {
        color: rgb(255 255 255 / 86%);
    }
    &.btn-light:hover {
        color: #3a3b45;
    }
}

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

.btn-primary {
    color: #fff;
    background: var(--lw-primary-color);
    border-color: var(--lw-primary-color);
    &:hover {
        background-color: #0a69e7;
        border-color: #0a69e7;
    }
    &:focus,
    &.focus {
        color: #fff;
        background: var(--lw-primary-color);
        border-color: var(--lw-primary-color);
        box-shadow: 0 0 0 0.2rem var(--lw-primary-color);
    }

    &:not(:disabled):not(.disabled):active,
    &:not(:disabled):not(.disabled).active,
    .show > &.dropdown-toggle {
        color: #fff;
        background-color: var(--lw-primary-color);
        border-color: var(--lw-primary-color);
        &:focus,
        &:focus,
        &:focus {
            box-shadow: 0 0 0 0.2rem rgb(71 160 226 / 50%);
        }
    }
}

[x-cloak] {
    display: none !important;
}

.page-item.active .page-link {
    background: var(--lw-primary-color);
    border-color: var(--lw-primary-color);
}

.btn-outline-secondary {
    color: #858796;
    border-color: #3d3b48;
}

a:not([href]).btn-primary {
    color: #fff;
}

.btn-link {
    color: var(--lw-primary-color);
    &:focus,
    &:visited,
    &:active,
    &:hover {
        text-decoration: none;
    }
}

.input-group-text {
    color: #828282;
    background-color: #2d2d2d;
    border: 1px solid #3d3b48;
}

body {
    padding-bottom: 76px;
    color: #d8d8d8;
    background: var(--lw-page-bg-color);
    // font-family: "AR One Sans", monospace;
    // font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.15);
    #wrapper #content-wrapper {
        overflow: visible;
        padding-bottom: 60px;
    }

    &.lw-colorbox-opened {
        overflow: hidden;

        #wrapper {
            opacity: 0.6 !important;
            filter: blur(0.6px) grayscale(0.4);
            -webkit-filter: blur(0.6px) grayscale(0.4);
        }
    }
}

.lw-nav-content {
    margin-top: 16px;
}

.nav-tabs {
    border-bottom: 1px solid #858796;

    .nav-link {
        &:hover,
        &.active,
        &:active,
        &:focus {
            color: #ffffff;
            border-color: #858796 #858796 #1b1b24 #858796;
            background-color: #1b1b24;
        }
    }
}

.lw-page-bg {
    background: var(--lw-page-bg-color);
}

.lw-page-content {
    padding-left: 1.5rem;
}

.modal-content {
    color: white;
    background-color: rgb(31 31 31 / 95%);
    .modal-header {
        border-bottom: 1px solid var(--lw-secondary-bg-color);
    }
    .modal-footer {
        border-top: 1px solid var(--lw-secondary-bg-color);
    }

    .close {
        color: #e4e4e4;
    }
}

.modal-open .modal {
    -webkit-backdrop-filter: blur(2px) grayscale(0.4);
    backdrop-filter: blur(2px) grayscale(0.4);
}
.error {
    font-size: 0.85rem;
    width: 100%;
    line-height: 1.5;
    color: var(--lw-error-color);
}
.lw-form {
    .form-group {
        margin-bottom: 0;
        margin-top: 1rem;
    }
}
label.lw-validation-error,
div.lw-validation-error {
    color: var(--lw-error-color);
    font-size: 0.85rem;
    position: relative;
    line-height: 1;

    width: 100%;
    text-align: center;

    width: auto !important;
    .input-group & {
        width: 100% !important;
    }
    margin: 0 10px 0 10px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    background-color: rgba(255, 255, 255, 0.881);
    padding: 4px;

    .custom-checkbox & {
        text-align: left;
    }
}

[type="checkbox"] ~ label.lw-validation-error {
    position: absolute;
    bottom: -30px;
}

[type="radio"] ~ label.lw-validation-error {
    position: absolute;
    width: max-content;
    bottom: -22px;
    left: 24px;
}

.lw-deleted-row {
    opacity: 0.5;
    pointer-events: none;
}

.topbar .topbar-divider {
    border-right: 1px solid #3e3e3e;
}

.lw-logo-img {
    max-width: 180px;
    height: 80px;
    min-width: 80px;
    object-fit: contain;
    padding: 4px;

    .toggled & {
        height: 34px;
    }
}

.sidebar-brand-icon {
    display: none;

    .toggled & {
        display: block;
    }
}

@media (max-width: 768px) {
    .sidebar {
        border-right: 1px solid #3c3c3c;
    }
}

@media (min-width: 768px) {
    .sidebar {
        .nav-item .nav-link {
            padding: 0.4rem 1rem;
            width: auto;
        }

        width: 20rem !important;
    }
}

.lw-sidebar-thumbnail-container {
    padding-left: 16px;
    padding-bottom: 16px;
    display: block;
    .sidebar-toggled & {
        max-height: 236px;
        overflow: scroll;
    }
}

.lw-sidebar-ads-container {
    padding-left: 12px;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-bottom: 12px;
    max-width: 95%;
}

.lw-sidebar-thumbnail {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border: none;
    border-radius: 25px;
    background-color: rgba(159, 0, 117, 0.6);
    margin: 5px;
    padding: 1px;
}

.lw-icon-btn {
    display: inline-block;
    cursor: pointer;
    border: 1px solid #ffeeff;
    padding-top: 3px;
    margin-top: -4px;
    height: 30px;
    border-radius: 50%;
    width: 30px;
    text-align: center;
    background: white;
}

.lw-app-logo {
    width: 5rem;
    object-fit: contain;
}

.lw-horizontal-container {
    width: 100%;

    .lw-user-photo {
        height: 145px;
        width: 145px;
        object-fit: cover;
        border: 1px solid #3c3c48;
        border-radius: 4px;
        margin-left: 8px;
        margin-bottom: 8px;
    }

    .lw-user-photo-blank,
    .lw-user-photo-blank:hover {
        background-color: gray;
        vertical-align: middle;
        text-align: center;
        text-decoration: none;
        padding-top: 60px;
        color: white;
    }
}

form.user .form-control-user {
    padding: 1rem;
}

.form-group {
    label {
        margin-bottom: 0;
    }
}

.card {
    border: none;

    .lw-admin-section & {
        overflow: auto;
    }

    .card-header {
        background-color: var(--lw-card-bg-color);
        border-bottom: 1px solid #3d3c48;
    }

    .form-group label {
        width: 100%;
        justify-content: left;

        strong {
            font-weight: 600;
        }
    }
}

.list-group-item.list-group-item-action {
    background: #121118;
    color: #9496a5;
    border-color: #324a9e;
    &.active {
        background: var(--lw-primary-color);
        color: white;
    }

    .lw-category-sidebar & {
        border-color: #535660;
        border-radius: 8px;
        margin-bottom: 10px;
        font-size: 1.3em;
        &:last-child {
            border-bottom-width: 1px;
        }
    }
}

.form-control {
    border: 1px solid #3d3b48;

    &:disabled,
    &[readonly] {
        background-color: #272727 !important;
    }
    &::placeholder {
        color: #565555;
    }

    &:focus {
        color: #6e707e;
        background-color: #fff;
        border-color: #0091fc;
        outline: 0;
        box-shadow: 0 0 0 0.2rem rgb(1 143 248 / 50%);
    }
}

.input-group {
    .form-control {
        margin-top: 0;
    }
}

.sidebar-dark {
    .collapse-inner {
        background: #161616;
    }

    .sidebar-brand {
        height: 6.375rem;
        font-size: 1.3rem;
        justify-content: center;
        margin-right: 3px;
    }
    .nav-item {
        border-radius: 6px;
        .nav-link.active,
        .nav-link:focus,
        .nav-link:hover,
        .nav-link.active i {
            color: var(--lw-primary-color);
        }
    }
    .nav-item.active {
        background-color: #2b3044;
        .nav-link i,
        .nav-link {
            color: var(--lw-primary-color);
        }
    }

    .nav-item .nav-link {
        .badge {
            right: 30px;
            top: 22px;
        }

        i {
            width: 18px;
        }
    }
}

.lw-public-master {
    @media (min-width: 768px) {
        .sidebar-brand,
        .navbar {
            margin-top: -5px;
            margin-left: -16px;
        }
        .sidebar-brand {
            margin-left: 0;
        }
    }

    .sidebar-brand {
        border-radius: 8px;
    }
    .navbar {
        border-radius: 8px;
        height: 6.375rem;
        font-size: 1.3rem;
    }
}

.sidebar {
    text-align: center;

    img {
        max-width: 100%;
    }
}
.card,
.editor-toolbar {
    background-color: var(--lw-card-bg-color);
}
.form-control,
.form-control:focus {
    background-color: var(--lw-card-bg-color);
    color: #d4d4d4;
}

.list-group-item {
    background-color: transparent;
    border: 1px solid rgb(49, 49, 49);
}

.lw-form-in-process,
.lw-form-processing {
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;

    * {
        pointer-events: none;
    }

    .lw-transition {
        @include lwTransition();
    }

    .lw-spinner-box {
        width: 50%;
        max-width: 400px;
        position: absolute;
        text-align: center;
        vertical-align: middle;
        align-self: center;
        display: flex;
        color: rgb(255, 255, 255);
        z-index: 1;
        border-radius: 8px;
        overflow: hidden;
        padding: 15px;
        background-color: rgba(106, 119, 132, 0.35);
        backdrop-filter: blur(2px);
        @include lwTransition();
        .lw-spinner-box-inner {
            width: 100%;
        }
        & ~ * {
            filter: blur(1px) grayscale(0.5);
            -webkit-filter: blur(1px) grayscale(0.5);
        }

        .spinner-border {
            margin-bottom: 4px;
        }

        small {
            display: block;
        }

        .lds-ring {
            width: 40px;
            height: 40px;
        }

        .lw-spinner-box-text {
            margin: 16px 12px 0 12px;
        }
    }
}

.selectize-input {
    padding: 10px 12px 4px 0px;
}

.selectize-input,
.selectize-control.single .selectize-input.input-active {
    background: transparent;
}

.selectize-control.single .selectize-input:after {
    border-color: #8c8c8c transparent transparent transparent;
}

.selectize-control,
.form-control.selectize-control {
    border-bottom: 1px solid #3d3b48;
}

.selectize-dropdown,
.selectize-dropdown.form-control {
    background-color: #272a2d;
    color: white;

    border: 1px solid #49464b;
}
.lw-location-color {
    background-color: #121118 !important;
}

.selectize-input {
    padding-left: 0;

    &.focus {
        -webkit-box-shadow: none;
        box-shadow: none;
    }

    &.full {
        background-color: #121118;
    }

    border: none;
    color: #8c8c8c;

    input {
        color: #8c8c8c;
    }
}

.lw-user-gender-select-box {
    border-radius: 4px !important;
}

.selectize-dropdown {
    &.form-control {
        background: #302f35;
    }

    .active {
        background-color: #797979;
        color: #f7f7f7;
    }
}

/* style all elements with a required attribute */
input,
select,
textarea {
    &:invalid:required {
        border-right: var(--lw-primary-color) 3px solid;

        .custom-checkbox & {
            ~ .custom-control-label:after {
                content: " *";
                color: var(--lw-primary-color);
                left: unset;
                right: -18px;
                top: 2px;
            }
        }
    }
}
.custom-control-input:checked ~ .custom-control-label::before {
    border-color: var(--lw-primary-color);
    background: var(--lw-primary-color);
}

.custom-control-input:checked ~ .custom-control-label,
.custom-control-label {
    &::before,
    &::after {
        .custom-radio & {
            border-radius: 50%;
        }
    }
}

.custom-control-label {
    &::before,
    &::after {
        background-color: #3b3b3b;
        border: 1px solid #757574;
        border-radius: 4px;
    }

    [dir="rtl"] & {
        &:before,
        &:after {
            right: -22px;
        }
    }

    .custom-control-inline & {
        padding-top: 0px;
    }
}

.noty_layout {
    position: fixed;
    z-index: 10000;

    .noty_body {
        color: #625e69;
        text-align: center;
    }

    .noty_buttons {
        text-align: center;
        border: 1px solid #f3f3f3;
    }
}

.noty_modal {
    opacity: 0.4;
}

.lw-img-credits-radio-btns-container {
    margin-bottom: 30px;
    padding: 10px;
}

.lw-credit-balance {
    padding: 25px;
    border-radius: 8px;
    border: 1px solid white;
    margin-bottom: 36px;

    ~ .card {
        overflow: auto;
    }
}

#paypal-button-container {
    max-width: 400px;
    margin: 12px auto;
    padding: 15px 12px 0 12px;
    background-color: white;
    border-radius: 6px;
}

.lw-group-radio-option-img {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px !important;
    padding: 20px 0px;
    min-height: 142px;
    background-color: rgb(0 0 0 / 80%);
    border: 2px solid #272434;
    @include lwTransition();
    .lw-credit-package-name {
        font-weight: 600;
        width: 90%;
        margin: 0 auto;
        display: block;
        border-radius: 4px;
        padding: 6px;
    }

    &.active {
        border: 2px solid var(--lw-primary-color);
        -moz-transform: scale(1.05);
        -webkit-transform: scale(1.05);
        transform: scale(1.05);

        &::after {
            display: inline-block;
            content: "Selected";
            position: absolute;
            background-color: #1dc88a;
            top: -12px;
            padding: 4px 12px;
            right: 12px;
            font-size: 0.7em;
            color: white;
            border-radius: 2px;
        }

        .lw-credit-package-name {
            background: var(--lw-primary-color);
            color: white;
        }
    }

    small {
        white-space: nowrap;
        font-size: 65%;
    }

    img {
        object-fit: contain;
        height: 100px;
        width: 100px;
        border-radius: 50%;
        margin: 10px;
        border: 2px solid #282435;
    }
}

.lw-fieldset {
    padding: 14px;
    border: 1px solid #27262d;
    margin: 40px 0px 0 0;
    padding-bottom: 30px;

    .lw-fieldset-legend {
        width: unset;
        font-size: 1rem;
        padding: 10px 20px;
        border-radius: 8px;
        > img {
            height: 38px;
            width: 100px;
            background: white;
            padding: 6px 12px;
            border-radius: 4px;
            object-fit: contain;
        }
    }
}

.lw-disabled-block-content {
    display: block;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    opacity: 0.6;
    pointer-events: none;
    -webkit-filter: blur(0.5px) grayscale(0.4);
    filter: blur(0.5px) grayscale(0.4);
}

.lw-inline-edit-text {
    margin-top: 11px;
    margin-bottom: 7px;
}

.lw-profile-cover-photo-card {
    min-height: 100%;
}

/* Change Autocomplete styles in Chrome*/
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus {
    -webkit-text-fill-color: #8c8c8c;

    transition: background-color 5000s ease-in-out 0s;
}

.lw-profile-thumbnail {
    border-radius: 50%;

    img,
    & {
        height: 180px;
        width: 180px;
        padding: 1px;
        object-fit: cover;
        border: 4px solid rgba(255, 255, 255, 0.2);
    }

    &::after {
        display: inline-block;
        content: "";
        position: absolute;
        height: 36px;
        width: 36px;
        top: -6px;
        right: -6px;
    }
}

.toggled {
    .lw-profile-thumbnail {
        height: 60px;
        width: 60px;
    }
}

.lw-profile-image-card-container {
    height: auto;
    width: 100%;
    position: relative;

    .lw-cover-picture {
        height: 250px;
        width: 100%;
        object-fit: cover;
        border-radius: 4px;
    }

    .lw-profile-thumbnail {
        height: 300px;
        width: 300px;

        object-fit: cover;
        bottom: -30px;
        left: 20px;
        border: none;
        box-shadow: 0 0.15rem 1.75rem 0 rgba(0, 0, 0, 0.4);
        border-radius: 50%;

        @media (max-width: 768px) {
            height: 150px;
            width: 150px;
        }

        &.lw-lazy-img-loaded {
            border: 3px solid rgba(255, 255, 255, 0.3);
        }
    }

    &.lw-encounter-page .lw-profile-thumbnail {
        bottom: -24px;
        left: calc(50% - 150px);
    }

    .lw-profile-edit-button-container {
        position: absolute;
        z-index: 1;
        right: 30px;
        top: 30px;
    }
}

.page-link {
    border-color: #636363;
    background-color: #232227;
    color: #9596a0;

    .page-item.disabled & {
        border-color: #7b7b7b;
        background-color: #585858;
    }
}

.lw-show-till-loading {
    display: none;
}

.lw-page-loader {
    position: fixed;
    width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    z-index: 99;
    background: rgba(0, 0, 0, 0.5);
}

.lw-page-loader .spinner-border {
    position: absolute;
    left: 50%;
    top: 50%;
}

.lw-uploaded-preview-img {
    height: 73px;
    width: 73px;
    object-fit: contain;
}

#lwBoosterTimerCountDown {
    &.lw-active {
        background-color: #7d7d7d;
        padding: 4px 10px;
        border-radius: 2px;
    }
}

.lw-user-thumbnail-block {
    background-image: linear-gradient(1deg, #303030 0%, #1b1b24 100%);
    min-height: 320px;
    padding: 8px;

    @include lwTransition(0.2s, background-image);

    &:hover {
        background-image: radial-gradient(
            circle 874px at 9.8% 8%,
            var(--lw-primary-color),
            rgba(22, 22, 22, 1) 58.4%
        );
    }

    .card-title {
        margin-top: 16px;

        h5 {
            margin-left: 0;
            font-size: 0.8em;
        }

        .text-secondary,
        .text-secondary:hover {
            text-decoration: none;
            margin-bottom: 12px;
            display: block;
            color: #fffffa !important;
            border-bottom: 1px solid #898996;
            padding-bottom: 12px;
            font-size: 1.2em;
            cursor: pointer;
        }

        span {
            font-size: 0.8em;
            color: #b6b6b7;
        }
    }

    .lw-user-thumbnail {
        height: 120px;
        width: 120px;
        object-fit: cover;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.22);
    }
}

.lw-user-profile-image {
    width: 50px;
    height: 50px;
    border-radius: 40px;
}

.lw-bottom-action-container {
    display: flex;
    width: 470px;
}

.lw-advertisement-cards {
    img {
        height: 200px;
        width: 200px;
    }
}

.lw-block-user-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 104px;
}

.table {
    thead th {
        vertical-align: bottom;
        border-bottom: 2px solid #262629;
        background-color: #232227;

        &.lw-dt-nosort {
            &.sorting_desc,
            &.sorting_asc {
                &:before,
                &:after {
                    display: none;
                }
            }
        }
    }

    border: 1px solid #262629;

    th,
    td {
        border: 1px solid #262629;
        vertical-align: middle;

        > .btn.btn-sm {
            padding: 0.1rem 0.5rem;
            font-size: 0.775rem;
            line-height: 1.3;
            border-radius: 4px;
        }
    }
}

.lw-item-img-thumbnail {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.gmap_canvas,
#gmap_canvas {
    overflow: hidden;
    background: none !important;
    height: 300px;
    width: 100%;
}

.lw-dot {
    display: inline-block;
    border-radius: 50%;
    width: 50%;
    background-color: #eee;
    height: 15px;
    width: 15px;
    margin: 0 2px;

    &.lw-dot-success {
        background-color: #449d44 !important;
        float: right;
    }

    &.lw-dot-warning {
        background-color: #f0ad4e !important;
        float: right;
    }

    &.lw-dot-danger {
        background-color: #d9534f !important;
        float: right;
    }
}

.lw-anchor-tag-link {
    color: #858796;
    text-decoration: none;
    font-weight: 900;
}

.lw-anchor-tag-link:hover {
    color: #858796;
    font-weight: 900;
}

.navbar-nav {
    margin-left: auto;
}

[dir="rtl"] body {
    .lw-page-content {
        padding-left: 0;
        padding-right: 1.5rem;

        @media (max-width: 1190px) {
            padding-left: 1.5rem;
        }
    }

    text-align: right;

    .lw-icon-btn {
        margin-left: 10px;
    }

    input,
    .dropdown-menu {
        text-align: right;

        .dropdown-item {
            padding-right: 4px;

            & > div,
            .dropdown-list-image {
                margin-left: 8px;
            }
        }
    }

    .input-group > {
        * {
            border-radius: 0;

            &:last-child {
                border-top-left-radius: 0.35rem;
                border-bottom-left-radius: 0.35rem;
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
            }

            &:first-child {
                border-top-right-radius: 0.35rem;
                border-bottom-right-radius: 0.35rem;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
            }
        }

        .input-group-prepend,
        .input-group-append {
            border-radius: 0;

            *:not(:last-child):not(.dropdown-toggle) {
                border-radius: 0;
            }

            &:last-child > * {
                border-top-left-radius: 0.35rem;
                border-bottom-left-radius: 0.35rem;
                border-top-right-radius: 0;
                border-bottom-right-radius: 0;
            }

            &:first-child > * {
                border-top-right-radius: 0.35rem;
                border-bottom-right-radius: 0.35rem;
                border-top-left-radius: 0;
                border-bottom-left-radius: 0;
            }
        }
    }

    .page-item {
        &:last-child .page-link {
            border-top-left-radius: 0.35rem;
            border-bottom-left-radius: 0.35rem;
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;
        }

        &:first-child .page-link {
            border-top-right-radius: 0.35rem;
            border-bottom-right-radius: 0.35rem;
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;
        }
    }

    .btn-group > {
        .btn:not(:last-child):not(.dropdown-toggle),
        .btn-group:not(:last-child) > .btn {
            border-top-left-radius: 0;
            border-bottom-left-radius: 0;

            border-top-right-radius: 0.2rem;
            border-bottom-right-radius: 0.2rem;
        }

        .btn:not(:first-child):not(.dropdown-toggle),
        .btn-group:not(:first-child) > .btn {
            border-top-right-radius: 0;
            border-bottom-right-radius: 0;

            border-top-left-radius: 0.2rem;
            border-bottom-left-radius: 0.2rem;
        }
    }

    .navbar-nav,
    .btn-group {
        margin-left: 0;
        margin-right: auto;

        .nav-item .nav-link {
            text-align: right;
        }

        .dropdown-menu-right {
            transform: none !important;
            left: 0;
            right: auto;
        }
    }
}

.lw-datatable-action-dropdown-toggle {
    &:after {
        content: unset;
    }
}

.lw-datatable-profile-picture {
    height: 50px;
    width: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.lw-basic-filter-container {
    width: 40vw;
    min-width: 460px;
    border: 6px solid black;
    border-radius: 0;
    margin-top: 0;
    background-image: linear-gradient(135deg, #383843 0%, #1b1b24 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);

    input,
    select,
    .form-control {
        &,
        &:hover,
        &:active,
        &:focus {
            background-color: white;
            color: black;
        }
    }
}

.lw-looking-for-container {
    label {
        font-weight: bold;
        margin-bottom: 5px;
    }
}

.lw-age-between-container {
    label {
        font-weight: bold;
        margin-bottom: 5px;
        justify-content: left;
    }
}

.lw-distance-location-container {
    label {
        font-weight: bold;
        margin-bottom: 5px;
        justify-content: left;
    }
}

.lw-basic-filter-field {
    margin-right: 20px;
    margin-top: 10px;
}

.lw-advance-filter-container {
    display: none;
    width: 100%;
    color: white;
    height: 50px;
    border: 4px solid #73737d;
    margin-bottom: 25px;

    background-image: linear-gradient(135deg, #383843 0%, #1b1b24 100%);
    border-radius: 4px;
    transition-property: height, border-radius;
    transition-duration: 0.2s;
    transition-timing-function: linear;
    overflow: hidden;
    padding-bottom: 50px;
}

#lwAdvanceFilterTabContent {
    height: 210px;
}

.lw-expand-filter {
    height: 350px;
    display: block;

    .custom-control-label {
        width: 100%;
        margin: 6px 0;
        cursor: pointer;
    }

    @media (max-width: 768px) {
        & {
            height: auto;
        }

        &.lw-advance-filter-container {
            padding-bottom: 0;
            .lw-advance-filter-tabs .lw-search-button-container {
                margin-bottom: -8px;
            }
        }
    }

    .nav-tabs .nav-link {
        color: #d2d2d2;
    }
    .nav-tabs .nav-link:hover,
    .nav-tabs .nav-link:active,
    .nav-tabs .nav-link:focus {
        border-color: #858796 #858796 #1b1b24 #858796;
    }

    .tab-pane {
        height: 210px;
        overflow-y: auto;
        overflow-x: hidden;
        display: block;
        padding-bottom: 10px;
        &.active {
            background-color: #1b1b24;
            margin: 0 8px;
        }

        [dir="rtl"] & {
            padding-right: 34px;
        }

        &.fade:not(.show) {
            display: none;
        }
    }
}

.lw-load-more-container {
    text-align: center;
    margin-top: 50px;
}

table,
.table {
    width: 100% !important;
}

.pswp__button {
    border: 0;
}

.pswp__button.pswp__button--arrow--left:before,
.pswp__button.pswp__button--arrow--right:before,
.pswp__button.pswp__button--zoom,
.pswp__button.pswp__button--fs,
.pswp__button.pswp__button--share,
.pswp__button.pswp__button--close {
    background-image: url("../../imgs/photoswipe/default-skin/default-skin.png");
    border: 0;
}

.pswp__preloader--active .pswp__preloader__icn {
    background-image: url("../../imgs/photoswipe/default-skin/preloader.gif");
}

.pswp__top-bar button {
    float: right;
}

img.pswp__img {
    object-fit: contain;
}

footer.sticky-footer {
    margin-top: 50px;
    color: gray;
    position: absolute;
    width: 100%;
    left: 0;
    bottom: 0;
}

img.lw-lazy-img {
    & {
        background: #ffffff url("./../../imgs/ajax-loader.gif") no-repeat center
            center;
    }

    &-loaded {
        background: transparent;
    }

    &-error {
        background: url("./../../imgs/no_thumb_image.jpg") no-repeat center
            center !important;
        background-size: contain !important;
    }
}

#cboxBottomLeft,
#cboxBottomCenter,
#cboxBottomRight,
#cboxMiddleLeft,
#cboxMiddleRight,
#cboxTopLeft,
#cboxTopCenter,
#cboxTopRight {
    display: none;
}

#colorbox,
#cboxLoadedContent,
iframe.cboxIframe,
#cboxContent {
    background: #252525;
    padding: 0;
    margin: 0;
}

.lw-cookie-policy-container {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    margin: 0;
    background: rgba(255, 255, 255, 0.95);
    color: black;
    -webkit-backdrop-filter: blur(2px) grayscale(0.4);
    backdrop-filter: blur(2px) grayscale(0.4);
}

.lw-payment-checkout-btn {
    min-width: 286px;

    background-color: #ffffff;
    border-color: #32325d;
    margin-bottom: 6px;

    &:hover {
        color: #fff;

        border-color: #32325d !important;
    }
}

.lw-ad-block-h90 {
    max-height: 90px;
    display: block;
    overflow: hidden;
    margin-bottom: 16px;
    border-radius: 2px;
    padding-left: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .sidebar .nav-item {
        margin: 6px 0;
        .nav-link span {
            font-size: 1rem;
        }
    }
}

@media (min-width: 1920px) {
    .lw-public-master {
        .container-fluid {
            max-width: 1920px;
        }
    }
}

@media (max-width: 1366px) {
    .lw-public-master .container-fluid {
        padding: 0;

        .lw-page-content {
            padding-right: 1.5rem;
        }

        .lw-expand-filter .tab-pane {
            padding-bottom: 90px;
        }
    }

    .btn.lw-group-radio-option-img {
        width: 40%;
    }
}

@media (max-width: 767px) {
    .btn-block-on-mobile {
        width: 100%;
    }

    .btn.lw-group-radio-option-img {
        width: 100%;
    }

    .lw-basic-filter-field {
        width: 100%;
        margin-bottom: 8px;

        input.form-control,
        select.form-control {
            width: 100%;
        }

        select {
            margin-bottom: 4px;
        }
    }

    div.dataTables_wrapper div.dataTables_paginate {
        ul.pagination {
            justify-content: center;
            margin-top: 16px;
        }

        .paginate_button {
            display: none;

            &.next,
            &.previous {
                display: inline-block;
            }
        }
    }

    .lw-horizontal-container .lw-user-photo {
        width: 100%;
    }
}

div.dataTables_wrapper {
    div.dataTables_paginate {
        margin: 30px 0 8px 0;
    }
    .dataTables_info {
        margin: 20px 0 8px 0;
    }
}

.sidebar .nav-item .nav-link .img-profile,
.topbar .nav-item .nav-link .img-profile {
    object-fit: cover;
}

.custom-checkbox
    .custom-control-input:disabled:checked
    ~ .custom-control-label::before {
    background-color: #686976;
    border-color: #686976;
}

.lw-file-uploader {
    .lw-validation-error {
        z-index: 3;
        top: 5px;
    }
}

.input-group > .input-group-prepend > .btn,
.input-group > .input-group-prepend > .input-group-text,
.input-group > .input-group-append:not(:last-child) > .btn,
.input-group > .input-group-append:not(:last-child) > .input-group-text,
.input-group
    > .input-group-append:last-child
    > .btn:not(:last-child):not(.dropdown-toggle),
.input-group
    > .input-group-append:last-child
    > .input-group-text:not(:last-child) {
    border-left: 0;
}

.filepond--credits {
    display: none;
}
.filepond--panel-root {
    border-radius: 0.5em;
    background-color: #3a3b45;
}
.filepond--label-action {
    color: #ffffff;
    text-decoration: none;
}
.filepond--drop-label.filepond--drop-label label {
    color: #b2b2b2;
}
input#selectLocationCity-selectized {
    width: auto !important;
}

.sw > .tab-content {
    min-height: 550px;
    height: auto !important;

    @media (max-width: 1190px) {
        height: auto !important;
    }
}

.sw-theme-basic > .nav .nav-link.default {
    color: #d5d5d5 !important;
}
.sw-theme-basic > .nav .nav-link.active {
    &::after {
        background-color: var(--lw-primary-color) !important;
    }
    color: var(--lw-primary-color) !important;
}

.sw-theme-basic > .nav .nav-link {
    &::after {
        background: var(--lw-primary-color) !important;
    }
    &.done {
        color: var(--lw-primary-color) !important;
    }
}
.sw-btn {
    &.disabled,
    &:disabled {
        background: grey !important;
        border-color: grey !important;
        box-shadow: none;
    }
    background: var(--lw-primary-color) !important;
    border-color: var(--lw-primary-color) !important;
}

.lw-text-shadow {
    text-shadow: 6px 6px 16px white;
}

.lwIcons {
    margin-left: -2px;
}

body:not(.lw-ajax-form-ready) form.lw-ajax-form {
    &,
    *,
    &:before {
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -khtml-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
        pointer-events: none;
        cursor: wait;
    }
    &:before {
        content: "please wait";
        display: flex;

        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        z-index: 2;
        -webkit-backdrop-filter: blur(2px) grayscale(0.4);
        backdrop-filter: blur(2px) grayscale(0.4);
        align-items: center;
        justify-content: center;
    }
}
.ad-container {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.ad-container img {
    max-width: 100%;
    max-height: 100%;
}

.credits-display-text {
    position: absolute;
    left: 0rem;
    right: 3rem;
    margin-top: -1rem;
}
.dark-theme {
    background-color: #333;
    color: #fff;
}

.lw-payment-img {
    height: 80px;

    padding: 6px 12px;
    border-radius: 4px;
    -o-object-fit: contain;
    object-fit: contain;
}

.swal2-styled.swal2-deny {
    background-color: var(--lw-primary-color) !important;
}
.dropdown-menu,
.topbar .dropdown-menu {
    background-color: rgb(31 31 31 / 95%);
    border: 1px solid rgb(31 31 31 / 95%);
    border-radius: 0.35rem;
    .dropdown-item {
        color: #d1d3e2;
        &:hover,
        &:focus,
        &:active {
            background-color: #000000;
        }
    }
    .dropdown-divider {
        border-top: 1px solid var(--lw-secondary-bg-color);
    }
}

.lw-country-code-select {
    max-width: 150px;
}

/* Chrome, Safari, Edge, Opera */
input.lw-remove-spinner::-webkit-outer-spin-button,
input.lw-remove-spinner::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
input.lw-remove-spinner[type="number"] {
    -moz-appearance: textfield;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    width: 1em;

    opacity: 0.4;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
}

.lw-contains-profile-fields {
    .form-control {
        margin-top: 4px;
        border: none;
        border-bottom: 1px solid #3d3b48;
        padding-left: 0;
        border-radius: 0;
    }
}

.topbar #sidebarToggleTop:hover {
    background-color: #3a3a45;
}

.lw-custom-field-section {
    margin-top: 80px;
    .lw-fieldset-legend {
        width: 100%;
    }
}

.lw-fieldset,
.lw-custom-field-section {
    .lw-fieldset-legend,
    &,
    &:hover,
    &:focus-within {
        background-color: #1c1c24;
    }
}

.swal2-html-container {
    color: #ffffff !important;
}

.lw-bonus-credits-badge {
    margin-top: 48rem !important;
    position: absolute !important;
    height: 20% !important;
    margin-left: -1rem !important;
}

div.lw-validation-error {
    margin-bottom: 0.5rem;
}

.topbar .dropdown-list {
    .dropdown-header {
        background: var(--lw-primary-color);
        border: 1px solid var(--lw-primary-color);
    }
}

.lw-image-generator-block {
    .fa-search {
        position: absolute;
        top: 19px;
        left: 31px;
        color: #9ca3af;
        border-radius: 10px;
    }
}

.lw-ai-generated-img {
    width: 22rem;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
}

pre::-moz-selection {
    color: #add8e6;
}
pre::selection {
    color: #add8e6;
}

#textGeneratedDisplay,
.lw-code-block-container {
    @include lwTransition();
    &.lw-blur-container {
        filter: blur(2px) grayscale(1);
    }

    white-space: break-spaces;
    margin: 0;
    padding: 10px;
    .lw-copy-to-clipboard {
        position: absolute;
        right: 50px;
        cursor: pointer;
    }
}

.lw-generator-content {
    // Markdown editor
    .CodeMirror,
    .EasyMDEContainer .CodeMirror-fullscreen,
    .editor-preview,
    .editor-preview-side,
    .editor-toolbar.fullscreen {
        background: #21212a;
        color: #cfcfcf;
    }

    .CodeMirror-focused .CodeMirror-selected,
    .CodeMirror-line::selection,
    .CodeMirror-line > span::selection,
    .CodeMirror-line > span > span::selection {
        background: #000000 !important;
    }

    .editor-preview {
        &::-moz-selection {
            /* Code for Firefox */
            background: rgba(255, 255, 0, 0.24);
        }
        &::selection {
            background: rgba(255, 255, 0, 0.24);
        }
        pre {
            border-radius: 4px;
            margin-right: 30px;
        }
    }

    .editor-toolbar {
        button.active,
        button:hover {
            color: #21212a !important;
        }
        a {
            color: #ffffff !important;
            background: #21212a;
            &.active,
            &:hover {
                background: #21212a;
            }
        }
    }
}

.trumbowyg:not(.trumbowyg-fullscreen).trumbowyg-box .trumbowyg-editor {
    min-height: 15.5rem !important;
}

.lwShowMoreAndLessBtn {
    color: var(--lw-primary-color);
    cursor: pointer;
}

.lw-image-generation-size {
    width: 150px;
}

.lw-list-item-icon {
    height: 25px;
}

.lw-template-item-box {
    .card {
        text-align: center;
        border: 1px solid #3a3946;
        .card-title {
            color: #eaf3fb;
        }
        img {
            height: 80px;
            padding-top: 12px;
        }

        margin-bottom: 26px;
        .card-footer {
            background-color: #3a3946;
            border-top: 1px solid #3a3946;
        }
    }
}

.lw-image-download-icon {
    position: absolute;
    top: 20px;
    left: 30px;
}
.lw-generated-image-download-icon {
    position: absolute;
    top: 24px;
}

.lw-prompt-response-area {
    height: 50vh !important;
}

pre {
    line-height: 20px;
    background: #efefef;
    padding: 10px;
    color: #777;
}

.daterangepicker {
    color: #858796 !important;

    li.active {
        color: #ffffff !important;
    }
    .btn:hover {
        color: #858796;
        text-decoration: none;
    }
}
.lw-category-filter-input {
    font-size: 1.35rem;
    border-radius: 50px;
    padding: 0 25px;
    text-align: center;
}

.lw-page-header {
    background-color: black;
    padding: 60px 30px;
    border-radius: 12px;
    h1 {
        font-size: 2.5rem;
        font-family: "Bungee Spice", sans-serif;
    }
}
.green-audio-player {
    width: auto;
    background-color: #1a1a1a;
    .volume .volume__button.open path {
        fill: var(--lw-primary-color);
    }
    .slider .gap-progress {
        background-color: var(--lw-primary-color);
        .pin {
            background-color: var(--lw-primary-color);
        }
    }
    .controls {
        color: #858796;
    }
    svg path {
        fill: #858796;
    }
}
.lw-public-price-block {
    margin-bottom: 20px;
    margin-top: 20px;
}
.lw-history-img-thumbnail {
    height: 150px;
    object-fit: contain;
}

.lw-license-dynamic-block {
    .error {
		color: #ff0000;
		font-size: initial;
		position: relative;
		width: inherit;
	}
}