/*
 Theme Name:   twentyseventeen-child
 Theme URI:    
 Description:  twentyseventeen Child Theme
 Author:       Erich Schweizer-Ferrari
 Author URI:   https://www.kath.ch
 Template:     twentyseventeen
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twentyseventeen-child
*/

/**
 * medientipp.ch
 *
 * Copyright 2017 Katholisches Medienzentrum, Erich Schweizer-Ferrari
 */

/**
 * Farben
 * green: #00A2B2
 * 
 */

html {
    overflow-y: scroll;
}
a.anchor {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}
.site-content a:hover {
    opacity: 0.7;
}
body.has-header-image .site-title a {
    color: #00A2B2;
    text-shadow: -1px -1px 1px rgba(224, 224, 224, 0.5);;
}
.single-event #content a, .page #content a {
    color: #00A2B2;
}
.page #content .infinite-scroll a {
    color: inherit;
}
.navigation-top .current-menu-item > a, .navigation-top .current_page_item > a, .navigation-top .current-menu-ancestor > a {
    border-bottom: 2px solid #00A2B2;
}
.site-featured-text {
    display: none;
    opacity: 0;
}
.site-content {
    padding-top: 37px;
}
header + h2 {
    padding-top: 0;
}
.has-header-image.twentyseventeen-front-page .site-featured,
.has-header-video.twentyseventeen-front-page .site-featured,
.has-header-image.home.blog .site-featured,
.has-header-video.home.blog .site-featured {
    display: block;
    left: 0;
    height: auto;
    padding-top: 0;
    position: absolute;
    top: 5%;
    width: 100%;
    z-index: 1000;
}

.has-header-image.twentyseventeen-front-page .site-featured .site-featured-text,
.has-header-video.twentyseventeen-front-page .site-featured .site-featured-text,
.has-header-image.home.blog .site-featured .site-featured-text,
.has-header-video.home.blog .site-featured .site-featured-text {
    background-image: url('images/white_pixel_95.png');
    border-radius: 7px;
    display: block;
    opacity: 1;
}

.has-header-image.twentyseventeen-front-page .site-featured .site-featured-text > div,
.has-header-video.twentyseventeen-front-page .site-featured .site-featured-text > div,
.has-header-image.home.blog .site-featured .site-featured-text > div,
.has-header-video.home.blog .site-featured .site-featured-text > div {
    padding: 10px 11px 10px 11px !important;
}

