﻿@font-face {
    font-family: "fl-icons";
    src: url("font/30a0adada561ec8493b9dfce36a805f8.eot"); /* IE9*/
    src: url("font/30a0adada561ec8493b9dfce36a805f8.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
    url("font/30a0adada561ec8493b9dfce36a805f8.woff2") format("woff2"), /* chrome、firefox */
    url("font/30a0adada561ec8493b9dfce36a805f8.woff") format("woff"), /* chrome、firefox */
    url("font/30a0adada561ec8493b9dfce36a805f8.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+*/
    url("font/30a0adada561ec8493b9dfce36a805f8.svg#fl-icons") format("svg"); /* iOS 4.1- */
}

@media screen and (max-height: 550px) {
    #Lmap {
        height: 290px !important;
    }
}

@media (min-height: 551px) and (max-height: 750px) {
    #Lmap {
        height: 330px !important;
    }
}

@media (min-height: 751px) and (max-height: 850px) {
    #Lmap {
        height: 330px !important;
    }
}

@media (min-height: 851px) and (max-height: 900px) {
    #Lmap {
        height: 350px !important;
    }
}

@media (min-width: 980px) {
    #Lmap {
        height: 350px !important;
    }
}


@media screen and (max-width: 980px) {

    .panelmoon {
        text-align: center;
        display: block !important;
        width: 100% !important
    }

    .progressBorj {
        height: 8px !important;
    }

        .progressBorj span:first-child {
            display: none;
        }

    .changeborjtime {
        position: relative;
    }

    .nextline {
        display: block !important;
    }

    .lonlat {
        font-size: 17px !important;
    }

    #equalto {
        font-size: 17px;
    }

    .Userdate {
        font-size: 17px !important;
        width: 98px !important;
    }

    .moonboroojtable {
        padding: 0 !important;
        margin: 0 !important;
    }

    .moonboroojcolumnhead {
        padding: 0 !important;
        font-size: 14px !important;
    }

    .moonboroojcolumn {
        padding: 4px;
        font-size: 14px;
    }


    .cityloader {
        right: 275px !important
    }

    .important_news {
        position: fixed;
        z-index: 99;
        width: 100%;
        font-size: 12px;
    }

    .moonvar {
        width: 100% !important;
        display: block !important;
        height: auto !important;
        border-left: none !important;
    }

    #Lmap {
        width: 100% !important;
    }

    #mapcontent {
        width: 100% !important;
    }

    #JadvalOghat {
        font-size: 10px;
    }

    #OghatTable {
        font-size: 8px;
    }

    #div_userdate {
        position: relative;
        top: 0;
        text-align: center;
    }

    #PrayTimesPanel li {
        padding: 10px 0px !important;
        font-size: 14px !important;
    }

    #PrayTimesPanel ul {
        width: 100% !important;
    }

    .setdate {
        margin-bottom: 25px !important;
    }

        .setdate input[type=text] {
            width: 32px !important;
        }

    #ctl00_cphMaster_rblCalendar {
        position: absolute;
    }

    #bd-root-userdate {
        bottom: 17px;
    }

    .contentbox {
        margin: 10px 0 !important;
        padding: 10px !important;
    }

    .curDate {
        font-size: 20px !important;
        margin: 15px !important;
    }

    .ptimes {
        display: contents !important;
    }

        .ptimes table {
            display: contents !important;
        }

            .ptimes table td {
                width: 30%;
            }

    .attrcontent {
        height: auto !important;
        padding: 0 !important;
        font-size: 13px !important;
    }

    .detailimage {
        width: auto !important;
        margin-left: 0 !important;
        margin-top: 12px !important;
    }

    #album img {
        width: 100% !important;
    }

    .listlastnews {
        width: 91% !important;
    }

    .listalbum {
        width: 97% !important;
        overflow: hidden !important;
        height: 190px !important;
    }

    .darkshadowalb {
        width: 100% !important;
        height: 190px !important;
    }

    .imgalbum {
        width: 100% !important;
        height: auto !important;
    }

    .lst_album a {
        top: 130px !important;
    }

    .boxShadow {
        border: none !important;
    }

    #h1header h1 {
        color: #fff !important;
    }


    .div_listnews {
        margin-right: 0 !important;
    }

    .listonesnews {
        margin-right: 0 !important;
    }

    .topPictorialNews_small {
        float: none !important;
        width: auto !important;
        margin: 10px 0px 10px 0 !important;
    }

    #middlecontent {
        width: 100% !important;
    }

    #float_header_res {
        position: fixed;
        width: 100%;
        z-index: 9;
        height: 54px;
        box-shadow: none;
        transition: box-shadow 0.5s;
        background-color: #000;
    }

        #float_header_res.active {
            box-shadow: 0 0 10px rgba(0,0,0,0.4);
            border-bottom: 1px solid #12202c;
            background-color: #000;
            top: 0;
        }

    #divtopmenu li a {
        font-size: 14px;
    }

    #menubtn {
        display: block !important;
    }

    #divtopmenu {
        display: none;
    }

        #divtopmenu li a {
            font-size: 14px;
        }

    #menubtn {
        display: block !important;
    }

    #divtopmenu {
        display: none;
    }

        #divtopmenu li a {
            font-size: 14px;
        }

    #menubtn {
        display: block !important;
    }

    #divtopmenu {
        display: none;
    }

    #language {
        display: none;
    }

    #account {
        display: none;
    }

    #register {
        display: none;
    }

    #nojumilogo {
        background: no-repeat top right url(/Images/General/logo-3x-small.png) !important;
        height: 30px !important;
        width: 30px !important;
        left: 20px !important;
        top: 13px !important;
        float: left !important;
        right: unset !important;
    }

    #language {
        display: none;
    }

    #account {
        display: none;
    }

    #register {
        display: none;
    }

    #nojumilogo {
        background: no-repeat top right url(/Images/General/logo-3x-small.png) !important;
        height: 30px !important;
        width: 30px !important;
        left: 20px !important;
        top: 13px !important;
        float: left !important;
        right: unset !important;
    }

    #language {
        display: none;
    }

    #account {
        display: none;
    }

    #register {
        display: none;
    }

    #nojumilogo {
        background: no-repeat top right url(/Images/General/logo-3x-small.png) !important;
        height: 30px !important;
        width: 30px !important;
        left: 20px !important;
        top: 13px !important;
        float: left !important;
        right: unset !important;
    }

    #h1header_en {
        display: none;
    }

    #divheader {
        height: 155px !important;
    }

    #language {
        display: none;
    }

    #searchbox {
        right: 10px !important;
        width: 93% !important;
        top: 10px !important;
        height: 33px;
    }

        #searchbox input {
            font-size: 15px !important;
            height: 40px !important;
            background-size: 30px !important;
        }

    #language {
        display: none;
    }

    #language {
        display: none;
    }

    #div_rcontent {
        width: 100%;
    }

    #divcontent {
        width: 100% !important;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .topPictorialNews {
        width: 100% !important;
        margin: 0 !important;
        float: none !important;
        height: 240px !important;
    }

    .listnews {
        width: 91% !important;
        display: block !important
    }

    .listonesnews {
        margin-right: 4px !important;
    }

    #div_lcontent {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }

    #divfooter {
        display: none;
    }

    #nojumi_footer_logo {
        background-size: 40px 40px !important;
        height: 40px !important;
        width: 40px !important;
    }

    #footer_sitetitle {
        font-size: 11px !important;
        right: 95px !important;
    }

    #footer_ensitetitle {
        font-size: 8px !important;
        right: 37px !important;
    }
}

