






/************************************************/
/************************************************/
/*

ALL MOUSE-OVERS (:HOVER) have been moved to our media 
query (BOTTOM PAGE) so they won't fire on iPads

*/
/************************************************/
/************************************************/





html{
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0.0);
}



/****** THE NEW GALLERY ******/


.carouselGallery{
	position: absolute;
	top: 0px;
	left: 0px;
	overflow:hidden;
	margin:0px;
	padding:0px;
	
}


#carouselContainer .halfsizeText{
	float:left;
	width:30%;
	margin-left: 80px;

}

.isPreloading{
	background:url(../img/preloader.gif) no-repeat center center;
}

#carouselContainer .halfsizeImage{
	float:left;
	width:50%;
	text-align:right;
}

#carouselContainer img{
	pointer-events: none;
}

#carouselContainer p{
	text-align:left;
	float:left;
	height: 100%;
	overflow:scroll;
}

.carouselGallery li{
	float:left;
	
}

#commentsContainer{
	position:absolute;
	top:0px;
	left:0px;
	overflow:hidden;
}

#comments{
	position:absolute;
	z-index:100;	
	margin:0px;
	padding: 0px;
}

#comments .photo_text{
	
}
#comments li{
	float:left;
	width:100%;
}






body,
html {
	margin:0;
	padding:0;
	color: #333;
	font-family: 'TitilliumText14L600wt', Verdana, Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	height: 100%;
	background-color: #FBFBFB;
}

.clearo {
	clear: both;
}

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

.clearfix {
	display: inline-block;
}

html[xmlns] .clearfix {
	display: block;
}

* html .clearfix {
	height: 1%;
}

h1 {
	font-size: 16px;
	padding: 0;
	margin: 0;
}

.header_subtitle{
	float: left;
	font-size: 12px;
	padding-top: 16px;
	color: #191919;
}

#detailInfo h3 {
	width: 338px;
	font-family: TitilliumText22LRegular, Arial, Helvetica, sans-serif;
	font-size: 18px;
	color: #333333;
	border-top: 1px solid #CCC;
	padding-top: 20px;
	margin-top: 0;
}

#detailInfo h4 {
	
	font-family: TitilliumText22LRegular, Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #333333;
}

a {
	
}

p {
	margin: 0;
	padding: 0 0 12px 0;
}
#site_container {
	position: relative;
	height: 100%;
	padding: 80px 0 0 0;
}

#sizer {
	position: relative;
	height: 100%;
}

/* --- header und footer -----------------------------------------------------*/

#header {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100px;
}

	#header #title {
		padding: 0 15px;
		float: left;
	}
	#header #title img {
		float: left;
		vertical-align: top;
		margin: 7px 5px 0px 5px;
	}
		#header #title h1,
		#header #title .h1 {
			color: #2E2E2E;
			font-size: 15px;
			float: left;
			padding-top: 16px;
		}
	#header #title h1 a,
		#header #title .h1 a {
			text-decoration:none;
			color: #2E2E2E;
		}
		
	#header #mainmenu {
		padding: 16px 0 0 0;
		float: right;
		width: 360px;
		text-align: right;

	}
	
		#header #mainmenu div {
			padding-right: 20px;
			text-align: right;
			float: right;
		}
		
		#header #mainmenu div ul {
			padding: 0;
			margin: 0;
			list-style: none;
		}
		
		#header #mainmenu div ul .first {
			border-right: 1px solid #CCC;
		}
		
			#header #mainmenu div ul li {
				float: left;
			}
		
				#header #mainmenu div ul li a {
					color: #1A1A1A;
					text-decoration: none;
					padding-right: 10px;
					display: block;
					padding: 0px 8px;
				}
				
					#header #mainmenu div ul li a:hover {
						text-decoration: underline;
					}
				nav li a.active  {
					background-color: #888;
					color: #FFF;
					border-radius: 45px;
					-moz-border-radius: 45px;
					-webkit-border-radius: 45px;
				}
			
	
					
/* --- content ---------------------------------------------------------------*/

#pagecontent {
	padding-top: 30px;
	max-width: 100%;
	margin: 0 auto;
	padding-left: 30px;
	border-left: 1px solid #ccc;
	margin-bottom: 30px;
	padding-right: 15px;
}

/* --- projects/books lists --------------------------------------------------*/

