/**
 * Theme Name:     Seepfarreien Theme
 * Theme URI:      http://www.seepfarreien.ch
 * Description:    Theme für die Seepfarreien Webseite.
 * Authoren:       Verena Küttel (Atelier-k), Caroline Lottenbach
 * Author URI:     http://www.atelier-k.ch
 * Version:        1.0
 */

/* Imported google fonts */
/*@import url('https://fonts.googleapis.com/css?family=Dosis&display=swap');*/
/*@import url('https://fonts.googleapis.com/css?family=Literata&display=swap');*/


/*!* Colors used *!*/
/** {*/
/*-my-lightBlue: #99cde7;*/
/* alternative lightBlue: #b2e2fa; */
/*-my-blue: #0081c3;*/
/*-my-black: #000000;*/
/*-my-grey: #8a8a8a; */
/*-my-darkgrey: ##737373 */
/*}*/

* {
    box-sizing: border-box;
    font-family: 'Dosis', sans-serif;
    font-size: 1.3rem;
    scroll-behavior: smooth;
}

body {
    /*font-size: 62.5%;*/
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
}

#page-wrapper {
    max-width: 1200px;
    margin: auto;
    padding-bottom: 0.5em;

}

/*--------------------------------------------------------------
  HEADER
---------------------------------------------------------------- */

#header {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

/*   Logo der Seepfarreien
	 ========================================================================== */

h1.site-title {
    font-family: 'Dosis', sans-serif;
    font-weight: 600;
    color: #0081c3;

    display: block;
    font-size: 1.2rem;
    margin-block-start: 0.5em;
    margin-block-end: 0.2em;
    margin-top: 0.5em; /* IE + Edge */
    margin-bottom: 0.2em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

h2.site-title {
    font-family: 'Dosis', sans-serif;
    display: block;
    font-size: 1.1rem;
    margin-block-start: 0.2em;
    margin-block-end: 0.2em;
    margin-top: 0.2em; /* IE + Edge */
    margin-bottom: 0.2em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: normal;
}

#header a {
    display: contents;
    text-decoration: none;
    color: inherit;
}

#site-logo {
    margin-top: 0.5em;
    float:right;
    max-width: 300px;
    /*max-width: 300px;*/
}

.container {
    position: relative;
    justify-content: flex-end;
    /*border: 2px dashed orange;*/
}

/* To  position images correctly */
.clearfix:after {
    content: "";
    display: table;
    clear: both;
}


/*   Quick-Links / Top-Navigation Bar
	 ========================================================================== */

.navigation-bar {
    position: -webkit-sticky; /* Safari */
    position: sticky; /* ! Internet Explorer, Edge 15 and earlier versions do not support sticky positioning */
    top: 0;
    padding: 0.5em;
    margin-top: 0.75em;
    margin-bottom: 0.1em;
    z-index: 10;
    background-color: #0081c3;
    box-shadow: 0px 0.1em 0px rgba(255, 255, 255, 0.9);
}

.navigation-bar ul {
    list-style: none;
    text-align: right;
}

.navigation-bar li {
     display: inline-block;
     margin-top: 0.25em;
     margin-bottom: 0.25em;
 }

.navigation-bar a {
    text-decoration: none;
    color: white;
    font-family: 'Literata', serif;
    font-weight: 600;
    font-size: 1.2rem;

    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.navigation-bar a:hover {
    color: #a7ddf8;
}

.navigation-bar li:after {
    padding: 0.2em;
    color: white;
    font-family: 'Literata', serif;
    font-weight: 600;
    content: " | ";
}

.navigation-bar li:last-of-type:after {
    display: none;
}


/* To highlight the current page in the sub-menu */

.navigation-bar li.current_page_item > a {
    color: #a7ddf8;
}



/*--------------------------------------------------------------
  CONTENT: INDEX / PAGE / SINGLE
---------------------------------------------------------------- */

#content {
    /*border: 1px solid deepskyblue;*/
}

#main {
    /* padding-top: 0.5em; */
    position: relative;

}

.title-image {
    overflow: hidden;
    height: 50vw;
    max-height: 600px;
}

.title-image img {
    width: 100%;
    height: auto;
}

#content-text {
    padding-left: 2em;
    padding-right: 2em;
    padding-bottom: 2em;
    /*flex-basis: 134%;*/

}

/*   Text Elements
	 ========================================================================== */

h1 {
    font-family: 'Dosis', sans-serif;
    /*font-family: 'Dosis ExtraBold', sans-serif;*/
    font-weight: 800;
    display: block;
    font-size: 2.4rem;
    margin-block-start: 0.67em;
    margin-block-end: 0.67em;
    margin-top: 0.67em; /* IE + Edge */
    margin-bottom: 0.67em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}

h2 {
    font-family: 'Dosis', sans-serif;
    display: block;
    font-size: 1.8rem;
    margin-block-start: 2.0em;
    margin-block-end: 0.6em;
    margin-top: 2.0em; /* IE + Edge */
    margin-bottom: 0.6em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: 700;
    line-height: 120%;
}

