/* =============================================================================

	MAIN.CSS
	version: 1.7
	updated: 2009-03-14, 12:44 GMT+1

============================================================================= */

/* =============================================================================
HTML - styles
============================================================================= */

/*body {font:0.8em/1.5 "arial", sans-serif;}*/
body {font-family:Verdana, Geneva, sans-serif; font-size:11px !important;}
h1, h2, h3, h4, h5, h6, address, blockquote, dl, fieldset, ol, p, table, ul {margin:15px 0;}
#content h1 {font-size:180%;}
#content h2 {font-size:160%;}
/*#content h3 {font-size:140%;}*/
#content h3 {font-size:100%;}
#content h4 {font-size:120%;}
#content h5, h6 {font-size:100%;}
#content table {margin:0; border-collapse:collapse;}
#content table.width100 {width:100%;}
#content table th, #content table td {padding:6px 3px;}
#content table th {text-align:left; vertical-align:middle; font-weight:bold;}
#content ul {margin:15px 0; list-style:none;}
#content ul li {padding-left:15px; /*background:url("../design/ul.gif") 0 4px no-repeat;*/}
#content ul ul {margin:0 0 0 10px;}
#content ul ul li {padding-left:15px; background:url("../design/ul-ul.gif") 0 4px no-repeat;}
#content ol {margin:15px 0 15px 30px; list-style-type:decimal;}
#content ol ol {margin:0 0 0 20px;}
#content ol ol li {list-style-type:lower-alpha;}
#content dl {clear:both;}
#content dl dt {font-weight:bold;}
#content dl dd {margin:0 0 5px 0;}
#content fieldset {position:relative; margin:10px 0; padding: /*10px 5px 10px */20px; background:#f9f9f9;}
#content legend {font-size:120%; font-weight:bold;}
#content code {font-family:"",monospace;}
#content .help {cursor:help;}
.tit {padding-left:20px !important;}

/* =============================================================================
HTML - without styles
============================================================================= */

table.nostyle, table.nostyle th, table.nostyle td {border:0 !important;}
table.nostyle th {background:none !important; text-align:left !important;}
table.nostyle th, table.nostyle td {padding:3px 5px !important;}
ul.nostyle {margin:15px 0 15px 20px !important; list-style-type:square !important;}
ul.nostyle ul {margin:0 0 0 25px !important; list-style-type:square !important;}
ul.nostyle li {padding:0 !important; background:none !important;}
dl.nostyle dt {font-weight:bold !important;}
dl.nostyle dd {margin:0 !important;}

/* =============================================================================
LAYOUT
============================================================================= */

#main {min-width: 917px;/*980px;*/ width:expression(document.body.clientWidth < 980? "980px" : "auto" );}
#tray {padding:/*12px*/ 8px 15px; /*background:url("../design/tray.gif") 0 0 repeat-x;*/ font:85%/1.2 "tahoma",sans-serif; position:fixed; width:100%;z-index:2;display:inline-table;}
#tray p {margin:0;}
#tray p.f-left {width:50%;}
#tray p.f-right {padding-right: 30px;}
#tray #logout {padding-left:18px; background:url("../design/tray-logout.gif") 0 50% no-repeat; text-transform:uppercase;}
#tray #switcher {margin-right:15px;}
#tray #switcher img {display:block; float:left; width:16px; height:16px; border:0;}
#top-menu {background-color:#ff9; /*padding-right:200px;*/}
/*#menu {padding:15px 15px 13px 15px; background:url("../design/menu.gif") 0 0 repeat-x;}
#menu ul {margin:0; padding:0; list-style-type:none;}
#menu ul li {display:inline; margin:0; padding:0;}
#menu ul li a {float:left; margin-right:5px; padding-left:5px; background:url("../design/menu-left.gif") 0 0 no-repeat; text-decoration:none; cursor:pointer;}
#menu ul li a span {float:left; display:block; padding:7px 15px 9px 8px; background:url("../design/menu-right.gif") 100% 0 no-repeat;}
#menu ul li a:hover, #menu ul li#menu-active a {background:url("../design/menu-left.gif") 0 -35px no-repeat;}
#menu ul li a:hover span, #menu ul li#menu-active a span {background:url("../design/menu-right.gif") 100% -35px no-repeat;}
#menu ul li#menu-active a {font-weight:bold;}*/
#content {padding: 20px; overflow:hidden; /*min-height:600px;*/}
#footer {clear:both; padding:15px; background:url("../design/separator.gif") 0 0 repeat-x; font:85%/1.2 "tahoma",sans-serif;}
#footer p {margin:0;}

