/*
 Theme Name:   Bachipedia Theme
 Theme URI:
 Description:  Theme für die Bachipedia Website
 Author:       Freundbild
 Author URI:   https://www.freundbild.com
 Template:     themetrust-create
 Version:      1.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

/* Top Navigation */

#nav_top, #nav_top .topNav {
    display: block;
    width: 100%;
    border-bottom: 1px solid #eeeeee;
}

#nav_top {
    display: block;
    width: 100%;
    transition-property: all;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
    padding: 0;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

#nav_top li {
    display: inline-block;
    margin-right: 1em;
    padding: 0;
    position: relative;
    bottom: -1px;
}

#nav_top li a {
    color: #8c8c8c;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 400;
}

#nav_top .active {
    border-bottom: 1px solid #000000;
}

#nav_top .active a {
    color: #000000;
    pointer-events: none;
}

#nav_top a:hover, #nav_top a:active {
    color: #000000;
}

/* Newsletter Social */

.newslettersocial.container {
    display: block;
    background-color: #f0f0f0;
}

#newslettersocial {
    display: block;
    width: 100%;
    transition-property: all;
    -webkit-transition: 0.2s ease;
    -moz-transition: 0.2s ease;
    -o-transition: 0.2s ease;
    transition: 0.2s ease;
    padding: 10px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

#newslettersocial h3.widget-title {
    font-family: 'Crimson Text', serif;
    font-size: 1em;
    font-weight: 400;
    text-transform: uppercase;
}

#newslettersocial .sow-social-media-button:hover {
    opacity: 0.8;
}

#newslettersocial.widget_siteorigin-panels-builder .panel-grid {
    padding-top: 0 !important; /* theme fail? */
}

#newslettersocial .so-panel.widget_sow-social-media-buttons {
    margin-bottom: 0 !important; /* theme fail? */
}

#newslettersocial .panel-grid-cell {
    margin-bottom: 30px;
}

#newslettersocial form.layout_form.cr_form.cr_font {
    min-width: 272px;
}

#newslettersocial form button[type="submit"] {
    background: #21211a;
    color: #fff;
    text-transform: uppercase;
    padding: 6px 20px 6px 20px;
    border: 1px solid #21211a;
    border-radius: 0 3rem 3rem 0;
    text-align: center;
    line-height: inherit;
    cursor: pointer;
    width: 100%;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 2px;
}

#newslettersocial form input[type="text"] {
    border: 1px solid #bfbfbf;
    background: #ffffff;
    border-right: 0;
    border-radius: 3rem 0 0 3rem;
    padding: 6px 10px 6px 25px;
    font-size: 14px;
    font-weight: 400;
}

#newslettersocial form button[type="submit"]:focus, #newslettersocial form input[type="text"]:focus {
    outline: 0;
}

#newslettersocial .cr_ipe_item {
    display: inline-block;
    float: left;
}

#newslettersocial .submit_container {

}


.main-filter-wrap {
	background: rgba(30, 30, 25, 1);
	padding: 20px;
}

