/*
Theme Name: Wedding.hilft Theme
Author: The Wedding.hilft Web Team
Description: The new redesign of Wedding.hilft
Version: 0.2a
Tags: modern, flat, red, gray, red, white, dark, light, responsive-layout, threaded-comments, translation-ready
Text Domain: wh
*/

/* Wordpress declarations */
.size-auto,
.size-full,
.size-large,
.size-medium,
.size-thumbnail {
	max-width: 100%;
	height: auto;
}

h1 .post-edit-link {
	padding: 0 0 0 20px;
}

.entry-content {
	word-wrap: break-word;
}

.entry-content h2 {
	font-size: 22px;

}

.screen-reader-text {
	display: none;
}

.more-link {
	display: block;
}

figure.gallery-item {
	display: inline-block;
	float: left;

}

article.post .gallery {
	overflow: hidden;
	padding: 20px 0;
	background: #f5f5f5;

}

figure.gallery-item {
	margin: 10px 20px;
}

.attachment-post-thumbnail {
	max-width: 60%;
	height: auto;
	margin-bottom: 20px;
}

button.search-submit {
	padding: 2px 10px;
}
/* END Wordpress declarations */

/* Bootstrap overrides */

.breadcrumb ul {
	list-style-type: none;
	display: block;
	margin: 6px 0;
	padding: 0;
}

.breadcrumb li {
	float: left;
}

.panel-heading {
	padding: 0;
}

.panel-title a {
	padding: 10px 15px;
	display: block;
}
/* Gallery plugin overrides */
#header-slideshow-wrapper #header-slideshow div.slideshow-information {
	text-align: right;
}

#header-slideshow-wrapper #header-slideshow div.slideshow-information h3{
	padding-right: 20px;
	padding-top: 10px;
	font-weight: normal;
	font-style: italic;
	font-family: 'Open Sans';
}
/* END Gallery plugin overrides */

.nopadding {
	padding: 0 !important;
	margin: 0 !important;
}

.wh-text-primary {
	color: #3c3c3c;
}

.btn {
	color: #fff;
	padding: 15px 12px;
	font-weight: bolder;
	text-transform: none;
	border-bottom: 4px solid rgba(0,0,0,0.4);
	transition: background 0.2s ease;
}

.btn:hover {
	color: #FFF;
}

.btn-facebook {
	background-color: #3b5998;
}

.btn-indicator:hover {
	background-color: #B01323;
}

.btn-indicator {
	background-color: #545c5d;
}

.header .logo {
	display: block;
	margin: 0 auto;
	padding: 10px 0;
}

.header .logo img, .section img.logo {
	max-width: 100%;
}

.header .promote-text {
	display: block;
	font-size:18px;
	font-size: 1.125em;
	font-weight: bold;
	margin: 0;
	margin-bottom: 20px;
	text-align: center;
	text-decoration: none;
}

.header .promote-text:hover {
	text-decoration: underline;
}

.teaser {
	position: relative;
}
.teaser .overlay {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
	z-index: 999;
}


.teaser .overlay span {
	background: #fff;
	display: block;
	float: left;
	height: inherit;
	width: 8%;
}
.teaser .overlay span:nth-of-type(1) {
	opacity: 0.75;
}

.teaser .overlay span:nth-of-type(2) {
	opacity: 0.5;
}

.teaser .overlay span:nth-of-type(3) {
	opacity: 0.25;
}

.teaser .teaser-canvas {
	position: absolute;
	top:0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
}

.teaser-01 {
	background: url("img/header-teaser.jpg");
	background-position-y: 20%;
}

.nav-spacer {
	height:50px;
}

#nav-primary .container-fluid {
	position: absolute;
	width: 100%
}
#nav-primary .navbar {
	border-radius: 80px/60px 0 0 0;
	border: none;
}

#nav-primary {
	height: 50px;
	background-color: #fff;
	position: relative;;
	z-index: 99999;
	-webkit-transform: translate3d(0,0,0);
	-moz-transform: translate3d(0,0,0);
	-ms-transform: translate3d(0,0,0);
	-o-transform: translate3d(0,0,0);
	transform: translate3d(0,0,0);
}