@media screen and (max-width: 1150px) and (min-width: 800px) {
    .listnews {
        width: 95% !important;
    }

    #divtopmenu li a {
        font-size: 15px;
    }
}

@media screen and (max-width: 1080px) and (min-width: 800px) {
    #divcontent {
        width: 100% !important;
        padding: 0 8px;
        box-sizing: border-box;
    }

    #div_lcontent {
        width: 100% !important;
        padding: 0 15px;
        box-sizing: border-box;
    }
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

li {
    list-style: none outside none;
    display: inline-block
}

#divmaster {
    width: 100%;
    margin: 0 auto;
}

@keyframes animatedBackground {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 100% 0;
    }
}

#divheader {
    width: 100%;
    height: 290px;
    background-color: #cdcdcd;
    background: url('/Images/General/header-image.jpg') no-repeat;
}

a {
    text-decoration: none;
    color: inherit;
}

    a:hover {
        color: #14a5d3;
    }

.boxShadow {
    border: 1px solid rgba(255,255,255,0.1);
}

    .boxShadow:hover {
        box-shadow: 0 0 5px rgba(255,255,255,0.1);
    }

#div_lcontent {
    float: left;
    width: 330px;
}

.imgtopNews_small {
    max-width: 100%;
    height: 230px;
}

.topSummaryNews {
    padding: 0 15px;
    font-size: 15px;
    line-height: 1.9;
    color: #000;
    overflow: hidden;
}

.topNewfooter {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0px 15px 5px 15px;
    color: #cfcfcf;
    line-height: 32px;
    font-size: 14px;
}

.listnews {
    height: 85px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin: 10px 5px 0px 4px;
    padding: 10px;
    width: 270px;
    position: relative;
    display: inline-block;
    overflow: hidden;
}

    .listnews:hover {
        box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    }

.listlastnews {
    height: 85px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin: 10px 5px 5px 4px;
    padding: 10px;
    width: 270px;
    position: relative;
    display: inline-block;
}

    .listlastnews:hover {
        box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    }


.listalbum {
    height: 125px;
    border: 1px solid #2a384e;
    margin: 10px 5px 5px 10px;
    width: 212px;
    float: right;
    position: relative;
}

    .listalbum:hover {
        box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    }

.imgalbum {
    width: 213px;
    height: 125px;
}

.listonesnews {
    width: 271px;
    margin-right: 13px;
    margin-top: 0;
}

.lst_tnews {
    padding-right: 10px;
    height: 74px;
    overflow: hidden;
}

    .lst_tnews h2 {
        margin: 0;
        font-size: 12px;
        font-weight: 500;
    }

.div_listnews {
    width: 100%;
    margin-right: 5px;
    padding-bottom: 10px;
    overflow: hidden;
}

.statNews {
    color: #4e5e73;
    font-size: 10px;
    position: absolute;
    bottom: 5px;
    left: 12px;
}

.iconnewview {
    top: 6px;
    position: relative;
}

#currentEvent {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* استایل‌های بخش مناسبت‌های ماه قمری */
.lunar-events-section {
    background: rgba(255,255,255,0.1);
    padding: 15px;
    border-radius: 10px;
    margin: 15px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.lunar-events-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: bold;
    color: #fff;
    font-size: 14px;
}

.lunar-events-header i {
    color: #ffd700;
    font-size: 16px;
}

/* استایل‌های ناوبری ماه‌های قمری */
.lunar-month-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.month-nav-btn {
    background: rgba(255,215,0,0.2);
    border: 1px solid rgba(255,215,0,0.4);
    color: #ffd700;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
}

.month-nav-btn:hover {
    background: rgba(255,215,0,0.3);
    border-color: rgba(255,215,0,0.6);
    color: #fff;
    transform: scale(1.1);
}

.month-nav-btn:active {
    transform: scale(0.95);
}

.month-nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.month-nav-btn:disabled:hover {
    background: rgba(255,215,0,0.2);
    border-color: rgba(255,215,0,0.4);
    color: #ffd700;
    transform: none;
}

.current-month-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    min-width: 80px;
}

.current-month-info span:first-child {
    color: #ffd700;
    font-size: 13px;
    margin-bottom: 2px;
}

.current-month-info span:last-child {
    color: rgba(255,255,255,0.8);
    font-size: 11px;
}

.lunar-events-list {
    max-height: 200px;
    overflow-y: hidden; /* اسکرول‌بار به صورت پیش‌فرض مخفی */
    padding-right: 5px;
    /* تنظیمات اسکرول‌بار برای تمام مرورگرها */
    scrollbar-width: none; /* اسکرول‌بار به صورت پیش‌فرض مخفی */
    scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    overflow-x: hidden;
    transition: all 0.3s ease; /* انیمیشن نرم برای ظاهر شدن اسکرول‌بار */
}

/* تنظیمات اسکرول‌بار برای مرورگرهای WebKit - به صورت پیش‌فرض مخفی */
.lunar-events-list::-webkit-scrollbar {
    width: 0px; /* اسکرول‌بار به صورت پیش‌فرض مخفی */
    transition: width 0.3s ease;
}

.lunar-events-list::-webkit-scrollbar-track {
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
}

.lunar-events-list::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
}

.lunar-events-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

/* تنظیمات اسکرول‌بار برای Firefox و سایر مرورگرها - به صورت پیش‌فرض مخفی */
@-moz-document url-prefix() {
    .lunar-events-list {
        scrollbar-width: none; /* اسکرول‌بار به صورت پیش‌فرض مخفی */
        scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    }
}

/* تنظیمات اسکرول‌بار برای Edge - به صورت پیش‌فرض مخفی */
@supports (-ms-ime-align: auto) {
    .lunar-events-list {
        scrollbar-width: none; /* اسکرول‌بار به صورت پیش‌فرض مخفی */
        scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    }
}

/* تنظیمات hover - اسکرول‌بار فقط زمانی ظاهر می‌شود که موس روی بخش قرار بگیرد */
.lunar-events-section:hover .lunar-events-list {
    overflow-y: auto; /* فعال کردن اسکرول عمودی */
    scrollbar-width: thin; /* نمایش اسکرول‌بار در Firefox */
    padding-right: 8px; /* فضای بیشتر برای اسکرول‌بار */
}

/* تنظیمات hover برای مرورگرهای WebKit */
.lunar-events-section:hover .lunar-events-list::-webkit-scrollbar {
    width: 4px; /* نمایش اسکرول‌بار */
    transition: width 0.3s ease; /* انیمیشن نرم برای ظاهر شدن */
}

/* تنظیمات hover برای Firefox */
@-moz-document url-prefix() {
    .lunar-events-section:hover .lunar-events-list {
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    }
}

/* تنظیمات hover برای Edge */
@supports (-ms-ime-align: auto) {
    .lunar-events-section:hover .lunar-events-list {
        scrollbar-width: thin;
        scrollbar-color: rgba(255,255,255,0.3) rgba(255,255,255,0.1);
    }
}

/* استایل‌های اضافی برای زمانی که اسکرول‌بار فعال است */
.lunar-events-list.has-scrollbar {
    padding-right: 8px; /* فضای بیشتر برای اسکرول‌بار */
}

.lunar-events-list.has-scrollbar::-webkit-scrollbar {
    width: 6px; /* عرض بیشتر برای راحتی استفاده */
}

.lunar-events-list.has-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.4);
    border-radius: 3px;
}

.lunar-events-list.has-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.6);
}

/* انیمیشن نرم برای کل بخش مناسبت‌های ماه قمری */
.lunar-events-section {
    transition: all 0.3s ease;
}

