body {
	background: url("images/sky.gif") repeat-x top;
	/*background-color: #FAC761;*/
	margin: 0;
	padding-top: 5px;
	color: #444444;
	font-family: Tahoma, verdana, sans-serif;
	font-size: 62.5%; /* 10px */
}

a:link, a:visited {
	padding: 1px;
	border-bottom: 1px solid #B5D7DF;
	color: #00A5CD;
	text-decoration: none;
}

a:hover {
	color: #555;
	border-color: white;
}

a:link.external, a:visited.external {
	padding: 1px;
	border-bottom: 1px dashed #FF7F00;
	color: #00A5CD;
	text-decoration: none;
}

a:hover.external {
	color: #FF7F00;
}

form {
	font-size: 1.2em;
}

img {
	border: 0;
}

ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* small box bullet */
#content .column ul li, .portfolio .desc ul li, #sidebar ul li ul li {
	background: url("/assets/templates/bedlam/images/bullet.gif") no-repeat 4px 7px;
	font-size: 1.2em;
	margin: 0px 0;
	padding-left: 15px;
	line-height: 1.7;
}



#container {
	background: white;
	position: relative;
	margin: 0 auto;
	/*border-left: 1px solid #E6B759; if orange body background*/
	/*border-right: 1px solid #E6B759; if orange body background*/
	border-left: 1px solid #EBEBEB;
	border-right: 1px solid #EBEBEB;
	width: 720px;
}


/*----- header -----*/
#header {
	height: 120px;
}

#header h1 {
	position: absolute;
	left: 10px;
	top: 13px;
	margin: 0;
}

#header h1 a {
	border: 0;
	padding: 0;
}


/*----- content -----*/
#content {
	float: right;
	margin: -63px 0 0 0px;
	/*margin: -95px 0 0 0px;*/
	width: 475px;
	padding: 0 16px;
	overflow: hidden;
}

#content h2 {
	background: url("images/heading.gif") no-repeat 427px bottom;
	border-bottom: 1px solid #7FD2E6;
	/*margin: 0 0 25px;*/
	margin: 0 0 40px;
	padding: 30px 60px 1px 0px;
	color: #00A5CD;
	font-size: 1.7em;
	font-weight: normal;
}

#content p {
	margin: 0px 0 12px;
	font-size: 1.2em;
	line-height: 1.5;
}

/** green box 
url("/assets/templates/bedlam/images/green-butterfly.gif") no-repeat right bottom;
**/
#content #intro {
	background: #ECF9DD; 
	border: 1px solid #CCECA8;
	margin-bottom: 10px;
	padding: 8px 7px 4px;
	font-size: 1.3em;
}

#content #intro h3 {
	background: none;
	margin: 0;
	padding: 0;
	color: #58A700;
	font-size: 1.1em;
	font-weight: normal;
}

#content #intro p {
	margin: 3px 2px 6px;
	color: #427A00;
	font-size: 1.3em;
}

/* orange heading */
#content h3 {
	background: url("/assets/templates/bedlam/images/content-heading.gif") no-repeat right bottom;
	margin: 0 0 3px;
	padding: 0 0 3px;
	color: #FF7F00;
	font-size: 1.7em;
	font-weight: normal;
}

/* cream box on homepage */
#content .column {
	background: #FFF6ED url("/assets/templates/bedlam/images/column-bg.gif") repeat-x top;
	margin: 12px 0 18px;
	padding: 4px 5px 5px;
	border: 1px solid #F7DABC;
	width: 218px;
}

/* small box bullet */
#content .column ul li, .portfolio .desc ul li {
	background: url("/assets/templates/bedlam/images/bullet.gif") no-repeat 4px 7px;
	font-size: 1.2em;
	margin: 0px 0;
	padding-left: 15px;
	line-height: 1.7;
}

#content .left {
	float: left;
}

#content .right {
    float: left;
    margin-left: 15px; 
}


/*----- contact form -----*/
#contact {
	margin: 0;
	padding: 4px 0;
}

#contact fieldset {
	border: 0;
	margin: 0;
	padding: 0;
}

#contact ul#departments {
	margin-bottom: 10px;
}

#contact ul#departments li {
	display: inline;
}

#contact dl {
	margin: 0;
}

#contact input#fullname, #contact input#company, #contact input#company-support, #contact input#email, #contact input#comments {
	width: 200px;
}

#contact textarea {
	width: 400px;
}

/* input box's margin */
#contact dd {
	margin: 5px 0 11px;
}

/* required field asterisk */
#contact em {
	color: #FF7F00;
	font-style: normal;
}

#contact #captcha {
	display: block;
	margin-bottom: 6px;
	font-size: 0.9em;
}

/* wFORMS */
.onstate-form, .onstate-company-support, .onstate-company {
	display: block;
}

form .errFld {
	border: 1px solid #FF7F00;
}

form .errMsg {
	display: block;
	color: #CC3333;
}


/*----- portfolio -----*/
.portfolio {
	background: #F7E1BA url("/assets/templates/bedlam/images/peach-butterfly.gif") no-repeat right bottom;
	margin: 15px 0 23px;
	padding: 8px 7px;
	border: 1px solid #EBC075;
}

/* left column */
.portfolio .ss {
	float: left;
	margin: 0;
	font-size: 1.2em;
}

.portfolio .ss dt.screenshot {
	background: white;
	margin: 6px 0 3px;
	border: 4px solid #fff;
}

