/*
Theme Name: 	GLOW for Wordpress
Description: 	Custom responsive wordpress theme for GLOW
Version: 		1.0
Author: 		Dimitri Wiss (Design) & Robert Baumgartner (Development)
Author URI: 	http://dimitriwiss.ch
Developer URI:  http://odoson.com
*/

/*
===========================
CONTENTS:

01 Sensible defaults
02 Typography
03 Media queries 
===========================
*/

/* ---------------------------------------------------------------------------------------------------------- 
01 Sensible defaults ----------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

@import "css/reset.css";
@import "css/webfonts/webfonts.css";

div,
article,
section,
header,
footer,
nav,
li					{ position:relative; /* For absolutely positioning elements within containers (add more to the list if need be) */ }
.group:after 		{ display:block; height:0; clear:both; content:"."; visibility:hidden; /* For clearing */ }
body 				{ background:#fff; /* Don't forget to style your body to avoid user overrides */ }
::-moz-selection 	{ background:rgb(91,97,101); color:#fff; }
::selection 		{ background:rgb(91,97,101); color:#fff; }

/* ---------------------------------------------------------------------------------------------------------- 
02 Typography -----------------------------------------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */
/*

14 / 16	= 		0.875em 		(14px equivalent)
16 / 16	= 		1em 			(16px equivalent)
18 / 16 = 		1.125em 		(18px equivalent)
21 / 16 = 		1.3125em 		(21px equivalent)
24 / 16 = 		1.5em 			(24px equivalent)
30 / 16 = 		1.875em 		(30px equivalent)

*/

body,
input,
textarea 			{ /* We strongly recommend you declare font-weight using numerical values, but check to see which weights you're exporting first */ }

h1, 
h2, 
h3, 
h4, 
h5, 
h6 					{ font-weight:bold; /* This helps to identify headings at the initial build stage, but you should write something more precise later on */ }

/* ---------------------------------------------------------------------------------------------------------- 
03 Media queries (using a mobile-first approach) ------------------------------------------------------------
---------------------------------------------------------------------------------------------------------- */

html, body {
	height: 100%;
}

body {
	background: #1F1F1F;
	height: 100%;
	font-family: 'CorporateSLight', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

	body#border-dark {
		background: #fff;
	}
	
	body#border-white {
		color: #fff;
	}

.border {
	border-left: 12px solid #fff;
	border-right: 12px solid #fff;
	min-height: 100%;
	border-bottom: 0px;
}

	.border.dark {
		border-color: rgb(91,97,101);
	}
	
.border-top {
	position: fixed;
	z-index: 10;
	height: 12px;
	width: 100%;
	top:0px;
	background: #fff;
}

	.border-top.dark {
		background: rgb(91,97,101);
	}

.navigation {
	height: 60px;
	width: 100%;
	background: #fff;
	position: fixed;
	z-index: 100;
	bottom: 0px;
}
	
	.navigation.dark {
		background: rgb(91,97,101);
	}
	
	.page-template-page-landing-php .navigation {
		height: 12px;
	}
	
	.page-template-page-landing-php .navigation ul.menu {
		display: none;
	}

	.navigation ul.menu {
		text-align: center;
		font-size: 0em;
		font-family: 'CorporateSMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
	}
	
		.navigation ul.menu li {
			display: inline-block;
			font-size: 18px;
		}
		
			.navigation ul.menu li a {
				display: block;
				padding: 3px 4px;
				margin: 19px 4px;
				text-decoration: none;
				color: #000;
				border-bottom: 1px solid #fff;
				padding-bottom: 30px;
				-webkit-transition: all 0.3s ease-in-out;
				-moz-transition: all 0.3s ease-in-out;
				-o-transition: all 0.3s ease-in-out;
				transition: all 0.3s ease-in-out;
			}
				
				.navigation.dark ul.menu li a {
					color: #fff;
					border-color: rgb(91,97,101);
				}
			
			.navigation ul.menu li:hover a {
				border-bottom: 1px solid #000;
				padding-bottom: 4px;
			}
			
				.navigation.dark ul.menu li:hover a {
					border-color: #fff;
				}
			
			.navigation ul.menu li.current-menu-item a {
				border-bottom: 1px solid #000 !important;
				padding-bottom: 4px;
			}
			
				.navigation.dark ul.menu li.current-menu-item a {
					border-bottom: 1px solid #fff !important;
				}
	
.content {
	padding: 12px 0 60px 0;
	height: 100%;
}
	
	.content h1.logo {
		width: 170px;
		height: 63px;
		background: url(css/img/logo_white.svg) no-repeat 0 0;
		background-size: 100% 100%;
		margin: 50px auto 0 auto;
		text-indent: -9000px;
		overflow: hidden;
		position: relative;
		z-index: 90;
	}
	
		.content h1.logo.dark {
			background-image: url(css/img/logo_dark.svg);
		}
		
		.page-template-page-landing-php h1.logo {
			opacity: 0;
		}
		
		.content h1 a {
			display: block;
			width: 100%;
			height: 100%;
		}
	
	.content .background-image {
		width: 100%;
		height: 100%;
		background-size: cover;
		background-position: center;
		position: fixed;
		top:12px;
		opacity: 0;
		z-index: 0;
	}

	.content .menu-main-container {
		position: absolute;
		top: 0px;
		z-index: 110;
		width: 100%;
		text-align: center;
		font-size: 35px;
		font-family: 'Vanitas', Georgia, serif;
		opacity: 0;
		line-height: 100%;
	}
	
		.content .menu-main-container ul {
			
		}
		
			.content .menu-main-container ul li {
				margin: 24px 0;
			}
			
				.content .menu-main-container ul li a {
					text-decoration: none;
					color: #fff;
					-webkit-transition: all 0.3s ease-in-out;
					-moz-transition: all 0.3s ease-in-out;
					-o-transition: all 0.3s ease-in-out;
					transition: all 0.3s ease-in-out;
				}
				
				.content .menu-main-container ul li a:hover {
					/* border-bottom: 1px solid #fff; */
					opacity: 0.7;
				}
	
	.content .scissors {
		width: 100px;
		height: 100px;
		background: url(css/img/scissory-left.png) no-repeat 0 0;
		background-size: 100% 100%;
		margin: 0px auto;
		position: absolute;
		z-index: 1000;
		opacity: 1;
		left: 50%;
		margin-left: -50px;
		top: 0px;
		opacity: 0;
		display: none;
	}
		
		.content .scissors:hover {
			background: url(css/img/scissory-right.png) no-repeat 0 0;
		}

	.content .slide {
		position: relative;
		z-index: 1;
		opacity: 0;
		background: #1F1F1F;
		background-position: center;
		background-size: cover;
		overflow: auto;
	}
	
.grid {
	width: 90%;
	max-width: 1500px;
	margin: 0px auto;
	font-size: 14px;
	line-height: 120%;
	margin-top: 50px;
	margin-bottom: 50px;
}

	.slide .grid {
		position: relative;
		z-index: 1;
		margin-top: 250px;
		margin-bottom: 20px;
	}
	
		.grid .first,
		.grid .second,
		.grid .third,
		.grid .first-second {
			width: 100%;
			height: 100%;
			float: left;
		}
		
			.slide .grid .first,
			.slide .grid .second,
			.slide .grid .third,
			.slide .grid .first-second {
				min-height: 1px;
			} 
		
			.grid .inner {
				padding: 20px;
			}
			
				.slide .grid .inner {
					background: #fff;
					color: #000;
				}
			
				.grid .inner:empty {
					padding: 0px;
				}
		
		.grid ul {
			margin-top: 20px;
		}
		
			.grid ul li {
				border-top: 1px solid #444;
				color: #1F1F1F;
				padding: 0.4em 0;
			}
			
			.grid ul li:last-child {
				border-bottom: 1px solid #444;
			}
		
	
	h2 {
		font-size: 18px;
		font-family: 'Vanitas', Georgia, serif;
		line-height: 140%;
		margin-bottom: 0px;
		color: rgb(91,97,101);
	}
	
		body#border-white h2 {
			color: #fff;
		}

	.separator {
		height: 1px;
		width: 100%;
		background: #4B4B4B;
		margin: 20px 0 30px 0;
	}

.clear {
	clear: both;
}
strong {
	font-family: 'CorporateSMedium', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, a:link, a:visited, a:focus, a:hover {
	color: inherit;
}

/* Width-based media queries */
@media screen and (min-width:400px) {

	.navigation ul.menu li a {
		margin: 19px 8px;
	}
	
	.content h1.logo {
		width: 255px;
		height: 94.5px;
		margin-top: 55px;
	}
	
	h2 {
		font-size: 20px;
		font-family: 'Vanitas', Georgia, serif;
		line-height: 140%;
		margin-bottom: 20px;
	}
	
	.separator {
		margin: 40px 0 60px 0;
	}
	
	.grid ul {
		margin-top: 30px;
	}
}

@media screen and (min-width:760px) {
	
	.content h1.logo {
		width: 340px;
		height: 126px;
		margin-top: 65px;
	}
	
	.grid {
		margin-top: 80px;
		margin-bottom: 80px;
	}
	
	.grid {
		font-size: 16px;
		line-height: 140%;
	}
	
	.grid .first,
	.grid .second,
	.grid .third {
		width: 33.33%;
	}
	
	h2 {
		font-size: 40px;
		font-family: 'Vanitas', Georgia, serif;
		line-height: 140%;
		margin-bottom: 70px;
	}
	
	.separator {
		margin: 60px 0 90px 0;
	}
	
	.grid ul {
		margin-top: 45px;
	}
	
	.content .scissors {
		display: block;
	}
	
}

@media screen and (min-width:1024px) {
	
	.grid {
		font-size: 18px;
		line-height: 200%;
		margin-top: 120px;
		margin-bottom: 120px;
	}
	
	.grid .first-second {
		width: 66.66%;
	}
	
	h2 {
		font-size: 50px;
		font-family: 'Vanitas', Georgia, serif;
		line-height: 140%;
		margin-bottom: 90px;
	}
	
	.separator {
		margin: 80px 0 120px 0;
	}
	
	.grid ul {
		margin-top: 60px;
	}
	
}

/* Height-based media queries */
@media screen and (min-height:600px) {
	
	.content .menu-main-container {
		font-size: 50px;
	}
	
}

@media screen and (min-height:800px) {
	
	.content .menu-main-container {
		font-size: 70px;
	}
	
	.slide .grid {
		margin-top: auto !important;
		margin-bottom: auto !important;
		position: absolute;
		bottom: 60px;
	}
	
}

html.ie8 .grid {
	font-size: 18px;
	line-height: 200%;
	margin-top: 120px;
	margin-bottom: 120px;
}

html.ie8 .grid .first-second {
	width: 66.66%;
}

html.ie8 .grid .first,
html.ie8 .grid .second,
html.ie8 .grid .third {
	width: 33.33%;
}

html.ie8 h2 {
	font-size: 50px;
	font-family: 'Vanitas', Georgia, serif;
	line-height: 140%;
	margin-bottom: 90px;
}

html.ie8 .separator {
	margin: 80px 0 120px 0;
}

html.ie8 .grid ul {
	margin-top: 60px;
}

.slide.contact {
	background: url(css/img/karte.svg) no-repeat center center;
	background-size: contain;
}

.landing-placeholder {
	color: #fff;
	font-size: 3em;
	font-family: 'Vanitas', Georgia, serif;
	line-height: 140%;
	position: relative;
	z-index: 1000;
	width: 70%;
	margin: 0px auto;
	display: block;
	text-align: center;
	margin-top: 1.5em;
}

.landing-placeholder a {
	text-decoration: none;
}

@media screen and (max-height:600px) {
	.landing-placeholder {
		font-size: 1em;
	}
}