/* بهبود تجربه کاربری هنگام hover */
.lunar-events-section:hover {
    transform: translateY(-1px); /* حرکت جزئی به بالا */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* سایه بیشتر */
}

.lunar-events-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lunar-event-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: background-color 0.3s ease;
}

.lunar-event-item:last-child {
    border-bottom: none;
}

.lunar-event-item:hover {
    background: rgba(255,255,255,0.05);
    border-radius: 5px;
    padding: 8px 5px;
    margin: 0 -5px;
}

.event-day {
    background: rgba(255,215,0,0.2);
    color: #ffd700;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    min-width: 30px;
    text-align: center;
    border: 1px solid rgba(255,215,0,0.3);
}

.event-text {
    color: #fff;
    font-size: 12px;
    line-height: 1.4;
    flex: 1;
}

.loading-spinner {
    text-align: center;
    color: #fff;
    font-size: 12px;
    padding: 20px 0;
}

.loading-spinner i {
    margin-left: 8px;
    color: #ffd700;
}

.no-events {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    padding: 20px 0;
    font-style: italic;
}

.error-message {
    text-align: center;
    color: #ff6b6b;
    font-size: 12px;
    padding: 20px 0;
}

.more-events-link {
    text-align: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.more-events-link a {
    color: #ffd700;
    text-decoration: none;
    font-size: 11px;
    transition: color 0.3s ease;
}

.more-events-link a:hover {
    color: #fff;
    text-decoration: underline;
}

.seemore {
    margin-top: 10px;
    font-size: 12px;
    text-align: center
}

.eventdate {
    font-size: 13px;
    color: #CCC;
    bottom: 0;
    left: 0;
}

.othertopics {
    margin-top: 10px;
    border: 1px solid #e0e0e0;
}

.currenttopics {
    background-color: #fff;
    color: #333;
    padding: 10px 15px;
}

.topicsimage {
    position: absolute;
    width: 37%;
    height: 75px;
    text-align: center;
}

    .topicsimage img {
        max-width: 100%;
        height: 100%;
        margin-top: 8px;
    }

.topicstitle h2 {
    font-size: 13px;
    font-weight: 500;
    margin: auto;
}

#middlecontent {
    overflow: auto;
    padding-top: 10px;
    width: 1260px;
    margin: 0 auto;
}

#contentdetail img {
    max-width: 100%;
    max-height: 900px;
}

#contentdetail h1 {
    font-size: 20px;
    color: #333;
}

.attrcontent {
    padding: 5px;
    color: #607D8B;
    height: 34px;
}

.button {
    font-size: 16px;
    font-family: iransans;
    width: 200px;
    color: #1c6eae;
    margin: 8px;
}

.button_disable {
    cursor: not-allowed;
    color: #a7a7a7;
}

.textbox {
    padding: 4px 8px;
    font-family: iransans;
    color: #49779b;
    margin: 8px;
}

.label {
    font-family: IranSans;
    color: #666;
}

#contentreview {
    padding: 15px 10px;
    border: 1px solid #CCC;
    margin-top: 10px;
}

    #contentreview span {
        color: #FF9800;
    }

.detailimage {
    width: 320px;
    float: right;
    margin-left: 20px;
    margin-top: 12px;
}



#divtopmenu.floatt {
    position: fixed;
    top: 0;
    z-index: 9;
    width: 100%;
    background-color: #277CB6;
}

#divtopmenu.top {
    position: relative;
}

#divtopmenu li a:hover {
    transition: color 0.3s ease;
    color: #fff;
}

#divtopmenu li a {
    color: #e8e7e7;
    padding-bottom: 7px;
}

#divtopmenu li:last-child {
    border-left: none;
}

#h1header h1 {
    margin: 0 auto;
    color: #333;
}

/* استایل برای صفحات فرعی - همان استایل h1 */
.site-title {
    margin: 0 auto;
    color: #333;
    font-size: 2em;
    font-weight: normal;
}

/* استایل برای صفحات فرعی - همان استایل h2 */
.site-subtitle {
    font-size: 1.5em;
    font-weight: normal;
    /* استایل‌های فونت از فایل‌های زبان‌های مختلف به ارث برده می‌شود */
}

#divreview {
    margin-top: 30px;
}

#searchbox input {
    font-family: iransans;
    padding-right: 40px;
    font-size: 18px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    background: no-repeat right url(/Images/General/magnify.png);
    background-size: 37px;
    color: #c8c8c8;
    height: 42px;
    padding-left: 10px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
}

.searchbox {
    font-family: iransans;
    padding: 0 40px;
    padding-left: 40px;
    font-size: 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 2px;
    background: no-repeat right url(/Images/General/magnify.png);
    background-color: rgba(0, 0, 0, 0);
    background-size: auto;
    background-size: 33px;
    color: #c8c8c8;
    height: 35px;
    padding-left: 10px;
    background-color: #fff;
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
}

#language a {
    border-bottom: 1px dashed;
    padding: 0px 6px;
    color: #03a9f4;
    margin: 5px;
}

.ResultSearchRow {
    min-height: 40px;
    padding: 10px 10px 16px 10px;
    border-bottom: 1px solid #CCC;
    direction: rtl;
}

    .ResultSearchRow img {
        width: 50px;
        border-radius: 35px;
        height: 50px;
    }

.loader {
    height: 40px;
    width: 40px;
    position: absolute;
    top: calc(50% - 20px);
    right: calc(50% - 20px);
    -webkit-transform: translate(-50% 50%);
    -moz-transform: translate(-50% 50%);
    -ms-transform: translate(-50% 50%);
    -o-transform: translate(-50% 50%);
    transform: translate(-50% 50%);
    border-radius: 50%;
    border: .25rem solid rgba(0,0,0,.2);
    border-top-color: #777;
    -webkit-animation: spin 1s infinite linear;
    animation: spin 1s infinite linear;
    z-index: 3;
}

@-moz-keyframes spin {
    from {
        -moz-transform: rotate(0deg);
    }

    to {
        -moz-transform: rotate(360deg);
    }
}

@-webkit-keyframes spin {
    from {
        -webkit-transform: rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.dropdown {
    font-family: iransans;
    background-color: #173862;
    color: #f9fcfd;
    padding: 5px;
    margin: 8px;
}

.dropdown_oghat {
    font-family: iransans;
    color: #f9fcfd;
    padding: 5px;
    margin: 8px;
    background: #2196F3;
    border: 1px solid #3F51B5;
    border-radius: 3px;
}

    .dropdown_oghat option {
        font-family: tahoma;
        font-size: 16px;
    }

#news_list img {
    width: 100%;
    max-height: 165px;
}

#news_list .newsrow {
    height: 165px;
    background-color: #000;
    border: 1px solid #d2d3d4;
    margin: 10px 0px 5px 10px;
    padding: 10px;
    width: 97%;
    float: right;
    position: relative;
    opacity: 0.9;
}

    #news_list .newsrow a {
        font-size: 18px;
        color: #f9fcfd;
    }

#news_list .detail {
    font-size: 14px;
    color: #f9fcfd;
    position: relative;
    top: 60px;
    right: 25px;
}

.PageIndex_div a:hover {
    color: #49779b;
}

.Pager_li {
    list-style: none outside none;
    margin: 0;
    padding: 3px;
    display: inline-block;
    padding: 0 6px;
    height: 25px;
}

.footer_link {
    position: relative;
    margin-top: 10px;
    width: 27%;
    height: 285px;
    border-right: 1px solid #ccc;
    color: #666;
    float: right;
    padding: 0 22px;
}

