@font-face {
    font-family: "yekan";
    src: url("../fonts/Fa3/Yekan Bakh FA 04 Regular.eot") format("embedded-opentype"), url("../fonts/Fa3/Yekan Bakh FA 04 Regular.woff") format("woff"), url("../fonts/Fa3/Yekan Bakh FA 04 Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "yekan";
    src: url("../fonts/Fa3/Yekan Bakh FA 05 Medium.eot") format("embedded-opentype"), url("../fonts/Fa3/Yekan Bakh FA 05 Medium.woff") format("woff"), url("../fonts/Fa3/Yekan Bakh FA 05 Medium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@font-face {
    font-family: "yekan";
    src: url("../fonts/Fa3/Yekan Bakh FA 06 Bold.eot") format("embedded-opentype"), url("../fonts/Fa3/Yekan Bakh FA 06 Bold.woff") format("woff"), url("../fonts/Fa3/Yekan Bakh FA 06 Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: 600;
}

@font-face {
    font-family: "yekan";
    src: url("../fonts/Fa3/Yekan Bakh FA 07 Heavy.eot") format("embedded-opentype"), url("../fonts/Fa3/Yekan Bakh FA 07 Heavy.woff") format("woff"), url("../fonts/Fa3/Yekan Bakh FA 07 Heavy.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: 'Peyda';
    src: url('../fonts/Peyda-Bold.eot');
    src: url('../fonts/Peyda-Bold.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Peyda-Bold.woff2') format('woff2'),
    url('../fonts/Peyda-Bold.woff') format('woff'),
    url('../fonts/Peyda-Bold.ttf') format('truetype'),
    url('../fonts/Peyda-Bold.svg#Peyda-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Peyda Med';
    src: url('../fonts/Peyda-Medium.eot');
    src: url('../fonts/Peyda-Medium.eot?#iefix') format('embedded-opentype'),
    url('../fonts/Peyda-Medium.woff2') format('woff2'),
    url('../fonts/Peyda-Medium.woff') format('woff'),
    url('../fonts/Peyda-Medium.ttf') format('truetype'),
    url('../fonts/Peyda-Medium.svg#Peyda-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


:root {
    --siteBg: #F6F6F6;
    --dark: #2F2F2F;
    --light: #D1D1D1;
    --primary: #001a49;
    --secondary: #C1121F;
}


* {
    font-family: "yekan", sans-serif;
    outline: none !important;
}

html, body {
    direction: rtl;
    font-family: "yekan", sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-align: right;
    width: 100%;
    min-height: 100vh;
    background: var(--siteBg);
    color: var(--dark);
}

ul, li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a {
    text-decoration: none;
}

.ltr {
    direction: ltr;
}

.btn {
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
}

.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.form-control, .form-select {
    border-radius: 40px;
    border: 1px solid #BDBDBD;
    background-color: #FFF;
    padding: 10px;
}

.form-select {
    background-position: 15px;
}

.form-control::placeholder {
    color: #717171;
}

.glightbox-clean .gslide-desc {
    font-family: "yekan";
    width: 100%;
    text-align: justify;
    line-height: 25px;
    font-size: 14px;
}

.glightbox-clean .gslide-title {
    font-family: "yekan";
    font-size: 16px;
    font-weight: 600;
    margin-bottom: auto;
    color: var(--dark);
}

/*-------------------------------------login-------------------------------------*/
.login {
    display: flex;
    color: var(--dark);
    height: 100vh;
    width: 100%;
    padding: 0 !important;
}

.login .content-wrapper:after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 40%);
}

.login .content-wrapper .content {
    position: relative;
    z-index: 100;
}

.login .content-wrapper {
    align-items: center;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    background-color: #fff;
    flex-direction: column;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background-image: url("../img/loginImage2.png");
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
}

.login .art-wrapper {
    background-color: #f8fafb;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.login .art-wrapper img {
    position: absolute;
    top: 0;
    right: 0;
    filter: brightness(70%);
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    width: 100%;
}

@media only screen and (min-width: 992px) {
    .login .art-wrapper {
        width: calc(100% - 480px);
    }

    .login .content-wrapper {
        width: 480px;
        padding-left: 80px;
        padding-right: 80px;
    }
}

@media only screen and (max-width: 992px) {
    .login .art-wrapper {
        width: 0;
    }

    .login .content-wrapper {
        padding-left: 40px;
        padding-right: 40px;
        width: 100%;
    }
}

/*-------------------header-------------------*/
header {
    height: 100px;
    background-color: var(--primary);
    width: 100%;
    position: fixed;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    z-index: 100;
}

header .userDetail {
    display: flex;
    align-items: center;
    color: #fff;
    width: 100%;
}

header .userDetail .image img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
    margin-left: 8px;
}

header .userDetail .name {
    font-size: 18px;
}

header .userDetail .phone {
    font-size: 15px;
}


.navigationButtons {
    width: 100%;
    position: fixed;
    right: 0;
    bottom: 0;
    height: 100px;
    background-color: #fff;
    display: flex;
    align-items: center;
    z-index: 100;
}

.navigationButtons ul {
    align-items: center;
}

.navigationButtons ul .items {
    position: relative;
}

.navigationButtons ul .items.active:after {
    content: "";
    width: 20px;
    height: 10px;
    background-image: url("../img/navAfter.svg");
    position: absolute;
    top: -20px;
    right: calc(50% - 10px);
}

.navigationButtons ul .items .link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #2F2F2F;
    opacity: 0.4;
    font-size: 18px;
}

.navigationButtons ul .items .link img {
    width: 30px;
    margin-bottom: 4px;
}

.navigationButtons ul .items.active .link {
    opacity: 1;
    color: var(--secondary);
}

.navigationButtons ul .items.active .link img {
    filter: invert(21%) sepia(89%) saturate(5093%) hue-rotate(347deg) brightness(75%) contrast(101%);
}

/*-------------------header-------------------*/
main {
    padding-top: 100px;
    padding-bottom: 100px;
}

.shortCutes .link {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 16px auto;
    color: var(--dark);
    font-size: 20px;
}

.shortCutes .link .icon {
    width: 100%;
    max-width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 24px;
}

.shortCutes .link .icon img {
    width: 40px;
}

.shortCutes .link:hover {
    color: var(--secondary);
}

.sectionTitle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    margin-top: 40px;
}

.sectionTitle .title {
    font-size: 24px;
    font-weight: bold;
}

.sectionTitle .link {
    color: var(--dark);
    font-size: 18px;
}

.sectionTitle .link:hover {
    color: var(--secondary);
}

.newProductsItems .item {
    display: flex;
    align-items: center;
    padding: 20px;
    background-color: #fff;
    border-radius: 20px;
    margin-bottom: 16px;
}

.newProductsItems .item img {
    width: 50px;
    height: 50px;
    margin-left: 8px;
}

.newProductsItems .item .name {
    font-size: 18px;
}

.newProductsItems .item .date {
    font-size: 15px;
    color: #717171;
}

.searchBox {
    position: relative;
    margin-bottom: 40px;
}

.searchBox img {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 24px;
}

.customersList .item {
    border-radius: 20px;
    background: #FFF;
    padding: 20px;
    margin-bottom: 24px;
}

.customersList .item .name {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    margin-bottom: 16px;
}

.customersList .item .title {
    color: #717171;
    text-align: right;
    font-size: 14px;
    margin-bottom: 8px;
    display: inline-block;
}

.customersList .item .subtitle {
    color: #2F2F2F;
    font-size: 16px;
    font-weight: 500;
}

.offcanvas {
    border-radius: 30px 30px 0 0;
}

.offcanvas .offcanvas-header {
    padding: 40px 40px 0 40px;
}

#moreInformation .icon .count {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    background-color: var(--secondary);
    color: #fff;
    position: absolute;
    left: -10px;
    top: -10px;
    line-height: 30px;
    font-size: 18px;
}

#moreInformation .icon {
    background-color: #F6F6F6;
    position: relative;
}

