/*   
Theme Name:  Energie Beratung Theme
Theme URI: §
Author: 
Author URI: 
Version: 1.0
*/

@font-face {
	  font-family: "roboto-thin";
	  src: url("fonts/eot/Roboto-Thin.eot");
	  src: url("fonts/eot/Roboto-Thin.eot?#iefix") format("embedded-opentype"),
	       url("fonts/woff/Roboto-Thin.woff") format("woff"),
	       url("fonts/ttf/Roboto-Thin.ttf")  format("truetype"),
	       url("fonts/svg/Roboto-Thin.svg#svgRoboto-Thin") format("svg");
	}

@font-face {
	  font-family: "opensans-light";
	  src: url("fonts/eot/OpenSans-Light.eot");
	  src: url("fonts/eot/OpenSans-Light.eot?#iefix") format("embedded-opentype"),
	       url("fonts/woff/OpenSans-Light.woff") format("woff"),
	       url("fonts/ttf/OpenSans-Light.ttf")  format("truetype"),
	       url("fonts/svg/OpenSans-Light.svg#svgOpenSans-Light") format("svg");
	}

@font-face {
	  font-family: "opensans-bold";
	  src: url("fonts/eot/OpenSans-Bold.eot");
	  src: url("fonts/eot/OpenSans-Bold.eot?#iefix") format("embedded-opentype"),
	       url("fonts/woff/OpenSans-Bold.woff") format("woff"),
	       url("fonts/ttf/OpenSans-Bold.ttf")  format("truetype"),
	       url("fonts/svg/OpenSans-Bold.svg#svgOpenSans-Bold") format("svg");
	}	


@font-face {
	  font-family: "roboto-light";
	  src: url("fonts/eot/Roboto-Light.eot");
	  src: url("fonts/eot/Roboto-Light.eot?#iefix") format("embedded-opentype"),
	       url("fonts/woff/Roboto-Light.woff") format("woff"),
	       url("fonts/ttf/Roboto-Light.ttf")  format("truetype"),
	       url("fonts/svg/Roboto-Light.svg#svgRoboto-Light") format("svg");
	}


@font-face {
	  font-family: "roboto-regular";
	  src: url("fonts/eot/Roboto-Regular.eot");
	  src: url("fonts/eot/Roboto-Regular.eot?#iefix") format("embedded-opentype"),
	       url("fonts/woff/Roboto-Regular.woff") format("woff"),
	       url("fonts/ttf/Roboto-Regular.ttf")  format("truetype"),
	       url("fonts/svg/Roboto-Regular.svg#svgRoboto-Regular") format("svg");
	}


* {
	padding: 0;
	margin: 0;
	text-decoration: none;
	letter-spacing: 1.2px; 
	border: 0;
	outline: none;
	zoom: 1;
}

element {
    -webkit-overflow-scrolling: touch;
}

element > * {
    -webkit-transform: translateZ(0px);
}

*::selection {
	background: #eeeeee;
}

*:focus {
	outline:0;
}

input {
    -webkit-appearance: none;
    -webkit-border-radius:0.1px;
    border-radius: 0.1px;
}

html,
body {
	height:100%;
	background:  #fbfbfb;
	color: #232323;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-weight: normal;
}


p, a, h6, h5, h4, h3, h2, h1, li{
	-webkit-text-stroke: 0.2px;
	font-weight: normal;
	-webkit-font-smoothing: antialiased;
	-o-font-smoothing: antialiased;
	-moz-font-smoothing: antialiased;
	-ms-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

@-moz-document url-prefix() {
  p.hack {
    font-weight: normal;
  }
}

.no-scroll {
	overflow: hidden !important;
	position:relative;
	overflow-x:hidden !important;
	height: 100%;
  	width: 100%;
}

a {
	color: rgb(0, 165, 64);
}

 a:hover {
	color: rgb(46, 35, 130);
}

strong {
	font-family: "opensans-bold";
	font-weight: normal;
}

/*===NAV===*/

#layer {
	min-width: 100%;
	min-height: 100%;
	position: fixed;
	z-index: 9996;
	background:#f6f6f6;
	opacity: 0.5;
	cursor: pointer;
	display: none;
}

#mainnav {
	background: #ffffff;
	box-shadow: 0 0px 12px 1px rgba(0,0,0,.3);
	height: 135px;
	width: 100%;
	position: fixed;
	z-index: 9994;
}

#mainnav img#logo{
	width: 276px;
	height: 121px;
	padding: 5px;
	left: 50%;
	position: absolute;
	margin-left: -128px;
	margin-top: 0px;
	cursor: pointer;
}

