/*
* Stylesheet: k3714_2015.css
* By Markus Widegren, 2015
* With inspiration, bits and pieces from the Skeleton Base CSS.
*/


/* #Basic Stuff =================================== */

	body {
		background-color: black;
		font: 1.2em "Dosis", "Roboto", sans-serif;
		line-height: 1.3em;
		color: white;
		font-weight: normal;
		-webkit-font-smoothing: antialiased;  /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
		text-shadow: 0.1em 0.1em 0.1em rgba(0,0,0,0.9);
		padding: 0;
		margin: 0;
 }

/* #Typography ================================== */

	h1, h2, h3, h4, h5, h6 {
		color: inherit;
		text-align: inherit;
		letter-spacing: 0.02em;
		}
		
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	
	h1 { font-size: 3em; line-height: 1em; margin-bottom: 6px; margin-top: 0px; }
	h2 { font-size: 2.5em; line-height: 1em; margin-bottom: 6px; margin-top: 0px; }
	h3 { font-size: 2em; line-height: 1em; margin-bottom: 6px; margin-top: 0px; }
	h4 { font-size: 1.7em; line-height: 1em; margin-bottom: 6px; margin-top: 0px; }
	h5 { font-size: 1.4em; line-height: 1em; margin-bottom: 6px; margin-top: 0px; }
	h6 { font-size: 1em; line-height: 1em; }
	
	.blackline { color: black; }
	
	p { margin: 0.5em 0 0.5em 0; }
	p img { margin: 0; }
	p.lead { font-size: 21px; line-height: 27px; color: #777;  }
	
	em { font-style: italic; }
	strong { font-weight: bold; }
	small { font-size: 80%; }

	hr { margin: 1em 0 1em 0; }
	
	#logobox-still h { font-family: Anaglyph, Roboto, sans-serif; }

    ::selection { background: #9fbcb7; }
    ::-moz-selection { background: #9fbcb7; }

/* #Links ======================================== */

	a, a:visited { color: inherit; text-decoration: none; outline: 0; text-shadow: 0.1 0.1 0.1em rgba(255,255,255,0.6); }
	a:hover, a:focus { color: inherit; text-shadow: 0 0 0.3em rgba(175,255,255,1); font-weight: inherit; }
	p a, p a:visited { line-height: inherit; }


/* #Lists ======================================== */

	ul { list-style: none outside; margin: 0; padding: 0 0 0 0; }
	li { font-size: 1.1em; padding: 0 0 0.3em 0 }

/* #Images ======================================== */

	img.scale {
		max-width: 100%;
		height: auto; }

/* Containers =======================================*/

#container {
	position: fixed;
	top: 0;
	width: 100%;
	min-height: 100%;
	z-index: -99;
		background-image: url("../images/k3714_damm_100.jpg");
		background-repeat: no-repeat;
		background-size: cover;
		background-position: right bottom;
	}
	
#container2  {
	position: absolute;
	top: 0;
	width: 100%;
	min-height: 100%;
	z-index: 1;
	padding: 3em 0 0 0; 
	}


#logobox {
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 1;
	}

#logobox-still {
	display: none;
	}

#center {
	max-width: 800px;
	margin-top: 7%;
	margin-bottom: auto;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	-moz-flex-flow: row;
	-webkit-flex-flow: row;
	flex-flow: row;
	}
	
#menu {
	padding: 0em 2em 1em 2em;
	text-align: right;
	-moz-flex-grow: 0;
	-webkit-flex-grow: 0;
	flex-grow: 1;
	-moz-order: 1;
	-webkit-order: 1;
	order: 1;
	}

#vimeo {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	-moz-flex-shrink: 0;
	-webkit-flex-shrink: 0;
	flex-shrink: 0;
	-moz-order: 2;
	-webkit-order: 2;
	order: 2;
	}

#article {
	margin: auto;
	padding: 1em;
	max-width: 600px;
	background: rgba(0,0,0,0.5);
	text-shadow: 0.09em 0.06em 0.08em rgba(0,0,0,1);
	}
	
