body {
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
	background-image:url(../img/bg.jpg);
	background-attachment:fixed;
	background-repeat:repeat-x;
}
#date{
	position:fixed;
	left:10px;
	width:170px;
	height:50px;
	top:10px;
	color:#006;
}
#date img{
	float:left;
}
#login{
	width:300px;
	height:200px;
	position:relative;
	top:200px;
}
.input{
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
}
.input_checkbox{
	width:auto;
	    height: auto;
}
.error
{
	color:red;	
}
.required
{
	color:red;
}
.main-container{
	-moz-box-shadow:    3px 3px 3px 1px #555;
	-webkit-box-shadow: 0px 0px 3px 1px #c5c5c5;
	box-shadow:         1px 1px 5px 1px #999;
	margin-bottom:80px;
	position:relative;
	top:100px;
	width:820px;
	height:auto;
}
	html>body .main-container {
		margin: 30px auto !important;
		width: 95% !important; /* عرض به صورت درصدی و اتوماتیک تنظیم می‌شود */
		max-width: 1200px !important; /* حداکثر عرض برای جلوگیری از کشیدگی بیش از حد در مانیتورهای بزرگ */
		padding: 25px;
		background-color: #ffffff;
		border-radius: 12px;
		box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
		position: relative !important;
		left: auto !important;
		right: auto !important;
		box-sizing: border-box;
	}

.help
{
	font-size:8pt;
	color:gray;
}
.table_header{
	height:30px;
	background-color:black; 
	color:white;
}
.table_header td{
	padding:3px;
	border:1px solid white;
	text-align:center;
	font-weight:bold;
}
.default_font{
	font-family:Tahoma, Geneva, sans-serif;
	font-size:9pt;
}
.table_rows td{
	padding:2px;
}
.table_rows:hover{
	background-color:#FFCC33;
}
.tr_hover_class{
	background-color:white;
}
.popup_form{
	position:fixed;
	width:250px;
	height:150px;
	background-color:#EFEFEF;
	border-radius:5px;
	top:200px;
	padding:5px;
	border:1px solid #DBDBDB;
	box-shadow:#B0B0B0 0px 0px 3px;
	z-index:100000;
}
.lock{
	position:fixed;
	top:0px;
	left:0px;
	background-color:black;
	opacity:0.8;
	width:100%;
	height:100%;
	z-index:9999;
}
#student-container{
	width:900;
	overflow:scroll;
	border:1px solid gray;
}
#term-container{
	width:500px;
}
.small{
	font-size:7pt;
}
.large{
	font-size:10pt;
}
.hidden{
	display:none;
}

#fifteenth
{
	position: absolute;
	width: 100px;
	border: 1px solid black;
	padding: 5px;
	background-color: #FFFFFF;
	visibility: hidden;
	z-index: 99;
	filter: progid:DXImageTransform .Microsoft .Shadow( color = gray, direction = 135 );
	font-family: vazirmatn;
	font-size: 9pt;
	border-radius:3px;
	-moz-border-radius:3px;
	box-shadow:1px 1px 3px;
	-moz-box-shadow:1px 1px 3px;
}

#st_login{
	width:300px;
	height:200px;
	position:relative;
	top:200px;
}
.table_print_header
{
	border:1px black solid; 
	text-align:center;
	background-color:#bdbdbd;
}
.table_rows_border td{
	border:1px black solid;

}
.img_hover:hover{
	width:150px;
}
.print_font
{
	font-family:"Times New Roman", Times, serif;
	font-size:10pt;
	color:black;
}
.print_font td
{
	font-family:"Times New Roman", Times, serif;
	font-size:10pt;
	color:black;
}
.shadow
{
	 -moz-box-shadow:1px 1px 3px gray; box-shadow:1px 1px 3px gray;
}
.hover{
	text-decoration:underline;
}
.hover:hover{
	background-color:white;
}

/* =================================================================== */
/* ==========    استایل جدید و حرفه‌ای برای منوی پورتال     ========== */
/* =================================================================== */

