﻿* {
    border: 0;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -o-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;

}

:root {
    --mainBackground: #fdfdfd;
    --color1: #334155;
    --backGround1: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    --boxShadow1: inset 0 0 0 1px #bae6fd;
    --mainFontFamily: IRANSANSWEB;
    /*/////////////////////////////////////////////////////////////////*/
    --bookTextColor: #000000;
    --bookTextGround: #ffffff;
    --bookTextFontFamily: IRANSANSWEB;
    --bookTextFontSize: 17px;
}

@font-face {
    font-family: 'IRANSANSWEB';
    src: url('../fonts/IRANSANSWEB\(FANUM\)_ULTRALIGHT.TTF');
}

@font-face {
    font-family: 'Ordibehesht';
    src: url('../fonts/Ordibehesht.TTF');
}

/* =========================================
           استایل برای فایرفاکس (Firefox)
           ========================================= */
html {
    scrollbar-width: thin; /* نازک کردن اسکرول بار */
    scrollbar-color: #dadce0 transparent; /* رنگ دستگیره و پس‌زمینه */
    
}


/* =========================================
           استایل برای کروم، اج، سافاری، اوپرا
           ========================================= */
/* حالت پیش‌فرض */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background-color: #dadce0;
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: background-color 0.3s ease;
}

    /* حالت هاور (وقتی موس روی اسکرول می‌رود) */
    ::-webkit-scrollbar-thumb:hover {
        background-color: #9aa0a6;
    }

.Tooltip {
    position: absolute;
    background-color: #222; 
    color: #fff;
    padding: 8px 12px; 
    border-radius: 6px;
    font-size: 16px; 
    font-family: IRANSANSWEB; 
    /*white-space: nowrap;*/
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000000000;
    opacity: 0; 
    transition: opacity 0.3s;
    pointer-events: none; /* جلوگیری از تداخل با ماوس */
    min-height: 50px;
    min-width: 100px;
    max-width:400px;
    /*border: 1px solid white;*/
   
    display: flex;
    justify-content: center; 
    align-items: center;
    border: 1px solid #000; 
    margin-bottom: 5px;
    margin-left: -80px;
      
       
}

.Input {
    outline: 0;
    color: rgb(126, 126, 126);
    cursor: default;
    font-family: IRANSANSWEB;
    font-size: 17px;
    padding: 3px;
    padding-right: 6px;
    padding-left: 6px;
    overflow: hidden;
    background-color: rgb(255, 255, 255);
}

    .Input:active {
        border: 0px solid silver;
    }

.Button {
    margin: 4px;
    text-align: center;
    font-size: 16px;
    font-family: var(--mainFontFamily);
    padding: 3px;
    min-width: 59px;
    text-indent: 3px;
    /* background: linear-gradient(135deg, #90b1ff, #ffd42a); */
    /* box-shadow: inset 0 0 0 1px #bae6fd; */
    height: 40px;
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    cursor: pointer;
    /* display: flex; */
    /* justify-content: center; */
    align-items: baseline;
    max-height: 40px;
    background-color: #0061e0;
}
    .Button:hover {
        background-color: #0c6494;
    }

    .Button:active {
        box-shadow: 0px 0px 2px lime;
    }

.Button2 {
    margin: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    cursor: pointer;
    font-family: IRANSANSWEB;
    font-size: 16px;   
    min-width: 60px;   
    width: 180px;
    height: 77px;
    background-image: url('../images/button.png');
    background-size: cover;
    background-repeat: no-repeat;
}


.InTextButton {
    margin: 4px;
    text-align: center;
    font-size: 15px;
    font-family: var(--mainFontFamily);
    padding: 3px;
    padding-right: 5px;
    padding-left: 5px;
    text-indent: 3px;
    color: blue;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.3s;
    cursor: pointer;
    align-items: baseline;
    background-color: transparent;
    float: right;
    display: inline-block;
    user-select: none;
    border: 1px solid #e1e1e1;
}

    .InTextButton:hover {
        background-color: #0c6494;
        color:white;
    }

    .InTextButton:active {
        box-shadow: 0px 0px 2px lime;
    }

