/* Overall Layout */

html, body{
	background-color: rgb(175,175,175);
	margin: 0;
	padding: 0;
	height: 100%;
	font-size: 14px;
	font-family: arial, sans-serif;
	color: rgb(51,51,51);
}	

#container{
	background-color: white;
	border-left: 1px solid black;
	border-right: 1px solid black;
	width: 980px;
	margin: 0 auto;
	min-height: 100%;
	position: relative;
	text-align: center;}
	
#banner{
	background-color: rgb(228,220,120);
	height: 84px;
	border-top: 7px solid rgb(127,127,30);
	border-bottom: 2px solid rgb(213,213,213);
	margin-bottom: 50px;
	font-weight: bold;}
	#banner img{
		position: absolute;
		top: 0;
		left: 0;}
	#banner ul {
		position: absolute;
		top: 50px;
		right: 20px;
		list-style-type: none;
		padding: 0;
		margin: 0;
	}
	#banner li{
		display: inline-block;
		padding: 0 4px;
		position: relative;
		line-height: 1.5em;
		width: 100px;
		text-align: center;
	}
		
	#banner ul ul{
		display: none;
		position: absolute;
		top: 21px;
		font-size: 12px;
		background-color: white;
		left: 0;
		width: 150px;
		z-index: 3;
	}
	#banner ul ul li{
		width: auto;
	}
	#banner li:hover ul{
		display: block;
	}
	#banner li ul li{
		display: block;
		text-align: left;
	}
	#banner li ul li:hover{
		background-color:#F0F0F0;
	}
	
	#banner a{
		text-decoration: none;
	}

#red_dot{
	height: 8px;
	left: 322px;
	position: absolute;
	top: 35px;
	width: 7px;
	z-index: 3;
}

/* General Styles  */	

a{
	color:rgb(51,51,51);}
	
h2{
	font-size: 1.1em;
	text-align: left;
	padding-left: 20px;}
h2 span{
	font-weight: normal;}	
	
.no_show{
	display: none;
}
	
ul{
	list-style-type: none;
	padding: 0;
	margin: 0;
}

label{
	display: inline-block;
	width: 100px;
}
label:after{
	content: ':';
}

input[type=text],input[type=password], select{
	width: 200px;
}
#editFolder, .ui-dialog-container{
	height: 100%;
}
	

/* Table Styles */
	
table{
	border-collapse: collapse;
	margin: 8px;
	float: left;
	text-align: left;}

caption{
	font-size: 1em;
	font-weight: bold;}
thead{
	display:table-header-group;}
	
thead, tfoot {
	background-color: black;
	color: white;
	font-size: 0.9em;}

thead a, tfoot a{
	color: white;}
thead a.sorted, tfoot a.sorted{
	color: rgb(200,200,200);
	font-style: italic;}
	
		
tbody{
	display:table-row-group;
	font-size: 0.8em;
	vertical-align: top;}
tr{
	page-break-inside: avoid;}

tr.r1, tr.client{
	background-color: rgb(228,220,120); }	
tr.r2{
	background-color: rgb(240,240,240); }	

tr.r3{
	background-color: rgb(127,127,30); 
	color: white;}	
	
th, td{
	padding: 3px;
	border: 1px solid white;}
td p{
	margin: 0;
	padding: 0;}
	
	
/* Timesheet Styles */

select#month, select#smonth, select#emonth{
	width: 95px;
}
select#day, select#sday, select#eday{
	width: 45px;
}
select#year, select#syear, select#eyear{ 
	width: 60px;
}

select#hour, select#shour, select#ehour{ 
	width: 66px;
}
select#minute, select#sminute, select#eminute{ 
	width: 66px;
}
select#am, select#sam, select#eam{ 
	width: 66px;
}

.editContainer #weekday{
	top:-22px;
	left: 4px;
	width: 0;
	position:relative;
	display: inline-block;
	margin-top: 20px;
	margin-left: -4px;
	
}
#edit, #view, #editTime, #editCalendar, #blackboard{
	margin: 0 auto;
	text-align: left;
	width: 800px;
	font-size: 11px;
	color: rgb(50,50,50);}