h3 {
    display: block;
    font-size: 1.3rem;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-top: 1em; /* IE + Edge */
    margin-bottom: 1em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h4 {
    display: block;
    font-size: 1.3rem;
    color: #0081c3;
    margin-block-start: 1.33em;
    margin-block-end: 1.33em;
    margin-top: 1.33em; /* IE + Edge */
    margin-bottom: 1.33em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h5 {
    display: block;
    font-size: 1.0rem;
    margin-block-start: 1.67em;
    margin-block-end: 1.67em;
    margin-top: 1.67em; /* IE + Edge */
    margin-bottom: 1.67em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

h6 {
    display: block;
    font-family: 'Literata', serif;
    font-size: 1.4rem;
    color: #0081c3;
    margin-top: 2.33em; /* IE + Edge */
    margin-bottom: 2.33em; /* IE + Edge */
    font-weight: bold;
}

h3, h4, h5, h6 {
    /*margin-block-end: 0.1em;*/
    margin-bottom: 0.1em; /* IE + Edge */
}

p {
    display: block;
    font-size: 1.2rem;
    margin-block-start: 0.2em;
    margin-block-end: 1em;
    margin-top: 0.2em; /* IE + Edge */
    margin-bottom: 1em; /* IE + Edge */
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    line-height: 140%;
}


/* Quotes */
blockquote.wp-block-quote {
    position: relative;
    font-family: "Literata", sans-serif;
    font-size: 1.2rem;
    line-height: 140%;
    font-style: italic;
    color: #0081c3;
}

blockquote.wp-block-quote,
blockquote.wp-block-quote.is-style-large {
    margin: 0 0 2em 0;
    padding: 0.5em 1.5em 0em 1.5em;
}

blockquote.wp-block-quote:before {
    content: "\201C";
    position: absolute;
    top: 0.25em;
    left: -0.15em;
    color: rgba(162, 212, 243, 0.55);
    font-size: 3em;
    z-index: -1;
}

blockquote.wp-block-quote.is-style-large p {
    font-size: 1.4rem;
    line-height: 140%;
}

/* Tables */
figure.wp-block-table {
    margin: 1em 0 2em 0;
    overflow-x: auto;
    overflow-y: hidden;
}

thead {
    font-size: 1.3em;
    font-weight: 600;
    color: #0081c3;
    border-bottom: 3px solid #0081c3;
}

thead th {
    padding: 0.5em 0.5em 0.25em 0.5em;
}


th, td {
    padding: 0.5em;
    text-align: left;
    line-height: 120%;
    border-bottom: 1px solid #0081c3;
}

tr:hover {
    background-color: rgba(153, 205, 231, 0.2);
}




/*   Link Style
	 ========================================================================== */
#content-text a {
   color: #00699f;
}


/*   Bullet / Numbered List Styling
	 ========================================================================== */

#content-text ul {
    list-style: outside;
    margin-top: 0.2em; /* IE + Edge */
    margin-bottom: 1em; /* IE + Edge */
}

#content-text ul > li > ul {
    list-style: outside;
}

#content-text li {
    margin-bottom: 0.2em;
    margin-left: 1.5em;
    line-height: 120%;
}

#content-text ol {
    list-style: decimal outside;
    margin-top: 0.2em; /* IE + Edge */
    margin-bottom: 1em; /* IE + Edge */
    /*counter-reset: section;*/
}


/*   Image Style
	 ========================================================================== */
.wp-block-image:after {
    content: "";
    display: table;
    clear: both;
}

.wp-block-image img {
    height: auto;
}

/*   Button Styles
	 ========================================================================== */

a.wp-block-button__link {
    background-color: #0081c3;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    color: white !important;
    border-radius: 3px;
    margin-bottom: 1em;
}

a.wp-block-button__link:hover {
    background-color: #00699f;
}

/* Download Button with Text */

#content-text .wp-block-file > a:first-child {
    /*display: inline-block;*/
    line-height: 140%;
    margin-bottom: 0.5em;
    margin-right: 0.5em;
}

#content-text a.wp-block-file__button {
    display: inline-block;
    margin-top: 0.3em;
    margin-left: 0;
    background-color: white;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    color:  #0081c3;
    border-radius: 3px;
    border: 1px solid #0081c3;
}

/* Download Button without Text (arrow icon) */
#content-text a.wp-block-file__button:empty {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: none;
    font-size: 1.4rem;
    background-image: url('download_icon.svg');
    border: none;
    width: 1em;
    height: 1em;
}

/*   Search Results (search.php) styling
	 ========================================================================== */
.search-results .entry {
    margin-bottom: 2.5em;
}

.search-results h4 {
    font-size: 1.6rem;
}

.search-results h4 > a {
    text-decoration: none;
}

/*   Download Liste styling
	 ========================================================================== */

.download-list {
    list-style: outside;
}

.download-list div.wp-block-file {
    display:list-item;
    margin-bottom: 0.2em;
    margin-left: 1.5em;
    line-height: 120%;
}


/*--------------------------------------------------------------
  SIDEBAR
---------------------------------------------------------------- */
div#sidebar {
    /*padding: 0;*/
    /*margin: 0;*/
    /*box-sizing: border-box;*/
}

#sidebar {
    background-color: #99cde7;
    /*flex-basis: 66%;*/

}

#sidebar li.sidebar-widget {
    padding-top: 0.67em;
    padding-bottom: 0.67em;
    padding-left: 1em;
    padding-right: 1em;
    margin-bottom: 0.5em;

}

#sidebar li+li.sidebar-separation {
    display: block;
    height: 0.5em;
    width: 100%;
    background-color: white;
}

#sidebar h6 {
    margin-block-start: 0.67em;
    margin-top: 0.67em; /* IE + Edge */
    color: #0081c3;
}

/*   Text Styling
	 ========================================================================== */
#sidebar a {
    color: #00699f;
}

#sidebar  .textwidget p:last-of-type {
    margin-bottom: 0;
    margin-block-end: 0;
}


/*   Search Form Styling
	 ========================================================================== */
#sidebar .darkblue-background {
    background-color: #0081c3;
    /*border: 2px solid #0081c3;*/
}

#sidebar .sidebar-widget.darkblue-background {
    margin: 0;
}

#sidebar .darkblue-background h6 {
    color: white;
}

#sidebar .searchform input[type=submit] {
    /*background-color: #99cde7;*/
}

