* {
	margin: 0;
	padding: 0;
}
html {
	width: 100%;
	height: 100%;
	overflow-x: hidden;
}
body {
	background: url(img/bkg.jpg) repeat-x 0 0;
	font-family: Arial, sans-serif;
	font-size: 12.5px;
	background-color: #c5c5c1;
}
a {
	text-decoration: none;
	color: black;
}
a:hover {
	color: blue;
}
/*#p {
	position: absolute;
	width: 1024;
	height: 768px;
	left: 50%;
	margin-left: -512px;
	background: url(img/portfolio.jpg);
	
}*/
#top {
	position: absolute;
	width: 1024px;
	height: 419px;
	left: 50%;
	margin-left: -512px;
	background-image: url(img/top.jpg);
}
#top #text {
	position: relative;
	top: 192px;
	left: 245px;
	color: #ebebeb;
}
#top #text p:first-child {
	font-family: RBNo2 Light;
	font-size: 29.17px;
	letter-spacing: 4px;
}
#top #text p:first-child span {
	font-family: Ruthie;
	font-size: 58.33px;
	margin-right: 4.75px;
	letter-spacing: 3.2px;
}
#top #text p:nth-child(2) {
	font-family: RBNo2 Light;
	font-size: 25px;
	margin-left: 48px;
	margin-top: 2px;
	letter-spacing: 3px;
}
#top #text p:nth-child(3){
	margin-left: 48px;
	margin-top: 9px;
}
#top img {
	margin-top: 11px;
	margin-left: 47px;
}
#top p:last-child {
	margin-top: -19px;
	margin-left: 67px;
}
#top a {
	color: #ebebeb;
	text-decoration: underline;
}
#top a:hover {
	color: #F5DA81;
}
#bottom {
	position: absolute;
	width: 1024px;
	height: 350px;
	left: 50%;
	margin-left: -512px;
	margin-top: 419px;
}
#bottom div {
	float: left;
	width: 220px;
	height: 290px;
}
#bottom p {
	font-size: 16.67px;
}
#bottom p:first-child {
	font-family: RBNo2 Light;
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 2.49px;
	margin-top: 34px;
	margin-left: 39px;
}
#bottom div:first-child img {
	margin-top: 92px;
	margin-left: 17px;
	width: 37px;
	height: 40px;
	background: url(img/arrowsprite.png) 0 0;
	cursor: pointer;
}
#bottom div:first-child img:hover {
	background: url(img/arrowsprite.png) -37px 0;
}
#bottom div:nth-child(2){
	width: 380px;
}
#bottom div:nth-child(2) img{
	margin-top: 47px;
	margin-left: 13px;
	display: none;
}
#bottom div:nth-child(2) img.currentImage {
	display: block;
}
#bottom div:nth-child(3){
	width: 349px;
	margin-left: 11px;
}
#bottom div:nth-child(3) div {
	width: 320px;
	margin-left: 11px;
	display: none;
}
#bottom div:nth-child(3) div.currentText{
	display: block;
}
#bottom div:nth-child(3) h2 {
	font-size: 21px;
	margin-top: 45px;
	letter-spacing: 1.0px;
}
#bottom div:nth-child(3) ul {
	list-style: none;
	margin-top: 19px;
}
#bottom div:nth-child(3) li {
	font-size: 16.67px;
	display: inline;
	font-weight: bold;
	border-right: 2px solid #000;
	padding: 0 5px;
	letter-spacing: 1px;
}
#bottom div:nth-child(3) li:first-child {
	padding-left: 0;
}
#bottom div:nth-child(3) li:last-child {
	border-right: none;
}
#bottom div p:last-child {
	margin-top: 20px;
	width: 309px;
}
#bottom div:nth-child(4){
	width: 64px;
}
#bottom div:nth-child(4) img {
	margin-top: 152px;
	margin-left: 10px;
	width: 37px;
	height: 40px;
	background: url(img/arrowsprite.png) -74px 0;
	cursor: pointer;
}
#bottom div:nth-child(4) img:hover {
	background: url(img/arrowsprite.png) -111px 0;
}
#bottom div:nth-child(5){
	width: 1024px;
	height: 59px;
}
#bottom div:nth-child(5) div {
	position: absolute;
	width: 184px;
	height: 59px;
	left: 50%;
	margin-left: -92px;
}
#bottom div:nth-child(5) div img {
	margin: 15px 20px 0 0;
	width: 31px;
	height: 31px;
	background: url(img/pagesprite.png) -30px 0;
	cursor: pointer;
}
#bottom div:nth-child(5) div img.currentPage {
	background: url(img/pagesprite.png) 0 0;
}
#bottom div:nth-child(5) div img:last-child {
	margin-right: 0;
}
#bottom div:nth-child(5) div img:hover {
	background: url(img/pagesprite.png) 0 0;
}

@media (max-width: 1024px){
	html {
		overflow-x: auto;
	}

}





