/* ---------------------------- */
/* STANDARD HTML TAG RESET */
/* ---------------------------- */
body,
h1, h2, h3,
p, ul, li,
form {
	border:0;
	margin:0px;
	padding:0px;
}
/* ---------------------------- */
/* STANDARD HTML TAG DEFINITION */
body,
form, input,textarea {
	color:#000000;
	font-family: Georgia, "Times New Roman", Times, serif;
	color:#000000;
}
a:link, a:visited{color:#0033CC;text-decoration:none;}
a:hover {color:#FF5E00;text-decoration:underline;}

/* ----------------------------*/
/* PAGE ELEMENTS */
/* ----------------------------*/
body{
	background:#1C2D73 url(img/bg.jpg);
	background-repeat:no-repeat;
	background-position:top right;
}

.container{
	margin:0 auto;
	width:100%;
}
	/* ---------------------------*/
	/* LOGIN HEADER */
	#login-header{
		font-size: 1.5em;
		border:2px solid #CCC;
		border-bottom:0;
		background:#3C5A98;
		color:#FFF;
		width:230px;
		line-height:40px;
		text-align:center;
		margin:80px auto 0;
	}
	/* ---------------------------*/
	/* LOGIN CONTENT (FORM) */
	#login-content{
		border:2px solid #CCC;
		border-top:0;
		background:#EEE;
		width:230px;
		margin:0 auto;
	}
		#login-content p{
			padding:10px 0;
		}
		#login-content .submit-field, #login-content .input-field {
			padding:0 20px;
			text-align:center;
		}
			#login-content .input-field label{
				float:left;
				margin-left:3px;
			}
			#login-content .input-field input{
				font-size:1.0em; 
				background: #FFFFFF; 
				border: 1px solid #888888;			
				color:#868686;
				text-decoration:none; 
				padding: 4px;
				margin-top:2px;
				margin-bottom:8px;
				width:90%;
			}
			#login-content .submit-field input{ 
				font-size: 1.1em;
				background: #AFAFAF;
				border-width: 2px;
				border-style: solid ;
				border-color: #CDCDCD #9D9D9D #CDCDCD #9D9D9D;
				height: 29px;
				cursor: hand;
				padding: 0 14px;
				margin:10px auto 20px;
				*margin-bottom:0;
			}
		
		#login-content .checkbox-field {
			padding:0.4em;
			text-align:left;
			margin-left:15px;
		}
			#login-content .checkbox-field label {
				display:block;
				margin:-1.4em 0 0 2em;
				font-size: 0.7em;
			}
	/* ---------------------------*/
	/*  */
	#extra-link{
		width:230px;
		margin:0 auto;
		text-align:center;
	}
		#extra-link p{
			font-size: 0.7em;
			margin-top:15px;
		}
	/* ---------------------------*/
	/* FOOTER */
	#footer{
		clear:both;
		color:#FFF;
		font-size:11px;
		text-align:center;
		margin-top:50px;
		margin-bottom:20px;
	}
	#footer a{
		color:yellow;
	}
	
	
	/* ---------------------------*/
	/* HEADER */
	#header{		
		margin:20px auto 0;
	}
	
	/* ---------------------------*/
	/* NAVIGATION */
	#nav{		
		text-align:right;
		margin-bottom:10px;
		margin-right:10px;
		color:#FFF;
	}
		#nav a{
			color:#FFF;
		}
	
	/* ---------------------------*/
	/* CONTENT */
	#content{		
		background:#FFF;
		padding:20px;
	}
		#content h1{
			color:#888;
			font-size:22px;
			border-bottom: 1px solid #E5E5E5;
			padding-bottom:5px;
		}
		#content p{
			padding:5px 0;
		}
		#content div{
			padding:5px 0;
		}
		#content .submit-field, #login-content .input-field {
			padding:0 20px;
			text-align:center;
		}
			#content .input-field label{
				float:left;
			}
			#content .input-field input{
				font-size:1.0em; 
				background: #FFFFFF; 
				border: 1px solid #888888;			
				color:#868686;
				text-decoration:none; 
				padding: 4px;
				margin-top:2px;
				margin-bottom:8px;
			}
			#content textarea{
				font-size:1.0em; 
				color:#868686;
			}
			#content .input-field select{
				font-size:1.19em; 
				margin-top:2px;
				margin-bottom:14px;
				border: 1px solid #888888;
				color:#868686;
			}
			#content .input-field textarea{
				margin-top:2px;
				border: 1px solid #888888;
				width:360px;
				height:200px;
				padding:5px;
			}
			
			#content .submit-field input{ 
				background:url(img/submit.gif);
				padding:0px 6px;
				border:1px solid #1C2D73;
				height:28px;
				line-height:24px;
				color:#FFFFFF;
				font-size:12px;
				margin-top:30px;
				display:inline-block;
				text-decoration:none;
			}
		
		#content .checkbox-field {
			padding:0.4em;
			text-align:left;
			margin-left:15px;
		}
			#content .checkbox-field label {
				display:block;
				margin:-1.4em 0 0 2em;
				font-size: 0.7em;
			}

