/**
 *  custom css for finalfinal.de
 */

/*** GENERAL ***/

h1,h2,h3,h4,h5,h6{
	font-family: 'Roboto Condensed', 'Geneva', 'Verdana', sans-serif;
	font-weight: 300;
	letter-spacing: normal;
	text-transform: uppercase;
}

p, table, article{
	font-family: 'Arial', sans-serif;
	font-weight: 400;
	color: #ffffff;
}

a:active, a:focus, a:visited, a:link{
	outline: 0;
	text-decoration: none;
}

.content-wrapper{
	margin: 0 auto;
    max-width: 980px;
}

/***HEADER***/

header{
	position: relative;
	padding: 1.5em 0;
}

header figure{
	float: left;
	position: relative;
	display: inline-block;
}

header img{
	position: absolute;
	right: -60px;
	top: 35px;
}

header h1{
	color: #333333;
	font-size: 3em;
	font-weight: 300;
	letter-spacing: 0.1em;
	margin: 0;
	padding: 0;
}
header h2{
	color: #333333;
	font-size: 1em;
	font-weight: 400;
	letter-spacing: 0.1em;
	margin: -0.5em 0 0 0;
	padding: 0;
	text-transform: none;
}

.header-content{
	width: 100%;
	display: inline-block;
}

/***HEADER END***/

/***MENU***/

/*** main menu **/
.menu{
	font-family: 'Roboto Condensed', 'Geneva', 'Verdana', sans-serif;
	font-weight: 300; 
	font-size: 1.5em;
	float: right;
	width: 60%;
}

.menu ul{
	padding:0;
	text-align: right;
}

.menu li{
	display: inline-block;
	color: #1a1a1a;
	padding: 0.15em 0;
	margin-right: 4em;
	background-color: #ffffff;
}	

.menu li:last-child{
	margin-right: 0;
}

.menu a:active, 
.menu a:visited, 
.menu a:link{
	color: #1a1a1a;
	text-decoration: none;
}

.menu a:hover{
	border-bottom-color: #00ccff;
	border-bottom: 0.15em solid #00ccff;
}
	
/*** submenu ***/
.sub-menu{
	width: 100%;
	position: fixed;
	bottom: 0px;
	text-align: center;
}

.sub-menu ul{
	/*display: inline-block;*/ /*for exact width of ul*/
	padding: 0 0.5em;
	margin: 0;
	background: #ffffff;
	opacity: 0.9;
}	

.sub-menu li{
	display: inline-block;
	font-size: 3em;
	padding: 0 0.2em;
	margin: 0;
	line-height: 0.9em;
}	

.sub-menu a{
	color: #cccccc;
}

.disabled{
	opacity: 0.5;	
	pointer-events: none;
}	

.sub-menu a:hover{
	color: #00ccff;
}	
	
.sub-menu a#overview:hover{
	color: #ff0066;
}	

/*fixing icon position*/
.sub-menu i[class=icon-th]{
	font-size: 0.9em;
}

/*** MENU END ***/	
	
/*** CONTENT SECTIONS ***/

/** SECTION FULL BG IMAGE**/
.section-fullimage{
	background-repeat: no-repeat;
	background-color: black;
	background-position: 80% 60%;
	background-size: cover;
	height:70%;
}

.section-fullimage h1, 
.section-fullimage p{
	color: #ffffff;
}

.section-fullimage h1{
	font-size: 3em;
}

.section-fullimage p{
	font-size: 1.3em;
	line-height: 1.3em;
}

.section-fullimage article{
	width: 55%;
	padding-top: 50%;
	padding-bottom: 10%;
}

/* text links */
#contact a{
	color: #ffffff;
	background-color: #00CCFF;
}

#contact a:hover{
	background-color: transparent;
	text-decoration: underline;
}

/** SECTION REFERENCES**/

/* section head */
.section-references h1{
	font-size: 3em;
	text-align: center;	
	margin-top: 2em;
}

/* section bottom */
.section-references{
	margin-bottom: 6em;
}

/* project teaser head */
.section-references h4{
	display: block;
	float:left;
	width: 100%;
	color: #00ccff;
	font-weight: 400;
	font-size: 1.2em;
	line-height: 1em;
	margin-bottom: 0.5em;
}
/* project teaser text */
.section-references p{
	display: block;
	float:left;
	width: 100%;
	color: #666666;
	margin-bottom: 1.5em;
}

/* column layout */
.columns{
	-webkit-columns: auto 3;
	-moz-columns: auto 3;
	columns: auto 3;
	-webkit-column-gap: 10px;
	-moz-column-gap: 10px;
	column-gap: 10px;
	text-align: center;
	
	/*
	margin-bottom: 0;
	*/

	/*
	-webkit-column-break-inside: avoid;
	-moz-column-break-inside: avoid;
	column-break-inside: avoid;
	page-break-inside:avoid
	*/
}