#searchform .screen-reader-text {
    display: none;
}

.searchform > div {
    overflow: hidden;
    width: 100%;
    vertical-align: middle;
    white-space: nowrap;
    padding-top: 0.5em;
    padding-bottom: 1em;
    display: inline-flex;
}

.searchform input[name=s] {
    width: 100%;
    min-width: 100px;
    max-width: 15em;
    height: 50px;
    background: #fafafa;
    border: 2px solid #0081c3;
    font-size: 1.2rem;
    float: left;
    color: black;
    padding-left: 15px;
    -webkit-border-top-left-radius-radius: 3px;
    -webkit-border-bottom-left-radius: 3px;
    -moz-border-radius-topleft: 3px;
    -moz-border-radius-bottomleft: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}


#sidebar .searchform input[name=s] {
    /*border: none;*/
    border: 2px solid white;
}

#sidebar .searchform input[type=submit] {
    border: 2px solid white;
}

.searchform input[name=s]::-webkit-input-placeholder {
    color: #0081c3;
}

.searchform input[name=s]::-moz-placeholder {
    color: #0081c3;
}

.searchform input[name=s]::-ms-input-placeholder {
    color: #0081c3;
}


.searchform input[type=submit] {
    -webkit-border-top-right-radius: 3px;
    -webkit-border-bottom-right-radius: 3px;
    -moz-border-radius-topright: 3px;
    -moz-border-radius-bottomright: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;

    border: none;
    background-color: #0081c3;
    background-image: url('search_icon.svg');
    height: 50px;
    width: 55px;
    color: #0081c3;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.searchform input[type=submit]:hover {
    background-color: #00699f;
}


    /*   Event Calendar Styling - Upcoming Events
         ========================================================================== */
#sidebar .mec-event-list-classic {
    padding-top: 1em; /* Without Image */
}

#sidebar h6 {
    margin-bottom: 0.5em;
}

#sidebar article {
    padding-top: 0em;
    /*padding-bottom: 1.0rem;*/
    padding-bottom: 1.5rem; /* Without Image */
    padding-left: 0;
    position: relative;
}

#sidebar article>*:last-child {
    margin-bottom: 0rem;
}

#sidebar article:after {
    height: 1px;
    background: white;
    opacity: 50%;
    width: 100%;
    /*margin-top: 1.0rem;*/
    margin-top: 1.5rem; /* Without Image */
}

#sidebar .mec-event-image {
    /*display: none; !* Without Image *!*/

    /* TODO: Delete this. Sidebar with image */
    position: relative; /* With Image*/
    margin-right: 1.0rem; /* With Image*/
    float: left; /* With Image */
    /*min-height: 50px; !* With Image*!*/
}

#sidebar img.attachment-thumbnail.size-thumbnail.wp-post-image {
    height: auto;
}

/* Date, Time, Place Styling */
#sidebar .mec-color {
    color: white;
    font-size: 1.0rem;
    font-family: 'Dosis', sans-serif;
}


#sidebar .mec-event-date,
#sidebar .mec-event-time,
#sidebar .mec-event-title {
    /*padding-left: 2rem; !* Without Image *!*/
    padding-left: 0; /* With Image*/
}

#sidebar .mec-event-date {
    display: block; /* With Image */
    /*display: inline-block; !* Without Image *!*/
    margin-bottom: 0.2em;
    font-size: 1.2rem;
    line-height: 120%;
}

#sidebar .mec-event-time {
    display: inline-block;
    /*margin-bottom: 0.5em; !* Without Image *!*/
    margin-bottom: 0.5em; /* With Image */
}

#sidebar .mec-time-details, #sidebar .mec-time-details span {
    font: inherit;
    font-size: 1.2rem;
}

#sidebar div.mec-event-detail {
    display: none; /* Undo this to show the event location *!*/
    /*color: white;*/
    /*font-size: 0.9rem;*/
    /*font-family: 'Dosis', sans-serif;*/
    /*margin-bottom: 1.0rem;*/
}


#sidebar i.mec-sl-calendar, #sidebar i.mec-sl-clock, #sidebar i.mec-sl-map-marker {
    font-size: 1rem;
    margin-right: 0.3rem;
}

#sidebar i.mec-sl-clock {
    margin-right: 0.55rem;
}

#main #sidebar .mec-start-time {
    margin-left: 0;
}

/* Event Title Styling */
#sidebar .mec-event-title {
    /*margin-top: 0.5rem; !* Without Image *!*/
    margin-top: 0.5rem; /* With Image */
    margin-bottom: 0; /* With Image */
    display: inline-block;
    width: 100%;
}

#sidebar .mec-event-title a {
    color: #0081c3;
    font-size: 1.2rem;
    font-family: 'Literata', serif;
    text-transform: none;
}

/* Event color hidden */
#sidebar span.event-color {
    display: none;
}

#sidebar .mec-load-more-button {
    text-transform: none;
    background-color: #0081c3;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    color: white;
    border: none;
    border-radius: 3px;
    height: 45px;
}



/*--------------------------------------------------------------
  MODERN EVENT CALENDAR STYLING
---------------------------------------------------------------- */

/*   General MEC Styling
	 ========================================================================== */

/* Load more button */
#main .mec-load-more-button {
    text-transform: none;
    background-color: #0081c3;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    color: white;
    border: none;
    border-radius: 3px;
    height: 45px;
}

#main .mec-load-more-button:hover {
    background-color: #00699f;
}

#content-text .mec-dropdown-search {
    min-width: 220px;
    display: inline-block;
}

#content-text .mec-date-search select:first-of-type {
    width: calc(100% - 114px);
}

#content-text .mec-date-search select:last-child {
    width: 80px;
}

