@import '../../content/css/modul_12.css';

/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */
/* HEADER */
/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ */

.main-logo {
	float: left;
	width: 174px;
	height: 26px;
	padding: 20px 0;
}

.main-logo-center {
    width: 50%;
    margin: 0 auto;
    padding: 0 0 30px;
}

.form-menu {
	width: 24%;
	padding: 14px 0;
}

.form-menu input {
	width: 60%;
}

.form-menu button {
	width: 40%;
}

.form-menu .auto-complete-list {
	top: 52px;
}

@media only screen and (max-width: 64.063em) { 

	.form-menu {
		width: 80%;
		padding: 6px 0;
	}
	
	.margin-b-66.header-con {
		margin: 0 !important;
	}	

}

.header-con {
	position: relative;
}

.header-con.bg {
	height: 240px;
	background: url('../images/slide_1.jpg') center center;
}

.header-con.bg .headshot {
	width: 155px;
	height: auto;
}

.header.wrapper {
	position: absolute;
	z-index: 30;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 0;
	height: 100%;
	margin: 0 auto;
}

.header.bg {
	width: 100%;
	height: 160px;
	background-image: url('../images/slide_1.jpg');
	background-position: bottom center;
	background-size: cover;
}

/* main menu */

.main-menu {
	width: 100%;
	background: rgba(0, 0, 0, 0.6);
}

.main-menu.overlay {
	position: absolute;
	z-index: 999;
}

#nav {
	position: absolute;
	z-index: 999;
	font-family: 'museo_sans100';
}

.main-menu.centered {

}

.main-menu.centered .wrapper {

}

.main-menu.centered #nav {

}


#nav li a {
	color: #fff;
}

#nav > a {
	display: none;
}

#nav li {
	position: relative;
}
	
#nav li a {
	display: block;
}

#nav li a span {
	padding: 0 10px 0 0;
}

#nav span:after {
	width: 0;
	height: 0;
	border-bottom: none;
	content: '';
	vertical-align: middle;
	display: inline-block;
	position: relative;
	right: -0.5em;
	border: 0.313em solid transparent;
	border-top-color: #fff;
	font-size: 14px;
}

/* first level */

#nav > ul { }

#nav > ul > li {
	float: left;
}

#nav > ul > li > a {
	font-size: 16px;
	padding: 25px 8px;
}
	
#nav > ul > li:not(:last-child) > a { }

#nav > ul > li:hover > a, #nav > ul:not( :hover ) > li.active > a { }

/* second level */

#nav li ul {
	display: none;
	position: absolute;
	top: 90%;
	background: rgba(0, 0, 0, .7);
	min-width: 150px;
}

#nav li ul:before {
	width: 0;
	height: 0;
	position: absolute;
	top: -5px;
	right: 10px;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-bottom: 5px solid rgba(0, 0, 0, .7);
}

#nav li:hover ul {
	display: block;
	right: 0;
}

#nav li:not( :first-child ):hover ul {}

#nav li ul a {
	font-size: 1em; 
	padding: 0.75em; 
}

#nav li ul li a:hover, #nav li ul:not(:hover) li.active a {
	background: rgba(0, 0, 0, .5);
}

/* slider, titles, headshots and search */

.headshot {
	position: absolute;
	z-index: 999;
	bottom: 0;
	width: 33%;
	height: auto;
}

.tile-box-header {
	width: 56%;
	padding: 0 5%;
	position: absolute;
	top: 25%;
}

.tile-box-header h1 {
	font-size: 37px;
	float: left;
	font-family: 'museo_sans100';
	color: #fff;
	padding: 0 0 10px;
}

.tile-box-header h2 {
	font-size: 18px;
	color: #fff;
	float: left;
	margin: 0 0 30px;
	font-family: 'museo_sans100';
}

.tiles {
	width: 100%;
	float: left;
}

.tiles .tile {
	width: 31%;
	float: left;
	margin: 0 2% 0 0;
}

