/*
Click nbfs://nbhost/SystemFileSystem/Templates/Licenses/license-default.txt to change this license
Click nbfs://nbhost/SystemFileSystem/Templates/JSP_Servlet/CascadeStyleSheet.css to edit this template
*/
/* 
    Created on : Mar 8, 2025, 9:29:53 AM
    Author     : asus
*/

@font-face {
    font-family: 'IranYekan';
    src: url('../template/fonts/iranyekan/iranyekanwebregularfanum.woff') format('woff'),
        url('../template/fonts/IranYekan.ttf') format('truetype'),
        url('../template/fonts/iranyekanwebbold.eot') format(' eot');
}



*{
    font-family: 'IranYekan', sans-serif;
    /*font-family: IRANYekan, tahoma;*/
    font-size: 14px;
    /*line-height: 1.4;*/
    /*    margin-left:15px !important;
        margin-right:15px !important;*/
}

/*برای اونایی که انجام شدن*/
a.style{
    text-decoration:none;
    color: #333;
}
a.red{
    color: red !important;
} /*are not done yet*/
a.green{
    color: green !important;
}/*empty files*/
a.blue{
    color: blue !important;
}  /*سامانه ها و سایت ها با قالب های متفاوت*/

.top_header{
    border-top: 10px solid #001475;
    background-color: #ecf3f9;
    font-size: 10px;
}
.navv {
    align-items: center;
    display: flex;
    flex-direction: row;
    background-color: #0b1b52;
}
/*برای هاور شدن منو های اول صفحه*/
.navbar-nav .nav-link {
    color: #fff !important;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    font-size:13.5px;
}
.navbar-nav .nav-link:hover {
    color: #fad126 !important;
}
/*#area1 for top_header so when you hover on it it changes color*/
.navbar-nav .nav-link1 {
    color: #001475 !important;
    cursor: pointer;
    text-decoration: none;
}
.navbar-nav .nav-link1:hover {
    color: #fad126 !important;
}
/*برای input سرچ اول صفحه*/
.search-container1 {
    direction: ltr;
    border-right: 0 none;
    border-left: 1px solid #ccc;
    border-top: 0 none;
    border-bottom:0 none;
    margin-top:  4rem !important;
}
/*هم برای input و ایکون سرچ*/
.search-container{
    position: relative;
    margin-bottom: 15px;
}
/*برای کارت های منو*/
@media (min-width: 992px) {
    .nav-item {
        position: relative; /* برای تعیین موقعیت کارت‌ها */
    }

    @media (min-width: 1200px) {
        .card-container {
            width: 1170px;
        }
    }
    .card-container {
        position: absolute;
        top: 100%; /* دقیقا زیر آیتم */
        left: 50.5%; /* وسط صفحه */
        transform: translateX(-50%); /* جابجایی به چپ به اندازه نصف عرض خود کارت */
        z-index: 100;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: flex-start; /* تنظیم محتوا به وسط */
        display: none;
        background:rgba(236, 243, 249, 0.95);
        padding: 15px;
        border-radius: 0px 0px 4px 4px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
        width: 1170px;
        max-height: 80vh;
        overflow-y: auto;
        overflow-y: auto; /* اسکرول داخلی */
        padding: 5px;
        margin-top: 1px;
        margin-bottom: 1px;
    }
    .card-container.show {
        display: flex;
    }
}
/*برای کارت های منو*/
.card-modal {
    width: 250px;
    background-color: white;
    border-radius: 10px;
    /*padding: 15px ;*/
    padding: 0px;
    /*    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);*/
    /*border: 2px solid rgba(0, 0, 0, 0.1);*/

    /*margin-left: 5px;*/
    /*padding: 25px;*/
    /*max-height: 300px;  حداکثر ارتفاع کارت */
    /*overflow-y: auto;  فعال کردن اسکرول داخلی*/

}
/*برای کارت های منو*/
.card-header {
    background-color: #07246F !important;
    color: white;
    padding: 5px 10px;
    border-radius: 4px !important; /* کمی بیشتر گردی بالای مستطیل */
    /*font-weight: bold;*/
    text-align: center;
    width: 100%; /* تمام عرض کارت رو بگیره */
    box-sizing: border-box; /* padding داخل حساب بشه */
    margin-bottom: 5px; /* فاصله از محتوای پایین‌تر */
}
.card-body {
    /*padding: 10px;*/
}
.frame{
    background-color: #14205c !important    ;
    border-radius: 7px;
    padding: 5px;
    margin-top: 2px;
    z-index: 2;
}
.frame1{
    background-color: #14205c;
    padding: 15px;
    margin-top: 2px;
    z-index: 2;
    width: 1092px;
}
/*برای متن فوتر*/
.ft {
    font-size:14px;
    color:#B6C3FF;
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 4px;
}
/*برای استایل متن های زرد توی 
*/.quickAccess_T{
    color: #ffb81e;
    font-size: 14px;

}
.quickAccess_T2{
    color:white; 
    text-decoration: none;
    font-size: 14px;
}
.quickAccess_T2:hover{
    color: #ffb81e;
}
/*title of each area*/
.area_title{
    color: #14205c;
    font-size:18px;
    margin-bottom: 5px;
    font-size: 20px;
}
.h1{
    font-weight: normal;
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 16px;
}
/*کارت اطلاعیه ها*/