.editContainer{
	width: 49%;
	display: inline-block;
	height: 100%;
}
#shortcuts{
	display: inline-block;
	top: 150px;
	width: 49%;
	height: 100%;
	vertical-align: top;}
	
#shortcuts ul{
	list-style-type: none;
	padding: 0;
	min-height: 145px;}
#shortcuts li{
	cursor: pointer;}
#shortcuts li:hover{
	text-decoration: underline;}




tr.r3, #emp_tra tfoot tr, .emp_tra tfoot tr{
	background-color: rgb(127,127,30); 
	color: white;}	

tr.project{
	background-color: rgb(204,204,204); }	

#emp_tra table, .emp_tra table{
width: 90%;
margin: 2em auto;
float: none;}

#emp_tra td, #emp_tra th, .emp_tra td, .emp_tra th{
	border: 1px solid black;}
#emp_tra caption, .emp_tra caption{
	font-weight: normal;
}

.Extended{
	text-align: right;}	
.rate{
	text-align: center;}
.duration{
	text-align: right;}
.hourly{
	text-align: right;}
.notes_col{
	width: 150px;}
	
#expenseReport .r1, #expenseReport .r2{
	cursor: pointer;
}
#expenseReport .r1:hover, #expenseReport .r2:hover{
	
	background-color: rgb(127,127,30); 
	color: white;
}
	
#chooseReport div{
	width: 50%;
	float: left;
	margin-bottom: 20px;
	
	text-align: left;}
#chooseReport p{
	margin-left: 10px;}
	
#totalHours .r3, .totalHours .r3{
	display: none;}
	
#editTime p{
	clear: both;}




	
#edit h1, #view h1{
	font-size: 1em;
	line-height: 2em;
	border-bottom: 1px solid black;}	

#edit p{
	width: 340px;
	clear: both;}
	
#edit p input,#edit p select {
	position: relative;
	width: 200px;}
	

#edit p input[type="checkbox"]{
	width: auto;
	margin-right: 193px;}
	
#ClientBillable, #ClientNonBillable, #Internal{
	display: block;
	width: 200px;
	clear: right;}


#ClientBillable input, #ClientNonBillable input, #Internal input{
	float: right;}


#view table{
	width: 100%;
	font-size: 1.2em;
	margin: 0;}

#admin div div{
	text-align: left;
	float: left;}
	
#admin h3{
	font-size: 1em;}


#home #timesheets{
	width: 40%;
	padding: 5%;
	float: left;
	text-align: left;
	font-size: 11px;}
#archives{
	text-align: left;
	font-size: 11px;
}
	
#home #timesheets a, #archives a{
	text-decoration: none;}
	
#home #timesheets a:hover, #archives a:hover{
	text-decoration: underline;}
	
#home .weekday, #archives .weekday{
	display: block;
	width: 30px;
	float: left;}

#home #timesheets label{
	float: none;
	width: auto;
	margin-bottom: 1em;
	font-weight: bold;}

#home .week, #archives .week{
	float: left;
	height: 8em;
	width: 25%;
	}
#home #reports{
	margin-top: 10px;
	font-size: 11px;
	text-align: left;
	width: 40%;
	padding: 5%;
	float: left;}
#emp_act_f{
	width: 50%;
	margin: 0 auto;
	text-align: left;}
	
#projectNotes{
	float: left;
	text-align: left;
	border: 1px solid black;
	padding: 0 1em;
	margin: 8px;
}	


#detials{
	clear:left;
	float:none;
	width:966px;
}

/*end timesheet styles*/


/*calendar styles*/

#calendar{
	width: 959px;
	margin: 0 12px;
	border-top: 4px solid white; 
}
#calendar:after{
	content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.dayLabel, #calendar .day, .spacer{
	width: 133px;
	display: block;
	float: left;
	border-right: 4px solid white;
	border-bottom: 4px solid white;
	position: relative;
	background-color: #DDDDDD;
}