#menu img {
	left: 50%;
	position: absolute;
	width: 40px;
	height: 40px;
	padding: 10px;
	border-radius: 50%;
	box-shadow:inset 0px 0px 1.5px 1px rgba(0,0,0,.2);
	border: .4px solid rgba(0,0,0,.2);
	background: #ffffff;
	bottom: 0;
	margin-left: -30px;
	margin-bottom: -30px;
	cursor: pointer;
	z-index: 9999;
	-webkit-transition: 0.4s all ease;
	-moz-transition: 0.4s all ease;
	-ms-transition: 0.4s all ease;
	-o-transition: 0.4s all ease;
	transition: 0.4s all ease;
}


#menu img:hover , .more-boxshadow{
	box-shadow: 0 1px 7px 1px rgba(0,0,0,.2);
	-webkit-transition: 0.4s all ease;
	-moz-transition: 0.4s all ease;
	-ms-transition: 0.4s all ease;
	-o-transition: 0.4s all ease;
	transition: 0.4s all ease;
}

#subnav {
	z-index: 9999;
	position: fixed;
	padding-top: 10px;
	padding:10px;
	font-family: "opensans-light";
	background: #fefffe;
	box-shadow: 1px 1px 1.5px 0px rgba(0,0,0,.16);
	overflow-x: hidden;
	margin-left: -100%;
	letter-spacing: 2px;
  	overflow-y: auto;
	bottom: 0;
	min-height: 97%;
  	display: block;
  	left: 0;
  	top: 0;
  	padding-bottom: 5px;
	min-width:240px;
}
#subnav li a{color:#202020;}

#subnav-inner {
	min-height: calc(100% - 35px);
	overflow: hidden;
}

#subnav-inner * {
	list-style: none;
}

#subnav #contribution{
	border-top: 1px solid #e0e0e0;
	margin-bottom: 0;
	bottom: 0;
	line-height: 10px;
	padding: 12.5px 0 0 10px;
	width: 100%;
	background: white;
}

#subnav #contribution a, #subnav #contribution p {
	float: left;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

#subnav #contribution li {display:inline-block; padding:0; margin:0;}
#subnav #contribution li:after{content:"|"; display:inline-block; padding-left:3px;}
#subnav #contribution li:last-child:after {display:none;}
#subnav #contribution li a {float:none; display:inline-block;}

#subnav #contribution p {
	padding: 0 3px;
}

#logo-submenu {
	box-shadow: 0 2px 1px -2px rgba(0,0,0,.16);
	margin-bottom: 10px;
	cursor: w-resize;
		-webkit-transition: 0.4s all ease;
	-moz-transition: 0.4s all ease;
	-ms-transition: 0.4s all ease;
	-o-transition: 0.4s all ease;
	transition: 0.4s all ease;
}

#subnav-inner img {
	width: 55px;
	padding: 0 0 0 10px;
}

#subnav li {
	cursor: pointer;
	padding: 6.5px 12.5px;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

#subnav li:hover , #subnav #contribution a:hover, footer a:hover{
	cursor: pointer;
	color: #202020;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

#subnav a {
	bottom: 0;
	height: 20px;
    margin-bottom: 0px;
    bottom:0;
}

#subnav li ul  {
	margin-top: 4px;
	margin-left: 7.5px;
}

/*===WRAPPER===*/

#wrapper {
	min-height:100%;
	position:relative;
}

#content {
	padding-top: 250px;
	padding-bottom: 220px;
	z-index: 9900;
}

.home #content {
	padding-top: 130px;
}

#section2 {
	box-shadow: 0 -7px 7px -7px rgba(0, 0, 0, .2);
	padding-top: 30px;
}

footer {
	font-family: "opensans-light";
	text-align: center;
	padding: 20px 0;
	box-shadow: 0 0px 2px 0px rgba(0, 0, 0, 0.2);
	border-top: 1px solid rgba(64, 64, 64, 0.2);
	opacity: 0.8;
	background:  white;
	width:100%;
	height:80px;
	position:absolute;
	bottom:0;
	left:0;
	padding-bottom: 15px;
}

/*===PROMO TXT==*/

.promotxt {
	margin-top: 0px;
	height: 300px;
	width: 100%;
	background: url(media/bg-solarkraft-trans.png) no-repeat center center fixed; 
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
	z-index: 1;
	transition: all 0.15s ease-out 0s;
	-webkit-transition: all 0.15s ease-out 0s;
	-ms-transition: all 0.15s ease-out 0s;
	-o-transition: all 0.15s ease-out 0s;
	-moz-transition: all 0.15s ease-out 0s;
	display: table;
}

