@charset "utf-8";

.gallery {
	padding: 0;
	background: #fff;
	margin: 0 auto;
	text-align: center;
	}

.gallery span {
	position: relative;
	top: 0;
	left: 0;
	padding: 0;
	padding-bottom: 9px;
	margin: 5px 10px;
	background: url('./gfx/image_shade_center.png') bottom repeat-x;
	font-size: 0;
	display: inline-block;
	}
	
.gallery span del,
.gallery span a {
	position: absolute;
	top: 50%;
	height: 81px;
	width: 22px;
	margin-top: -40.5px;
	display: inline-block;
	}

.gallery span del {
	visibility: hidden;
	}

.gallery span a {
	background: #ddd url('./gfx/slide_right.png') center no-repeat;
	}

.gallery span a.next {
	right: -30px;
	}

.gallery span a.prev {
	left: -30px;
	background-image: url('./gfx/slide_left.png');
	}
	
.gallery span a:hover {
	background-color: #f70;
	}

.gallery span:before {
	content: url("./gfx/image_shade_left.png");
	position: absolute;
	bottom: -1px;	/* necessary for opera */
	left: 0;
	display: block;
	}

.gallery span:after {
	content: url("./gfx/image_shade_right.png");
	position: absolute;
	bottom: -1px;	/* necessary for opera */
	right: 0;
	}

.gallery span img {
	padding: 5px;
	padding-top: 0;
	background: url('./gfx/image_back.png') top repeat-x;
	border-top: 5px solid #f0f0f0;
	}

.gallery p {
	color: #aaa;
	font-size: 12px;
	margin: 0;
	}

.gallery .control {
	height: 32px;
	width: auto;
	background: url('./gfx/control_back.png') bottom right no-repeat;
	margin: -1em 30px 15px 0;
	}

.gallery .control a {
	height: 32px;
	width: 38px;
	padding: 0;
	background: #507 url('./gfx/tab_all.png') center bottom no-repeat;
	border: none !important;
	display: block;
	float: right;
	}

.gallery .control a.one {
	background-image: url('./gfx/tab_one.png');
	}

.gallery .control a:hover {
	background-color: #f70;
	}

.gallery .control.one .one {
	background-image: url('./gfx/tab_one_active.png');
	}
	
.gallery .control.all .all {
	background-image: url('./gfx/tab_all_active.png');
	}

p#previous,
p#next {
	position: fixed;
	top: 50%;
	z-index: 100;
	width: auto;
	height: 118px;
	padding: 0;
	background: url('./gfx/nav_back.png') center repeat-x;
	margin-top: -59px;
	}

p#previous {
	left: 0;
	}
	
p#next {
	right: 0;
	}
	
p#previous a,
p#next a {
	position: relative;
	top: 0;
	left: 0;
	height: 84px;
	padding: 17px 10px;
	display: block;
	}

p#previous a:focus,
p#next a:focus {
	background-color: transparent !important;
	}

p#previous a {
	padding-right: 50px;
	background: url('./gfx/nav_left.png') center right no-repeat;
	margin-right: -40px;
	float: right;
	}
	
p#next a {
	padding-left: 50px;
	background: url('./gfx/nav_right.png') center left no-repeat;
	margin-left: -40px;
	float: left;
	}

p#previous a > *,
p#next a > * {
	display: block;
	}
	
.noscript p#previous a > *,
.noscript p#next a > * {
	display: none;
	}
	
p#previous a:hover > *,
p#next a:hover > * {
	display: block;
	}
	
p#previous a > * {
	float: right;
	text-align: right;
	}
	
p#next a > * {
	float: left;
	text-align: left;
	}

p#previous img {
	margin-right: -10px;
	}

p#next img {
	margin-left: -10px;
	}

p#previous span,
p#next span {
	margin-top: 10px;
	}
	
p#previous dfn,
p#previous var,
p#next dfn,
p#next var {
	font-size: 12px;
	font-style: normal;
	}
	
p#previous var,
p#next var {
	margin-top: 5px;
	display: block;
	color: #777 !important;
	}