.titleTopHolder{
	height: 100px;
	position:relative;
}

.titleTopBottomPosition{
	position:absolute;
	bottom:0px;
	background-image:url(../img/projectlist_divider.jpg);
	background-repeat:no-repeat;
	background-position:bottom left;
}

.titleBottomHolder{
	position:relative;
	background-image:url(../img/projectlist_divider.jpg);
	background-repeat:no-repeat;
	background-position:top left;
}

#projectdetail_container{
   float: right;
   right: 50%;
   position: relative;

}

#projectdetail_container .projectdetailblock {
   float: right;
   right: -50%;
   
   position: relative;
}

#projectListMask{
	/*float:left;*/
	overflow:hidden;
	position:relative;
	height: 268px;	
}

#projectListContent{
	position:absolute;
}

#thumbNextImageProjectList{
	position:absolute;
	right: 0px;
	width:48px;
	height: 268px;

	top: 0;
}

#thumbNextImageProjectList a{
	display:block;
	width: 48px;
	height: 308px;
	background-image:url(../img/image_pagination_next_idle.gif);
	background-repeat:no-repeat;
	background-position: center center;
}



#thumbPrevImageProjectList{
	float:left;
	width:48px;
}

#thumbPrevImageProjectList a{
	display:block;
	width: 48px;
	height: 308px;
	background-image:url(../img/image_pagination_previous_idle.gif);
	background-repeat:no-repeat;
	background-position: center center;
}


/* THUMBNAIL HOVERS */
.thumbDiv{
	width:100%;
	height: 102px;
	position:relative;
}

#projectlist a .hoverDiv{
	display: none;
	position:absolute;
	top: 0;
	left: 0;
	background-image:url(../img/image_border_left.png);
	background-repeat:no-repeat;
	width: 100%;
	height: 100%;
	z-index:2;
}



.projectListImage{
	height: 102px;
}

.hoverDiv span{
	position:absolute;
	display:block;
	width:100%;
	height: 100%;
	background-image:url(../img/image_border_right.png);
	background-repeat: no-repeat;
	background-position: right;
	z-index:1;
	margin-left: 2px;
}


#detailInfo{
	float:left;
	width: 338px;
	min-height: 300px;
}
#detailInfoContent{
	width: 300px;
	height: 244px;	
	overflow:auto;
	-webkit-overflow-scrolling: touch;
}

#detailInfoContent .viewport { width: 310px; height: 244px; overflow: scroll; position: relative; }
#detailInfoContent .viewportdisable  { width: 310px; height:200px; position: relative; }
#detailInfoContent .overview { list-style: none; position: absolute; left: 0; top: 0; padding: 0; margin: 0; }
#detailInfoContent .scrollbar{ background: transparent url(../img/bg-scrollbar-track-y.png) no-repeat 0 0; position: relative; background-position: 0 0; float: right; width: 8px; }
#detailInfoContent .track { background: #E7E7E7 url(../img/bg-scrollbar-trackend-y.png) no-repeat 0 100%; height: 100%; width:7px; float:right; position: relative; padding: 0 1px; }
#detailInfoContent .thumb { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 0% 100%; height: 30px; width: 8px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: 0px; }
#detailInfoContent .thumb .end { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 0% 0; overflow: hidden; height: 5px; width: 8px; }
#detailInfoContent .disable { display: none; height:auto; }




#detailInfoImage{
	float: left;
	padding-left: 19px;
}