.main-filter .multiselect {
	height: 40px;
    border: none;
    border-radius: 0;
    background: #ffffff;
    color: #787878;
    font-size: 14px;
	text-align: left;
	width: 100%;
}
.main-filter .btn-group {
    display: block;
}
.main-filter .multiselect:hover,
.main-filter .multiselect:focus,
.main-filter .multiselect:active {
	background: #ffffff;
    color: #787878;
}
.main-filter .btn .caret {
	position: absolute;
	right: 11px;
    top: 18px;
}
.main-filter .btn .caret {
    margin-left: 0;
    border: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: block;
    width: 7px;
    height: 7px;
    transform: rotate(45deg);
    transform-origin: 100%;
}
.site-main .filter-content  h3 {
	min-height: 64px;
	margin: 0;
}
input.custom-search {
    background: #fff;
    color: #BFBFBF;
    border: none;
    height: 40px;
	width: 100%;
	font-size: 16px;
}
input.custom-search-submit1 {
        position: absolute;
    right: 0;
    top: 0;
    border: none;
    font-size: 0;
    height: 40px;
    width: 40px;
}
.container-new {
	max-width: 1200px;
	margin: 0 auto;
	width: 100%;
}
.filter-box {
    float: left;
    width: 12.8%;
    padding: 0 5px;
}
.filter-box-input {
    float: left;
    width: 23%;
    padding: 0 5px;
	position: relative;
}
.post-resilt-wrapper .container-new {
	border-bottom: 1px solid #ededed;
	padding: 10px 0;
}
.post-resilt {
    float: left;
}
.result-box {
    float: right;
}
.post-resilt {
    float: left;
    font-size: 15px;
    color: #1E1E19;
	padding-top: 9px;
}
.result-box select {
    border: 1px solid rgba(215, 215, 215, 1);
    height: 40px;
    width: 159px;
    color: #787878;
	font-size: 14px;
    padding: 0 10px;
}
.custom-search-ic {
    position: absolute;
    right: 0;
    top: 0;
    background: url(images/search-ic.png) no-repeat center center;
    height: 40px;
    width: 40px;
    pointer-events: none;
}
.filter-content-shadow {
	box-shadow: 0px 0px 25px #e4e4e4;
	float: left;
	width: 100%;
}
.filter-content .post-content {
    padding: 30px;
}
.main-filter {
	margin: 0 -5px;
}
.entry-content .pagination-filter li {
	position: relative;
}
.entry-content .pagination-filter li a {
	width: 40px;
    height: 40px;
    border-radius: 100%;
    color: #1e1e19 !important;
    background: #ffffff !important;
    text-align: center;
    line-height: 40px;
    padding: 0;
    border: 1px solid transparent;
    box-shadow: none;
    font-size: 15px;
    font-weight: normal;
	position: relative;
}
.entry-content .pagination-filter li.active a {
    background: #1e1e19 !important;
    color: #fff !important;
}
.entry-content .pagination-filter #previous-page:before {
	content: "\f104";
    font-family: "FontAwesome";
    color: #1e1e19;
    position: absolute;
    left: 16px;
    top: 0;
    font-size: 22px;
    display: block;
    z-index: 999;
    text-align: center;
    line-height: 40px;
}
.entry-content .pagination-filter #previous-page {
	padding-right: 11px;
}
.entry-content .pagination-filter #next-page:before {
	content: "\f105";
	font-family: "FontAwesome";
	color: #1e1e19;
	position: absolute;
    right: 19px;
    top: 0;
    font-size: 22px;
    display: block;
    z-index: 999;
    text-align: center;
    line-height: 40px;
}
.entry-content .pagination-filter #previous-page a,
.entry-content .pagination-filter #next-page a {
	border-color: #1e1e19;
    border-radius: 100%;
    font-size: 0;
}
.newslettersocial.container {
    max-width: 100%;
    width: 100%;
}
html {
    font-size: 62.5% !important;
}
html body, body input, body select, body textarea {
    font-size: 18px;
    font-size: 1.8rem;
    line-height: 32px;
    line-height: 3.2rem;
}
body .small, body small {
    font-size: 100%;
}
#footer .secondary p {
	margin-bottom: 0;
}
#footer .widget-box .widget-title, #slide-panel .widget-box .widget-title {
	margin-top: 0;
}
#newslettersocial .cr_ipe_item {
	font-size: 0;
}
body #footer {
	font-family: 'Open Sans', sans-serif;
}

