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

/**

red             #BE1823
red middle      #D15D65
red light       #DE8B90
red lightest    #FFE4EF
 
 */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@200;400;700&display=swap');

html {
    height: 100%;
}
body {
    color: #333333;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    height: 100%;
    line-height: 1.5;
}

.screen-reader-shortcut {
    position: absolute;
    top: -1000rem;
}
.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;
}
.navbar-brand {
    margin-right: 4rem;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 1rem;
    padding: 1rem;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
    color: #CCCCCC;
}
.navbar-light .navbar-nav .nav-link:before {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    width: 0.5rem;
    height: 100%;
    display: flex;
    position: absolute;
    content: "";
    left: calc(100% + 1px);
    top: 0px;
}
.navbar-light .navbar-nav .active > .nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show > .nav-link {
    color: #CCCCCC;
}

.navbar-light .navbar-toggler {
    margin-top: 2rem;
}

.dropdown-menu {
    min-width: 15rem;
}
.dropdown-menu .menu-item a {
    border-bottom: 1px solid #FFFFFF;
    color: #FFFFFF;
    padding: 1rem;
}
.dropdown-menu .menu-item a:hover, .dropdown-menu .menu-item a:focus {    
    color: #CCCCCC;
}

.navbar-nav .dropdown-menu {
    margin-right: 1.25rem;
}

.navbar-brand img {
    max-height: 7rem;
    position: absolute;
    top: 0.5rem;
}

#main-nav {
    margin-left: 8rem;
}

.utility-item, .footer-item {
    float: left;
    list-style-type: none;
    margin-right: 1.5rem;
    padding-right: 1rem;
    position: relative;
}
.utility-item:before, .footer-item:before {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    width: 1rem;
    height: 100%;
    display: flex;
    position: absolute;
    content: "";
    left: 100%;
    top: 2px;
}

#content.site-content {
    padding-top: 2rem;
}

.esf_parent_and_child_navigation {
    position: relative;
}
.esf_parent_and_child_navigation h2, .esf_parent_and_child_navigation ul {
    padding-left: 5%;
}
.esf_parent_and_child_navigation ul:after {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    width: 3%;
    height: 105%;
    display: flex;
    position: absolute;
    content: "";
    left: 0%;
    top: 0px;
}
.esf_parent_and_child_navigation li {
    list-style-type: none;
}
.bg-light {
    background-color: white !important;
}
.box-shadow {
    border-color: green;
}
.admin-bar .sticky-top {
    top: 30px;
}

.utility-menu {
    font-size: 1rem;
    position: absolute;
    right: 15px;
    top: 0.3rem;
}

.search-form {
    display: none;
    margin-top: 2rem;
}

.container {
    max-width: none;
}
#page-sub-header {
    background-size: cover;
    height: 0;
    margin-top: 0;
    overflow: hidden;
    padding-bottom: 20.833%;
    padding-top: 0;
}
.home header.entry-header {
    display: none;
}
.home .entry-content {
    margin: 0;
}
h1, h1.entry-title {
    border: none;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 2.5rem;
    font-weight: 200;
}
h1.entry-title {
    margin-top: 0.6rem;
}
h2, h3, h4, h5, h6 {
    color: #000000;
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 1.8rem;
    font-weight: 200;
    line-height: 1.4;
    margin-bottom: 1.1rem;
    margin-top: 2.5rem;
}
.entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child, .entry-content h5:first-child, .entry-content h6:first-child {
    margin-top: 0;
}
h3 {
    font-size: 1.6rem;
}
h4 {
    font-size: 1.4rem;
}
h5 {
    font-size: 1.2rem;
}
h6 {
    font-size: 1.0rem;
}
.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;
}

.esf-image-wrapper {
    margin-right: 2rem;
}
.esf-fullwidth.esf-floatnone {
    position: relative;
    margin-bottom: 0;
}
.esf-fullwidth.esf-floatnone:after {
    clip-path: polygon(0 0, 0% 100%, 100% 0);
    width: 1.1rem;
    height: calc(100% - 2.5rem);
    display: flex;
    position: absolute;
    content: "";
    left: calc(100% + 1px);
    top: 0px;
}
.esf-image-caption {
    background-color: transparent;
}

.esf-pfarreiblatt .row {
    margin-bottom: 1.5rem;
}
.esf-pfarreiblatt .title {
    display: block;
}
.esf-pfarreiblatt .content {
    color: #787878;
    display: block;
}
.esf-pfarreiblatt img {
    margin-bottom: 0.3rem;
}

.esf-post-list .row {
    margin-bottom: 1rem;
    padding: 1rem 0.5rem 0rem 0.5rem;
    position: relative;
}
.esf-post-list h3 {
    font-size: 2.5rem;
    font-weight: 200;
}
.home .esf-post-list .row {
    margin: 0;
}
.home .esf-post-list .row {
    margin-bottom: 2rem;
}
.home .esf-event-list {
    margin: 0;
    padding: 0.5rem;
}

.home .esf-event-list .right {
    margin-bottom: 0;
}

.row.archive {
    margin-bottom: 2rem;
}
.archive .title {
    margin-top: 0.5rem;
}
.wp-block-latest-posts.is-grid li {
    padding: 2rem;
}
.wp-block-latest-posts.is-grid li a:first-child, .wp-block-latest-posts.is-grid li a:nth-child(2) {
    font-size: 2rem;
}
.wp-block-latest-posts__featured-image {
    margin-bottom: 0.5rem;
}
.wp-block-latest-posts__post-excerpt {
    margin-top: 0px;
    margin-bottom: 0px;
}

.wp-block-column {
    margin-bottom: 3rem;
}

.wp-block-file {
    margin-bottom: 0.2rem;
}

.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) {
    .container {
        max-width: none;
    }
    .search-form {
        display: block;
    }
}

/* Medium devices (tablets, 768px and up) md */
@media (min-width: 768px) {
    .container {
        max-width: none;
    }
}

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    .container {
        max-width: none;
    }
}

/* Extra large devices (large desktops, 1200px and up) xl */
@media (min-width: 1200px) {
    .container {
        max-width: none;
    }
    .wp-block-column:first-child {
        padding-right: 3rem;
    }
    .wp-block-column:last-child {
        padding-left: 3rem;
    }
}
