/*****************************/
/*** Core html setup stuff ***/
/*****************************/

/* undohtml.css 
(CC) 2004 Tantek Celik. Some Rights Reserved.
http://creativecommons.org/licenses/by/2.0
This style sheet is licensed under a Creative Commons License.
Purpose: undo some of the default styling of common (X)HTML browsers */

:link,:visited {text-decoration:none}
h1,h2,h3,h4,h5,h6,pre,code {font-size:1em;}
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin:0; padding:0 }
address {font-style:normal}
td { vertical-align: top; }

html {
  height: 100%;
  margin-bottom: 0px;
}

form {
  margin: 0;
  padding: 0;
}

body {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #333333;
	letter-spacing: 0px;
	line-height: 25px;
	
	background-color: #f3f3f3;
	margin-left: 0px;
	margin-top: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
}

a:link, a:visited {
	text-decoration: none;
	font-weight: normal;
	color: #CE0000;
}

a:hover {
	text-decoration: none;
	font-weight: normal;
	color: #85b6e2;
}

input.button {
 cursor: pointer;
}

p {
  margin-top: 0;
  margin-bottom: 25px;
}

li { 
	list-style: none; 
	padding-left: 26px; 
	background: url(../images/tick.gif) 0px 6px no-repeat; 
}

li.star {
	background: none;
}

input {
	height:20px;
	border: 1px solid #D2D2D2;
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 3px;
	margin-bottom: 10px;
	width: 360px;
}
.checkbox {
	height:20px;
	border: none;
	padding-left: 3px;
	padding-right: 3px;
	padding-top: 3px;
	width: auto;
	margin-bottom: 0px;
}
.button {
	height: 30px;
	font-size: 12px;
	font-style: italic;
	line-height: 25px;
	width: 80px;
	margin-right: 10px;
	text-align: center;
}
textarea {
	border: 1px solid #D2D2D2;
	padding-top: 3px;
	padding-left: 3px;
	padding-right: 3px;
	margin-top: -1px;
	width: 450px;
}
.content_rating {
	display: none;
}
.content_vote {
	display: none;
}

/*****************************************/
/*** Template specific layout elements ***/
/*****************************************/

/* $1 - Main Container ///////////////////////////////////////////////////////////////////////////////////*/

#container {

}

/* $2 - Header Styles ///////////////////////////////////////////////////////////////////////////////////*/

#header-container {
	background:url(../images/headerback.gif) repeat-x;
	margin:0 auto;
	text-align:center;
	}
	#header {
		position:relative;
		height:30px;
		width:990px;
		margin:0 auto;
		padding-top:56px;
		text-align:left;
		padding-left: 10px;
		}
		
.header-logo {
	position:absolute;
	top:20px;
	right:0;
	}
	
.header-logo2 {
	position:absolute;
	top:20px;
	left:2px;
	}
	
/* $3 - Main1 Styles ///////////////////////////////////////////////////////////////////////////////////*/

#main1-container {
	background:url(../images/main1back.gif);
	margin:0 auto;
	padding:25px 0px 15px 0px;
	float: left;
	width: 100%;
	
	/* set different font settings for black area /////*/
	color: #CCCCCC;
	font-size: 12px;
	}
	
	#main1-container a:link, #main1-container a:visited {
		text-decoration: none;
		font-weight: normal;
		color: #85b6e2;
	}
	
	#main1-container a.contentpagetitle-featuredwork:link, #main1-container a.contentpagetitle-featuredwork:visited {
		font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
		font-size: 12px;
		color: #EAEAEA;
		letter-spacing: 0px;
		line-height: 30px;
		text-align: left;
		font-weight: bold;
	}
	
	#main1-container a.contentpagetitle-featuredwork:hover {
		color: #85b6e2;
	}

	#main1-container a:hover {
		text-decoration: none;
		color: #CE0000;
	}
	
	#main1-container2 {
		position: relative;
		margin:0 auto;
		width:990px;
		padding-left: 10px;
		}
		#main1-heading {
			position: relative;
			width: 100%;
			height: 190px;
			float: left;
			}
			#main1-headerimage {
				position: relative;
				width: 215px;
				float: left;
				}
			#main1-headertext {
				position: relative;
				width: 700px;
				font-size: 21px;
				font-style: italic;
				color: #5f5d5c;
				float: left;
				line-height: 37px;
				margin-top: 65px;
				}
		#main1 {
			position: relative;
			width: 740px;
			float: left;
			}
		#main1-services {
			position: relative;
			width: 220px;
			float: right;
			}
		#main1-featured {
			position: relative;
			width: 740px;
			float: left;
			}
		
