﻿/* --- $ font --- */
@font-face {
    font-family: 'IranNastaliq';
    src: url('../fonts/IranNastaliq/IranNastaliq.eot?#') format('eot'), url('../fonts/IranNastaliq/IranNastaliq.ttf') format('truetype'), url('../fonts/IranNastaliq/IranNastaliq.woff') format('woff');
}

.font-nastaliq {
    font-family: 'IranNastaliq', 'IRANSans';
    font-size: 22px;
}

/* --- $ input arrow --- */

input.arrow-none::-webkit-outer-spin-button,
input.arrow-none::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.arrow-none[type=number] {
    -moz-appearance: textfield;
}
/* header */

.navbar-shadow {
    box-shadow: 1px 11px 29px -26px var(--bs-gray-600)
}
/* --- $ input radio --- */
.radio-input {
    display: none;
}

.radio-label {
    padding: 4px 6px;
    cursor: pointer;
    text-align: center;
    margin: 3px 0px;
    border-radius: 3px;
    transition: background-color 0.3s;
    min-width: 30%;
}

.radio-input:checked + .radio-label.primary {
    background-color: var(--bs-primary);
    color: white;
}

.radio-input:checked + .radio-label.warning {
    background-color: var(--bs-warning);
    color: white;
}

.radio-input:checked + .radio-label.danger {
    background-color: var(--bs-danger);
    color: white;
}

.radio-input:checked + .radio-label.success {
    background-color: var(--bs-success);
    color: white;
}
/* --- $ input price --- */
.price {
    position: relative;
}

    .price:before {
        position: absolute;
        top: 0;
        right: 0;
    }
/* --- $ font size --- */
.fs-14px {
    font-size: 14px !important;
}
.fs-17px {
    font-size: 17px !important;
}

.fs-19px {
    font-size: 19px !important;
}

.item-nowrap li {
    text-wrap: nowrap;
}
/* --- $ sizing --- */
.mh-300px {
    max-height: 300px !important;
}

/* ----- $ Slid Rep ----- */

.dl-slid {
    height: 265px;
    overflow: scroll;
    position: relative;
    padding-bottom: 15px;
}

    .dl-slid::-webkit-scrollbar {
        width: 2px;
        height: 6px;
    }

    .dl-slid::-webkit-scrollbar-thumb {
        background-color: #90a4af;
    }

.dl-img-slid {
    width: max-content;
}

.dl-control-size-image {
}

.dl-control-size {
    width: auto;
}

.dl-img {
    width: auto;
    max-height: 200px;
    margin-left: 10px;
    position: relative;
}

.form-item {
    position: absolute;
    bottom: 10px;
    right: 5%;
    left: 5%;
    font-size: 12px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.1s ease-in-out;
}

.dl-img:hover .form-item {
    opacity: 1;
}

.both {
    width: 100% !important;
    height: 65px !important;
    resize: none !important;
}

.img-item {
    max-height: 200px;
    max-width: 200px;
    position: absolute; /* Positioning for centering */
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%); /* Adjust for centering */
}

.image-container {
    width: 200px; /* Set the desired width */
    height: 200px; /* Set the desired height */
    overflow: hidden; /* Hide overflow */
    position: relative; /* Positioning context */
    border: 1px solid var(--bs-gray-300);
    border-radius: 0.325rem;
}

.dl-control-size {
    display: flex;
}

    .dl-control-size form input {
        font-size: 12px;
        width: 100%;
    }

.form-item {
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #666;
}

::-webkit-scrollbar {
    width: 5px;
}

confirm-box {
}

.pay-true {
    color: #0cbc87;
    background-color: rgba(12, 188, 135, 0.1);
    outline: 0;
    border: none
}

    .pay-true:hover {
        border-color: #0cbc87 !important;
    }

.pay-false {
    color: #d6293e;
    background-color: rgba(214, 41, 62, 0.1);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    outline: 0;
    white-space: nowrap;
    margin-bottom: 0 !important;
    --bs-btn-padding-y: 0.4rem;
    --bs-btn-padding-x: 0.8rem;
    --bs-btn-font-size: 0.8125rem;
    --bs-btn-border-radius: 0.2rem;
}

.confirm-False {
    color: var(--bs-danger-text)
}

.confirm-True {
    color: var(--bs-success-text)
}
/* --- $ course choose file  --- */
#browsefile, .browsefile {
    position: relative;
    border-radius: .25rem;
    padding: 4px 12px 0px 12px;
    border: 1px solid var(--bs-secondary-border-subtle);
    margin: 0 0 8px 8px;
    height: 42px;
}