.InText {
    margin: 1px;
    text-align: center;
    font-size: 15px;
    font-family: var(--mainFontFamily);
    padding: 4px;
    text-indent: 3px;
    color: dimgray;
    text-decoration: none;
    transition: background 0.3s;  
    background-color: transparent;
    float: right;
    display: inline-block;
}

label {
    margin: 4px;
    text-align: inherit;
    color: black;
    cursor: default;
    font-family: var(--mainFontFamily);
    font-size: 14px;
    padding: 3px;
    text-indent: 3px;
}
.Label {
    margin: 4px;
    text-align: inherit;
    color: black;
    cursor: default;
    font-family: var(--mainFontFamily);
    font-size: 14px;
    padding: 3px;
    text-indent: 3px;
}

.ComboBox {
    margin: 4px;
    text-align: center;
    color: black;
    border: 1px solid gray;
    cursor: pointer;
    font-family: IRANSANSWEB;
    font-size: 14px;
    border-radius: 2px;
    padding: 3px;
    text-indent: 3px;
    background: rgb(250, 250, 250);
}

    .ComboBox:hover {
        box-shadow: 0px 0px 3px rgb(53, 53, 255);
    }


.ListItem {
    font-family: var(--mainFontFamily);
    font-size: 14px;
    padding: 4px 15px;
    cursor: pointer;
    border-bottom: 1px solid #f9f9f9;
}

    .ListItem:hover {
        background-color: aliceblue;
    }


.Centerlocation {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.HorizentalCenterlocation {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0%);
}


Body {
    direction: rtl;
    font-family: IRANyekan;
}

main {
    flex: 2;
    padding: 32px;
}

Table {
    border-collapse: collapse;
}

A {
    font-size: 14px;
    color: #ffffff;
    text-decoration: none;
}

.Title_1 {
    font-size: 24px;
    font-weight: bold;
    color: #bdff49;
    text-decoration: none;
}

.Title_2 {
    font-size: 19px;
    font-weight: bold;
    color: #11db00;
    text-decoration: none;
}

.Background {
    background-size: cover;
    background-repeat: no-repeat;
    background-image: url('../images/background.png');
}

.H3 {
    font-size: 35pt;
    text-align: center;
    font-family: ordibehesht;
    color: white;
}

.H2 {
    font-size: 35pt;
    text-align: center;
    font-family: ordibehesht;
    color: #008bd9;
}

.TextBox {
    outline: 0;
    width: 200px;
    float: right;
    min-height: 40px;
    margin: 3px;
    padding: 10px;
    border-radius: 7px;
    font-family: IRANSANSWEB;
    font-size: 14px;
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid rgb(212, 212, 212);
    background-color:white;
}

.FileDownload {
    direction:ltr;
    width:100%;
    outline: 0;
    float: right;
    height: 30px;
    margin: 3px 0;
    padding: 3px;
    font-size: 11pt;
    font-family: Tahoma;
    color: rgb(126, 126, 126);
    cursor: pointer;
    background-color: rgb(255, 255, 255);
    direction:inherit;
   white-space:nowrap;
}
.File {
    direction: ltr;
    width: 100%;
    outline: 0;
    float: right;
    height: 30px;
    margin: 3px 0;
    padding: 3px;
    font-size: 11pt;
    font-family: Tahoma;
    color: rgb(126, 126, 126);
    cursor: pointer;
    background-color: rgb(255, 255, 255);
}
.Panel {
    box-shadow: 0px 0px 15px gray;
    border-radius: 15px;
    border: 3px solid white;
    background-image: url('../images/groundRepead.png');
}

.FrameHeader {
    width: 100%;
    height: 34px;
    text-align: center;
    background: var(--backGround1);
    box-shadow: var(--boxShadow1);
    position: sticky;
    z-index: 1;
    overflow: hidden;
    font-size: 16px;
    font-family: IRANSANSWEB;
    color: dimgray;
    padding: 4px;
    top:0px;
}

.CloseFrameBtn {
    position: absolute;
    width: 47px;
    height: 20px;
    cursor: pointer;
    top: 0px;
    left: 8px;
    background-size: contain;
    background-position: top;
    background-repeat: no-repeat;
    background-image: url('../images/close.png');
    z-index:2;
}


.InFrame {
    display: none;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    display: none;
    opacity: 0;
    z-index: 90;
    transition: all 0.1s;
    direction: rtl;
    background-color: var(--mainBackground);
    position: absolute;
    overflow: hidden;
    font-size: 17px;
    font-family: var(--mainFontFamily);
}