#addpanel {
	display:none; 
	position:absolute; 
	background:#FFF; 
	top:0px; 
	left:70px; 
	border:1px solid #666; 
	width:325px; 
	height:215px;
}		
			
.errorbox{
	padding-left:23px;
	margin-bottom:5px;
}
	
.error {
	background: transparent url('img/warn.gif') 0 2px no-repeat  ;
	padding-left:18px;
	color:red;
	top: 0;
	font-weight: bold;
	text-align:left;
}

.errormsg {
	color:red;
	font-size: 0.7em;
	padding-top:2px;
	font-weight: normal;
	margin-left: -18px;
}

.clear{
	clear:both;
}

.tbl-header{
	background:#CBEAFA;
	color:#07519A;
	font-size: 0.75em;
	padding:5px 15px 10px;
	vertical-align:top;
}
.tbl-row-odd{
	background:#FFF;
}
.tbl-row-even{
	background:#F5FBFF;
}
.tbl-column{
	font-size: 0.7em;
	color:#808080;
	padding:10px 15px;
	vertical-align:top;
}

small{
	font-size:0.6em;
	color:#888;
}

/*
+----------------------------------------------------------------+
|	- Page Navigation CSS Style									 |
|	- wp-content/plugins/wp-pagenavi/pagenavi-css.css			 |
+----------------------------------------------------------------+
*/

.wp-pagenavi * {
	height:20px;
	line-height:24px;
}

.wp-pagenavi a, .wp-pagenavi a:link {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #888;
	color: #0066cc;
	background-color: #FFFFFF;		
}
.wp-pagenavi a:visited {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi a:hover {	
	border: 1px solid #888;
	color: #FFF;
	background-color: #0066cc;
}
.wp-pagenavi a:active {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	text-decoration: none;
	border: 1px solid #0066cc;
	color: #0066cc;
	background-color: #FFFFFF;	
}
.wp-pagenavi span.pages {
	padding: 2px 4px 2px 4px; 
	margin: 2px 2px 2px 2px;
	color: #000000;
	border: 1px solid #000000;
	background-color: #FFFFFF;	
}
.wp-pagenavi span.current {
	padding: 2px 4px 2px 4px; 
	margin: 2px;
	font-weight: bold;
	border: 1px solid #000000;
	color: #000000;
	background-color: #FFFFFF;
}
.wp-pagenavi span.extend {
	padding: 2px 4px 2px 4px; 
	margin: 2px;	
	border: 1px solid #888;
	color: #000000;
	background-color: #FFFFFF;
}

td.count {
  font-size:10px;
}

#top-menu {
position:absolute;
top:0;
right:2px;
font-family:Arial,Helvetica,sans-serif;
font-size:12px;
}
#top-menu ul {
float:right;
padding:0 0.5em 1em 1em;
}
#top-menu ul li {
display:inline;
white-space:nowrap;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
color:#FFF;
}
#top-menu ul li a {
color:#FFF;
}

#hd-navbar-menu {
margin:0;
padding:0.7em 0 0 20px;
border-bottom:1px solid #000;
}
#hd-navbar-menu li {
display:inline;
margin:0;
padding:0 0.8em;

}
#hd-navbar-menu li.active {
background-color:white;
border-color:#DCDCDC #DCDCDC -moz-use-text-color;
border-style:solid solid none;
border-width:1px 1px medium;
padding-bottom:5px;
padding-top:0.4em;
position:relative;
line-height:27px;
}
#hd-navbar-menu li.active a {
color:#333;
}
#hd-navbar-menu li a {
color:#FFF;
}

#new-invoice-button span {
background:transparent url(img/plus.gif) no-repeat scroll 0.5em center;
display:block;
padding:0.7em 0.9em 0.7em 1.5em;
font-size:15px;
font-weight:bold;
color:#DA4722;
}
#new-export-button span {
background:transparent url(img/plus_grey.gif) no-repeat scroll 0.5em center;
display:block;
padding:0.7em 0.9em 0.7em 1.5em;
font-size:15px;
font-weight:bold;
color:#4040FF;
}
#new-invoice-button span:hover, #new-export-button span:hover {
text-decoration:none;
}
#content #new-export-button:hover{
color:#4040FF;
}

/*
  MODAL DIALOG
*/

