/*
	Theme Name: VE2016-3
	Theme URI: http://mietenvolksentscheid.berlin
	Description: Drittes Theme zum Volksentscheid
	Version: 0.3
	Author: MC
	Author URI: http://mietenvolksentscheid.berlin
	Tags: HTML5, CSS

	Copyright: All rights reserved.
*/

/* DIE FARBEN:
 Orange: 			nach zahlen: #FF6900, nach pipette: #f07e01
 Grün: 				nach zahlen: #267F7F, nach pipette: #007390
 Fast weiß: 			nach zahlen: #F2F2F2, nach pipette: auch :)
 Aubergine: 			nach zahlen: #313E51, nach pipette: auch :)
 Hellgrünblau: 			nach zahlen: #98E1E1, nach pipette: #a2c8ec

 Hintergrundgrau der Postings und im Footer: e2e2e2 (selbst definiert)
*/

body {
	color: #313e51;
	background: #f2f2f2; /* Old browsers */
	background: -moz-linear-gradient(top,  #f2f2f2 26%, #dcdfde 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(26%,#f2f2f2), color-stop(100%,#dcdfde)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f2f2f2 26%,#dcdfde 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f2f2f2 26%,#dcdfde 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f2f2f2 26%,#dcdfde 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f2f2f2 26%,#dcdfde 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#dcdfde',GradientType=0 ); /* IE6-9 */
}

#maincontainer { 
	max-width: 1000px; 
	
	box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
	-moz-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
}

.btn {
	text-transform: uppercase;
}

/* Links */
a {
	color: #313E51;
	text-decoration: none !important;
}
a:hover { color:#f07e01; }

.clearfix:after {
    content: ".";
    clear: both;
    display: block;
    visibility: hidden;
    height: 0px;
}

/* 
  Header 
*/
.height200 {
	height: 200px;
}

#header {
	z-index: -1;
	position: relative;
	top: -200px;
}

#header-bg-img {
	height: 200px;
	width: 1000px;
}


#headerlogo {
	width: 120px;
	height: 200px;
	margin-left: 50px;
	position: relative;
	top: -200px; /* 200px Header-Hintergrundbildhöhe */
}

#headerwidgets {
	text-align: right;
	padding-right: 50px;
}

#headerwidget i.fa { /* Social Media-Icons im Header */
	 
}

.headerbutton {
	font-family: "Merriweather Sans";
	color: #fff;
	background-color: #f07e01 !important;
	padding: 4px 20px;
	margin-top: 20px;
	height: 30px;

	-webkit-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.51);
	-moz-box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.51);
	box-shadow: 0px 0px 6px 2px rgba(0,0,0,0.51);
}

.headerbutton.btn:hover, .socialmediaheader:hover {
	background-color: #007390 !important;
	color: #fff !important;
}

.socialmediaheader, .englishbtnheader {
	padding: 0px 0px;
	line-height: 108%;
	font-size: 28px;
	margin-right: 10px;
	width: 30px;
}

.englishbtnheader {
	background-image: url("img/english.svgz");
	background-repeat: no-repeat;
	background-size: 30px 26px;
	background-position: center;
	width: 35px;
}

#contentright p a {
	font-weight: bold;
}

#contentright .readmore a {
		color: #313E51;
}

#contentright .readmore {
	margin-top: 0px;
}

/* 
  Navigation
*/
.height30 {
	height: 30px;
}

#menurow {
	background-color: #f07e01;
}

#menuliste {
	display: table;
	width: 100%;
	margin-left: 50px;
	padding-right: 100px;
}
#menuliste li {
	display: table-cell;
	float: none;
}

.navbar li.active a {
	background-color: #313E51;
	color: #fff;
}

.navbar ul > li:first-of-type {
	width: 120px;
}

.navbar a {
	color: #fff;
}

.navbar a:hover {
	background-color: #007390;
	text-decoration: none;
	color: #fff;
}

.navbar-pills a, .navbar-pills span {
	height: 30px;
	padding: 3px 5px;
	text-align: center;
}

.current-menu-item {
	background-color: #313E51;
}

.menu-item {
	font-family: "Merriweather Sans", sans-serif;
	font-weight: 800;
	text-transform: uppercase;
}

.mobile-menu {
	background-color: #007390;
}

.navigation-toggle span {
	font-family: "Merriweather Sans", sans-serif;
}

#contentright .readmore {
	margin-top: 0px;
}

/* Pulldown-Untermenüs */
.navbar ul li:hover > ul {
    visibility: visible;
}

.navbar ul li ul{
    display: inline;
    visibility: hidden;
    position: absolute;
}

.navbar ul li ul li {
	float: left !important;
  clear: left !important;
width: 100% !important;
}

.navbar .sub-menu {
  background-color:#F0C290;
		box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
	-moz-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
	-webkit-box-shadow: 0px 0px 10px 2px rgba(119, 119, 119, 0.8);
}

.navbar .sub-menu .menu-item a {
	background-color: #a2c8ec;
	font-size: 80%;
	font-weight: 400;
	height: 100%;
	padding: 4px 10px;
	text-align: left;
	width: 100%;
}