/*#content-text .mec-search-form option, #content-text .mec-search-form select {*/
/*    font-family: inherit;*/
/*    font-size: 0.9rem;*/
/*}*/



/*   Full Calendar
	 ========================================================================== */

/* Filter bar */

#main .mec-wrap .mec-totalcal-box {
    border: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

#main .mec-search-form i,
#main .mec-search-form select,
#main .mec-search-form input {
    border-color: #00699f;
    /*border-color: #a5c3d2;*/
}

#content-text .mec-search-form select,
#content-text .mec-search-form input,
#content-text .mec-search-form option {
    color: #4f4f4f;
    font-family: "Dosis", sans-serif;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

#content-text .mec-search-form i {
    color: #00699f;
}

#content-text .mec-search-form input {
    padding-left: 0.5em;
    padding-right: 0.5em;
}


/* Month divider */

#main .mec-month-divider {
    text-align: left;
    margin-top: 8em;
    margin-bottom: 2em;
}

#main .mec-month-divider span {
    font-size: 1.8rem;
    font-family: 'Dosis', sans-serif;
    font-weight: 800;
    text-transform: none;
    border-bottom: none;
}

#main .mec-month-divider span:before {
    border: none;
}


/* Article border */
#main .mec-event-list-standard article.mec-event-article {
    border-top: 1px solid #0081c3;
    border-left: none;
    border-right: none;
    border-bottom: none;
    box-shadow: none;
}

#main .mec-event-list-standard .mec-event-meta-wrap {
    border-left: 1px solid #0081c3;
    border-right: 1px solid #0081c3;
}

#main .mec-event-list-standard .mec-event-image-wrap {
    border-left: 1px solid #0081c3;
}

#main .mec-event-list-standard h3.mec-event-title {
    font-size: 1.4rem;
}

@media only screen and ( max-width: 960px ) {

    #main .mec-event-list-standard .mec-topsec {
        border-right: 1px solid #0081c3;
    }

    #main .mec-event-list-standard .mec-event-meta-wrap {
        border-top: 1px solid #0081c3;
        border-left: 1px solid #0081c3;
        border-right: none;
    }

    #main .mec-event-list-standard .mec-event-content-wrap {
        min-height: 100px;
    }
}

@media only screen and (max-width: 479px) {

    #main .mec-event-list-standard .mec-event-image-wrap {
        border-right: 1px solid #0081c3;
    }

    #main .mec-event-list-standard .mec-event-content-wrap {
        border-left: 1px solid #0081c3;
        padding-left: 20px;
    }

    #main .mec-event-list-standard .mec-event-meta-wrap {
        border-right: none;
        padding-left: 20px;
    }
}


/* Article Image */

#main .mec-event-image img {
    max-width: 100%;
    max-height: 200px;
    object-fit: cover;
}

/* Article content */
#main .mec-event-title a {
    color: #0081c3;
    letter-spacing: 0.5px;
    font-family: 'Literata', serif;
}

#main .mec-event-title a:hover {
    color: #00699f;
}

#main .mec-event-description {
    font-family: 'Dosis', sans-serif;
    font-size: 1.1rem;
}

/* TODO: Stimmt noch nicht*/
.mec-event-d, .mec-time-details, .mec-start-time, .mec-end-time, .mec-venue-details span {
    font-family: 'Dosis', sans-serif;
}

#main .mec-color-before :before {
    font-size: 1.2rem;
}

#main .mec-event-d {
    margin-left: 0.5em;
}

#main .mec-event-d .mec-start-date-label, #main .mec-time-details, #main .mec-time-details span, #main .mec-venue-details > span {
    font-size: 1.2rem;
}

#main .mec-date-details, #main .mec-local-time-details, #main .mec-time-details, #main .mec-venue-details {
    margin-bottom: 0;
    padding-bottom: 10px;
}

#main .mec-event-address {
    font-size: 1.0rem;
}

#main .mec-event-address span {
    display: inline-block;
}

#main .mec-start-time {
    margin-left: 0.4em;
}

#main .mec-time-details {
    font-size: 1.2rem;
}

#main .mec-venue-details span {
    margin-left: 0.25em;
}

#main .mec-venue-details {
    margin-left: 0.25em;
}



#main span.event-color {
    display: none;
}

/* Article footer */
#main .mec-event-footer {
    background: none;
    border-top: 1px solid #0081c3;
    padding: 0;
}

#main ul.mec-event-sharing-wrap {
    display: none;
}

#main .mec-booking-button {
    text-transform: none;
    background-color: #0081c3;
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    text-decoration: none;
    letter-spacing: 1px;
    color: white;
    border: none;
    border-radius: 3px;
    height: 40px;
    line-height: 40px;
    right: 0;
    top: 10px;
}

#main .mec-booking-button:hover {
    background-color: #00699f;
}


/*   Single Event
	 ========================================================================== */

.single-event-title {
    display: block;
}

.single-event-title h1 {
    display: inline-flex;
    line-height: 120%;
}

.single-event-title .mec-event-meta {
    display: inline-block;
    /*position: relative;*/
    /*right: 0px;*/
}

.single-event-topbar {
    margin-top: 1em;
    display: table;
    width: 100%;
    /*border: 1px solid #0081c3;*/
    background: none;
    padding-left: 15px;
    padding-right: 15px;
}

.single-event-topbar .mec-event-meta {
    display: table-cell;
    padding-top: 15px;
    padding-bottom: 15px;
    /*border-right: 1px solid #0081c3;*/
}

.single-event-topbar .mec-event-meta:last-child {
    border-right: none;
}

.single-event-topbar .mec-single-event-date, .single-event-topbar .mec-single-event-time,
.single-event-topbar .mec-event-cost, .single-event-topbar .mec-single-event-label{
    background: none;
    color: #0081c3;
    margin-bottom: 0;
}

