/*
 Theme Name:   wdr-sdr
 Theme URI:    https://www.datenpark.ch
 Description:  WP Bootstrap Starter Child Theme
 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
*/

/**
 * header background    #F0F0F0 / 240, 240, 240
 * link                 #7C4848 / 124, 72, 72
 *
 * cherry               #ad184f; /* rgba(173, 24, 79, 1)
 * chocolate            #817563; /* rgba(129, 117, 99, 1)
 * cyan                 #a0d5d9; /* rgba(160, 213, 217, 1)
 * moss                 #a0b251; /* rgba(160, 178, 81, 1)
 * pearl                #ebcd91; /* rgba(235, 205, 145, 1)
 * saffron              #f4ad45; /* rgba(244, 173, 69, 1)
 *
 * grau                 #a8bcba / 168, 188, 186

 */

@import url('https://fonts.googleapis.com/css2?family=Economica&display=swap');

@font-face {
    font-family: 'Minion Pro';
    src: url('fonts/MinionPro-Bold.eot');
    src: url('fonts/MinionPro-Bold.eot?#iefix') format('embedded-opentype'),
        url('fonts/MinionPro-Bold.woff2') format('woff2'),
        url('fonts/MinionPro-Bold.woff') format('woff'),
        url('fonts/MinionPro-Bold.ttf') format('truetype'),
        url('fonts/MinionPro-Bold.svg#MinionPro-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('fonts/MinionPro-Medium.eot');
    src: url('fonts/MinionPro-Medium.eot?#iefix') format('embedded-opentype'),
        url('fonts/MinionPro-Medium.woff2') format('woff2'),
        url('fonts/MinionPro-Medium.woff') format('woff'),
        url('fonts/MinionPro-Medium.ttf') format('truetype'),
        url('fonts/MinionPro-Medium.svg#MinionPro-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('fonts/MinionPro-Semibold.eot');
    src: url('fonts/MinionPro-Semibold.eot?#iefix') format('embedded-opentype'),
        url('fonts/MinionPro-Semibold.woff2') format('woff2'),
        url('fonts/MinionPro-Semibold.woff') format('woff'),
        url('fonts/MinionPro-Semibold.ttf') format('truetype'),
        url('fonts/MinionPro-Semibold.svg#MinionPro-Semibold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Minion Pro';
    src: url('fonts/MinionPro-Regular.eot');
    src: url('fonts/MinionPro-Regular.eot?#iefix') format('embedded-opentype'),
        url('fonts/MinionPro-Regular.woff2') format('woff2'),
        url('fonts/MinionPro-Regular.woff') format('woff'),
        url('fonts/MinionPro-Regular.ttf') format('truetype'),
        url('fonts/MinionPro-Regular.svg#MinionPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /*
     * colors
    */

    --cherry:       #ad184f; /* rgba(173, 24, 79, 1) */
    --chocolate:    #817563; /* rgba(129, 117, 99, 1) */
    --cyan:         #a0d5d9; /* rgba(160, 213, 217, 1) */
    --moss:         #a0b251; /* rgba(160, 178, 81, 1) */
    --pearl:        #ebcd91; /* rgba(235, 205, 145, 1) */
    --saffron:      #f4ad45; /* rgba(244, 173, 69, 1) */
}

html {
    height: 100%;
}
body {
    color: rgb(7, 38, 33);
    font-family: 'Minion Pro', serif;
    font-size: 1.2rem;
    font-weight: normal;
    height: 100%;
    line-height: 1.5;
}

a, a:hover, a:visited, a:focus {
    color: var(--cherry);
}
.primary-item a, .primary-item a:hover, .primary-item a:visited, .primary-item a:focus {
	color: #666666;
}

blockquote, .wp-block-quote {
    color: #999999;
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
    margin: 0 10% 0 10%;
    text-transform: uppercase;
}

.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;
}
.admin-bar .sticky-top {
    top: 30px;
}

header.sticky-top {
    background-color: #F0F0F0;
}

.esf_event.type-esf_event header .entry-meta {
    display: none;
}

nav.navbar {
    min-height: 119px;
    margin: 0 auto 0 auto;
    position: relative;
    /* Animation */
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
}
nav.navbar.shrink {
    min-height: 89px;
}
nav.navbar, .container {
    max-width: none;
}
nav.navbar a {
    color: #999999;
}
nav.navbar img {
    max-height: 100%;
    max-width: calc(100% - 3rem);
    position: absolute;
}

nav.navbar .esf-toggler {
    cursor: pointer;
    font-family: dashicons !important;
    position: absolute;
    right: 2rem;
    top: 0.5rem;
}
nav.navbar .esf-toggler span {
    font-size: 3rem;
}

.navbar {
    padding: 0rem;
}

.page-content, .entry-content, .entry-summary {
    margin: 0.5em 0 0;
}

.text-decoration-none {
    text-decoration: none;
}

.esf-navi {
    background-color: rgba(255, 255, 255, 0.8);
    font-family: 'Economica', sans-serif;
    font-size: 3rem;
    left: 5%;
    opacity: 0;
    padding: 3rem;
    position: fixed;
    right: 5%;
    text-align: center;
    text-transform: uppercase;
    top: 5rem;
    visibility: hidden;
    width: 85%;
    z-index: 1111;
    /* Animation */
    -webkit-transition: all 1.0s;
    transition: all 1.0s;
}
.esf-navi ul {
    list-style-type: none;
}
.esf-navi a {
    color: #333333;
}

.esf-header-title {
    color: var(--cherry);
    font-family: 'Economica', sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    left: 9rem;
    margin-left: 0rem;
    margin-right: auto;
    padding-left: 0rem;
    position: relative;
}
.esf-header-title:not(.home) {
    text-transform: uppercase;
}
.utility-menu {
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
    list-style-type: none;
    margin-bottom: 2rem;
    text-transform: uppercase;
}
.utility-menu.sub-menu, .utility-menu.sub-menu li a {
    margin-left: 0;
    padding-left: 0;
}
.utility-menu li a {
    color: #333333;
    display: inline;
}

.utility-menu li a:hover {
    color: #333333;
    text-decoration: underline;
}
.utility-menu li a.current, .utility-menu li a.current:hover {
    color: var(--cherry);
}

.esf-utility-menu .esf-utility-menu .utility-menu li a,
.esf-utility-menu .utility-menu li:first-child a {
    display: block;
    padding-bottom: 0;
    padding-top: 0;
    white-space: nowrap;
}

.current-menu-item, .current-menu-parent, .current-menu-ancestor {
    font-weight: bold;
}

.lang-item {
    display: inline;
    font-size: 2rem;
}
.lang-item:not(.lang-item-first) {
    padding-left: 3rem;
}

#content.site-content {
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    padding-top: 1rem;
}

h1, h1.entry-title {
    border: none;
    font-family: 'Economica', sans-serif;
    font-size: 2.1rem;
    font-weight: 200;
    margin: 0;
    padding: 1.2rem 0 0.7rem 0;
    text-transform: uppercase;
}

.page #content:not(.esf-page-has-ancestor) h1.entry-title {
	/* display: none; */
}
h1.entry-title {
	-webkit-hyphens: none;
	-moz-hyphens: none;
	hyphens: none;
}

body.page h1, body.page h1.entry-title, body.archive h1, body.archive h1.entry-title {
    color: var(--cherry);
    font-size: 5rem;
}

h2, h2.entry-title {
    font-family: 'Economica', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    margin: 0rem;
    padding: 1.7rem 0 1.2rem 0;
    text-transform: uppercase;
}

h3 {
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    padding: 0.8rem 0 0.5rem 0;
}

h4 {
    font-family: 'Economica', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.5;
    padding: 0rem 0 0.5rem 0;
}

.entry-content ul {
    padding-left: 1.1rem;
}

.entry-meta {
    color: #999999;
    font-size: 1rem;
    margin: 1rem 0 1rem 0;
}

.image-container {
    display: block;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%; /* 16 : 9 */
    padding-top: 0px;
    position: relative;
}
.image-container > div, .image-container > span {
    background-size: cover;
    display: block;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

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


.our-serials .esf-icon {
    float: left !important;
}


.esf-color-cherry, .esf-color-cherry-2, .esf-color-cherry-3 {
    background-color: var(--cherry);
    color: white;
}
.esf-color-cherry .content, .esf-color-cherry-2 .content, .esf-color-cherry-3 .content {
    border: 1px solid var(--cherry);
}
.esf-color-chocolate, .esf-color-chocolate-2, .esf-color-chocolate-3 {
    background-color: var(--chocolate);
    color: black;
}
.esf-color-chocolate .content, .esf-color-chocolate-2 .content, .esf-color-chocolate-3 .content {
    border: 1px solid var(--chocolate);
}
.esf-color-cyan, .esf-color-cyan-2, .esf-color-cyan-3 {
    background-color: var(--cyan);
    color: white;
}
.esf-color-cyan .content, .esf-color-cyan-2 .content, .esf-color-cyan-3 .content {
    border: 1px solid var(--cyan);
}
.esf-color-moss, .esf-color-moss-2, .esf-color-moss-3 {
    background-color: var(--moss);
    color: white;
}
.esf-color-moss .content, .esf-color-moss-2 .content, .esf-color-moss-3 .content {
    border: 1px solid var(--moss);
}
.esf-color-pearl, .esf-color-pearl-2, .esf-color-pearl-3 {
    background-color: var(--pearl);
    color: white;
}
.esf-color-pearl .content, .esf-color-pearl-2 .content, .esf-color-pearl-3 .content {
    border: 1px solid var(--pearl);
}
.esf-color-saffron, .esf-color-saffron-2, .esf-color-saffron-3 {
    background-color: var(--saffron);
    color: white;
}
.esf-color-saffron .content, .esf-color-saffron-2 .content, .esf-color-saffron-3 .content {
    border: 1px solid var(--saffron);
}


.esf-tile {
    display: block;
}
.esf-tile .content {
    display: block;
    padding: 2rem 2rem 1rem 2rem;
}
.esf-tile:hover {
    background-color: white;
    color:  rgb(7, 38, 33);
    text-decoration: none;
}
.esf-tile h2 {
    color: inherit;
    font-family: 'Economica', sans-serif;
    font-size: 2.4rem;
    font-weight: 200;
    padding: 0rem 0rem 1.5rem 0rem;
    text-transform: uppercase;
}
.esf-tile p {
    color: inherit;
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
    line-height: 1.2;
}
.esf-tile.esf-image-top .content {
    border-top: none;
}

.esf-tile.esf-image-top .image-container {
    padding-bottom: 100%;
}

.esf-two-cols .item {
    margin-bottom: 3rem;
}

.esf-avatar {
    border-radius: 50%;
    float: left;
    max-width: 6rem;
    width: 20%;
}

.row.archive .item.echo {
    margin-bottom: 1.9rem;
}

.esf-latest-posts {
    padding: 0 0 0 15px;
}
.utility-menu li.esf-latest-posts a {
    color: #999999;
}
.esf-search, .esf-tags {
    padding-left: 55px;
}
.esf-search select {
    border: none;
    background-color: #E8E8E8;
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
    margin-right: 0.5rem;
    padding: 0.5rem;
}

.search-form .search-field {
    background-color: #c2cfc7;
    border: none;
    font-family:
    'Minion Pro', serif;
    margin: 1rem 0 1rem 0;
    min-width: 100%;
}

.search-form .search-submit {
    background-color: #c2cfc7;
    border: none;
    margin: 1rem 0 0 0;
    min-width: 100%;
    text-align: left;
}

.search-form .search-submit {
    margin: 0.5rem 0 0 0;
}

header .esf-tags {
    float: right;
    text-align: right;
    width: 80%;
}

header .esf-tags a {
    color: #999999;
}

#footer-widget {
    background-color: #f0f0f0 !important;
    font-family: 'Economica', sans-serif;
    padding: 2rem 5rem 2rem 5rem;
}
#footer-widget img {
    max-width: 75%;
    width: 75%;
}
#footer-widget #text-2 h3 {
    font-family: 'Economica', sans-serif;
    font-size: 5rem;
    font-weight: 200;
    letter-spacing: 0.2;
}
#footer-widget .wp-block-buttons > .wp-block-button .wp-block-button__link {
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.2;
}

