/*!
Theme Name:    co:listic childtheme
Author:        co:listic
Author URI:    https://colistic.de
Description:   co:listic Theme
Version:       1.0.0
License:       GNU General Public License v3 or later
License URI:   https://www.gnu.org/licenses/gpl-3.0.html
Template:      page-builder-framework
Text Domain:   page-builder-framework-child
*/

/*############################################# General Settings ############################################# */

body {
	font-family: "Open Sans", sans-serif;
	font-size: 16px;
	color: var(--fl-global-black);
}

h1, h2, h3 {
	font-size: 1.125rem;
}

h2, h3 {
	color: var(--fl-global-grey);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Open Sans", sans-serif;
	font-weight: 600;
}


/*############################################# Header & Footer ############################################# */

#header {
	box-shadow: 0 0 9px 0 black;
}

.wpbf-widget-footer {
	background-image: url('/wp-content/uploads/bg_footer.png');
	background-repeat: repeat;
    box-shadow: 2px 1px 5px 0 rgba(0, 0, 0, 0.75);
}

#header .wpbf-menu-right .wpbf-menu {
	width: 100%;
	display: flex;
    justify-content: space-between;
}

#navigation .wpbff.wpbff-arrow-down {
    display: none;
}

#header .wpbf-navigation .wpbf-menu > .menu-item {
	padding-left: 0;
	padding-right: 0;
}

@media (min-width: 1400px) {
	#header .wpbf-menu-right .wpbf-menu {
		width: auto;
	}
	
	#header .wpbf-navigation .wpbf-menu > .menu-item {
		padding-left: 40px;
		padding-right: 40px;
	}
	
	#navigation {
		margin-right: -60px;
	}
}

#header .wpbf-navigation .wpbf-menu > .menu-item > a {
	padding-left: 0;
	padding-right: 0;
}

#header .wpbf-menu > .current-menu-parent > a {
	border-bottom: 2px solid var(--fl-global-accent-color);
}

#navigation {
	margin-top: 40px;
}

#navigation .wpbf-menu-item-search {
	margin-top: -50px;
	margin-left: -92px;
}

#header .wpbf-menu-search {
	width: 250px !important;
	margin-top: -15px;
	/* Suchfeld immer anzeigen */
	display: block !important;
    opacity: 1 !important;
}

#header .wpbf-menu-search input[type="search"] {
	width: 100%;
	background-color: var(--fl-global-grey);
	color: var(--fl-global-white);
	height: auto;
    padding: 7px 5px;
	font-size: 0.875rem;
}

#header .wpbf-menu-search .searchform button {
	right: 5px;
}

#header .wpbf-menu-search .wpbff-search,
#header .wpbf-menu-search .wpbff-search:before {
	color: var(--fl-global-white);
}

#header .wpbf-menu-search input::placeholder {
	color: transparent;
	opacity: 0;
}

.wpbf-mobile-menu .menu-item-has-children .wpbf-submenu-toggle {
	padding-top: 5px;
}

#header .wpbf-mobile-logo {
	width: 100px;
	height: auto;
}

#header .wpbf-mobile-nav-wrapper .wpbf-menu-search {
	width: calc(100% + 30px) !important;
	margin-left: -30px;
	margin-top: 0px;
    margin-bottom: 5px;
}

/*############################################# Layout ############################################# */

@media (min-width: 768px) {
	#header .wpbf-container,
	#footer .wpbf-container,
	.fl-builder-content > .fl-row:not(.fl-row-full-width),
	.home #hero .fl-col-content > .fl-col-group {
		width: 95%;
		margin: 0 auto;
	}
	
	.fl-builder-content > .fl-row:not(.fl-row-full-width) > .fl-row-content-wrap,
	.home #hero .fl-col-content > .fl-col-group {
		padding-left: 0;
		padding-right: 0;
	}
}

@media (min-width: 1200px) {
	#header .wpbf-container,
	#footer .wpbf-container,
	.fl-builder-content > .fl-row:not(.fl-row-full-width),
	.home #hero .fl-col-content > .fl-col-group {
		width: 80%;
	}
}

body.home hr {
    color: var(--fl-global-accent-color);
    margin-top: 50px;
    margin-bottom: 50px;
}

.wpbf-container {
	padding-left: 20px;
	padding-right: 20px;
}

/*############################################# Forms ############################################# */

textarea, select, input[type=text], input[type=password], input[type=email], input[type=url], input[type=search], input[type=tel], input[type=number], input[type=datetime] {
	border: 1px solid var(--fl-global-black);
	width: auto;
    padding: 5px;
	border-radius: 2px;
	font-size: 0.75em;
}

/*############################################# Single CPT Pages ############################################# */

.fl-post-feed > ul > li {
    box-shadow: 0 5px 2px -2px rgba(133, 133, 133, 0.12);
    padding-left: 10px;
}

.fl-post-feed > ul > li .fl-post-feed-title,
.fl-post-feed > ul > li .fl-post-feed-header {
	margin-bottom: 0;
}
.fl-post-feed > ul > li .fl-post-feed-title a {
	font-size: 1rem;
	padding: 10px 0;
	display: block;
}

.fl-post-feed > ul > .current {
	border-bottom: 2px solid var(--fl-global-accent-color);
}

.fl-post-feed > ul > li:hover {
	background-color: var(--fl-global-accent-color);
}
.fl-post-feed > ul > li:hover .fl-post-feed-title a {
	color: var(--fl-global-white);
}