/*
  SilverStripe Falling Leaves Theme
  http://www.silverstripe.com
  
  adapted to SilverStripe by Wojtek Szkutnik
  http://silverstripe.pl
    
  based on Patt Head's layout
  http://fullahead.org
*/

* {
	margin: 0;
	padding: 0;
	
}
html {
  height: 100%;
}

body {
  background: #666666;
  text-align: center;
  height:100%;
}

body, th, td, input, textarea {
	font-family: Verdana,Arial,Helvetica,sans-serif;
	font-size: 11px;
	color: #DDDDDD;
}
.sshowProjects{
	float: right;
	height: 548px;
	right: -40px;
	width: 560px;
}
#content {  
  height: 100%;
  min-height: 100%;
  text-align: left;
}

#content,
#width {
  /* max-width hack for IE since it doesn't understand the valid css property */
  width: expression(document.body.clientWidth > 1000 ? "1000px" : "94%");  
  max-width: 1000px;
  margin: 0 auto;
}

#scrollBox {
	clear:none;
	float:left;
	font-size:12px;
	padding-left:50px;
	position:relative;
	text-align:left;
	overflow:auto;
	
}

#scrolltextDiv {
background-color:transparent;
left:0;
margin:0 40px 15px 15px;
position:relative;
top:0;
z-index:30;
}

#pos1_updwnDiv {
position:absolute;
visibility:hidden;
width:7px;
z-index:100;
}

#pos1_updwnDiv img, #pos2_updwnDiv img, #pos3_updwnDiv img {
margin:0 0 10px;
}


#staffScrollBox {layout.css (line 46)
	clear:none;
	float:right;
	font-size:12px;
	overflow:auto;
	text-align:left;
	overflow-x:auto;
	overflow-y:auto;

}


.root 		{
		position:relative;
		height:			200px;
		width:			489px;
		margin: 			0px 0px 8px 7px;		
		}
.root p 	{
		margin:			10px 10px 5px 10px;
		}
.thumb 		{
		position:			absolute;
		height:			9px;
		width:			15px;
		left: 			10px;
		}
.up, .dn 	{
		position:			absolute;
		left: 			10px;
		}
.up a, .up a img, .dn a, .dn a img, .thumb a , .thumb a img{
		border:			0;
		}
.scrollContainer { 
		position:			absolute; 
		left:			2px; 
		top:			19px; 
		width:			350px; 
		height:			200px; 
		clip:			rect(0 467 200 0); 
		overflow:			auto; 
		border-top:		2px solid #000000;
		border-left:		2px solid #000000;
		border-right:		2px solid #686262;
		border-bottom:		2px solid #686262;
		background:		#D9D9B0;
		}
.scrollContent { 
		position:			absolute; 
		left:			0px; 
		top:			0px; 
		width:			100px; 
		}
		
#content[id],
#width[id] {
  width: 94%;
  height: auto;
}

#logo {
  width: 133px;
  height: 37px;
  background: url(../images/tierra_logo.png) no-repeat top left;
  float: right;
  clear: none;
}

#logoband {
  width: 100%;
  background: url(../images/logo_band.png) repeat-y top left;
  float: left;
  padding:5px;
}

#logoa {
  width: 92px;
  height: 92px;
  background: url(../images/tierra_logo_sym.png) no-repeat;
  background-position: 10px 0px;
  float: left;
  clear: none;
}

#contenta {
  clear: none;
  font-size: 12px;
  font-weight: bold;
  text-align: left;
  color:#DDD;
}

.homebg {
  height:450px;
}

/**************************************************************
   #header: Holds the site title and header images
 **************************************************************/

#headerx {
	width: 980px;
	height: 25px;
	margin: 0 auto;
	clear:both;
	padding-top:0px;
}
#headerxx {
	width: 980px;
	height: 25px;
	margin: 0 auto;
	clear:both;
	padding-top:20px;
	position:relative;
	top:5px;
}

#mainMenux {
	float: left;
}

#mainMenux ul {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: normal;
}

#mainMenux li {
	float: left;
}

#mainMenux a {
	display: block;
	float: left;
	margin-right: 1px;
	padding: 4px 10px 0;
	text-decoration: none;
	font-size: 1.1em;
}

#mainMenux a:hover {
	color: #000;
}

.current{
	color:#000;
}

.section{
	color:#000;
}

.currenttag{
	color:#000;
}
.currenttag:hover{
	color:#DDD;
}
#header {
  position: relative;
  height: 193px;
}

/* Holds the site title and subtitle */
#header #title {
  position: absolute;
  z-index: 3;
  top: 10px;
  left: 130px;

  padding: 5px;
  text-align: right;
}