.single-event-topbar .mec-event-meta > div > i {
    font-size: 20px;
    color: #0081c3;
    vertical-align: unset;
}

.single-event-topbar .mec-event-meta > div > i:before {
    font-size: inherit;
    vertical-align: inherit;
}

.single-event-topbar .mec-event-meta > div h3 {
    text-transform: uppercase;
    margin-top: 0;
    padding-bottom: 5px;
    padding-left: 10px;
    display: inline-block;
}

.single-event-topbar .mec-event-meta > div dd {
    color: #0081c3;
    padding-left: 34px;
    margin-bottom: 0;
}

.mec-event-meta .mec-single-event-label {
    /*margin-top: 1em;*/
    background: #0081c3;
    border-radius: 26px;
    width: min-content;
    width: -moz-min-content;
    /*width: -webkit-min-content; */
    display: -ms-inline-grid;
    -ms-grid-columns: min-content;
}

.mec-single-event-label > i, .mec-single-event-label h3 {
    display: none;
}

    /*&#xf103*/

.event-description {
    margin-bottom: 4em;
}


/* Booking Form */

.single-event-booking {
    margin-top: 2.5em;
    margin-bottom: 2em;
    padding: 15px;
    width: 100%;
    border: 1px solid #0081c3;
    font-size: 1.2rem;
    font-family: 'Dosis', sans-serif;
}

.single-event-booking:empty {
    display: none;
}

.single-event-booking h4 {
    margin-top: 0;
    /*margin-bottom: 0.3em;*/

    display: block;
    font-size: 2.0rem;
    margin-bottom: 0.6em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    line-height: 120%;
}

.single-event-booking button {
    margin-top: 1em;
    padding: 0 28px;
    text-transform: none;
    background-color: #0081c3;
    /*font-family: 'Dosis', sans-serif;*/
    font-size: 1.2rem;
    color: white;
    border: none;
    border-radius: 3px;
    height: 45px;
}

.single-event-booking button:hover {
    background-color: #00699f;
}

.single-event-booking .mec-book-form-btn-wrap button {
    display: inline-block;
}

.single-event-booking .mec-book-form-btn-wrap button:first-of-type {
    margin-right: 0.5em;
}

.single-event-booking button.mec-book-form-back-button {
    background-color: #8a8a8a;
}

.single-event-booking button.mec-book-form-back-button:hover {
    background-color: #737373;
}

.single-event-booking > div > div > form > *,
.single-event-booking div > div > #mec_book_payment_form > * {
    margin-bottom: 1em;
    margin-right: 1em;
    margin-left: 1em;
}

.single-event-booking div > div > form > *:first-child,
.single-event-booking div > div > #mec_book_payment_form > *:first-child {
    margin-bottom: 0.6em;
    margin-left: 0;
}

.single-event-booking > div > div > form > *:last-child,
.single-event-booking div > div > #mec_book_payment_form > *:nth-last-child(2) {
    margin-bottom: 0;
}

.single-event-booking .mec-event-tickets-list .mec-event-ticket {
    margin-bottom: 1.5em;
}

.single-event-booking .mec-event-tickets-list .mec-event-ticket:last-child {
    margin-bottom: 1em;
}

.single-event-booking .mec-event-ticket p {
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    font-size: 1.0rem !important;
}

.single-event-booking label {
    font-size: 1.2rem;
}

.single-event-booking input, .single-event-booking select {
    display: block;
    margin-top: 0.3em;
    margin-bottom: 0.2em;
    /*padding: 0.1em 0 0.1em 0.5em !important;*/
    padding: 0em 0 0em 0.5em !important;
    height: 45px;
    font-size: 1.2rem;
    border: 1px solid #c7c7c7;
}

.single-event-booking .mec-event-ticket-name, .single-event-booking .mec-ticket-name {
    font-size: 1.4rem;
    font-weight: bold;
    color: black;
}

.single-event-booking .mec-event-ticket-price, .single-event-booking .mec-ticket-price {
    margin-left: 0.5em;
    font-size: 1.2rem !important;
    color: black;
}

.single-event-booking .mec-event-ticket-available {
    font-size: 1.0rem;
    color: #8a8a8a;
}

.single-event-booking .mec-error, .single-event-booking .mec-success {
    margin-top: 0.75em;
    margin-left: 1em;
    margin-right: 1em;
    font-size: 1.0rem;
    line-height: 120%;
}

.single-event-booking .mec-book-form-gateway-checkout .mec-success {
    margin: 0;
}

#content-text .single-event-booking form > ul {
    margin-left: 0;
    margin-top: 0;
    list-style: none ;
}

#content-text .single-event-booking form > ul > li {
    /*margin-top: 1em;*/
    margin-left: 1em;
    margin-bottom: 1.5em;
    line-height: 100%;
}

#content-text .single-event-booking form > ul > li:last-of-type {
    margin-bottom: 1em;
}

#content-text .single-event-booking form > ul > li > div {
    margin-bottom: 1em;
}

.single-event-booking .mec-book-ticket-container {
    color: black;
    font-size: 1.2rem;
}

.single-event-booking .mec-book-ticket-container h4 {
    margin-bottom: 0.25em;
}

.single-event-booking .mec-book-ticket-container > div > label {
    display: block;
}

.single-event-booking .wbmec-mandatory {
    font-size: 1.2rem !important;
}

.single-event-booking input[type=checkbox], .single-event-booking input[type=radio] {
    display: inline-block;
    margin-left: 1.5em;
    float: none !important;
    height: 22px;
    width: 22px;
    vertical-align: bottom;
}

.single-event-booking .mec-first-for-all-wrapper input[type=checkbox] {
    margin-left: 0;
}

