/*
Theme Name: Escathon 2017
Theme URI: 
Author: Max Flick
Author URI: 
Description:
Version: 1.0
License: 
License URI: 
Tags:
Text Domain:
*/
body, html{
	font-family: "Roboto", sans-serif;
	font-family: "Helvetica Neue", sans-serif;
	height: 100%;
	width: 100%;
	font-size: 16px;
	color: #ffffff;
	margin: 0px;
	padding: 0px;
	background-color: #000000;
}
body{
	margin-top: 150px;
}
#background{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	opacity: 0.45;
	background-repeat: repeat, no-repeat;
	background-size: cover;
	visibility: hidden;
	background-image: url(http://spinn.nu/wp-content/uploads/2017/09/spinnBg4.jpg);
}
header{
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	z-index: 1;
	height: 50px;
	background-color: #000000;
	background-color: rgba(0,0,0,0.5);
}
#container, #headerContainer, #footerContainer{
	position: relative;
	margin: 0 auto;
	width: 80%;
	max-width: 1200px;
}
a:link,
a:visited,
a:hover,
a:active,
a:focus{
	color: #ffffff;
}
p{
	margin: 0;
}
table {
	min-width: 100%;
    border-collapse: collapse;
	line-height: 2.5;
}
.table a
{
    display:block;
    text-decoration:none;
}
td{
	vertical-align: top;
	padding-right: 20px;
}
tr:first-child{
	font-style: italic;
}
tr{
	border-bottom: 1px solid rgba(255,255,255,0.5);
}
#logo{
	position: relative;
	float: left;
	margin-top: 10px;
	width: 100px;
	display: block;
	z-index: 99999999999;
}
#logo svg{
    width: 113px;
    height: 30px;
}
#logo svg .st0{
	fill:#ffffff;
}
#logo a,
#logo a:link,
#logo a:visited,
#logo a:hover,
#logo a:active,
#logo a:focus{
	color: rgba(100,50,0,1) !important;
	text-decoration: none;
}
nav{
	color: #fff;
	position: relative;
	float: right;
	margin-top: 15px;
	display: block;
}
nav a:link,
nav a:visited,
nav a:hover,
nav a:active,
nav a:focus{
	display: block;
	color: rgba(255,255,255,1);
	text-decoration: none;
	cursor: pointer;
}
footer{
	float: left;
	position: relative;
	width: 100%;
	height: auto;
	padding-top: 50px;
}
footer a{
	text-decoration: none;
}
footer strong{
    font-size: 10px;
    text-transform: uppercase;
	vertical-align: top;
}
footer #logo{
	margin-top: 0px;
}
#top{
	position: fixed;
	width: 30px;
	height: 30px;
	bottom: 30px;
	right: 30px;
	cursor: pointer;
	z-index: 99999999;
}
#footerContainer{
    border-top: 1px solid white;
    padding-top: 40px;
}
#footerContent{
	float: left;
    width: 25%;
    border-left: 1px solid white;
    padding-left: 20px;
    display: inline-block;
    min-width: 160px;
    margin-bottom: 100px;
	box-sizing: border-box;
}
#footerContent:first-child{
	border-left: 0px;
	padding-left: 0px;
}
#navContainer{
}
#primaryMenu{
	padding: 0;
	margin: 0;
	list-style-type:none;
}
#primaryMenu>li{
	display: list-item;
	position: relative;
}
#primaryMenu>li>a{
	z-index:999999;
}
.sub-menu{
	position: absolute;
	top: 100%;
	left: 0;
	display: none;
	list-style-type: none;
	z-index: 9999999999999999;
}
.sub-menu li ul{
	top: -9px;
    left: 105%;
}
#container{
	position: relative;
	line-height: 1.5;
	overflow: auto;
	margin-bottom: 100px;
	min-height: 60%;
}
#container img{
	margin: 10px 0px;
	width: 100%;
	height: auto;
	box-sizing: border-box;
}
#content::after, #footerContent::after{
  	content: "";
  	display: block;
  	clear: both;
}
#contentContainer{
	margin-bottom: 50px;
}
#sidebar{
	display: none;
	margin: 0 auto;
	max-width: 800px;
	z-index: -1;
}
#left, #right{
	box-sizing: border-box;
}
#left a{
		line-height: 1.1;
		font-size: 24px;
		font-weight: 600;
		text-decoration: none;
		color: rgba(250,200,0,1);
		color: rgba(255,255,255,1);
}
#right p{
	margin-bottom: 20px;
}
#right p:last-child{
	margin-bottom: 0px;
}
.italy{
	font-style: italic;
}
.bold{
	font-weight: 900;
}
#partnerImg{
	max-width: 100px;
	margin-bottom: 30px;
}
.noMarginBottom{
	margin-bottom: 0px !important;
}
@media (min-width: 1050px) {
	nav{
		display: block !important;
		height: 0 !important;
		visibility: visible;
		text-align: left;
	}
	#primaryMenu>li{
		box-sizing: border-box;
		margin-right: 10px;
		float: left;
	}
	#primaryMenu>li:last-child{
		margin-right: 0px;
	}
	.sub-menu{
		position: absolute !important;
   	 	top: 35px;
    	left: -10px;
		text-align: left;
		background-color: #000000;
    	background-color: rgba(0,0,0,0.5);
    	padding: 0px 20px 20px 20px;
		padding-top: 0px !important;
	}
	.sub-menu > li{
		margin-top: 10px;
	}
	.sub-menu > li:first-child{
		margin-top: 0px;
	}
	#menuOpen{
		display: none;
	}
	#menuClose{
		display: none;
	}
	#left, #right{
		display: inline-block;
		box-sizing: border-box;
	}
	#left{
		float: left;
		width: 25%;
		font-size: 24px;
		font-weight: 400;
    	margin-top: -8px;	
	}
	#right{
		float: right;
		width: 75%;
		font-size: 16px;
		font-weight: 400;
		line-height: 1.5;
		letter-spacing: 0px;
		border-left: 1px solid white;
		padding-left: 20px;
	}
	#right p:first-child{
		margin-top: -2px;
	}
}
@media (max-width: 1049px) {
	body{
		margin-top: 80px;
	}
	nav{
		color: #fff;
		position: fixed;
		text-align: right;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.9);
		display: none;
		padding-top: 67px;
		font-size: 24px;
		margin-top: 0px;
	}
	#navContainer{
		margin: 0 auto;
    	max-width: 80%;
    }
	footer img{
		max-width: 35px;
	}
	#primaryMenu{
		width: auto;
	}
	#primaryMenu>li{
		display: list-item;
		margin-top: 15px;
		float: right;
    	width: 100%;
	}
	#primaryMenu > li a:hover, #primaryMenu > li a:active{
		color: #ffffff;
	}
	.sub-menu{
		position: relative;
    	top: 100%;
    	left: -33px;
		background-color: transparent;
		width: 100%;
		margin-bottom: 0px;
	}
	.sub-menu > li > a{
		color: rgba(255,255,255,1);
	}
	.sub-menu > li a:hover,
	.sub-menu > li a:focus{
		color: #fff;
	}
	.sub-menu > li {
		text-align: right;
		padding: 20px 0px 20px 20px;
    	display: block;
    	float: left;
	}
	.sub-menu li ul{
		color: #ffffff !important;
		position: absolute;
		top: 0px;
    	left: -200px;
	}
	#menuOpen, #menuClose{
		position: relative;
		float: right;
		margin-top: 15px;
		display: block;
		z-index: 99999999999;
		color: #fff;
		overflow: hidden;
	}
	#menuOpen:hover, #menuClose:hover{
		cursor: pointer;
	}
	#line1, #line2, #line3{
		width: 26px;
    	height: 4px;
		background-color: #ffffff;
		margin-bottom: 4px;
	}
	#line3{
		margin-bottom: 0px;
	}
	#menuClose{
		display: none;
	}
	#left{
		font-size: 36px;
		margin-bottom: 50px;
	}
}
@media (max-width: 880px) {
	#contentContainer{
		display: block;
		width: 100%;
	}
	#left, #right{
		width: 100%;
		max-width: 100%;
	}
	#right{
		float: left;
	}	
}
@media (min-width: 610px) {
	#gallery{
		display: inline-block;
	}
	#gallery:after {
    	content:"";
    	display: table;
   	 	clear: both;
	}
	#gallery img{
		max-width: 100%;
		height: auto;
	}
	#gallery p a{
		float: right;
		max-width: 580px;
		width: 48%;
		margin-bottom: 2%;
	}
	#gallery p a:nth-child(odd){
		float: left;
	}
}
@media (max-width: 500px) {
	table{
		font-size: 10px;
	}
}