#footer-widget .wp-block-column h2 {
    color: #999999;
    margin-top: -1rem;
}

.widget {
    font-size: 1.6rem;
}

.widget_nav_menu h3 {
    color: #787878;
    font-family: 'Economica', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.2;
    padding: 0.8rem 0 0.5rem 0;
    text-transform: uppercase;
}
.widget_nav_menu ul li a {
    color: inherit;
    margin: 0;
    padding: 0;
}
.widget_nav_menu ul li a:hover {
    background-color: transparent;
    text-decoration: underline;
}

#media_image-2 img {
    max-width: 50% !important;
    position: absolute;
    right: 0;
}

.esf-box {
	background-color: #EEF2F0;
	padding: 1rem;
}
.esf-navi {
	font-size: 2.5rem;
}
.wp-block-columns {
    margin-bottom: inherit;
}
.wp-block-image figcaption {
    font-size: 1rem;
}

.esf-filter-infothek div {
    font-family: 'Economica', sans-serif;
    font-size: 1.5rem;
    font-weight: 200;
    letter-spacing: 0.2;
    padding-right: 3rem;
    text-transform: uppercase;
}
.esf-filter-infothek select {
    background-color: #c2cfc7;
    color: #787878;
    font-family: 'Minion Pro', serif;
    font-size: 1.5rem;
    font-weight: normal;
    margin-right: 3rem;
}