.dayLabel{
	width: 133px;
	text-align: center;
}

#calendar .day{
	height: 4.5em;
	overflow: hidden;
	padding-top: 2px;
	text-align: left;
}
.mday{
	padding-left: 2px;
}

.event{
	margin: 0.5em 0;
	line-height: 1em;
	padding: 0 3px;
	width: 126px; 
	white-space: nowrap;
	cursor: pointer;
}
.all_day{
	background-color: #E4DC78; 
	text-align: center;
}
.first{
	-moz-border-radius-topleft: 7px;
	-moz-border-radius-bottomleft: 7px;
}
.last{
	-moz-border-radius-topright: 7px;
	-moz-border-radius-bottomright: 7px;
}
.multi{
	position: absolute;
	left: 0;
}
.pos0{
	bottom: -0.25em;
}
.pos1{
	bottom: 1.25em;
}
.pos2{
	bottom: 2.75em;
}
.pos3{
	bottom: 4.25em;
}
.pos4{
	bottom: 5.75em;
}
.pos5{
	bottom: 7.25em;
}

.monthBar{
	text-align: center;
}
.this_month{
	width: 50%;
	display: inline-block;
}
h1.monthBar{
	background-color: #333333;
	color: white;
	margin: 0 12px;
}
.next_month a, .last_month a{
	text-decoration: none;
	color: white;
}
.hover{
	background-color: #999999 !important; 
}
#calendar .today{
	background-color: #BBBBBB; 
}
#calendar .not_this_month{
	background-color: #EEEEEE; 
}
.details{
	display: none;
}
#pattern select, #pattern input{
	width: 150px;
}


/* Blackboard styels */


.blackboard{
	position: relative;
	min-height: 100px;
}
.blackboard ul{
	list-style-type: disc;
	padding-left: 2em;
	margin: 1em 0;
}
.blackboard ul ul{
	list-style-type: circle;
	margin: 0;
}
.blackboard ul ul ul{
	list-style-type: square;
}

.blackboard ol{
	padding-left: 2em;
}


.blackboard  .edit{
	position: absolute;
	top: 0;
	right: 0;
	cursor: pointer;
}

/* Inbox Styels */
#inbox #container{
	text-align: left;
}
#inbox li.folder a{
	background-repeat: no-repeat;
	text-decoration: none;
}


li.call>a:before{
	content: url(/images/call.png);
}

li .tite{
	margin-left: 14px;
}



div.detail{
	display: none;
}
.myview .my div.detail, .tite{
	display: inline-block;
	padding: 0 4px;
	
}
.myview div.detail, .myview .tite{
	width: 143px;
	overflow: hidden;
}
.pm_colour0, .pm_colour1{
	width: 0;
	padding: 0 2px;
	display: inline-block;
	height: 100%;
}
.pm_colour0{
	background-color: #46C0D6;
}
.pm_colour1{
	background-color: #9FC950;
}

.tree li.organizer>a{
	padding-left: 1px !important;
	font-weight: bold;
}
.tree li.organizer>a:hover{
	padding-left: 0px !important;
}


.myview .queue>ul>li>ul>li>ul, .myview .queue>ul>li>ul>li>ul>li.last{
	background-color: white !important;
}
.myview .queue>ul>li>ul>li>ul>li>ul, .myview .queue>ul>li>ul>li>ul>li>ul>li.last{
	background-color: #F0F0F0 !important;
}
.myview .queue>ul>li>ul>li>ul>li>ul>li>ul, .myview .queue>ul>li>ul>li>ul>li>ul>li>ul>li.last{
	background-color: white !important;
}

.userBlock{
	position: relative;
	display: block;
	float: left;
	width: 232px;
	margin: 4px;
	font-size: 12px;
}


#dropbox *{
	display: none;
}