/* project teaser */
.columns .l-box{
	text-align: left;
	display: inline-block;

	max-width: 300px;
	border-radius: 4px;
	border-width: 1px 3px 3px 1px;
	border-color: #ebebeb #dddddd #dddddd #ebebeb;
	border-style: solid;
	background-color: #fefefe;
	
	padding: 10px;
	margin-bottom: 10px;
}

.l-box > *{
	margin: 0;
	padding: 0;
}

.columns img{
	width: 100%;
	margin: 0;
	
	-webkit-filter: grayscale(100%); 
	-moz-filter: grayscale(100%);
	-ms-filter: grayscale(100%); 
	-o-filter: grayscale(100%);
	filter: url(filters.svg#desaturate);
	filter: grayscale(100%);
	
	/*
    -webkit-transition: -webkit-filter .3s ease; 
    -moz-transition: -ms-filter .3s ease; 
    -ms-transition: filter .3s ease; 
    transition: filter .3s ease;
    */
}


.columns img:hover{
	filter: url(filters.svg#saturate);
    -webkit-filter: grayscale(0);
    filter: grayscale(0%);
}

.clear{
	clear: both;
}

.thumb{
	display: block;
	float:left;
	width: 100%;
	line-height: 0;
	margin-bottom: 1em;
	/*firefox workarround blurry images*/
	/*-webkit-transform: translateZ(0);
	-ms-transform: translateZ(0);*/
	transform: translateZ(0);
}

/* alternative view if filter not available */
.thumb-cover{
	visibility: hidden;
	
	position: absolute;
	top:0;
	left:0;
	height:100%;
	width: 100%;
	background-color: #000000;
	opacity: 0.2;
	
	-moz-transition: opacity .2s ease-in-out;	
	-webkit-transition: opacity .2s ease-in-out;
  	-o-transition: opacity .2s ease-in-out;
 	transition: opacity .2s ease-in-out;
}

.thumb-cover:hover{
	opacity: 0;
}
/*** project teaser end ***/

/*** BUTTON MORE ***/

a.btn-more{
	font-family: 'Roboto Condensed', 'Geneva', 'Verdana', sans-serif;
	font-weight: 400;
	font-size: 1em;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	color: #ffffff;
	background-color: #ff0066;
	border-radius: 4px;
	padding: 0.4em 0.8em;
}

.btn-more{
	display: inline-block;
	margin-bottom: 1em;
	border-width: 0px 3px 3px 0px;
	border-color: #c80050;
	border-style: solid;
	background-color: #ff0066;
}

.btn-more .icon-chevron-sign-right{
	padding-left: 10px;
	font-size: 1em;
}

.btn-more:hover{
	background-color: #00ccff;
	border-color: #0199d9;
}

/*** PROJECT PROJECT DETAIL ***/
.section-projectdetail .detail{
	margin: 2em 0 4em 0;
}

.section-projectdetail h1{
	font-size: 2.5em;
	margin-bottom: 0.5em;
	color: #333333;
}

.section-projectdetail h2{
	font-size: 1.5em;
	margin: 0;
	color: #00ccff;
}

.section-projectdetail p{
	font-size: 1.3em;
	color: #666666;
	margin-top: 0.2em;
}
 
.section-projectdetail ul{
	list-style-type: none;
	margin-top: 0.2em;
	padding: 0;
}

.section-projectdetail li{
	font-size: 1.2em;
	color: #666666;
}

.section-projectdetail li i{
	color: #ff0066;
}

.section-projectdetail .bg{
	/*box-shadow: 1px 1px 2px #cccccc;*/
	text-align: center;
	border-bottom: 1px solid #ff0066;
	padding: 0 0 2em 0;
	line-height: 0;
	max-width: 100%
}

.section-projectdetail img{
	max-width: inherit;
	margin-bottom: 1em;
}

.section-projectdetail .grid-left{
	padding-right: 15%;
}

.section-projectdetail .bg p{
	font-size: 0.2em;
}

/***CONTENT END***/	

/** FOOTER **/
	
footer{
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 300;
	font-size: 0.8em;
	text-align: right;
	background-color: #ff0066;
	padding: 0;
}

footer p{
	margin: 0;
	padding: 2em 1em 6em 1em;
}

/**
 * 	layout
 */

.l-spacing{
	padding-left: 1em;
	padding-right: 1em;
}

/*** CUSTOM WIDTHS **/
@media screen and (max-width: 900px)
{
	body{
		font-size: 80%;
	}
	
	#batch{
		width:100px;
		right: -60px;
		top: 28px;
	}
	.columns{
		-webkit-column-width: 320px;
		-moz-column-width: 320px;
		column-width: 320px;
	}
}

@media screen and (max-width: 720px)
{
	.menu li{
		margin-right: 2em;
	}
	
}

@media screen and (max-width: 630px)
{
	header{
		text-align: center;
	}
	
	header figure{
		float: none;
	}
	
	.menu{
		width: 100%;
	}
	
	.menu ul{
		text-align: center;
	}
	
	.menu li{
		margin-right: 5%;
	}
	
	#batch{
		width: 50px;
		right: -30px;
	}
	
	.columns .l-box{
		width: 280px;
	}
}