.navbar .sub-menu .menu-item a:hover {
	background-color:#007390;
	color: #fff;
}

/* 
  Content Bereich 
*/
#contentrow {

	background-color: #F2F2F2;
	padding: 30px 50px 30px 50px;
}

#contentleft {
	background-color: #e2e2e2;
	padding: 20px 40px 30px 40px;
}

.posttitle a {
	color: #f07e01;
	text-decoration: none;
}

.posttitle {
	border-bottom: dotted #f07e01 2px;
	padding-bottom: 5px;
}

.post {
	margin-bottom: 20px;
}

.postcontent {
}

.post p {
	margin-bottom: 0px;
}

.postcontent a {
	font-weight: bold;
	color: #007390;
}

.postcontent a:hover {
	color: #f07e01;
}

.readmore, .readmore a {
	margin-top: 10px;
	color: #313E51;
}

.postcontent p {
	line-height: 23px;
}

.infokasten {
	background-color: #a2c8ec;
	margin: 20px 0px;
	padding: 20px;
}

figure {
	max-width: 100%; /* dass img 100% max-breite hat bringt nicht viel, wenn das übergeordnete element nicht der gleichen regel gehorcht */
}


/* 
	Sidebar
*/


#contentright {
	padding: 17px 20px 30px 20px; /* oben nur 5 pixel. müsste 20 sein, aber die überschrift (1. element in der sidebar) hat margin-top: 15px */
	color: #fff;
	background-color: #007390;
}

.formularlinien {
	padding: 0px 0px 3px 0px; /* padding top: 8px. aber weil widgettitle->margin-bottom: 8px hier 0 */
	border-bottom: 2px dotted white;
	margin-bottom: 19px;
}

.recent_posts_with_excerpts li  {
	list-style: none;
}

ul.recent_posts_with_excerpts {
	margin: 0px;
}

.recent_posts_with_excerpts a, .upw-posts h4 a {
	color: #a2c8ec
}

.recent_posts_with_excerpts .date {
	font-family: "Merriweather Sans", sans-serif;
	font-size: 12px;
	color: white;
	padding-top: 8px;
}

.recent_posts_with_excerpts blockquote, #contentright .entry-content {
	border: 0px;
	margin: 0px;
	padding: 0px;
	font-style: normal;
	font-size: 12px;
}

.recent_posts_with_excerpts blockquote p {
	line-height: 18px;
}

.rightwidget h2 {
	margin-bottom: 36px;
}

.rightwidget h1 {
	color: #313E51;
}

.rightwidget a, .upw-posts h4 a:hover {
	color: #f07e01;
}

.rightwidget a:hover {
	color: white;
}

.recent_posts_with_excerpts .readmore {
	color: #313E51;
}

.rightwidget .btn {
	background-color: #f07e01;
	color: #313E51;
}

.widgettitle {
	margin-top: 15px;
	margin-bottom: 8px;
	border-bottom: 2px dotted #FFF;
	padding-bottom: 3px;
	font-weight: 700;
	font-size: 14px;
	line-height: 18px;
	text-transform: uppercase;
}

.upw-posts article {
	border-bottom: 1px dotted white;
	margin-bottom: 1.2em;
	padding: 0px;
}

.upw-posts .entry-title {
    font-weight: 400;
    margin-bottom: 0.5em;
}

upw-posts .entry-content > *:last-child, .upw-posts .entry-summary > *:last-child {
    line-height: 1.5em;
    margin-bottom: 1em;
}

/*
	Footer
*/
#footerrow {
	background-color: #e2e2e2;
	padding: 0px 50px 30px 50px;
}

/* 
 Typo
*/
body {
	font-family: "Bitter", serif;
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Merriweather Sans", sans-serif;
	font-weight: 800;
	color: #f07e01;
}

.postcontent h1, .postcontent h2 {
	margin-top: 20px;
	text-align: left;
}
.postcontent h3, .postcontent h4, .postcontent h5, .postcontent h6 {
	margin-top: 12px;
	text-align: left;
}

h1 {
	font-size: 24px;
	line-height: 29px;
}

h2, .upw-posts h4 {
	font-size: 18px;
	color: #61b3e5;
	line-height: 22px;
	color: #313E51;
}

h3 {
	font-size: 14px;
	font-weight: 700;
	line-height: 18px;
	text-transform: uppercase;
}

h4 {
	font-size: 12px;
	line-height: 18px;
        color: #007390
}

#contentright.h4 {
	color: #a2c8ec;
}

#contentright.h3 {
	color: #313E51;
}

.whitetext {
	color: #fff;
}

/* Silbentrennung */
.hyphenate
{
	text-align: justify;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	hyphens: auto;
}

/*
  Formulare 
*/
.btn, #wpmem_login .button_div input.buttons {
	background-color: #007390;
	border-radius: 0px;
}
.btn a, #wpmem_login .button_div input.buttons {
	text-decoration: none;
	color: #fff;
	font-family: "Merriweather Sans", sans-serif;
}