.queue,.inbox{
	background-color: #F0F0F0;
	min-height: 20px;
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom: 1px solid #F0F0F0;
	border-right: 1px solid #F0F0F0;
	display: block;
	padding: 1px;
}
.qh1{
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom: 1px solid #e8e8e8;
	border-right: 1px solid #e8e8e8;
}
.qh2{
	-moz-border-radius-bottomright: 8px;
	-webkit-border-bottom-right-radius: 8px;
	border-bottom: 1px solid #c9c8b5;
	border-right: 1px solid #c9c8b5;
	padding-top: 10px;
	
	background-color: #F0F0F0;
}
.userna{
	font-size: 1.2em;
	position: relative;
	color: white;
	text-align: center;
	line-height: 1.4em;
	background-color: #333333;
	margin-right: 1px;
	cursor: pointer;
	font-weight: bold;
}

.qlabel{
	font-weight: bold;
	background-color: #F0F0F0;
	position: relative;
	color: #333333;
	text-align: center;
	border-right: 1px solid #F0F0F0;
	top: 0;
	left: 0;
}

#load{
	padding: 0 10px;
}



li.top>a, li.top>a:hover{
	display:block;
	width: 100%;
	margin: 0;
	background-color: transparent;
	border-width: 0;
	padding: 0 !important;
}

.tree li.top.leaf{
	background-image: none;
	background-color: white !important;
} 
.tree li.top.closed{
	background-color: white !important;
}
.tree li.top.open>a{
	height: 0;
}

.qlabel span{
	color: #333333;
	display: block;
	position: absolute; 
	width: 100%;
	top: -1px;
	left: -1px;
}
#ui-datepicker-div{
	z-index: 10000;
}

.ui-dialog-content{
	padding: 8px;
	font-size: 11px;
}

.ui-dialog-titlebar{
	font-size: 10px;
	text-align: center;
}
.ui-dialog-titlebar-close{
	display: block;
	position: absolute;
	top: 2px;
	right: 6px;
	font-size: 14px;
}
.ui-dialog-titlebar-close span{
	display: none;
}


.myview{
	width: 200px;
}
.myview .userBlock.my{
	position: absolute;
	top: 143px;
	right: 8px;
	width: 710px;
}
.myview .que{
	display: none;
}

.myview .my .que{
	display: block;
}

#editFolder, .ui-dialog-container{
	height: 100%;
}
.form {
	text-align: center;
	height: 100%;
	overflow: auto;
}
.form p{
	width: 320px;
}

.form .left, .form .right{
	display: inline-block;
	vertical-align:top;
	text-align: left;
}
#notes{
	display: inline-block;
	vertical-align:top;
	width: 320px;
	height: 400px;
	text-align: left;
}

/* Address Book Styles */

.address{
	white-space: pre;
	overflow: hidden;
	display: block;
}
#addresses .ref{
	display: none;
}
#addresses  form{
	width: 385px;
	text-align: left;
	margin: 0 auto;
}
#addresses  td{
	overflow: hidden;
}

#addresses  select{
	padding: 2px 0;
	width:205px;
}

#addresses .contacts{
	width: 175px;
}
#addresses .phones{
	width: 130px;
}
#addresses .address{
	width: 200px;
}
#addresses .webs{
	width: 180px;
}
#addresses .webs span{
	text-decoration: underline;
	cursor: pointer;
	display: inline-block;
	width: 85%;
	overflow: hidden;
}
#addresses .webs span.editing{
	width: auto;
	display: inline;
}
#addresses .contacts .class{
	line-height: 2em;
}
#addresses .not{
	width: 215px;
}
#addresses em{
	display: inline-block;
	width: 15%;
	font-style: normal;
}

#addresses table textarea, #addresses table input, #addresses table select{
	width: 90%;
	font-family: arial, sans-serif !important;
	font-size: 10px;
}
#addresses table select{
	width: 94%;
}
#addresses em + span textarea, #addresses em + span input{
	width: 75%;
}
#addresses p.search input[type=submit]{
	display: inline;
	width: auto;
}
#addresses p.search input[type=text]{
	display: inline;
	width: 200px;
}
