
/* ------------------
 styling for the menus 
   ------------------   */
#nav {
	margin: 0;
	padding: 0.4em 0.4em 0;
	line-height: 100%;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .4);
	background-color: #7A8ECD;
	width: 99%;
	height: 2.5em;
}

#nav li {
	margin: 0 5px;
	padding: 0 0 8px;
	float: left;
	position: relative;
	list-style: none;
}

#nav a {
	font-weight: bold;
	color: #e7e5e5;
	text-decoration: none;
	display: block;
	padding: 0.5em 2em;
	margin: 0;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
}

#nav .current a, #nav li:hover>a {
	background: #d1d1d1; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebebeb', endColorstr='#a1a1a1' ); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#ebebeb), to(#a1a1a1) ); /* for webkit browsers */
	background: -moz-linear-gradient(top, #ebebeb, #a1a1a1); /* for firefox 3.6+ */
	color: #444;
	border-top: solid 1px #f8f8f8;
	-webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 1px rgba(0, 0, 0, .2);
	text-shadow: 0 1px 0 rgba(255, 255, 255, .8);
}

#nav ul li:hover a, #nav li:hover li a {
	background: none;
	border: none;
	color: #666;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}

#nav ul a:hover {
	background: #6DA7D4 !important; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#8EACEC', endColorstr='#6DA7D4' ); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#8EACEC), to(#6DA7D4) ) !important; /* for webkit browsers */
	background: -moz-linear-gradient(top, #8EACEC, #6DA7D4) !important; /* for firefox 3.6+ */
	color: #fff !important;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

#nav ul {
	background: #ddd; /* for non-css3 browsers */
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#cfcfcf' ); /* for IE */
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#cfcfcf) ); /* for webkit browsers */
	background: -moz-linear-gradient(top, #fff, #cfcfcf); /* for firefox 3.6+ */
	display: none;
	margin: 0;
	padding: 0;
	width: 15em;
	position: absolute;
	top: 2.5em;
	left: 0;
	border: solid 1px #b4b4b4;
	-webkit-border-radius: 1.6em;
	-moz-border-radius: 1.6em;
	border-radius: 1.6em;
	-webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	-moz-box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
	box-shadow: 0 1px 3px rgba(0, 0, 0, .3);
}

#nav li:hover>ul {
	display: block;
}

#nav ul li {
	float: none;
	margin: 0;
	padding: 0;
}

#nav ul a {
	font-weight: normal;
	text-shadow: 0 1px 1px rgba(255, 255, 255, .9);
}

#nav ul ul {
	left: 14em;
	top: -3px;
}

#nav ul li:first-child>a {
	-webkit-border-top-left-radius: 1em;
	-moz-border-radius-topleft: 1em;
	-webkit-border-top-right-radius: 1em;
	-moz-border-radius-topright: 1em;
}

#nav ul li:last-child>a {
	-webkit-border-bottom-left-radius: 1em;
	-moz-border-radius-bottomleft: 1em;
	-webkit-border-bottom-right-radius: 1em;
	-moz-border-radius-bottomright: 1em;
}

#nav:after {
	content: ".";
	display: block;
	clear: both;
	visibility: hidden;
	line-height: 0;
	height: 0;
}

#nav {
	display: inline-block;
}

html[xmlns] #nav {
	display: block;
}

* html #nav {
	height: 1%;
}

/* ------------------
	styling for the tables: http://coding.smashingmagazine.com/2008/08/13/top-10-css-table-designs/ 
   ------------------   
*/
#hor-minimalist-a {
	background: #fff;
	width: 100%;
	border-collapse: collapse;
	text-align: left;
}

#hor-minimalist-a th {
	font-size: 14px;
	font-weight: normal;
	padding: 1px;
	border-bottom: 2px solid #6678b1;
	text-align: center;
}

#hor-minimalist-a td {
	padding: 9px 8px 0px 8px;
}

#hor-minimalist-a tbody tr:hover td {
	color: #009;
	background-color: #F5F8FA;
}

/*
	Styling for forms 
*/
form {
	width: 100%;
	padding: 0 0 5em 0;
	text-align: left;
}

form fieldset {
	border: 1px solid #69c;
}

form legend {
	font-weight: normal;
	padding: 1em;
}

form ul {
	list-style-type: none;
}

form label {
	float: left;
	width: 20%;
	text-align: right;
}

form input, form textarea, form select {
	margin-left: 1em;
	margin-top: 0.3em;
	width: 50%;
}