#header h1 {
  margin: 0;
  padding: 0;
  font: 700 4em "trebuchet ms", serif;
  letter-spacing: -3px;
  text-transform: lowercase;
  color: #FFF;
}

#header h2 {
  position: absolute;
  top: 10px;
  right: 5px;
  margin: 0;
  padding: 0;
  font: 700 1em "trebuchet ms", serif;
  text-transform: lowercase;
  color: #00F0EC;
}

/* Sets where the header images will go */
#header img.left {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
}

#header img.right {
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
}

#header img.balloons {
  position: absolute;
  z-index: 2;
  top: 70px;
  right: 400px;
}

/**************************************************************
   #mainMenu: The top level site menu
 **************************************************************/

#mainMenu { 
  float: left;
  width: 100%;
  clear: both;  
}

#mainMenu ul {
  margin: 0;
  padding: 0;
}

#mainMenu li {
  display: inline;
  list-style: none;
  margin: 0;
  padding: 0;
}

#mainMenu li a {
  float: left;
  margin: 0 2px;
  padding: 5px 0.5em;

  font: 400 1.6em "trebuchet ms", serif;
  text-decoration: none;
  text-transform: lowercase;
  color: #FFF;
}

#mainMenu li a:hover,
#mainMenu li a.current,
#mainMenu li a.section {
  color: #65EBFF;
  border-top: 5px solid #000;
}

#mainMenu li a.last {
  margin-right: 0;
}

/**************************************************************
   .sideMenu: The side bar menu
 **************************************************************/
.sub {
	margin-left:15px;
}
.sub li.hhere {
  display: block;  
  padding-left:10px;
}

ul.sideMenu {
  font-weight: normal;
  margin-left:10px;
  text-align: left;
  padding: 0;
}

.sideMenu li {
  display: inline;
  /* Needed since IE fails when you give it list-style: none; */  
  list-style-image: url(foo.gif);
}

.sideMenu li a {
  display: block;
  margin: 0.2em 0;    
  text-decoration: none;
  font-size:1em;
} 

.sideMenu li a:hover {
  color: #DDDDDD;
  background: #333333;
}

/* Active menu item */
.sideMenu li.here {
  display: block;  
  padding: 5px;
  font-family: Verdana,Arial,Helvetica,sans-serif;
}

/* Submenu of active menu item */
.sideMenu li.here ul {
  margin: 0;
  padding: 0;
}

.sideMenu li.here ul li a {
  padding-left: 5px;
  font-family: Verdana,Arial,Helvetica,sans-serif;
  background: url(../images/bg/bullet.gif) no-repeat 10px 0px;
}

.sideMenu li.here ul li a:hover {
  background: #333333 url(../images/bg/bullet.gif) no-repeat 10px 0px;
}

/**************************************************************
   #page: Holds the main page content.
 **************************************************************/
#pagex {
	width: 978px;
	margin: 0 auto;
	border: 1px solid #F3F3F3;
	clear: both;
	min-height: 450px;
	overflow:hidden;
}

#rBackground{
	width: 978px;
	height: 450px;
	position:relative;
	top:-450px;
	z-index:-400;
}

#page {
  float: left;
  width: 100%;
  clear: both;
  
}


/**************************************************************
   #footer: The page footer - will stick to the bottom if not
            enough content.
 **************************************************************/
#footerx {
	text-align: center;
	font-size: 9px;
}

#footer {
  float: left;
  width: 100%;
  clear: both;
  margin-top: -3.8em;
  background: #000 url(../images/bg/footer.jpg) repeat-x top left;
}

/* Sets the width of the footer content */
#footer #width {
  position: relative;
  z-index: 3;
  font-size: 0.85em;
  padding-top: 27px;
}

/**************************************************************
   Width classes used by the site columns
 **************************************************************/

.width100 {
  width: 100%;
}

.width75 {
  width: 74%;
}

.width50 {
  width: 49.7%;
}

.width33 {
  width: 32.7%;
}

.width25 {
  width: 24.7%;
}

.width20 {
  width: 20%;
}

.width80 {
  width: 80%;
}


/**************************************************************
   Alignment classes
 **************************************************************/
.grayback{
	background-color:#666;
}

.projectSummary {
	padding-bottom: 5px;
}

#Sidebar {
	padding-top:30px;
}

#ProjectContent {
padding-right:40px;
padding-top:40px;
width:600px;
height:100%
}

.paddtop60{
	  margin-top: 60px;
}

.floatLeft {
  float: left;
}