.filter-des {
    background: #f0f0f0;
    text-align: center;
    padding: 35px 20px 48px;
	position: relative;
	top: -1px;
}
.filter-des h2 {
    margin: 0 0 11px 0;
    font-family: 'Crimson Text';
    font-size: 46px;
    color: #222;
    line-height: 50px;
}
.filter-des p {
	margin: 0;
	padding: 0;
}
/* The container */
.multiselect-container>li {
  display: block;
  padding:  5px !important;
  position: relative;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default checkbox */
.multiselect-container>li input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.multiselect-container>li a {
    position: relative;
    outline: 1px solid white;
}
.multiselect-container>li a:after {
    position: absolute;
    top: 3px;
    left: 8px;
    height: 20px;
    width: 20px;
    content: "";
    border: 1px solid #cccccc;
}
.multiselect-container>li.active a:after {
    left: 15px;
    top: 6px;
    width: 7px;
    height: 11px;
    border: solid #5087C3;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.multiselect-container>li a:before {
    position: absolute;
    top: 3px;
    left: 8px;
    height: 20px;
    width: 20px;
    content: "";
    border: 1px solid #cccccc;
}
.filter-box .multiselect-selected-text {
    display: block;
    overflow: hidden;
    margin-right: 12px;
}
.container-new .result-box select {
    -webkit-appearance: none;
}
.container-new .result-box {
    position: relative;
}
.container-new .result-box:after {
    margin-left: 0;
    border: none;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    display: block;
    width: 7px;
    height: 7px;
    content: "";
    position: absolute;
    top: 16px;
    right: 10px;
    transform: rotate(45deg);
    transform-origin: 100%;
}
.filter-box .dropdown-menu {
    top: 41px;
    min-width: 260px;
    max-width: 260px;
    border: none;
    border-radius: 0px;
    max-height: 300px;
    overflow-y: scroll;
}
.filter-box .btn-group.open .dropdown-toggle {
    -webkit-box-shadow: none;
    box-shadow: none;
}
.filter-box .open>.dropdown-toggle.btn-default {
    background-color: #ffffff !important;
    border-color: transparent !important;
}
.filter-box .dropdown-menu>.active>a,
.filter-box .dropdown-menu>.active>a:focus,
.filter-box .dropdown-menu>.active>a:hover {
    color: #000000;
    text-decoration: none;
    background-color: transparent;
    outline: 0;
}
.filter-box .dropdown-menu>li>a {
    white-space: normal;
}
.filter-box .multiselect-container>li>a>label {
    display: block !important;
    z-index: 1;
}
input, select, textarea, button.btn {
    font-family: 'Open Sans', sans-serif !important;
}

@media screen and (min-width: 1025px) {
    #newslettersocial h3.widget-title {
        display: inline-block;
        float: left;
        height: 50px;
        margin-right: 1em;
        padding-top: 10px;
    }

    #newslettersocial .textwidget, #newslettersocial .social-media-button-container {
        display: inline-block;
        float: left;
    }

    #newslettersocial {
        padding: 0;
    }

    #newslettersocial .panel-grid-cell {
        margin-bottom: 0;
    }

    #newslettersocial .panel-grid-cell:last-child .panel-first-child.panel-last-child {
        float: right;
    }
}
@media (max-width: 1200px) {
	.post-resilt-wrapper {
		padding: 0 20px;
	}
}
@media (max-width: 780px) {
    #newslettersocial .panel-grid-cell {
        margin-bottom: 30px !important;
        text-align: center;
    }

    #newslettersocial .social-media-button-container, #newslettersocial form.layout_form.cr_form.cr_font, #newslettersocial form {
        display: inline-block;
        margin: 0 auto;
    }

    #newslettersocial form button[type="submit"] {
        padding: 5px 10px 5px 5px;
        font-size: 11px;
    }

    #newslettersocial form input[type="text"] {
        padding: 5px 5px 5px 8px;
        font-size: 11px;
    }

    #newslettersocial .cr_body.cr_page.cr_font.formbox {
        display: inline-block;
        margin: 0 auto;
    }
}

/* Headlines & Widgets */

h1, h2, h3, h4, h5, h6, .title, .product-title {
    font-weight: 400;
    color: #1e1e19;
}

h6 {
    font-weight: 400;
    color: #787878;
}

.widget_sow-headline h3 {
    line-height: 1.1em !important;
}

.medialabel {
    padding-bottom: 5px !important;
}

/* Forms */

form#commentform {
    margin-bottom: 80px;
}

input#submit.submit, .gform_button button {
    font-size: 14px !important;
    padding: 15px 22px 16px !important;
    letter-spacing: 2px;
    border-radius: 100px !important;
}

/* Sonstiges */

blockquote {
    margin-left: 0;
    border-left: 3px solid #8c8c8c;
    margin-bottom: 40px;
    font-style: italic;
    color: #787878;
}

