/* Global --------------------------------------- */
body { font-family: arial; background-color: #f4f4f4; font-size: 12px; }
div#wrapper { width: 700px; margin: 0 auto; }
a { color: #be3535; }

/* Header */
div#header { background-color: #fff; padding: 30px; border: 1px solid #e4e4e4; background: #fff url('../img/logo.gif') top right no-repeat; }
	div#header h1 { font-size: 18px; color: #b1a707; font-weight: normal; }
		div#header h1 em { display: block; font-style: normal; font-size: 12px; color: #333; margin-top: 5px; }
		div#header h1 span { font-size: 12px; }
		
/* Content bg */
div#content { background-color: #fff; padding: 30px; border: 1px solid #e4e4e4; margin-top: 20px; position: relative; overflow: hidden; }
	div#content div.ath label { display: block; font-size: 14px; color: #222; margin-bottom: 10px; }
	div#content input, div#content select { padding: 2px; font-size: 14px; color: #333; margin-bottom: 25px; width: 310px; }
	div#content div.export input { margin-bottom: 5px; }

	/* Headings */
	h2 { font-size: 16px; color: #000; border-bottom: 2px solid #e8e8e8; margin-bottom: 20px; padding-bottom: 6px; }
	div#content div.export h2 { margin-bottom: 5px; margin-top: 20px; }
	div#content div.export h2#exporth2 { margin-top: 0; }
	
	/* Tables */
	table { width: 100%; font-size: 14px; }
	td { padding: 10px; }
	th { text-align: left; padding: 14px 10px 10px; background-color: #efecc4; border-bottom: 1px solid #d4cf7e;  color: #7c7a62; }
	tr { border-bottom: 1px solid #c3c3c3; }
	
	.headerSortUp { color: #424130; background: #efecc4 url('../img/arrow-up.gif') no-repeat right; }
	.headerSortDown { color: #424130; background: #efecc4 url('../img/arrow-down.gif') no-repeat right; }

	/* New buttons */ 
	a#add-element { width: 75px; display: block; padding: 12px 18px; background-color: #e8e8e8; text-decoration: none; color: #be3535; text-align: center; margin-top: 15px; }
	a#add-element:hover { background-color: #e0e0e0; color: #be3535; }

/* Tabs --------------------------------------- */
.ui-tabs-nav { overflow: hidden; }
.ui-tabs-nav li { float: left; margin-right: 3px; }
.ui-tabs-nav li a { display: block; padding: 12px 18px; background-color: #e8e8e8; text-decoration: none; }

.ui-tabs .ui-tabs-hide { display: none; }
ul li.ui-state-active a { background-color: #efecc4; text-decoration: none; color: #000; font-weight: bold; }
#tabs { clear: both; }


/* Sections --------------------------------------- */
/* Links */
ul#links { position: absolute; top: 0; right:30px; width: 642px; }
	ul#links li { float: right; margin-left: 5px; }
	ul#links li#stats { float: left; padding: 10px 15px; background-color: #e8e8e8; display: block; text-decoration: none; color: #8c8c8c; }
		ul#links li a { padding: 10px 15px; background-color: #e8e8e8; display: block; text-decoration: none; color: #8c8c8c; }
		ul#links li a:hover { background-color: #e0e0e0; }

/* Notes */
div.note { clear: both; padding: 15px; background-color: #fffcd0; border: 2px solid #e6e2a1; margin-bottom: 25px; }
div.note b { display: block; font-size: 15px; margin-bottom: 10px; }
	div.note p { padding-bottom: 15px; color: #676657; }
	div#content div.note input { margin-bottom: 0; }
	
/* Content */
div#content p { margin-bottom: 13px; line-height: 160%; }
div#content label { font-weight: bold; color: #333; }
div#content label.error { font-size: 11px; font-weight: normal; color: #e80000 !important; margin: 0; padding: 0; font-style: italic; margin-bottom: 25px; margin-top: -25px; }

p#footer { width: 700px; padding: 20px 0; margin: 0 auto; color: #666;}


/* Homepage login --------------------------------------- */
div#loginForm form { float: left; width: 321px; }
	div#loginForm div#advertisements { float: right; width: 243px; }