.single-event-booking .mec-book-reg-field-agreement input[type=checkbox] {
    margin-left: 0;
}

.single-event-booking input[type=file] {
    border: none;
    padding: 0;
}

.single-event-booking textarea {
    display: block;
    margin-top: 0.3em;
    margin-bottom: 0.2em;
    padding: 0em 0 0em 0.5em !important;
    font-size: 1.2rem;
    border: 1px solid #c7c7c7;
    width: 100%;
    resize: none;
}

.single-event-booking input#file-upload-button {
    font-family: 'Dosis', sans-serif !important;
    font-size: 1.2rem !important;
    margin-right: 0.2em !important;
}

.single-event-booking select {
    width: 224px;
}

.single-event-booking .mec-ticket-variation-name {
    font-size: 1.2rem;
}

.single-event-booking .mec-ticket-variation-price {
    font-size: 1.2rem;
    font-weight: normal;
    margin-left: 0.5em;
}

.single-event-booking .mec-book-form-price {
    padding-bottom: 1em;
}

.single-event-booking .mec-book-price-details > li {
    margin: 0 !important;
    display: block;
    width: 100%;
    font-size: 1.2rem !important;
}

.single-event-booking .mec-book-price-details .mec-book-price-detail-description {
    color: #8a8a8a;
}

.single-event-booking .mec-book-price-details .mec-book-price-detail-amount {
    float: right;
    color: black;
    font-size: 1.2rem !important;
    /*font-weight: bold;*/
}

.single-event-booking .mec-book-price-total {
    display: block;
    margin-right: 0.5em;
    text-align: right;
    font-size: 1.4rem;
    font-weight: bold;
    color: #0081c3;
}

.single-event-booking .mec-book-price-total:before {
    display: inline-block;
    margin-right: 0.5em;
    content: "Total: ";
}

.single-event-booking .mec-book-form-coupon {
    margin-bottom: 1.5em !important;
}

.single-event-booking .mec-book-form-coupon input[type=text] {
    display: inline-block;
    margin: 0 0.5em 0 0 !important;
    font-size: 1.0rem;
}

.single-event-booking .mec-book-form-coupon button {
    display: inline-block;
    margin-top: 0.5em;
    font-size: 1.0rem;
    background-color: #8a8a8a;
}

.single-event-booking .mec-book-form-coupon button:hover {
    background-color: #00699f;
}

.single-event-booking .mec-book-form-coupon .mec-coupon-message {
    margin-right: 0 !important;
    margin-left: 0 !important;
}

.single-event-booking .mec-book-form-gateway-label {
    display: block;
    color: #8a8a8a;
}

.single-event-booking p.mec-gateway-comment {
    font-size: 1.2rem;
    color: #8a8a8a;
}



/* Meta event infos */

.mec-event-meta .mec-single-event-label dd {
    color: white !important;
    display: inline-block;
    padding: 0.1em;
}

.mec-schedule-head {
    display: block;
    font-size: 2.0rem;
    margin-block-start: 2.0em;
    margin-block-end: 0.6em;
    margin-top: 2.0em;
    margin-bottom: 0.6em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    line-height: 120%;
}

.mec-schedule-time {
    color: #0081c3;
}

.mec-schedule-time .mec-color {
    color: #0081c3;
}


.mec-event-schedule-content dl {
    font-size: 1.2rem !important;
}

.mec-event-schedule-content dl:before {
    top: 13px !important;
}

.mec-schedule-title {
    font-size: inherit !important;
}


.single-event-meta-infos .mec-event-meta {
    padding-top: 15px;
    padding-bottom: 15px;
    width: 100%;
    background: none;
    /*border-bottom: 1px solid #0081c3;*/
}

.single-event-meta-infos:empty {
    display: none;
}

.single-event-meta-infos .mec-event-meta:last-child {
    border-bottom: none;
}

.single-event-meta-infos {
    /*border: 1px solid #0081c3;*/
    margin-top: 2em;
    margin-bottom: 1.5em;
}

.single-event-meta-infos .mec-single-event-location, .single-event-meta-infos .mec-single-event-organizer,
.single-event-meta-infos .mec-single-event-category {
    background: none;
    color: #0081c3;
    margin-bottom: 0;
}

.single-event-meta-infos .mec-event-meta > div > i,
.single-event-meta-infos .mec-single-event-category i,
.single-event-meta-infos .mec-event-meta > div dd > i {
    font-size: 20px;
    color: #0081c3;
    vertical-align: unset;
}
.single-event-meta-infos .mec-event-meta > div > i:before,
.single-event-meta-infos .mec-single-event-category i:before,
.single-event-meta-infos .mec-event-meta > div dd > i:before {
    font-size: inherit;
    vertical-align: inherit;
}

.single-event-meta-infos  .mec-event-meta > div h3,
.single-event-meta-infos .mec-single-event-category dt {
    /*text-transform: uppercase;*/
    margin-top: 0;
    margin-bottom: 0.1em;
    padding-bottom: 5px;
    padding-left: 10px;
    display: inline-block;
    font-weight: bold;
}

.single-event-meta-infos .mec-event-meta > div dd,
.single-event-meta-infos .mec-single-event-category dd {
    color: #0081c3;
    padding-left: 35px;
    margin-bottom: 0.2em;
}

.single-event-meta-infos .mec-single-event-category .mec-events-event-categories {
    margin-bottom: 0.3em;
}

.single-event-meta-infos .mec-single-event-category .mec-events-event-categories i.mec-fa-angle-right:after {
    content: "  ";
}

.single-event-meta-infos .mec-event-meta .mec-single-event-organizer > dd {
    padding-left: 0;
}