.linblue {
    background: no-repeat url('../Images/General/adjust.svg');
    height: 16px;
    width: 16px;
    margin-top: 17px;
    float: right;
    margin-right: 10px;
}

.nojumevent {
    background: no-repeat url('../Images/General/weather-night.svg');
    height: 20px;
    width: 20px;
    margin-top: 15px;
    float: right;
    margin-right: 15px;
}

.amator {
    background: no-repeat url('../Images/General/atom.svg');
    height: 20px;
    width: 20px;
    margin-top: 15px;
    float: right;
    margin-right: 15px;
}

.pictorial {
    background: no-repeat url('../Images/General/image-filter-hdr.svg');
    height: 20px;
    width: 20px;
    margin-top: 15px;
    float: right;
    margin-right: 15px;
}

#searchnews {
    background-color: #12202c;
    padding: 12px;
}

.pagination td {
    padding: 10px;
}

.pagination span {
    color: #FFC107;
    border-bottom: solid 1px #FFC107;
}

#ifrm_qebleh {
    width: 99%;
    height: 740px;
    border: none;
}

#events {
    padding: 0 20px;
}

#album {
    padding: 0 20px;
    background-color: #fff;
    margin: 0 10px;
}

    #album img {
        width: 100%;
    }

.btnSendmsg {
    border: 1px solid #03A9F4;
    background-color: #f9fcfd;
    text-align: center;
    color: #0177a4;
}

.ftrlink {
    font-size: 14px;
}

#copyr {
    height: 90px;
    border-top: 1px solid #ccc;
    background-color: #001f2e;
}

.ftrcontent {
    width: 70%;
    margin: 0 auto;
}

#othersites {
    background-color: #173862;
    padding: 20px
}

#err_links {
    width: 55%;
    margin: 0 auto;
    background-color: #feffff;
    padding: 20px;
    border: 1px solid #d9d9d9;
    text-align: center;
}

.tbl_register {
    margin: 0 auto;
    width: 60%;
}

.aboutus {
    margin: 0 10px;
    padding: 30px;
    background-color: #fff;
    color: #CCC;
}

#contactus {
    margin: 0 10px;
    padding: 30px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

#ifrm_todayimg {
    width: 99%;
    height: 740px;
    border: none;
}

#backgray {
    background-color: rgb(0, 0, 0);
    height: 100%;
    width: 100%;
    opacity: 0.5;
    position: fixed;
    z-index: 998;
    display: none;
    margin-left: 0px;
}

#sidebar {
    -webkit-transition: right 0.3s;
    position: fixed;
    height: 100%;
    width: 270px;
    right: -270px;
    z-index: 999;
    background-color: #f9fcfd;
    overflow-x: scroll;
}

#menubtn {
    cursor: pointer;
    float: right;
    margin-right: 17px;
    margin-top: 14px;
    display: none;
}

.ulsubmebu_res {
    display: none;
    font-size: 14px;
}

#list-group a:hover {
    color: #0b1c31;
}

.side_hd {
    height: 145px;
    background-color: #0b1c31;
    border-bottom: 1px solid #fffdfd;
}

.imgsidelogo {
    width: 277px;
    border-width: 0px;
    opacity: 0.3;
    position: absolute;
    left: 82px;
    top: -129px;
}

#sidebar ul {
    padding: 0;
}

#list-group {
    font-size: 15px;
    color: #555;
}

.darkshadow {
    background: linear-gradient(0deg,rgb(0,23,34) 0,transparent 100%);
    position: absolute;
    height: 232px;
    width: 610px;
    top: 116px;
    z-index: 0;
}

.darkshadow2 {
    background: linear-gradient(0deg,rgb(0,23,34) 0,transparent 100%);
    position: absolute;
    height: 100px;
    width: 100%;
    top: 130px;
    z-index: 0;
}

.darkshadowalb {
    background: linear-gradient(0deg,rgba(0,0,0,.75) 0,transparent 100%);
    position: absolute;
    height: 125px;
    width: 212px;
    z-index: 0;
}

.current_event {
    background: linear-gradient(135deg, #0276a4, #064f6c);
    color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.country-info {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
}

#country_flag {
    display: flex;
    padding: 15px 0 15px 0;
    width: 100%;
}

    #country_flag span {
        padding-right: 3px;
        font-size: 16px;
        padding-left: 40px;
    }

.leftTitle_cur {
    font-size: 1.2em;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .leftTitle_cur i {
        color: #ffd700;
    }

.seemore {
    text-align: left;
}

    .seemore a {
        color: white;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 5px;
        transition: 0.3s;
    }

        .seemore a:hover {
            color: #ffd700;
        }

.current_event .flag {
    display: flex;
    align-items: center;
    position: relative;
}
.current_event .flag {
    color: white;
    font-size: 14px;
}

.seperater {
    border-top: 3px solid #36655A;
    margin: 0 5px 0 22px;
}

    .seperater span {
        color: #36655A;
    }

.seperaterln {
    border-top: 3px solid #48416D;
    margin: 0 5px 0 22px;
}

    .seperaterln span {
        color: #48416D;
    }

.seperateral {
    border-top: 3px solid #9D8E54;
    margin: 0 5px 0 22px;
}

.seperateral {
    color: #9D8E54
}

.lst_album {
}

    .lst_album a {
        font-size: 12px;
        color: #f9fcfd;
        font-weight: 500;
        top: 70px;
        position: absolute;
        padding-left: 6px;
        right: 18px;
    }

    .lst_album h2 {
        margin: 0;
    }

.review {
    margin-bottom: 10px;
    border-bottom: 1px solid #395272;
    padding: 10px;
}

.imgcrescent {
    width: 100px;
    height: 65px;
    padding: 5px;
    position: relative;
    float: right;
    margin-left: 10px;
    margin-bottom: 6px;
}

.img_def {
    width: 69px !important;
}

#grwCrescent {
    background-color: #213046 !important;
}

.td_grwCrescent {
    border: 1px solid #213048;
}


.td_grwCrescent_row {
    border: 1px solid #F7F7F7;
    text-align: center;
    background-color: #fff;
    color: #004260;
    direction: ltr;
}

.crescentprinttbl {
    direction: rtl;
    background-color: #d9d9d9;
    font-size: 11px;
    text-align: center;
    direction: rtl;
    background-color: #d9d9d9;
    font-size: 11px;
    text-align: center;
    border: 1px solid #213048;
}

    .crescentprinttbl:lang(en) {
        direction: ltr;
    }

.footercrescent {
    text-align: center;
    color: #0277a4;
}

.imgPartic {
    width: 35px;
    position: relative;
    top: 7px;
    cursor: pointer;
}

    .imgPartic:hover {
        opacity: 0.5;
    }

.TextBoxPartici {
    font-size: 11px;
    color: #0066CC;
    padding: 3px 5px 2px 2px;
    width: 108px;
    font-family: iransans;
}

.rowParti {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.divnumberpartic {
    margin-left: 9px;
    float: right;
    width: 25px;
    height: 24px;
    line-height: 24px;
    margin-top: 8px;
}

.imgButton {
    cursor: pointer;
    border: 1px solid;
    padding: 4px;
    background-color: #56c5c5;
    color: #f0f0f0;
    font-size: 11px;
}

    .imgButton:hover {
        background-color: #5ebebe;
    }

#tblPrayTimes {
    width: 100%;
}

    #tblPrayTimes td {
    }

        #tblPrayTimes td:nth-of-type(odd) {
            color: #3F51B5;
            font-size: 12px;
            border-right: 1px solid #7f7f7f;
        }

