﻿@font-face {
    font-family: "IRANSansWeb";
    src: url("../../Content/Panel/fonts/IRANSansWeb.eot"); /* IE */
    src: url("../../Content/Panel/fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"), /* IE */
    url("../../Content/Panel/fonts/IRANSansWeb.woff") format("woff"), /* Modern Browsers */
    url("../../Content/Panel/fonts/IRANSansWeb.ttf") format("truetype"); /* Safari, Android, iOS */
    font-weight: normal;
}

body {
    font-family: 'IRANSansWeb', serif;
    height: 100% !important;
}

.IRANSansWeb * {
    font-family: 'IRANSansWeb', serif !important;
}

.IRANSansWeb img {
    width: 100% !important;
}

:root {
    --dark-color: #212121;
    --opacity-color: #ffffff52;
    --background-gradient-color: linear-gradient(180deg, var(--dark-color) 0%, #232323 21.98%, #3C3C3C 70.42%, #3E3E3E 100%);
}

::-webkit-scrollbar {
    display: none;
}

* {
    -ms-overflow-style: none;
    scrollbar-width: none;
    touch-action: manipulation;
    -ms-touch-action: manipulation;
}

*, a:active {
    -webkit-tap-highlight-color: transparent;
}

a, img {
    -webkit-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    -ms-user-drag: none;
    user-drag: none;
}

input, input:after, input:before, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

    input:focus-visible {
        outline: none;
    }

p, ul {
    margin: 0;
    padding: 0;
}

.splash {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    width: 100%;
    transition: all ease-in-out 600ms;
    z-index: 100;
    background: var(--nav-color);
    max-width: 523px;
}

.hidden-splash {
    transition: 0.5s;
    display: none;
}

/*.main, body, html, .mainMask, .navTop, .navTopBar, .middle, .footer-tabs {
    max-width: 100% !important;
}*/

.main, body, html {
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    height: 100%;
    max-width: 523px;
    margin: 0 auto;
    overflow: hidden;
}

html {
    background: var(--background-gradient-color);
/*    max-width: unset !important;
    width: 100%;*/
}

.main {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #fff;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    transition: all .5ms ease;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

    .main * {
        -webkit-user-select: none;
        -moz-user-select: -moz-none;
        -o-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.mainMask {
    top: 0;
    position: fixed;
    height: 100vh;
    width: 100%;
    max-width: 523px;
    background: var(--site-color);
    z-index: 0;
}

.navTop {
    position: fixed;
    width: 100%;
    max-width: 523px;
    z-index: 200;
    top: 0;
}

.navTopBar {
    position: fixed;
    height: 56px;
    width: 100%;
    max-width: 523px;
    background-color: var(--nav-color);
    text-align: center;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    direction: rtl;
    box-shadow: 0px 4px 4px var(--shadow-color);
    transition: none;
    opacity: 1;
}

    .navTopBar .navTopBarLeft, .navTopBar .navTopBarRight {
        display: inline-flex;
        align-items: center;
        height: 100%;
        width: 35px;
    }

    .navTopBar .navTopBarRight {
        display: flex;
        justify-content: flex-end;
    }

    .navTopBar .navTopBarCenter {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-grow: 1;
        max-width: 250px;
    }

        .navTopBar .navTopBarCenter p {
            width: auto;
            bottom: -3px;
            position: relative;
            display: inline-block;
            white-space: nowrap;
        }

.middle {
    position: relative;
    top: 0;
    background-repeat: no-repeat;
    background-size: contain;
    width: 100%;
    max-width: 523px;
    overflow: auto;
    margin-top: 55px;
    margin-bottom: 55px;
    background: url(/Media/Resources/background.min.png);
    background-color: var(--site-color);
    background-size: contain;
    background-repeat: no-repeat;
    /*background-position: center 20px;*/
    background-position: center 100%;
}

.footer-tabs {
    position: fixed;
    bottom: 0;
    height: 60px;
    max-width: 523px;
    width: 100%;
    margin: 0 auto;
    background-color: var(--nav-color);
    display: flex;
    justify-content: space-evenly;
    box-shadow: 0 0 20px var(--shadow-color);
    z-index: 100;
    padding-bottom: env(safe-area-inset-bottom);
}

    .footer-tabs .tab {
        display: inline-flex;
        text-align: center;
        width: 60px;
        justify-content: center;
        padding: 5px 0;
    }

        .footer-tabs .tab a {
            text-decoration: none;
            color: #828282;
            width: 100%;
            transition: .3s;
        }

            .footer-tabs .tab a.active {
                color: white;
                transition: .5s;
            }

            .footer-tabs .tab a span {
                font-size: 21px;
            }

            .footer-tabs .tab a p {
                font-size: 14px;
                margin-top: -3px;
            }

.toast2 {
    width: max-content;
    max-width: 315px;
    position: fixed;
    border-radius: 100px;
    opacity: 0;
    z-index: 0;
    bottom: 40px;
    box-shadow: 0 0 3px rgba(0,0,0,.4);
    left: 50%;
    color: #171717;
    transition: all .2s ease-out;
    padding: 10px 15px;
    transform: translateX(-50%);
    text-align: center;
}

.toasted {
    opacity: .9;
    bottom: 50px;
    transition: all .2s ease-out;
    z-index: 10000000;
}

.text-justify {
    text-align: justify;
}

.font-weight-bold {
    font-weight: bold;
}

.head1 {
    font-size: 24px;
}

.head2 {
    font-size: 38px;
    color: #FEFF00;
    font-weight: bold;
}

.head3 {
    font-size: 40px;
    word-spacing: 5px;
    font-weight: bold;
    margin-top: 40px;
    margin-bottom: 5px;
}

.head4 {
    font-size: 13px;
}

.head5 {
    font-size: 15px;
    font-weight: bold;
}

.head6 {
    font-size: 13px;
}

.head7 {
    font-size: 22px;
}

.card-1 {
    height: 95px;
    margin-top: 9px;
    padding: 10px 15px;
}

    .card-1 img {
        width: 50px;
    }

    .card-1 p, .card-2 p {
        font-size: 17px;
    }

.card-2 {
    background-size: cover;
    background-repeat: no-repeat;
    padding: 10px;
}

    .card-2 img {
        width: 100px;
        margin-bottom: 20px;
    }

    .card-2 span {
        font-size: 30px;
        font-weight: bold;
    }

.radius1 {
    border-radius: 5px;
}

.custom-form {
    background: var(--opacity-color);
    color: white !important;
    border: none;
    height: 60px;
    margin-top: 18px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

    .custom-form:focus {
        background: var(--opacity-color);
    }

    .custom-form::placeholder {
        color: white;
        opacity: 1; /* Firefox */
    }

    .custom-form::-ms-input-placeholder { /* Edge 12 -18 */
        color: white;
    }

    .custom-form .custom-img { /* Edge 12 -18 */
        width: 32px;
    }

    .custom-form option {
        background-color: var(--site-color);
        color: white;
    }

.select2-container .select2-selection--single, .select2-container .select2-selection--multiple {
    background: var(--opacity-color) !important;
    color: white !important;
    min-height: 60px !important;
    height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: start;
    border: none !important;
    border-radius: var(--bs-border-radius) !important;
}

    .select2-container .select2-selection--single .select2-selection__rendered {
        color: white !important;
    }

    .select2-container .select2-selection--single .select2-selection__arrow {
        top: 50% !important;
    }

        .select2-container .select2-selection--single .select2-selection__arrow b {
            border-color: #fff transparent transparent !important;
        }

    .select2-container .select2-selection--multiple .select2-selection__choice {
        background: var(--site-color) !important;
        border: none !important;
        border-radius: var(--bs-border-radius) !important;
        padding: 5px 20px;
    }

    .select2-container .select2-selection--multiple .select2-selection__clear {
        margin: 0;
        margin-right: 5px !important;
        color: white;
    }

.select2-container .select2-search--inline .select2-search__field {
    font-family: 'IRANSansWeb' !important;
    margin: 0;
    margin-right: .75rem;
}

    .select2-container .select2-search--inline .select2-search__field::placeholder {
        color: white;
        opacity: 1;
    }

    .select2-container .select2-search--inline .select2-search__field::-ms-input-placeholder {
        color: white;
    }

.d-center {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.badage-img, .register-img {
    padding: 20px;
    background: var(--opacity-color);
    border-radius: 50%;
    margin: 0 auto;
    margin-top: 18px;
}

    .badage-img img, .register-img img {
        object-fit: cover;
        border-radius: 50%;
    }

.register-img {
    width: 120px;
    height: 120px;
}

    .register-img img {
        width: 80px;
        height: 80px;
    }

.badage-img {
    width: 180px;
    height: 180px;
}

    .badage-img img {
        width: 140px;
        height: 140px;
    }

.no {
    background: var(--site-color);
    color: white;
    display: inline-block;
    font-size: 13px;
    border-radius: 10px;
    padding: 3px 10px;
    margin-bottom: .5rem;
}

.about-text {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.expanded {
    -webkit-line-clamp: unset;
}