.postcontent .btn, #wpmem_login .button_div input.buttons {
	color: white;
	font-family: "Merriweather Sans";
	text-transform: uppercase;
	margin: 20px 0px;
	padding: 5px 16px;
	border: 0px;
}

#contentleft .postcontent .btn:hover, #contentleft .readmore a:hover, #wpmem_login .button_div input.buttons:hover {
	background-color: #313E51;
	color: white;
}

.btn:active {
	background-color: #313E51;
}

/* (UnterstützerInnen-Registrierung) */
.regbutton {
	background-color: #007390 !important;
}

.regbutton:hover {
	background-color:#313E51 !important;
}

input[type="text"] {
	font-family: "Bitter", serif; 
}

input.regbutton {
	font-family: "Merriweather Sans" !important;
	color: white !important;;
}

.div_checkbox {
	float: left;
}

.erstregrow .captcha {
	float: left;
	margin-bottom: 1.65em;
	margin-top: 1.65em;
}

/* (Such-Formular in der Sidebar und Newsletter-Registrierung) */
#suchen-button, #newsletter-submit {
	font-family: "FontAwesome";
	color: #007390;
	height: 26px;
	border: 0px;
	background-color: #fff;
	font-size: 13px;
	position: relative;
	top: 0px;
	margin-left: -30px;
	z-index: 2;
}

input#suche, input#newsletter-email {
	height: 27px;
	border: 0px;
	font-size: 13px;
	width: 100%;
	border-radius: 0px;
	font-family: bitter;
	color: #313e51;
}

.formularrahmen {
	height: 24px;
	overflow: hidden;
	margin-bottom: 5px;
}

input#suche:focus, input[type="email"]#newsletter-email:focus {
	box-shadow: none;
}

#newsletter-email, #newsletter-submit {
	margin-bottom: 5px;
}

/* (Supporter-Registrierung) */
#erstreg h1, #wpmem_login legend { 
	background-color: #007390;
	color: white;
	padding: 8px 20px 9px;
	margin-top: -2px;
	margin-left: -2px;
	margin-right: -2px;
	white: 100% !important;
}

#erstreg, #wpmem_login {
	border: 2px #007390 dotted;
	padding: 0px;
}

#wpmem_login fieldset {
	border: 0px;
	margin: 0px;
	padding:0px;
}

.erstregrow, .regbutton, #wpmem_login form {
	width: 98%;
	left: 1%;
	position:relative;
}

#erstreg #tos {
	width: auto;
}


/*
  Accordion
*/
.accordion-title, .accordion-title-opened {
	color: white !important;
	background-color: #007390 !important;
	font-family: "Merriweather Sans";
	cursor: pointer;
	margin: 0px 0px 6px;
	padding: 7px 50px 7px 20px;

	-webkit-user-select: none;  /* Chrome all / Safari all */
	-moz-user-select: none;     /* Firefox all */
	-ms-user-select: none;      /* IE 10+ */
	/* No support for these yet, use at own risk */
	-o-user-select: none;
	user-select: none;  
}

.accordion-title:after, .accordion-title-closed:after {
	font-family: "FontAwesome";
	color: #a2c8ec;
}

.accordion-title:after {
	content: " \f0d7";
}

.accordion-title-closed:after {
	content: " \f0da";
}

.accordion-panel {
	padding: 22px 20px 15px 22px;
}

.accordion-toggle {
	display: none;
}

/*
  Benutzerdaten bearbeiten
*/
.wpmem_msg {
    background: none;
    border: none;
}

.wpmem_msg code, .plain {
	font-family: "Bitter";
	list-style: none;
}

#wpmem_login {
	font-family: "Bitter" !important;
	margin-bottom: 20px;
}

#wpmem_login .div_text, #wpmem_login .button_div, #wpmem_login .link-text {
	width: 100% !important;
	margin-bottom: 10px;
}

/*
  Mobile only
*/
@media only screen and (max-width: 767px) { /* bei dieser Breite klappt das Menü um */
	#spendenbutton { display: none; } 
	.navbar-pills ul > li:first-of-type { width: auto; margin: auto; }
	#contentrow { padding: 0px; }
	#contentleft { padding: 20px 20px 30px; }
	#menuliste { display: table; width: 100%; margin-left: 25px; padding-right: 0px;}
	#menuliste li { display: block !important; margin-left: -50px; }

	/* Mobile Untermenüs in der Navigation */
	#menurow .sub-menu {
		display: block;
		visibility: visible;
		position: relative;
		text-align: center;
		box-shadow: none;
		-moz-box-shadow: none;
		-webkit-box-shadow: none;
	}

	#menurow .sub-menu .menu-item a {
		text-align: center;
		width: 100%;
		background-color: #F0C290;
	}

	#menurow .sub-menu .menu-item a:hover {
		background-color: #007390;
	}


	#menurow .sub-menu li {
		margin-left: -10px;
		margin-right: 10px;
	}
	
	#menurow .sub-menu {
		margin-bottom: 1.1em;
	}
}