.ptimes table {
    margin: 0 auto;
}

    .ptimes table td:nth-of-type(even) {
        text-align: center;
    }

.contentbox {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    box-sizing: border-box;
    margin-bottom: 20px;
}

.waiting {
    position: absolute;
    margin-top: 60px;
    text-align: center;
    height: 135px;
    z-index: 1;
    display: none;
    right: 47%;
}

.setdate {
    color: #4e5e73;
    font-size: 18px;
}

#setDate {
    font-family: IRANSans;
    width: 100px;
    text-align: center
}

#latFooter {
    direction: ltr;
    display: inline-block
}

#lngFooter {
    direction: ltr;
    display: inline-block
}

#JadvalOghat {
    width: 100%;
    border: 1px solid #9b9b9b;
    text-align: center;
    border-collapse: collapse;
}

    #JadvalOghat div {
        background-color: #eee;
    }

.Userdate {
    font-size: 25px;
    width: 160px;
    padding: 4px 1px 0px;
    border: none;
    border-bottom-color: currentcolor;
    border-bottom-style: none;
    border-bottom-width: medium;
    border-bottom: 1px solid #ccc;
    font-family: 'IranSans1';
    text-align: center;
    color: #5e6470;
}

#mapcontent {
    text-align: center;
    display: table;
    width: 920px;
    border: 1px solid #ccc;
}

.srchmsg {
    text-align: center;
    margin: 20px;
    color: #607d8b;
}

.currdate {
    color: #054871;
    background-color: #B6E7FF;
    font-weight: 900;
}

#Lmap {
    width: 915px;
    height: 500px;
    z-index: 1;
}

.todayimage {
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-left: 10px;
    padding: 20px 25px;
}

    .todayimage h1 {
        font-size: 28px;
        text-align: center;
        color: #0276a4;
        border-bottom: 1px solid;
    }

#ctl00_cphMaster_imgcredit {
    text-align: justify;
    direction: ltr;
    font-size: 15px;
    color: #0276A4;
}

#contentbody * {
    max-width: 100%;
}

#ctl00_cphMaster_btnRun {
    display: none;
}

#prnt {
    cursor: pointer;
}

#tabs {
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
    height: 30px;
}

    #tabs .tablinks:hover {
        background-color: #ddd;
    }

    #tabs .tablinks.active {
        background-color: #ccc;
    }

.tabcontent {
    display: none;
    border-top: none;
}

.headtbl {
    visibility: hidden;
}

/* DivTable.com */
.divTable {
    display: table;
    width: 100%;
}

.divTableRow {
    display: table-row;
}

.divTableHeading {
    background-color: #EEE;
    display: table-header-group;
}

.divTableCell, .divTableHead {
    border: 1px solid #999999;
    display: table-cell;
    padding: 5px 5px;
}

.divTableHeading {
    background-color: #EEE;
    display: table-header-group;
    font-weight: bold;
}

.divTableFoot {
    background-color: #EEE;
    display: table-footer-group;
    font-weight: bold;
}

.divTableBody {
    display: inline-table;
    width: 100%;
}
/* DivTable.com */

.monthmenu {
    color: #2196F3;
    border: 1px solid #2196f3;
    padding: 2px 5px 2px 5px;
    background-color: #c8e7ff;
    cursor: pointer;
    border-radius: 3px;
    transition: all linear 0.2s;
    width: auto;
    margin: 2px;
    min-width: 65px;
}

    .monthmenu:hover {
        background-color: #e8f5ff;
    }

    .monthmenu:active {
        color: #1c7ac6
    }

.leaflet-control-attribution {
    display: none;
}

.important_news {
    background-color: #d04848;
    text-align: center;
    color: #fff;
    white-space: nowrap;
    position: relative;
    width: 100%;
    line-height: 35px;
    overflow: hidden;
    height: 0;
}

    .important_news a:hover {
        color: #ffebeb;
    }

    .important_news .marque {
        animation: rotate 8s infinite;
        position: relative;
        transform-origin: 0 0;
    }

.moonshapes {
    display: none;
    width: 75%;
    margin: 50px auto;
    max-width: 300px;
}

.moonvar {
    width: 32%;
    display: inline-block;
    vertical-align: top;
    margin-top: 30px;
    height: 220px;
    border-left: 2px solid #00BCD4;
}

.btnOghat:hover {
    background: #478CC4 !important;
}

.btnOghat:active {
    background: #00BCD4 !important;
}

#othersites {
    box-shadow: 0px 1px 5px 0px rgba(0,0,0,.2);
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-left: 10px;
    padding: 20px 25px;
}

/*@keyframes rotate {
   0%, 15% {
        transform: translateY(0%);
    }

    50%, 66% {
        transform: translateY(-35px);
    }

    80%, 90% {
        transform: translateY(-70px);
    }
}*/

.rowcolor {
    background-color: #fff;
}

.AghrabColor {
    background-color: #F0F5CF;
}

.progresscolor {
    background-color: #59C1BD;
}

.progressaltercolor {
    background-color: #0D4C92;
}

.rowCurrDatecolor {
    background-color: #CFF9CB;
}

.moonboroojtable {
    display: flex;
    flex-wrap: wrap;
    color: #25779f;
    border: 1px solid #CCC;
    margin: 20px;
}


.moonboroojcolumnhead {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #4c90bf;
    padding: 10px;
    text-align: center;
    background-color: #4c90bf;
    color: #fff;
}

.moonboroojh2 {
    margin: 0;
}

#search-icon {
    cursor: pointer;
}

.search-box {
    position: absolute;
    background: #f5f5f5;
    top: 168px;
    display: none;
    z-index: 4;
    right: 111px;
    width: 210px;
}

    .search-box.fa.fa-search {
        font-family: IRANSans;
        font-size: 16px;
        color: #999;
        cursor: pointer;
        background-image: url('');
    }

    .search-box p {
        display: flex;
        align-items: center;
    }

    .search-box input[type="search"] {
        padding: 5px;
        border: 1px solid #ccc;
        font-size: 14px;
        font-family: IranSansmed;
        background-color: #f5f5f5;
        text-indent: 5px;
        border-radius: 5px;
        width: 210px;
    }

        .search-box input[type="search"]:focus {
            outline: none;
        }

    .search-box button[type="submit"] {
        border: none;
        background: none;
        padding: 8px;
        font-size: 16px;
        cursor: pointer;
    }

    .search-box .search-results {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1;
        width: 279px;
        max-height: 200px;
        overflow-y: auto;
        background-color: #fff;
        border: 1px solid #ccc;
        border-top: none;
        display: none;
    }

        .search-box .search-results.active {
            display: block;
        }

        .search-box .search-results ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .search-box .search-results li {
            padding: 8px 8px 20px 8px;
            cursor: pointer;
            width: 100%;
            height: 18px;
            line-height: 20px;
            text-align: right;
            color: #4e5e73;
            font-size: 13px;
            box-sizing: border-box;
        }

            .search-box .search-results li:hover {
                background-color: #f1f1f1;
            }

            .search-box .search-results li span {
                padding: 5px;
            }

.cityloader {
    position: absolute;
    top: 14%;
    left: 6px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 0.5s linear infinite;
    display: none;
}

#searchlocation {
    cursor: pointer;
    font-size: 19px;
    top: 24%;
    position: absolute;
    color: #277cb6;
    left: 10px;
}

    #searchlocation:hover {
        color: #fa960a;
        font-size: 21px;
    }

    #searchlocation:active {
        color: #fa960a;
        font-size: 20px;
    }

.disabled {
    opacity: 0.1;
    pointer-events: none;
}