a.project-thumbnails:link img, a.project-thumbnails:visited img, a.project-thumbnails:hover img {
	border: 5px solid #C7C7C7;
	margin-bottom: 10px;
	margin-top: 10px;
}

.image-border {
	border: 5px solid #C7C7C7;
	margin-bottom: 0px;
	margin-top: 10px;
}
		
/* $4 - Main2 Styles ///////////////////////////////////////////////////////////////////////////////////*/

#main2-container {
	background:url(../images/main2back.gif) repeat-x;
	margin:0 auto;
	padding:30px 0;
	text-align:center;
	float: left;
	width: 100%;
	}
	#main2 {
		position: relative;
		width:990px;
		margin:0 auto;
		padding-left: 10px;
		}
		#main2-maincontent {
			position: relative;
			width:700px;
			text-align: left;
			float: left;
			}
		#main2-user4 {
			position: relative;
			width:250px;
			text-align: left;
			float: right;
			background: url(../images/side-module-back.jpg) no-repeat;
			padding: 10px;
			padding-top: 15px;
			font-size: 11px;
			color: #666666;
			margin-bottom: 40px;
			}
		#main2-right {
			position: relative;
			width:200px;
			text-align: left;
			float: right;
			padding: 10px;
			font-size: 11px;
			color: #333333;
			background-color: #edf0f5;
			margin-right: 50px;
			background-image: url(../images/advertisment.gif);
			background-repeat: no-repeat;
			background-position: top;
			}
		#main2-user5 {
			position: relative;
			width:300px;
			height: 180px;
			text-align: left;
			float: left;
			background: url(../images/bottom-module-back.jpg) no-repeat;
			padding: 10px;
			}
			#main2-user5 li { 
				list-style: none; 
				padding-left: 30px; 
				font-size: 11px;
				padding-bottom: 5px;
				border-bottom: 1px solid #dddddd;
				background: none;
				line-height: 15px;
				padding-top: 6px;
				} 
			#main2-user5 a:link, #main2-user5 a:visited {
				text-decoration: none;
				font-weight: normal;
				color: #333333;
			}

			#main2-user5 a:hover {
				text-decoration: none;
				font-weight: normal;
				color: #CE0000;
			}
		#main2-user6 {
			position: relative;
			width:300px;
			height: 180px;
			text-align: left;
			float: left;
			background: url(../images/bottom-module-back.jpg) no-repeat;
			padding: 10px;
			margin-left: 15px;
			
			font-size: 11px;
			line-height: 22px;
			}
		#main2-user6 p {
			margin-bottom: 10px;
		    }
		#main2-user7 {
			position: relative;
			width:300px;
			height: 180px;
			text-align: left;
			float: left;
			background: url(../images/bottom-module-back.jpg) no-repeat;
			padding: 10px;
			margin-left: 15px;
			
			font-size: 11px;
			}
			
/* $2 - Footer Styles ///////////////////////////////////////////////////////////////////////////////////*/

#footer-container {
	margin:0 auto;
	text-align:center;
	}
	#footer {
		width:990px;
		margin:0 auto;
		text-align:center;
		font-size: 10px;
		color: #999999;
		padding-bottom: 20px;
		}
		

/*****************************************/
/*** Joomla! specific content elements ***/
/*****************************************/

div.offline {
	background: #fffebb;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
	font-size: 1.2em;
	padding: 5px;
}

span.pathway {
  display: block;
  margin: 0 20px;
  height: 16px;
  line-height: 16px;
  overflow: hidden;
}

/* headers */
div.componentheading {
  padding-left: 0px;
}

h1 {
	padding: 0;
	font-family:Helvetica ,Arial,sans-serif;
	font-size: 1.3em;
	font-weight: bold;
	vertical-align: bottom;
	color: #85b6e2;
	text-align: left;
	width: 100%;
}

