* {
	margin: 0; padding: 0;
}

#footer:after, #about-me:after{
	display:block; visibility:hidden; clear:both; line-height:0; font-size:0; content:".";
}

body{
	
	background: #53565b url(../img/background.jpg) no-repeat center center fixed;
	color: #fff;
	font-family: Tahoma, helvetica, sans-serif;
	font-size: 0.7em;
}

a{
	color: #fff;
}


img{
	border: none;
}

h1{
	width: 800px;
	height: 48px;
	background:  url(../img/header.png);
	text-indent: -9000px;
	overflow: hidden;
	margin: 0px auto 0px auto;


}


#header{
		background: url(../img/header-background.png) repeat-x bottom left;
		padding-bottom: 25px;
		margin-bottom: 25px;
		padding-top: 30px;
	}
	
	

#content{
	width: 970px;
	margin: 0 auto;
}
#contact-info{
	width: 210px;
	float:left;
	
}



#references-list{
	width: 720px;
float:right;
}

.reference{
	width: 728px;
	background: url(../img/reference-background.png) no-repeat;
	height: 268px;
	display: block;
	clear:both;
	margin-bottom: 30px;
	position: relative;	
	padding: 1px;
}

.reference img{
	position:absolute;
	bottom: 0;
	right: 0;
}

.reference h2{
	position:absolute;
	left: 0;
	bottom: 0px;	
	width: 42px;
	height: 200px;
	text-indent: -9000px;
	z-index: 2;
	overflow: hidden;
}

#aventio h2, #aventio-logo h2{
	background: url(../img/aventio-header.png);
}

#studentagency h2{
	background: url(../img/studentagency-header.png) bottom;
	border-right: 1px solid #ffec8a;
}

#modely-aut h2{
	background: url(../img/modely-header.png) bottom;
}
#krusell h2{
	background: url(../img/krusell-header.png) bottom;
}

#defender h2{
	background: url(../img/defender-header.png) bottom;
}

#mihalicek h2{
	background: url(../img/mihalicek-header.png) bottom;
}

#omnia h2{
	background: url(../img/omnia-header.png) bottom;
}
ul{
	list-style-type: none;
}

.reference ul.work li{
		float:left;
		width: 134px;
		height: 60px;
		position: relative;
		text-indent: -9000px;
		margin-left: 10px;
		margin-top: 3px;
}
.reference ul.work li.web{
		background: url(../img/web-tag.png);
}
.reference ul.work li.corporate-identity{
		width: 173px;
		background: url(../img/corporate-identity-tag.png);
}
.reference ul.work li.logo{
		width: 116px;
		background: url(../img/logo-tag.png);
		margin-left: 15px;
}
.reference ul.work li.print{
		width: 153px;
		background: url(../img/print-tag.png);
		margin-left: 15px;
}
.reference .detail{
	width: 86px;
	height: 36px;
	background: url(../img/detail.png);
	text-indent: -9000px;
	position:absolute;
	right: 20px;
	top: 15px;
	overflow:hidden;
}

.reference .detail:hover{
	background-position: 0 -36px;
}

#footer{
	background: url(../img/footer-border.png) repeat-x top left;
	clear:both;
	padding-top: 2px;
	
}

#about-me{
	width: 720px;
	margin: 0 auto;
	padding-left: 250px;
		line-height: 180%;


}
#about-me #text{
	padding-top: 40px;
	float:left;
	width:720px;
	min-height: 250px;	
	font-size: 1.1em;
}

#about-me #text h2{
	width: 73px;
	height: 19px;
	text-indent: -9000px;
	background: url(../img/about-me.png) no-repeat top left;
	overflow: hidden;
	display: block;
	margin-bottom: 20px;
}

#about-me #text p{
	margin-bottom: 1em;
}
#contact{
	float:left;
	padding: 20px;
	background: url(../img/info-box-background.png) no-repeat top left;
	width: 191px;
	height: 165px;
	color: #000;
	font-weight: bold;
	font-size: 1.1em;
	line-height: 220%;
	margin-top: -2px;
}
#contact a{

	color: #000;

}
#info{
	float:left;
	clear:both;
	display: none;
}

#contact h2{
	width: 168px;
	height: 28px;
	background: url(../img/contact-me.png) no-repeat;
	text-indent: -9000px;
	display: block;
	margin-bottom: 15px;
	overflow: hidden;
	margin-left: -5px;
}

#contact #phone{
	text-indent: -9000px;
	background: url(../img/phone.png) no-repeat;
	width: 85px;
	height: 13px;
	overflow: hidden;
	display: block;
	margin-bottom: 15px;
}


#contact #mail a{
	text-indent: -9000px;
	background: url(../img/mail.png) no-repeat;
	width: 125px;
	height: 15px;
	overflow: hidden;
	display: block;
	margin-bottom: 15px;
	cursor:pointer;
	
}

#contact #personal{
	text-indent: -9000px;
	background: url(../img/personal.png) no-repeat;
	width: 76px;
	height: 15px;
	overflow: hidden;
	display: block;
	margin-bottom: 15px;
}
