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

html {
    height: 100%;
}
body {
    font-family: 'Open Sans', sans-serif;
    font-size: 1.1rem;
    height: 100%;
    line-height: 1.5;
}

h1 {
    font-size: 2rem;
}
h1.page-title, h1.entry-title {
    border-bottom: 1px solid #999999;
    font-size: 2rem;
    margin-bottom: 13px;
    padding-bottom: 11px;
}
h2 {
    font-size: 1.5rem;
    margin-top: 0.5rem;
    line-height: 1.4;
}
h2.title {
    margin-top: -1.2rem;
    line-height: 1.3;
}
.archive.category h2.title {
    line-height: 1.4;
}
h3, .modal-content h5.modal-title, .collapseomatic {
    color: #006f41;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    margin-top: 2rem;
}
.collapseomatic {
    background-position-y: 9px;
    display: block;
    margin: 2rem 0 1.5rem 0;
    padding: 0 0 0 23px;
}
.collapseomatic_excerpt, .collapseomatic_content {

    margin-left: 0;

}
h4 {
    font-size: 1.2rem;
}
.screen-reader-shortcut {
    position: absolute;
    top: -1000em;
}
.screen-reader-shortcut:focus {
    left: 6px;
    top: 6px;
    height: auto;
    width: auto;
    display: block;
    font-size: 14px;
    font-weight: 600;
    padding: 15px 23px 14px;
    background: #f1f1f1;
    color: #005aa1;
    z-index: 100000;
    line-height: normal;
    text-decoration: none;
    outline: 0;
}

a {
    color: #cf3544;
}
a:hover {
    color: #f55960;
}
.excerpt a {
    color: inherit;
    text-decoration: none;
}

.page-template-fullwidth #page #content.site-content,
.post-template-fullwidth #page #content.site-content {
    padding-top: 2rem;
}

.page-template-fullwidth #page.site #content.site-content .container,
.post-template-fullwidth #page.site #content.site-content .container {
    max-width: none;
}

header#masthead {
    background-color: transparent;
    box-shadow: none;
    border-bottom: none;
}

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

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: #cf3544;
    font-size: 1rem;
}
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: #f55960;
}    
#masthead .navbar-brand > a:hover {
    color: #cf3544;
}

#masthead .navbar-nav > li > a:hover {
    color: #cf3544;
    font-weight: 600;
}

#masthead .navbar-nav > li.active > a:hover {
    color: #cf3544;
    font-weight: 600;
}

body:not(.theme-preset-active) #page-sub-header h1 {
    color: #333333;
}

.navbar-collapse {
    flex-grow: 0;
}

.dropdown-item {
    color: #cf3544;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: #f55960;
    text-decoration: none;
}

#masthead > .container {
    max-width: 100%;
    margin-left: -15px;
    margin-right: -15px;
}

#masthead > .container > .navbar > .navbar-brand {
    max-width: 50%;
}

/**
 * Make the dropdown show on mouse over
 */
/*
#masthead .navbar-nav > li:hover > .dropdown-menu {
    display: block;
    top: 30px;
}
#masthead .navbar-nav li > .dropdown-menu li:hover .dropdown-menu {
    left: 190px;
    top: 0;
    width: 200px !important;
    display: block;
}
*/

#masthead .navbar-nav > li > a {
    font-weight: 600 !important;
}

.courtesy {
    font-size: 0.9rem;
    position: absolute;
    right: -30px;
    text-align: right;
    top: 0;
}

.navbar-brand a img {
    margin-top: 19px;
}

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

.fullwidth {
    width: 100%;
}

.home .entry-content {
    margin-top: 0;
}
.home .esf-fullwidth {
    margin-top: 0.25rem;
}

.home .excerpt {
    margin-bottom: 3.5rem;
}

article > .post-thumbnail > .esf-fullwidth {
    margin-top: 0;
}
.archive .esf-fullwidth {
    margin-top: 5px;
}
.archive h2 {
    font-size: 1.3rem;
}
.archive .excerpt {
    margin-bottom: 3.5rem;
}

.esf-image-caption {
    font-size: 0.8rem;
}
.home .esf-image-caption {
    height: 4.1rem;
    overflow: auto;
}
.margin-top {
    margin-top: 1rem;
}

.margin-top2 {
    margin-top: 2rem;
}

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

.sidebar-left h3, .sidebar-right h3 {
    margin-top: 0;
}

.box-grey {
    background-color: #f0f0f0;
    margin: 1rem 0 0 0;
    padding: 1rem;
}

.esf-post-list .excerpt {
    font-size: 1rem;
    margin: 0.6rem 0 0.2rem 0;
}

.row.inst-detail p {
    margin: 0;
    padding: 0;
}

.cursor-alias {
    cursor: alias;
}

.event-list .excerpt {
    color: #999999;
}
.event-list > div {
    margin-bottom: 11px;
}

.cover a img {
    border: 1px solid #E8E8E8;
    max-width: 75%;
}

.date-archive {
    color: #999999;
}

.date-single {
    color: #999999;
    margin-bottom: 13px;
}

.cat-archive {
    color: #999999;
    text-align: right;
}

.archive-glossary {
    margin-top: 0rem;
    margin-bottom: 3rem;
}
.glossary_initial {
    margin-left: 3rem;
}

.pdf-img .cover {
    max-width: 30rem;
}

article img.alignleft {
    margin-bottom: 11px;
    margin-top: 15px;
}
.wp-caption-text {
    text-align: left;
}

.esf-margin-bottom {
    margin-bottom: 19px;
}

.esf-employment {
    margin-bottom: 23px;
}

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

/**
 * modal
 */
.modal-content {
    border: 1px solid rgba(207,53,68,1);
}
.modal-content button.close {
    color: #cf3544;
}
.modal-content .modal-header {
    border-bottom: 1px solid rgba(207,53,68,0.3);
}
.modal-content .modal-footer {
    border-top: 1px solid rgba(207,53,68,0.3);
}
.modal-content .labelandtext {
    margin-top: 11px;
}

/**
 * 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) {
    h2.title {
        margin-top: 0;
    }
}

/* Medium devices (tablets, 768px and up) md */
@media (min-width: 768px) {

    .navbar-nav .dropdown-menu {
        background: white;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 0.25rem;
    }
    .navbar-brand a img {
        margin-top: 0;
    }

}

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {

    #masthead > .container > .navbar > .navbar-brand {
        max-width: 37%;
    }
    .navbar-nav .dropdown-menu {
        min-width: 15rem;
    }
    .navbar-expand-lg .navbar-collapse {
        margin-top: -25px;
    }
    .esf-post-list .excerpt {
        font-size: 0.9rem;
    }
}

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

    #masthead > .container > .navbar > .navbar-brand {
        margin-right: 0.5rem;
    }

    .navbar-nav .dropdown-menu {
        min-width: 20rem;
    }

    .sidebar-left {
        padding-right: 37px;
    }
    
    .sidebar-right {
        padding-left: 37px;
    }

    .courtesy {
        margin-top: 9px;
    }
    .justify-content-end {
        padding: 5.8rem 0 0 0;
    }
}