.single-event-meta-infos .mec-event-meta > div dd > h6 {
    font-family: 'Dosis', sans-serif;
    font-size: 1.2rem;
    font-weight: 400;
    display: inline-block;
    padding-left: 10px;
    margin-top: 0;
    margin-bottom: 0.1em;
}

.single-event-meta-infos .mec-event-meta > div dd a {
    display: inline-block;
    padding-left: 35px;
    margin-bottom: 0.2em;
}

.single-event-meta-infos .mec-single-event-organizer .mec-events-single-section-title {
    padding-left: 35px;
}

.single-event-meta-infos dd span{
    line-height: 120%;
}

.mec-single-event-location {
    position: relative;
}

.mec-single-event-location img, .mec-single-event-organizer img  {
    display: none;
}

.mec-single-event-location dd .mec-events-address {
     font-size: 1.2rem;
 }


.single-event-footer {
    display: table;
    width: 100%;
}

.single-event-footer-element {
    display: table-cell;
    width: 50%;
    margin: 0;
}

.single-event-footer h3 {
    display: block;
    margin-top: 0.2em;
    margin-bottom: 0.5em;
    font-weight: normal;
    color: #8a8a8a;
}

.single-event-footer .mec-event-social {
    display: inline-block;
}

.single-event-footer .mec-event-social > h3 {
    display: none;
}

.single-event-footer .mec-event-sharing {
    display: inline-block;
    margin-bottom: 0;
}

#content-text .single-event-footer ul {
    list-style: none;
    margin-bottom: 0;
}

#content-text .single-event-footer ul li {
    display: inline-block;
    margin-left: 0;
    margin-right: 1em;
}

#content-text .single-event-footer ul li a {
    color: #8a8a8a;
    text-decoration: none;
}

#content-text .single-event-footer ul li a:hover {
    color: #00699f;
}

.mec-event-export-module {
    min-width: 300px;
}

.single-event-footer .mec-export-details li {
    margin-right: 0 !important;
}

.single-event-footer .mec-export-details a {
    display:  inline-block;
    margin-bottom: 0.2em;
    padding-top: 4px;
    padding-bottom: 4px;
    padding-left: 10px;
    padding-right: 10px;
    background-color: #8a8a8a;
    font-family: 'Dosis', sans-serif;
    font-size: 1.0rem;
    color: white !important;
    border: none;
    border-radius: 3px;

    -webkit-transition: .3s;
    -moz-transition: .3s;
    -ms-transition: .3s;
    -o-transition: .3s;
    transition: .3s;
}

.single-event-footer .mec-export-details a:hover {
    background-color: #00699f;
}


@media (max-width: 590px) {

    .single-event-topbar {
        display: block;
        padding: 0;

    }
    .single-event-topbar .mec-event-meta {
        display: block;
        padding-left: 15px;
        padding-right: 15px;
        border-right: none;
        /*border-bottom: 1px solid #0081c3;*/
    }

    .single-event-topbar .mec-event-meta:last-child {
        border-bottom: none;
    }


    .single-event-footer {
        display: block;
    }

    .single-event-footer-element {
        display: block;
        width: 100%;
    }

    .single-event-footer-element:first-child {
        margin-bottom: 1em;
    }

}




/*--------------------------------------------------------------
  Newsletter Form
---------------------------------------------------------------- */

.mailjet_widget_front_container .mailjet-widget-form-group input {
    display: block;
    margin-top: 0.3em;
    margin-bottom: 0.2em;
    padding: 0em 0.5em 0em 0.5em !important;
    height: 45px;
    min-width: 10em;
    width: 33.333%;
    font-size: 1.2rem;
    border: 1px solid #c7c7c7;
}

.mailjet_widget_front_container input[type=submit] {
    margin-top: 1.5em;
    padding: 0 28px;
    background-color: #0081c3;
    font-size: 1.2rem;
    color: white;
    border: none;
    border-radius: 3px;
    height: 45px;
    /*min-width: 10em;*/
    /*width: 33.333%;*/
}

.mailjet_widget_front_container label {
    margin-top: 1em;
    display: block;
    font-size: 1.2rem;
}

.mailjet_widget_front_container span.input_mandatory {
    color: red;
    font-size: 1.2rem;
    padding-left: 5px;
}


/*--------------------------------------------------------------
  FOOTER
---------------------------------------------------------------- */
#footer {
    /*border: 1px solid limegreen;*/
    /*margin-top: 3em;*/
}

#footer hr.dividing-line {
    display: none;
}

.text-centered {
    text-align: center;
}

.footer-contact {
    padding: 1em 1em 0.2em 1em;
    text-align: center;
    color: #0081c3;
    font-weight: bold;
}

.underline {
    text-decoration: currentColor solid underline;
    -webkit-text-decoration: currentColor solid underline;
    text-underline-position: under;
    -webkit-text-underline-position: under;
}

.footer-inner-size {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}


/*   Main Navigation / Hauptmenü
	 ========================================================================== */

/* Offset the anchor jump by 90px to compensate for the navigation bar that sticks at the top of the site. */
.anchor,
#navigationMenu,
#seiten-titel {
    scroll-margin-top: 90px;
}

.navigation-menu {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 0.5em;
    padding-right: 1em;
    padding-left: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
    background-color: #0081c3;

}

