@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

/* ====================
1.	Reset
====================== */

* {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
    line-height: inherit;
}

/* =========================
2.	Global Settings
============================= */

:root {
    --thm-font: "Open Sans", sans-serif;
    --thm-b-font: "Poppins", sans-serif;
    --thm-base: #000000;
    --thm-text: #666666;
    --thm-dark: #2a2a2a;
    --thm-hover: #feb406;
}

body {
    font-size: 14px;
    font-family: var(--thm-font);
    color: var(--thm-text);
}

.theme_color {
    color: var(--thm-base);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: var(--thm-base);
}

a:hover,
a:focus,
a:visited,
a:active {
    text-decoration: none;
    box-shadow: none;
    outline: none;
}

a:hover {
    color: var(--thm-hover);
}

input,
select,
button {
    font-family: var(--thm-font);
}

textarea {
    overflow: hidden;
    resize: none;
}

button {
    outline: none !important;
    cursor: pointer;
}

p {
    margin-bottom: 0;
}

img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.form-control {
    background-color: #f5f5f5;
}

.form-select:focus {
    box-shadow: none;
}

.form-control:focus {
    box-shadow: none;
    background-color: #f5f5f5;
    border-color: var(--thm-text);
}

::-webkit-input-placeholder {
    color: inherit;
}

::-moz-input-placeholder {
    color: inherit;
}

::-ms-input-placeholder {
    color: inherit;
}

.spacer {
    margin-bottom: 100px;
}

.thm-btn {
    padding: 7px 25px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--thm-b-font);
    color: #ffffff;
    background-color: var(--thm-base);
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease-out 0s;
    border: none;
    display: inline-block;
}

.thm-btn:hover {
    background-color: var(--thm-hover);
    color: var(--thm-base);
}

.thm-btn-2 {
    font-weight: 500;
    color: var(--thm-base);
    font-size: 14px;
    text-align: center;
    position: relative;
}

.thm-btn-2::after {
    content: "";
    position: absolute;
    left: 0%;
    top: auto;
    right: 0%;
    bottom: -15%;
    width: 0;
    height: 1px;
    background-color: var(--thm-hover);
    transition: all 0.4s ease-in;
}

.thm-btn-2 i {
    transition: all 0.3s ease-in;
    margin-left: 3px;
}

.thm-btn-2:hover i {
    transform: translateX(3px);
    transition: all 0.3s ease-in;
}

.thm-btn-2:hover::after {
    width: 80%;
    transition: all 0.4s ease-in;
}

@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* ================popup================ */

.image-modal .modal-header {
    position: relative;
    justify-content: center;
    padding: 20px 0;
}

.title-bar {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.title-bar h4 {
    color: var(--thm-base);
}

.image-modal .modal-header .search_widget {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-modal .modal-header .search_widget .search-input {
    width: 100%;
}

.image-modal .modal-header .search_widget > * {
    margin-right: 10px;
}

.image-modal .modal-header .search_widget > *:last-child {
    margin: 0;
}

.image-modal .modal-header .btn-close {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    margin: 0;
}

.image-list #product-topbar {
    background-color: #f5f5f5;
    margin-bottom: 15px;
    border: 1px solid #eeeeee;
    border-radius: 4px;
    /* padding: 10px 0; */
    /* overflow: hidden; */
}

.image-list #product-topbar .all-select {
    background: #000;
    color: #fff;
    padding: 12px;
}

.image-list #product-topbar .sort-select .checkbox-dropdown,
.image-list #product-topbar .thumbnail-select .checkbox-dropdown {
    border: none;
    z-index: 999;
}

.image-list #product-topbar .thumbnail-select {
    margin-left: 20px;
}

.image-list #product-topbar .topbar-select-box {
    display: flex;
}

.image-list #product-topbar .box-sort-by {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.image-list .image-box {
    position: relative;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    padding: 10px;
    align-items: center;
    justify-content: center;
}

.image-list .image-box img {
    width: 200px;
    height: 200px;
}

.image-list .image-box .image-checkbox {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    border-radius: 0;
    width: 25px;
    height: 25px;
}

span.custom-control input {
    height: 18px;
    width: 18px;
}

.image-list .image-box .img-option {
    margin-top: 10px;
}

.checkbox-dropdown {
    width: 100%;
    border: 1px solid #e7e8e9;
    padding: 10px 30px 10px 15px;
    position: relative;
    margin: 0 auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    z-index: 99;
    color: var(--thm-text);
}

.image-box .checkbox-dropdown {
    margin: 10px auto 0;
}

.checkbox-dropdown .checkbox-dropdown-list {
    list-style: none;
    margin: 0;
    padding: 10px 0 10px 0;
    position: absolute;
    top: 100%;
    border: inherit;
    left: -1px;
    right: -1px;
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    height: auto;
    overflow-x: hidden;
    pointer-events: none;
    background: #ffffff;
    filter: drop-shadow(0px 4px 15px rgba(0, 0, 0, 0.08));
}

.checkbox-dropdown .checkbox-dropdown-list li label {
    display: block;
    padding: 2px 15px;
    transition: all 0.2s ease-out;
    color: #2d2828;
}

.checkbox-dropdown .checkbox-dropdown-list li label:hover {
    color: var(--thm-base);
}

.checkbox-dropdown .checkbox-dropdown-list li label input {
    margin-right: 10px;
}

.checkbox-dropdown .checkbox-dropdown-list li label input:checked {
    accent-color: var(--thm-base);
}

.checkbox-dropdown::after {
    content: "";
    height: 0;
    position: absolute;
    width: 0;
    border: 6px solid transparent;
    border-top-color: #000;
    top: 50%;
    right: 10px;
    margin-top: -3px;
}

