/*
 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:  qpx
*/


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

/**
 * bg 009999
 * link 008888
 * hover 00aaaa
 */

html {
    height: 100%;
}
body {
    color: #444444;
    font-family: 'text-font', sans-serif;
    font-size: 1.2rem;
    height: 100%;
    line-height: 1.5;
}

h1 {
    font-family: 'title-font', sans-serif;
    font-size: 2rem;
}
h1.page-title, h1.entry-title {
    border-bottom: 1px solid #CCCCCC;
    font-size: 2rem;
    margin-bottom: 13px;
    padding-bottom: 11px;
}
h2 {
    font-family: 'title-font', sans-serif;
    font-size: 1.6rem;
}
h3 {
    font-family: 'title-font', sans-serif;
    font-size: 1.4rem;
}
h4 {
    font-family: 'title-font', sans-serif;
    font-size: 1.2rem;
}
h5 {
    font-family: 'title-font', sans-serif;
    font-size: 1.1rem;
}
h6 {
    font-family: 'title-font', sans-serif;
    font-size: 1rem;
}
.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: #009999;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
    outline: 0;
}

a {
    color: #008888;
}
a:hover {
    color: #00aaaa;
}

#page-sub-header {
    background-size: cover;
    height: 0;
    margin-top: 17px;
    overflow: hidden;
    padding-bottom: 20.833%;
    padding-top: 0;
}
header#masthead {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
}

.navbar-brand {
    min-width: 160px
}
.navbar-brand > a {
    color: #009999;
}

.navbar-brand img {
    max-height: 108px;
    height: auto;
}

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

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

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #009999;
    font-size: 1.3rem;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    color: #00aaaa;
    text-decoration: underline;
}    
body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #009999;
}    
#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: #00aaaa;
}
#masthead .navbar-nav > li > a {
    font-family: 'title-font', sans-serif !important;
}
#masthead .navbar-nav > li > a:hover {
    color: #009999;
    font-family: 'title-font', sans-serif !important;
}
#masthead .navbar-nav > li.active > a:hover {
    color: #009999;
    font-family: 'title-font', sans-serif !important;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li.active > a {
    font-weight: normal !important;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    padding: 0.5rem 1rem 0.5rem 1rem;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover,
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:focus {
    font-weight: normal !important;
}
.dropdown-menu {
    background-color: #FFFFFF !important;
    border: none;
    font-size: 1.2rem;
    margin-top: 0;
    min-width: 13.5rem;
}
.dropdown-menu .dropdown-toggle::after {
    float: right;
    margin-top: 0.5rem;
}
.dropdown-item:hover {
    text-decoration: underline;
}
.menu-active {
    font-weight: bold !important;
}
.esf_parent_and_child_navigation {
    background-color: #F0F0F0;
    margin-top: 0.3rem;
    padding: 1rem 1rem 0.5rem 1rem;
}
.esf_parent_and_child_navigation ul {
    list-style-type: none;
    padding-left: 0;
}
.esf_parent_and_child_navigation ul ul {
    padding-left: 1.5rem;
}
.esf_parent_and_child_navigation li:last-child {
    padding-bottom: 0.5rem;
}

.utility-menu {
    position: absolute;
    right: 0;
    z-index: 2;
}
.footer-menu {
    background-color: #F0F0F0;
}
.footer-menu ul, .utility-menu ul {
    list-style-type: none;
}
.footer-menu li, .utility-menu li {
    float: left;
    padding: 0 1rem 0 0;
}
.footer-menu li:first-child {
    margin-left: -0.7rem;
}
.utility-menu li:last-child {
    padding: 0 2rem 0 0;
}
.p-md-5 {
    padding: 1rem !important;
}
.qpx-header-image-caption {
    background-color: rgba(255, 255, 255, 0.7);
    color: #444444;
    display: block;
    float: right;
    font-size: 1rem;
    padding: 0 7px 0 7px;
}
.qpx-header-image-caption a {
    color: #004444;
}

.entry-content h2 {
    margin: 3rem 0 1rem 0;
}
.entry-content h3 {
    margin: 3rem 0 1.5rem 0;
}

.esf-person .esf-floatnone {
    margin-left: 0;
    margin-right: 0;
}

.esf-person .esf-image-container {
    margin-top: -7px;
}

.fullwidth {
    width: 100%;
}

.row.archive {
    margin-bottom: 3rem;
}

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

#masthead .navbar-nav > li:hover > .dropdown-menu {
    display: block;
    margin-top: 0;
    top: 0;
    width: 18rem;
}
#masthead .navbar-nav li > .dropdown-menu li:hover .dropdown-menu {
    left: 17rem;
    margin-top: 0;
    top: 0;
    width: 18rem !important;
    display: block;
}

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

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    body:not(.theme-preset-active) #masthead .navbar-nav {
        margin-top: 0;
    }
    body:not(.theme-preset-active) #masthead .navbar-nav > li:first-child > a {
        padding: 0.5rem 1rem 0.5rem 0.5rem;
    }
    #masthead .navbar-nav > li:hover > .dropdown-menu {
        margin-top: 1.3rem;
        top: 1rem;
    }
    #masthead .navbar-nav li > .dropdown-menu li:hover .dropdown-menu {
        left: 17rem;
        margin-top: -0.5rem;
    }
}

/* Extra large devices (large desktops, 1200px and up) xl */
@media (min-width: 1200px) {
}