.browsefile {
    background-color: var(--bs-light-bg-subtle);
}

.file-img-faktor {
    height: auto !important;
}

#titleinput {
    margin-top: 0.25rem !important;
}

.file-img-tag {
    display: block;
    position: absolute;
    width: 250px;
    height: 250px;
    padding: .25rem;
    background-color: var(--bs-light-bg-subtle);
    border: 1px solid var(--bs-secondary-border-subtle);
    border-radius: .25rem;
    inset: -1px -1px auto auto;
    max-width: 250px !important;
    z-index: 3
}
/* --- $ class span --- */
.class-span {
    width: 60%;
    padding: 10px;
    margin: 20px auto;
    text-align: center;
    border-radius: 5px;
    border: solid 1px #ddd;
}

    .class-span svg, .class-span i {
        width: 26px;
        height: 25px
    }

.class-info span::after {
    content: ': ';
}

.class-info span {
    width: 200px;
    font-weight: 700;
    display: inline-block
}

.class-info li {
    list-style: none;
    border-bottom: 1px solid #ccc2;
    padding: 5px 2px;
}
/* --- $ card btn left --- */
/* Chrome, Safari, Edge, Opera */
arrow-disable::-webkit-outer-spin-button,
arrow-disable::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* $ seobar */
.seobar {
    width: 100%;
    background-color: var(--bs-light);
}

.seobar-inner {
    height: 20px;
    text-align: center;
    transition: width 0.5s;
    color: var(--bs-success);
    background-color: #4CAF50;
}

.seobar-title {
    margin-top: 5px;
    font-weight: bold;
    color: var(--bs-white)
}
/* Firefox */
arrow-disable[type=number] {
    -moz-appearance: textfield;
}

[data-bs-theme=dark] .btn-left {
    background-color: var(--bs-light) !important;
}

.btn-left {
    --bs-bg-opacity: 1;
    display: flex !important;
    align-items: center !important;
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    -ms-flex-align: center !important;
    -ms-flex-pack: justify !important;
    -webkit-box-align: center !important;
    -webkit-box-pack: justify !important;
    justify-content: space-between !important;
    background-color: rgba(var(--bs-light-rgb), var(--bs-bg-opacity)) !important;
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}

    .btn-left > * {
        display: block !important;
    }

/* --- $ alert --- */
#alert {
    content: '  ';
    right: 50px;
    bottom: 30px;
    z-index: 2000;
    position: fixed;
}

    #alert > .alert {
        min-height: 58px;
        box-shadow: 2px 2px 5px 0px var(--bs-dark);
    }

/* --- $ validation --- */
.validation-summary-errors {
    margin-bottom: 0;
    position: relative;
    padding: 1rem 1rem;
    border-radius: .25rem;
    color: var(--bs-danger-text);
    border: 1px solid transparent;
    background-color: var(--bs-danger-bg-subtle);
    border-color: var(--bs-danger-border-subtle);
}

    .validation-summary-errors ul {
        margin-bottom: 0;
    }

    .validation-summary-errors.info {
        color: #055160;
        border-color: #b6effb;
        background-color: #cff4fc;
    }

.unstyle-list li {
    list-style: none
}
/* --- $ popup image --- */
.popup-image {
    top: 0;
    left: 0;
    z-index: 20;
    width: 100%;
    height: 100%;
    display: none;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.8);
}

.popup-content {
    position: absolute;
    top: calc(50% + 100px);
    left: 50%;
    padding: 15px;
    overflow: auto;
    max-height: 80vh;
    border-radius: 15px;
    transform: translate(-50%, -50%);
    background-color: var(--bs-light);
}

.close {
    position: absolute;
    top: 0px;
    right: 3px;
    cursor: pointer;
    color: red;
    font-size: 25px;
}

/* --- $ gallerCounty --- */

.form-type-contain {
    padding: 10px;
    border-radius: 9px;
    border: dashed 2px #dfdfdf;
}
.active > .form-type-contain {
    border-style: solid;
    border-color: var(--bs-green) !important;
}
/* --- $ dashboard notification --- */
.notice-card {
    position: relative;
}

#noticeModal, #descriptModal {
    position: absolute;
    width: 100%;
    top: 0;
}

#closeNoticeModal:hover {
    color: #f00 !important;
}

.image-grid {
    display: flex;
    flex-wrap: wrap;
}

.image-item {
    margin: 10px;
    text-align: center;
}

/* --- $ min width --- */

.mw-160px {
    min-width: 160px !important;
}
/* --- $ card product --- */

.card-product img {
    aspect-ratio: 300/215;
}