blockquote p {
    font-size: 16px;
}

p, address {
    margin: 0;
    padding-bottom: 18px;
    line-height: 24px;
    font-size: 15px;
    font-weight: 400;
}

#primary header.main .subtitle {
    opacity: 0.6;
}

.description {
    color: #787878;
    font-size: 20px;
    font-weight: 400;
    line-height: 36px;
}

/* Kantaten-Templates */
#anchor_nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    border-bottom: 1px solid #eeeeee;
    background: #fff;
    z-index: 999;
    display: none;
}

#anchor_nav ul li {
    display: inline-block;
    margin-right: 20px;
    margin-top: 13px;
}

#about_text {
    clear: both;
}

#about_text .inner {
    margin: 50px 0 50px 0;
    width: calc(100% - 400px);
    float: left;
}

#about_text .inner_video {
    width: 360px;
    height: 360px;
    background: transparent;
    float: right;
    position: relative;
    top: -115px;
    box-shadow: 5px 5px 40px rgba(0, 0, 0, 0.33);
}

#video_box .sow-headline-container,
#audio_box .sow-headline-container,
#akteure_box .sow-headline-container,
#kantate_box .sow-headline-container,
#lutzogram_box .sow-headline-container,
#reflexion_box .sow-headline-container {
    text-align: center;
}

#video_box .sow-headline-container h2,
#audio_box .sow-headline-container h2,
#akteure_box .sow-headline-container h2,
#kantate_box .sow-headline-container h2,
#lutzogram_box .sow-headline-container h2,
#reflexion_box .sow-headline-container h2 {
    font-family: 'Crimson Text', serif;
    font-weight: 100;
    font-size: 32px;
}

#video_box .sow-headline-container h6,
#audio_box .sow-headline-container h6,
#akteure_box .sow-headline-container h6,
#kantate_box .sow-headline-container h6,
#lutzogram_box .sow-headline-container h6,
#reflexion_box .sow-headline-container h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    position: relative;
    padding-bottom: 60px;
}

#video_box .sow-headline-container h6:after,
#audio_box .sow-headline-container h6:after,
#akteure_box .sow-headline-container h6:after,
#kantate_box .sow-headline-container h6:after,
#lutzogram_box .sow-headline-container h6:after,
#reflexion_box .sow-headline-container h6:after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 25px;
    margin-left: -15px;
    border-top: 2px solid #d2d2d2;
}

#video_box {
    background: #f2f2f2;
    padding: 50px 0;
}

#video_box .sow-headline-container {
    text-align: center;
}

#video_box .sow-headline-container h2 {
    font-family: 'Crimson Text', serif;
    font-weight: 100;
    font-size: 32px;
}

#video_box .sow-headline-container h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: #787878;
    position: relative;
    padding-bottom: 60px;
}

#video_box .sow-headline-container h6:after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 25px;
    margin-left: -15px;
    border-top: 2px solid #d2d2d2;
}

#video_box .split_video {
    margin-top: 30px;
    overflow: hidden;
    clear: both;
}

#video_box .split_video .video {
    width: calc((100% - 50px) / 2);
    float: left;
}

#video_box .split_video .video:first-child {
    margin-right: 50px;
}

#video_box .video_inner {
    max-width: 890px;
    margin: 0 auto;
}

#video_box .youtube_add {
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    padding: 15px 25px;
    border: 1px solid #d2d2d2;
    margin-bottom: 30px;
}

#video_box .youtube_add p {
    margin: 0;
    padding: 0;
}

#video_box .youtube_add p a {
    color: #fa4848;
    font-weight: bold;
}

#lutzogram_box {
    padding: 50px 0;
    background: #1e1e19;
    color: white;
}

#lutzogram_box .sow-headline-container {
    text-align: center;
}

#lutzogram_box .sow-headline-container h2 {
    font-family: 'Crimson Text', serif;
    color: white;
    font-weight: 100;
    font-size: 32px;
}

#lutzogram_box .sow-headline-container h6 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    color: white;
    position: relative;
    padding-bottom: 60px;
}