form textarea {
	height: 7em;
}

form .checkbox {
	width: 1.3em;
	height: 1.3em;
}

.text5 {
	width: 5em;	
}

.text15 {
	width: 15em;	
}
	
/*
	Styling for buttons
*/
.button {
	display: inline-block;
	zoom: 1; /* zoom and *display = ie7 hack for display:inline-block */
	*display: inline;
	vertical-align: baseline;
	margin: 0 2px;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	padding: .5em 3em .5em;
	text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
}

.button:hover {
	text-decoration: none;
}

.button:active {
	position: relative;
	top: 1px;
}

.bigrounded {
	-webkit-border-radius: 2em;
	-moz-border-radius: 2em;
	border-radius: 2em;
}

.medium {
	font-size: 12px;
	padding: .4em 1.5em .42em;
}

.small {
	font-size: 11px;
	padding: .2em 1em .275em;
}

/* color styles 
---------------------------------------------- */

/* gray */
.gray {
	color: #e9e9e9;
	border: solid 1px #555;
	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888),
		to(#575757) );
	background: -moz-linear-gradient(top, #888, #575757);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#888888', endColorstr=           '#575757' );
}

.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575),
		to(#4b4b4b) );
	background: -moz-linear-gradient(top, #757575, #4b4b4b);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#757575', endColorstr=           '#4b4b4b' );
}

.gray:active {
	color: #afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757),
		to(#888) );
	background: -moz-linear-gradient(top, #575757, #888);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#575757', endColorstr=           '#888888' );
}

/* white */
.white {
	color: #606060;
	border: solid 1px #b7b7b7;
	background: #fff;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff),
		to(#ededed) );
	background: -moz-linear-gradient(top, #fff, #ededed);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#ffffff', endColorstr=           '#ededed' );
}

.white:hover {
	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff),
		to(#dcdcdc) );
	background: -moz-linear-gradient(top, #fff, #dcdcdc);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#ffffff', endColorstr=           '#dcdcdc' );
}

.white:active {
	color: #999;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed),
		to(#fff) );
	background: -moz-linear-gradient(top, #ededed, #fff);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#ededed', endColorstr=           '#ffffff' );
}

/* blue */
.blue {
	color: #d9eef7;
	border: solid 1px #0076a3;
	background: #0095cd;
	background: -webkit-gradient(linear, left top, left bottom, from(#00adee),
		to(#0078a5) );
	background: -moz-linear-gradient(top, #00adee, #0078a5);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#00adee', endColorstr=           '#0078a5' );
}

.blue:hover {
	background: #007ead;
	background: -webkit-gradient(linear, left top, left bottom, from(#0095cc),
		to(#00678e) );
	background: -moz-linear-gradient(top, #0095cc, #00678e);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#0095cc', endColorstr=           '#00678e' );
}

.blue:active {
	color: #80bed6;
	background: -webkit-gradient(linear, left top, left bottom, from(#0078a5),
		to(#00adee) );
	background: -moz-linear-gradient(top, #0078a5, #00adee);
	filter: progid:           DXImageTransform.Microsoft.gradient(        
		  startColorstr=      
		    '#0078a5', endColorstr=           '#00adee' );
}

/*
	Pagination
*/
.pagination {
	padding: 0.3em;
}

.pagination ul {
	margin: 0;
	padding: 0;
	text-align: center;
}

.pagination li {
	list-style-type: none;
	display: inline;
	padding-bottom: 0.1em;
	margin-left: 0.5em;
}

.pagination a, .pagination a:visited {
	padding: 0 0.4em;
	border: 0.1em solid #9aafe5;
	text-decoration: none;
	color: #2e6ab1;
}

.pagination a:hover, .pagination a:active {
	border: 0.1em solid #2b66a5;
	color: #000;
	background-color: #FFFF80;
}

.pagination a.active {
	background-color: #2e6ab1;
	color: #FFF !important;
	border-color: #2b66a5;
	font-weight: bold;
	cursor: default;
}

.pagination a.disablelink, .pagination a.disablelink:hover {
	background-color: white;
	cursor: default;
	color: #929292;
	border-color: #929292;
	font-weight: normal !important;
}

.pagination a.prevnext {
	font-weight: bold;
}

/*
	Errors
*/
.error, .errorField {
	color: red;
}

/*
	jQuery DatePicker
*/
div.ui-datepicker {
	font-size: 82.5%;
}

/*
	Others
*/
.submitHolder {
	text-align: center;
}