.promoInner {
	display: table-cell;
	vertical-align: middle;

}

.promotxt h1, .home h2 {
	text-transform: uppercase;
	font-family: "opensans-light";
	text-align: center;
	padding-bottom: 20px;
	text-shadow: 1px 1px 2px rgba(153, 153, 153, 1);
}

.home h2 {
	font-size: 30px;
}


span.purple,
.promotxt h1 span:first-child , h1#title span:first-child{
	color: #331488;
}
span.green,
.promotxt h1 span:nth-child(2), h1#title span:nth-child(2) {
	color: #67AF4C;
}
span.yellow,
.promotxt h1 span:nth-child(3) {
	color: #ECCD21;
}

.promotxt p {
	margin:0 auto;
	text-align: center;
	width: 730px;
	font-size: 16px;
	color: #333;
	font-family: "roboto-regular";
}

#yourIdea-field-wrapper {
	width: 90%;
	max-width: 702px;
	margin: 0 auto;
	padding-bottom: 40px;
}

#yourIdea-field {
	max-width: 575px;
	width: calc(90% - 64px);
	height: 30px;
	font-family:"roboto-light";
	font-size: 15px;
	color: #444;
	letter-spacing: 2px;
	margin: 0 auto;
	box-shadow: 0 1px 2px 0px rgba(0,0,0,.2);
	padding: 10px 15px;
}

#yourIdea-field-wrapper button {
	font-family: "roboto-regular";
	text-transform: uppercase;
	cursor: pointer;
	height: 50px;
	box-shadow: 0 1px 2px 0px rgba(0,0,0,.2);
	background: #EBCC21;
	color: #FFF;
	padding:2px 20px 0 20px;
	-webkit-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

#yourIdea-field-wrapper button:hover{
	background: #CD6624;
	-webkit-transition: all 0.2s linear;
	-ms-transition: all 0.2s linear;
	-moz-transition: all 0.2s linear;
	-o-transition: all 0.2s linear;
	transition: all 0.2s linear;
}

/*===TILES==*/

.tile, .wappen {
	margin: 0 auto;
	max-width: 400px;
	width: 80%;
	box-shadow: 0 0px 2px 0px rgba(0,0,0,.2);
	padding: 30px;
	text-align: center;
	font-family: "opensans-light";
	cursor: pointer;
	background: white;
}

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

.tile p {
	padding-top: 3px;
	font-size: 13px;
	font-family: "roboto-light";
}

.tile a {
	color: #232323;
}

.tile:hover a {
	color: #fff;
}






.tile:first-child:hover {
	background: rgba(0, 165, 64, 0.8);
	color: white;
}

.tile:nth-child(2):hover {
	background: rgba(46, 35, 130, 0.8);
	color: white;
}

.tile:nth-child(3):hover {
	background: rgba(253, 195, 0, 0.8);
	color: white;
}

h1#title {
	text-align: center;
	padding: 20px 0;
	font-family: "opensans-light";
}

.blogpost p {
	font-family: "opensans-light";
	width: 90%;
	text-align: justify;
	margin-left: 5%;
	margin-bottom: 1.5em;
}

.blogpost {
	padding: 20px;
	width: 600px;
	margin: 0 0 0 270px;
	box-shadow: 0 0px 2px 0px rgba(0,0,0,.2);
	font-size: 14px;
}

.blogpost h3.catlink {
	text-align: center;
	font-family: "opensans-light";
}

.blogpost img.wp-post-image {
	width: 90%;
	box-shadow: 0 0px 12px 1px rgba(0,0,0,.3);
	margin: 20px 5%;
	height: auto;
}

.blogpost h2 {
	font-family: "opensans-light";
	text-align: left;
	font-size: 24px;
	padding-bottom: 10px;
	width: 90%;
	margin-left: 5%;
}

.blogpost h3 {
	font-family: "opensans-light";
	text-align: left;
	font-size:18px;
	padding-bottom: 10px;
	width: 90%;
	margin-left: 5%;
}

.blogpost h4 {
	font-family: "opensans-light";
	text-align: left;
	font-size:16px;
	padding-bottom: 10px;
	width: 90%;
	margin-left: 5%;
}

.blogpost ul, .blogpost ol {
		width: 90%;
	margin-left: 5%;
	font-family: "opensans-light";
	margin-bottom: 1.5em;
	padding-left: 25px;
}