#lutzogram_box .sow-headline-container h6:after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 25px;
    margin-left: -15px;
    border-top: 2px solid #d2d2d2;
}

#lutzogram_box .entry-content {
    text-align: center;
}

#lutzogram_box .btn_download {
    display: inline-block;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    padding: 1em 2em;
    background: #73afe6;
    color: white;
    border-radius: 1.5em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);

    text-align: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 1em;

    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

#lutzogram_box .lutzogram-container {
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    margin-bottom: 50px;
}

#lutzogram_box .lutzogram-container a {
    display: block;
    width: calc((100% - 50px) / 2);
    margin-right: 50px;
}

#lutzogram_box .lutzogram-container a:nth-child(2n+0) {
    margin-right: 0;
}

#audio_box {
    padding: 50px 0;
}

#audio_box #audio_list {
    display: flex;
    flex-direction: row;
    justify-content: center;
    justify-items: center;
    align-items: center;
}

#audio_box #audio_list .audio {
    width: 200px;
    text-align: center;
    margin: 0 25px;
}

#audio_box #audio_list .audio a {
    width: 200px;
    height: 80px;
    display: block;
    background-color: #1e1e19;
    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

#audio_box #audio_list .audio a.spotify {
    background-image: url('./images/audio-images/spotify.png');
}

#audio_box #audio_list .audio a.apple {
    background-image: url('./images/audio-images/applemusic.png');
}

#audio_box #audio_list .audio a.google {
    background-image: url('./images/audio-images/googleplay.png');
}

#akteure_box {
    padding: 50px 0;
    background: #f0f0f0;
}

#akteure_box #akteure_types {
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#akteure_box #akteure_types .type {
    width: calc((100% - 50px) / 3);
}

#akteure_box #akteure_types .type .box h3 {
    font-family: 'Crimson Text';
    font-size: 24px;
    margin-bottom: 20px;
}

#akteure_box #akteure_types .type .box {
    margin-bottom: 30px;
    position: relative;
}

#akteure_box #akteure_types .type .box:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 30px;
    height: 2px;
    background: #d2d2d2;
}

#akteure_box #akteure_types .type .box:last-child {
    margin-bottom: 0;
}

#akteure_box #akteure_types .type .box:last-child:after {
    display: none;
}

#kantate_box {
    padding: 50px 0;
}

#kantate_box #kantate_grid {
    display: grid;
    grid-template-columns: 420px calc(100% - 420px);
    grid-template-rows: auto;
}

#kantate_box #kantate_grid h3 {
    font-family: 'Crimson Text', serif;
    font-size: 24px;
}

#kantate_box .inner_content {
    margin-bottom: 50px;
}

#vertiefung_box .inner_content {
    border-left: 3px solid #8c8c8c;
    padding-left: 20px;
    font-style: italic;
    color: #787878;
}

#vertiefung_box .inner_content p:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

#anmerkung_box {
    grid-column-start: 1;
    grid-column-end: 3;
}

#kantate_grid .text {
    margin-bottom: 50px;
}

#kantate_grid .anmerkung_inner {
    border-left: 3px solid #8c8c8c;
    padding-left: 20px;
    font-style: italic;
    color: #787878;
    margin-bottom: 50px;
    height: auto;
}

#kantate_grid .anmerkung_inner p:last-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {
    #site-header .secondary-nav span.search-toggle.open {
        display: inline-block !important;
    }
}

@media only screen and (min-width: 769px) {
    .wpml-ls-menu-item ul.sub-menu {
        min-width: auto;
        padding: 0 !important;
        background: white !important;
    }

    .wpml-ls-menu-item ul.sub-menu a {
        padding: 10px 16px;
    }
}

#disqus_box {
    background: #f2f2f2;
    padding: 0 0 30px 0;
}

#disqus_box .disqus_inner {
    max-width: 890px;
    margin: 0 auto;
}

.btndisqus {
    border: 0;
    display: inline-block;
    margin: 0 auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 14px;
    padding: 1em 2em;
    background: #73afe6;
    color: white;
    border-radius: 1.5em;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    line-height: 1em;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
}