.portfolio .ss dd {
	margin: 0;
	padding: 0;
}

.portfolio .ss .company {
	padding: 0 2px;
	width: 174px;
}

.portfolio .ss dt.company{
	color: #E38109;
	font-size: 0.9em;
	font-weight: bold;
}

/* right column */
.portfolio .desc {
	margin: 0;
	padding-left: 191px;
	line-height: 1.4;
}

.portfolio .desc dt, .portfolio .desc dd {
	font-size: 1.2em;
	margin: 0;
	padding: 0;
}

.portfolio .desc dt {
	margin-top: 5px;
	color: #E38109;
	font-weight: bold;
}

.portfolio .desc dd {
	margin-bottom: 7px;
}

.portfolio .desc .project-name h3 {
	background: none !important;
	padding: 2px 0  !important;
	border-bottom: 2px solid #E39542;
	color: #E38109 !important;
	font-size: 1.4em !important;
	line-height: 1 !important;
}

/* keep deliverables list's font-size from bigger */
.portfolio .desc ul li {
	font-size: 1em !important;
}


/*----- sidebar -----*/
#sidebar {
	float: right;
	padding: 16px 16px 22px;
	border-right: 1px solid #CDE7AF;
    width: 180px;
}

#sidebar h3 {
	background: white url("/assets/templates/bedlam/images/sidebar-heading.gif") no-repeat right bottom;
	margin: 0 0 3px;
	padding: 8px 0 3px;
	color: #75B130;
	font-size: 1.7em;
	font-weight: normal;
}

#sidebar ul {
	margin-bottom: 6px;
}

#sidebar ul li {
	background: url("/assets/templates/bedlam/images/bullet-nav.gif") no-repeat 2px 7px;
	font-size: 1.2em;
	margin: 0px 0;
	padding-left: 12px;
	line-height: 1.7;
}

#sidebar ul li ul li {
	font-size: 1em;
	padding-left: 15px;
}

#sidebar p {
	margin: 0;
	padding: 0px 3px 6px;
	font-size: 1.2em;
	line-height: 1.5;
}


/*----- footer -----*/
#footer {
	clear: both;
	padding: 50px 0 9px;
	width: 100%;
	color: #777;
	font-size: 1.1em;
	text-align: center;
}

#subfooter {
	background: url("/assets/templates/bedlam/images/footer.gif") no-repeat center 42px;
	clear: both;
	padding: 50px 0 9px;
	width: 100%;
	color: #777;
	font-size: 1.1em;
	text-align: center;
}

h4 {
	margin: 0 0 10px;
	padding: 30px 0px 1px 0px;
	color: #00A5CD;
	font-size: 1.4em;
	font-weight: normal;
}

/*----- lightbox -----*/


#lightbox{
	position: absolute;
	top: 40px;
	left: 0;
	width: 100%;
	z-index: 100;
	text-align: center;
	line-height: 0;
	}

#lightbox a img{ border: none; }

#outerImageContainer{
	position: relative;
	background-color: #fff;
	width: 250px;
	height: 250px;
	margin: 0 auto;
	}

#imageContainer{
	padding: 10px;
	}

#loading{
	position: absolute;
	top: 40%;
	left: 0%;
	height: 25%;
	width: 100%;
	text-align: center;
	line-height: 0;
	}
#hoverNav{
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 10;
	}
#imageContainer>#hoverNav{ left: 0;}
#hoverNav a{ outline: none;}

#prevLink, #nextLink{
	width: 49%;
	height: 100%;
	background: transparent url(/assets/templates/bedlam/images/images/blank.gif) no-repeat; /* Trick IE into showing hover */
	display: block;
	}
#prevLink { left: 0; float: left;}
#nextLink { right: 0; float: right;}
#prevLink:hover, #prevLink:visited:hover { background: url(/assets/templates/bedlam/images/images/prevlabel.gif) left 15% no-repeat; }
#nextLink:hover, #nextLink:visited:hover { background: url(/assets/templates/bedlam/images/images/nextlabel.gif) right 15% no-repeat; }


#imageDataContainer{
	font: 10px Verdana, Helvetica, sans-serif;
	background-color: #fff;
	margin: 0 auto;
	line-height: 1.4em;
	}

#imageData{
	padding:0 10px;
	}
#imageData #imageDetails{ width: 70%; float: left; text-align: left; }	
#imageData #caption{ font-weight: bold;	}
#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em;	}			
#imageData #bottomNavClose{ width: 66px; float: right;  padding-bottom: 0.7em;	}	
		
#overlay{
	position: absolute;
	top: 0;
	left: 0;
	z-index: 90;
	width: 100%;
	height: 500px;
	background-color: #000;
	filter:alpha(opacity=60);
	-moz-opacity: 0.6;
	opacity: 0.6;
	}
	

.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
	}

* html>body .clearfix {
	display: inline-block; 
	width: 100%;
	}

* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
	}	

.thumbnail{
	padding: 3px 3px 8px 3px;
	background-color: #EBEBEB;
	border: 1px solid #2a2a2a;
	float: left;
	margin-right: 10px;
	margin-bottom: 10px;
		}

.code
{
	color: #111;
	font-family: Tahoma, verdana, sans-serif;
	background-color: #f3f3f3;
	font-size: 1.4em;
	line-height: 1.3em;
	white-space: nowrap;
	overflow: auto;
}