.popup {
    position: fixed;
    top: 325px;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    display: none;
    width: 80%;
    z-index: 5;
    height: 530px;
    text-align: center;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
}

#inputData {
    color: #5e6470;
    padding-top: 20px;
}

.lonlat {
    font-size: 14px;
    color: #5e6470;
    position: relative;
    right: 10px;
}

#selectedCity {
    display: none;
    font-size: 18px;
    color: #5e6470;
    font-size: 14px;
}

.noresult {
    color: #c66c6c;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
}

.mapselect {
    color: #3088bd;
    font-size: 14px;
    cursor: pointer;
}

#closeButton {
    padding: 8px;
    color: #fff;
    background: #2196F3;
    border: 1px solid #3576AA;
    text-shadow: none;
    transition: all 200ms ease-in-out;
    font-family: iransans;
    border-radius: 3px;
    width: 140px;
    cursor: pointer;
    margin: 10px auto;
}

    #closeButton:hover {
        background-color: #1D80CE
    }

#currentBorj {
    color: #277cb6;
    text-align: center;
    width: 100%;
}

.progressBorj {
    height: 15px;
    text-align: left;
    color: #565d62;
    font-size: 11px;
}

    .progressBorj span:first-child {
        margin: 0 0 0 0;
    }

.nextline {
    display: none;
}

.changeborjtime {
    background-color: #A0E4CB;
    padding: 0 4px;
    color: #0d4c92;
    margin: 0 7px 0 0;
}

.textboxsearch {
    padding: 4px 8px;
    font-family: iransans;
    color: #49779b;
    margin: 8px;
    width: 100px;
    font-size: 16px;
}

.checkbox-slider {
    position: relative;
    width: 50px;
    height: 26px;
    right: 116px;
    bottom: 26px;
}

    .checkbox-slider input {
        display: none;
    }

    .checkbox-slider label {
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #0de3a7;
        border-radius: 26px;
        transition: background-color 0.3s ease;
    }

        .checkbox-slider label:after {
            content: "";
            position: absolute;
            width: 24px;
            height: 24px;
            border-radius: 50%;
            background-color: white;
            top: 1px;
            left: 1px;
            transition: transform 0.3s ease;
        }

    .checkbox-slider input:checked + label {
        background-color: #2196F3;
    }

        .checkbox-slider input:checked + label:after {
            transform: translateX(24px);
        }

.weekday {
    width: 205px;
    font-size: 15px;
    display: inline-block;
}

.lsvChangesDateItem {
    padding: 3px 5px;
}

#ctl00_cphMaster_divCalendar textarea {
    width: 400px;
    top: 5px;
    position: relative;
}

#ctl00_cphMaster_divCalendar li {
    height: 40px;
}

.calendarRows {
    max-height: 250px;
    overflow-x: scroll;
    white-space: pre-wrap;
    text-align: justify;
    padding: 0 10px;
}

#borjconfigbox {
    display: none;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    box-sizing: border-box;
    margin-top: 20px;
    width: 100%;
    color: rgb(44, 62, 80);
}

.panelmoon {
    text-align: center;
    display: table-cell;
    width: 49%
}

.btnExOghat {
    padding: 12px 15px !important;
    color: #fff !important;
    background: #00bcd4 !important;
    border: 1px solid #0398ab !important;
    text-shadow: none !important;
    transition: all 400ms ease-in-out;
    z-index: 0;
    font-family: iransans;
    border-radius: 3px;
    width: 230px;
    cursor: pointer;
    height: 45px; /* ارتفاع ثابت */
    display: flex;
    align-items: center;
    justify-content: center;
}

.buttons-container {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px; /* فاصله بین دکمه‌ها */
    justify-content: center;
}

/* استایل برای آیکون چرخشی */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-icon {
    display: inline-block;
    margin-right: 5px;
    line-height: 1;
    font-size: 25px;
}

    /* کلاس برای حالت فعال چرخش */
    .loading-icon.spinning {
        animation: spin 1s linear infinite;
    }

.latFooter, .lngFooter {
    display: inline-block;
    direction: ltr;
}

.divTableRow .divTableCell {
    text-align: center;
}

    .divTableRow .divTableCell:first-child {
        text-align: right !important;
    }

#printHeader {
    margin-bottom: 20px;
}

#footerTable {
    margin-top: 20px;
    text-align: center;
    display: none;
    font-size: 13px;
}

