@import 'https://fonts.googleapis.com/css?family=Raleway:300,500|Roboto+Slab:300,700';
@charset "UTF-8";
/* CSS Document */

body {
	background-color: #333333;
}

* {
	margin:0;
	padding:0;
}

img {
	width: 370px;
	height: 370px;
}

#headline {
	width: 1140px;
	height: auto;
	margin-bottom: 20px;
	font-family: 'Raleway', sans-serif;
	font-weight: 200;
    font-size: 15px;
    letter-spacing: 1px;
	color: #333333;
	z-index: 99;
}

/*--------------------------------------------------links----------------*/

a {
	text-decoration: none;
	color: #6BB9F0;
}

/*----------------------------------------------------wrapper--------------*/

#wrapper {
	background-color: #ffffff;
	width: auto;
	height: 100%;
	margin: 0; 
	padding: 0;
	-webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.1);
    box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.1);
    transition: box-shadow 0.8s;
}

#wrapper:hover{
  -webkit-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.3);
  -moz-box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.3);
  box-shadow: 0px 0px 20px 0px rgba(50, 50, 50, 0.3);
}

@media screen and (min-width: 1280px) {
#wrapper {
	width: 1280px;	
  }
  
#headline {
	width: 1140px;
}
}

@media screen and (max-width: 1280px) {
#wrapper {
	width: 800px;	
  }
  	
#headline {
	width: 755px;
}
}

@media screen and (max-width: 800px) {
#wrapper {
	width: 500px;
  }	

#headline {
	width: 370px;
}
}

@media screen and (max-width: 500px) {
#wrapper {
	max-width: 500px;
  }	
}
	

/*----------------------------------------------menu----------------------*/

#cssmenu {
  background: #333333;
  position: fixed;
  z-index: 99;
  margin: 10px auto;
}

#cssmenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  line-height: 0.5;
  display: block;
  zoom: 1;
}

#cssmenu ul:after {
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  clear: both;
  visibility: visible;
}

#cssmenu ul li {
  display: inline-block;
  padding: 3px 10px 3px 10px;
  margin: 0;
}

#cssmenu.align-right ul li {
  float: left;
}

#cssmenu.align-center ul {
  text-align: center;
}

#cssmenu ul li a {
  color: #888888;
  text-decoration: none;
  display: block;
  padding: 10px 20px 10px 20px;
  font-family: 'Roboto Slab', serif;
  font-size: 17px;
  font-weight: 700;
  position: relative;
  -webkit-transition: color .25s;
  -moz-transition: color .25s;
  -ms-transition: color .25s;
  -o-transition: color .25s;
  transition: color .25s;
}

#cssmenu ul li a:hover {
  color: #6BB9F0;
}

#cssmenu ul li a:hover:before {
  width: 100%;
}

#cssmenu ul li a:before {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: #6BB9F0;
  -webkit-transition: width .25s;
  -moz-transition: width .25s;
  -ms-transition: width .25s;
  -o-transition: width .25s;
  transition: width .25s;
}

#cssmenu ul li.last > a:after,
#cssmenu ul li:last-child > a:after {
  display: none;
}

#cssmenu ul li.active a {
  color: #6BB9F0;
}

#cssmenu ul li.active a:before {
  width: 100%;
}

#cssmenu.align-right li.last > a:after,
#cssmenu.align-right li:last-child > a:after {
  display: block;
}

#cssmenu.align-right li:first-child a:after {
  display: none;
}

@media screen and (min-width: 1280px) {
#cssmenu {
	width: 1280px;	
  }	
}

@media screen and (max-width: 1280px) {
#cssmenu {
	width: 800px;	
  }	
}

@media screen and (max-width: 800px) {
#cssmenu {
	width: 500px;
  }	
}

@media screen and (max-width: 450px) {

  #cssmenu ul li {
    float: none;
    display: block;
  }
  
  #cssmenu ul li a {
    width: auto;
	-webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
	-o-box-sizing: border-box;
    box-sizing: border-box;
  }

  #cssmenu ul li a:after {
    display: none;
  }
  #cssmenu ul li a:before {	
    display: none;
  }
}



/*----------------------------------------------hover effect-----------------------------*/
/*
ul.img-list {
  list-style-type: none;
  margin: 0;
  padding: 10px 10px 10px 10px;
  text-align: center;
}

ul.img-list li {
  display: inline-block;
  height: 370px;
  width: 370px;
  margin: 0 1em 1em 0;
  position: relative;
}

span.text-content {
  background: #292929;
  display: table;
  height: 370px;
  width: 370px;
  left: 0;
  position: absolute;
  top: 0;
}

span.text-content span {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

span.text-content {
  background: rgba(29,29,29,0.8);
  color: white;
  height: 370px;
  width: 370px;
  font-family: 'Yanone Kaffeesatz', sans-serif;
  
  cursor: pointer;
  display: table;
  left: 0;
  position: absolute;
  top: 0;
  opacity: 0;
}

ul.img-list li:hover span.text-content {
  opacity: 0.9;
}

span.text-content {
  background: #0a0a0a;
  cursor: inherit;
  display: table;
  height: 370px;
  width: 370px;
  left: 0;
  position: absolute;
  top: 0;
  opacity: 0;
}
*/



.grid li {
	display: inline-block;
	width: 370px;
	margin: 0;
	padding: 0;
	text-align: left;
	position: relative;
}

.grid figure {
	margin: 0;
	position: relative;
}


/*------------text und hintergrund------------*/


.grid figcaption {
	font-family: 'Raleway', sans-serif;
	font-weight: 200;
    font-size: 27px;
    letter-spacing: 1px;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0;
	background: #0a0a0a;
	color: #ffffff;
}

.cs-style-1 figcaption {
	height: 370px;
	width: 370px;
	opacity: 0;
	text-align: center;
	-webkit-backface-visibility: visible;
	-moz-backface-visibility: visible;
	backface-visibility: visible;
	-webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
	-moz-transition: -moz-transform 0.3s, opacity 0.3s;
	transition: transform 0.3s, opacity 0.3s;
}

.no-touch .cs-style-1 figure:hover figcaption,
.cs-style-1 figure.cs-hover figcaption {
	opacity: 0.8;
	background-color: 0a0a0a;
	height: 370px;
	width: 370px;
}

/*-----------------------------------------------footer------------------*/

.footer {
	height: 70px;
	max-width: 1280px;
	background-color: #333333;
}
	
	