﻿
/* #region Main */

:root {
    --sabzPorrang: #086779;
    --sabzKamrang: #00b5ad;
    --surati: #ee8371;
    --narengi: #faad53;
}

* {
    direction: rtl;
    font-size: 10px;
    font-family: IRANSansX !important;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: unset;
}

    a:hover {
        text-decoration: none;
        color: unset;
    }

/* #endregion */

/* #region font-face */

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/woff/IRANSansX-thin.woff') format('woff'), url('fonts/woff2/IRANSansX-thin.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/woff/IRANSansX-UltraLight.woff') format('woff'), url('fonts/woff2/IRANSansX-UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/woff/IRANSansX-light.woff') format('woff'), url('fonts/woff2/IRANSansX-light.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/woff/IRANSansX-medium.woff') format('woff'), url('fonts/woff2/IRANSansX-medium.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/woff/IRANSansX-demibold.woff') format('woff'), url('fonts/woff2/IRANSansX-demibold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/woff/IRANSansX-extrabold.woff') format('woff'), url('fonts/woff2/IRANSansX-extrabold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/woff/IRANSansX-black.woff') format('woff'), url('fonts/woff2/IRANSansX-black.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/woff/IRANSansX-bold.woff') format('woff'), url('fonts/woff2/IRANSansX-bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/woff/IRANSansX-regular.woff') format('woff'), url('fonts/woff2/IRANSansX-regular.woff2') format('woff2');
}

/*اعداد*/

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 100;
    src: url('../fonts/woff/IRANSansXFaNum-thin.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-thin.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 200;
    src: url('../fonts/woff/IRANSansXFaNum-UltraLight.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-UltraLight.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/woff/IRANSansXFaNum-light.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-light.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/woff/IRANSansXFaNum-medium.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-medium.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/woff/IRANSansXFaNum-demibold.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-demibold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 800;
    src: url('../fonts/woff/IRANSansXFaNum-extrabold.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-extrabold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: 900;
    src: url('../fonts/woff/IRANSansXFaNum-black.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-black.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/woff/IRANSansXFaNum-bold.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-bold.woff2') format('woff2');
}

@font-face {
    font-family: IRANSansX;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/woff/IRANSansXFaNum-regular.woff') format('woff'), url('fonts/woff2/IRANSansXFaNum-regular.woff2') format('woff2');
}

/* #endregion */

/* #region rrr , bbb , clsMessage */

.rrr {
    border: 1px solid red;
}

.bbb {
    border: 1px solid blue;
}

.clsMessage {
    display: block;
    position: fixed;
    top: 90px;
    left: 9px;
    opacity: 1;
    z-index: 999;
    border: 1px solid green;
    width: 300px;
    padding-top: 2px;
}

.clsCloseMessage {
    background-color: white;
    margin-right: -14px;
}

    .clsCloseMessage:hover {
        background-color: lightpink;
    }

#myProgress {
    border-radius: 0px 0px 5px 5px;
    margin-top: 10px;
    margin-right: -14px;
    margin-bottom: -14px;
    width: 298px;
    background-color: #ddd;
}

#myBar {
    width: 1%;
    height: 10px;
    background-color: #04AA6D;
}

/* #endregion */

/* #region scrollmenu clsPBold clsImgProductIndex */

div.scrollmenu {
    overflow: auto;
    white-space: nowrap;
}

.clsPBold {
    font-size: 12px;
    font-weight: bolder;
}

.clsImgProductIndex {
    height: 210px;
}

/* #endregion */

/* #region clsLoginAndRegisterContainer , clsLoginAndRegister */

.clsLoginAndRegisterContainer {
    background-image: url(../Files/Site/Logo5.png);
    background-repeat: repeat;
    padding-top: 170px;
}

.clsLoginAndRegister {
    background-color: white;
    opacity: 0.9;
    border-radius: 5px;
    margin: auto;
    width: 250px;
    padding: 10px;
    border: 1px solid lightgray;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 6px 20px 0 rgba(0, 0, 0, 0.3);
}