#nav-primary span.background {
	background: #e3192d;
	bottom: 0;
	min-height: 10px;
	left: 0;
	position: absolute;
	right: 0;
	-webkit-transition: height 0.08s linear;
	-moz-transition: height 0.08s linear;
	-ms-transition: height 0.08s linear;
	-o-transition: height 0.08s linear;
	transition: height 0.08s linear;
}

#nav-primary.fixed {
	-webkit-backface-visibility: hidden;
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
}

.admin-bar #nav-primary.fixed {
	top: 30px;
}

#nav-primary .navbar-nav > li > a {
	font-weight: bold;
}

#nav-primary .navbar-nav a {
	text-decoration: none;
}

#nav-primary .navbar-nav .fa.fa-home {
	font-size: 1.25em;
}



.section {
	padding-top: 20px;
}

.section h2 {
	font-weight: bold;
	margin-bottom: 20px;
}

.section h2 i {
	vertical-align: middle;
	font-size: 1.3em;
	border-right: 1px solid #3c3c3c;
	margin-right: 10px;
	padding-right: 10px;
	color: #3c3c3c;
}
.section:not(.single-page) h2 + p {
	margin: 0 20px;
}

.section .page {
	padding-top: 20px;
}
.contains-teaser {
	position: relative;
}

.section .section-teaser .btn {
	-webkit-transition: opacity 0.2s ease;
	-moz-transition: opacity 0.2s ease;
	-ms-transition: opacity 0.2s ease;
	-o-transition: opacity 0.2s ease;
	transition: opacity 0.2s ease;
}

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

.devider {
	margin: 0 40%;
	border-top: 2px solid #c3c3c3;
}

.section-title {
	background: url("img/scanlines_ptn_headline_bg.png") repeat;
	color: #3c3c3c;
	margin: 10px 0 0 0;
	padding: 22px 10px;
	text-align: center;
	font-weight: bolder;

}

.section-title:after {
	content: '.';
	color: #b01323;
}

.section-overview .row {
	background: #ecf0f1;
}

.sub-section-default {
	padding: 0 20px 20px;
}

.sub-section-default p {
	font-size: 0.875em;
	margin: 0;
}

.flow .flow-item:before, .flow .flow-item:after {
	content:'';
	position: absolute;
}

.flow .flow-item:before {
	left: 0;
	right: 0;
	position: absolute;
	bottom:0;

}


.flow .flow-item:not(:last-child):before {
	border-bottom: 1px solid #c9cccd;
}

.flow .flow-item:not(:last-child):after {
	background: url("img/flow.png") no-repeat;
	background-color: #ecf0f1;
	bottom: -57px;
	left: 50%;
	margin-left: -15px;
	content:'';
	position: absolute;
	height:88px;
	width: 29px;
	-webkit-transform: rotate(90deg);
	-moz-transform: rotate(90deg);
	-ms-transform: rotate(90deg);
	-o-transform: rotate(90deg);
	transform: rotate(90deg);
}


.button-list {
	list-style-type: none;
	padding:0;
}

.button-list li {
	padding-top: 20px;
}

/* overrides bootstrap default */
.section-needed-goods .nav-tabs > li {
	margin-bottom: 0;
}

.section-needed-goods .nav-tabs > li.active > a,
.section-needed-goods .nav-tabs > li.active > a:hover,
.section-needed-goods .nav-tabs > li.active > a:focus {
	background: #fff;
	border: none;
	color: #3c3c3c;
	font-weight: bold;
}

.section-needed-goods .barometer {
	background: #545c5d;
}

.section-needed-goods .barometer-content {
	background: #bdc3c7;
	min-height:200px;
}

.section .connector {
	position: relative;
}

.section .connector-container {
	bottom: 100%;
	position: absolute;
	width: 100%;
	height: 10px;
	left: 30px;
	border-left: 4px solid #fff;
	border-top: 4px solid #fff;
	z-index: 99;
	-webkit-transition: width 0.4s ease;
	-moz-transition: width 0.4s ease;
	-ms-transition: width 0.4s ease;
	-o-transition: width 0.4s ease;
	transition: width 0.4s ease;
}

