/*
 Theme Name:   Medienplus
 Description:  Custom Wordpress Theme for Medienplus
 Author:       Alina Kessler
 Author URI:   http://www.prowect.com
 Template:     twentynineteen
 Version:      1.0
 Text Domain:  medienplus
*/

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.1/css/all.min.css');

@import url('css/mp-services.css');
@import url('css/home.css');

body {
    font-family: 'Roboto', sans-serif;
}

a {
    color: #006797;
}

p, .entry-content ul > li {
    font-size: 0.8em;
}

h1::before, h2::before {
    display: none !important;
}

.site-branding {
    margin: 0;
}

.site-main {
    background-image: url(img/pre-footer.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: 100% auto;
    padding-bottom: 2.5rem;
    min-height: 900px;
    position: relative;
    z-index: 3;
}

#masthead {
    border-top: 8px solid #006797;
    background-image: url(img/header-nav-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    background-size: cover;
    padding: 0.5rem 0;
}

#masthead .row {
    flex-wrap: nowrap !important;
}

#mp-logo {
    max-height: 80px;
}

#header-phone-nr {
    font-weight: bold;
    float: right;
    margin-top: 0.5rem;
}

#site-navigation {
    position: relative;
    top: 1rem;
    margin-left: auto;
}

#menu-main {
    background-color: white;
}

#menu-main .submenu-expand {
    display: none;
}

#menu-main > li {
    position: relative;
    margin-left: -0.1rem;
}

#menu-main a {
    font-size: 0.7em;
    color: black !important;
}

#menu-main > li > a {
    display: inline-block;
    padding: 0.65rem;
    margin-right: 0;
}

#menu-main > li.current-menu-item:not(#menu-item-27) > a, #menu-main > li:not(#menu-item-27):hover > a {
    color: #006797 !important;
    background-color: #F1F2F4;
}

#menu-main > li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 0.65em;
    border: 1px solid #D9D9D9;
    position: absolute;
    top: 0.5rem;
    padding: 0;
    margin: 0;
    display: inline-block;
}

#menu-main > li:nth-last-child(2)::after {
    display: none !important;
}

#menu-main li.menu-item-has-children::after {
    top: 0.9rem;
}

#menu-main .sub-menu {
    background-color: white;
    width: 100%;
    text-align: center;
    border-bottom: 3px solid #006797;
    box-shadow: 2px 4px 8px #CCC;
}

#menu-main .sub-menu a {
    padding: 0.7rem;
}

#menu-main .sub-menu > li:not(:last-child) > a::after {
    content: '';
    position: relative;
    display: block;
    border-top: 1px solid #D9D9D9;
    width: 80%;
    height: auto;
    margin: auto;
    top: 0.5rem;
}

#menu-main .sub-menu a:hover {
    background-color: white !important;
    color: #006797 !important;
}

#menu-item-27 > a {
    background-color: #006797 !important;
    color: white !important;
}

#menu-item-27:hover > a, #menu-item-27 > a:hover {
    background-color: #005780 !important;
    color: white !important;
}

.text-right {
    text-align: right;
}

.container {
    margin: auto;
    width: 100%;
    max-width: 1200px;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
}

@media(max-width: 768px) {
    .container {
        padding-left: 0.8rem;
        padding-right: 0.8rem;
    }
}

.row {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.col {
    flex-grow: 1;
}

.col-sm-6 {
    width: 100%;
}

@media(min-width: 768px) {
    .col-sm-6 {
        max-width: 50%;
        padding-left: 1%;
        padding-right: 1%;
    }
}

.col-md-4 {
    width: 100%;
}

@media(min-width: 992px) {
    .col-md-4 {
        max-width: 33%;
        padding-left: 1%;
        padding-right: 1%;
    }
}

#lgx-particles-wrapper89 {
    position: relative;
    background-image: url(img/internetagentur-bonn-medienplus.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

#lgx-particles-wrapper89 canvas {
    position: absolute;
    top: 0;
    left: 0;
    height: auto !important;
    width: 100%;
    z-index: 0;
}

#main-slider {
    margin-top: -1rem;
    padding: 3rem;
}

.main-slider-text {
    margin-left: auto;
    border-left: 12px solid #006797;
    padding-left: 1rem;

    position: relative;
    z-index: 1;
}

