/* HERO */

#hero {
	height: 540px;
}

#hero-inner {
	height: 520px;
	background: #000 url(../images/content-background.png) top left repeat-x;
}

/* GALLERY */

#gallery {
	height: 400px;
	width: 900px;
	margin-bottom: 4px;
	position: relative;
}

#gallery .wrap {
	width: 900px;
	height: 400px;
	overflow: auto;
	white-space:nowrap;
}

#gallery ul.images {
	padding: 0 0 0 177px;
}

#gallery ul.images li {
	display: inline;
	margin-right: 5px;
	width: 581px;
	height: 380px;
}

#gallery ul.images li.last {
	margin-right: 177px;
}

#gallery ul.nav li a {
	overflow: hidden;
	display: block;
	width: 100%;
	height: 100%;
	position: absolute;
	display: block;
	top: 143px;
	height: 79px;
	text-indent: -10000px;
	background-image: url(../images/gallery/gallery-nav.png);
}

#gallery ul.nav li.previous a {
	left: 0px;
	width: 29px;
	background-position: 0 0;
}

#gallery ul.nav li.next a {
	right: 0px;
	width: 29px;
	background-position: -29px 0;
}

#gallery ul.nav li.previous a:hover {
	background-position: 0 -79px;
}

#gallery ul.nav li.next a:hover {
	background-position: -29px -79px;
}

#overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 900px;
	height: 380px;
	background: url(../images/gallery/overlay-gradient.png) no-repeat;
}

#thumbs {
	position: relative;
	margin: 0 auto;
	width: 882px;
	height: 129px;
	background: url(../images/gallery/thumbs-bg.png) no-repeat;
}

#thumbs h2 {
	position: relative;
	text-indent: 0;
	top: 0;
	left: 0;
	padding-top: 14px;
	text-transform: uppercase;
	font-size: 1.8em;
	color: #000;
	text-align: center;
}

#thumbs ul.nav li {
	position: absolute;
	display: block;
	top: 42px;
	height: 65px;
	text-indent: -10000px;
	background-image: url(../images/gallery/arrows.png);
}

#thumbs ul.nav li.previous {
	left: 2px;
	width: 36px;
	background-position: 0 0;
}

#thumbs ul.nav li.next {
	right: 2px;
	width: 32px;
	background-position: -36px 0;
}

#thumbs ul.nav li a {
	overflow: hidden;
	display: block;
	width: 100%;
	height: 100%;
}

#thumbs .wrap {
	position: absolute;
	top: 32px;
	left: 63px;
	width: 756px;
	height: 104px;
	overflow: auto;
	white-space:nowrap;
}

#thumbs ul.images li {
	width: 84px;
	height: 84px;
	display: inline;
}

#thumbs ul.images li a {
	width: 80px;
	height: 80px;
}

#thumbs ul.images li img {
	border: 0;
	background-image: url(../images/gallery/thumb-frame.png);
	background-repeat: no-repeat;
	background-position: 0 0;
	padding: 2px;
}

#thumbs ul.images li.on img {
	background-position: 0 -84px;
}

/* CONTENT */

#content .section-inner {
	position: relative;
	padding: 25px 0 50px 0;
	overflow: hidden;
}

#content h2 {
	background: url(../images/gallery/title-more-galleries.png) no-repeat;
	width: 404px;
	height: 41px;
	position: relative;
	top: 0;
	left: 0;
	margin: 15px 0 15px 40px;
}

#content ul {
	margin-left: 20px;
}

#content li {
	position: relative;
	display: block;
	float: left;
	background: url(../images/gallery/gallery-box-bg.png) no-repeat;
	width: 139px;
	height: 107px;
	margin-right: 15px;
	margin-bottom: 15px;
	padding: 50px 10px 0 125px;
}

#content li h3 {
	color: #fff;
	margin-bottom: 2px;
	font-size: 1.2em;
	line-height: 1.4em;
}

#content li p {
	color: #aaa;
	font-size: 1.1em;
	line-height: 1.4em;
}

#content li p.link {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

#content li p.link a {
	display: block;
	width: 274px;
	height: 157px;
	text-indent: -10000px;
	overflow: hidden;
}

#content li div.image {
	position: absolute;
	top: 40px;
	left: 2px;
	width: 110px;
	height: 110px;
	padding: 2px;
	background: url(../images/gallery/gallery-box-frame.png) no-repeat;
	overflow: hidden;
}

#content li img {
	position: absolute;
	top: 0;
	clip: rect(2px, 110px, 110px, -2px);
	left: 2px;
}

.gallery .gallery-num {
	position: absolute;
	top: 8px;
	right: 13px;
	width: 44px;
	height: 20px;
	background-image: url(../images/gallery/gallery-numbers.png);
	background-repeat: no-repeat;
}

.gallery .num-2 {
	background-position: 0 -20px;
}

.gallery .num-3 {
	background-position: 0 -40px;
	height: 21px;
}

.gallery .num-4 {
	background-position: 0 -61px;
}

.gallery .num-5 {
	background-position: 0 -81px;
	height: 21px;
}

.gallery .num-6 {
	background-position: 0 -102px;
	height: 21px;
}

.gallery .num-7 {
	background-position: 0 -123px;
}

.gallery .num-8 {
	background-position: 0 -143px;
	height: 21px;
}

.gallery .num-9 {
	background-position: 0 -164px;
}

.gallery .num-10 {
	background-position: 0 -184px;
	height: 21px;
}

.gallery .num-11 {
	background-position: 0 -205px;
}

.gallery .num-12 {
	background-position: 0 -225px;
}

.gallery .num-13 {
	background-position: 0 -245px;
	height: 21px;
}

.gallery .num-14 {
	background-position: 0 -266px;
	height: 21px;
}

.gallery .num-15 {
	background-position: 0 -287px;
	height: 21px;
}

.gallery .num-16 {
	background-position: 0 -308px;
	height: 21px;
}

.gallery .num-17 {
	background-position: 0 -329px;
	height: 21px;
}

.gallery .num-18 {
	background-position: 0 -350px;
	height: 21px;
}

.gallery .num-19 {
	background-position: 0 -371px;
	height: 21px;
}

.gallery .num-20 {
	background-position: 0 -392px;
	height: 21px;
}

.gallery .num-21 {
	background-position: 0 -413px;
	height: 21px;
}

.gallery .num-22 {
	background-position: 0 -434px;
	height: 21px;
}

.gallery .num-23 {
	background-position: 0 -455px;
	height: 21px;
}

.gallery .num-24 {
	background-position: 0 -476px;
	height: 21px;
}

.gallery .num-25 {
	background-position: 0 -497px;
	height: 21px;
}