/*
* Theme Name:    MR Online
* Theme URI:     https://mr-netz.de
* Author:        Martin Roebers
* Author URI:    https://mr-netz.de
* Description:   Theme für MR Online
* Version:       1.0
*/


*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: 0;
}

html, body {
    font-family: 'Open Sans', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.center-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center; 
}

header {
    padding: 15px;
    background-color: rgba(255,255,255,0.85);
    border-bottom: 4px solid #f3953f;
    box-shadow: 0 0 4px 4px rgba(0,0,0,0.4);
    transition: all 0.25s;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.25s;
}

.logo {
    transition: all 0.25s;
}

.logo img {
    width: 100%;
    height: auto;
    transition: all 0.25s;
}

.hero {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 0 50px 0;
    height: 100vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

.hero-unterseiten {
    padding: 0;
    height: 70vh;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
}

.hero-unterseiten img {
    width: 100%;
    height: auto;
}

@media (max-width:992px) {
    .hero-unterseiten {
        height: 30vh;        
    }
}

#scroll-up {
    padding-top: 145px !important;
}

p {
    color: #4b4b4b;
    font-weight: 400;
    font-size: 20px;
}

em {
    font-weight: 400i;
}

main a {
    color: #164194;
    font-size: 20px;
}

main a:hover {
    color: #f3953f;
    text-decoration: none;
}

main img {
    padding-bottom: 1rem;
}

main ul,
main dl {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

main ul li,
main dl li {
    display: block;
    font-size: 20px;
    color: #4b4b4b;
    padding: 10px;
    margin: 0 0 15px 0;
    border: 1px solid #f3953f;
}

main ol {
    margin: 0 0 0 20px;
    padding: 0;
}

main ol li {
    color: #4b4b4b;
    font-size: 20px;
    margin-bottom: 15px;
}

h1, h2, h3 {
    color: #164194;
    font-weight: 700;
    margin-bottom: 2rem;
}

h4, h5, h6 {
    color: #4b4b4b;
    font-weight: 700;
    margin-bottom: 1rem;
}

.button {
    display: inline-block;
    color: #fff;
    background-color: #f3953f;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 10px;
    padding: 10px;
}

.button:hover {
    text-decoration: none;
    color: #fff;
    background-color: #164194;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    transition: all 0.25s;
}

main {
    padding-top: 100px;
    padding-bottom: 100px;
}

main h2 {
    margin-bottom: 2rem;
}

main h3,
main h4,
main h5,
main h6 {
    margin-bottom: 0.75rem;
}

.neues-box {
    display: block;
    padding: 20px;
    background-color: #fff;
    margin-bottom: 30px;
    box-shadow: 0 0 2px 2px rgba(0,0,0,0.2);
    transition: all 0.25s;
}

.neues-box:last-child {
    margin-bottom: 0;
}

.neues-box:hover {
    transform: scale(1.01);
    transition: all 0.25s;
}

.neues-box:hover .neues-bild,
.random-post:hover .neues-bild-random {
    opacity: 0.75;
    transition: all 0.25s;
}

.blog {
    background-color: #cfe09b;
    padding-top: 100px;
    padding-bottom: 100px;
}

.bg-category-blog {
    background-color: #cfe09b;
}

.neues-bild {
    height: 320px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    margin: -20px -20px 20px -20px !important;
    transition: all 0.25s;
}

.random-posts-wrap {
    padding-bottom: 70px;
}

.random-posts-wrap h3 {
    margin-bottom: 50px;
}

.neues-bild-random {
    height: 200px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    transition: all 0.25s;
}

.neues-titel-random {
    height: 120px;
    padding: 5px 15px 0 15px;
    background-color: #cfe09b;
}

.random-post-link {
    background-color: #cfe09b;
    padding-bottom: 25px;
}

.random-post {
    margin-bottom: 30px;
}

@media (max-width:576px) {
    .blog-footer p {
        font-size: 16px;
    }
}

@media (max-width:576px) {
    .neues-bild {
        height: 200px;
    }
}

.blog-footer {
    display: block;
    padding-top: 5px;
    margin-top: 30px;
    border-top: 1px solid #4b4b4b;
}

.blog-footer p {
    font-size: 18px;
    text-align: right;
}

.blog-archiv li {
    border: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.blog-archiv li:last-child {
    margin-bottom: 0;
}

.blog-archiv li a {
    font-size: 16px;
}

@media (max-width:576px) {
    .blog-footer p {
        font-size: 16px;
    }
}

.category-link {
    margin-top: 30px;
}



/* FOOTER */

footer {
    background-color: #4b4b4b;
    padding: 30px;
}

.footer-menu ul {
    margin: 0;
    padding: 0;
}

.footer-menu ul li {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.footer-menu ul li a {
    display: block;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    padding: 0 15px 0 15px;
}

.footer-menu ul li a:hover {
    text-decoration: none;
    color: #f3953f;
}

@media (max-width:576px) {
    .footer-menu ul li {
        display: block;
    }
    
    .footer-menu ul li a {
        text-align: center;
        margin-bottom: 15px;
    }
    
    .footer-menu ul li:last-child a {
        margin-bottom: 0;
    }
}