/*
contains the styles for the slideshow jQuery plugin (the one with the fancy prev/next buttons)
*/

/* contains the backgrounds, shader and content */
.cn-slideshow {
	position: fixed;
	width: 980px;
	height: 520px;
	left: 50%;
	top: 50%;
	/* move up/left by half of the total size */
	margin: -260px 0px 0px -490px;
	border-top: 5px solid white;
	z-index: 1001;
}

.cn-slideshow .close, #map_overlay .close {
	background: url('../images/closebtn.png');
	position: absolute;
	right: 0px;
	top: -45px;
	width: 40px;
	height: 40px;
	cursor: pointer;
}

.cn-slideshow .close:hover, #map_overlay .close:hover {
	background: url('../images/closebtn.png') 40px 0px;
}


/* makes the images darker so the content on top of it is visible */
.about_overlay_content_shader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: black;
	opacity: .85;
	z-index: -1;
}

.about_overlay_content {
	width: 880px; /* 980px - 2 * 50px margin on both sides */
	height: 480px; /* 520px - 2 * 20px margin on both sides */
	padding: 20px 50px 20px 50px;
}

/* contains the backgrounds and content */
.cn-images {
	width: 100%;
	height: 100%;
	overflow: hidden;
	position: relative;
	z-index: -2;
}

/* aligns the background images for showing later*/
.cn-images > img {
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
}

.cn-bar {
    background: transparent url(../images/aboutslider/bar.png) repeat top left;
	height: 74px;
	position: absolute;
	bottom: 0px;
	right: 50px;
	left: 50px;
	z-index: 999;
	font-family: 'Tahoma', serif;
}

.cn-nav-content {
	position: absolute;
	top: 0px;
	height: 100%;
	right: 70px;
	left: 70px;
}

.cn-nav-content .cn-nav-content-prev, .cn-nav-content .cn-nav-content-next {
	float: left;
	width: 180px;
	margin-top: 30px;
}

.cn-nav-content div.cn-nav-content-current {
	float: left;
	text-align: center;
	width: 280px;
	position: absolute;
	top: 0px;
	left: 50%;
	margin-left: -140px;
}

.cn-nav-content h2,.cn-nav-content h3 {
	padding: 0;
	margin: 0;
	line-height: 24px;
}

.cn-nav-content h2 {
	font-size: 18px;
}

.cn-nav-content div.cn-nav-content-prev {
	margin-left: 20px;
}

.cn-nav-content div.cn-nav-content-next {
	text-align: right;
	margin-right: 20px;
	float: right;
}

.cn-nav-content div span {
	display: block;
	padding-top: 18px;
	font-weight: bold;
}

.cn-nav>a {
	position: absolute;
	top: 0px;
	height: 70px;
	width: 70px;
}

a.cn-nav-prev {
	left: 0px;
}

a.cn-nav-next {
	right: 0px;
}

/*
 * All the rest is about the animated round buttons
 */
.cn-nav a span {
	width: 46px;
	height: 46px;
	display: block;
	text-indent: -9000px;
	-moz-border-radius: 23px;
	-webkit-border-radius: 23px;
	border-radius: 23px;
	cursor: pointer;
	opacity: 0.9;
	position: absolute;
	top: 50%;
	left: 50%;
	d: 17px 25px;
	margin: -23px 0 0 -23px;
	-webkit-transition: all 0.4s ease;
	-moz-transition: all 0.4s ease;
	-o-transition: all 0.4s ease;
	-ms-transition: all 0.4s ease;
	transition: all 0.4s ease;
}

.cn-nav a.cn-nav-prev span {
	background: white url('../images/slideshow_btn_prev.png') no-repeat center center;
}

.cn-nav a.cn-nav-next span {
	background: white url('../images/slideshow_btn_next.png') no-repeat center center;
}

.cn-nav a div {
	width: 0px;
	height: 0px;
	position: absolute;
	top: 50%;
	left: 50%;
	overflow: hidden;
	background-size: 100% 100%;
	background-position: center center;
	background-repeat: no-repeat;
	margin: 0px;
	-moz-border-radius: 0px;
	-webkit-border-radius: 0px;
	border-radius: 0px;
	-webkit-transition: all 0.2s ease-out;
	-moz-transition: all 0.2s ease-out;
	-o-transition: all 0.2s ease-out;
	-ms-transition: all 0.2s ease-out;
	transition: all 0.2s ease-out;
}

.cn-nav a:hover span {
	width: 100px;
	height: 100px;
	-moz-border-radius: 50px;
	-webkit-border-radius: 50px;
	border-radius: 50px;
	opacity: 0.6;
	margin: -50px 0 0 -50px;
	background-color: white;
}

.cn-nav a:hover div {
	width: 90px;
	height: 90px;
	background-size: 120% 120%;
	margin: -45px 0 0 -45px;
	-moz-border-radius: 45px;
	-webkit-border-radius: 45px;
	border-radius: 45px;
}

/*
 * Colors
 */

.cn-nav-content {
	color: white;
	font-size: 8pt;
}
 
.cn-nav-content h3, .cn-nav-content h2 {
	font-family: 'Prata', serif;
	font-size: 12pt;
	font-weight: normal;
	margin-top: .4em;
}

.cn-nav-content-prev, .cn-nav-content-next {
	opacity: .4;
	font-weight: bold;
}

.cn-nav-content-current span {
	color: rgb(4, 222, 184);
}