/*
Theme Name:   Mercia Child
Description:  Mein Child Theme
Author:       DK
Author URI:   https://derkonfigurator.de
Template:     mercia
Version:      1.0
Text Domain:  mercia-child
*/


body {
	hyphens: auto !important;
	background-image: url('/wp-content/uploads/2020/07/bg-body.jpg');
	background-attachment: fixed;
	background-size: cover;
	background-repeat: no-repeat;
}

body,
button,
input,
select,
textarea {
	/*font-size: 14px;
	font-size: 0.9rem;
	line-height: 1.5;
	font-family: "Roboto";*/
}

/*h3.widget-title {
	border-bottom: 2px solid #49942B;
}*/

h2, h4.widget-title {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    align-items: flex-end;
    text-align: left;
}

h2:after, h4.widget-title:after {
    content: '';
    border-top: 1px solid;
    margin: 0 0 6px 10px;
    flex: 1 0 20px;
}

h4.widget-title {
	text-transform: none !important;
	font-weight: 600 !important;
    font-size: 18px !important;
}

.sidebar_postgrid h3 {
	padding: 10px;
    background-color: #e4e4e4;
	font-size: 18px !important;
	font-weight: 600 !important;
	margin-bottom: 0px 0px 6px 0px !important;
	color: #3b3b3b !important;
}
.sidebar_postgrid .uagb-post__cta, .sidebar_postgrid .uagb-post__inner-wrap{
	background-color: #ffffff !important;
}
.sidebar_postgrid .uagb-post__text {
	padding: 0px !important;
}
.sidebar_postgrid .uagb-post__excerpt {
	margin-bottom: 10px !important;
}
.sidebar_postgrid a.uagb-post__link.uagb-text-link {
	font-weight: 600 !important;
	font-size: 16px !important;
	padding: 5px 0px !important;
	color: #353535 !important;
}

.wp-block-button {
	margin-bottom: 0px !important;
}

@supports (display: grid){
@media only screen and (min-width: 75em){
.site-main article {
    margin-bottom: 0px !important;
}
}
}

li {
	margin-bottom: 10px;
}
a:link, a:visited, .site-title a:hover {
	color: #49942B;
}
.wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color), .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):link, .wp-block-button:not(.is-style-outline) .wp-block-button__link:not(.has-text-color):visited {
	background-color: #49942B;
}

.main-navigation-menu li.current-menu-item > a {
	text-decoration: none !important;
}
.main-navigation-menu a:hover, .main-navigation-menu a:active {
	color: #49942B !important;
}

.widget-magazine-posts .magazine-posts-overlay .type-post .post-image .wp-post-image {
	filter: brightness(100%) !important;
}
.widget-magazine-posts .magazine-posts-overlay .type-post .post-image .wp-post-image:hover {
	filter: brightness(110%) !important;
}
.widget-magazine-posts .magazine-posts-overlay .type-post .post-content {
	background: rgba(0,0,0,0.6);
}

.widget-magazine-posts .magazine-posts-overlay .type-post .post-content .entry-header .txtlizenz {
	font-size: 0.8rem !important;
	color: #ffffff !important;
	text-shadow: 1px 2px 3px #353535;
}
.widget-magazine-posts .magazine-posts-overlay .type-post .post-content .entry-header .txtlizenz a, .widget-magazine-posts .magazine-posts-overlay .type-post .post-content .entry-header .txtlizenz a:hover, .widget-magazine-posts .magazine-posts-overlay .type-post .post-content .entry-header .txtlizenz a:visited {
	color: #ffffff !important;
}

.widget-magazine-posts .magazine-posts-overlay {
	grid-gap: 8px !important;
}
.magazine-post-large.magazine-post-overlay.magazine-post {
	background-color: #000000;
}

figure.teaser_image {
	position: relative;
}
.teaser_image figcaption {
	position: absolute;
	top: 0px;
	padding: 6px;
	background: rgba(73,148,43,0.8);
	color: #ffffff;
	font-weight: bold;
	margin-top: 0px;
	width: 100%;
	text-align: left;
	font-size: 18px;
}
.teaser_image figcaption > a, .teaser_image figcaption > a:link, .teaser_image figcaption > a:active{
	color: #ffffff !important;
	text-decoration: none;
}


.wp-block-uagb-info-box.bg-grey {
	padding: 20px 10px 10px;
	background-color: #e4e4e4;
}

.uagb-post-grid div.caption {
	padding: 0px 10px;
	font-size: 0.8rem;
}

.default_postgrid .uagb-post__inner-wrap {
	position: relative;
}
.default_postgrid .uagb-post__title {
	position: absolute;
	top: 0px;
	background: rgba(255,255,255,0.6);
	width: 100%;
	margin-left: -20px;
	padding: 20px;
}

.site-info {
	float:left;
}
.sub_menue {
	float: right;
	padding: 1em 0;
	font-size: 0.9375rem;
}

.btn_cookie {
	background: #49942B !important;
	border-radius: 0px;
}

/*.rpwwt-widget ul li img {
    display: block !important;
    float: none !important;
}*/
.rpwwt-widget ul li, .rpwwt-widget ul > li:last-child {
    border-top: none !important;
	border-bottom: 1px solid #353535;
}
.rpwwt-post-title {
	color: #353535;
	font-weight: 600;
}

@media (min-width: 782px) and (max-width: 976px){
	.wp-block-columns {
    	flex-wrap: wrap !important;
	}
}
@media (max-width: 976px) {
	.wp-block-column {
    	flex-basis: 100% !important;
	}
	.wp-block-column:not(:first-child) {
    	margin-left: 0px;
	}
}


@media only screen and (min-width: 40em) {
	
}

@media only screen and (min-width: 20em){
	
}