/* =============================================================================
/* =============================================================================
OTHERS
============================================================================= */

#aside .padding {padding-left:15px;}
#aside #logo {margin:0 0 15px 39px;}
#aside #logo img {display:block; width:100px;}
#aside #search fieldset {padding:7px 10px;}
#aside #search fieldset p {margin:0;}
#aside #search fieldset legend {font-weight:bold;}
#aside #search fieldset .input-text {width:130px;}
#aside #search fieldset #search-options {margin-top:10px;}
#aside #btn-create {margin:0 0 15px 0;}
#aside #btn-create a {float:left; padding-left:27px; height:37px; overflow:hidden; background:url("../design/btn-create-left.gif") 0 0 no-repeat; text-decoration:none; font-weight:bold; cursor:pointer;}
#aside #btn-create a span {float:left; display:block; width:163px; padding:8px 0 17px 10px; background:url("../design/btn-create-right.gif") -2px 0 no-repeat;}
#aside #btn-create a:hover {background-position:0 -37px;}
#aside ul {width:215px; margin:0 0 15px 0; list-style:none;}
#aside ul li {display:inline;}
#aside ul li a {display:block; width:185px; padding:4px 15px; text-decoration:none; background:none; font-weight:normal;}
/*#aside ul li#submenu-active a {width:198px; border:0; background:url("../design/submenu-active.gif") 100% 50% no-repeat; font-weight:bold; z-index:999;}*/
#aside ul li a.submenu-active {width:198px; border:0; background:url("../design/submenu-active.gif") 100% 50% no-repeat; font-weight:bold; z-index:999;}
#aside ul ul {margin:0; position:static;}
#aside ul ul li a, #aside ul li#submenu-active ul li a {width:170px; padding:5px 15px 5px 30px; background:url("../design/submenu-sub.gif") 15px 7px no-repeat; font:85%/1.2 "tahoma",sans-serif; font-weight:normal;}
#content h1 {margin:0; padding:10px 15px; background:url("../design/content-h1.gif") 0 0 repeat-x; letter-spacing:-1px;}
#content .col50 {float:left; width:49%;}
#content .col33 {float:left; width:32%;}
#content .col33.center {padding:0 2%;}
#content .tabs {margin:15px 0;}
#content .tabs ul {margin:0; padding:0; list-style-type:none;}
#content .tabs ul li {display:inline; margin:0; padding:0;}
#content .tabs a {float:left; margin-right:3px; padding-left:4px; background:url("../design/tabs-l.gif") 0 -100px no-repeat; text-decoration:none;}
#content .tabs a span {float:left; display:block; padding:8px 15px 6px 11px; background:url("../design/tabs-r.gif") 100% -100px no-repeat;}
#content .tabs a:hover, .tabs a:hover span {text-decoration:underline;}
#content .tabs .ui-tabs-selected a {background:url("../design/tabs-l.gif") 0 0 no-repeat; font-weight:bold;}
#content .tabs .ui-tabs-selected a span  {background:url("../design/tabs-r.gif") 100% 0 no-repeat;}
#content .tabs .ui-tabs-selected a:hover, #content .tabs .ui-tabs-selected a:hover span {text-decoration:none;}
#content .ui-tabs-hide {display: none !important;}
.input-text {
	/*padding:1px; font:100%/1.5 "arial", sans-serif;*/
	padding:1px;
	font-family:Verdana, Geneva, sans-serif;
	font-size:11px;
	color:#000;
	border:1px solid #ccc;
	/*min-width:150px;*/
	/*width:150px;*/
	width:175px;
	/*text-transform:uppercase;*/
	
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
}