#moreInformation .shortCutes .link {
    font-size: 16px;
}

#moreInformation {
    height: auto;
}

.giftList .card-body {
    width: calc(100% - 160px);
}

.giftList .card-body .card-text {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.giftList .card {
    border: 0;
}

.product {
    border-radius: 20px 20px 0 0;
    background: #FFF;
    padding: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
}

.product.Completion {
    border-right: 5px solid #059669;
}

.product.edition {
    border-right: 5px solid #F4B733;
    background: rgba(244, 183, 51, 0.20);
}

.product .name {
    font-size: 16px;

}

.product .moreDesc {
    position: absolute;
    right: 0;
    bottom: -20px;
    height: 20px;
    background-color: #333;
    display: flex;
    align-items: end;
    justify-content: center;
    width: 100%;
    font-size: 13px;
    z-index: 1;
    border-radius: 0 0 20px 20px;
}

.product .moreDesc span {
    color: #fff;
}

.product .price {
    font-size: 22px;
    font-style: normal;
    margin-left: 8px;
}

.product .input-group .form-control {
    padding: 5px !important;
    font-size: 20px;
}

.product .input-group.disabled {
    opacity: 0.5;
}

.product .input-group.disabled .btn {
    background: #D9D9D9 !important;
    border-color: #D9D9D9 !important;
}

.cartBottom {
    width: 100%;
    position: fixed;
    right: 0;
    bottom: 0;
    height: 100px;
    background-color: #fff;
    z-index: 101;
    display: flex;
    align-items: center;
    border-top: 1px solid #C2C2C2;
}

.cartBottom .prices {
    display: flex;
    align-items: center;
    font-size: 18px;
}

.cartBottom .prices .cash {
    color: #059669;

}

.cartBottom .prices .check {
    color: #CC0A0A;
}

.cartBottom .prices span {
    color: var(--dark);
    font-size: 16px;
}

.toast.show {
    background-color: #fff;
}

.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 24px auto;
}

.loading span {
    font-size: 24px;
    transform: translateY(-50px);
    color: #888;
}

.offcanvas {
    height: auto !important;
}

.Invoice {
    border-radius: 20px;
    background: #FFF;
    padding: 20px;
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
}

.Invoice .Invoice-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed #ccc;
}

.Invoice .Invoice-item:last-child {
    border-bottom: 0;
}

.Invoice .Invoice-item .title {
    font-size: 16px;
}

.Invoice .Invoice-item.total .subtitle {
    font-size: 20px;
}

.Invoice .Invoice-item .subtitle {
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}

.nav-link {
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 500;
}

.form-check {
    margin-bottom: 1.125rem;
}

.form-check label {
    font-size: 16px;
}

.form-check-input {
    width: 2em;
    height: 2em;
}

.form-check-reverse .form-check-input {
    margin-right: -2.5em;
}