/* #endregion */

/* #region StarsRatings */

input.star {
    display: none;
}

    input.star:checked ~ label.star:before {
        background-image: url(../Files/Site/star-fill-narengiKamrang.png);
        background-size: 15px;
        display: inline-block;
        width: 15px;
        height: 15px;
        content: "";
    }

label.star,
label.starFill,
label.starFillHalf {
    float: right;
    padding: 0px 5px 0px 0px;
}

    label.star:before {
        background-image: url(../Files/Site/star.png);
        background-size: 15px;
        display: inline-block;
        width: 15px;
        height: 15px;
        content: "";
    }

    label.starFill:before {
        background-image: url(../Files/Site/star-fill-narengiKamrang.png);
        background-size: 15px;
        display: inline-block;
        width: 15px;
        height: 15px;
        content: "";
    }

    label.starFillHalf:before {
        background-image: url(../Files/Site/starFillHalf2.png);
        background-size: 15px;
        display: inline-block;
        width: 15px;
        height: 15px;
        content: "";
    }

/* #endregion */

/* #region clsCarousel , clsScrollProduct , clsScrollContent , clsCategoryDivIndex */

.clsCarousel {
    height: 255px;
}

.clsMobileCarousel {
    display: unset;
}

.clsLaptopCarousel {
    display: none;
}

.clsScrollProductInMobile {
    display: unset;
}

.clsScrollProductInLaptop {
    display: none;
}

.clsScrollProduct {
    height: 330px;
}

    .clsScrollProduct .clsFirstDivInScrollProduct div:first-child {
        height: 204px;
    }

.clsScrollContent {
    height: 210px;
}

    .clsScrollContent .clsSecondDivInScrollContent {
        width: 170px;
        overflow: hidden;
    }

.clsCategoryDivIndex {
    /*height: 390px;*/
}

/* #endregion */

/* #region Other */

.myBar {
    border-radius: 5px;
}

.carousel-control-next-icon, .carousel-control-prev-icon {
    background-color: black;
    color: white;
    border: 1px solid white;
    border-radius: 15px;
}

.clsLogoImage {
    width: 25px;
}

.clsLogoRepresentation {
    font-size: 0.9em;
    background-color: darkblue;
    color: white;
    border-radius: 5px;
}

.clsBtnGotoDashboard {
    font-size: 9px;
}

footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

.tooltip2 .tooltiptext2 {
    visibility: hidden;
}

option {
    zoom: 1.1;
}

.clsLtrDirection {
    direction: ltr !important;
}

footer {
    line-height: 30px;
}

    footer a {
        color: white;
    }

.clsUserIndexPagination span, .clsUserIndexPagination a {
    font-size: 10px !important;
    padding: 5px;
}

.table th {
    text-align: center;
    vertical-align: middle;
}

.clsCloseButton {
    margin: 0px -12px 0px 0px;
    border-bottom: 1px solid lightgray;
}

.clsCloseBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    color: lightgray;
    background-color: white;
    border: none;
    cursor: pointer;
    border-left: 1px solid lightgray;
    padding-top: 5px;
}

    .clsCloseBtn:hover {
        color: white;
        background-color: red;
    }

    .clsCloseBtn span {
        font-size: 13px;
        font-weight: 200;
        line-height: 20px; /* کاهش ارتفاع X */
        transform: scale(1.4, 1); /* افزایش عرض و کاهش ارتفاع */
        display: inline-block;
    }

/* #endregion */

/* Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet - Tablet */
@media (min-width: 576px) {

    .clsCloseBtn span {
        font-size: 16px;
    }

    .clsLogoRepresentation {
        font-weight: bold;
    }

    .clsBtnGotoDashboard {
        font-size: 11px;
    }

}

/* Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop - Laptop */
@media (min-width: 992px) {
    * {
        font-size: 12px;
    }

    .clsBtnGotoDashboard {
        font-size: 12px;
    }

    /* #region clsTicketsAndUsers */

    .clsTicketsAndUsers button,.clsTicketsAndUsers a {
        color: white;
    }

        .clsTicketsAndUsers button:hover ,.clsTicketsAndUsers a:hover {
            color: white;
        }

    /*این رنگ منطبق با دارک بوتسترپ هست*/
    /*چون در نمای موبایل و دسکتاپ می‌خواستم رنگ‌ها به درستی نمایش داده بشه، به جای*/
    /*کلاس‌های آماده‌ی بوتسترپ، خودم کلاس تعریف کردم*/
    .clsTicketsAndUsers .dropdown-menu {
        background-color: #212529;
    }

        .clsTicketsAndUsers .dropdown-menu a {
            color: white;
        }

            .clsTicketsAndUsers .dropdown-menu a:hover {
                background-color: #373d42;
            }

    /* #endregion */

    .clsCloseBtn span {
        font-size: 20px;
    }

    /* #region offcanvas , clsALiLaptopMenu */

    .clsALiLaptopMenu:hover {
        border-bottom: 2px solid white;
        cursor: pointer;
        /* اگر این نباشد، اگر هنگامیکه روی منویی کلیک شده و زیر منوی او باز است، اگر 
            روی منوی کناری هاور کنیم، آن زیر منو 2 پیکسل به بالا حرکت میکند
            بنابراین باید از همان اول، به اندازه ی همان 2 پیکسل به بالا انتقالش داده باشیم.، */
        margin-bottom: -2px;
    }

    /* #endregion */

    /* #region clsCarousel , clsScrollProduct , clsScrollContent , clsCategoryDivIndex */

    .clsCarousel {
        height: 455px;
    }

        .clsCarousel img {
            width: 1326px;
        }

    .clsMobileCarousel {
        display: none;
    }

    .clsLaptopCarousel {
        display: unset;
    }

    .clsScrollProductInMobile {
        display: none;
    }

    .clsScrollProductInLaptop {
        display: unset;
    }

    .clsScrollProduct {
        /*border: 1px solid red;*/
        height: 500px;
    }

        .clsScrollProduct .clsFirstDivInScrollProduct {
            /*border: 1px solid blue;*/
            height: 450px;
        }

            .clsScrollProduct .clsFirstDivInScrollProduct div:first-child {
                /*border: 1px solid red;*/
                height: 350px;
            }

        .clsScrollProduct img {
            width: 240px;
        }

    .clsScrollContent {
        height: 395px;
    }

        .clsScrollContent .clsSecondDivInScrollContent {
            width: 325px;
        }

    .clsCategoryDivIndex {
        height: 490px;
    }

        .clsCategoryDivIndex img {
            width: 480px;
        }

    /* #endregion */

    /* #region clsLoginAndRegisterContainer , clsLoginAndRegister */

    .clsLoginAndRegisterContainer {
        background-image: url(../Files/Site/Logo4.png);
        background-repeat: repeat;
        padding-top: 0px;
    }

    .clsLoginAndRegisterFaid {
        background-color: rgba(0, 0, 0, 0.2);
        height: 100%;
        padding-top: 190px;
    }

    .clsLoginAndRegister {
        opacity: 0.9;
        margin: auto;
        width: 410px;
        padding: 30px;
    }

    /* #endregion */

    /* #region Other */

    .clsLogoImage {
        width: 80px;
    }

    .tooltip2 {
        position: relative;
        display: inline-block;
    }

        .tooltip2 .tooltiptext2 {
            position: absolute;
            width: 120px;
            background-color: black;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 5px 0;
            z-index: 1;
            left: -10px;
            top: 30px;
        }

        .tooltip2:hover .tooltiptext2 {
            visibility: visible;
        }

    .clsImgProductIndex {
        height: 250px;
    }

    /* #endregion */

    .clsPBold {
        font-size: 20px;
    }
}
