/*
 Theme Name:   QPX
 Theme URI:    
 Description:  QuickpageX
 Author:       Erich Schweizer-Ferrari
 Author URI:   https://www.religionspaedagogikzh.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;
}
body.custom-background {
    background-attachment: fixed !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}
main#main {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem 3rem 2rem !important;
    z-index: 9999999999;
}

.header-title {
    color: white;
    font-size: 2.7rem;
    margin-left: 0.4rem;
    margin-top: 0rem;
    text-shadow: 3px 3px 3px rgba(150, 150, 150, 1);
}
.esf-primary-menu {
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 2rem 3rem 2rem !important;
}

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

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

#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;
}
header#masthead .mobile-navi-show {
    cursor: pointer;
}
header#masthead .mobile-navi-sitemap {
    display: none;
}
header#masthead .mobile-navi-sitemap .sitemap {
    background-color: #0094d2;
    padding: 1rem 1rem 1rem 1rem;
}
header#masthead .mobile-navi-sitemap .sitemap a {
    color: white !important;
}

.inline-image-float-left img {
    float: left;
    margin: 0.5rem 1rem 0.5rem 0;
}
.inline-image-float-right img {
    float: right;
    margin: 0.5rem 0 0.5rem 1rem;
}

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

#masthead > .container {
    max-width: 100%;
    margin-left: -15px;
    margin-right: -15px;
}
.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;
}

div.utility-menu {
    border: none !important;
    font-size: 0.875rem;
}
.footer-menu {
    background-color: #F0F0F0;
}
.footer-menu ul, .utility-menu ul {
    list-style-type: none;
}
.footer-menu li, .utility-menu li {
    background-color: rgba(255, 255, 255, 0.5);
    float: left;
    padding: 0 1rem 0 1rem;
}
.utility-menu li {
    float: right;
}
.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: 2rem 0 0.5rem 0;
}
.entry-content h3 {
    margin: 1.8rem 0 0.2rem 0;
}
.entry-content ul {
    padding: 0 0 0 1.1rem;
}
.entry-content ul li {
    padding-left: 0.5rem;
}

.pubdate {
    font-size: 1rem;
    font-style: italic;
}

.definition > iframe {
    margin-top: 11px;
}

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

.esf-image-container {
    z-index: 0;
}
.esf-person .esf-image-container {
    margin-top: -7px;
}
.esf-image-caption .esf-image-caption {
    overflow: auto;
}
.esf-person h3 {
    margin-top: 0;
}

.esf-menu-item.esf-menu-item-active {
    font-weight: bold;
}

.esf-post-list .excerpt a {
    color: #999999 !important;
}

.esf-primary-menu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.esf-primary-menu ul.level-0 {
    font-size: 1.2rem;
    padding-left: 0rem;
}
.esf-primary-menu ul.level-1 {
    font-size: 1.1rem;
    padding-left: 2rem;
}
.esf-primary-menu ul.level-2 {
    font-size: 1rem;
    padding-left: 1.9rem;
}
.esf-primary-menu ul.level-3 {
    font-size: 0.9rem;
    padding-left: 1.8rem;
}

.row.archive {
    margin-bottom: 2rem;
}
.row.archive h2.title {
    margin-top: 0.2rem;
}
.row.archive .excerpt a {
    color: #444444 !important;
}

ul.hierarchic, ul.hierarchic ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul.hierarchic ul {
    padding: 0.5rem 0 0.5rem 2rem;
}

table {
    min-width: 100%;
    width: 100%;
}
table tr td {
    vertical-align: top;
}
table tr td:last-child {
    text-align: right;
    white-space: nowrap;
}

.margin-bottom {
    margin-bottom: 37px;
}
.container-fluid.footer-widget {
    background-color: rgba(255,255,255,0.9);
}
.bg-light.border.border-white {
    background-color: transparent !important;
}

.footer-menu li:first-child {
    padding-left: 0;
    margin-left: -1.5rem;
}

.fullwidth {
    width: 100%;
}

.logo {
    background-color: white;
    margin-top: 2rem;
    opacity: 0.9;
    padding: 1.7rem;
}

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

/**
 * gutenberg
 */
.wp-block-media-text > figure > img, .wp-block-media-text > figure > video {
    margin-top: 2.25rem;
}
.wp-block-media-text__media img {
    box-shadow: 0px 0px 20px #00000029;
}
/**
 * collapse-o-matic
 */
.collapseomatic {
    background-position-y: 0.35rem;
    font-family: 'title-font', sans-serif;
    font-size: 1.6rem;
}
.collapseomatic_content {
    margin-top: 0.7rem;
}

/* 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) {
}

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

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    .header-title {
        font-size: 3rem;
    }
}

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