.main-menu {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/*   Super-Menu Items
	 ========================================================================== */

.main-menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > ul > li {
    margin-bottom: 1em;
    cursor: pointer;
    color: white;
}

.main-menu > ul > li > a {
    font-family: 'Literata', serif;
    font-weight: 600;
    font-size: 1.4rem;
    margin-bottom: 0.4em;
    text-decoration: none;
    text-decoration: none;
    color: inherit;
    display: block;

    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.main-menu > ul > li > a:hover {
    color: #a7ddf8;
}


/*   Arrow Symbol + Animation */
.main-menu > ul > li.menu-item-has-children > a > .arrow {
    width: 1.25rem;
    height: 1.25rem;
    display: inline-block;
    position: absolute;
    margin: 0 0.5rem;
}

.main-menu > ul > li.menu-item-has-children > a > .arrow span {
    top: 0.5em;
    position: absolute;
    width: 0.75rem;
    height: 0.1rem;
    background-color: white;
    display: inline-block;
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.main-menu > ul > li.menu-item-has-children  > a:hover .arrow span {
    background-color: #a7ddf8;
}

.main-menu > ul > li.menu-item-has-children  > a > .arrow span:first-of-type {
    left: 0;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.main-menu > ul > li.menu-item-has-children  > a > .arrow span:last-of-type {
    right: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.main-menu > ul > li.menu-item-has-children  > a > .arrow.active span:first-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.main-menu > ul > li.menu-item-has-children  > a > .arrow.active span:last-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* To highlight the current page in the super-menu */

.main-menu li.current-menu-parent > a {
    color: #a7ddf8;
}

.main-menu > ul > li.current-menu-parent.menu-item-has-children > a > .arrow span {
    background-color: #a7ddf8;
}


/*   Sub-Menu Items
	 ========================================================================== */

.main-menu > ul > li > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
    line-height: 120%;
}

.main-menu > ul > li > ul > li {
    display: inline-block;
    color: white;
    margin-bottom: 0.2em;
}

.main-menu > ul > li > ul > li > a {
    text-decoration: none;
    color: inherit;
    font-family: 'Literata', serif;
    /*font-weight: 600;*/
    font-size: 1.2rem;
    margin-bottom: 0.4em;

    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
}

.main-menu > ul > li > ul > li > a:hover {
    color: #a7ddf8;
}

.main-menu > ul > li > ul > li > a:active {
    color: #a7ddf8;
}

div.main-menu > ul > li > ul > li:after {
    display: inline-block;
    padding: 0.2em;
    color: white;
    font-family: 'Literata', serif;
    /*font-weight: 600;*/
    content: " | ";
}

div.main-menu > ul > li > ul > li:last-of-type:after {
    display: none;
}

/* To highlight the current page in the sub-menu */
.main-menu li.current-menu-parent > ul {
    display: inherit;
}

.main-menu li.current_page_item {
    color: #a7ddf8;
}

/* The very end of the page with links to the impressum and data regulations */
.footer-end-text {
    padding: 1em;
}

.lock-icon {
    text-align: right;
    margin-top: 2em;
    margin-bottom: 0;
}

a.same-color-link {
    color: inherit;
}


/*--------------------------------------------------------------
  RESPONSIVE
---------------------------------------------------------------- */

 /*### Media Queries / Layout Breaks ###*/
@media (min-width: 460px) {

    #site-title-container {
        position: absolute;
        top: 0;
    }

    .container {
        position: inherit;
        display: flex;
        /*justify-content: flex-end;*/
    }

}

@media (min-width: 510px) {
    #sidebar .mec-event-date {
        display: inline-block; /* With Image */
    }

    #sidebar .mec-event-title {
        display: block; /* With Image */
        width: auto; /* With Image */
    }
}

@media (min-width: 650px) {
    h1.site-title {
        font-size: 1.3rem;
    }

    h2.site-title {
        font-size: 1.2rem;
    }

    #site-logo {
        max-width: 350px;
        width: 350px;
    }
}

/* # M Display # */
@media (min-width: 800px) {

    .container {
        justify-content: center;
    }

    /*#sidebar {*/
    /*    width: 66.66666666666%;*/
    /*}*/

}

@media (min-width: 1000px) {

    #main {
        display: table;
        width: 100%;
    }

    #content-text, #sidebar {
        display: table-cell;
    }

    #sidebar {
        width: 20rem;
        /*padding-top: 0;*/
    }

    #sidebar .mec-event-date,
    #sidebar .mec-event-time,
    #sidebar .mec-event-title {
        display: block;  /* With Image */
    }

    #sidebar .mec-event-title {
        display: inline-block; /* With Image */
        /*margin-top: 1.5rem; !* With Image *!*/
    }

    #footer hr.dividing-line {
        display: inherit;
        width: 100%;
        height: 0.25em;
        background-color: #0081c3;
        border: none;
        margin: 0;
    }

}

/* # XS Display # */
/* TODO: Delete */
/*@media (max-width: 348px) {*/
/*    nav.navigation-bar > .top-menu > ul {*/
/*        display: inherit;*/
/*        position: initial;*/
/*    }*/
/*    */
/*    nav.navigation-bar > ul {*/
/*        display: inherit;*/
/*        position: initial;*/
/*    }*/
/*}*/


/*--------------------------------------------------------------
  OLD CODE FOR REFERENCES
---------------------------------------------------------------- */

/*.menu-sub-item {*/
/*    font-family: 'Literata', serif;*/
/*    font-size: 1.2em;*/
/*}*/
/*a.menu-sub-item, a.menu-item {*/
/*    text-decoration: none;*/
/*    color: inherit;*/
/*}*/
/*a.menu-sub-item:hover, a.menu-item:hover {*/
/*    color: #99cde7;*/
/*}*/



/*.text-shadow {*/
/*    text-shadow:*/
/*            -2px -2px white,*/
/*            -2px 2px white,*/
/*            2px -2px white,*/
/*            2px 2px white;*/
/*}*/

/*.underline {*/
/*    background-size: 1px 1em;*/
/*    box-shadow:*/
/*            inset 0 -0.175em white,*/
/*            inset 0 -0.2em #000;*/
/*    display: inline;*/
/*}*/