.input-text-02 {padding:5px; font:140%/1.5 "arial", sans-serif;}
.input-submit {padding:5px; font-size:120%;}
.input-submit-02 {padding:1px; font-size:100%;}
.msg {padding:3px; padding-left:35px; margin:2px 0; font-size:12px;}
.msg.warning {background:url("../design/ico-warning.gif") 10px 50% no-repeat;}
.msg.info {background:url("../design/ico-info.gif") 10px 50% no-repeat;}
.msg.done {background:url("../design/ico-done.gif") 10px 50% no-repeat;}
.msg.error {background:url("../design/ico-delete.gif") 10px 50% no-repeat; color:#f33f5a;}
.err{color:#f33f5a !important;}

/* =============================================================================
FONT STYLES
============================================================================= */

.bigger {font-size:120%;}
.smaller {font:85%/1.2 "tahoma",sans-serif;}


.tag {background:#ffa;}



/* PAGING --------------------------------------------------------- */	

#paging-table {
	float: left;
	margin: 0 4px 0 0;
	border:none !important;
}

#paging-table td{
		border:none !important;
}
.page-far-left	{
	background: url(../img/paging_far_left.gif) no-repeat;
	display: block;
	float: left;
	height: 24px;
	margin: 0 4px 0 0;
	width: 24px;
	}
.page-left	{
	background: url(../img/paging_left.gif) no-repeat;
	display: block;
	float: left;
	height: 24px;
	width: 24px;
	}
.page-far-right	{
	background: url(../img/paging_far_right.gif) no-repeat;
	display: block;
	float: left;
	height: 24px;
	margin: 0 4px 0 4px;
	width: 24px;
	}
.page-right	{
	background: url(../img/paging_right.gif) no-repeat;
	display: block;
	float: left;
	height: 24px;
	width: 24px;
	}
#page-info	{
	float: left;
	line-height: 16px;
	padding: 3px 12px 0 12px;
	}

/*=====================CONTROLS STYLES===================*/
/*input[type="text"]{
		font-family:Verdana, Geneva, sans-serif;
		font-size:11px;
		color:#000;
		border:1px solid #ccc;
}*/

select, textarea{
	padding:1px;
	font-family:Verdana, Geneva, sans-serif;
	font-size:11px;
	color:#000;
	border:1px solid #ccc;
	width:150px;
	
	
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	/*text-transform:uppercase;*/
}
.lable{
		font-family:Verdana, Geneva, sans-serif;
		font-weight:bold;
		font-size:11px;
		color:#0085cc;
}
.lable-urdu {
		font-family:Verdana, Geneva, sans-serif;
		font-weight:bold;
		font-size:14px;
		color:#0085cc;
}

.num-fld{
		text-align:right;
}

.superscript{font-size:9px; vertical-align:top;}

