/* ----------------------------------------------------------------------------------------------------------
* - HTML global tags
---------------------------------------------------------------------------------------------------------- */

* {
	margin: 0;
	padding: 0;
}
body {
	padding-bottom: 20px;
	background: #ffffff url(../images/bgBar.jpg) top left repeat-x;
	font-size: 12px;
	font-family: Arial, sans-serif;
	text-align: center;
	color: #666666;
}
html {
	height: 100%;
	margin-bottom: 0;
}
img,table { border: none; }
img { margin: 5px; }
a {
	text-decoration: none;
	font-weight: bold;
	color: #135cae;
}
a:hover {
	text-decoration: none;
	color: #333333;
}
input.button, .validate  {
	color: #333333;
	font-size: 90%;
	border: 1px solid #555555;
}
input.button:hover, .validate:hover  {}
p {
	margin: 10px 0 0 0;
	text-align: left;
}
.inputbox {}
.inputbox:hover {}
/* ----------------------------------------------------------------------------------------------------------
* - Universal styles
---------------------------------------------------------------------------------------------------------- */
#clear { clear: both; }

/* ----------------------------------------------------------------------------------------------------------
* - List style
---------------------------------------------------------------------------------------------------------- */
ul {
	margin: 5px 0 15px 20px;
	padding: 0;
	list-style: none;
}
ul li {
	margin: 0;
	padding: 0;
	padding-left: 15px;
	background: url(../images/ul.gif) left 5px no-repeat;
}
ul ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
ul ul li { background: url(../images/ulSub.gif) left 5px no-repeat; }

/* ----------------------------------------------------------------------------------------------------------
* - Layout
---------------------------------------------------------------------------------------------------------- */
#main {
	width: 940px;
	margin: 0 auto;
	text-align: left;
}
/* Top Navigation */
	#topNav {
		padding: 0 20px 0 20px;
		background: url(../images/topNav.jpg) bottom center no-repeat;
		height: 100px;
	}
	#topNav ul {
		margin: 0;
		padding: 55px 0 0 0;
		list-style: none;
	}
	#topNav ul li {
		display: inline;
		margin: 0;
		padding: 0;
	}
	#topNav ul li a {
		line-height: 30px;
		height: 30px;
		margin: 5px 0 0 0;
		color: #555555;
		display: block;
		float: left;
		padding: 0 15px 0 15px;
		text-decoration: none;
		font-weight: bold;
	}
	#topNav ul li a:hover {
		color: #000000;
		text-decoration: none;
	}
/* Header */
	#header {
		position: relative;
		height: 350px;
		background: url(../images/header.jpg) top center no-repeat;
		overflow: hidden;
	}
/* SideBar */
        #sideBar {
		float: left;
		width: 180px;
		overflow: hidden;
		margin: 0 0 0 40px;
	}

/* Content Clumn */
        #content {
		float: right;
		width: 630px;
		overflow: hidden;
		margin: 0 40px 0 0;
	}

/* Cols */
	#cols { background: url(../images/bodyBg.jpg) top center repeat-y; }
	#cols .colsTop {
		height: 20px;
		line-height: 20px;
		background: url(../images/bodyTop.jpg) top center no-repeat;
	}

/* Footer */
	#footer {
		color: #000000;
		height: 100px;
		line-height: 100px;
		padding: 0 40px 0 40px;
		background: url(../images/bodyBottom.jpg) bottom center no-repeat;
		text-align: center;
	}

/* ----------------------------------------------------------------------------------------------------------
* - Global Joomla style
---------------------------------------------------------------------------------------------------------- */
td.middle_pad { width: 20px; }
#banner_l {
	text-align: left;
	padding: 0 0 0 24px;
}

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/
div.offline {
	background: #d9ffbb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	padding: 5px;
}