.checkbox-dropdown.is-active::after {
    border-bottom-color: #000;
    border-top-color: #fff;
    margin-top: -9px;
}

.checkbox-dropdown.is-active .checkbox-dropdown-list {
    opacity: 1;
    pointer-events: auto;
}

/*  */

.multiselect-container > li > a > label {
    padding: 4px 20px 3px 20px;
}

/* ========sidebar======= */

.side-title {
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
    color: var(--thm-base);
}

.back-btn {
    margin-bottom: 15px;
}

.back-btn a {
    font-size: 14px;
    text-transform: capitalize;
    font-weight: 600;
    color: var(--thm-base);
    margin-bottom: 3px;
    display: block;
}

.back-btn a i {
    margin-right: 5px;
}

.sidebar .categories-block .categories-menu {
    padding: 10px 15px;
    position: relative;
    width: 100%;
}

.sidebar .categories-block .categories-menu a {
    font-size: 14px;
    color: var(--thm-text);
    transition: all 0.3s;
}

.sidebar .categories-block .categories-menu li > a {
    display: block;
    padding: 5px 0;
}

.sidebar .categories-block .categories-menu li .sub-categories {
    padding: 0 0 0 15px;
}

.sidebar .categories-block .categories-menu li {
    position: relative;
    padding: 0;
}

.sidebar .categories-block .categories-menu .icon-collapse {
    position: absolute;
    right: 0;
    top: 5px;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.sidebar
    .categories-block
    .categories-menu
    .icon-collapse[data-bs-toggle="collapse"][aria-expanded="true"] {
    transform: rotate(180deg);
}

.sidebar .filter {
    display: block;
    margin-bottom: 30px;
}

.sidebar .filter h4 {
    font-size: 16px;
    padding: 15px;
    margin-bottom: 0;
    display: block;
    background: #f5f5f5;
    color: var(--thm-text);
    letter-spacing: 0.5px;
    line-height: 18px;
}

.clear-all {
    color: var(--thm-base);
    font-weight: 600;
    margin-left: 20px;
}

.clear-all:hover {
    color: var(--thm-hover);
}

.clear-all:focus {
    box-shadow: none;
}

.sidebar .filter .facet-block {
    margin-bottom: 10px;
}

.sidebar .filter .facet-block .inner-title {
    color: var(--thm-base);
    font-size: 18px;
}

.sidebar .filter .facet-lable {
    padding: 0 0 5px 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.sidebar .filter .facet-block .custom-control {
    position: relative;
    z-index: 1;
    display: flex;
    align-content: center;
    min-height: 0;
}

.sidebar .filter .facet-block .custom-control a {
    width: 100%;
    display: inline-flex;
    justify-content: flex-start;
    align-items: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-left: 10px;
}

.sidebar .filter .facet-price {
    display: flex;
    padding: 0 20px 10px 0;
}

.sidebar .filter .facet-price > * + * {
    margin-left: 20px;
}

.sidebar .filter .field {
    position: relative;
    display: flex;
    width: 100%;
    align-items: center;
}

.sidebar .filter .field-currency {
    color: var(--thm-black);
    font-weight: 500;
    margin-right: 5px;
}

.sidebar .filter .field-input {
    border-radius: 30px;
    text-align: left;
    background-color: transparent;
    border: 1px solid #e9e9e9;
    color: var(--thm-text);
    appearance: none;
    padding: 10px;
    margin: 0;
}

.sidebar .filter .facet-block.color .color-swatch li {
    display: inline-block;
    vertical-align: middle;
}

.sidebar .filter .filter-color {
    width: 32px;
    height: 32px;
    box-shadow: 5px 5px 5px #e0e0e0;
    opacity: 0.7;
    line-height: 41px;
    text-align: center;
    display: inline-block;
    cursor: pointer;
    margin: 0;
}

.sidebar .filter .facet-block.color .color-swatch .facet-lable {
    margin-right: 5px;
    margin-bottom: 5px;
}

.sidebar .filter .sidebar_search {
    display: flex;
}

.sidebar .filter .sidebar_search input {
    border-radius: 4px 0 0 4px;
}

.sidebar .filter .sidebar_search button {
    border-radius: 0 4px 4px 0;
}

/* ==========09-03-23====== */

.modal-dialog {
    max-width: 100% !important;
    margin: 0 !important;
}

.modal {
    padding: 15px;
    overflow: hidden;
    /* background-color: #ffffff; */
}

/* .modal-body{
    height: 800px;
    overflow-y: auto;
  } */

.image-list {
    overflow-y: auto;
    /* height: 100vh; */
    max-height: calc(100vh - 145px);
}

/* .modal-footer {
    position: fixed;
    width: 100%;
    bottom: 0;
    background-color: #fff;
    z-index: 99;
} */

/* 
.modal-footer .add-asset {
    background-color: #0d6efd;
} */

.modal-footer .add-asset:hover {
    background-color: #000000;
    color: #ffffff;
}
.sidebar {
    overflow-y: auto;
    max-height: calc(100vh - 145px);
}

.inner-preloader {
    width: 100%;
    position: fixed;
    height: 100%;
    background: rgb(255 255 255 / 80%);
    z-index: 9999;
    display: grid;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    pointer-events: auto;
}
.preloader {
    width: 100%;
    position: fixed;
    height: 100%;
    background: rgb(255 255 255 / 80%);
    z-index: 9999;
    display: grid;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
}
.goDiv {
    border: 1px solid black;
    padding: 10px;
    display: inline-flex;
    margin-right: 5px;
    align-items: center;
    justify-content: center;
}
.goDiv i {
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
    display: block;
}
