/*
 Theme Name:   wp-bootstrap-starter-child
 Theme URI:    
 Description:  Bootstrap Starter Child
 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:  kka
*/


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

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('fonts/HelveticaNeueLTStd-Lt.eot');
    src: url('fonts/HelveticaNeueLTStd-Lt.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeueLTStd-Lt.woff2') format('woff2'),
        url('fonts/HelveticaNeueLTStd-Lt.woff') format('woff'),
        url('fonts/HelveticaNeueLTStd-Lt.ttf') format('truetype'),
        url('fonts/HelveticaNeueLTStd-Lt.svg#HelveticaNeueLTStd-Lt') format('svg');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('fonts/HelveticaNeueLTStd-Md.eot');
    src: url('fonts/HelveticaNeueLTStd-Md.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeueLTStd-Md.woff2') format('woff2'),
        url('fonts/HelveticaNeueLTStd-Md.woff') format('woff'),
        url('fonts/HelveticaNeueLTStd-Md.ttf') format('truetype'),
        url('fonts/HelveticaNeueLTStd-Md.svg#HelveticaNeueLTStd-Md') format('svg');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue LT Std';
    src: url('fonts/HelveticaNeueLTStd-LtIt.eot');
    src: url('fonts/HelveticaNeueLTStd-LtIt.eot?#iefix') format('embedded-opentype'),
        url('fonts/HelveticaNeueLTStd-LtIt.woff2') format('woff2'),
        url('fonts/HelveticaNeueLTStd-LtIt.woff') format('woff'),
        url('fonts/HelveticaNeueLTStd-LtIt.ttf') format('truetype'),
        url('fonts/HelveticaNeueLTStd-LtIt.svg#HelveticaNeueLTStd-LtIt') format('svg');
    font-weight: 300;
    font-style: italic;
}


/**
 * 
 */

html {
    height: 100%;
}
body {
    color: #2B2B2B;
    font-family: 'Helvetica Neue LT Std', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    height: 100%;
    line-height: 22px;
}

blockquote {
    font-style: italic;
}

header#masthead {
    background-color: transparent;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a, body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover, body:not(.theme-preset-active) #masthead .navbar-nav > li.current_page_item > a {
    color: #2B2B2B;
    font-size: 16px;
    font-weight: 500;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
    text-decoration: underline;
}
body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    padding-left: 2rem;
    padding-right: 0;
}

.navbar-brand {
    margin-left: 15px;
}

.navbar-brand-wordmark {
    display: none;
    margin-left: 15px;
}

#logo-big {
    display: none;
}
#logo-small {
    display: block;
}

.container-utility-menu {
    margin-top: 7px;
    margin-bottom: -2px;
}

.navbar-collapse.collapse.show {
    padding-top: 29px;
    padding-bottom: 31px;
    text-align: center;
}

#search-wrapper {
    width: 100%;
}

#search-wrapper input {
    border: none;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: -1px;
    padding: 0;
    width: 90%;
}
#search-wrapper button {
    background: none;
    border: none; 
    float: right;
    font-size: 16px;
    font-weight: normal;
    margin-bottom: -1px;
    padding: 0;
    text-align: right;
    width: 10%;
}

h1, h1.entry-title, .daynumber {
    border: none;
    font-size: 40px;
    font-weight: 500;
    letter-spacing: 0.5px;
    line-height: 50px;
}

p.entry-text {
    font-size: 20px;
    line-height: 28px;
}

strong {
    font-weight: 500;
}

article ul {
    list-style: none;
    margin: 0 0 28px -22px;
}

.container {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 1100px;
    width: 100%;
}
.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 {
}
*/
a:hover {
    text-decoration: none !important;
}

.category-background {
    height: 100%;
}
.teaser-box {
    padding: 60px 66px 60px 66px;
}
.teaser-box h1 {
    border: none;
}
.teaser-box p {
    font-size: 20px;
    line-height: 28px;
}

.front-right {
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
}

.text-wrapper {
    padding: 0 27px 0 0;
}

.text-wrapper .date {
    color: #2b2b2b;
    font-size: 16px;
}
.text-wrapper p {
    color: #2b2b2b !important;
    font-size: 16px;
}
.text-wrapper .title {
    font-size: 22px;
    font-weight: 500;
    line-height: 28px;
}
.text-wrapper .more {
    bottom: 13px;
    position: absolute;
}
.text-wrapper .more:hover, .text-wrapper .title:hover {
    text-decoration: underline;
}

#utility-menu {
    font-size: 16px;
    font-weight: 300;
    line-height: 22px;
    /* padding-bottom: 29px; */
    text-align: right;
}
#utility-menu a {
    color: #2b2b2b;
}