input[type="button"]{
	border:1px solid #7d99ca; 
	-webkit-border-radius: 3px; 
	-moz-border-radius: 3px;
	border-radius: 3px;
	font-size:12px;
	font-family:arial, helvetica, sans-serif; 
	padding: 10px 10px 10px 10px; 
	text-decoration:none; 
	display:inline-block;
	text-shadow: -1px -1px 0 rgba(0,0,0,0.3);
	font-weight:bold; 
	color: #FFFFFF;
 	background-color: #7bc1e5; 
	background-image: -webkit-gradient(linear, left top, left bottom, from(#7bc1e5), to(#3181af));
 	background-image: -webkit-linear-gradient(top, #7bc1e5, #3181af);
 	background-image: -moz-linear-gradient(top, #7bc1e5, #3181af);
 	background-image: -ms-linear-gradient(top, #7bc1e5, #3181af);
 	background-image: -o-linear-gradient(top, #7bc1e5, #3181af);
 	background-image: linear-gradient(to bottom, #7bc1e5, #3181af);
	filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#7bc1e5, endColorstr=#3181af);
}

input[type="button"]:hover{
 	border:1px solid #5d7fbc;
 	background-color: #3181af; 
	background-image: -webkit-gradient(linear, left top, left bottom, from(#3181af), to(#143d55));
 	background-image: -webkit-linear-gradient(top, #3181af, #143d55);
 	background-image: -moz-linear-gradient(top, #3181af, #143d55);
 	background-image: -ms-linear-gradient(top, #3181af, #143d55);
 	background-image: -o-linear-gradient(top, #3181af, #143d55);
 	background-image: linear-gradient(to bottom, #3181af, #143d55);
	filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#3181af, endColorstr=#143d55);
}

.body-left-col{	border-left:1px solid #ccc;	}
				.body-col{border-right:1px solid #ccc; border-bottom:1px solid #ccc; float:left; height:20px; overflow:hidden;	}		/*background-color:#fff;*/
				.body-action-col{border-right:1px solid #ccc; border-bottom:1px solid #ccc; width:56px; float:left; line-height:17px;	}
				
.flt-left{float:left;}
.flt-right{float:right;}
.no-table, .no-table td {border:0px none !important;}

.clear{
		clear:both;
		height:10px;
}

#report-result{
	/*overflow:auto;*/
	min-height:350px;
}

.calendar{	width:100px;}

#body-part-div{
	float:left;
	/*margin:5px;*/
	/*overflow:auto;*/
	/*min-height:400px;*/
	padding-bottom:400px;
	margin:0;
	width:100%;
}

/*==============================ICONS==============================*/
.rpt-preview{
	background: url(../img/search.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.rpt-print{
	background: url(../img/print.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.rpt-print-party{
	background: url(../img/partyPrint.jpg) no-repeat;
	display: block;
	background-size:48px 48px;
	float: left;
	height: 48px;
	width: 48px;
}

.rpt-excel{
	background: url(../img/excel.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}


.backward{
	background: url(../img/back.png) no-repeat;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
}

.frm-save{
	background: url(../img/save.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}


.frm-delete{
	background: url(../img/trash_big.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.frm-post{
	background: url(../img/post.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.frm-unpost{
	background: url(../img/unpost.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.frm-list{
	background: url(../img/list.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.frm-open-small{
	background: url(../img/open.png) no-repeat;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
}

.frm-new{
	background: url(../img/new.png) no-repeat;
	display: block;
	float: left;
	height: 48px;
	width: 48px;
}

.info{
	background: url(../img/info.png) no-repeat;
	display: block;
	float: left;
	height: 16px;
	width: 16px;
}


.rectangle{
	border:1px solid #ccc;
	margin:2px;
	padding:2px;
	float:left;
}
/*====================JQUERY MENUS*/
/*.ui-menu { 
    overflow: hidden;
	z-index:999;
	
}
.ui-menu .ui-menu {
    overflow: visible !important;
}
.ui-menu > li { 
    float: left;
    display: block;
    width: auto !important;
}
.ui-menu ul li {
    display:block;
    float:none;
}
.ui-menu ul li ul {
    left:120px !important;
    width:100%;
	
}
.ui-menu ul li ul li {
    width:auto;
}

.ui-menu ul li ul li a {
    float:left;
}
.ui-menu > li {
    margin: 5px 5px !important;
    padding: 0 0 !important;
}
.ui-menu > li > a { 
    float: left;
    display: block;
    clear: both;
    overflow: hidden;
}
.ui-menu .ui-menu-icon { 
    margin-top: 0.3em !important;
}
.ui-menu .ui-menu .ui-menu li { 
    float: left;
    display: block;
}*/

/*===============================NEW MENUS WITH ONLY CSS===============================*/
/*nav{font-family:Arial, Helvetica, sans-serif; font-size:12px; margin:150px auto; border-radius:5px; width:780px;}*/
nav{font-size:8px;width:100%;position:fixed;display:inline-table;z-index:1;padding-top:34px;}
nav ul{ margin:0px; padding:0px; z-index:999;} 
nav ul li{list-style-type:none; display:inline-block;  margin:0 0 0 -3px; position:relative;}		/*#e5e4e4*/
nav ul li a{ display:block; color:#333;text-decoration:none; text-transform:uppercase; padding:7px 17px;  background:#ff9; border-right:solid 1px #ff9; font-weight:bold !important;}
nav ul li:hover>a{ background:#dcdcdc;}
/*nav ul li:first-child a{border-radius:5px 0 0 5px; margin-left:7px; border-left: solid 1px #fff;}*/
nav ul li:first-child a{border-radius:5px 0 0 5px; margin-left:4px; border-left: solid 1px #ff9;}
nav ul li:last-child a{border-radius:0 5px 5px 0;}
/*...First-Level...*/
nav ul li ul li:first-child a{border-top:solid 5px #fff}
nav ul li ul li:last-child a{border-bottom:solid 5px #fff}
nav ul li ul{position:absolute; display:none; width:140px; margin:0;}
nav ul li:hover ul{display:block;}
nav ul li ul li{display:block; position:relative; border:none}
nav ul li ul li a{ border-bottom:solid 1px #f4f4f4; border-right:5px solid #fff; border-left:5px solid #fff; border-radius:0px!important; background:#ff9;  margin:0px; padding:5px}

/*...Second-Level...*/
nav ul li:hover ul ul{display:none}
nav ul li ul li:hover>ul{display:block}
/*...Third-Level...*/
nav ul li ul li ul{display:none; background:#fff; position:absolute; top:-10%; left:145px; width:140px;}


/*
===============================CUSTOME COMBO BOX FOR SEARCH
*/
 .custom-combobox {
    position: relative;
    display: inline-block;
	margin: 0 40px 0 0;
  }
  .custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
    padding: 0;
    /* support: IE7 */
    *height: 1.7em;
    *top: 0.1em;
  }
  .custom-combobox-input {
    margin: 0;
    /*padding: 0.3em;*/
  }


	.ui-autocomplete-input{    width: 150px;}

/*.fl{float:left;}
.fr{float:right;}
.ac{text-align:center;}
.bg-grey{background:#000;}
.cb{clear:both;}
body{margin:0px;padding:0px;background-image: url(../images/bg.gif); bakckground-repeat: repeat-x;}
.container{width:810px; margin:0 auto; padding:30px; text-align:center; border-radius:10px; background:#f4f4f4}
.title{font:16px "times New Roman", Arial; margin-right:50px; }
.black{color:#000000;}
*/

.tab_head{
	background-color: #0085cc;
    border-right: 1px solid #0074b3;
    color: #fff;
	font-weight: bold;
    text-align: left;
    vertical-align: middle;
}
.cell-border-bottom {
	border-bottom:1px solid;
}
.salary-sheet th {
    border-bottom: 1px solid #0074b3;
    border-top: 1px solid #0074b3;
}
nav ul li:hover .second-lever-outer {
    display: block;
}
.second-lever-outer {
    display: none;
    left: 0;
    position: absolute;
    width: 280px;
}
.second-level.right {
    left: 140px;
}
.second-level.right > li:hover ul {
    left: 140px !important;
}
.second-level li:hover .third-lever-outer {
    display: block;
}
.third-lever-outer {
    display: none;
    position: absolute;
    top: 0;
    width: 240px;
}
.top-menu-right-item .third-lever-outer {
    right: -98px;
}
.top-menu-right-item .third-lever-outer {
    display: block;
    position: absolute;
    right: -98px;
    top: 0;
    width: 240px;
}
.second-level li:hover .third-level {
    display: block;
}
.top-menu-right-item ul.third-level {
    left: 103px;
    top: -1px !important;
}
.top-menu-right-item:hover ul.third-level.right {
    left: -278px !important;
}
.top-menu-left-item .second-level.left ul {
    left: -134px;
    top: -1px;
}
.ui-datepicker.ui-widget.ui-widget-content.ui-helper-clearfix.ui-corner-all { z-index:99999 !important; }
nav li.rpt_credit_note a {
    border-bottom: 7px solid #fff;
    position: relative;
}
nav li.rpt_credit_note a::after {
    background: #EE2931;
    bottom: -7px;
    content: "";
    height: 7px;
    left: 0;
    position: absolute;
    width: 100%;
}
.mmyyyy { max-width:100px !important;}
.disabled-input {
	background:#E3E3E3 !important;
}
.alert {
    border: 1px solid;
    border-radius: 2px;
    float: none;
    margin: 0 auto 20px;
    max-width: 300px;
    padding: 5px;
}
.alert-error {
	border-color:#F00;
	color:#C00;
	background:#FCF;
}
.alert-success {
	border-color:#090;
	color:#030;
	background:#9F9;
}
.alert .close {
    float: right;
    font-weight: bold;
    text-decoration: none;
}
.alert.alert-error .close {
	color:#C00;
}
.alert.alert-success .close {
	color:#030;
}
.level-3rd.menu-item-emp_overtime_salary {
	display:none !important;
}