.section .inner-connector {
	bottom: 100%;
	border-right: 4px solid #fff;
	height: 25px;
	position: absolute;
	width: 100%;

}

.section .sub-news ul {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

.section .sub-news li {
	margin-bottom: 20px;
}

.section .sub-news time {
	display: block;
	font-weight: normal;
}

.section .sub-news li a {
	border-bottom: 1px solid #545c5d;
	color: #3c3c3c;
	display: block;
	font-weight: bold;
	text-decoration: none;
	-webkit-transition: border 0.2s ease;
	-moz-transition: border 0.2s ease;
	-ms-transition: border 0.2s ease;
	-o-transition: border 0.2s ease;
	transition: border 0.2s ease;
}

.section .sub-news li a:hover {
	border-bottom: 1px solid #e3192d
}

.barometer h2 {
	color: #fff;
	font-size: 18px;
	text-align: center;
	line-height: 1.5;
}

.wh-goods {
	border: 2px solid #fff;
	margin: 10px 0;
}

.wh-goods li a{
	border: none;
	border-radius: 0;
	color: rgba(255,255,255,0.9);
	line-height: 1.61;
	text-decoration: none;
	text-align: center;
	-webkit-transition: background 0.4s ease;
	-moz-transition: background 0.4s ease;
	-ms-transition: background 0.4s ease;
	-o-transition: background 0.4s ease;
	transition: background 0.4s ease;
	margin: 0;
}

.wh-goods li:nth-child(1) a {
	background: #FC1C32;
}

.wh-goods li:nth-child(2) a {
	background: #BD1525;
}

.wh-goods li:nth-child(3) a {
	background: #96111E;
}

.wh-goods li:nth-child(4) a {
	background:  #700C16;
}

.wh-goods-2 li {
	width: 50%;
}


.wh-goods-3 li {
	width: 33.333334%;
}

.good-content {
	border: 2px solid #fff;
	padding: 10px 20px;
	margin: 20px 0;
}

.good-content h2 {
	margin: 10px 0;
}

.good-content ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.good-content li {
	background-color: #a8aeb2;
	background-color: rgba(0,0,0,0.1);
	padding: 10px 20px;
	margin: 0 0 10px 0;
}

.good-content .text {
	padding-left: 20px;
}

#stay-tuned ul {
	display: inline-block;
	list-style-type: none;
	margin: 0;
	overflow: hidden;
	padding: 0;

}

#stay-tuned li {
	float: left;
	font-size: 20px;
	padding: 0 10px 0 0;
	text-align: center;
}

#stay-tuned li a:hover .fa-stack-1x {
	color: #e3192d;
	transform: rotate(10deg);
}

#stay-tuned .fa-stack-2x {
	color: #fff;
}

#stay-tuned .fa-stack-1x {
	transition: all 0.2s ease;
	color: #3c3c3c;
	font-size: 1.2em;
}

#stay-tuned .section-title {
	background-color: #3c3c3c;
	background-image: url("img/scanlines_ptn_headline_inv_bg.png");
}

#stay-tuned .section-title:after {
	content: '';
}

body > footer {
	background-color: #3c3c3c;
	color: #fff;
}

body > footer a {
	color: #fff !important;
}


footer section#org-description p {
	line-height: 2em;
	background-image: url("img/weddinghilft-logo.svg");
	background-repeat: no-repeat;
	background-size: 120px;
	background-position: center 0;
	padding-top: 130px;
	margin-top: 20px;
}


.single-page .row {
	padding-bottom: 20px;
}

.breadcrumb > .row {
	padding: 0;
}

.scroll-top {
	background: #363636;
	background: rgba(0,0,0, 0.4);
	color: #fff;
	bottom: 4%;
	cursor: pointer;
	display: none;
	position: fixed;
	right: 30px;
	z-index: 999;
	font-size: 16px;
	text-align: center;
	line-height: 40px;
	width: 40px;
	border-radius: 4px;
	-webkit-transition: background-color 0.3s linear;
	-moz-transition: background-color 0.3s linear;
	-ms-transition: background-color 0.3s linear;
	-o-transition: background-color 0.3s linear;
	transition: background-color 0.3s linear;
}

.scroll-top:hover {
	background-color: #e3192d;
	opacity: 0.9;
}