.esf-infothek a {
    color: white;
}
.esf-infothek-image {
    float: left;
    margin: 0.5rem 2rem 2rem 0;
    max-width: 33%;
}
.esf-infothek-element.row {
    margin-top: 4rem;
}
.esf-infothek-element.row .esf-image {
    margin-right: -18px;
}
.esf-infothek-element.row .esf-content {
    font-family: 'Economica', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.2;
    padding: 2rem 2rem 4rem 2rem;
    text-transform: uppercase;
}
.esf-infothek-tags {
    font-family: 'Minion Pro', serif;
    font-size: 1.2rem;
    font-weight: normal;
    letter-spacing: normal;
    position: absolute;
    bottom: 2rem;
    text-transform: none;
}

.esf-tag-list {
    font-size: 1.3rem;
    line-height: 1.2;
}
.esf-tag-list a {
    color: #999999;
    font-family: 'Minion Pro', serif;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;
}
.tagcloud a {
    color: #999999;
    font-family: 'Minion Pro', serif;
    font-weight: normal;
    letter-spacing: normal;
    text-transform: none;  
}

.wp-block-media-text .wp-block-media-text__content {
    align-self: auto;
}

#media_image-2 img {
    bottom: 0;
}

.esf-donate-button {
    margin-top: 3rem;
    text-align: right;
}
.esf-donate-button img {
    max-width: 270px;
}