.FullFrame {
    direction: rtl;
    background: whitesmoke;
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow: Auto;
    min-height: 250px;
    background-image: url('../images/background.png');
}

.LabelLevel1 
{
    text-align: left;
    color: Gray;
    font-family: IRANSANSWEB;
    font-size: 12px;
}

.FullBlackFrame {
    display: none;
    width: 100%;
    height: 100%;  
    opacity: 0;
    z-index: 90;
    position: absolute;
    transition: all 0.3s;
    background-color: rgba(0, 0, 0, 0.824);
}

.CircleInfoFrame {
    height: 250px;
    width: 250px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 6px solid rgb(255, 222, 93);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: red;
    font-family: IRANSANSWEB;
    font-size: 50px;
    box-shadow: -7px 7px 10px #888;
}

.FileLink {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 30px;
    width: 30px;
    float: right;
    cursor: pointer;
    background-image: url('../images/download.png');
}

.DivTitle {
    font-size: 18px;
    color: #0061e0;
    /*border-bottom: 1px solid black;*/
    margin-bottom: 5px;
    margin-top: 5px;
    width: 98%;
    float: right;
    font-family: IRANSANSWEB;
    overflow: hidden;
    overflow-wrap: anywhere;
    padding: 7px;
}

.DivContent {
    font-size: 18px;
    color: black;
    margin-bottom: 5px;
    margin-top: 5px;
    width: 98%;
    float: right;
    font-family: IRANSANSWEB;
    padding: 7px;
    background-color: #ffffff91;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.aside {
    width: 240px;
    background-color: #232733;
    border-left: 1px solid #d0d0d0;
    padding: 32px 16px;
    height: 100vh;
    overflow: auto;
}


.NavItem {
    display: block;
    padding: 9px 8px;
    color: white;
    text-decoration: none;
    margin-bottom: 4px;
    border-radius: 10px;
    transition: background 0.3s;
    cursor: pointer;
    font-family:var(--mainFontFamily);
    user-select:none;
}

    .NavItem:hover {
        background: #e2e8f0; 
        color: #334155;
    }


.ActiveNavItem {
    background: linear-gradient(135deg, #e0f2fe, #f0f9ff);
    box-shadow: inset 0 0 0 1px #bae6fd;
    color: #334155;
}

ul {
    font-family: var(--mainFontFamily);
    font-size:17px;
}




/*/////////////////////////////////////////////////////////////////////*/



.ticker-wrapper {
    display: inline-block;
    white-space: nowrap;
    padding-right: 100%;
    animation: scroll 70s linear infinite;
}

.news-item {
    display: inline-block;
    margin-left: 50px; /* فاصله بین اخبار */
}

@keyframes scroll {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(100%);
    }
}

.Blink {
    font-family: IRANSANSWEB;
    color: red;
    animation: blink-animation 1s infinite;
}

@keyframes blink-animation {
    50% {
        opacity: 0;
    }
}


.WaitFrame {
    display: none;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 300000;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    /*border: 3px solid #ffde5d;*/
    transition: all 0.3s;
}


#waitAnimation {
    background-image: url('../images/wait.gif');
    width: 150px;
    height: 150px;
    background-size: cover;
}

.Hidden{
    opacity:0;
}

/*/////////////////////////////////////////////////////////////////////////*/

.Backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(2px);
    opacity: 1;
    transition: opacity 0.25s ease;
    display: none;
    z-index: 1000;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
}

.Modal {
    position: fixed;
    min-width: 350px;
    min-height: 150px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.85);
    background: white;
    padding: 22px;
    border-radius: 14px;
    opacity: 0;
    display: none;
    z-index: 1001;
    /* فنری: cubic-bezier */
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1.25, 0.32, 1);
}

#yesBtn {
    width: 70px;
    height: 35px;
    margin-top: 30px;
}

#noBtn {
    width: 70px;
    height: 35px;
    margin-top: 30px;
}


/* نمایش اولیه */
.Show {
    display: block !important;
}

/* حالت کاملاً قابل دیدن */
.Visible {
    opacity: 1 !important;
    transform: translate(-50%, -50%) scale(1) !important;
}



   