.floatRight {
  float: right;
  padding-top:15px;
}

.alignLeft {
  text-align: left;
}

.alignRight {
  text-align: right;
}

/**************************************************************
   Generic display classes
 **************************************************************/

.clear {
  clear: both;
}

.block {
  display: block;
}

.small {
  font-size: 0.8em;
}

.green {
  color: #A1FF45;
}

.red {
  color: #EA1B00;
}

.grey {
  color: #666;
}

.grey a {
  color: #999;
}

.grey a:hover {
  color: #EEE;
}

.gradient {
  margin-bottom: 2em;
  background: #555 url(../images/bg/gradient.jpg) repeat-x bottom left; 
}

.currentSubLink {	
	color:#000;
}

.currentSubLink:hover {	
	color:#DDD;
}
#ShoppingCart ul {
	font-size:0.9em;
	margin-left:-30px !important;
}

.WidgetHolder ul {
	font-size:0.9em;
	margin-left:-30px !important;	
}

img {
  border:0px !important;
}

#outer {height: 450px; width: 100%; overflow: hidden; position: relative;}
#outer[id] {display: table; position: static;}

#middle {position: relative; width: 100%; top: 50%;} /* for explorer only*/
#middle[id] {display: table-cell; vertical-align: bottom; position: static;}

#inner {position: relative; width: 100%; top: 160%} /* for explorer only */
optional: #inner[id] {position: static;}

#NewsList,
#StaffList {
	padding:10px;
}

#NewsList li,
#StaffList li {
	margin: 0;
	list-style-type: none;
}
	#NewsList li.newsDateTitle span {
		color:#666;
		line-height:2em;
	}
	#NewsList li.newsDateTitle a {
		font-size:1.3em;
		font-weight:bold;
		color:#0083C8;
		text-decoration:none;
		padding-left:20px;
		background:url(../images/treeicons/news-file.gif) no-repeat left center;
	}
		#NewsList li.newsDateTitle a:hover {
			border-bottom:1px dotted #0083C8;
		}
		
	#NewsList li.newsSummary {
		margin-bottom:20px;
	}
		#NewsList li.newsSummary span {
			font-size:1.1em;
			line-height:1.5em;
			color:#333;
		}
		#NewsList li.newsSummary a.readMoreLink {
			color:#0083C8;
			text-decoration:none;
		}
			#NewsList li.newsSummary a.readMoreLink:hover {
				border-bottom:1px dotted #0083C8;
			}

div.newsDetails {
	margin-bottom:10px;
}

div.newsDetails p {
	color:#666;
	margin:0;
	font-size:1em;
}

div.pageComments {
	background:#f0f0f0;
	border:1px dotted #ccc;
	padding:10px;
}

#StaffList .staffname { 
	clear: both;
	height: 1.2em;
}

#StaffList .servicename { 
	clear: both;
	padding-left: 105px;
	height: 1.2em;
}

#StaffList .staffphoto {
	float: left;
	margin-left: 3px;
}     

#StaffList .ServicesPhoto {
	float: right;
	margin-left: 3px;
}     

#StaffList .staffphoto img {
	border:1px solid #AAA;
}

#StaffList .staffdescription {
	margin-left: 70px;
	margin-bottom:30px;
	height: 70px;
}

#StaffList .servicedescription {
	margin-left: 90px;
	margin-bottom:30px;
}

#StaffPhoto {
	float: left;
	margin-right: 10px;
}

#ServicesPhoto {
	float: right;
	margin-right: 10px;
} 

#StaffPhoto img {
	border:1px solid #AAA;
}

#ServicesPhoto img {
	border:1px solid #AAA;
} 

#PageComments {
	list-style:none;
	background:#e9e9e9;
	border:1px solid #ccc;
	border-bottom:0;
	padding:0;
	margin:0;
}
	#PageComments li {
		list-style:none;
		padding:5px;
		margin:0;
		font-size:1em;
		border-bottom:1px dotted #bbb;
	}
		#PageComments li p span {
			font-style:italic;
		}
		#PageComments a.deletelink {
			font-weight:bold;
		}

			
#PageNumbers {
	font-weight:bold;
	color:#333;
	font-size:1.1em;
	text-align:center;
	padding:5px;
	border:1px solid #ddd;
	background:#e9e9e9;
}
#PageNumbers * {
	padding:0 5px;
	line-height:1.5em;
}
#PageNumbers a {
	color:#0083C8;
	text-decoration:none;
}
	#PageNumbers a:hover {
		text-decoration:underline;
	}

		
#CompanyContent {
	float: left;
	clear: none;
}

