/* browser reset */
* { padding: 0px; margin: 0px; border: 0px; text-decoration: none; }
ul, ol { list-style-type: none; }
:focus { outline: 0; }

/* ------------------------------------- */
/* OVERWRITES -------------------------- */
/* ------------------------------------- */

.ui-body-c,
.ui-overlay-c {
	border: 0px;
	font-size: 15px;
	line-height: 18px;
	color: #000;
	text-shadow: none;
	background: #fff;
	background-image: none;
	-webkit-text-size-adjust: none;
}

.ui-body-c,
.ui-body-c input,
.ui-body-c select,
.ui-body-c textarea,
.ui-body-c button {
	font-family: "Courier New", Courier, monospace;
}

.ui-body-c .ui-link-inherit,
.ui-body-c .ui-link,
.ui-body-c .ui-link:visited,
.ui-body-c .ui-link:active {
	color: #000;
	font-weight: normal;
}

.ui-body-c .ui-link:hover {
	color: #0000c8;
	font-weight: normal;
}

/* ------------------------------------- */
/* END OVERWRITES ---------------------- */
/* ------------------------------------- */

/* MENUE ------------------------------- */

.menu {
	padding-top: 9px;
}

.menu a {
	height: 18px;
	display: block;
	position: relative;
}

.menu .title {
	position: absolute;
	top: 0px;
	right: 63px;
	bottom: 0px;
	left: 0px;
	z-index: 2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.menu .inner {
	padding: 0px 9px;
	background: #fff;
}

.menu .child-count {
	position: absolute;
	top: 0px;
	right: 0px;
	z-index: 3;
	padding: 0px 9px;
	background: #fff;
}

.menu .arrows {
	position: absolute;
	top: 0px;
	right: 63px;
	bottom: 0px;
	left: 0px;
	z-index: 1;
	overflow: hidden;
}

/* THUMBNAILS -------------------------- */

#header {
	display: block;
	padding: 0px 9px;
}

#thumbnails {
	display: block;
	padding: 16px 0px 7px 9px;
}

#thumbnails li {
	height: 67px;
	padding: 0px 8px 9px 0px;
	float: left;
	display: inline;
}

#thumbnails li .outer {
	height: 67px;
	display: table;
}

#thumbnails li img {
	display: block;
}

#thumbnails li .ui-link {
	display: table-cell;
	vertical-align: middle;
}

/* GALLERY ----------------------------- */

#gallery {
	position: fixed;
	top: 0px;
	right: 0px;
	bottom: 0px;
	left: 0px;
	z-index: 5;
	background: #fff;
	display: none;
}

#gallery .imageContainer {
	position: absolute;
	top: 81px;
	right: 81px;
	bottom: 81px;
	left: 81px;
	z-index: 4;
	overflow: hidden;
}

#gallery .imageContainer .inner {
	position: relative;
	width: 100%;
	height: 100%;
}

#gallery .imageContainer .inner div {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	display: none;
}

#gallery .imageContainer .inner div img {
	position: absolute;
	left: 0px;
	top: 0px;
}

#gallery .controls {
	height: 18px;
	margin-top: -9px;
	position: absolute;
	top: 50%;
	left: 0px;
	right: 0px;
	z-index: 5;
}

#gallery .controls a {
	height: 18px;
	display: inline-block;
	position: absolute;
	top: 0px;
	display: none;
}

#gallery .controls a.active {
	display: block;
}

#gallery .controls a:hover {
	color: #000;
	cursor: default;
}

#gallery .controls a.active:hover {
	color: #0000c8;
	cursor: pointer;
}

#gallery .controls .prev {
	left: 9px;
}

#gallery .controls .next {
	right: 9px;
}

#gallery .image-title {
	padding: 9px;
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
}

@media screen and (max-width: 700px) {
	
	#gallery .imageContainer {
		right: 27px;
		left: 27px;
	}
	
	#gallery .controls .count {
		display: none;
	}
	
}

@media screen and (max-width: 480px) {
		
	#gallery .image-title {
		font-size: 12px;
		line-height: 14px;
	}
	
}

.touch .ui-body-c .ui-link:hover {
	color: #000;
}

.ui-mobile-viewport {
	-webkit-tap-highlight-color: rgba(0,0,200,1);
}

/* CONTENTS ---------------------------- */

#contents {
	padding: 0px 9px;
}

#contents p {
	padding-bottom: 18px;
}

#contents a {
	text-decoration: underline;
}

/* LOADER ------------------------------ */

.ui-loader-default {
	width: 70px;
	height: 18px;
	margin-left: -35px;
	margin-top: -9px;
	filter: Alpha(Opacity=100);
	opacity: 1;
	display: none !important;
}

.ui-loader .ui-icon {
	background-color: transparent;
	width: 70px;
	height: 18px;
	padding: 0px;
	-webkit-border-radius: 0px;
	-moz-border-radius: 0px;
	border-radius: 0px;
}

.ui-icon-loading {
	background: url(media/ajax-loader.gif);
	background-size: 70px 18px;
}

/* ------------------------------------- */
/* CLEANER ----------------------------- */
/* ------------------------------------- */

.cleaner {
	clear: both;
	height: 1px;
	font-size: 0px;
	line-height: 0px;
	border: 0px none;
	margin: 0px; 
	padding: 0px;
	margin-bottom: -1px;
	background: transparent;
}

.clearfix:after {
	content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;
}

.clearfix { display:inline-block; }

/* Hide from IE Mac \*/
.clearfix { display:block; }
/* End hide from IE Mac */