.agenda-list-item {
}
.agenda-list-item a {
    cursor: pointer;
    display: block;
    padding: 0.5rem 1rem 1rem 1rem;
}
.agenda-list-item a div, .agenda-list-item a h2 {
    color: #ffffff;
}
.agenda-list-item a:hover, .esf_agenda_content_like_hover {
    background-color: #ffffff;
    color: rgb(7, 38, 33);
    text-decoration: none;
}
.agenda-list-item a:hover div, .agenda-list-item a:hover h2, .esf_agenda_content_like_hover h2, .esf_agenda_content_like_hover div {
    color: rgb(7, 38, 33);
}
.agenda-list-item .left {
    text-align: left;
}
.agenda-list-item .middle {
    text-align: center;
}
.agenda-list-item .right {
    text-align: right;
}
.esf-content-block {
    font-family: 'Economica', sans-serif;
    font-weight: 800;
}
.esf-content-block p {
    margin: 0;
    padding: 0;
    
}
.esf-ct-link, .esf-et-link, .esf-re-link {
    color: rgb(7, 38, 33);
    cursor: pointer;
    display: inline-block;
    font-family: 'Economica', sans-serif;
    font-size: 1.6rem;
    font-weight: 200;
    padding-right: 0.7rem;
    text-transform: uppercase;
}

#footer-widget .sub-menu.nav.flex-column {
	display: none;
}
#footer-widget .lang-item {
	display: none;
}

