/*
 Theme Name:   Generate Press Child Theme
 Description:  Prevent changes of parent theme
 Author:       Ilko
 Template:     generatepress
 Version:      1.0
 Text Domain:  generatepress-child
*/

/* body {
    background: repeating-linear-gradient(
        45deg,
        #f0cf8d,
        #f0cf8d 4px,
        #f0cf8d 4px,
        #f0cf8d 8px,
        #f0cf8d 8px,
        #f0cf8d 12px,
        #ddbc83 12px,
        #ddbc83 16px
    );
} */

body {
    background: repeating-linear-gradient(
        45deg,
        #f9ecd1,
        #f9ecd1 4px,
        #f9ecd1 4px,
        #f9ecd1 8px,
        #f9ecd1 8px,
        #f9ecd1 12px,
        #f7d591 12px,
        #f7d591 16px
    );
}

.page-hero-schelling {
    /* background-size: initial; */
}

.widget-title {
    background: #f7d591;
    padding: 10px 26px;
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1em;
}

aside.widget ul,
aside.widget #calendar_wrap {
    padding: 0 26px;
}

aside.widget ul.upcoming ul {
    padding: 0;
}

a:hover {
    /* text-decoration: underline; */
}

a {
    cursor: pointer !important;
}

a[href='#']:hover {
    cursor: pointer !important;
}

li.menu-item {
    cursor: pointer;
}

li.menu-item a {
    font-weight: 500;
}

.main-navigation .main-nav ul ul li a {
    font-size: 1.05em;
    font-weight: 500;
}

.homeicon {
    background-image: url('https://www.schellingstrasse.de/wp/wp-content/uploads/2020/02/home-icon.png');
    background-repeat: no-repeat;
    background-position: left;
    width: 110px;
    text-indent: 200%;
    white-space: nowrap;
    overflow: hidden;
    float: left !important;
}

.homeicon.current-menu-item a,
.homeicon.current_page_item a {
    background-color: transparent !important;
}

.homeicon a:hover {
    background-color: none;
    float: left;
}

.page-hero {
    /* margin-bottom: 60px; */
    border-top: 110px solid transparent;
    border-bottom: 150px solid transparent;
    background-size: contain;
}

.header-wrap {
    /* margin-top: 680px; */
}

.inside-page-hero {
    display: none;
}

.inside-navigation {
    /* background-image: url('https://www.schellingstrasse.de/wp/wp-content/uploads/2020/03/bg_menu-05-2-scaled.jpg');
    background-size: 1300px; */
}

.main-navigation.is_stuck .inside-navigation{
    /* background-image: none !important; */
}

ul.dates li {
    cursor: pointer;
    margin-bottom: 12px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid #f7d591;
    padding: 8px 0;
}

ul.dates li:last-child {
    border: none;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.date-headline {
    width: 100%;
    display: block;
    border-bottom: 1px dashed white;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 1.1em;
}
.dates a {
    display: block;
}

.dates a:hover .date-headline, a:hover .date-content {
    
}

.dates a:hover .date-headline {
    /* border-bottom: 1px solid #f6bd41; */
}

.date-content {
    display: block;
}

.news li {
    list-style-type: disc !important;
    list-style-position: inside;
}

.news a:hover {
    text-decoration: underline;
}

.upcoming li.event-item {
    margin-bottom: 10px !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid #f7d591;
}

.upcoming li.event-item:last-child {
    border: none;
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

.upcoming li.event-title {
    font-weight: 500;
    font-size: 1.1em;
    padding: 8px 0;
}

.upcoming a {
    display: block;
}

.upcoming a:hover {
    display: block;
}

#site-navigation {
    background-color: #008282 !important;
}

.page-template-default .inside-navigation, .post-template-default .inside-navigation{
    background-image: none;
}

.icon {
    padding-right: 0.2em;
}

.sidebar .widget {
    font-size: 1em;
}

.sidebar .widget a:hover {
    cursor: pointer;
}

article:not(.has-post-thumbnail) header.entry-header {
    border-bottom: 1px solid #f7d591;
    padding-bottom: 1em;
}

.entry-summary {
    margin-top: 1.2em !important;
}
.scroll-down {
    white-space: nowrap;
    overflow: hidden;
    position: absolute;
    bottom: 50px;
    width: 240px;
    height: 80px;
    left: 50%;
    margin-left: -120px;
    margin-bottom: -40px;
    background: url('../images/arrow-down.png');
    opacity: .8;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -ms-transition: opacity .3s;
    -o-transition: opacity .3s;
    transition: opacity .3s;
    color: white;
    font-size: 1.35em;
    text-align: center;
}

.scroll-down .icon {
    font-size: 1.4em;
}

.scroll-down:hover {
    opacity: 1;
    color: white;
}

.scroll-down:visited {
    color: white;
}

.scroll-down.smooth-scroll.button {
    background: none;
}

.wp-caption-text {
    position: absolute;
    right: 10px;
    bottom: 0.5em;
    margin-bottom: 0;
    color: #fffbef;
    height: auto;
    line-height: initial;
}

.wp-caption {
    margin-bottom: 0;
}

footer.entry-meta {
	display: none;
}

.wp-block-preformatted {
	white-space: normal;
	line-height: 1.5;
}

@media only screen and (max-width: 1300px) {
    .inside-navigation{
        background-image: none !important;
    }

    .header-wrap {
        margin-top: 0;
    }

    .page-hero {
        margin-bottom: 0;
        background-size: contain;
        /* padding-top: 300px;
        padding-bottom: 300px; */
    }
    .header-wrap{
        position: relative;
    }
}

@media only screen and (max-width: 1100px) {
    .page-hero {
        /* padding-top: 250px;
        padding-bottom: 250px; */
    }
}


@media only screen and (max-width: 768px) {
    .page-hero {
        display: none;
    }
}