/*
 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: #009999
 * 
 */

html {
    overflow-y: scroll;
}
a.anchor {
    display: block;
    position: relative;
    top: -120px;
    visibility: hidden;
}
a {
    color: #009999;
}
audio {
    background-color: rgba(0, 255, 255);
    opacity: 0.5;
}
h2, h2 a {
    color: #333333 !important;
}
.site-title {
    text-transform: none;
}
.site-content a:hover {
    opacity: 0.7;
}
body.has-header-image .site-title a {
    color: #009999;
    font-size: 53px;
    font-weight: 600;
    text-shadow: -1px -1px 0px rgba(255, 255, 255, 1);
}
.page #content a {
    color: #009999;
}
.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 #009999;
}
.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: 0.9;
}

.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;
}

.site-featured-text.fifty.nopriority {
    display: none !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;
}

.menu-scroll-down.button {
    color: #009999;
    display: none;
    margin: 0;
    padding: 0;
    position: relative;
    text-align: right;
}

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

.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;
}
.title h2 {
    margin: -9px 0 5px 0;
}
.title .mp3 {
    margin: 13px 0 0 0;
}
.category .description {
    margin-bottom: 37px;
}
.date {

}
.bible {

}
.speaker {

}
.pdf {
    margin-top: -13px;
}
.next-link {
    display: none !important;
}
.esf-search {

}
.esf-search input {
    float: left;
    margin-right: 1%;
    width: 32%;
}
.esf-search select {
    float: left;
    margin-right: 1%;
    width: 32%;
}
.count {
    margin: 23px 0 29px 0;
}
#main li {
    margin-left: 13px;
}

  /* ---------- */
 /*   Player   */
/* ---------- */

.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
    background: #009999 !important;
}

  /* ---------- */
 /* 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: 1%;
    }
    .site-featured-text.fifty.nopriority {
        display: block !important;
    }
    .site-featured-text.fifty h1 {
        font-size: 1.5rem;
    }
    .menu-scroll-down.button {
        display: block;
    }
    .mobile {
        display: none;
    }
    .not-mobile {
        display: inline-block;
    }
    .fifty {
        float: left;
        width: 48%;
    }
    .fifty.left {
        margin-right: 2%;
    }
    .fifty.right {
        margin-left: 2%;
    }
    .site-featured-text.fifty > div {
        margin: 17px 17px 19px 17px;
    }
    .site-featured-text.fifty h1 {
        margin: 13px 0 13px 0;
        padding: 0;
    }
    .site-featured-text.fifty .speaker {
        font-size: 1.4em;
        margin: 13px 0 13px 0;
        padding: 0;
    }
    .prayer-list-item {
        border-bottom: 1px solid #E8E8E8;
        margin-bottom: 27px;
        padding-bottom: 25px;
    }
    .prayer-list-item > div {
        padding: 0 17px 0 0;
    }
    .prayer-list-item .title {
        float: left;
        width: 50%;
    }
    .prayer-list-item .read {
        float: left;
        width: 10%;
    }
    .prayer-list-item .author-date {
        float: left;
        width: 40%;
    }
    .prayer-list-item .author-date .date {
        font-size: 0.8em;
        text-align: right;
    }
    br.full-width {
        clear: both;
        display: inline-block;
    }
    .speaker {
        margin-bottom: 17px;
    }
    .speaker .name {
        float: left;
        width: 40%;
    }
    .speaker .description {
        float: left;
        width: 60%;
    }
}

/* 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: 5%;
    }
    .site-featured-text.fifty h1 {
        font-size: 1.875rem;
    }
}

/* 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: 20%;
    }
}

/* 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%;
}