.radio-container {
    margin: 20px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.radio-option {
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .radio-option:hover {
        background-color: #f8f9fa;
    }

    .radio-option input[type="radio"] {
        display: none;
    }

    .radio-option label {
        display: block;
        position: relative;
        padding-right: 35px;
        cursor: pointer;
        font-size: 16px;
        color: #333;
        user-select: none;
    }

        .radio-option label:before {
            content: '';
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            width: 20px;
            height: 20px;
            border: 2px solid #4a90e2;
            border-radius: 50%;
            transition: all 0.3s ease;
        }

        .radio-option label:after {
            content: '';
            position: absolute;
            right: 6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: #4a90e2;
            opacity: 0;
            transition: all 0.3s ease;
        }

    .radio-option input[type="radio"]:checked + label:after {
        opacity: 1;
    }

.title {
    text-align: center;
    color: #2c3e50;
    font-size: 1.25rem;
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e7e7e7;
    position: relative;
}

    .title:after {
        content: '';
        position: absolute;
        bottom: -2px;
        right: 50%;
        transform: translateX(50%);
        width: 100px;
        height: 2px;
        background-color: #4a90e2;
    }
/* ریسپانسیو */
@media screen and (max-width: 480px) {
    .radio-container {
        margin: 10px;
        padding: 15px;
    }

    .radio-option label {
        font-size: 14px;
    }

    .title {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}

.date-conversion-section {
    flex: 1;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background-color: #f5f5f5;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-label {
    min-width: 70px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 500;
}

.form-input,
.form-select {
    flex: 1;
    padding: 8px 12px;
    border: 2px solid #e7e7e7;
    border-radius: 6px;
    font-size: 14px;
    color: #333;
    background-color: #fff;
    transition: all 0.3s ease;
}

    .form-input:disabled {
        background-color: #f8f9fa;
        cursor: not-allowed;
    }

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a90e2' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 12px center;
    padding-left: 30px;
}

    .form-input:focus,
    .form-select:focus {
        outline: none;
        border-color: #4a90e2;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

    .form-input:hover:not(:disabled),
    .form-select:hover {
        border-color: #4a90e2;
    }

/* ریسپانسیو */
@media screen and (max-width: 480px) {
    .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .form-label {
        min-width: auto;
    }

    .form-input,
    .form-select {
        width: 100%;
        box-sizing: border-box;
    }
}

/* انیمیشن برای فوکوس */
@keyframes focusAnimation {
    0% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(74, 144, 226, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(74, 144, 226, 0);
    }
}

.form-input:focus,
.form-select:focus {
    animation: focusAnimation 0.8s ease-out;
}

.main-container {
    font-family: IRANSansWeb(FaNum), sans-serif;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

.convert-btn {
    background: #4a90e2;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 17px;
    transition: all 0.3s ease;
    width: 100%;
    font-family: iransans;
}

    .convert-btn:hover {
        background: #357abd;
        transform: translateY(-1px);
    }

.date-display {
    margin-top: 20px;
}

.date-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin: 25px auto;
    font-size: 20px;
}

.date-value {
    font-weight: 500;
    color: #2c3e50;
}

/* استایل بخش مختصات */
.coordinates-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.coordinate-section {
    flex: 1;
    min-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

.coordinate-header {
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.coordinate-title {
    font-weight: 500;
    color: #2c3e50;
}

.coordinate-current {
    color: #4a90e2;
    font-weight: 500;
    direction: ltr;
}

.coordinate-inputs {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    direction: ltr;
}

.input-group {
    flex: 1;
}

    .input-group i {
        color: #007bff;
        font-size: 1.2rem;
        margin-left: 5px;
    }

    .input-group label {
        display: block;
        margin-bottom: 5px;
        color: #666;
        font-size: 12px;
    }

.coord-input {
    width: 80%;
    padding: 8px;
    border: 2px solid #e7e7e7;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .coord-input:focus {
        border-color: #4a90e2;
        outline: none;
        box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    }

/* استایل رادیو باتن‌ها */
.direction-radio {
    display: flex;
    gap: 20px;
    margin-top: 15px;
}

    .direction-radio input[type="radio"] {
        margin-right: 5px;
    }

/* استایل بخش تنظیمات */
.settings-section {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.setting-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gmt-input {
    padding: 8px;
    border: 2px solid #e7e7e7;
    border-radius: 6px;
    width: 100px;
}

/* استایل چک‌باکس سفارشی */
.custom-checkbox {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.predictmoonMap {
    max-width: 800px;
    margin: 0 auto;
    padding: 10px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    box-sizing: border-box;
}

/* انیمیشن‌ها */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-container, .date-conversion-section,
.coordinate-section,
.settings-section {
    animation: fadeIn 0.5s ease-out;
}

.flex-container {
    display: flex;
    gap: 20px;
    max-width: 800px;
    margin-bottom: 20px;
}

/* ریسپانسیو */
@media screen and (max-width: 768px) {
    .main-container {
        padding: 10px;
    }

    .coordinates-container {
        flex-direction: column;
        gap: 20px;
    }

    .coordinate-section {
        min-width: 100%;
    }

    .coordinate-inputs {
        flex-direction: column;
        gap: 10px;
    }

    .predictmoonMap {
        margin: 0 10px;
    }

    .flex-container {
        flex-direction: column; /* تغییر جهت flex به ستونی */
        margin-bottom: 10px;
        gap: 10px;
    }

    .search-box {
        top: 149px;
        right: 105px;
    }
}

/*Loading Moon In Borjs*/

.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
/*Loading Moon In Borjs*/


.date-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.date-wrapper {
    display: flex;
    flex-direction: column;
}

.form-date-input {
    padding: 8px 35px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 75px;
    font-family: iransansmed;
    color: #4e5e73;
    height: 12px;
}

.toggle-date-btn {
    position: absolute;
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    padding: 5px;
    transition: all 0.3s ease;
}

    .toggle-date-btn:hover {
        color: #007bff;
        transform: scale(1.1);
    }

.gregorian-date {
    display: none;
}

/* انیمیشن برای تغییر تاریخ */
.fade-enter {
    opacity: 0;
    transform: translateY(-10px);
}

.fade-enter-active {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 300ms, transform 300ms;
}

.fade-exit {
    opacity: 1;
    transform: translateY(0);
}

.fade-exit-active {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 300ms, transform 300ms;
}


.date-label {
    display: block;
    margin-bottom: 0.2rem;
    color: #666;
    font-size: 14px;
}

.input-group {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* فاصله بین المان‌های داخل input-group */
}

.curDate {
    margin-top: 25px;
    color: #4e5e73;
    font-size: 22px;
}

.curTime {
    display: flex;
    flex-direction: column;
    color: #4e5e73;
    font-size: 16px;
    width: 100px;
    text-align: left;
}

    .curTime label {
        display: block;
        margin-bottom: 0.2rem;
        color: #666;
        font-size: 14px;
    }

#borjconfig {
    display: flex;
    align-items: center;
    height: 30px;
    color: #4a90e2;
    cursor: pointer;
}

.container {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 20px 20px;
    box-sizing: border-box;
}

@media screen and (max-width: 450px) {

    #borjconfig {
        position: absolute;
        margin-top: 105px;
        border: 1px solid #ddd;
        border-radius: 6px;
        background-color: #f5f5f5;
        padding: 1px 7px;
        right: 30px;
    }

    .container {
        padding-bottom: 50px;
    }
}

.close-config {
    position: absolute;
    right: 42px;
    margin-top: 12px;
    font-size: 23px;
    color: #797979;
    cursor: pointer;
    z-index: 1;
}

.progressBorj-container {
    margin-top: 10px;
}

.moonboroojcolumn {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    transition: background 0.3s;
    text-align: center;
    color: #1a557d;
    border-bottom: 1px solid #d9d9d9;
    padding-top: 15px;
    direction: rtl;
}

.today-row {
    position: relative;
    border: 2px solid #46a7d7 !important
}

    .today-row::before {
        content: var(--today-text);
        position: absolute;
        right: -10px;
        background-color: #3faad5;
        color: white;
         border-radius: 4px;
        font-size: 12px;
        top: 41px;
    }

.li_menu_news .submenu {
    display: none;
}

.li_menu_news:hover .submenu {
    display: block;
}

#divtopmenu li a {
    border-bottom: none;
    transition: border-bottom 0.3s ease;
}

    #divtopmenu li a:hover {
        border-bottom: 1px solid #1fb9a2;
    }

#oghattbl {
    text-align: center;
}

#LoadCurrentLocation {
    cursor: pointer;
}

/* ============================================
   بازطراحی مدرن جدول موقعیت ماه در برج‌ها - Mobile First
   ============================================ */

/* Container اصلی جدول */
.moonboroojtable-modern {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px;
    max-width: 100%;
    margin: 0 auto;
}

/* کارت‌های اصلی */
.moon-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    padding: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e8e8e8;
    position: relative;
    overflow: hidden;
}

.moon-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #4a90e2 0%, #357abd 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.moon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: #4a90e2;
}

.moon-card:hover::before {
    opacity: 1;
}

/* رنگ‌های پس‌زمینه کارت‌ها */
.moon-card.rowcolor {
    background: #ffffff;
}

.moon-card.AghrabColor {
    background: #fff8e1;
    border-color: #ffe082;
}

.moon-card.AghrabColor::before {
    background: linear-gradient(180deg, #ffc107 0%, #ff8f00 100%);
}

/* کارت امروز */
.moon-card.today-row {
    border: 2px solid #4a90e2;
    box-shadow: 0 4px 16px rgba(74, 144, 226, 0.2);
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
}

/* هدر کارت */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.day-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 15px;
    flex-wrap: wrap;
}

.day-info i {
    color: #4a90e2;
    font-size: 16px;
}

.day-name {
    font-size: 15px;
    font-weight: 700;
}

/* Badge امروز */
.today-badge-modern {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* بخش تاریخ‌ها - کنار نام روز */
.date-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #6b7c8d;
    font-size: 13px;
    padding: 0;
    margin: 0;
}

.date-item i {
    color: #8b9baa;
    font-size: 12px;
}

.date-text {
    line-height: 1.4;
    font-size: 15px;
    font-weight: 400;
}

/* بخش اطلاعات برج */
.card-borj-info {
    margin-top: 6px;
}

.borj-text {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.5;
}

.borj-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.borj-status i {
    color: #4a90e2;
    font-size: 18px;
}

/* نوار پیشرفت */
.progress-wrapper {
    margin-top: 28px;
    position: relative;
}

.progressBorj-container {
    width: 100%;
    background: transparent;
    border-radius: 0;
    overflow: visible;
    height: 56px;
    display: flex;
    position: relative;
    align-items: stretch;
    direction: rtl;
}