.pagination {
    display: inline-block !important;
    width: 100%;
    text-align: center;
}
.pagination span.active {
    background: rgba(30, 30, 25, 1) !important;
}
.pagination.pagination-filter {
    display: none !important;
}
.pagination #next-page {
    float: right;
}
/* mobile fix 181123 */

@media only screen and (min-width: 769px) {
    #nav_top_mobile {
        display: none;
    }
}

/*
 # Akteure
 */

.akteure_grid {
    display: grid;
    grid-template-columns: calc((100% - 100px) / 3) calc((100% - 100px) / 3) calc((100% - 100px) / 3);
    grid-column-gap: 50px;
}

.single_akteur {
    padding-bottom: 40px;
    margin-bottom: 10px;
    position: relative;
}

.single_akteur:after {
    content: '';
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 30px;
    border-top: 2px solid #eeeeee;
}

.single_akteur a {
    color: inherit;
    text-decoration: none !important;
}

.single_akteur a h3 {
    color: #1e1e19;
}

.single_akteur a:hover h3 {
    opacity: .75;
}

.single_akteur .image {
    margin-bottom: 10px;
}

.single_akteur p {
    color: #8c8c8c;
}

#reflexion_box {
    padding: 50px 0;
    background: #f0f0f0;
}

@media only screen and (max-width: 991px) {
	.filter-box, .filter-box-input {
		width: 33.3%;
		margin-bottom: 10px;
	}
	.filter-box-input {
		margin-bottom: 0;
	}
	input.custom-search-submit1, .custom-search-ic {
		right: 5px;
	}
}
@media only screen and (max-width: 768px) {
    #nav_top {
        display: none;
    }
    #nav_top_mobile .active a {
        color: #ffffff;
    }
    #logo a {
        background: url(https://www.bachstiftung.ch/wp-content/uploads/2019/01/bachstifung-logo-mobile.png) center center no-repeat;
        background-size: contain;
        height: 60px;
        width: 60px;
    }
    #logo a img {
        display: none;
    }
    #footer .secondary span {
        display: block;
    }
    #footer .secondary span.divider {
        display: none;
    }

    .akteure_grid {
        grid-template-columns: calc((100% - 50px) / 2) calc((100% - 50px) / 2);
    }
}

@media only screen and (max-width: 767px) {
	.filter-box, .filter-box-input {
		width: 100%;
	}
    .filter-box .dropdown-menu {
        max-width: 100%;
        width: 100%;
    }

    .akteure_grid {
        grid-template-columns: 100%;
    }

}
.shadow {
    -webkit-box-shadow: 0px 0px 12px 0px rgba(50, 50, 50, 0.35);
    -moz-box-shadow: 0px 0px 12px 0px rgba(50, 50, 50, 0.35);
    box-shadow: 0px 0px 12px 0px rgba(50, 50, 50, 0.35);
}


html, body {
    scroll-behavior: smooth;
}


/* Kantate Archive */
.kantaten_grid {
    display: grid;
    grid-template-columns: calc((100% - 150px) / 4) calc((100% - 150px) / 4) calc((100% - 150px) / 4) calc((100% - 150px) / 4);
    grid-column-gap: 50px;
}

.kantaten_grid:before {
    display: none !important;
}

.kantaten_grid .kantate_single {
    box-shadow: 0 0 25px #e4e4e4;
    margin-bottom: 50px;
}

.kantaten_grid .kantate_single a,
.kantaten_grid .kantate_single a:hover,
.kantaten_grid .kantate_single a:visited {
    text-decoration: none;
    color: inherit;
}

.kantate_content {
    padding: 25px;
}

.kantate_content p {
    color: #8c8c8c;
    font-size: 14px;
    height: 50px;
    overflow: hidden;
}

/**
 Filter
**/

#filter_container ul {
    display: block;
    position: relative;
}

#filter_container ul li {
    display: block;
    float: left;
    width: calc((100% - 60px) / 7);
    margin-right: 10px;
}

#filter_container ul li:nth-child(7n+0) {
    margin-right: 0;
}

#filter_container ul li:last-child {
    margin-right: 0;
}

#filter_container ul li ul li {
    float: none;
    display: inline;
    width: auto;
    margin-right: auto;
}