/*فرم جستجو سمت راست قسمت top_logo */
.search-wrapper {
    display: flex;
    align-items: center;
    /*width: 100%;*/
    max-width: 300px;
    padding-bottom: 4px;
}

.search-wrapper input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    padding: 6px;
    color: #333;
    background-color: transparent;
    text-align: left;
}

.search-wrapper input::placeholder {
    color: #aaa;
}

.search-divider {
    width: 1px;
    height: 20px;
    background-color: #ccc;
    margin: 0 10px;
}

.search-icon {
    color: #f5a623;
    font-size: 16px !important;
    cursor: pointer !important;
    position: relative !important;
}
.hamburger {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    margin-bottom: 10px;
    cursor: pointer;
}
@media (max-width: 768px) {

    /* دکمه همبرگر تو موبایل دیده بشه */
    #hamburgerBtn {
        display: block;
        background: none;
        border: none;
        font-size: 28px;
        color: white;
        cursor: pointer;
        margin-left: auto;
    }

    /* منو اول مخفی باشه */
    #mainMenu {
        display: none;
        flex-direction: column;
        width: 100%;
        background-color: #0a1a52;
        position: absolute;
        top: 100%;
        right: 0;
        z-index: 1000;
    }

    /* وقتی کلاس show اضافه شد منو نشون داده بشه */
    #mainMenu.show {
        display: flex;
    }

    .nav-item {
        /*padding: 10px;*/
        text-align: right;
    }

    .card-container {
        flex-direction: column;
        padding: 0 15px;
    }
}

/* تو دسکتاپ دکمه همبرگر مخفی بمونه */
@media (min-width: 769px) {
    #hamburgerBtn {
        display: none;
    }

    #mainMenu {
        display: flex !important;
        flex-direction: row;
        position: static;
    }
}
.swiper-slide {
    box-sizing: border-box;
    padding: 10px;
}
.slider-card {
    box-sizing: border-box;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);*/
    margin-top: 30px;
       position: relative;
    background: white;
    width: 100%;
    height: 100%;
    padding-top: 60px;
    clip-path: path("M0,60 Q50%,0 100%,60 L100%,100% L0,100% Z");
    /*      padding: 15px;
          background: white;
          border-radius: 20px;
          text-align: center;*/
    /*position: relative;*/
    /*height: 75%;*/
}

.slider-medal {
    width: 60px;
    height: 60px;
    background-size: contain;
    position: absolute;
    /*top: -30px;*/
    left: calc(50% - 30px);
}

/*    .slider-img {
      width: 100%;
      border-radius: 10px;
      margin-top: 40px;
    }*/

.slider-title {
    /*font-weight: bold;*/
    margin: 5px 0;
    color: #0a1a52;
}

/*    .slider-footer {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }*/

.slider-link {
    color: #FFA500;
    /*      font-weight: bold;
          text-decoration: none;*/
}

.slider-link::before {
    content: '←';
    margin-left: 5px;
}

.slider-date {
    color: #e69d00;
    font-size: 14px;
}