<!-- PHOTO COMMENT ------------------------>
.photo_text { width: 340px; margin: 0px 0px 0px 0px; }
.photo_text .viewport { width: 310px; height: 100px; overflow: hidden; position: relative; }
.photo_text .viewportdisable  { width: 310px; height:200px; position: relative; }
.photo_text .overview { list-style: none; position: absolute; left: 0; top: 0; padding: 0; margin: 0; }
.photo_text .scrollbar{ background: transparent url(../img/bg-scrollbar-track-y.png) no-repeat 0 0; height: 100px; position: relative; background-position: 0 0; float: right; width: 20px; }
.photo_text .track { background: #E7E7E7 url(../img/bg-scrollbar-trackend-y.png) no-repeat 0 100%; height: 100%; width:8px; position: relative; padding: 0 1px; }
.photo_text .thumb { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 0% 100%; height: 30px; width: 8px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: 0px; }
.photo_text .thumb .end { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 0% 0; overflow: hidden; height: 5px; width: 8px; }
.photo_text .disable { display: none; height:auto; }






#projectlist_container {

}

	#projectlist {
		overflow: hidden;
		position:absolute;
		left: 0px;
		top: 400px;
		width: 100%;
		overflow:hidden;
	}
	
		#projectlist a{
			text-decoration:none;		
		}
		#projectlist a .title {
			display: block;
			/*font-weight: bold;*/
			font-size: 12px;
			line-height: 12px;
			padding-bottom: 5px;
			margin-left: 10px;
			margin-right: 10px;
			text-decoration: none;
			color: #191919;
		}
		
		#projectlist .titleBottomHolder a .title {
			clear: both;
			display: block;
			/*font-weight: bold;*/
			font-size: 12px;
			line-height: 12px;
			padding-bottom: 5px;
			padding-top: 10px;
			margin-left: 10px;
			margin-right: 10px;
			text-decoration: none;
			color: #191919;
		}
		
		
		
		#projectlist ul {
			margin: 0;
			padding: 0;
			list-style: none;
		}
			#projectlist ul li {
				float: left;
			}
				#projectlist ul li img {
					border: 0;
				}

			
/* --- projects detail / book details ----------------------------------------*/

#paginator {
	position: fixed;
	height: 48px;
	width: 100%;
	bottom: 0; /* 70 when thumbs is visible */
	left: 0;
}
#centerpageinfo{
	width: 650px;
	margin:0px auto;
}
#paginator #projectinfo {
	float: left;
	width:220px;
	margin-top: 5px;
}

#paginator #projectinfo a{
	text-decoration: none;
	color: #666;
}



a.projectinfobutton{
	text-decoration:none;
	color: #666;
}

a.projectinfobutton{
	text-decoration:none;
	color: #333;
}

#paginator #pages {
	float:left;
	width:220px;
	text-align:center;
}

#paginator #pages .centercontent {
	width:220px;
	margin:0px auto;
}

#paginator #pages a {
	float: left;
}

#paginator #pagecounter {
	float:left;
	margin-top: 5px;
	width: 90px;
}
#paginator #showthumbsholder{
	float:left;
	width:200px;
	margin-top: 5px;
	text-align:right;
}



#paginator #pagecounter #currentpage{
	
}

#paginator #pagecounter #totalImages{
	font-size:10px;
	color: #666666;
}

#paginator #pagecounter #pagecounterDivider{
	font-size: 10px;
	color: #666666;
	margin: 0 5px 0 5px;
}

#paginator #pages #previous_photo{
	display:block;
	width:60px;
	height: 28px;
	background-image:url(../img/image_pagination_previous_idle.gif);
	background-position:center right;
	background-repeat:no-repeat;	
}


#paginator #pages #next_photo{
	float:left;
	display:block;
	width:60px;
	height: 28px;
	background-image:url(../img/image_pagination_next_idle.gif);
	background-position:center left;
	background-repeat:no-repeat;	
}



#paginator #showthumbs {
	
}

a#showthumbs {
	padding-left: 10px;
	width: 80px;
	background-image:url(../img/icon-thumbnail.png);
	background-position: left;
	background-repeat:no-repeat;
	/*font-family: TitilliumText22LBold, Arial, Helvetica, sans-serif;*/
	font-size: 12px;
	line-height: 10px;
	color: #666;
	text-decoration: none;
	}
	



#thumbs {
	position: fixed;
	height: 104px;
	width: 100%;
	bottom: -70;
	left: 0;
	overflow:hidden;
	/*display: none;*/
}

#thumbs a {
	
	float: left;
	display: block;
}

#thumbs .active .hoverDiv{
	position:absolute;
	background-image:url(../img/image_border_left.png);
	background-repeat:no-repeat;
	width: 100%;
	height: 100%;
	z-index:2;
	display:block;
}


#thumbs a .hoverDiv{
	display: none;
	position:absolute;
	top: 0;
	left: 0;
	background-image:url(../img/image_border_left.png);
	background-repeat:no-repeat;
	width: 100%;
	height: 100%;
	z-index:2;
}