#article ul {
	font-size: small;
	padding: 0 0 0 2em;
	margin: 0;}

#article li {
	padding: 0;
	margin: 0;}

#article img {
	max-width: 100%; 
	}
	
#gallery img {
	max-width: 350px; 
	}
	
#gallery p h3 {
	text-align: center;
	}
	
#left {
	float: left;
	text-align: right;
	width: 47%;
	padding: 0;
	margin: 0;
	}

#right {
	float: right;
	width: 51%;
	padding: 0;
	margin: 0;
	}

#centerhead { 
	text-align: center; 
	width: auto;
	padding: 0;
	margin: 0 0 1em 0;
	}

#right ul { 
	margin: 0 0 1em 0;
	line-height: 1.32em;
	}

#left ul { 
	margin: 0 0 1em 0;
	line-height: 1.32em;
	}
	
#social {
	text-align: center;
	text-shadow: none;
	}
	
#footer {
	text-align: center;
	position: absolute;
	bottom: 1em;
	width: 100%;
	font-size: 0.9em;
	}

.scaleplayer {
	width: 500px;
	height: 281px;
	box-shadow: 0.3em 0.3em 0.7em rgba(0,0,0,0.9);
	}
	
svg#titleglitch {
	width: 100%;
	height: 3em;
	margin: 0 auto;
	padding: 0.45em 0 0.35em 0;
	background: rgba(0,0,0,1);
	box-shadow: 0em 0.2em 0.5em rgba(0,0,0,0.6);
	}

/* Navigation */

nav {
    width:175px;
    padding:0 25px 0 25px;
	background: -webkit-linear-gradient(left, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0)); 
	background: -o-linear-gradient(right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0)); 
	background: -moz-linear-gradient(right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0));
	background: linear-gradient(to right, rgba(0,0,0,0.9), rgba(0,0,0,0.7), rgba(0,0,0,0));
    background-size: cover;
    position: fixed;
    top:0;
    height:100%;
    margin:0 0 0 -175px;
    -webkit-transition: .5s ease-in;
    -moz-transition: .5s ease-in;
    -o-transition: .5s ease-in;
    -ms-transition: .5s ease-in;
    transition: .5s ease-in; 
	z-index: 99;
	}

nav.menushow .menu-btn {
    -webkit-transform: rotate(180deg) !important;
    -moz-transform: rotate(180deg) !important;
    -o-transform: rotate(180deg) !important;
    -ms-transform: rotate(180deg) !important;
    transform: rotate(180deg) !important;
	}

.menushow {
    margin: 0;
    /*box-shadow:0 0 50px 0 rgba(0,0,0,.5);*/
	}

nav ul {
    margin:80px 0 0 0;
	/*text-indent: -1em;*/
	}

nav a, .menu-btn a {
    color:#fff;
    font-size: 1em;
    font-family: Dosis, Roboto, sans-serif;
    font-weight: 300;
    text-decoration: none;
    padding:0.25em 0 0.25em 0.5em;
    display: block;
    -webkit-transition: .25s ease-in;
    -moz-transition: .25s ease-in;
    -o-transition: .25s ease-in;
    -ms-transition: .25s ease-in;
    transition: .25s ease-in;
	}

nav a:hover {
	background: -webkit-linear-gradient(left, rgba(255,255,255,.2), rgba(255,255,255,0));
	background: -o-linear-gradient(right, rgba(255,255,255,.2), rgba(255,255,255,0));
	background: -moz-linear-gradient(right, rgba(255,255,255,.2), rgba(255,255,255,0));
    background: (to right, rgba(255,255,255,.2), rgba(255,255,255,0));
	text-indent: 0.2em;
	}

.menu-btn {
    position: absolute;
    right:6px;
    top:20px;
	text-shadow: none;
    -webkit-transition: .5s ease-in;
    -moz-transition: .5s ease-in;
    -o-transition: .5s ease-in;
    -ms-transition: .5s ease-in;
    transition: .5s ease-in;
	}

.menu-btn a {
    font-family: Arial;
    font-weight: 900;
    font-size: 2em;
    text-align: center;
    width:30px;
    height:30px;
    padding:3px;
    
}

