/*
 Theme Name:   Solarfreunde Theme
 Theme URI:    http://solarfreunde-moosburg.de/twenty-sixteen-child/
 Description:  Twenty Sixteen Child Theme for Solarfreunde
 Author:       Christoph Kaser
 Author URI:   http://caser.de
 Template:     twentysixteen
 Version:      1.0.1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  twenty-sixteen-child
*/

body {
	font-family: Montserrat, "Helvetica Neue", sans-serif;
}

.footer-menu li {
	list-style: none;
	display: inline;
}
.footer-menu li:not(:last-child)::after {
	content : '/';
	padding: 0 5px;
}

/* Floating header*/
#masthead {
	position: sticky;
	top: 0px;
	padding: 0 20px;
	background-color: #0b818a;
	z-index: 2;
	margin-bottom: 0.7em;
	box-shadow: 0px 5px 9px -5px black;
}

.admin-bar #masthead {
	top: 32px;
}

#menu-oberes-menue > li > a,
#menu-oberes-menue > li > button {
	color: #eee;
}

@media (max-width: 56.875em) {
	#menu-oberes-menue > li  a,
	#menu-oberes-menue > li  button {
		color: #eee;
	}

}

/* disable bars at top and bottom */
body::before, body::after {
	display: none !important;
}

/* fixed search button */
body .tribe-bar-submit {
	width: auto;
}

#menu-toggle, #social-navigation, header .social-navigation a {
	color: white;
	border-color: white;
}

body .site {
	margin-top: 0;
}

@keyframes menuAnim {
	from {
		opacity: 0;
		transform: skew(-15deg);
	}

	50% {
		opacity: 1;
	}

	to {
		transform: skew(0deg);
	}
}

@media (min-width: 56.875em) {
	.main-navigation li:hover > ul, .main-navigation li.focus > ul {
		animation: menuAnim 250ms;
		transform-origin: 0%  0%;
		box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
	}

	#secondary {
		position: sticky;
		top: 5.5em;
	}
}

html body input[type]:not([type="button"]):not([type="submit"]),
html body textarea {
	background: white;
}

/* cover effects */
.wp-block-cover a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	display: flex;
	justify-items: center;
	align-items: center;
	justify-content: center;
	opacity: 0.7;
	transition: opacity 300ms, transform 300ms;
	box-shadow: none;
	padding: 20px;
}

.wp-block-cover a:hover {
	opacity: 1;
	transform: scale(1.1);
}

/* upload form */
.wfu_container input[type="button"],
.wfu_container label {
	min-width: 14em;	
}

.wfu_container label {
	font-weight: bold;
}

.wfu_container .file_title_clean { 
	font-weight: bold;
	font-size: 110%;
	margin: 0.75em 0; 
	display: block;	
}

.wfu_container input.file_input_submit {
	margin-top: 0.5em;
}

/*contact form 7*/
.wpcf7-form label {
	font-weight: bold;
}
/* event cal */
#tribe-events-content .tribe-events-content a:hover {
	text-decoration: underline;	
}

#tribe-events-content .tribe-events-content a::before {
	content: '\2BC8 ';	
	font-style: normal;
}

#secondary .widget {
	margin-bottom: 1em;
}

