﻿@font-face {
    font-family: 'Yekan';
    src: url('fonts/newyekan.eot');
    src: url('fonts/newyekan.eot?#iefix') format('embedded-opentype'), url('fonts/newyekan.woff') format('woff'), url('fonts/newyekan.ttf') format('truetype'), url('fonts/newyekan.svg#Yekan') format('svg');
    font-weight: normal;
    font-style: normal;
    /*unicode-range: U+0600-06FF;*/
}

body {
    background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4) ), url('../../Content/images/Layer 7.png');
    background-repeat: no-repeat;
    background-position: center top;
    background-size: 100% 100%;
    direction: rtl;
    font-family: 'Yekan' !important;
}

.footer {
    //position: fixed;
    //left: 0;
    flex: 0 0 50px !important;
    margin-top: auto !important;
    color: black !important;
    bottom: 0;
    width: 100%;
    background-color: transparent;
    //color: white;
    text-align: center;
}

    .footer a {
        display: inline-block;
        margin-top: 1%;
    }

footer.footer ul {
    list-style: none;
}

.footer img {
    background: #868e96b0;
    border-radius: 10px;
}

.HeaderOverlay {
    height: 95px;
    width: 100%;
    /* position: fixed; */
    z-index: 1;
    top: 0;
    left: 0;
    /* background-color: rgba(46,108,131, .5); */
    background-color: white;
    overflow-y: hidden;
    transition: 1s;
    background-image: url(../../Content/images//Home/text.png);
    background-repeat: no-repeat;
    background-position: center center;
}

    .HeaderOverlay > ul {
        height: 100%;
        margin: 0px !important;
    }

        .HeaderOverlay > ul > li {
            float: right;
            height: 100%;
        }

            .HeaderOverlay > ul > li:first-child {
                width: 250px;
            }

    .HeaderOverlay img {
        width: 100%;
        height: 100%;
    }

    .HeaderOverlay > ul > li:nth-child(20) {
        width: 62%;
        text-align: center;
        /*padding: 37px 0;*/
    }

    .HeaderOverlay > ul > li:nth-child(2) {
        width: 250px;
        text-align: center;
        /* padding: 37px 0; */
        float: left;
        background-image: url(../../Content/images/Home/left.png);
        background-repeat: no-repeat;
        background-position: center center;
    }

    .HeaderOverlay > ul > li:nth-child(3) {
        width: 19%;
    }

        .HeaderOverlay > ul > li:nth-child(3) span, ._middleDiv > ul:first-child span {
            /*padding: 7px 35px 0;*/
            padding: 7px 15px 0 35px;
            border: 1px solid white;
            border-radius: 3px;
            text-align: center;
            width: 25%;
            color: white;
            float: right;
            margin: 30px;
            vertical-align: middle;
            font-weight: bold;
            font-size: 12px;
        }

.custom-loading_general {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,255,255, 0.5);
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

#toTop {
    /*display: none;*/
    text-decoration: none;
    position: fixed;
    bottom: 20px;
    right: 2%;
    overflow: hidden;
    z-index: 999;
    width: 32px;
    height: 32px;
    border: none;
    text-indent: 100%;
    background: url(../../Content/images/Home/top_move.png) no-repeat 0px 0px;
}

.searchPanel a.chosen-single:not([href]):not([tabindex]) {
    color: #fff;
    text-decoration: none;
}

.searchPanel select, .chosen-container {
    width: 100% !important;
}

.modal {
    overflow-y: auto !important;
}

.symbol .symbol-label {
    width: 50px;
    height: 50px;
}

.symbol .symbol-label {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-weight: 500;
    line-height: 0;
    color: #464e5f;
    background-color: #f3f6f9;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    border-radius: .42rem;
}

.symbol.symbol-60 .symbol-label {
    width: 60px;
    height: 60px;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {
    .HeaderOverlay {
        display: none;
    }

    .HeaderMobile {
        height: 95px;
        width: 100%;
        /* position: fixed; */
        z-index: 1;
        top: 0;
        left: 0;
        /* background-color: rgba(46,108,131, .5); */
        background-color: white;
        overflow-y: hidden;
        transition: 1s;
        background-image: url(../../Content/images//Home/last_overal.png);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: 100% 100%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
    .HeaderOverlay {
        display: block;
    }

    .HeaderMobile {
        display: none;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {
    .HeaderOverlay {
        display: block;
    }

    .HeaderMobile {
        display: none;
    }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
    .HeaderOverlay {
        display: block;
    }

    .HeaderMobile {
        display: none;
    }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    .HeaderOverlay {
        display: block;
    }

    .HeaderMobile {
        display: none;
    }
}
#popup {
    display: none; /* به‌صورت پیش‌فرض مخفی باشد */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
    background: #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    text-align: center;
}

    #popup button {
        margin-top: 10px;
        padding: 10px 20px;
        background: #007BFF;
        color: #ffffff;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        #popup button:hover {
            background: #0056b3;
        }
span.underline {
    color: red;
    text-decoration: underline;
}

    span.underline a {
        color: blue;
        text-decoration: none;
    }