#nav_menu-2 ul, #nav_menu-3 ul, #nav_menu-4 ul {
	margin: 0;
}
#nav_menu-2 ul li, #nav_menu-3 ul li, #nav_menu-4 ul li {
	margin: 0.1rem 0 2rem 20% !important;
}
#nav_menu-2 ul li a, #nav_menu-3 ul li a, #nav_menu-4 ul li a {
    background-color: var(--cherry);
    border-radius: 0 !important;
    box-shadow: none;
    box-sizing: border-box;
    color: var(--wp--preset--color--white) !important;
    cursor: pointer;
    display: inline-block;
    font-family: 'Economica', sans-serif;
    font-size: 2rem;
    font-weight: 200;
    letter-spacing: 0.2;
    min-width: 100%;
    padding: calc(.667em + 2px) calc(1.333em + 2px);
    text-align: center;
    text-decoration: none;
    word-break: break-word;
}
#nav_menu-2 li a:hover, #nav_menu-3 li a:hover, #nav_menu-4 li a:hover {
  text-decoration: underline;
}

/**
 * collapse-o-matic
 */
#esf-agenda > .collapseomatic {
    background-image: none;
    color: white;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem 0.5rem 1rem;
}
#esf-agenda > .collapseomatic:hover, #esf-agenda .colomat-close {
    background-color: transparent !important;
    color: black;
}
#esf-agenda > .collapseomatic h2 {
    color: white;
    padding-top: 0.5rem;
}
#esf-agenda > .collapseomatic:hover h2, #esf-agenda .colomat-close h2 {
    color: black;
}
#esf-agenda .colomat-close {
    border-bottom: none !important;
    margin-bottom: 0;
}
#esf-agenda .colomat-close .row {
    display: none;
}
#esf-agenda > .collapseomatic_content {
    border-top: none !important;
    margin: 0 0 1rem 0;
    padding: 0rem 1rem 0.5rem 1rem;
}

.onecol {
    margin: 1rem 0 2rem 0;
}
.single-fullwidth {
    color: white;
    padding: 0 2rem 2rem 2rem;
}
.single-fullwidth h2, .single-fullwidth h3 {
    color: white;
}
.single-fullwidth h3 {
    margin-bottom: 1rem;
}

/* 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) {
    nav.navbar {
        min-height: 169px;
    }
    nav.navbar .esf-toggler {
        right: 4rem;
        top: 1rem;
    }
    nav.navbar .esf-toggler span {
        font-size: 5rem;
    }
    nav.navbar.shrink {
        min-height: 99px;
    }
    .esf-header-title {
        font-size: 2rem;
        left: 9rem;
        text-transform: uppercase;
    }
    blockquote, .wp-block-quote {
        margin: 0 15% 0 15%;
    }
}

/* Medium devices (tablets, 768px and up) md */
@media (min-width: 768px) {
    nav.navbar {
        min-height: 190px;
    }
    nav.navbar.shrink {
        min-height: 119px;
    }
    .esf-header-title {
        left: 11rem;
    }
    blockquote, .wp-block-quote {
        margin: 0 20% 0 20%;
    }
    .esf-two-cols .left {
        padding-right: 2.5rem;
    }   
    .esf-two-cols .right {
        padding-right: 2.5rem;
    }   
    .esf-navi {
        font-size: 3.5rem;
        left: 10%;
        right: 10%;
        width: 80%;
    }
}

/* Large devices (desktops, 992px and up) lg */
@media (min-width: 992px) {
    nav.navbar {
        min-height: 190px;
    }
    nav.navbar.shrink {
        min-height: 159px;
    }
    .esf-header-title {
        left: 13rem;
    }
    blockquote, .wp-block-quote {
        margin: 0 25% 0 25%;
    }
    .esf-navi {
        left: 20%;
        right: 20%;
        width: 60%;
    }
}

/* Extra large devices (large desktops, 1200px and up) xl */
@media (min-width: 1200px) {
    nav.navbar, .container {
        max-width: 1358px;
    }
    nav.navbar {
        min-height: 190px;
    }
    body.home nav.navbar {
        min-height: 419px;
    }
    nav.navbar.shrink, body.home nav.navbar.shrink {
        min-height: 190px;
    }
    nav.navbar .esf-toggler {
        top: 3rem;
    }
    .esf-header-title {
        font-size: 3rem;
        left: 17rem
    }
    .esf-header-title:not(.home) {
        font-size: 5rem;
        left: 17rem;
    }
    blockquote, .wp-block-quote {
        margin: 0 30% 0 30%;
    }
    .esf-navi {
        left: 25%;
        right: 25%;
        width: 50%;
    }
}
