/*
 Theme Name:   WP Bootstrap Starter Child
 Theme URI:    
 Description:  WP Bootstrap Starter Child Theme
 Author:       Erich Schweizer-Ferrari
 Author URI:   https://www.kath.ch
 Template:     wp-bootstrap-starter
 Version:      1.0.0
 Tags:         lightweight, uncluttered, easy to customize, based on Twitter Bootstrap v4.x
 Text Domain:  wp-bootstrap-starter-child
*/


/* =Theme customization starts here
-------------------------------------------------------------- */

/**
 * bg 
 * link 88cc33
 * hover 77bb22
 */

html {
    height: 100%;
}
body {
    color: #666666;
    font-family: 'PT Serif', serif;
    font-size: 1.2rem;
    height: 100%;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'PT Sans', sans-serif;
}
h1 {
    font-size: 2rem;
}
h1.page-title, h1.entry-title {
    border-bottom: 1px solid #999999;
    font-size: 2rem;
    margin-bottom: 0.3rem;
    margin-top: 2rem;
    padding-bottom: 0.3rem;
}
h2 {
    font-size: 1.6rem;
    margin-top: 2rem;
}
h3 {
    font-size: 1.4rem;
}
h4 {
    font-size: 1.2rem;
}
.screen-reader-shortcut {
    position: absolute;
    top: -1000em;
}
.screen-reader-shortcut:focus {
    left: 0.4rem;
    top: 0.4rem;
    height: auto;
    width: auto;
    display: block;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 1.5rem 1rem;
    background: #f1f1f1;
    color: #88cc33;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
    outline: 0;
}

a {
    color: #88cc33;
}
a:hover {
    color: #77bb22;
}

#page-sub-header {
    /* padding-bottom: 20.833%; */
    padding-top: 0;
    height: 0;
    overflow: hidden;
}
header#masthead {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
}

.navbar-brand > a {
    color: #88cc33;    
}

.navbar-toggler {
    font-size: 2rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav {
    margin-top: 0.5rem;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #88cc33;
    font-size: 1.3rem;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    color: #77bb22;
    text-decoration: underline;
}    
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #88cc33;
}    
#masthead > .container {
    max-width: 100%;
    margin-left: -15px;
    margin-right: -15px;
}
#masthead > .container > .navbar > .navbar-brand {
    max-height: 108px;
    max-width: 30%;
}
#masthead .navbar-brand > a:hover {
    color: #77bb22;
}
#masthead .navbar-nav > li > a {
    font-weight: 600 !important;
}
#masthead .navbar-nav > li > a:hover {
    color: #88cc33;
    font-weight: 600;
}
#masthead .navbar-nav > li.active > a:hover {
    color: #88cc33;
    font-weight: 600;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    padding: 0.5rem 1rem 0.5rem 1rem;
}
#content.site-content {
    padding-top: 1rem;
}

.navigation {
    position: relative;
}
.navigation nav {
    font-family: 'PT Sans', sans-serif;
    margin-top: 1rem;
    position: absolute;
    vertical-align: middle;
}

.fullwidth {
    width: 100%;
}

.bloginfo {
    font-family: 'PT Sans', sans-serif;
    font-size: 1rem;
    margin-right: 0.6rem;
    max-width: 387px;
}

.wp-block-image figcaption {
    margin-top: 0.3rem;
    margin-bottom: 1rem;
    text-align: left;
    font-size: 1rem;
}

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


/* Extra small devices (portrait phones, less than 576px)
   No media query since this is the default in Bootstrap */

/* Small devices (landscape phones, 576px and up) sm */
@media (min-width: 576px) {
    body:not(.theme-preset-active) #masthead .navbar-nav {
        margin-top: 1rem;
    }
}

/* Medium devices (tablets, 768px and up) md */
@media (min-width: 768px) {
    body:not(.theme-preset-active) #masthead .navbar-nav {
        margin-top: 2rem;
    }
    h1.page-title, h1.entry-title {
        margin-top: 0;
    }
    .navigation nav {
        margin-top: 2rem;
    }
}

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    body:not(.theme-preset-active) #masthead .navbar-nav {
        margin-top: 0;
    }
    .navigation nav {
        margin-top: 4rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) xl */
@media (min-width: 1200px) {
    .navigation nav {
        margin-top: 6.1rem;
    }
}