.blogpost table {
	width: 90%;
	margin-left: 5%;
	font-family: "opensans-light";
}

.blogpost td, .blogpost th {
	vertical-align: top;
	text-align: left;
	padding: 4px 6px 4px 0;
	border-bottom: 1px solid #e0e0e0;
}


/* Images */
.alignleft {
	float: left;
}

.alignright {
	float: right;
}

.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

figure.wp-caption.alignleft {
	margin: 5px 20px 5px 5%;
}

img.alignleft {
	margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
	margin: 5px 10px 5px 5%;
}

figure.wp-caption.alignright {
	margin: 5px 5% 5px 20px;
}

img.alignright {
	margin: 5px 0 5px 20px;
}

.wp-caption.alignright {
	margin: 5px 5% 5px 10px;
}

img.aligncenter {
	margin: 5px auto;
}

img.alignnone {
	margin: 5px 0;
}

.wp-caption .wp-caption-text,
.entry-caption,
.gallery-caption {
	color: #220e10;
	font-size: 12px !important;
	font-style: italic;
	font-weight: 300;
	margin: 6px 0 10px;
}

div.wp-caption.alignright img[class*="wp-image-"] {
	float: right;
	padding-bottom: 5px;
}

div.wp-caption.alignright .wp-caption-text {
	padding-left: 10px;
}


p.wp-caption-text {
	margin-bottom: 0px;
	text-align: left;
}

.wappen p {
	font-size: 11px;
	padding: 3px 0 25px;
	font-family: "roboto-light";
}


/* ideenboerse */
.category-ideenboerse .blogpost p {
	text-align: center;
}


/*===FOOTER===*/

#energietipps-player {
	position:fixed;
	top: 92px;
	font-family: "opensans-light";
	right: 50px;
	background: #ffffff;
	padding: 10px 7.5px;
	font-size: 14px;
	z-index: 9994;
}

#energietipps-player p {
	width: 150px;
}

#energietipps-player div#left {
	position: absolute;
	left: 0;
	width: 10px;
	height: 19px;
	padding: 10px;
	height: 21px;
	padding: 11px 10px;
	bottom: 0px;
	margin-left: -30px;
	cursor: pointer;
	z-index: 9999;
	-webkit-transition: 0.4s all ease;
	-moz-transition: 0.4s all ease;
	-ms-transition: 0.4s all ease;
	-o-transition: 0.4s all ease;
	transition: 0.4s all ease;
}

#energietipps-player div#right {
	position: absolute;
	right: 0;
	width: 10px;
	height: 19px;
	padding: 10px;
	height: 21px;
	padding: 11px 10px;
	bottom: 0px;
	margin-right: -30px;
	cursor: pointer;
	z-index: 9999;
	-webkit-transition: 0.4s all ease;
	-moz-transition: 0.4s all ease;
	-ms-transition: 0.4s all ease;
	-o-transition: 0.4s all ease;
	transition: 0.4s all ease;
}

#line {
	width: 20px;
	height: 5px;
	background: #000;
	left: 50%;
	margin-left: -30px;
	position: absolute;
	margin-top: -20px;
}

footer div a, footer div p{
	float: left;
	color: #515151;
	-webkit-transition: 0.4s color ease;
	-moz-transition: 0.4s color ease;
	-ms-transition: 0.4s color ease;
	-o-transition: 0.4s color ease;
	transition: 0.4s color ease;
}

footer div {
	padding: 0 20px;
}

footer p {
	padding: 0 3px;
}

#websiteBy {
	float: right;
}

footer a:first-child{
	bottom: 0;
	padding-bottom: 5px;
}

#websiteby_wrapper p, #websiteby_wrapper a {
	font-size: .75em;
	padding-bottom: 5px;
}
footer #impressum ul {list-style:none; padding:0; margin:0; float:left; }
footer #impressum ul li {list-style:none; display:inline-block!important; padding:0; margin:0;}
footer #impressum li:after{content:"|"; display:inline-block; padding-left:3px; font-size:0.75em; }
footer #impressum li:last-child:after {display:none;}
footer #impressum li a {float:none; display:inline-block;}


/* contact form 7  */
.wpcf7-form input.wpcf7-text, .wpcf7-form .wpcf7-textarea, .wpcf7-form input.wpcf7-dynamictext, .wpcf7-form input.wpcf7-quiz {
	margin-top: 4px;
	width: 90%;
	font-family:"roboto-light";
	font-size: 15px;
	color: #444;
	letter-spacing: 2px;
	margin: 0 auto;
	box-shadow: 0 1px 2px 0px rgba(0,0,0,.2);
	padding: 10px 15px;

}