h2, .contentheading, .contentheading-work {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 20px;
	color: #5775A6;
	letter-spacing: 0px;
	text-align: left;
	text-transform: none;
	line-height: 35px;
	border-bottom: 1px solid #EAEAEA;
	width: 680px;
	font-weight: normal;
}

a.contentpagetitle-work:link, a.contentpagetitle-work:visited {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #CE0000;
	letter-spacing: 0px;
	line-height: 30px;
	text-align: left;
	font-weight: bold;
	border-bottom: none;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

.componentheading, table.moduletable th, legend, .componentheading-work {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 20pt;
	color: #666666;
	letter-spacing: -1px;
	line-height: 35px;
	text-align: left;
	font-weight: normal;
	padding-bottom: 20px;
	margin-bottom: 0px;
}

h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14pt;
	color: #666666;
	letter-spacing: -1px;
	line-height: 35px;
	text-align: left;
	font-weight: normal;
	padding-bottom: 20px;
	margin-bottom: 0px;
}

.moduletable-whatwedo h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 35px;
	border-bottom: 1px solid #181818;
	text-align: left;
	text-transform: lowercase;
	padding-left: 40px;
	background: url(../images/icon-1.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 0px;
}

.moduletable-featuredwork h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 40px;
	border-bottom: 1px solid #181818;
	text-align: left;
	text-transform: lowercase;
	padding-left: 40px;
	background: url(../images/icon-2.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 0px;
}

.moduletable-featuredwork p, .moduletable-featuredwork td {
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 11px;
}

.moduletable-services h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 35px;
	border-bottom: 1px solid #181818;
	text-align: left;
	text-transform: lowercase;
	padding-left: 40px;
	background: url(../images/icon-3.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 0px;
}

#main2-user4 h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 14pt;
	color: #CE0000;
	letter-spacing: 0px;
	line-height: 21px;
	text-align: left;
	text-transform: lowercase;
	padding-left: 27px;
	background: url(../images/icon-7.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 12px;
}

#main2-user5 h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 25px;
	border-bottom: 1px solid #eeeeee;
	text-align: left;
	text-transform: lowercase;
	padding-left: 30px;
	background: url(../images/icon-4.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 3px;
}

#main2-user5 .moduletable {
	width: 270px;
}

#main2-user6 h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 25px;
	border-bottom: 1px solid #eeeeee;
	text-align: left;
	text-transform: lowercase;
	padding-left: 30px;
	background: url(../images/icon-5.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 3px;
}

#main2-user6 .moduletable {
	width: 270px;
}

#main2-user7 h3 {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 16pt;
	color: #85b6e2;
	letter-spacing: -1px;
	line-height: 25px;
	border-bottom: 1px solid #eeeeee;
	text-align: left;
	text-transform: lowercase;
	padding-left: 30px;
	background: url(../images/icon-6.gif) no-repeat;
	font-weight: normal;
	padding-bottom: 3px;
}

#main2-user7 .moduletable {
	width: 270px;
}


/* small text */
.small {
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.modifydate {
  height: 20px;
  vertical-align: bottom;
	font-size: .90em;
	color: #999;
	font-weight: normal;
	text-align: left;
}

.createdate {
	height: 20px;
	vertical-align: top;
	font-size: 10px;
	color: #999999;
	font-weight: normal;
	vertical-align: top;
	padding-bottom: 5px;
	padding-top: 0px;

}

a.readon {
	margin-top: 10px;
	display: block;
	float: right;
	background: url(../images/mw_readon.png) top right no-repeat;
	padding-right: 20px;
	line-height: 14px;
	height: 16px;
}

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


/** overlib **/

.ol-foreground {
	background-color: #f7f7f7;
}

.ol-background {
	background-color: #555555;
}

.ol-textfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10px;
}

.ol-captionfont {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #f6f6f6;
	font-weight: bold;
}
.ol-captionfont a {
	color: #0B55C4;
	text-decoration: none;
	font-size: 12px;
}

.ol-closefont {}

/* menu links */
a.mainlevel:link, a.mainlevel:visited {
	font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #535353;
	text-transform: uppercase;
	padding-right: 30px;
}

a.mainlevel:hover {
	color: #5775A6;
	text-decoration: none;
}

#active_menu {

  color: #5775A6;
}

/* spacers */
span.article_separator {
	display: block;
	height: 20px;
}

