/* Fix IE's terrible interpolation for image resizing */
img {
	-ms-interpolation-mode: bicubic;
}

body {
	font-family: "Source Sans Pro", "Helvetica Neue", Helvetica, sans-serif;
}

/* ==================== */
/* ! Gallery Info Bar   */
/* ==================== */

#modalBody {
	background: #fff;
}

#galleryinfo {
	background: #fff;
	color: #444;
	overflow: auto;
	padding: 10px;
	position: fixed;
	right: 0;
	top: 0;
	bottom: 0;
	width: 240px;
	z-index: 1200;
}

#galleryinfo dd {
	margin-top: 10px;
}

#galleryinfo .setpreview {
	display: block;
	height: 250px;
	margin: 10px auto;
	width: 200px;
}

#galleryextras {
	text-align: center;
}

#galleryextras .btn {
	display: block;
	margin: 0 auto 10px;
	width: 200px;
}

#galleryextras .btn a {
	color: #000;
}

/* ================ */
/* ! Image Viewer   */
/* ================ */

#loadScreen {
	background: #3c3c3c url(/usite/3/images/pattern.png);
	color: #ddd;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	line-height: 500px;
	text-align: center;
	text-shadow: 0 -1px 0 rgba(0,0,0,0.8);
	z-index: 1999;
}

#loadScreen .inner {
	height: 150px;
	margin-top: -75px;
	position: absolute;
	top: 50%;
	left: 0;
	width: 100%;
}

.hide {
	display: none;
}

html,body {
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
}

body {
	background: #fff;
	color: #ddd;
}

#container {
	height: 100%;
	width: 100%;
}

#galleryholder,
#videoholder {
	display: none;
	background: #000;
	overflow: hidden;
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
}

#videoholder {
	display: block;
}

a.viewall {
	border: 1px solid #a7cfdf;
	border-radius: 10px;
	color: #fff;
	display: block;
	font-size: 14px;
	font-weight: bold;
	margin-left: -75px;
	padding: 5px 15px;
	position: absolute;
	left: 50%;
	top: 8px;
	text-align: center;
	text-decoration: none;
	text-shadow: -1px -1px 0px #000;
	filter: dropshadow(color=#000000, offx=-1, offy=-1);
	width: 150px;
	z-index: 999;
	-webkit-box-shadow: 0px 0px 8px 0px #23538a;
	-moz-box-shadow: 0px 0px 8px 0px #23538a;
	box-shadow: 0px 0px 8px 0px #23538a;
	background: #a7cfdf; /* Old browsers */
	background: -moz-linear-gradient(top,  #a7cfdf 0%, #23538a 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a7cfdf), color-stop(100%,#23538a)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* IE10+ */
	background: linear-gradient(top,  #a7cfdf 0%,#23538a 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a7cfdf', endColorstr='#23538a',GradientType=0 ); /* IE6-9 */
}

a.viewall:hover {
	background: #23538a;
}

#thumbarea {
	background: #111;
	height: 90px;
	text-align: center;
	overflow: hidden;
	position: absolute;
	left: 0;
	bottom: 0;
	right: 0;
	z-index: 199;
	zoom: 1;
}

#thumbholder {
	height: 80px;
	overflow: hidden;
	position: absolute;
	left: 140px;
	bottom: 5px;
	right: 0;
	zoom: 1;
}

#fullthumbs {
	background: #000;
	display: none;
	overflow: auto;
	padding-top: 45px;
	position: absolute;
	text-align: center;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 999;
}

#fullthumbs a {
	background: #000;
	border: 1px solid #000;
	border-radius: 5px;
	padding: 5px;
}

#fullthumbs li a {
	display: inline-block;
	height: 145px;
	width: 155px;
}

#fullthumbs a:hover {
	border-color: #fff;
}

#fullthumbs a.active {
	background: #fff;
	border: 1px solid #fff;
}

#fullthumbs a#hidethumbs {
	background: #222;
	color: #ccc;
	display: block;
	font-size: 12px;
	padding: 10px 0;
	position: fixed;
	top: 5px;
	left: 20px;
	right: 20px;
	text-align: center;
	text-decoration: none;
	z-index: 10;
}

#fullthumbs a#hidethumbs:hover {
	background: #000;
	color: #fff;
	text-decoration: underline;
}

#thumbholder ul {
	display: table;
	white-space: nowrap;
}

#thumbholder li {
	display: table-cell;
	padding: 0 5px;
}

#thumbholder ul li a {
	background: #000;
	display: inline-block;
	border: 1px solid #000;
	height: 75px;
	padding: 5px;
	width: 75px;
}

#thumbholder ul li a img {
	height: auto;
	max-width: 100%;
}