#thumbHolder{
	position:absolute; 
	left: 48px;
	width: 10px;
	float:left;
	overflow:hidden;
	display:block;
}
#thumbList{
	position:relative;
	height: 70px;
	left: 0px;
	top: 0px;
	width:600px;
}
#thumbList a img {
	border: 0;
}
#thumbList ul {
    
}

#thumbNextImage{
	position:absolute;
	right: 0px;
	width:48px;
	height: 70px;
}
#thumbNextImage a{
	display:block;
	width: 48px;
	height: 70px;
	background-image:url(../img/image_pagination_next_idle.gif);
	background-repeat:no-repeat;
	background-position: center center;
}




#thumbPrevImage{
	float:left;
	width:48px;
}

#thumbPrevImage a{
	display:block;
	width: 48px;
	height: 70px;
	background-image:url(../img/image_pagination_previous_idle.gif);
	background-repeat:no-repeat;
	background-position: center center;
}



.thumbImage{
	position:relative;
	width:100%;
	border: 1px solid #ff9900;
}
.thumbImage img{
	position:absolute;
	z-index:1;
}

.thumbImageOverlayLeft{
	position:absolute;
	background-image:url(../img/image_border_left.png);
	width: 100%;
	height: 68px;
	z-index:3;
}



#photo_container {
	display: none;
	height: 100%;
	text-align: center;
	min-height: 200px;
	min-width: 200px;
}



#startslideshow {
	font-family: TitilliumText22LRegular, Arial, Helvetica, sans-serif;
	font-size: 14px;
	color: #333333;
	padding: 5px 30px 5px 0;
	background-image: url(../img/start-slideshow.png);
	background-repeat: no-repeat;
	background-position: right;
	text-decoration: none;

}
	


#photo_comments {
	display: none;
}



#photo_container .photo_text {
	overflow-y: auto;
	width: 400px;
	padding-left: 10px;
	text-align: left;
	position:absolute;
	top:0px;
}

#photo_outer {
	float: right;
   right: 50%;
   position: relative;
}

#photo_inner {
   float: right;
   right: -50%;
   position: relative;
}

/* --- Tiny Scrollbar - Scrollbarbox ----------------------------------------*/

#scrollbar1 { width: 520px; margin: 20px 0 10px; }
#scrollbar1 .viewport { width: 500px; height: 200px; overflow: hidden; position: relative; }
#scrollbar1 .overview { list-style: none; position: absolute; left: 0; top: 0; padding: 0; margin: 0; }
#scrollbar1 .scrollbar{ background: transparent url(../img/bg-scrollbar-track-y.png) no-repeat 0 0; position: relative; background-position: 0 0; float: right; width: 15px; }
#scrollbar1 .track { background: transparent url(../img/bg-scrollbar-trackend-y.png) no-repeat 0 100%; height: 100%; width:13px; position: relative; padding: 0 1px; }
#scrollbar1 .thumb { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 50% 100%; height: 20px; width: 25px; cursor: pointer; overflow: hidden; position: absolute; top: 0; left: -5px; }
#scrollbar1 .thumb .end { background: transparent url(../img/bg-scrollbar-thumb-y.png) no-repeat 50% 0; overflow: hidden; height: 5px; width: 25px; }
#scrollbar1 .disable { display: none; }



.halfsizeText{
	width: 25% !important;
	padding-right: 20px;
	overflow-y: scroll;
    height: 80vh;
}

.halfsizeText p {
    height: auto !important;
overflow: auto !important;
}

.halfsizeImage{
width: 60% !important;
}

.halfsizeImage img{
    margin-top: 20px !important;
    height: auto !important;
    width: 50vw !important;
}



/* _____________________ ONLY ADD HOVERSTATES WHEN NOT ON IPAD ___________________________ */