#utility-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#utility-menu ul li {
    display: inline-block;
    margin-left: 2rem;
}
#utility-menu ul li:first-child {
    margin-left: 0;
}
/*
article.post .text-wrapper {
    padding: 0;
}
*/
article.page .text-wrapper p, article.post .text-wrapper p, article.esf_event .text-wrapper p, .entry-content p {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 2rem;
}

article.page h2, article.post h2, article.esf_event h2 {
    font-size: 20px;
    font-weight: 500;
    line-height: 28px;
    margin-bottom: 0.2rem;
    margin-top: 0.2rem;
    padding-bottom: 0;
}

.standard h2 {
    margin-top: 2.2rem;
}

article.page h4, article.post h4, article.esf_event h4 {
    font-size: 20px;
    font-weight: 300;
    line-height: 28px;
    margin-bottom: 1rem;
    padding-bottom: 0;
    text-decoration: underline;
    margin-bottom: 2rem;
}

article.page blockquote, article.post blockquote, article.esf_event blockquote {
    letter-spacing: 0.1px;
    padding: 1rem 0 1rem 5rem;
}

article.page .text-wrapper.right, article.post .text-wrapper.right, article.esf_event .text-wrapper.right {
    margin: 29px 0 0 0 !important;
}

article.page .text-wrapper.right .esf-box, article.post .text-wrapper.right .esf-box, article.esf_event .text-wrapper.right .esf-box {
    margin-right: -30px;
}

.margin-bottom {
    margin-bottom: 28px;
}

#footer-widget {
    padding-top: 59px;
    padding-bottom: 87px;
}
#footer-widget .widget {
    font-size: 16px;
    line-height: 22px;
}

section#text-5 img {
    display: block;
    margin: 1.5rem 0 1.5rem 0;
}

.esf-box {
    background-color: transparent;
    box-shadow: 0px 0px 20px #00000029;
    padding: 0;
}
.esf-box.esf-box-wrapper h2, .esf-box.esf-box-wrapper p {
    margin-left: 51px;
    margin-right: 66px;
}
.esf-box.esf-box-wrapper h2 {
    font-size: 40px;
    line-height: 48px;
    margin-top: 51px;
    margin-bottom: 29px;
}
.esf-box.esf-box-wrapper p {
    font-size: 20px;
    line-height: 28px;
}
.esf-box.esf-box-wrapper h4 {
    margin-left: 51px;
    margin-right: 66px;
}

.esf-box.esf-box-wrapper img {
    margin-bottom: -15px;
}

.esf-box .esf-box-title {
    padding: 17px 19px 17px 19px;
}
.esf-box .esf-box-title h2 {
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    margin: 0;
    padding: 0;
}
.esf-box .esf-box-content {
    padding: 17px 19px 1px 19px;
}
.esf-box .esf-box-content p:first-child, .esf-box .esf-box-content p:last-child {
    margin: 0;
    padding: 0;
}
.esf-box .esf-box-content p {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 22px !important;
}

.esf-box.esf-title-and-3-cols h2 {
    font-size: 40px;
    line-height: 50px;
    margin-left: 66px;
    margin-right: 66px;
    padding-top: 51px;
}
.esf-box.esf-title-and-3-cols .wp-block-columns {
    margin: 37px 66px 66px 66px;
    padding-bottom: 51px;
}
input.esf-box.no-border {
    border: none;
    font-weight: 300;
    padding: 3px 9px 3px 9px;
}
.form-inline div {
    padding-bottom: 7px;
}
.esf-events-wrapper {
    font-size: 14px;
    line-height: 18px;
    padding: 15px 15px 15px 15px;
}

.esf-image-caption {
    height: 2.45rem;
    padding-bottom: 0.4rem;
}

.esf-image-caption span {
    overflow: auto;
    padding-bottom: 0.4rem;
}

.esf-back-next {
    font-size: 1.3rem;
}

.single-date {
    font-style: italic;
    margin: 0.5rem -27px 0 0;
    text-align: right;
}

.wp-block-group__inner-container {
    padding: 17px 19px 1px 19px;
}

/**
 * video container
 */
 .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) {
    article.page .text-wrapper.right, article.post .text-wrapper.right, article.esf_event .text-wrapper.right {
       margin: 0px 0 0 19px;
    }
}

/* Medium devices (tablets, 768px and up) md */
@media (min-width: 768px) {
    #logo-big {
        display: block;
    }
    #logo-small {
        display: none;
    }
}

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    article.page .text-wrapper.right, article.post .text-wrapper.right, article.esf_event .text-wrapper.right {
        margin: -3px 0 0 59px;
    }
}

/* Extra large devices (large desktops, 1200px and up) xl */
@media (min-width: 1200px) {
    .navbar-brand {
        margin-left: -115px;
        margin-top: -49px;
    }
    .navbar-brand-wordmark {
        margin-left: 0;
    }
    .container-utility-menu {
        margin-top: 17px;
        margin-bottom: 19px;
    }
}
