/* 
    author: Elisbeth Kreitmeier | info@ek-mediadesign.de    
*/

/* 
    hellgrau #ccc;
	dunkelgrau #333;
    tuerkis #0098A1;
        
    breakpoints: 
    smartphone: 555px, 700px;
    galerie: 555px, 850px
    tablet: 980px;
    
    h1: webdesign, gestaltung von printmedien
    h2: konzeption, gestaltung
    h3: ref_cover
    h4: kontakt name
*/

@import url(https://fonts.googleapis.com/css?family=Roboto:300);
@import url(https://fonts.googleapis.com/css?family=Roboto:100);
@import url(https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz:200);/* global reset
--------------------------------------------------------------------------- */
* {
    padding: 0;
    margin: 0;
    border: 0;
}

/* typography
--------------------------------------------------------------------------- */
p {
    margin-bottom: 0.8em;
	line-height: 1.4em;
	
}

h1 {
	color: #0098A1;
	font-size: 145%;
	line-height: 1.2em;
	text-transform: uppercase;
	font-weight: 400; 
	padding-right: 0.2%;
	margin-bottom: 2%;
	margin-top: 3%;
}

#footer h1 {
	color: white;
}

h2 {
	font-size: 102%;
}

h3 {
	font-size: 100%;
}

h2, h3{
    margin-top: 1.4em;
	margin-bottom: 0.8em;
}

#printmedien .ref_info h3 {
	padding-top: 12%;
	padding-left: 10%;
}

ul {
	padding-left: 1em;
}

.ref_info ul {
	text-align: left;
	padding-left: 5%;
}

li {
	list-style-type: square;	
	list-style-position: outside;
	padding-left: 0.6em;
	margin-bottom: 0.3em;
}

.ref_info li {
	list-style-type: square;
	list-style-position: inside;
}


h4{
    font-weight: bold;
}

a {
    color: #0098A1;
    text-decoration: none;
}

a:hover {
	cursor: pointer;
}

strong {
	font-weight: normal;
	color: #0098A1;
}

.strong {
    font-size: 2.2em;
}


.name {
	font-weight: bold;
	color: inherit;
}

/* structure
--------------------------------------------------------------------------- */
body {
    line-height: 1.3em;
	font-family: 'Roboto', sans-serif;
	color: #333;
	background-image: url("img/hg.jpg");
	background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}

#header {
    width: 100%;
	height: 85px;
	position: fixed;
	top: 0;
	z-index: 1000;
}

#bg-header {
	background-color: #fff;
	height: 85px;
	width: 100%;
}

#header .wrapper {
	position: relative; 
}

#leistungen {
	position: absolute;
	top: 50px;
	width: 650px;
}

#leistungen a {
	margin-right: 3%;
	text-transform: uppercase;
	font-size: 80%;
	-webkit-transition: color 1.5s ease;
	transition: color 1.5s ease;
}

.leistungen-default {
	color: #0098A1;
}

.leistungen-fixed {
	color: #fff;	
}

.clear {
	clear: both;
}

#teaser{	
    width: 100%;
	background-color: #0098A1;
	-webkit-transition: opacity 1.5 ease;
	transition: opacity 1.5s ease;
}

.teaser-default {
	position: static;
	height: 160px;
	opacity: 0.6;	
}

.teaser-fixed {
    height: 85px;
	position: fixed;
	top: 0;
	z-index: 999;
	opacity: 0.95;
}

#teaser .wrapper {
	position: relative;
	height: 100%;
}

#textbox {
	font-family: 'Yanone Kaffeesatz', sans-serif;
	color: #fff;
	font-size: 3.0em;
	position: absolute;
	bottom: 0.6em;
}

#ausgabe1, #ausgabe2, #ausgabe3 {
	float: left;
	position: absolute;	
	bottom: 16px;
	transition-duration: 2s;
	transition-property: left, opacity;
	transition-timing: ease;
    transition-delay: 0;
}


.posRechts {
	opacity: 0;
}

.posLinks {
	opacity: 1;
}

 
#main {
    width: 100%;
    height: auto;
	position: relative;
}

.main-default {
	margin-top: 0;
}

.main-fixed {
	margin-top: 140px;
}

.info {
	padding: 1% 0 3% 0;
	background-color: #fff;
}

#footer .info{
	background-color: #0098A1;
}

.wrapper{
    max-width: 1100px;
    margin: 0 auto;
	padding: 0 3%;
}
 
.referenzen {
	padding: 5% 0;
	background-color: #ccc;
	background-color: rgba(204, 204, 204, 0.97);
} 

.referenzen img {
	width: 100%;
	}


.ref_pict, .ref_cover {
	position: absolute;
	width: 100%;
	height: 100%;	
}

.ref_pict {
	opacity: 1;
}

.ref_cover {
	background-color: #0098A1;
	opacity: 1;
	color: #fff;	
	opacity: 0;
	display: table;
	-webkit-transition: opacity 1.5s ease;
	transition: opacity 1.5s ease;
}

.referenzen a:hover .ref_cover {
	opacity: 1;
	-webkit-transition: opacity 1.5s ease;
	transition: opacity 1.5s ease;
}