.posts-pagination {
	margin: 30px 0 0 0;
}

.posts-pagination .prev-posts {
	float: left;
}

.posts-pagination .prev-posts .fa {
	padding-right: 10px;
}

.posts-pagination .next-posts {
	float: right;
}

.posts-pagination .next-posts .fa {
	padding-left: 10px;
}

.posts-pagination a:hover .fa {
	padding: 0;
}

article.location .col-md-12 {
	padding-top: 20px;
}

article.location .post-thumbnail {
	float: left;
	padding-right: 20px;
}

article.location .attachment-post-thumbnail {
	max-width: 300px;
	height: auto;
}

article.location .entry-content > div:first-child {
	float: left !important;
	margin: 20px 0 !important;
	clear: both;
}


@media (min-width: 992px) {

	.main-header {
		height: 275px;
	}

	#header-slideshow-wrapper #header-slideshow .slideshow-fullsize {
		height: 275px;
	}

	.header .promote-text {
		margin-top: 20px;
	}

	.row-eq-height {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		margin: 0;
	}

	.flow {
		display: -webkit-box;
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
	}

	.barometer h2 {
		float: left;
		text-align: left;
	}


	.section .section-teaser {
		position: absolute;
		right: 0;
		top: 0;
		bottom: 0;
	}

	.section .section-teaser .btn {
		bottom: 0;
		left: 0;
		margin: 10px 0;
		position: absolute;
	}

	.section .section-teaser:hover .btn {
		bottom: 0;
		left: 0;
		margin: 10px 0;
		position: absolute;
		opacity: 1;
	}

	.section-teaser.goods {
		background-image: url("img/kleiderspende_bg_teaser.jpg");
		background-repeat: no-repeat;
	}

	.section-teaser .section-teaser-wrapper {
		padding: 0 10px;
	}

	.flow .flow-item:not(:last-child):after {
		margin-top: -44px;
		top:50%;
		left: inherit;
		right: -18px;
		-webkit-transform: rotate(0deg);
		-moz-transform: rotate(0deg);
		-ms-transform: rotate(0deg);
		-o-transform: rotate(0deg);
		transform: rotate(0deg);
	}

	.flow .flow-item:before {

		bottom:0;
		height:100%;
		left: initial;
		right: 10px;
		top:0;
	}


	.flow .flow-item:not(:last-child):before {
		border-bottom: none;
		border-right: 1px solid #c9cccd;
	}

	.wh-goods-4 li {
		width: 25%;
	}

	.single-page .col-md-12 {
		padding-left: 15%;
		padding-right: 15%;
	}

	.more-link {
		margin: 20px 20% 0 20%;
	}

	article.location .entry-content > div:first-child {
		clear: none;
		margin: 0 20px 0 0 !important;
	}
}


/* Contact form 7 */
.wpcf7-form input, .wpcf7-form textarea{
	width: 100%;
	margin-right:20%;

}

.wpcf7-form input {
	height: 30px;
}

.wpcf7-form input[type=submit] {
	height: 40px;
	background-color: #545c5d;
	outline: none;
	border: none;
	color: #fff;
	font-weight: bolder;
	text-transform: none;
	border-bottom: 4px solid rgba(0,0,0,0.4);
	transition: background 0.2s ease;
}

.wpcf7-form input[type=submit]:hover {
	background-color: #e3192d;
	color: #FFF;
}

span.wpcf7-not-valid-tip {
	padding: 10px 15px;
	background: #e3192d;
	color: #fff;
}

.wpcf7-form h4, .wpcf7-form h5 {
	font-size: 20px;
	font-family: 'Open Sans';
}

.wpcf7-select {
	width: 100%;
}

/* override WP Full Calendar Plugin Styles */
.fc-basic-view .fc-body .fc-row {
	height: inherit !important;
	min-height: 10em !important;
}

.fc-toolbar {
	margin: 2em 0 1em 0;
}

.wpfc-calendar-wrapper h2 {
	font-size: 18px !important;
}

table .fc-widget-header {
	background-color: #a8aeb2;

	color: #fff;
	padding: 0.5em 0;
}

.fontawesome-text {
	display: none;
}