.image-container {
    display: block;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16 : 9 */
    padding-top: 0px;
    position: relative;
}
.image-container > div, .image-container > span {
    background-size: cover;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.image-caption {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    margin-top: 5px;
    margin-bottom: 37px;
    padding: 0 5px 0 5px;
}
.single-featured-image-header {
    background-color: #e8e8e8;
}
.single-featured-image-header .image-caption {
    margin-bottom: 7px;
}
.channel-icon {
    float: right;
    margin-left: 27px;
    width: 27px;
}

/* event-list */
.event-list-item {
    z-index: 100000;
}
.event-list-item > .event-list-image {
}
.event-list-item > .event-list-image > a > img + span {
    display: block;
    font-size: 0.8em;
}
.event-list-item > .event-list-text {
    margin-bottom: 37px;
}
.event-list-item > .event-list-text > .event-list-text-title {
}
.event-list-item > .event-list-text > div > .event-list-text-title {
    font-size: 1.2em;
    font-weight: normal;
}
.event-list-item > .event-list-text > div > a > .event-list-text-description {
    display: none;
}
.event-list-item > .event-list-text + .clear-both {
    display: none;
}
.event-list-text-description, .event-list-text-broadcast {
    display: block;
    font-size: 1em;
    font-weight: normal;
    margin-bottom: 7px;
}
.event-list-item-pro {
    border-bottom: 1px solid #00A2B2;
    margin-bottom: 13px;
    padding-bottom: 13px;
}
.menu-scroll-down.button {
    color: #00A2B2;
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: right;
}
.event_datetimechannel {
    font-style: italic;
}

.mobile {
    display: inline-block;
}
.not-mobile {
    display: none;
}
button, input[type="button"], input[type="submit"] {
    background-color: #00A2B2;
}

.loginform {
    margin-bottom: 29px;
    margin-top: 37px;
}
.loginform input + button {
    padding: 0.1em 0.5em 0.1em 0.5em;
}
.loginform input[type="text"], .loginform input[type="password"], .loginform textarea {
    float: left;
    margin-bottom: 7px;
    padding: 0.1em 0.3em 0.1em 0.3em;
    width: 50%;
}
.loginform input[type="password"] {
    margin-left: 2%;
    width: 48%;
}
.supp-menu {
    float: right;
}
.wrap-pro {
    margin-left: 1%;
    margin-right: 1%;
}
.esf-pro input, .esf-pro select {
    float: left;
    width: 50%;
}
.esf-pro select {
    padding-left: 7px;
}
.pending {
    background-color: #FFFFCC;
}
.credits {
    background-color: #E8E8E8;
    font-style: italic;
    padding: 7px 9px 7px 9px;
    width: 100%;
}
.credits > span {
    font-style: normal;
}
.kurztext {
    border-top: 1px solid #00A2B2;
    font-style: italic;
    margin-top: 37px;
    margin-bottom: -21px;
    padding-top: 37px;
    width: 100%;
}

.esf-poll .poll-result .poll-title, .esf-poll .poll-question .poll-title {
    display: block;
    margin-bottom: -37px;
    color: #999999;
}

  /* ---------- */
 /* Responsive */
/* ---------- */

/* Extra small devices (phones, up to 480px) */
/* No media query since this is the default in Bootstrap */

/* Small devices (tablets, 768px and up) */

@media (min-width: 768px) {
    .has-header-image.twentyseventeen-front-page .site-featured,
    .has-header-video.twentyseventeen-front-page .site-featured,
    .has-header-image.home.blog .site-featured,
    .has-header-video.home.blog .site-featured {
        top: 10%;
    }
    /* event-list */
    .event-list-item {
    }
    .event-list-item > .event-list-image {
        float: left;
        width: 40%;
    }
    .event-list-item > .event-list-text {
        float: left;
        width: 60%;
    }
    .event-list-item > .event-list-text > div {
        padding-left: 29px;
    }
    .event-list-item > .event-list-text > div > a > .event-list-text-description {
        display: block;
    }
    .event-list-item > .event-list-text + .clear-both {
        clear: both;
        display: block;
    }
    .menu-scroll-down.button {
        display: block;
    }
    .event_datetimechannel {
        background-color: #d4eff2;
        float: right;
        font-style: normal;
        margin: 5px 0 29px 29px;
        padding: 13px;
    }
    .mobile {
        display: none;
    }
    .not-mobile {
        display: inline-block;
    }
    .esf-pro input, .esf-pro select {
        float: left;
        width: 17%;
        margin-right: 2%;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .has-header-image.twentyseventeen-front-page .site-featured,
    .has-header-video.twentyseventeen-front-page .site-featured,
    .has-header-image.home.blog .site-featured,
    .has-header-video.home.blog .site-featured {
        top: 15%;
    }
    .esf-pro {

    }
    .event-list-item-pro .datetime {
        float: left;
        font-size: 15px;
        width: 10%;
    }
    .event-list-item-pro .datetime div {
        margin-right: 29px;
    }
    .event-list-item-pro .station {
        float: left;
        width: 10%;
    }
    .event-list-item-pro .station div {
        margin-right: 29px;
    }
    .event-list-item-pro .title {
        float: left;
        width: 25%;
    }
    .event-list-item-pro .title div {
        margin-right: 29px;
    }
    .event-list-item-pro .text {
        float: left;
        width: 28%;
    }
    .event-list-item-pro .text div {
        margin-right: 29px;
    }
    .event-list-item-pro .image {
        float: left;
        width: 20%;
    }
    .event-list-item-pro .image div {
        margin-right: 29px;
    }
    .event-list-item-pro .admin {
        float: left;
        width: 7%;
    }
    
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .has-header-image.twentyseventeen-front-page .site-featured,
    .has-header-video.twentyseventeen-front-page .site-featured,
    .has-header-image.home.blog .site-featured,
    .has-header-video.home.blog .site-featured {
        top: 25%;
    }
}

/* responsive youtube video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0px; height: 0; overflow: hidden;
}
 
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