.wpcf7-quiz-label {
    display:block;
}

.wpcf7-form input.wpcf7-submit {
	font-size: 14px;
	padding: 6px;
	background-color: #331488;
	color: #fff;
}

/* events */
.blogpost ul.eo-events-shortcode {
	padding-left: 0px;
}

.eo-events-shortcode li {
	list-style: none;
	display:block;
	padding: 10px;
	box-shadow: 0 0px 2px 0px rgba(0,0,0,.2);
	margin-bottom: 15px;
}

.eo-events-shortcode li:hover {
	background: rgba(253, 195, 0, 0.8);
}

.eo-events-shortcode li:hover a {
	color: rgb(46, 35, 130);
}

.tile .eo-events-shortcode li {
	padding: 3px 0 0 0;
	box-shadow: none;
	font-size: 13px;
	margin-bottom: 1em;
}

.tile .eo-events-shortcode li:hover {
	background: none;
}

.eventorganiser-event-meta h4 {
	font-size: 18px;
	font-family: "opensans-light";
	text-align: center;
	padding: 10px;
}

.eventorganiser-event-meta ul.eo-event-meta {
	list-style: none;
	padding: 0;
}

body.single-event .eo-event-meta {
	float:none;
}

body.single-event .eo-event-venue-map {
	width: 90% !important;
	margin-left: 5%;
	float:none !important;
	margin-bottom: 15px;
}


.eo-venue-map.googlemap {
	width: auto !important;
}

/*===MEDIA QUERIES===*/

@media only all and (max-width:992px){



	#mainnav {
		height: 115px;
		width: 100%;
	}

	#mainnav img#logo{
		width: 236px;
		height: 131px;
		margin-left: -108px;
		margin-top: -15px;
	}

	
	#content {
		padding-top: 193px;
	}

	.home #content {
		padding-top: 110px;
	}

	#indyaner {
		margin: 0 auto;
		display: block;
		width: 239px;
		margin: 0px auto;
	}

	#impressum {
		margin: 0 auto;
		display: block;
		width: 136px;
		padding-bottom: 2.5px;
		margin: 15px auto;
	}

	#energietipps-player {
		font-size: 12px;
		top: 74px;
		right: 30px;

	}

	#energietipps-player div#left {

		height: 17px;
		bottom: 0px;
	}

	#energietipps-player div#right {
		height: 17px;
		bottom: 0px;
	}

	footer {
		height:120px;
	}

	.promotxt h1, h2 {
		font-size: 25px;
		padding-bottom: 26px;
	}

	.promotxt p {
		margin:0 auto;
		text-align: center;
		width: 610px;
		font-size: 15px;
	}

}



@media all and (min-width:1200px){

	.blogpost {
		width: 800px;
	}

}

@media all and (min-width:1400px){

	.blogpost {
		width: 80%;
		padding: 30px;
		max-width: 1000px;
		margin: 0px auto;
	}

}


@media only all and (max-width:768px){

	.blogpost {
		margin: 0px auto;
		width: 90%;
	}	

	.promotxt h1, h2 {
		font-size: 1.4em;
		width: 90%;
		margin: 0 auto;
		padding-bottom: 30px;
	}

	.promotxt p {
		margin:0 auto;
		text-align: center;
		width: 85%;
		font-size: 14.5px;
	}



	#yourIdea-field-wrapper {
		width: 92%;	
	}

	#yourIdea-field {
		max-width: 575px;
		width: calc(90% - 75px);
		padding: 10px 15px;
	}

	#yourIdea-field-wrapper button {

		padding:2px 20px 0 20px;

	}



	#energietipps-player {
		display: none;
	}

	.blogpost p {
		text-align: left;
	}



}

@media only all and (max-width:480px){

	.tile {
		margin: 0 auto;
		width: 80%;
	}

	#yourIdea-field-wrapper {
		margin: 0 auto;
		padding-bottom: 35px;
	}

	#yourIdea-field {
		height: 25px;
		font-size: 15px;
		width: calc(90% - 75px);
	}

	#yourIdea-field-wrapper button {
		height: 46px;
	}




}


@media only all and (max-width:320px){


	#yourIdea-field {
		width: 91%;
	}

	.tile {
		margin: 0 auto;
		width: 74.5%;
	}
	
}