.tiles .tile:hover {
	-moz-transform: scale(1.1,1.1);
	-webkit-transform: scale(1.1,1.1);
	-o-transform: scale(1.1,1.1);
	-ms-transform: scale(1.1,1.1);
	transform: scale(1.1,1.1);
	-webkit-transition: all 100ms ease-in;
	-moz-transition: all 100ms ease-in;
	-o-transition: all 100ms ease-in;
	-ms-transition: all 100ms ease-in;
	transition: all 100ms ease-in;
}

.search-box-header {
	width: 50%;
	padding: 0 5%;
	position: absolute;
	top: 40%;
}

.search-box-header.logo {
	left: 50%;
	margin: 0 0 0 -25%;
}

.search-box-header h1 {
	font-size: 40px;
	color: #fff;
	float: left;
	width: 100%;
	margin: 0 0 4px;
	text-shadow: 2px 2px 2px #000;
	font-family: 'museo_sans100';
}

.search-box-header h2 {
	font-size: 18px;
	color: #6aacb8;
	float: left;
	width: 100%;
	margin: 0 0 30px;
	text-shadow: 1px 1px 1px #000;
	font-family: 'museo_sans100';
}

.search-box-header .form {
	width: 100%;
}

.search-box-header .form input {
	width: 70%;
}

.search-box-header .form button {
	width: 18%;
}

.search-box-header.logo .form button {
	width: 30%;
}


/* mediaqueries */

@media only screen and (max-width: 120.063em) {
	.tile-box-header h1 {
		margin: 0 140px -4px 0;
	}
}

@media only screen and (max-width: 64.063em) {

	.main-logo {
		padding: 12px 0;
	}

	.tile-box-header h1 {
		font-size: 19px;
		margin: 0;
	}

	.tile-box-header h2 {
		font-size: 14px;
	}

	.tile-box-header {
		top: 30%;
	}

	.main-menu {
		padding: 20px 0;
	}

	.main-menu.overlay {
		position: static;
	}

	#nav {
		position: absolute;
		top: auto;
		right: 0;
		width: 300px;
		float: right;
	}

	#nav > a > .fa {
		padding: 12px;
	}

	#nav > a {
		right: 0;
		position: absolute;
		width: 50px;
		height: 50px;
		color: #fff;
		background: #191a1a;
	}

	#nav > a:after {
		top: 60%;
	}

	#nav:not( :target ) > a:first-of-type, #nav:target > a:last-of-type {
		display: block;
	}

	/* first level */

	#nav > ul {
		height: auto;
		display: none;
		position: absolute;
		left: 0;
		right: 0;
		top: 50px;
		background: #191a1a;
	}

	#nav:target > ul {
		display: block;
	}

	#nav > ul > li {
		margin: 0;
		width: 270px;
		padding: 15px 15px 0 15px;
	}

	#nav > ul > li > ul > li {
		width: 250px;
	}

	#nav > ul > li > a {
		height: auto;
		padding: 0;
		color: #ccc;
		border-bottom: 1px solid #232424;
	}

	#nav li ul a {
		width: 99%;
	}

	#nav > ul > li:last-child > a {
		padding: 0 0 15px;
	}

	#nav > ul > li:not(:last-child) > a {
		border-right: none;
		padding: 0 0 15px;
	}

	/* second level */

	#nav li ul {
		position: static;
		padding: 0;
		width: 270px;
		background: transparent;
	}

	#nav li ul:before {
		border-left: none;
		border-right: none;
		border-bottom: none;
	}

	.header.wrapper {
		height: 90%;
	}

	.search-box-header {
		top: 34%;
	}

	.search-box-header .form button {
		width: 30%;
	}
	
	.search-box-header h1 {
		font-size: 24px;
		margin: 5% 0 0;
	}

}

@media only screen and (max-width: 40.063em) {

	.search-box-header .form {
		margin: 5% 0 0;
	}

	.search-box-header h2, .search-box-header h1 {
		display: none;		
	}

	.tile-box-header h1, .tile-box-header h2 {
		display: none;
	}

	.tile-box-header {
		top: 48%;
	}

}