/* headers */
	div.componentheading {
		font-size: 200%;
		padding: 8px 0 20px 10px;
		font-weight: bold;
		color: #135cae;
	}
	table.blog {}
	h1 {
		padding: 0;
		font-size: 180%;
		font-weight: bold;
		vertical-align: bottom;
		color: #135cae;
		text-align: left;
	}
	h2, .contentheading {
		padding: 0;
		font-size: 130%;
		font-weight: bold;
		vertical-align: middle;
		color: #333333;
		text-align: left;
	}
	table.contentpaneopen h3 { margin-top: 25px; }
	h4 { color: #555555; }
	h3, .componentheading, table.moduletable th, legend {
		margin: 0;
		font-size: 130%;
		text-align: left;
		color: #555555;
		padding: 0;
	}

/* small text */
	.small {
		font-size: 90%;
		color: #555555;
		font-weight: normal;
		text-align: left;
	}
	.modifydate {
		height: 20px;
		vertical-align: bottom;
		font-size: 90%;
		color: #555555;
		font-weight: normal;
		text-align: right;
	}
	.createdate {
		height: 20px;
		vertical-align: top;
		font-size: 90%;
		color: #555555;
		font-weight: normal;
		vertical-align: top;
		padding-top: 0;
	}
	a.readon {
		display: block;
		float: right;
		line-height: 14px;
		font-size: 90%;
		text-decoration: none;
		padding: 1px 2px 1px 2px;
	}
	a.readon:hover { color: #333333; }

/* form validation */
	.invalid { border-color: #ff0000; }
	label.invalid { color: #ff0000; }

/** overlib **/
	.ol-foreground {
		background-color: #f1f1f1;
		color: #333333;
	}
	.ol-background {
		background-color: #f1f1f1;
		color: #333333;
	}
	.ol-textfont { font-size: 90%; }
	.ol-captionfont {
		color: #f6f6f6;
		font-weight: bold;
	}
	.ol-captionfont a {
		background-color: #f1f1f1;
		color: #333333;
		text-decoration: none;
	}
	.ol-closefont {}

/* spacers */
	span.article_separator {
		display: block;
		height: 20px;
	}
	.article_column {}
	.column_separator {}
	td.buttonheading {
		text-align: right;
		width: 0;
	}
	.clr { clear: both; }
	table.blog span.article_separator {
		display: block;
		height: 20px;
	}

/* table of contents */
	table.contenttoc {
		margin: 5px;
		border: 1px solid #cccccc;
		padding: 5px;
	}
	table.contenttoc td { padding: 0 5px; }

/* content tables */
	td.sectiontableheader {
		color: #333333;
		font-weight: bold;
		padding: 4px;
		border-bottom: 1px solid #666666;
	}
	
	tr.sectiontableentry0 td,
	tr.sectiontableentry1 td,
	tr.sectiontableentry2 td { padding: 4px; }
	td.sectiontableentry0,
	td.sectiontableentry1,
	td.sectiontableentry2 {
		padding: 3px;
		color: #333333;
		font-size: 10px;
	}

/* content styles */
	.contentpaneopen, table.contentpane {
		margin: 0;
		padding: 0;
	}
	table.contentpane td{ text-align: left; }
	table.contentpane td.contentdescription { width: 100%; }
	table.contentpane  {
		text-align: left;
		float: left;
		width: 100%;
		margin: 8px;
	}
	table.contentpane ul li a .category { color: #135cae; }
	table.contentpane ul li { color: #333333; }
	table.contentpaneopen { margin: 2px 8px; }
	table.contentpaneopen li { margin-bottom: 5px; }
	table.contentpaneopen fieldset { border: 0; }
	table.contentpaneopen h3 { margin-top: 25px; }
	table.contentpaneopen h4 { color: #669933; }
	.highlight { background-color: #d9ffbb; }

/* module control elements */
	table.user1user2 div.moduletable { margin-bottom: 0; }
	div.moduletable, div.module { margin-bottom: 25px; }
	div.module_menu, div.module {
		margin: 0;
		padding: 0;
	}
	div.module_menu div, div.module {}
	div.module_menu  div, div.module  div{
		margin-bottom: 14px;
		margin-left: 3px;
		padding: 0;
		background: url(../images/left_body.jpg) bottom left no-repeat;
	}
	div.module_menu div div div,
	div.module div div div{
		padding: 0;
		margin: 0;
	}
	div.module_menu div div div div,
	div.module div div div div {
		background: none;
		padding: 4px 8px;
	}
	div.module div div div form {
		padding: 4px 0 0 0;
		width: 164px;
		margin: 0 auto;
	}
	div.module div div div form div.module_menu ul { list-style: none; }
	div.module_menu ul li{
		margin: 0;
		padding: 0;
	}
	div.module_menu ul li a:link, div.module_menu ul li a:visited {
		font-weight: bold;
		padding: 2px 0 2px 25px;
		line-height: 24px;
	}

/* forms */
	table.adminform textarea {
		width: 540px;
		height: 400px;
		color: #000099;
	}
	form#form-login fieldset { /* SideBar login form */
		border: 0 none;
		margin: 0;
	}
	form#form-login ul li {}
	
	form#form-login ul li a {
		text-align: left;
		padding: 0;
		font-size: 10px;
	}

/* thumbnails */
	div.mosimage {  margin: 5px; }
	div.mosimage_caption { color: #333333; }
	div.caption { padding: 0 10px 0 10px; }
	div.caption img { border: 1px solid #cccccc; }
	div.caption p { color: #333333; text-align: center; }

/* Parameter Table */
	table.paramlist { margin-top: 5px; }
	table.paramlist td.paramlist_key {
		width: 128px;
		text-align: left;
		height: 30px;
	}
	table.paramlist td.paramlist_value {}
	div.message {
		font-weight: bold;
		color : #c30;
		text-align: center;
		width: auto;
		background-color: #f9f9f9;
		border: 1px solid #d5d5d5;
		margin: 3px 0 10px;
		padding: 3px 20px;
	}

/* Banners module */
/* Default skyscraper style */
	.bannergroup {}
	.banneritem {}

/* Text advert style */
	.banneritem_text {
		padding: 4px;
		font-size: 11px;
	}
	.bannerfooter_text {
		padding: 4px;
		font-size: 11px;
		text-align: right;
	}

/* System Messages */
/* see system general.css */
	.pagination span { padding: 2px; }
	.pagination a { padding: 2px; }

/* Polls */
	.pollstableborder td { text-align: left; }

/* Frontend Editing*/
	fieldset {
		border: 1px solid #ccc;
		margin-top: 15px;
		padding: 15px;
	}
	legend {
		margin: 0;
		padding: 0 10px;
	}
	td.key {
		border-bottom:1px solid #eeeeee;
		color: #333333;
	}

/* Tooltips */
	.tool-tip {
		float: left;
		background: #ffc;
		border: 1px solid #f2feca;
		padding: 5px;
		max-width: 200px;
	}
	.tool-title {
		padding: 0;
		margin: 0;
		font-size: 100%;
		font-weight: bold;
		margin-top: -15px;
		padding-top: 15px;
		padding-bottom: 5px;
		background: url(../../system/images/selector-arrow.png) no-repeat;
	}
	.tool-text {
		font-size: 100%;
		margin: 0;
	}

/* System Standard Messages */
	#system-message { margin-bottom: 20px; }
	#system-message dd.message ul { background: #C3D2E5 url(../../system/images/notice-info.png) 4px center no-repeat; }

/* System Error Messages */
	#system-message dd.error ul {
		color: #c00;
		background: #E6C0C0 url(../../system/images/notice-alert.png) 4px center no-repeat; 
		border-top: 3px solid #DE7A7B;
		border-bottom: 3px solid #DE7A7B;
		margin: 0;
		padding-left: 40px;
		text-indent: 0;
	}

/* System Notice Messages */
	#system-message dd.notice ul {
		color: #c00;
		background: #EFE7B8 url(../../system/images/notice-note.png) 4px center no-repeat;
		border-top: 3px solid #F0DC7E;
		border-bottom: 3px solid #F0DC7E;
	}

/* ADEJ ****************************************************************************** */
input[type="checkbox"],
input[type="radio"] {
	background: transparent;
	border: none;
}
input[type="text"],
input[type="password"],
textarea {
	border: 1px solid #999999;
	color: #666666;
	padding: 3px 5px 3px 5px;
	margin: 3px;
	width: 90%;
	border-radius: 5px;
	-moz-border-radius: 5px; /* Firefox */
	-webkit-border-radius: 5px; /* Safari */
}
input[type="submit"],
input[type="button"],
input[type="reset"] {
	border: 1px solid #999999;
	color: #666666;
	font-weight: normal;
	padding: 2px 10px 2px 10px;
	margin: 3px;
	border-radius: 5px;
	-moz-border-radius: 5px; /* Firefox */
	-webkit-border-radius: 5px; /* Safari */
}
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
	border-color: #135cae;
	color: #333333;
	background: #eef4fe;
}
input[type="text"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
	background: #eef4fe;
	border-color: #135cae;
	color: #333333;
}
/* *********************************************************************************** */
/* ADEJ templates items ************************************************************** */
#boxLeft {
	float: left;
	width: 300px;
	background: url(../images/boxBody.jpg) top center repeat-y;
	text-align: center;
}
#boxRight {
	float: right;
	width: 300px;
	background: url(../images/boxBody.jpg) top center repeat-y;
	text-align: center;
}
#boxLeft .boxHead,
#boxRight .boxHead {
	background: url(../images/boxHead.jpg) top center no-repeat;
	height: 50px;
	line-height: 50px;
	padding: 0 0 0 20px;
	font-size: 150%;
	font-weight: bold;
	color: #f1f1f1;
	text-align: left;
}
#boxLeft .boxFoot,
#boxRight .boxFoot {
	background: url(../images/boxFooter.jpg) bottom center no-repeat;
	height: 30px;
	line-height: 30px;
}
.homeRandImg {
	width: 200px;
	height: 150px;
	padding: 10px;
	border: 1px solid #777777;
	background: #ffffff;
}
.noRand {
	text-align: center;
	width: 200px;
	height: 150px;
	line-height: 150px;
	padding: 10px;
	border: 1px solid #777777;
	background: #ffffff;
	margin: 0 auto;
}
.description {
	color: #ffffff;
	width: 200px;
	padding: 5px;
	margin: 0 auto;
	text-align: left;
}
/* *********************************************************************************** */