.swiper-button-prev,
.swiper-button-next {
    background: #0a1a52;
    color: white;
    border-radius: 50%;
    padding: 10px 14px;
    font-size: 18px;
}

/*    .swiper {
      padding: 40px 0;
    }*/
.btn-all {
    background-color: #ffb800;
    /*color: white;*/
    /*padding: 12px 24px;*/
    /*border-radius: 10px;*/
    font-weight: bold;
    border: none;
    /*text-align: center;*/
    /*display: inline-block;*/
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.btn-all:hover {
    background-color: #e09e00;
    text-decoration: none;
    color: white;
}
/*برای قسمت دستاورد ها و افتخارات swiper*/

.swiper11 {
    position: relative; /* تا دکمه‌ها نسبت به این پوزیشن بگیرن */
}

.swiper-button-next11,
.swiper-button-prev11 {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: white;
    color: #f0ad4e;
    border-radius: 50%;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-inline: 20px;
}

.swiper-button-next11:hover,
.swiper-button-prev11:hover {
    background-color: #f0ad4e;
    color: white;
}

.swiper-button-next11 {
    right: 4px; /* اگه بیرون زد بعداً تنظیمش کن */
}

.swiper-button-prev11 {
    left:1.7px;
}

.title-wrapper12{
    float: right;
    padding: 12px 27px 0 27px;
    color: #14205c;
    font-family: 'IRANYekanBold';
    height: 51px;
    overflow: hidden;
    margin-bottom: 10px;
    line-height: 19px;
}
.title-wrapper1 {
    min-height: 37px; /* ارتع دلخواه، مثلاً 2 خط متن */
    display: flex;
    align-items: center; /* برای وسط‌چین کردن عمودی */
}
.list-unstyled{
    /*text-align: start;*/
    line-height: 1.8em !important;
    padding: 0 0.5em;
}
/*footer in english index the titles style*/
.ftEnTxt{
    font-weight: bold;
    color: #ffb81e;
    margin-bottom: 15px;
    font-size: 13px;
    text-align: left;
}
.row1{
    margin-right: -15px;
    margin-left: -15px;
}
.iconss{
    width: 23px;
    height: 23px;
    display: inline-block;
    margin-right: 20px;
}
/*دکمه های خاص*/
.btn-archive {
    background-color: #ffb81e;
    border-color: #ffb81e;
    margin-right: 750px;
    padding: 5px 15px;
    border-radius: 5px;
    color: #fff;
    z-index: 10;
    position: relative;
    text-decoration: none;
}
.btn-archive:hover{
    color: #fff;
    background-color:#001475;
    padding: 5px 15px;
}
.btn-archiveN {
    background-color: #ffb81e;
    border-color: #ffb81e;
    padding: 8px 20px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
}
.btn-archiveN:hover{
    color: #001475;
    background-color:#ecf3f9;
    /*padding: 5px 15px;*/
}

/*.notif .btn-archive:hover{
    color: #fff;
    background-color:#ecf3f9;
     padding: 5px 15px;
}*/
.buttonh4{
    width: 100% !important;
    text-align: left;
    margin-top: 15px;
    font-size: 14px;
    padding-left: 10px;

}

.btn-archiveEn {
    background-color: #ffb81e;
    border-color: #ffb81e;
    margin-left: 1040px;
}

/*برای هاور شدن کارت های دستلوورد ها و افتخارات*/
/*.slider-card {
    transition: all 0.3s ease;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);  حالت عادی بدون سایه 
    border: 2px solid transparent;
}*/

/*.slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #f5c518;  رنگ زرد ملایم که با مدال بخوره 
    background-color: #fffdf4;  کمی روشن‌تر از سفید 
}*/
/*home/sit map/contact us*/
.nav-item6{
    /*margin-left: 6px;*/
}
/*کارت های دستاورد ها و افتخارات*/
.honors {
    background-image: url(template/webSite/Sub_0/Template/Index/img/honor.jpg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* 👈 این خط ضروریه */
    width: 100%; /* 👈 عرض فول صفحه */
    overflow: hidden; /* برای جلوگیری از اسکرول افقی */
}


.custom-container{
    width: 100%;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
    position: relative;
    min-height: 1px;
}

@media (min-width: 1200px) {
    .custom-container {
        width: 1170px;
    }
}