.menu-btn a:hover {
    background: none;
}

/* Too narrow to support columns */
 @media all and (max-width: 799px) {
  
	#center, #page {
		-moz-flex-flow: column;
		-webkit-flex-flow: column;
        flex-direction: column;
		}

	#vimeo, #menu {
		/* Return them to document order */
		-moz-order: 0;
		-webkit-order: 0;
        order: 0;
		}

	.menubox {
		padding: 0.2em 0.3em;
		background-color: rgba(0,0,0,0.6);
		text-align: center;
		box-shadow: 0 0 0.4em rgba(0,0,0,0.9);
		}
	
	.scaleplayer {
		width: 500px;
		height: 281px;
		box-shadow: 0.2em 0.2em 0.5em rgba(0,0,0,0.9);
		}
	
	#center {
		margin-top: 3%;
		}
	
	#menu {
		padding: 0.5em;
		max-width: 500px;
		margin-left:auto;
		margin-right:auto;
		text-align: left;
		}
		
	#menu ul li {
		display: block;
		float: left;
		margin: 0em 1em 0.5em 0em;
		padding: 0.2em 0.3em;
		background-color: rgba(0,0,0,0.6);
		box-shadow: 0 0 0.4em rgba(0,0,0,0.9);
		}
		
	#menu ul {
		margin: 1em 0;
		font-size: 1.1em; 
		}

	#menu ul li a {
		text-decoration: none;
		}
		
	#menu p, h1, h2, h3, h4, h5 {
		clear: both;
		margin: 0;
		padding: 0.2em;
		}
	
	#menu h1 {font-size: 2em;}
	
	#menu h3 {font-size: 1.65em;}

	#footer {
		bottom: 0.7em;
		font-size: 0.8em;
	}
	
	}

/* Mostly for smartphones */
@media only screen and (max-width: 519px) {
	
	.scaleplayer {
		width: 300px;
		height: 169px;
		box-shadow: 0 0 0.5em rgba(0,0,0,0.9);
		margin-left: auto;
		margin-right: auto;
		}

	#center {
		margin-top: 3em;
		}
		
	#menu {
		max-width: 300px;
		}

	nav {
		background: -webkit-linear-gradient(left, rgba(0,0,0,1), rgba(0,0,0,0.8), rgba(0,0,0,0)); 
		background: -o-linear-gradient(right, rgba(0,0,0,1), rgba(0,0,0,0.8), rgba(0,0,0,0)); 
		background: -moz-linear-gradient(right, rgba(0,0,0,1), rgba(0,0,0,0.8), rgba(0,0,0,0));
		background: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0.8), rgba(0,0,0,0));
		}
		
	.menu-btn a {
		font-size: 1.6em;

        text-shadow: 0 0 0.17em rgba(0,0,0,0.8);
		}

	.menu-btn a:hover {
        border: none;
		background: -webkit-radial-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6), rgba(0,0,0,0), rgba(0,0,0,0)); 
		background: -o-radial-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6), rgba(0,0,0,0), rgba(0,0,0,0)); 
		background: -moz-radial-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6), rgba(0,0,0,0), rgba(0,0,0,0));
		background: radial-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6), rgba(0,0,0,0), rgba(0,0,0,0));
		}
		
	svg#titleglitch {
		display: none;
		}

	#logobox-still {
		display: inline;
		position: absolute;
		top: 0;
		background-color: rgba(0,0,0,0.8);
		width: 100%;
		height: 2.5em;
		box-shadow: 0 0.1em 0.5em rgba(0,0,0,0.6);
		}

	h1 { 
	font-family: Impact, "Oswald"; 
	font-size: 1.55em; 
	text-align: center; 
	}
	
	.menu-btn {
    right:6px;
    top:10px;
	}

	#footer {
	bottom: 0.5em;
	font-size: 0.7em;
	}
	
	}

	/* Media Queries ================================= */
/* 	Preparation for extra functionality */

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {}

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) {}


/* #Extra Fonts ===================================== */
/* 	To add extra fonts use code below */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/