#filter_container ul li .select2-container {
    max-width: 100%;
    min-width: 100%;
}

#filter_container ul li .select2-container .select2-selection {
    border-radius: 0;
    height: 50px;
}

#filter_container ul li .select2-container .select2-selection__rendered {
    line-height: 50px;
}

#filter_container ul li .select2-container .select2-selection__arrow {
    top: 13px;
}

#filter_container li[data-sf-field-input-type="checkbox"] {
    position: relative;
}

#filter_container li[data-sf-field-input-type="checkbox"] h4 {
    width: 100%;
    height: 40px;
    background: #fff;
    box-sizing: border-box;
    padding: 12px 10px 0 10px;
    font-size: 14px;
    color: #787878;
}

#filter_container ul li[data-sf-field-input-type="checkbox"]:nth-child(7n+0) ul {
    width: 100%;
}

#filter_container li[data-sf-field-input-type="checkbox"] ul {
    background: #fff;
    display: none;
    position: absolute;
    top: 51px;
    left: 0;
    z-index: 9999;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    box-sizing: border-box;
    width: calc(200% + 10px);
    box-shadow: 0 0 25px rgba(0,0,0,0.11);
}

#filter_container li[data-sf-field-input-type="checkbox"] ul li {
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
}

#filter_container li[data-sf-field-input-type="checkbox"] ul li input {
    margin-top: 4px;
    margin-left: 5px;
}

#filter_container li[data-sf-field-input-type="checkbox"] ul li label {
    width: calc(100% - 22px);
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 14px;
    font-weight: normal;
    color: #787878;
}

#filter_container li.sf-field-sort_order {
    position: absolute;
    top: 85px;
    right: 10px;
}

#filter_container li.sf-field-sort_order select {
    height: 40px;
    border-radius: 0;
    border-color: rgba(215, 215, 215, 1);
    color: #787878;
    font-weight: normal;
    font-size: 14px;
    width: calc((100% - 60px) / 7);
}

#filter_container li.sf-field-search {
    position: absolute;
    top: 85px;
    left: 0;
    width: calc((100% - 60px) / 7 * 2 + 10px);
}

#filter_container li.sf-field-search label {
    width: 100%;
}

#filter_container li.sf-field-search input {
    border: 1px solid rgba(215, 215, 215, 1);
    border-radius: 0;
    background: #fff;
    color: #787878;
    font-weight: normal;
    font-size: 14px;
    width: 100%;
}

#subfilter_placeholder {
    height: 80px;
}

#loading_indocator {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.25) url(images/note_animation.gif) center center no-repeat;
}

#quellen_box {
    background: #e6e6e6;
    padding: 50px 0;
}

#quellen_box h2 {
    font-size: 21px;
    margin-bottom: 20px;
}

#quellen_box .quellen_grid {
    display: grid;
    grid-template-columns: calc((100% - 20px) / 3) calc((100% - 20px) / 3 * 2);
    grid-column-gap: 20px;
    font-size: 12px;
    line-height: 23px;
    font-weight: normal;
}

@media screen and (max-width: 768px) {
    #quellen_box .quellen_grid {
        grid-template-columns: 100%;
        grid-column-gap: 0;
    }
}


#livestream-loop {
    display: grid;
    grid-template-columns: calc((100% - 40px) / 3) calc((100% - 40px) / 3) calc((100% - 40px) / 3);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    margin-bottom: 100px;
}

@media screen and (max-width: 768px) {
    #livestream-loop {
        grid-template-columns: 100%;
        grid-column-gap: 0
    }
}

#livestream-loop .live_stream  {
    box-shadow: 0 5px 20px 2px rgba(0,0,0,0.15);
}

.livestream_content {
    padding: 20px 30px 80px 30px;
}

.livestream_content .excerpt {
    margin-top: 20px;
    color: #8c8c8c;
}

.livestream_content .excerpt p {
    font-size: 16px;
    line-height: 2;
}

.livestream_content .meta {
    font-size: 14px;
    color: #8c8c8c;
}

.aLinkFile{
    margin-right:40px
}