body,
html {
	height: 100%;
}

body {
	margin: 0;
	font-size: 11px;
}

	/* GLOBAL */
	#home,
	#portfolio,
	#about {
		min-height: 600px;
		height: 100%;
		min-width: 950px;
		position: relative;
	}
	
	.top {
		overflow: hidden;
		background-repeat: no-repeat;
		background-position: top left;
	}
	
		.top .logo {
			display: block;
			margin: 29px 0 0 35px;
		}
	
	.content {
		overflow: hidden;
		padding: 0 0 0 36px;
		position: absolute;
		top: 50%;
		left: 0;
		z-index: 20;
	}
	
		.content .h1,
		.content .h2 {
			display: block;
		}
		
		.content p.left,
		.content p.right,
		.content div.right {
			float: left;
			width: 205px;
			margin: 1em 21px 0 3px;
		}
	
	.bottom {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
		background-repeat: no-repeat;
		background-position: bottom left;
		z-index: 15;
	}
	
	/* HOME */
	#home {
		color: #464646;
		background-color: #aedfe5;
		background-image: url('../img/home_bg.png');
		background-position: top left;
		background-repeat: repeat-x;
	}
	
		#home a {
			color: #464646;
			background-color: inherit;
		}
	
		#home .top {
			height: 300px;
			background-image: url('../img/home_top_bg.png');
		}
		
		#home .content {
			margin-top: -110px;
		}
					
			#home .content .h2 {
				margin: 11px 0 0 2px;
			}
								
		#home .bottom {
			height: 380px;
			background-image: url('../img/home_bottom_bg.jpg');
		}
		
			#home .bottom .blog_box {
				position: absolute;
				left: 652px;
				bottom: 271px;
				width: 222px;
				background-image: url('../img/home_blog_box_bg.png');
				background-repeat: repeat-y;
				background-position: top left;
			}
			
				#home .bottom .blog_box .inner {
					width: 197px;
					padding: 106px 3px 6px 13px;
					position: relative;
				}
			
					#home .bottom .blog_box .inner a {
						font-weight: bold;
						color: #bf1e2e;
						background-color: inherit;
					}
					
					#home .bottom .blog_box .inner .logo {
						position: absolute;
						top: 0;
						right: -9px;
					}
			
			#home .bottom .second {
				position: absolute;
				left: 792px;
				top: 142px;
			}
					
			#home .bottom a.twitter {
				position: absolute;
				display: block;
				left: 783px;
				top: 93px;
				width: 75px;
				height: 96px;
			}
					
			#home .bottom em {
				color: #c2b59b;
				background-color: inherit;
			}
	
	/* ABOUT */
	#about {
		color: #ffffff;
		background-color: #3c2313;
		background-image: url('../img/about_bg.png');
		background-position: top left;
		background-repeat: repeat-x;
	}
	
		#about a {
			color: #c07026;
			background-color: inherit;
		}
		
		#about em {
			color: #c49a6d;
			background-color: inherit;
		}
		
		#about .top {
			height: 375px;
			background-image: url('../img/about_top_bg.png');
		}
		
		#about .content {
			margin-top: -90px;
		}
					
			#about .content .h1 {
				margin: 0 0 9px;
			}
			
			#about .content .right ul {
				list-style: none;
				margin: 0;
				padding: 0;
			}
			
				#about .content .right ul li {
					margin: 0 0 8px 0; 
					padding: 0 0 0 24px;
					background-image: url('../img/about_contact_icons.png');
					background-repeat: no-repeat;
				}
				
				#about .content .right ul li.email {
					background-position: 0px 0px;
				}
			
				#about .content .right ul li.linkedin {
					background-position: 2px -22px;
				}
			
				#about .content .right ul li.twitter {
					background-position: 2px -46px;
				}
			
				#about .content .right ul li.blog {
					background-position: 2px -66px;
				}
				
				#about .content .right ul li.flickr {
					background-position: 2px -88px;
				}
				
				
		#contact_form {
			display: block;
			margin: 0 0 -40px 0;
			position: absolute;
			bottom: 7%;
			left: 507px;
			background-image: url('../img/about_contact_mole.png');
			background-position: bottom right;
			background-repeat: no-repeat;
			padding: 0 59px 128px 0;
		}
		
			#contact_form .inner {
				width: 335px;
				padding: 17px 19px 10px 19px;
				color: #3c2313;
				background-color: #784626;
			}
			
			#contact_form .h1 {
				position: relative;
				left: -5px;
				margin-bottom: -4px;
			}
			
			#contact_form .input,
			#contact_form textarea {
				color: #3c2313;
				background-color: #c49a6d;
				border: none;
				width: 317px;
				padding: 8px 9px;
				font-size: 14px;
				line-height: 18px;
				display: block;
				margin-top: 3px;
			}
			
			#contact_form label {
				display: block;
				margin: 13px 0 9px 0;
			}
			
			#about .bottom em {
				display: block;
				padding: 0 0 45px 37px;
			}
			
	/* PORTFOLIO */
	#portfolio {
		color: #bfd8e7;
		background-color: #71b3cf;
		background-image: url('../img/portfolio_bg.png');
		background-position: bottom left;
		background-repeat: repeat-x;
	}
		
		#portfolio a {
			color: #60bce5;
			background-color: inherit;
			text-decoration: none;
		}
				
		#portfolio .top {
			height: 100%;
			background-image: url('../img/portfolio_top_bg.png');
			background-position: bottom left;
		}
		
		#portfolio .bottom {
			height: 213px;
			background-image: url('../img/portfolio_bottom_bg.png');
		}
		
		#portfolio .content {
			margin-top: -120px;
			overflow: visible;
			padding: 0;
			width: 100%;
		}
		
			#portfolio .content img.h1 {
				float: left;
				margin-left: 36px;
			}
			
			#portfolio .content .portfolio,
			#content-slider {
				margin: -32px 75px 0 219px;
				position: relative;
				overflow: hidden;
			}
			
				 #content-slider {
					top: -48px;
					height: 15px;
					background-image: url('../img/slider_bg.png');
					background-repeat: repeat-x;
					background-position: 0 7px;
					overflow: visible;
				}
				
					#content-slider .ui-slider-handle {
						position: absolute;
						top: 0;
						left: 0;
						width: 67px;
						height: 15px;
						background-image: url('../img/slider.png');
						background-position: center center;
						background-repeat: no-repeat;
					}
			
				/* JS resizes width acording to number of childs */
				#portfolio .content .portfolio ul {
					list-style: none;
					margin: 0;
					padding: 0;
					overflow: hidden;
					width: 1500px;
				}
				
					#portfolio .content .portfolio ul li {
						margin: 0;
						padding: 0;
						width: 180px;
						float: left;
					}
					
						#portfolio .content .portfolio ul li > img {
							display: block;
						}
						
						#portfolio .content .portfolio ul li p {
							padding: 0;
							margin:  32px 15px 0 15px;
							line-height: 18px;
						}

/* MISC */
body, input, textarea {
	font-family: 'Trebuchet MS', Trebuchet, 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

input, textarea {
	font-size: 14px;
}

a img {
	border: none;
}

#about .error {
	color: white;
	background-color: inherit;
}

.clear {
	width: auto;
	height: 0;
	overflow: hidden;
	line-height: 1px;
	float: none;
	clear: both;
}