.article_column {
	padding-right: 10px;
}

.column_separator {

}

td.buttonheading {

}

.clr {
	clear: both;
}

td.greyline {
  width: 20px;
  background: url(../images/mw_line_grey.png) 50% 0 repeat-y;
}

div#maindivider {
  border-top: 1px solid #ddd;
  margin-bottom: 10px;
  overflow: hidden;
  height: 1px;
}

table.blog span.article_separator {
	display: block;
	height: 20px;
}

table.blog {
	width: 100%;
}

.blog-work p, .blog-work td {
	margin-top: 0px;
	margin-bottom: 0px;
	font-size: 11px;
}

.blog-work span.article_separator {
	display: block;
	height: 20px;
	/*border-bottom: 1px dashed #CCCCCC;*/
	margin-bottom: 20px;
}
.blog-work .article_column {
	padding-right: 25px;
}

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

table.contenttoc td {
  padding: 0 5px;
}


/* content tables */
td.sectiontableheader {
  background: #efefef;
  color: #333;
  font-weight: bold;
  padding: 4px;
  border-right: 1px solid #fff;
}

tr.sectiontableentry0 td,
tr.sectiontableentry1 td,
tr.sectiontableentry2 td {
  padding: 4px;
}

td.sectiontableentry0,
td.sectiontableentry1,
td.sectiontableentry2 {
  padding: 3px;
}


/* content styles */
table.contentpaneopen-featuredwork {
	width: 370px;
}

table.contentpaneopen-work .commentBlogView {
	display: none;
}

table.contentpaneopen, table.contentpane {
	margin: 0;
	padding: 0;
	width: auto;
}

table.contentpaneopen li {
	margin-bottom: 5px;
}

table.contentpaneopen fieldset {
	border: 0;
	border-top: 1px solid #ddd;
}

table.contentpaneopen h3 {
	margin-top: 25px;
}

table.contentpaneopen h4 {
	font-family: Arial, Helvetica, sans-serif;
	color: #333;
}

/* module control elements */
table.user1user2 div.moduletable {
	margin-bottom: 0px;
}

div.moduletable, div.module {
  margin-bottom: 25px;
}

div.module_menu h3 {
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	color: #eee;
	margin: -23px -4px 5px -5px;
	padding-left: 10px;
	padding-bottom: 2px;
}

div.module_menu {
	margin: 0;
	padding: 0;
	margin-bottom: 15px;
}

div.module_menu div div div {
	padding: 10px;
	padding-top: 30px;
	padding-bottom: 15px;
	width: auto;
}

div.module_menu div div div div {
	background: none;
	padding: 0;
}

div.module_menu ul {
	margin: 10px 0;
	padding-left: 20px;
}

div.module_menu ul li a:link, div.module_menu ul li a:visited {
	font-weight: bold;
}

#leftcolumn div.module {
	padding: 0 10px;
}

#leftcolumn div.module table {
	width: auto;
}

/* forms */
table.adminform textarea {
  width: 540px;
  height: 400px;
  font-size: 1em;
  color: #000099;
}

div.search input {
	width: 145px;
	border: 1px solid #ccc;
	margin: 15px 0 10px 0;
}

input#mod_login_username,
input#mod_login_password {
	width: 116px;
}

input#mod_login_username.openid {
	background: url(../images/login-bg.gif) 0 50% no-repeat;
	padding-left: 20px;
	width: 100px;
}

/* thumbnails */
div.mosimage         {  margin: 5px; }
div.mosimage_caption {  font-size: .90em; color: #666; }

div.caption       { padding: 0 10px 0 10px; }
div.caption img   { border: 1px solid #CCC; }
div.caption p     { font-size: .90em; color: #666; 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-family : "Trebuchet MS", Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size : 14px;
	color : #c30;
	text-align: center;
	width: auto;
	background-color: #f9f9f9;
	border: solid 1px #d5d5d5;
	margin: 3px 0px 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;
	background-color: #F7F7F7;
	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 #eee;
	color: #666;
}

/* Tooltips */
.tool-tip {
	float: left;
	background: #ffc;
	border: 1px solid #D4D5AA;
	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;
}

/* Debug */
#system-debug     { color: #666666; background-color: white; padding: 10px; margin: 10px; }
#system-debug div { font-size: 11px;}