.ref_cover .ref_info {
	vertical-align: middle;
	text-align: center;
	height: 100%;
	display: table-cell;
}

#printmedien .ref_info {
	vertical-align: top; 
	text-align: left;
}

#logoColor, #logoWhite {
	position: absolute;
	right: 3%;
	width: 120px;
	-webkit-transition: opacity 1.5s;
	transition: opacity 1.5s;	
}

.logo-show {
	opacity: 1;
}

.logo-hide {
	opacity: 0;
}

.logo {
	position: relative;
	width: 100%;
	height: 100%;
	display: table;
}

.logo_img {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	background-color: rgba(255, 255, 255, 0.4);
}

.logo_img img {
	width: 75%;
}

.referenzen a {
	position: relative;
	display: inline-block;
	vertical-align: top;
	border-style: solid;
	border-width: 1px 0;
	overflow: hidden;
	font-size: 95%;
}

#print .hidden {
	display: none;
}

#webdesign .referenzen a{
	width: 30%;
	height: 255px;
	margin: 0 2% 2% 0;
	border-color: transparent;	
	-webkit-transition: border-color 1s ease;
	transition: border-color 1s ease;
}

#webdesign .referenzen a:hover {
	border-color: #fff;
	-webkit-transition: border-color 1s ease;
	transition: border-color 1s ease;
}


#printmedien .referenzen a {
	width: 200px;
	height: 200px;
	margin: 0 1% 1% 0;
	border-color: white;
	-webkit-transition: height 1s ease;	
	transition: height 1s ease;
}

#printmedien .referenzen a:hover {
	height: 320px;
	-webkit-transition: height 1s ease;	
	transition: height 1s ease;
}

/*collapse: margin-bottom referenzen a*/
#webdesign, #printmedien, #footer {
	margin-bottom: -1%;
}

#logoentwicklung a {
	width: 15%;
	min-width: 150px;
	height: 150px;
}


.ref_link {
	background-color: white;
}

.ref_link:hover {
	background-color: #0098A1;
}

#ref_brucker, #ref_manuela, #ref_zweck, #ref_kreitmeier, #ref_sonstiges {
	display: none;
}

  
footer {
	clear: both;
    width: 94%;
	background-color: #0098A1;
	color: #ffffff;
	padding: 3%;
    line-height: 1.4em;
	z-index: -10;
	height: 250px;
}

#footer a{
	color: #ffffff;
}

#impressum {
	-webkit-transition: height 5s ease;
	transition: height 5s ease;
}

.hidden{
	height: 0;
	opacity: 0;
	overflow: hidden;
}

.visible{
	height: auto;
	opacity: 1;
}

#impressum .wrapper {
	position: relative;
}

.schliessen{
	padding: 1.2% 3%;
	font-size: 80%;	
	color: #333!important;
	background-color: #eee;
	text-transform: uppercase;
	margin-top: 1%;
	display: inline-block;
}

#totop {
	padding: 1.2% 3%;
	font-size: 80%;	
	color: #333!important;
	background-color: #eee;
	text-transform: uppercase;	
	position: fixed;
	bottom: 0;
	right: 3%;
	opacity: 0;
	-webkit-transition: opacity 3s ease;
	transition: opacity 3s ease;
	z-index: 100000;
}

/*media queries
=================================================================================*/
/* header
--------------------------------------------------------------------------- */
@media only screen and (max-width: 480px){
	#textbox{
		font-size: 2.0em;
	}
	
	#logoColor, #logoWhite {
		width: 95px;
		top: 10px;
	}
	
	#leistungen a{
		margin-right: 2%;
	}
}

@media only screen and (max-width: 445px){
	.hide {
		display: none;
	}
}

@media only screen and (max-width: 660px){
	h1 {
		margin-top: 8%;
	}
}

/* referenzen
--------------------------------------------------------------------------- */

@media only screen and (max-width: 480px){
	.referenzen a {
		font-size: 75%;
	}
	
	#webdesign .referenzen a {
		width: 100%;
		height: 265px;
	}
	
	#printmedien .referenzen a {
		width: 48%;	
		height:	170px;
	}	
}

@media only screen and (min-width: 481px) and (max-width: 660px){
	#webdesign .referenzen a {
		width: 47.5%;
		height: 188px;
	}
}

/* totop
--------------------------------------------------------------------------- */
@media only screen and (max-width: 480px){
	#totop {
		padding: 5% 3%;
		
	}
}

@media only screen and (max-width: 660px){
	.schliessen {
		margin-top: 5;
		margin-bottom: 5%;
		padding-top: 3%;
		padding-bottom: 3%;		
	}
}

/* galerie
--------------------------------------------------------------------------- */
@media only screen and (max-width: 800px){
	
/*	.lb-nav {
		position: absolute!important;
		right: -2%!important;
		height: 12%!important;
		width: 70%!important;
	}
	
	.lb-data .lb-close {
		margin-right: 8%!important;
		margin-top: 1%!important;
	}*/
	
	.lb-nav a.lb-next {
		opacity: 0.8!important;
	}
	

}