body {
    line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

nav ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

a {
    margin: 0;
    padding: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

/* change colours to suit your needs */
ins {
    background-color: #ff9;
    color: #000;
    text-decoration: none;
}

/* change colours to suit your needs */
mark {
    background-color: #ff9;
    color: #000;
    font-style: italic;
    font-weight: bold;
}

del {
    text-decoration: line-through;
}

abbr[title],
dfn[title] {
    border-bottom: 1px dotted;
    cursor: help;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #cccccc;
    margin: 1em 0;
    padding: 0;
}

input,
select {
    vertical-align: middle;
}

/* div{
    overflow-x: scroll !important;
} */
td h6 {
    width: max-content !important;
}

/* 
HTML5 Doctor Reset v1.6.1
http://html5doctor.com/html-5-reset-stylesheet/
CSSresetr.com
*/
@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Vazirmatn;
    src: url('../fonts/webfonts/Vazirmatn-FD-NL-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

body {
    font-family: Vazirmatn !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    overflow-x: hidden !important;
    background-color: #f5f7fa;
}

* {
    font-family: Vazirmatn !important;
}

i {
    font-family: "Font Awesome 6 Free" !important;
}

.navbar .nav-link {
    font-size: 1rem !important;
}

.active {
    color: #5a8dee !important;
}

/*
.form-control {
    background-color: #ffffffab !important;
} */

header.masthead {
    padding-top: 5rem;
    padding-bottom: calc(10rem - 4.5rem);
    background: linear-gradient(to bottom, rgba(92, 77, 66, 0.23) 0%, rgba(92, 77, 66, 0.8) 100%), url("/img/bg-gray.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.card {
    border-radius: 3px !important;
    box-shadow: none !important;
    border-width: 0 !important;
    background-color: #fff !important;
}

#mainNav .navbar-brand,
#mainNav .navbar-nav .nav-item .nav-link {
    font-weight: initial;
}

.navbar .navbar-brand {
    color: #344767;
    font-size: initial;
}

#mainNav {
    padding: 10px !important;
}

.form-control {
    border: 1px solid #d2d6da !important;
}

table.dataTable.no-footer {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.bg-sormey {
    background-color: #131f2f !important;
}

.bg-sormey-opacity {
    background-color: #131f2fd6 !important;
}

.text-sormey {
    color: #131f2f !important;
}

.dataTables_wrapper .dataTables_paginate {
    margin: 25px auto;
    background: #8080804d;
    border-radius: 10px;
    padding-top: 0 !important;
    float: initial !important;
    width: max-content;
}

.dataTables_wrapper .dataTables_filter {
    float: right;
    text-align: right;
    margin-bottom: 5px;
    background: #8080804d;
    padding: 10px 15px 2px;
    border-radius: 10px;
}

.dataTables_wrapper .dataTables_filter input {
    border: 1px solid #b9b9b9 !important;
    border-radius: 5px !important;
    padding: 5px !important;
    background-color: white !important;
    margin-left: 3px;
    margin-right: 10px;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    height: initial !important;
}

.ul-list {
    background: whitesmoke;
    padding: 25px 15px !important;
    min-width: 220px !important;
    border: 1px solid #bfbfbf !important;
}

.list-group-item:first-child {
    border-top-left-radius: 7px !important;
    border-top-right-radius: 7px !important;
}

.dropdown-toggle::after {
    display: initial !important;
    margin-left: initial !important;
    vertical-align: initial !important;
    content: initial !important;
    border-top: initial !important;
    border-right: initial !important;
    border-bottom: initial !important;
    border-left: initial !important;
}

.btn.btn-sm i,
.btn-group-sm>.btn i {
    font-size: initial !important;
}

.border-radius-xl {
    border-radius: 0.25rem !important;
}

.navbar-vertical .nav-item:hover .nav-link {
    border-radius: 0.25rem !important;
}

.category-third {
    display: grid;
    margin: 15px auto;
    gap: 10px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    /* height: 100%; */
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    /* align-items: baseline; */
}

a.cat-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    text-align: center;
    border: none;
}

.category-third .cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    align-items: center;
    display: flex;
    justify-content: center;
}

.cat-box h3 {
    margin-top: 8px;
    color: #2d2d2d;
    font-weight: 900;
    font-size: 13px;
}

.category-third img {
    width: 100%;
    border-radius: 8px;
}

.bg-secondary {
    background-color: #eaeaea !important;
}

.avatar img {
    width: 100%;
    height: 100%;
}

table.dataTable thead th,
table.dataTable thead td,
table.dataTable tfoot th,
table.dataTable tfoot td {
    text-align: initial;
}

.bg-black {
    background-color: #424242 !important;
}

.g-sidenav-show.rtl .navbar-vertical .navbar-nav .nav-link[data-bs-toggle="collapse"]::after {
    margin-left: 0;
    margin-right: 8px !important;
}

label {
    z-index: 100 !important;
}

/* Custom File Input  */
.custom-file-input {
    display: inline-block;
    position: relative;
    color: #ffffff;
}

.custom-file-input input {
    visibility: hidden;
    width: 150px;
}

.custom-file-input:before {
    content: 'انتخاب تصویر اصلی';
    /* /* display: block; */
    /* background-color: #0ec497; */
    border-radius: 12px;
    padding: 0px 0px;
    outline: none;
    /* white-space: nowrap; */
    cursor: pointer;
    /* text-shadow: 1px 1px rgba(255,255,255,0.7); */
    font-weight: 300;
    text-align: center;
    /* font-size: 10pt; */
    position: absolute;
    left: 0;
    right: 0;
}

.custom-file-input:hover:before {
    border-color: #febf01;
}

.custom-file-input:active:before {
    background: #166aaf;
}

.custom-multiple-file-input {
    display: inline-block;
    position: relative;
    color: #ffffff;
}

.custom-multiple-file-input input {
    visibility: hidden;
    width: 150px;
}

.w-90 {
    width: 90% !important;
}

.custom-multiple-file-input:before {
    content: 'انتخاب تصاویر بیشتر';
    /* /* display: block; */
    /* background-color: #0ec497; */
    border-radius: 12px;
    padding: 0px 0px;
    outline: none;
    /* white-space: nowrap; */
    cursor: pointer;
    /* text-shadow: 1px 1px rgba(255,255,255,0.7); */
    font-weight: 300;
    text-align: center;
    /* font-size: 10pt; */
    position: absolute;
    left: 0;
    right: 0;
}

.custom-multiple-file-input:hover:before {
    border-color: #febf01;
}

.custom-multiple-file-input:active:before {
    background: #166aaf;
}


.custom-video-file-input {
    display: inline-block;
    position: relative;
    color: #ffffff;
}

.custom-video-file-input input {
    visibility: hidden;
    width: 150px;
}

.custom-video-file-input:before {
    content: 'انتخاب کلیپ محصول';
    /* /* display: block; */
    /* background-color: #0ec497; */
    border-radius: 12px;
    padding: 0px 0px;
    outline: none;
    /* white-space: nowrap; */
    cursor: pointer;
    /* text-shadow: 1px 1px rgba(255,255,255,0.7); */
    font-weight: 300;
    text-align: center;
    /* font-size: 10pt; */
    position: absolute;
    left: 0;
    right: 0;
}

.order-details-show i:hover {
    color: #166aaf !important;
}

.custom-video-file-input:hover:before {
    border-color: #febf01;
}

.custom-video-file-input:active:before {
    background: #166aaf;
}

/* ///////////////////////////////////////////////////// */


.text-danger {
    color: red !important;
}

.error-border {
    border: 1px solid red !important;
}

.btn {
    margin-bottom: 0 !important;
}


/* Bootstrap Select RTL & Customize */

.filter-option-inner-inner {
    text-align: right;
}

.bootstrap-select>button {
    color: #6e707e;
    background-color: #fff;
    border-color: #d1d3e2;
}

.bootstrap-select>button:not(:disabled):not(.disabled):active,
.bootstrap-select>button:not(:disabled):not(.disabled).active,
.show>.btn-light.dropdown-toggle {
    color: #6e707e;
    background-color: #fff;
    border-color: #d1d3e2;
}

.bootstrap-select>button:focus,
.bootstrap-select>button.focus {
    color: #6e707e;
    background-color: #fff;
    border-color: #d1d3e2;
    box-shadow: 0 0 0 0.2rem rgba(78, 115, 223, 0.25);
}

.bootstrap-select .dropdown-menu li {
    text-align: right;
}

.bootstrap-select.show-tick .dropdown-menu li a span.text {
    margin-right: 20px;
}

.bg-yellow,
.btn-yellow {
    background-color: #ffe374 !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.overflow-scroll::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.overflow-scroll {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.single-product-image {
    /* background-color: #344767; */
    max-width: 350px;
    max-height: 350px;
    /* border-radius: 40px; */
}

.single-product-image img {
    width: 100%;
    height: 100%;
    border-radius: 40px;
}

.form-control {
    padding: 0.375rem 0.75rem !important;
}

.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice {
    font-size: 0.825rem !important;
}

.product-images {
    width: 100%;
}

.product-images img {
    width: 150px;
    /* height: 150px; */
    /* border-radius: 30px */
}

.img-box {
    width: max-content !important;
}

.bg-label-success {
    background-color: #cbf7e1;
    color: #39da8a;
}

.bg-chamani{
    background-color: #5cffae !important;
}

.bg-label-warning {
    background-color: #ffebd0;
    color: #fdac41;
}

.bg-label-primary {
    background-color: #c9dafa;
    color: #5a8dee;
}

.bg-label-info {
    background-color: #c2f4f8;
    color: #00cfdd;
}

.bg-label-danger {
    background-color: #f8c2d2;
    color: #dd0025;
}

.bg-label-gray {
    background-color: #ccd3f5;
    color: #666b88;
}

.dark-back {
    background-color: #131f2f !important;
    /* background: #131f2f !important; */
}

.text-darkk {
    color: #888a8b !important;
}

.bg-kiasha {
    background-color: #131f2f !important;
}

.bg-text-kiasha {
    color: #627186 !important;
}

/* INPUT NUMBER STYLE */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.quantity input {
    width: 90px;
    height: 50px;
    line-height: 1.65;
    float: left;
    display: block;
    padding: 0;
    margin: 0;
    /* padding-left: 42px; */
    border: none;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
    font-size: 1rem;
    border-radius: 4px;
    text-align: center;
}

.quantity input:focus {
    outline: 0;
}

.quantity-nav {
    float: left;
    position: relative;
    height: 42px;
}

.quantity-button {
    position: relative;
    cursor: pointer;
    border: none;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    width: 21px;
    text-align: center;
    color: #333;
    font-size: 13px;
    font-family: "FontAwesome" !important;
    line-height: 1.5;
    padding: 0;
    background: #FAFAFA;
    -webkit-transform: translateX(-100%);
    transform: translateX(-100%);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.quantity-button:active {
    background: #EAEAEA;
}

.quantity-button.quantity-up {
    position: absolute;
    height: 121%;
    top: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    font-family: "FontAwesome";
    border-radius: 0 4px 0 0;
    line-height: 1.6;
    left: 0;
    width: 30px;
}

.quantity-button.quantity-down {
    position: absolute;
    height: 121%;
    border-radius: 0 0 4px 0;
    right: 31px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    width: 30px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* /INPUT NUMBER STYLE */
.swal2-container {
    z-index: 5000 !important;
}

/* Home Style ///////////////////////////////////////////////////////////////////////////////////// */
.first-slider-box {
    height: 400px;
}

.second-slider-box {
    height: 200px;
}

.first-slider-box .carousel-item {
    height: 400px;
}

.second-slider-box .carousel-item {
    height: 200px;
}

.first-slider-box .carousel-item img {
    max-height: 400px;
}

.second-slider-box .carousel-item img {
    max-height: 200px;
}

.badge {
    font-size: 0.85em !important;
}

.max-content {
    width: max-content !important;
}

.h-maxcontent {
    height: max-content !important;
}

.bg-green {
    background-color: #0ec497 !important;
}

.p-t-color {
    /* color: #2f957c !important; */
    color: #2d2d2d !important;
}

.bg-red {
    background-color: #FF395E !important;
}

.text-red {
    color: #FF395E !important;
}

.text-color {
    color: #5e50c6 !important;
}

.text-color-light {
    color: #9a95b9 !important;
}

.text-color-dark {
    color: #363e68 !important;
}

.fs-7 {
    font-size: 0.850rem !important;
}

.fs-8 {
    font-size: 0.950rem !important;
}

.bg-banafsh {
    background-color: #8374f7 !important;
}

.box-shadow {
    box-shadow: 0 2px 10px 0 #e0dbde !important;
    border-radius: 0.3rem !important;
}

.box-shadow-profile {
    box-shadow: 0 2px 10px 0 #e0dbde !important;

}

.border-dashed-gray {
    border: 1px dashed #bdbdbd !important;
}

.border-dashed-green {
    border: 1px dashed #0ec497 !important;
}

.bg-price {
    background-color: #8cffe2 !important;
}

.text-green {
    color: #0ec497 !important;
}

.product-section-title {
    width: max-content !important;
    background-color: #fff !important;
    border-radius: 5px !important;
    padding-bottom: 5px !important;
}

.bg-section {
    background: url(/images/product-details-bg.jpeg );
    background-repeat: no-repeat;
    background-size: cover;
}

.product-details-box {
    position: absolute;
    top: 12px;
    right: 0;
}

.product-box {
    position: relative;
}


input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input {
    border: 2px solid #ddd;
    display: inline-flex;
}

.number-input,
.number-input * {
    box-sizing: border-box;
}

.number-input button {
    outline: none;
    -webkit-appearance: none;
    background-color: transparent;
    border: none;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    cursor: pointer;
    margin: 0;
    position: relative;
}

.number-input button:before,
.number-input button:after {
    display: inline-block;
    position: absolute;
    content: '';
    width: 1rem;
    height: 2px;
    background-color: #212121;
    transform: translate(-50%, -50%);
}

input[type="radio"]:checked+label {
    background-color: #5af79e !important;
}

.transition {
    transition: all .3s ease-out;
}

.number-input button.plus:after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.number-input input[type=number] {
    font-family: sans-serif;
    max-width: 5rem;
    padding: .5rem;
    border: solid #ddd;
    border-width: 0 2px;
    font-size: 2rem;
    height: 3rem;
    font-weight: bold;
    text-align: center;
}

.bg-gold {
    background-color: #facc6b;
    background-image: linear-gradient(315deg, #facc6b 0%, #fabc3c 74%);
}

.bg-silver {
    background-color: #ffffff;
    background-image: linear-gradient(315deg, #ffffff 0%, #d7e1ec 74%);
}

table tr td {
    vertical-align: middle;
}

/* LOGIN Styles */
.alert-custom {
    background-color: #6089D5;
    color: #fff;
}

.alert {
    padding: 0.5rem 0.7rem !important;
}

.error {
    color: rgb(255, 90, 90);
    background-color: #fff;
    font-weight: light;
}

.saller-products {
    display: grid;
    margin: 25px auto;
    gap: 20px;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
    height: 100%;
    justify-content: space-evenly;
    justify-items: center;
    align-content: space-evenly;
    align-items: center;
}

.seller-footer-box {
    background: #f5f7fa;
    border-radius: 8px;
    height: 300px;
    /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
    /* box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px; */
}

.bg-box {
    background-color: #f1f3f7;
}

.text-justify {
    text-align: justify;
}

.grid-item {
    /* border: 1px solid #131f2f !important; */
}

/* .modal-dialog {
    position: fixed;
    top: auto;
    right: 0; 
    left: 0;
    bottom: 100;
    z-index: 50000000000;
} */

/* ////////////////////////////////////////////////////// */
@media (max-width: 990px) {
    .fs-md-7 {
        font-size: 0.850rem !important;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr !important;
        justify-items: center;
        gap: 20px 20px;
    }

    .grid-item {
        min-width: 120px !important;
        width: 100%;
    }
}

@media (min-width: 991px) {
    #mainNav .navbar-brand {
        color: black;
    }

    .card .card-body {
        padding: 10px !important;
    }

    .category-third .cat-icon {
        width: 60px;
        height: 60px;
    }

    .cat-box h3 {
        margin-top: 8px;
        color: #2d2d2d;
        font-weight: 700;
        font-size: 12px;
    }

    p.font {
        font-weight: 400 !important;
        margin-bottom: 8px;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        justify-items: center;
        gap: 20px 20px;
    }

    .grid-item {
        min-width: 120px !important;
        width: 100%;
    }

    #box {
        display: block !important;
    }

    #open-menu {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .dropdown:not(.dropdown-hover) .dropdown-menu.show {
        margin-top: 0 !important;
    }

    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        justify-items: center;
        gap: 20px 20px;
    }

    .grid-item {
        min-width: 120px !important;
        width: 100%;
    }

    #box {
        display: block !important;
    }

    #open-menu {
        display: none !important;
    }
}