/*
  Theme Name: MOPS Wordpress
  Author: Röser MEDIA / Mario Müller
  Author URI: http:www.roeser-medienhaus.de
  Description: Basis WordPress Theme basierend auf Bootstrap 4.0.0
  Version: 1.0
*/

/*------------------------------------*\
    Global
\*------------------------------------*/


a {
    color: #000;
    text-decoration:  underline;
}

a:hover,
a:active,
a:focus {
    color: #000;
    text-decoration: none;
}

.wp-post-image {
    max-width: 100%;
    height: auto;
}

hr {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

iframe {
	width: 100%;
	max-width: 100%;
    display: block;
}

/* BS Override */
.bg-light {
    background-color: #efefef!important;
}


/*------------------------------------*\
    Grid
\*------------------------------------*/

@media (min-width: 768px) {
    .container {
        max-width: 580px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 916px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1046px;
    }
}


/*------------------------------------*\
    Font
\*------------------------------------*/

.h1,
h1 {
    font-size: 1.7rem
}

.h2,
h2 {
    font-size: 1.5rem
}

.h3,
h3 {
    font-size: 1.3rem
}

.h4,
h4 {
    font-size: 1.2rem
}

.h5,
h5 {
    font-size: 1rem
}

.h6,
h6 {
    font-size: 1rem
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1rem;
}



/*------------------------------------*\
    WordPress Core
\*------------------------------------*/

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
figure.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption figcaption.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}

/*------------------------------------*\
    Header
\*------------------------------------*/

/*------------------------------------*\
    Search
\*------------------------------------*/

form.site-search {
    margin-bottom: 1em;
}

.site-search input.form-control {
    border-radius: 0px;
}

.site-search input[type=submit] {
    border: 0px;
    color: #fff;
}

/*------------------------------------*\
    Navigation
\*------------------------------------*/

.navbar a.nav-link {
    /*font-size: 1.2rem;*/
    font-weight: 600;
    text-decoration: none; /* reset */
}
/*
.navbar-light .navbar-nav .nav-link {
    color: #43bfe3;
}
.navbar-light .navbar-nav .active>.nav-link, 
.navbar-light .navbar-nav .nav-link.active, 
.navbar-light .navbar-nav .nav-link.show, 
.navbar-light .navbar-nav .show>.nav-link,
.navbar-light .navbar-nav .nav-link:focus, 
.navbar-light .navbar-nav .nav-link:hover {
	color: #43bfe3;
    text-decoration: underline;
}
*/

.dropdown-menu {
}

.dropdown-item.active,
.dropdown-item:active,
.dropdown-item:focus,
.dropdown-item:hover {
    background-color: #43bfe3;
    color: #fff;
}

.navbar-toggler {
    width: 100%;
}

@media (max-width: 767px) {
	.navbar-light .navbar-toggler {
	    border-color: rgba(0,0,0,.3);
	}

	.nav-link {
	    padding: 1rem 1rem;
	    border-bottom: 1px solid rgba(0,0,0,.3);
	}
}

/*------------------------------------*\
    Content
\*------------------------------------*/

.blog article.post,
.custom_loop{
    border-top: 1px solid #eee;
    margin-top: 2em;
    padding-top: 2em;
}

.site-pagination {
    border-top: 1px solid #ddd;
}

.wp-post-image {
    margin: 1em 0em;
}

.single .wp-post-image {
    margin: 0 0 1em 0;
}

/*------------------------------------*\
    Slider
\*------------------------------------*/

.carousel-inner {
    border: 1px solid #e4e4e4;
	box-shadow: 1px 1px 5px #adadad;
    box-shadow: 1px 1px 5px rgba(0,0,0,.3);
}

/*------------------------------------*\
    Sidebar
\*------------------------------------*/
/*
.site-sidebar .widget ul {
    list-style: none;
    padding: 0;
}
*/

.widget {
    background: #efefef; /*bg-light*/
    padding: 1.5rem; /*p-4*/
}
.widget + .widget {
  margin-top: 1.5rem;
}

/*------------------------------------*\
    Footer
\*------------------------------------*/

.site-footer {
    background-color: #efefef;
}

.site-footer a {
    color: rgba(0,0,0,.5);
    font-size: .8rem;
    display: block;
    padding: 10px;
    text-decoration: none; /* reset */
}

.site-footer a.active {
    text-decoration: underline;
}

footer ul.nav li:first-child a {
    padding-left: 0;
}

.site-footer .widget {
    width: 100%;
    padding: 1em;
    background: #3d434a;
}

.site-footer .widget ul {
    list-style: none;
    padding: 0;
}

.site-footer .site-footer-widgets {
    margin-top: 2em;
    margin-bottom: 2em;
}

/*------------------------------------*\
    Mobile
\*------------------------------------*/

@media (max-width: 991px) {
    .wp-post-image {
        width: 100%;
    }
}
