/*  
Theme Name: Be electric
Theme URI: be-electric-das-kochbuch.de
Version: 1.0
Author: Veronika Sattler
Author URI: http://websache.de
*/

/* --------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------

	INHALT:
	
	1. BASICS
		1.1. HTML5
		1.2. Reset
		1.3. Basics
			1.3.1. Links
			1.3.2. Listen
			1.3.3. Typographie
			1.3.4. Formulare
			1.3.5. Media
			1.3.6. Media
		1.4. Sprungmarken
		1.5. Icons
	2. SEITENSTRUKTUR 
	3. MEDIA QUERIES

/* 1. BASICS
-----------------------------------------------------------------------------------------------
===============================================================================================*/
/* 1.1. Fonts
-----------------------------------------------------------------------------------------------*/
/* lato-300 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 300;
  src: url('fonts/lato-v17-latin-300.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-300.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-300.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-300.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-300italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 300;
  src: url('fonts/lato-v17-latin-300italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-300italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-300italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/lato-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('fonts/lato-v17-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}

/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/lato-v17-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('fonts/lato-v17-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('fonts/lato-v17-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('fonts/lato-v17-latin-700.woff') format('woff'), /* Modern Browsers */
       url('fonts/lato-v17-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('fonts/lato-v17-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}





/* 1.2. Reset
-----------------------------------------------------------------------------------------------*/

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section {
	display: block; 
	}
html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
    box-sizing: border-box;
	}

/* 1.3. Allgemeines
-----------------------------------------------------------------------------------------------*/
html, body {
	color: #494941; 
	font-family: 'Lato', sans-serif;
	font-weight: 300;
	font-size:0.97em;
	line-height:1.6;
	-webkit-text-size-adjust: none;
	}
.invisible {
	display: none;
	}
.inner {
	width: 92%;
	max-width: 1280px;
	margin:auto;
}
.inner:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}
.flex {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
	}



/* 1.3.1. Links
-----------------------------------------------------------------------------------------------*/

a {
	color:#494941;
	text-decoration: none;
	-webkit-transition: all 300ms linear;
	-o-transition: all 300ms linear;
	transition: all 300ms linear;
	}
a:visited {
	text-decoration:none;
	}
#main a:hover, #main a:focus {
	text-decoration: underline;
	}	
#main .sans {
    display: block;
} 
#main .sans:before {
    display: none;
}
strong {
    font-weight:700;
}


/* 1.3.2. Listen
-----------------------------------------------------------------------------------------------*/
ul {
	list-style: none;
	}
ol {
	list-style: decimal inside;
	
	}




/* 1.3.3. Typographie
-----------------------------------------------------------------------------------------------*/
p {
	padding-bottom: 16px;
	}
h1 {
	font-weight: 700;
	font-size: 120%;
	margin-bottom: 10px;
	line-height: 1.1;
	}
h2 {
	width: 100%;
    font-weight: 700;
	font-size: 100%;
    margin-top:20px;
	margin-bottom: 10px;
	line-height: 1.1;
	}



/*1.3.4. Media
-----------------------------------------------------------------------------------------------*/
img, iframe {
	max-width: 100%;
	width: 100%;
	height: auto !important;
	}

figcaption {
    font-size: 90%;
}

/* 2. Seitenstruktur
-----------------------------------------------------------------------------------------------
===============================================================================================*/

/*2.1. Header mit Navigation und Logo
----------------------------------------------------------------------------------------------*/
#pageheader {
	box-sizing: border-box;
    left:0px;
    right:0px;
    z-index: 100;
    background: #ffffff;
	text-transform: uppercase;
    }
#logo {
	float: left;
	position: relative;
	padding: 25px 0px;
	width: 30%;
	min-width: 300px;
	}


/*2.2.1. Content
-----------------------------------------------------------------------------------------------*/
.startbild {
	height: 470px;
	background: url(../images/headerimage.jpg) no-repeat center center;
	background-size: cover;
}

.coverbild {
	float: left;
	margin-right: 8%;
	transform: rotate(-8deg);
	border: 4px solid #fff;
	border-bottom: none;
	margin-top:-30px;
	box-shadow: 10px 10px 8px 6px rgba(0,0,0,0.3);
	width: 15%;
	min-width: 200px;
}
.textwrap {
	padding: 50px 0px 50px 0px;
	float: left;
	width: 65%;
	max-width: 750px;
}
.textwrap h1, .press h2 {
	font-size: 125%;
	font-style: oblique;
	font-weight: 700;
	margin-bottom: 10px;
}
.textwrap h2 {
	font-size: 260%;
	margin-bottom: 5px;
}
.textwrap a {
	font-size: 180%;
}
.textwrap p {
	display: inline-block;
} 
.textwrap small {
	display: block;
	text-align: right;
	font-size:90%;
}
.press h3 {
	font-weight: 500;
}

.imprint {
	padding: 50px 0px;
}

/*2.3. Footer
-----------------------------------------------------------------------------------------------*/
#pagefooter {
	padding: 80px 0px 20px 0px;

}
#pagefooter li {
	display: inline-block;
	margin-right: 1em;
	line-height: 1.2;
}
#pagefooter .sep {
	border-left: 1px solid #494941;
	padding-left: 1em;
}

.mail {
	background: url(../images/mail.svg) no-repeat  left center;
	background-size: 12px auto;
	padding-left: 18px;
}

/* 3. Media Queries
-----------------------------------------------------------------------------------------------
===============================================================================================*/

@media only screen and (max-width: 800px) {	
	.startbild {
		height: 370px;
	}

.coverbild {
	width: 45%;
	float: none;
	margin:-180px auto auto auto;
}
.textwrap {
	width: 100%;
	padding-top:70px;
	}
.textwrap h2 {
	font-size: 220%;
}
.textwrap a {
	font-size: 140%;
}	
#pagefooter .sep.first {
	border: none;
	padding-left: 0;
	margin-top: 5px;
	}
}	
		