@media (min-width: 1025px) {

	#thumbNextImageProjectList a:hover{
		display:block;
		width: 48px;
		height: 308px;
		background-image:url(../img/image_pagination_next_hover.gif);
		background-repeat:no-repeat;
		background-position: center center;
	}
	
	#thumbPrevImageProjectList a:hover{
		display:block;
		width: 48px;
		height: 308px;
		background-image:url(../img/image_pagination_previous_hover.gif);
		background-repeat:no-repeat;
		background-position: center center;
	}
	
	nav li a:hover {
		background-color: #D8D8D8;
		color: #2E2E2E;
		border-radius: 45px;
		-moz-border-radius: 45px;
		-webkit-border-radius: 45px;
	}
	
	#projectlist a:hover .hoverDiv{
	position:absolute;
	background-image:url(../img/image_border_left.png);
	background-repeat:no-repeat;
	width: 100%;
	height: 100%;
	z-index:2;
	display:block;
	}
	#paginator #projectinfo a:hover{
		text-decoration: none;
		color: #333;
	}
	
	#paginator #pages #previous_photo:hover{
		display:block;
		background-position:center right;
		width:60px;
		height: 28px;
		background-image:url(../img/image_pagination_previous_hover.jpg);	
	}
	#paginator #pages #next_photo:hover{
		display:block;
		width:60px;
		height: 28px;
		background-image:url(../img/image_pagination_next_hover.gif);	
	}
	a#showthumbs:hover {
		background-image:url(../img/icon-thumbnail-hide.png);
		background-position: left;
		background-repeat:no-repeat;
		color: #3A3A3F;
		}
		#thumbs a:hover .hoverDiv{
		position:absolute;
		background-image:url(../img/image_border_left.png);
		background-repeat:no-repeat;
		width: 100%;
		height: 100%;
		z-index:2;
		display:block;
	}
	
	#thumbNextImage a:hover{
		display:block;
		width: 48px;
		height: 70px;
		background-image:url(../img/image_pagination_next_hover.gif);
		background-repeat:no-repeat;
		background-position: center center;
	}
	#thumbPrevImage a:hover{
		display:block;
		width: 48px;
		height: 70px;
		background-image:url(../img/image_pagination_previous_hover.gif);
		background-repeat:no-repeat;
		background-position: center center;
	}
	#startslideshow:hover {
		background-image: url(../img/start-slideshow-hover.png);
		background-repeat: no-repeat;
		background-position: right;
		text-decoration: none;
		color: #666;
	}


}

@media (max-width: 1024px) {
	#detailInfo{
		padding: 0 19px; 
	}

	#detailInfoImage img{
		width: 100%;
		height: auto;
		padding-bottom: 20px;
	}

	#detailInfoImage {
		padding: 0 19px;
	}

	#detailInfoContent{
		max-width: 100%;
		width: auto;
	}

	#projectdetail_container{
		max-width: 100%;
	}

	.projectdetailblock{
		width: auto;
		max-width: 100%;
	}
}

@media (max-width: 964px) {

	#header #mainmenu {
		float: none;
		display: block;
		margin: 0 15px;
		text-align: left; 
	}

	#header #mainmenu nav {
		float: left;
		margin: 15px 0 0 0;
		clear: left;
	}

	nav li, #mainmenu li:first-child{
		padding-left: 0;
	}

	#header #mainmenu ul:first-child {
		padding-left: 0;
	}

	#header #mainmenu ul {
		padding-left: 0;
	}

	body {
		overflow-x: hidden;
	}

	#site_container{
		height: 100%;
	}

	#pagecontent{
		padding-right: 30px;
	}

	body, #detailInfoContent {
		overflow-y: scroll; /* has to be scroll, not auto */
  		-webkit-overflow-scrolling: touch;
	}


.halfsizeImage{
width: 100% !important;

}

.halfsizeImage img{
width: 100% !important;
    height: auto !important;
}





.halfsizeText{
    margin-left: 0 !important;
    margin-top: 10px  !important;
width: auto  !important;
}
}


@media (max-width: 390px) {
	#detailInfo{
		width: auto;
		max-width: 100%;
	}

	#pagecontent{
		max-width: 100%;
	}

	#pagecontent p{
		font-size: 16px !important;
		line-height: 23px !important;
	}

	#header #title h1, #header #title .h1{
		font-size: 19px;
	}

	h1{
		font-size: 20px;
	}

	nav li a, #mainmenu li a{
		font-size: 14px !important;
	}

	.header_subtitle{
		font-size: 16px;
	}

	#detailInfo h3{
		font-size: 22px;
		line-height: 30px;
		width: 100%;
	}

	body{
		font-size: 16px;
		line-height: 23px;
	}

	#startslideshow{
		font-size: 18px;
	}

	html{
		overflow-x: hidden;
    	max-width: 100%;
	}
}