.main-slider-form {
    position: relative;
    z-index: 1;
}

@media(min-width: 768px) {
    .main-slider-text {
        width: 50%;
    }   
}

.main-slider-text h3 {
    color: #006797;
    margin: 0.2rem 0;
}

.main-slider-text h1 {
    margin: 0.2rem 0;
}


.main-slider-text h2 {
    margin: 0.2rem 0;
    font-size: 1.8em;
}

@media(max-width: 992px) {
    #main-slider {
        padding: 2rem;
    }

    .main-slider-text h1 {
        font-size: 1.2em;
    }

    .main-slider-text h2 {
        font-size: 1em;
    }

    .main-slider-text h3 {
        font-size: 0.8em;
    }

    .main-slider-field {
        display: none !important;
    }
}
.main-slider-form {
    margin-left: auto;
    margin-top: 2rem;
}

@media(min-width: 768px) {
    .main-slider-form {
        width: 65%;
    }
}

.main-slider-field {
    background-color: rgba(255, 255, 255, 0.7);
    display: block;
    padding: 0.3rem 1.8rem 0.3rem 0.8rem;
    min-width: 340px;
}

@media(min-width: 768px) {
    .main-slider-field {
        display: inline-block;
        margin-right: -1rem;
    }
}

.main-slider-btn {
    background-color: #006797;
    display: block;
    color: white !important;
    padding: 0.3rem 0.8rem;
}

.main-slider-btn:hover {
    color: white !important;
    background-color: #005780;
}

@media(min-width: 768px) {
    .main-slider-btn {
        display: inline-block;
    }
}

.home .entry-header {
    display: none;
}

.entry-header, .entry-footer {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.entry-footer {
    margin-bottom: 1rem !important;
}

.entry-footer span.byline, .entry-footer span.cat-links {
    display: none;
}

.entry-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.entry-content > * {
    max-width: 100% !important;
}

.entry-content h2 {
    font-weight: bold;
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 15px !important;
}

.entry-content h2 > strong {
    color: #006797;
    font-weight: bold;
}

.entry-content h3 {
    margin-top: 0 !important;
    font-weight: normal;
    font-size: 1.5em;
    text-align: center;
}

.site-footer {
    padding: 3rem 0;
    background-color: #2E2E2E;
    color: #B4B4B4;
}

.site-footer a {
    color: #B4B4B4;
}

.site-footer a:hover {
    color: #006797;
}

#mp-footer-logo {
    position: relative;
    top: 20%;
    max-height: 75px;
    display: block;
}

@media(min-width: 992px) {
    #mp-footer-logo {
        margin-left: auto;
        margin-right: 1rem;
    }

    .site-footer .col-md-4:first-child {
        border-right: 2px solid #B4B4B4;
    }

    .site-footer .col-md-4:nth-child(2) {
        padding-left: 2%;
    }
}


.button:hover {
    background-color: #005780;   
    color: white;
}

#comments {
    display: none;
}

.site-post-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    min-height: 50vh;
    background-size: cover;
    background-position: center center;
    display: table;
    /*background-attachment: fixed;*/
}

.site-post-image-container::before {
    content: '';
    position: absolute;
    background: rgb(255,255,255);
    background: -moz-linear-gradient(155deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,1) 100%);
    background: -webkit-linear-gradient(155deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,1) 100%);
    background: linear-gradient(155deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
    z-index: 0;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    transform: none;
}

@media(min-width: 1200px) {   
    .site-post-image-container::before {
        width: 80% !important;
        height: 150vh !important;
        top: -25vh !important;
        right: -20% !important;
        transform: rotate(25deg) !important;
    }
}

.site-post-image-content-container {
    display: table-cell;
    vertical-align: middle;
    text-align: right;
    height: 100%;
    position: relative;
    z-index: 1;
}

.site-post-image-content-wrapper {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    padding-top: 5%;
}

.site-post-title {
    color: #006797;
    font-size: 2.2em;
}

.site-post-date {
    display: block;
    font-size: 1em;
    color: #333;
    margin-bottom: -1.5rem;
}

.archive .page-header {
    display: none;
}

.footer-primary-navigation .footer-primary-menu li {
    list-style-type: square;
    color: #006797;
}