.progressBorj {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: white;
    transition: width 0.5s ease;
    position: relative;
    overflow: visible;
    min-width: 60px;
    height: 35px;
}

/* بخش اول: از ابتدای روز تا ساعت تغییر برج (برج قبلی) - سمت راست */
.progressBorj.progressBorj-before {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        ),
        linear-gradient(135deg, #81b3e8 0%, #6ba3d8 100%);
    border-radius: 0;
    justify-content: flex-start;
    padding-left: 12px;
    padding-right: 12px;
}

/* بخش دوم: از ساعت تغییر برج تا انتهای روز (برج جدید) - سمت چپ */
.progressBorj.progressBorj-after {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        ),
        linear-gradient(135deg, #ce93d8 0%, #ba68c8 100%);
    border-radius: 0;
    justify-content: flex-end;
    padding-right: 12px;
    padding-left: 12px;
}

/* رنگ زرد برای برج عقرب */
.progressBorj.progressBorj-yellow {
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.05) 10px,
            rgba(255, 255, 255, 0.05) 20px
        ),
        linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    border-radius: 0;
    justify-content: center;
    padding-left: 12px;
    padding-right: 12px;
}

/* نوار پیشرفت کامل (100%) - برای ردیف‌های بدون انتقال */
.progressBorj[style*="width:100%"] {
    justify-content: center;
    border-radius: 0;
}

.borj-name {
    z-index: 1;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    font-weight: 700;
}

.changeborjtime {
    position: absolute;
    top: -24px;
    font-weight: 700;
    font-size: 12px;
    color: #2c3e50;
    text-shadow: none;
    z-index: 10;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    transform: translate(50%, 0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #e8e8e8;
}

/* بخش مناسبت‌های قمری */
.lunar-events-section-modern {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px dashed #e8e8e8;
}

.lunar-event-item-modern {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe8cc 100%);
    border-radius: 10px;
    border-right: 3px solid #ff9800;
    transition: all 0.3s ease;
}

.lunar-event-item-modern:last-child {
    margin-bottom: 0;
}

.lunar-event-item-modern:hover {
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(255, 152, 0, 0.15);
    background: linear-gradient(135deg, #ffe8cc 0%, #ffd699 100%);
}

.lunar-event-item-modern i {
    color: #ff9800;
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.lunar-event-text {
    color: #8B4513;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    flex: 1;
}

/* استایل‌های رنگ‌بندی بر اساس EventType */

/* EventType = 0: هیچ (عمومی) - رنگ سفید */
.lunar-event-item-modern.lunar-event-type-none {
    background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border-right: 3px solid #cccccc;
}

.lunar-event-item-modern.lunar-event-type-none:hover {
    background: linear-gradient(135deg, #f8f8f8 0%, #eeeeee 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.lunar-event-item-modern.lunar-event-type-none i {
    color: #999999;
}

.lunar-event-item-modern.lunar-event-type-none .lunar-event-text {
    color: #333333;
}

/* EventType = 1: ولادت - رنگ سبز شاد */
.lunar-event-item-modern.lunar-event-type-birth {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-right: 3px solid #4caf50;
}

.lunar-event-item-modern.lunar-event-type-birth:hover {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.lunar-event-item-modern.lunar-event-type-birth i {
    color: #2e7d32;
}

.lunar-event-item-modern.lunar-event-type-birth .lunar-event-text {
    color: #1b5e20;
}

/* EventType = 2: شهادت - رنگ قرمز ملایم */
.lunar-event-item-modern.lunar-event-type-martyrdom {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    border-right: 3px solid #e57373;
}

.lunar-event-item-modern.lunar-event-type-martyrdom:hover {
    background: linear-gradient(135deg, #ffcdd2 0%, #ef9a9a 100%);
    box-shadow: 0 4px 12px rgba(229, 115, 115, 0.2);
}

.lunar-event-item-modern.lunar-event-type-martyrdom i {
    color: #c62828;
}

.lunar-event-item-modern.lunar-event-type-martyrdom .lunar-event-text {
    color: #b71c1c;
}

/* EventType = 3: وفات - رنگ مشکی */
.lunar-event-item-modern.lunar-event-type-death {
    background: linear-gradient(135deg, #212121 0%, #000000 100%);
    border-right: 3px solid #424242;
}

.lunar-event-item-modern.lunar-event-type-death:hover {
    background: linear-gradient(135deg, #424242 0%, #212121 100%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lunar-event-item-modern.lunar-event-type-death i {
    color: #ffffff;
}

.lunar-event-item-modern.lunar-event-type-death .lunar-event-text {
    color: #ffffff;
}

/* ============================================
   Media Queries برای موبایل
   ============================================ */

@media screen and (max-width: 768px) {
    .moonboroojtable-modern {
        padding: 8px;
        gap: 12px;
    }

    .moon-card {
        padding: 10px;
        border-radius: 10px;
    }

    .card-header {
        margin-bottom: 6px;
        padding-bottom: 6px;
    }

    .day-info {
        font-size: 14px;
        gap: 10px;
    }

    .day-name {
        font-size: 14px;
    }

    .date-text {
        font-size: 15px;
    }

    .borj-text,
    .borj-status {
        font-size: 14px;
    }

    .lunar-event-text {
        font-size: 13px;
    }

    .progressBorj {
        font-size: 15px;
        padding: 0 10px;
    }

    .borj-name {
        font-size: 15px;
    }

    .changeborjtime {
        font-size: 11px;
        padding: 1px 5px;
    }

    .today-badge-modern {
        font-size: 11px;
        padding: 3px 10px;
    }
}

@media screen and (max-width: 480px) {
    .moonboroojtable-modern {
        padding: 6px;
        gap: 10px;
    }

    .moon-card {
        padding: 10px;
        border-radius: 8px;
    }

    .card-header {
        flex-direction: row;
        align-items: center;
        gap: 6px;
        margin-bottom: 6px;
        padding-bottom: 6px;
    }

    .day-info {
        font-size: 13px;
        gap: 8px;
        flex-wrap: wrap;
    }

    .day-name {
        font-size: 13px;
    }

    .date-item {
        font-size: 11px;
        gap: 4px;
    }

    .date-text {
        font-size: 13px;
    }

    .card-borj-info {
        margin-top: 6px;
    }

    .borj-text,
    .borj-status {
        font-size: 13px;
    }

    .lunar-event-item-modern {
        padding: 8px;
    }

    .lunar-event-text {
        font-size: 12px;
    }

    .progressBorj-container {
        height: 48px;
    }

    .progressBorj {
        font-size: 14px;
        padding: 0 8px;
        height: 48px;
    }

    .borj-name {
        font-size: 14px;
    }

    .changeborjtime {
        font-size: 10px;
        padding: 1px 4px;
    }
}

/* بهبود نمایش برای صفحه‌نمایش بزرگ‌تر */
@media screen and (min-width: 769px) {
    .moonboroojtable-modern {
        max-width: 900px;
        padding: 20px;
    }

    .moon-card {
        padding: 20px;
    }
}

@media screen and (min-width: 1200px) {
    .moonboroojtable-modern {
        max-width: 1100px;
    }
}

/* پشتیبانی RTL */
.moonboroojtable-modern,
.moon-card {
    direction: rtl;
}

.day-info,
.date-item,
.borj-status {
    direction: rtl;
}

.progressBorj-container {
    direction: rtl;
}

.progressBorj {
    direction: rtl;
}

.progressBorj.progressBorj-before {
    direction: rtl;
}

.progressBorj.progressBorj-after {
    direction: rtl;
}

.changeborjtime {
    transform: translate(50%, 0);
}