/* ----- تنظیمات کلی بدنه برای منوی ثابت بالا ----- */
body {
    padding-top: 60px !important; /* ایجاد فاصله از بالای صفحه برای محتوا */
}

/* ----- استایل کلی نوار منو ----- */
.portal-navbar.navbar-fixed-top {
    background: #ffffff; /* پس‌زمینه سفید و تمیز */
    border-bottom: 1px solid #e0e0e0; /* خط جداکننده ملایم */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05); /* سایه نرم و حرفه‌ای */
    font-family: 'Vazirmatn', Tahoma, sans-serif !important;
}

.portal-navbar .navbar-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0;
}

.portal-navbar .container-fluid {
    display: flex;
    justify-content: space-between; /* آیتم‌ها را در دو طرف قرار می‌دهد */
    align-items: center;
    height: 100%;
    padding: 0 25px;
}

/* ----- بخش راست: منوی اصلی ----- */
.nav-right > .nav {
    float: right; /* برای سازگاری با زبان فارسی */
    margin: 0;
}

/* ----- بخش چپ: آیکون‌ها و تاریخ ----- */
.nav-left {
    display: flex;
    align-items: center;
    float: left;
}
.nav-left > .nav {
    margin: 0 0 0 15px; /* فاصله آیکون‌ها از تاریخ */
}

.nav-left .date-display {
    color: #555;
    font-size: 13px;
    font-weight: 500;
}

/* ----- استایل لینک‌های اصلی منو ----- */
.portal-navbar .nav > li > a {
    color: #444 !important; /* رنگ متن اصلی منو */
    font-weight: bold;
    font-size: 13px;
    text-shadow: none !important;
    padding: 14px 12px !important;
    transition: all 0.25s ease-in-out;
    border-bottom: 2px solid transparent; /* برای افکت هاور */
}

.portal-navbar .nav > li > a:hover,
.portal-navbar .nav > li > a:focus,
.portal-navbar .nav .open > a {
    background-color: transparent !important;
    color: #007bff !important; /* رنگ آبی استاندارد و زیبا */
    border-bottom-color: #007bff;
}

/* ----- استایل آیکون‌های سمت چپ ----- */
.nav-left .nav > li > a {
    padding: 14px 10px !important;
    border-bottom: none; /* آیکون‌ها خط زیرین ندارند */
}
.nav-left .nav > li > a i {
    color: #555;
    font-size: 16px;
    opacity: 0.8;
    transition: all 0.25s ease;
}
.nav-left .nav > li > a:hover i {
    color: #007bff;
    opacity: 1;
    transform: scale(1.1);
}

/* ----- استایل زیرمنوها (Dropdown) ----- */
.dropdown-menu {
    background-color: #ffffff !important; /* مهم: پس زمینه سفید برای زیر منو */
    border: 1px solid #e0e0e0 !important;
    border-radius: 8px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08) !important;
    min-width: 200px;
    padding: 8px 0 !important;
    margin-top: 2px !important; 
}

/* فلش کوچک بالای زیرمنو */
.dropdown-menu::before { 
    content: '';
    position: absolute;
    top: -6px;
    right: 15px; /* تنظیم برای زبان فارسی */
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #FFF;
}

.dropdown-menu > li > a {
    color: #333 !important;
    font-weight: 500;
    font-size: 13px;
    padding: 9px 20px !important;
    transition: all 0.2s ease-in-out;
    background: none !important; /* حذف هرگونه پس زمینه ناخواسته */
}

/* هاور آیتم‌های زیرمنو */
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
    background-color: #007bff !important;
    color: #ffffff !important;
}

/* ----- علامت فلش کوچک رو به پایین (Caret) ----- */
.portal-navbar .caret {
    border-top-color: #555 !important;
    border-bottom-color: #555 !important;
    opacity: 0.7;
    margin-top: 8px;
}
.portal-navbar .nav > li > a:hover .caret {
    border-top-color: #007bff !important;
    border-bottom-color: #007bff !important;
}