.modalDialog_transparentDivs{filter:alpha(opacity=40);opacity:0.4;background-color:#aaa;z-index:1;position:absolute;}
.modalDialog_contentDiv{border:3px solid #000;padding:2px;z-index:100;position:absolute;background-color:#FFF;}
.modalDialog_contentDiv_shadow{z-index:90;position:absolute;background-color:#555;filter:alpha(opacity=30);opacity:0.3;}
.modalDialog_contentDiv_newsletter{border:1px solid #333;padding:2px;z-index:100;position:absolute;background-color:#FFF;color:#000;}

#modalbox.close{
	font-size:0.6em;
	text-align:right;
	padding-right:5px;
}
#modalbox p{
	padding:10px 15px;
}
#modalbox textarea{
	width:100%;
}

/*
  LISTING
*/

table.listing
{
  border-spacing:0;
  border-collapse:collapse;
  width:100%;
  margin:0 0 1em;
  font-size:11px;
}

table.listing a img {
  vertical-align:baseline;
  position:relative;
  top:2px;
  white-space:nowrap;
}

table.listing tr.even { /* rows 2,4,6,... */
  background-color:#E4E4E4;
}

table.listing td,
table.listing th {
  padding:0.3em 0.7em 0.3em;
  line-height:1.2em;
  border:1px solid #DCDCDC;
  vertical-align:top;
  color:#333;
  text-align:left;
}

table.listing th a {
  font-weight: normal;
}

table.listing th a.asc {
  background:transparent url('../images/icons/asc.gif') no-repeat 0 0.4em;
  padding-left: 0.9em;
}
table.listing th a.desc {
  background:transparent url('../images/icons/desc.gif') no-repeat 0 0.5em;
  padding-left: 0.9em;
}	

table.listing th {
  /*background:transparent url('../images/bg/thead.gif') repeat-x bottom left;
  background: #464648;
  color:#FFF;*/
  padding-top:0.61em;
  padding-bottom:0.54em;
  font-weight:bold;
  text-align:left;
}

table.listing .noborder,
table.listing .noborder td,
table.listing .noborder th {
  border-width:0px;
  background: #FFF;
  background-image:none !important;
}

table.listing .top td,
table.listing .top th,
table.listing td.top,
table.listing th.top {
  vertical-align:top;
}


table.listing td.right,
table.listing th.right {
  text-align:right;
}

table.listing td.center {
  text-align:center;
}

table.listing tr.empty td {
  height:1em;
  padding:0;
}

table.listing .listing-options {
  padding:0.5em 0;
  vertical-align:middle;
  line-height:1em;
}

table.listing .listing-options a:hover {
  text-decoration:none;
}

table.listing .filters a.selected,
table.listing .filters a.selected:hover {
  color:#464648;
  text-decoration:none;
  font-weight:bold;
}

table.listing td.noRb { border-right:0; }
table.listing td.noLb { border-left:0;  }

table.listing td.noRb, table.listing td.noLb { cursor:pointer }

.clear        { clear:both; }
.left         { float:left; }
.right        { float:right; }
img.left      { margin-right:1em; margin-bottom:1.8em; }
img.right     { margin-left:1em; margin-bottom:1.8em; }
.text-right   { text-align:right; }
.half         { width:45%; /* Not exactly half to account for paddings, margins etc. */ }

.hide{ /* Hide stuff without resorting to display:none; */
	visibility:hidden;
	width:0!important;
	height:0!important;
	line-height:0!important;
	padding:0!important;
	margin:0!important;
}


/* OPTIONAL BUTTON STYLES for applying custom look and feel: */		
button.submitBtn { 
	padding: 0 15px 0 0; 
	margin-right:5px; 
	font-size:20px; 
	text-align: center; 
	background: transparent url(img/btn_blue_sprite.gif) no-repeat right -140px; 
}
	
button.submitBtn span {
	padding: 13px 10px 0 25px; 
	height:37px; 
	background: transparent url(img/btn_blue_sprite.gif) no-repeat left top; 
	color:#fff; 
}
	
button.submitBtn:hover, button.submitBtnHover { /* the redundant class is used to apply the hover state with a script */
	background-position: right -210px; 
}
	
button.submitBtn:hover span, button.submitBtnHover span {
	background-position: 0 -70px;
}

button.button,button.button:visited{
	display:none;

	height:44px;
	width:136px;
	padding-top:1px;
	margin:0 auto;
	overflow:hidden;

	color:white;	
	font-size:16px;
	font-weight:bold;
	text-align:center;
	text-transform:uppercase;
	font-family: Georgia, "Times New Roman", Times, serif;
	background:url(img/button.png) no-repeat center top;
}

button.button:hover{
	background-position:bottom;
	text-decoration:none;
}

.del{
	cursor:pointer;
}
.del:hover{
	background:#1C2D73;
}

button {
	padding:5px 10px;
	border:1px solid #aaa;
	margin-top:3px;
}