#thumbholder ul li a.active {
	border-color: #fff;
	background: #fff;
}

#thumbholder ul li a:hover {
	border-color: #bbb;
}

#showimg {
	background: #3c3c3c url(/usite/3/images/pattern.png);
	position: absolute;
	top: 0;
	left: 0;
	bottom: 90px;
	right: 230px;
	overflow: hidden;
	text-align: center;
}

#showimg .imgholder {
	width: 1px;
	height: 1px;
	position: relative;
}

#showimg img {
	border: 1px solid #000;
	position: absolute;
	-webkit-box-shadow:  0px 0px 20px 10px rgba(0, 0, 0, 0.3);
	box-shadow:  0px 0px 20px 10px rgba(0, 0, 0, 0.3);
}

.imgdesc {
	position: absolute;
	padding: 12px 0;
	background: #000;
	color: #eee;
	width: 100%;
}

.imgdesc p {
	margin: 0;
	padding: 0 10px;
}

#imgLoader {
	background: #3c3c3c url(/usite/3/images/pattern.png);
	position: absolute;
	top: 0;
	bottom: 90px;
	left: 0;
	right: 0;
	z-index: 99;
}

#imgLoader img {
	height: 64px;
	position: absolute;
	left: 50%;
	top: 50%;
	margin: -32px 0 0 -32px;
	width: 64px;
}

#hiddenImgHolder {
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute;
	left: -5px;
	top: -5px;
}

#functionstrip {
	padding: 4px 0;
	background: #222;
}

#functionstrip button {
	font-weight: normal;
	font-size: 12px !important;
	text-decoration: none;
	padding: 4px 15px;
	border: 1px solid #bbb;
	-moz-border-radius: 12px;
	-khtml-border-radius: 12px;	
	-webkit-border-radius: 12px;
	border-radius: 12px;
	-moz-box-sizing: content-box;
	-webkit-box-sizing: content-box;
	-khtml-box-sizing: content-box;
	box-sizing: content-box;
	color: #444;
	background: url(/usite/3/images/bg_buttongrad.png) 0px -12px repeat-x;
	margin-right: 10px;
}

#functionstrip button:hover {
	color: #000;
	background: #fff;
	cursor: pointer;
}

#functionstrip .navarrows {
	width: 55px;
	height: 25px;
	overflow: hidden;
	float: left;
	line-height: 300px;
	background: url(/usite/3/images/galleryarrows.png) left bottom no-repeat;
	margin: 3px 0 0 5px;
}

#functionstrip .navarrows a {
	display: block;
	width: 27px;
	float: left;
}

#functionstrip .navarrows a#prev {
	background: url(/usite/3/images/galleryarrows.png) left top no-repeat;
}

#functionstrip .navarrows a#next {
	background: url(/usite/3/images/galleryarrows.png) right top no-repeat;
}

#functionstrip .navarrows a#prev:hover {
	background-position: 0px -25px;
}

#functionstrip .navarrows a#next:hover {
	background-position: -28px -25px;
}

#functionstrip .slideshow {
	float: right;
}

#functionstrip label {
	margin-right: 10px;
}

#functionstrip input {
	width: 25px;
}

#galleryactions {
	float: left;
	padding: 15px 0 0 0;
	text-align: center;
	width: 140px;
}

#galleryactions a#slidecontrol,
#galleryactions a#prev,
#galleryactions a#next {
	display: inline-block;
	width: 16px;
	height: 16px;
	line-height: 400px;
	overflow: hidden;
	padding: 0 3px;
	background: url(/usite/3/images/gallerybuttons.png) 0 -96px no-repeat;
}

#galleryactions a#slidecontrol.paused {
	background-position: 0 -64px;
}

#galleryactions a#slidecontrol.paused:hover {
	background-position: 0 -80px;
}

#galleryactions a#slidecontrol.playing {
	background-position: 0 -96px;
}

#galleryactions a#slidecontrol.playing:hover {
	background-position: 0 -112px;
}

#galleryactions a#prev {
	background-position: 0 -32px;
}

#galleryactions a#prev:hover {
	background-position: 0 -48px;
}

#galleryactions a#next {
	background-position: 0 0px;
}

#galleryactions a#next:hover {
	background-position: 0 -16px;
}

#galleryactions a:hover {
	-webkit-transition: none;
	-moz-transition: none;
	-o-transition: none;
	transition: none;
}


/* ================= */
/* ! Debug Styling   */
/* ================= */

#debugbox {
	background: #a40000;
	color: #fff;
	height: 300px;
	overflow: auto;
	padding: 10px;
	position: absolute;
	top: 20px;
	left: 20%;
	right: 20%;
	text-align: center;
	z-index: 999;
}