@charset "utf-8";

/* CSS Document */
:root {
    --col_highlight: #1e666e;
    --col_background: #d7edea;
    --col_grey: #454441;
    --col_text: #45433e;
    --radius_l: 0rem;
    --radius_s: 0.7rem;
    --opacity: 0.7;
    --font_serif: "Baloo 2";
    --font_sans: "Raleway";
    --light: 200;
    --regular: 400;
    --bold: 800;
    --border-style: solid;
    --max-width: max(80vW, 1440px);
}

body ul.nav li ul li.ultitle {
    text-align: center;
    height: 2rem !important;
    opacity: 1;
    font-family: var(--font_serif);
    color: var(--col_highlight);
    box-sizing: border-box;
    padding: 0.35rem 0;
    padding-left: 1.25rem;
    text-align: left;
    font-weight: 600 !important;
}



body ul.nav li ul li.yuk a{
    font-family: var(--font_serif);
    color: var(--col_highlight) !important; 
    font-weight: 600 !important;
}

body ul.nav li ul li.yuk.active a{
    font-family: var(--font_serif);
    color: #fff !important; 
}


img[src="/media/yukpartner.png"] {
    border-radius: 50% !important;
    max-width: 192px;  
    display: block;
    margin: 0 auto;
}

img[src="/media/_thumbs/medium/square/yukpartnerblock.jpg"] {
    max-width: 240px;  
}

#lastWeekly::after {
    content: "";
    border-top: 1px solid #fff;
    border-bottom: 1px dotted var(--col_grey);
    display: block;
    height: 0;
    position: absolute;
    top: calc(100% - 1px);
    z-index: 5;
    width: 100%;
}

.yuk::before {
    content: "";
    border-bottom: 1px dotted var(--col_grey);
    display: block;
    height: 0;
    position: absolute;
    top: calc(100% - 1px);
    z-index: 5;
    width: 100%;
}


img[src="/media/Titelbilder/tty titel 3.jpg"] {
    left: 0 !important;
}

#entries_13 a.position_right {
    clear: right !important;
}

/***************************************************************************
                             NORMALIZE                                             
****************************************************************************/
*,
:after,
:before {
    margin: 0;
    padding: 0;
    border: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 100%;
    font-weight: inherit;
}

a,
h1,
h2,
h3,
h4,
h5,
strong,
b {
    font-weight: 500;
}

a[rel] {
    outline: 0;
}

h1,
h2,
h3,
h4,
h5,
.title,
.subtitle {
    font-size: 1.2rem;
}

pre {
    white-space: pre-wrap;
    /* css-3 */
    white-space: -moz-pre-wrap;
    /* Mozilla, since 1999 */
    white-space: -pre-wrap;
    /* Opera 4-6 */
    white-space: -o-pre-wrap;
    /* Opera 7 */
    word-wrap: break-word;
}

/***************************************************************************
                             HTML,BODY                                               
****************************************************************************/
html {
    overflow-y: scroll;
    font-weight: 300
}

html,
body {
    width: 100%;
    max-width: 100%;
    min-height: 100%;
    min-height: 100vH;
    position: relative;
    padding: 0;
    margin: 0;
}

body {
    overflow: visible;
    min-width: 280px;
}

/***************************************************************************
                             FONTS & COLORS                                         
****************************************************************************/
html {
    background: var(--col_background) url(musterbgs.png) fixed repeat;
    color: var(--col_text);
    font-size: 16px;
    line-height: 1.75em;
    font-weight: 300;
}

html.live {
    background-image: url(musterbgs.png), repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(90, 90, 255, 0.1) 5px, rgba(90, 90, 255, 0.1) 7px);
}

html,
body,
textarea,
input,
select {
    font-family: var(--font_sans), Arial, Helvetica, sans-serif;
    color: var(--col_text);
}

::selection {
    background: rgba(255, 210, 220, 0.7);
}

::-moz-selection {
    background: rgba(255, 210, 220, 0.7);
}

a,
a p {
    color: var(--col_highlight);
    text-decoration: none;
    transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
    border: 0px none;
    font-weight: 500;
}

a:focus {
    border: 0px none
}

a.location:before {
    display: inline-block;
    font: normal normal normal 14px/1 FontAwesome;
    font-size: inherit;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\f041";
    padding-right: 0.6em;
}

#main a:hover {
    text-shadow: -1px -1px 1px rgba(255, 255, 255, 1), 1px 1px 1px rgba(0, 0, 0, 0.2);
}

h1,
h2,
h3,
h4,
h5,
.title,
.subtitle {
    letter-spacing: 0.6px;
}

.red {
    color: var(--col_highlight);
}

.green {
    color: var(--col_highlight);
}

.cherry {
    font-family: var(--font_serif);
    font-size: 1.1em;
    font-weight: 600;
}

strong,
strong * {
    font-weight: 500
}

.centered {
    text-align: center;
    display: block;
}

/*h1 *, h2 *, h3 *, .title *, .subtitle * { padding:0; margin:0; font-weight:inherit; font-size:inherit; color:inherit; text-decoration:inherit; }
*/
h2,
.title {
    font-family: var(--font_serif);
    font-weight: 600;
    font-size: 1.6em;
    color: var(--col_highlight);
    margin: 0.5em 0;
    text-align: center
}

h3,
.subtitle {
    font-weight: 300;
    font-size: 1em;
    margin: 0.9em 0;
    text-align: center
}

.title:empty,
.subtitle:empty,
.content:empty {
    display: none;
}

/***************************************************************************
                            STANDARD ELEMENTS                             
****************************************************************************/
a,
area,
button,
input,
label,
select,
textarea {
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

p,
ul,
h1,
h2,
h3,
h4,
h5 {
    hyphens: manual;
    margin-bottom: 1em;
}

.title p {
    margin-bottom: 0;
}

p:empty,
ul:empty,
h1:empty,
h2:empty,
h3:empty,
h4:empty,
h5:empty {
    margin-bottom: 0;
    display: none;
}

p {
    hyphens: auto;
}

ul {
    list-style: outside;
    list-style: outside;
    overflow: hidden;
    padding-left: 1em;
}

.left {
    float: left;
}

.right {
    float: right;
    text-align: right;
}

.center {
    text-align: center;
}

.clearer {
    clear: left;
}

img {
    max-width: 100%;
}

.row_links {
    margin-right: 2em;
}

div.h3,
div.h2,
div.p {
    margin: 1px 1rem;
    padding: 1rem;
}

div.h3 p,
div.h2 p {
    margin: 1px 1rem;
    padding: 4px 1rem;
}

.clear_both {
    clear: both;
    height: 0px;
    margin: 0;
    padding: 0;
    line-height: 0;
}

/***************************************************************************
                                 FRAME           
****************************************************************************/
#container {
    margin: 0 auto;
    max-width: var(--max-width);
    padding: 0;
    min-width: 280px;
    min-height: 100%;
    min-height: 100vH;
    position: relative;
    z-index: 2;
    box-sizing: content-box;
}

#navholder {
    position: sticky;
    box-sizing: content-box;
    width: 100%;
    top: -8.8rem;
    background: var(--col_background) url(musterbgs.png) fixed repeat;
    z-index: 1000;
}

#navholder.live {
    background-image: url(musterbgs.png), repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(90, 90, 255, 0.1) 5px, rgba(90, 90, 255, 0.1) 7px);
}

#taltreelogo svg {
    height: 8.0rem;
    width: auto;
    margin: 0 auto;
    display: block;
    margin-top: 0.7rem;
    margin-bottom: 0.7rem;
    max-width: 90%;
}

#content {
    background-color: rgba(255, 255, 255, var(--opacity));
    padding-bottom: 2rem;
    box-shadow: 2px 0px 6px -5px rgba(0, 0, 0, 0.5);
    position: relative;
    margin-top: -2px;
    min-height: 70%;
    min-height: 70vH;
}

/***************************************************************************
                                 NAVI           
****************************************************************************/
ul.nav,
ul.nav ul {
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
}

ul.nav ul ul {
    margin-top: 0;
    margin-left: 2rem;
}

ul.nav a[subheader] {
    font-weight: bold;
}

ul.nav.mobile li {
    background-color: var(--col_grey);
    color: #fff;
    font-size: 14px;
    border-bottom: 2px solid #fff;
}

ul.nav.mobile a,
ul.nav.mobile span {
    color: #fff;
    padding: 0.7rem 1.2rem;
    display: block;
    font-weight: 500;
}

ul.nav.mobile .navtitile {
    width: 100%;
    text-align: left;
}

ul.nav.mobile .burger {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

ul.nav {
    list-style: none;
    position: relative;
    padding: 0;
    margin: 0;
    display: none
}

ul.nav.mobile {
    display: block
}

ul.nav li {
    background-color: rgba(255, 255, 255, 0.5);
    border-bottom: 2px solid #fff;
}

ul.nav a {
    padding: 0.3rem 1.2rem;
    display: block;
    font-weight: 500;
    ;
}

ul.nav ul a {
    color:var(--col_text);
}

ul.nav ul {
    position: relative;
    margin-left: 9rem;
    padding-top: 2px;
    margin-top: -2.5rem;
    background-color: #ffffff30;
}

ul.nav ul li {
    border-bottom: 1px solid #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

ul.nav ul li:last-child {
    border-bottom: 0px solid #fff;
}

ul.nav li.active > a,
ul.nav li.active > a:hover,
ul.nav li.active ul li.active > a:hover {
    background-color: var(--col_highlight);
    color: #fff;
}

ul.nav li[hasSub] > a {
    width: 9rem;
    white-space: nowrap;
}

ul.nav ul li.active {
    position: relative;
}

ul.nav ul li.active:before {
    position: absolute;
    bottom: 0;
    margin-top: 0px;
    margin-left: 0px;
    content: "";
    background-color: var(--col_highlight);
    width: 2px;
}

ul.nav ul li:nth-child(1).active::before {
    top: 0rem;
}

ul.nav ul li:nth-child(2).active::before {
    top: -2.5rem;
    margin-top: 1px;
}

ul.nav ul li:nth-child(3).active::before {
    top: -5rem;
    margin-top: 2px;
}

ul.nav ul li:nth-child(4).active::before {
    top: -7.5rem;
    margin-top: 3px;
}

ul.nav ul li:nth-child(5).active::before {
    top: -10rem;
    margin-top: 4px;
}

ul.nav ul li:nth-child(6).active::before {
    top: -12.5rem;
    margin-top: 5px;
}

ul.nav ul li:nth-child(7).active::before {
    top: -15rem;
    margin-top: 6px;
}

ul.nav ul li:nth-child(8).active::before {
    top: -17.5rem;
    margin-top: 7px;
}

ul.nav li a.long {
    display: none;
}

ul.nav li a.short {
    display: block;
}

/***************************************************************************
                                 HEADER           
****************************************************************************/
.header {
    min-height: 18rem;
    width: 100%;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
    line-height: 1.6em;
    max-height: 18rem;
}

.header img {
    height: 18rem;
    max-width: 10000%;
    width: auto;
    left: -8em;
    position: absolute;
    display: block;
    left: -50%;
    margin-left: 50%;
    top: 0rem;
    min-height: 18rem;
    min-width: 100%;
    transform: translateX(-50%);
    left: 50%;
    margin-left: 0;
}

.header .caption {
    position: absolute;
    z-index: 2;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding-top: 0rem;
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    box-sizing: border-box;
    font-size: 0.85em
}

@media screen and (min-width: 320px) {
    .header .caption {
        font-size: 1em;
    }
}
@media screen and (max-width: 600px) {
    #main .mainbox {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .mainbox.contentbox_right{
        margin-bottom: 3rem;
    }
}
.header .caption .subtitle {
    font-size: 1em;
    margin-bottom: 0.5rem;
}

.header .caption .title {
    font-size: 1.6em;
}

/***************************************************************************
                                 CONTENT           
****************************************************************************/
h1,
h2,
h3,
p {
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    max-width: 100%;
    max-width: 100%;
    width: auto;
}

img {
    position: relative;
}

.size_tiny img,
.size_small img,
.size_medium img,
.size_big img,
img.size_tiny,
img.size_small,
img.size_medium,
img.size_big {
    left: auto;
    border-radius: var(--radius_s);
    box-shadow: 2px 2px 12px -5px rgba(0, 0, 0, 0.6);
    display: block;
    margin-bottom: 1rem;
}

.mainbox {
    padding-top: 1rem;
}

.mainbox:not(.contentbox_right) + .mainbox {
    clear: both;
}

.mainbox:after {
    content: "";
    clear: both;
    height: 1px;
}

.nobox,
.nobox {
    margin-bottom: 0;
    padding-bottom: 0;
}

.mainbox.noborder {
    border-top: 0px none;
}

[contenttype='achtung'] {
    background-color: rgba(255, 220, 70, 0.2);
}

[contenttype='alarm'] {
    background-color: rgba(255, 70, 70, 0.2);
}

/***************************************************************************
                                 FOOTER           
****************************************************************************/
#footer {
    padding-top: 0px;
    position: relative;
    z-index: 10;
    margin: 0 auto;
    margin-top: 0em;
    background-color: var(--col_grey);
    line-height: 1.8em;
    clear: both;
    box-shadow: inset 0px 30px 18px -20px rgba(0, 0, 0, 0.4);
}

#footer a {
    color: #fff;
    font-style: italic;
}

#footer a:hover {
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6);
}

#footer > div {
    box-sizing: border-box;
    max-width: var(--max-width);
    padding: 1.5rem 0;
    color: #fff;
    margin: 0 auto;
    text-align: left;
    font-size: 1rem;
    display: block;
}

#footer .face {
    width: 5em;
    height: auto;
    margin: 0 auto;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    box-shadow: 3px 3px 10px -4px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.8rem;
}

@media screen and (min-width: 800px) {
    #footer .face + span {
        padding-left: 6em;
    }

    img[src="/media/yukpartner.png"] {

        transform: translateY(3rem);
    }
    

}

#footer p {
    text-align: center;
    float: none;
}

/***************************************************************************
                                 AKTUELLESBOX           
****************************************************************************/
.contentbox_left,
.contentbox_right {
    margin-top: 1.9rem;
}

.contentbox_left,
.contentbox_right {
    box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
    background-color: rgba(255, 255, 255, 0.5);
    padding-bottom: 1rem;
}

.contentbox_left img,
.contentbox_right img {
    width: 100%;
    height: auto;
    display: block;
    margin-left: 1rem;
    border-radius: var(--radius_s);
    box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
    left: 0;
}

.contentbox_left a img,
.contentbox_right a img {
    margin-left: 0rem;
}

.contentbox_left img.position_left,
.contentbox_right img.position_left {
    float: left;
    display: inline-block;
    margin-right: 1rem;
    margin-left: 0;
}

.contentbox_left img.position_right,
.contentbox_right img.position_right {
    float: right;
    display: inline-block;
    margin-left: 1rem;
    margin-right: -1rem;
}

.contentbox_right .datetimefield,
.contentbox_left .datetimefield {
    font-size: 0.9em;
    margin: 0;
    margin-right: 1em;
}

.contentbox_right .termin,
.contentbox_left .termin {
    padding: 1rem;
}

.contentbox_right .datetimefield + div,
.contentbox_left .datetimefield + div {
    line-height: 1.3em;
}

.contentbox_right .datetimefield + div *,
.contentbox_left .datetimefield + div * {
    margin: 0.2rem 0;
    padding: 0;
    font-size: 1rem;
    clear: none;
    text-align: left;
}

.contentbox_right p,
.contentbox_left p {
    clear: both;
}

.contentbox_right .content > p,
.contentbox_left .content > p {
    border-top: 2px var(--border-style) var(--col_background);
}

.contentbox_right .title,
.contentbox_left .title {
    font-size: 1.2rem;
    text-align: center;
    padding: 0 0.5rem;
}

.contentbox_right > .content,
.contentbox_left > .content {
    border-top: 2px var(--border-style) var(--col_background);
}

.terminbox {
    visibility: hidden;
}

.contentbox_right .termin .title,
.contentbox_left .termin .title {
    text-align: left;
}

/***************************************************************************
                                 FIRST FLOAT & SIZE 361px           
****************************************************************************/
.size_tiny {
    width: 22%;
    left: 0;
    box-sizing: border-box;
}

.size_tiny img {
    left: auto;
    width: 100%;
    border-radius: var(--radius_s);
    box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
}

.size_tiny.position_left {
    float: left;
    display: inline-block;
    margin: 0.4rem 0.5rem 0.5rem 0rem;
}

.size_tiny.position_right {
    float: right;
    display: inline-block;
    margin: 0.4rem 0 0.5rem 0.5rem;
}

.size_small {
    width: 22%;
    left: 0;
    box-sizing: border-box;
}

.size_small img {
    left: auto;
    width: 100%;
    border-radius: var(--radius_s);
    box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
}

.size_small.position_left {
    float: left;
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0rem;
}

.size_small.position_right {
    float: right;
    display: inline-block;
    margin: 0 0 0.5rem 0.5rem;
}

a[href="/media/IMG-20261008-WA0004.jpg"] {
    width: 32%;
}

@media screen and (min-width: 361px) {
    .size_medium {
        width: 38%;
        left: 0;
        box-sizing: border-box;
    }

    .size_medium img {
        left: auto;
        width: 100%;
        border-radius: var(--radius_s);
        box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
    }

    .size_medium.position_left {
        float: left;
        display: inline-block;
        margin: 0 0.5rem 0.5rem 0rem;
    }

    .size_medium.position_right {
        float: right;
        display: inline-block;
        margin: 0 0 0.5rem 0.5rem;
    }
}

@media screen and (min-width: 375px) {
    .impressumbox_left {
        float: left;
    }

    .impressumbox_right * {
        text-align: right
    }
}

@media screen and (min-width: 500px) {
    .size_tiny {
        width: 25%;
        left: 0;
        box-sizing: border-box;
    }

    .mainbox img {
        left: auto;
    }

    .position_left,
    .size_medium.position_left {
        float: left;
        display: inline-block;
        margin: 0.4rem 0.8rem 0.8rem 0rem;
    }

    .position_right,
    .size_medium.position_right {
        float: right;
        display: inline-block;
        margin: 0.4rem 0 0.8rem 0.8rem;
    }

    .size_small {
        width: 12%;
    }

    .size_medium {
        width: 28%;
    }

    .size_big {
        width: 45%;
    }

    .size_tiny img,
    .size_small img,
    .size_medium img,
    .size_big img {
        width: auto;
        max-width: 100%
    }
}

@media screen and (min-width: 800px) {

    .contentbox_left img,
    .contentbox_right img {
        width: 6rem;
    }

    .size_tiny {
        width: 6rem;
    }

    .size_small {
        width: 12%;
    }


    .size_medium {
        width: 23.8%;
    }

    .size_big {
        width: 50%;
    }

    a[href="/media/IMG-20261008-WA0004.jpg"] {
        width: 25%;
    }
    
    .position_left,
    .size_medium.position_left {
        margin: 0.4rem 1rem 1rem 0rem;
    }

    .position_right,
    .size_medium.position_right {
        margin: 0.4rem 0 1rem 1rem;
    }
}

@media screen and (min-width: 1200px) {

    a[href="/media/IMG-20261008-WA0004.jpg"] {
        width: 15%;
    }

    .position_left,
    .size_medium.position_left {
        margin: 0.4rem 1.5rem 1.5rem 0rem;
    }

    .position_right,
    .size_medium.position_right {
        margin: 0.4rem 0 1.5rem 1.5rem;
    }

    h2,
    .title {
        font-size: 1.75em;
    }
}

/***************************************************************************
                                 NAVIGATION BREAK 500px           
****************************************************************************/
@media screen and (min-width: 500px) {
    
    body ul.nav li ul li.ultitle {
        text-align: center;
        font-weight: var(--regular);
    }

    ul.nav ul {
        background: transparent;
    }
    
    ul.nav ul li.active::before {
        display: none !important;
    }

    .header {
        margin-bottom: 0;
    }

    .contentbox_right .title,
    .contentbox_left .title {
        font-size: 1.3rem;
    }

    ul.nav.mobile,
    .flexbox ul.nav.mobile {
        display: none;
    }

    ul.nav {
        display: block;
        background-color: var(--col_grey);
    }

    ul.nav li {
        float: left;
        background-color: rgba(0, 0, 0, 0);
        border-bottom: 0px none;
        position: relative;
    }

    ul.nav li li {
        height: 2.5rem !important;
    }

    ul.nav li a,
    ul.nav li[hasSub] > a {
        float: left;
        background-color: rgba(0, 0, 0, 0);
        border-bottom: 0px none;
        width: 100%;
        white-space: nowrap;
    }

    ul.nav li ul {
        height: auto;
        transform: scaleY(0);
        transform-origin: 0% 0%;
        position: absolute;
        min-width: 100%;
        transition: all 0.2s ease-out;
        height: 0em;
        overflow: visible;
        list-style: none;
        left: 0;
        top: 3rem;
        margin: 0;
        padding: 0;
        position: absolute;
        width: auto;
        z-index: 10000;
        box-shadow: 2px 2px 10px -8px rgba(0, 0, 0, 0.6);
        border-radius: 0 0 var(--radius_l) var(--radius_l);
        background: rgba(255, 255, 255, 0.92);
    }

    ul.nav li:hover ul,
    ul.nav li a:focus + ul {
        height: auto;
    }

    ul.nav li:last-child ul {
        left: auto;
        right: 0;
    }

    ul.nav {
        padding: 0;
        margin: 0;
        overflow: visible;
        display: block;
        list-style: none;
        background: var(--col_grey);
        float: left;
        width: 100%;
        box-shadow: 4px 0px 8px -5px rgba(0, 0, 0, 0.5);
    }

    ul.nav ul ul {
        margin-top: 0;
        margin-left: 0rem;
        transform: scaleX(0) !important;
        left: 100%;
        top: 0;
        border-left: 1px solid var(--col_background);
    }

    ul.nav ul li:hover ul {
        transform: scaleX(1) !important;
    }

    ul.nav a[subheader] {
        font-weight: var(--light);
        padding-right: 1rem;
        ;
    }

    ul.nav a[subheader]:after {
        font: normal normal normal 1rem/1 FontAwesome;
        font-weight: normal;
        font-size: 0.6rem;
        text-rendering: auto;
        content: "\f054";
        position: absolute;
        right: 0.2rem;
        margin-top: 0.35rem;
    }

    #navholder {
        margin-left: -1em;
        width: 100%;
        padding-left: 1em;
        padding-right: 1em;
    }

    #navholder:after {
        content: "4";
        clear: left;
        position: relative;
        height: 0px;
        overflow: hidden;
        display: block;
    }

    .flexbox #navholder:after {
        content: "";
        display: none;
    }

    .flexbox ul.nav {
        display: flex;
        float: none;
    }

    ul.nav li {
        list-style: none;
        transition: all 0.2s ease-in-out;
        margin: 0;
        display: inline-block;
        padding: 0;
        position: relative;
        flex-grow: 1;
        flex-shrink: 1;
        height: auto;
        box-shadow: inset 0px -8px 10px -10px rgba(0, 0, 0, 0.5);
    }

    ul.nav li {
        position: relative;
    }

    ul.nav li a,
    ul.nav li span {
        display: block;
        padding: 0.7em 1.5em;
        height: 3em;
        text-overflow: ellipsis;
        color: #fff;
        text-align: center;
        position: relative;
        font-weight: 300;
    }

    .flexbox ul.nav > li > a {
        padding: 0.7em 0.2em;
    }

    ul.nav > li > a:before {
        width: 1px;
        right: 0;
        height: 1.3em;
        top: 0.7em;
        position: absolute;
        content: "";
        border-right: 1px var(--border-style) var(--col_background);
    }

    ul.nav > li.active > a:before,
    ul.nav > li:last-child > a:before,
    ul.nav > li.noborder > a:before {
        border-right: 0px none;
    }

    ul.nav li:hover ul,
    ul.nav li a:focus + ul {
        height: auto;
        transform: scaleY(1);
    }

    /* ul.nav li[options='1']:hover ul, ul.nav li[options='1'] a:focus+ul {
height: 2.5em;
}
 ul.nav li[options='2']:hover ul, ul.nav li[options='2'] a:focus+ul {
height: 5em;
}
 ul.nav li[options='3']:hover ul, ul.nav li[options='3'] a:focus+ul {
height: 7.5em;
}
 ul.nav li[options='4']:hover ul, ul.nav li[options='4'] a:focus+ul {
height: 10em;
}
 ul.nav li[options='5']:hover ul, ul.nav li[options='5'] a:focus+ul {
height: 12.5em;
}
 ul.nav li[options='6']:hover ul, ul.nav li[options='6'] a:focus+ul {
height: 15em;
}
 ul.nav li[options='7']:hover ul, ul.nav li[options='7'] a:focus+ul {
height: 17.5em;
}
 ul.nav li[options='8']:hover ul, ul.nav li[options='8'] a:focus+ul {
height: 20em;
}*/
    ul.nav ul li {
        border-bottom: 0px none;
    }

    ul.nav li:first-child:hover ul {
        height: auto;
    }

    ul.nav li.active {
        background: var(--col_highlight) !important;
        box-shadow: none;
    }

    ul.nav li.active > a {
        font-weight: 500;
    }

    ul.nav li.active ul li.active > a {
        color: #fff;
    }

    ul.nav ul li:last-child {
        border-radius: 0 0 var(--radius_l) var(--radius_l);
    }

    ul.nav ul li {
        box-shadow: none;
        height: auto;
        display: block;
        float: none;
    }

    ul.nav li ul li a {
        border-bottom: 0px none;
        padding: 0.6em 1.1em;
        padding-bottom: 0.7em;
        line-height: 1.2em;
        color: var(--col_text);
        height: auto;
        background: rgba(174, 27, 65, 0.0);
    }

    ul.nav li > a:hover,
    ul.nav li:hover > a,
    ul.nav li.active > ul a:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    ul.nav li:hover > a,
    ul.nav li.active > ul a:hover {
        background: rgba(0, 0, 0, 0.1);
    }

    ul.nav li.active > a:hover,
    ul.nav li.active:hover > a {
        background: rgba(174, 27, 65, 0.0);
    }

    ul.nav > li.active + li:before {
        background: rgba(174, 27, 65, 0.0);
        content: "";
        position: absolute;
        left: 0px;
        margin-left: -16px;
        z-index: -1;
        width: 16px;
        top: 0px;
        bottom: 0;
        transition: all 0.2s ease-in-out;
    }

    .flexbox.csspositionsticky ul.nav > li.active + li:hover:before {
        background: rgba(174, 27, 65, 0.3);
    }

    ul.nav > li + li.active:after {
        background: rgba(174, 27, 65, 0.0);
        content: "";
        position: absolute;
        left: 0px;
        margin-left: 0px;
        z-index: -1;
        width: 16px;
        top: 0px;
        bottom: 0;
        transition: all 0.2s ease-in-out;
    }

    .flexbox.csspositionsticky ul.nav > li:hover + li.active:after {
        background: rgba(174, 27, 65, 0.3);
    }

    #footer > div {
        padding: 1.5rem 0rem;
    }

    #footer p {
        text-align: left;
        float: left;
    }

    #footer img.face {
        float: left;
        margin-right: 0.5rem;
    }

    #footer p.center {
        text-align: center;
        float: none;
        clear: both;
    }

    #footer p.right {
        text-align: right;
        float: right;
    }

    .mainbox.contentbox_right,
    .mainbox.contentbox_left {
        border-radius: var(--radius_s);
        box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
        margin: 1rem;
        margin-top: 0;
        display: block;
        background-color: rgba(255, 255, 255, 0.5);
    }
}

/***************************************************************************
                                 MARGINS, MAINBOX, FOOTERBREAKS 800px           
****************************************************************************/
@media screen and (min-width: 750px) {
    #footer p.center {
        clear: none;
    }
}

@media screen and (min-width: 800px) {

    .contentbox_right .title,
    .contentbox_left .title {
        font-size: 1.5rem;
    }


    ul.nav li a.long {
        display: block;
    }

    ul.nav li a.short {
        display: none;
    }

    ul.nav {
        border-radius: var(--radius_l) var(--radius_l) 0 0;
    }

    ul.nav > li.active,
    ul.nav > li.active > a {
        border-radius: var(--radius_l) var(--radius_l) 0 0;
    }

    ul.nav > li:first-child {
        border-radius: var(--radius_l) 0 0 0;
    }

    ul.nav > li:last-child {
        border-radius: 0 var(--radius_l) 0 0;
    }

    ul.nav > li:first-child > a {
        border-top-left-radius: var(--radius_l);
    }

    ul.nav > li:last-child > a {
        border-top-right-radius: var(--radius_l);
    }

    #container {
        padding-left: 1em;
        padding-right: 1em;
        padding-bottom: 2em;
    }

    #content {
        border-radius: 0 0 var(--radius_l) var(--radius_l);
    }

    .mainbox.contentbox_right,
    .mainbox.contentbox_left {
        float: right;
        border-radius: var(--radius_s);
        box-shadow: 2px 2px 12px -8px rgba(0, 0, 0, 0.6);
        margin: 1rem;
        margin-top: 0;
        display: block;
        background-color: rgba(255, 255, 255, var(--opacity));
        padding: 1rem;
        width: 28%;
        min-width: 19em;
        border-top: 0px none;
        position: relative;
        z-index: 3;
        margin-left: 1rem;
        margin-right: 1rem;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-top: 0.3rem;
    }

    .mainbox.contentbox_left {
        float: left;
        margin-left: 1rem;
        margin-right: 1rem;
    }

    .mainbox {
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .contentbox_left .left,
    .contentbox_right .left {
        margin-right: 1em;
    }

    .contentbox_left .termin,
    .contentbox_right .termin {
        padding-left: 1em;
    }

    .contentbox_left title,
    .contentbox_right title {
        margin: 0;
        padding: 0;
        font-size: 1.2rem;
        font-weight: 300;
        border: 0px none !important;
        line-height: 1.2em;
        padding-bottom: 1em;
    }

    .contentbox_right .datetimefield + div .subtitle *,
    .contentbox_left .datetimefield + div .subtitle *,
    .contentbox_right .datetimefield + div .subtitle,
    .contentbox_left .datetimefield + div .subtitle {
        font-size: 0.8rem !important;
    }

    .contentbox_right .datetimefield,
    .contentbox_left .datetimefield {
        font-size: 1em;
        margin: 0;
        margin-right: 0.5em;
    }

    .contentbox_right .content > p,
    .contentbox_left .content > p {
        padding: 1em;
        margin: 0;
    }

    .contentbox_left + *,
    .contentbox_right + * {
        max-width: 100%;
        padding-top: 0;
        margin-top: 0;
    }

    p {
        padding-left: 0;
        padding-right: 0;
    }

    .mainbox {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    #footer img.face {
        margin-right: 1rem;
    }

    #footer > div {
        padding: 1.5rem 1.5rem;
    }

    #footer p.center {
        clear: none;
    }
}

@media screen and (min-width: 900px) {
    #footer p {
        width: 33%;
    }

    #footer p.center {
        width: auto;
    }
}

@media screen and (min-width: 1000px) {
    #footer > div {
        padding: 2rem 2.5rem;
    }

    .contentbox_right .datetimefield,
    .contentbox_left .datetimefield {
        font-size: 1em;
        margin: 0;
        margin-right: 0.8em;
        width: auto;
        min-width: 7.5em;
    }
}

@media screen and (min-width: 1200px) {
    #footer > div {
        padding: 2rem 3.5rem;
    }
}

/***************************************************************************
                                HEADER IMG AND LOGO SIZES           
****************************************************************************/
.header .caption .title {
    margin-bottom: 0.1em;
}

.header .caption .subtitle {
    margin-top: 0.3em;
}

@media screen and (min-width: 361px) {
    .header img {
        top: -0rem
    }
}

@media screen and (min-width: 420px) {
    html {
        font-size: 16px;
    }

    .header img {
        left: auto;
        top: -0.5rem;
        left: auto;
        top: -1rem;
        height: auto;
        width: 100%;
        margin-left: auto;
        transform: none;
    }


    #taltreelogo img {
        height: 3.7rem;
    }
}

@media screen and (min-width: 500px) {
    html {
        font-size: 16px;
    }

    .header {
        min-height: unset;
        max-height: 18em;
        width: 100%;
        overflow: hidden;
        position: relative;
    }

    .header img {
        height: auto;
        width: 100%;
        max-width: unset;
        left: auto;
        top: -1rem;
        margin-left: auto;
        position: relative;
    }
}

@media screen and (min-width: 800px) {
    html {
        font-size: 16px;
    }

    .header {
        max-height: 20em;
        max-height: calc(100vH - 24.5rem);
    }

    #navholder {
        top: -8rem;
    }

    #taltreelogo img {
        height: 5rem;
        margin-bottom: 0.5rem;
        margin-top: 0.5rem
    }

    .header {
        line-height: 1.75em;
    }

    .header .caption .title {
        margin-bottom: 0.5em;
    }

    .header .caption .subtitle {
        margin-top: 0.9em;
    }

    .header img {
        top: -2rem;
    }

    .header .caption .title {
        padding-top: 0.6rem;
    }
}

@media screen and (min-width: 1000px) {
    html {
        font-size: 17px;
    }

    .header {
        max-height: 22em;
        max-height: calc(100vH - 22.5rem);
    }

    #container,
    .mainbox {
        padding-left: 1.5em;
        padding-right: 1.5em;
        padding-bottom: 2em;
    }

    .mainbox {
        margin: 0 1em;
    }

    .mainbox.contentbox_left {
        margin-left: 3em;
    }

    .mainbox.contentbox_right {
        margin-right: 3em;
    }

    #taltreelogo img {
        height: 6rem;
    }

    .header img {
        top: -3rem;
    }

    .header .caption .title {
        padding-top: 1rem;
    }

    #kontaktanchor + h2,
    #entries_25 .title {
        margin-top: 2.2rem;
        margin-bottom: 2.5rem;
    }
}

@media screen and (min-width: 1200px) {
    html {
        font-size: 18px;
    }

    .header {
        max-height: 24em;
        max-height: calc(100vH - 20.5rem);
    }

    #main {
        padding-bottom: 2em;
    }

    .mainbox {
        margin: 0 1.5em;
    }

    .mainbox.contentbox_left {
        margin-left: 4.5em;
    }

    .mainbox.contentbox_right {
        margin-right: 4.5em;
    }

    #container,
    .mainbox {
        padding-left: 3em;
        padding-right: 3em;
    }


    #taltreelogo img {
        height: 6.7em;
    }

    .header img {
        top: -3.5rem;
    }
}

@media screen and (min-width: 1300px) {

    #container,
    .mainbox {
        padding-left: 2em;
        padding-right: 2em;
        padding-bottom: 2em;
    }

    .mainbox {
        margin: 0 2em;
    }

    .mainbox.contentbox_left {
        margin-left: 6em;
    }

    .mainbox.contentbox_right {
        margin-right: 6em;
    }

    .header img {
        top: -4rem;
    }
}

@media screen and (min-width: 1400px) {
    html {
        font-size: 18px;
    }

    .header {
        max-height: 26em;
        max-height: calc(100vH - 20.5rem);
    }

    #main {
        padding-bottom: 3em;
    }

    .mainbox {
        margin: 0 3em;
    }

    .mainbox.contentbox_left {
        margin-left: 7em;
    }

    .mainbox.contentbox_right {
        margin-right: 7em;
    }

    #container,
    .mainbox {
        padding-left: 4em;
        padding-right: 4em;
    }


    #taltreelogo img {
        height: 7.6rem;
    }

    .mainbox:first-child {
        padding-top: 2.5em;
    }

    .header img {
        top: -5rem;
    }
}

@media screen and (min-width: 1600px) {
    html {
        font-size: 19px;
    }

    .header {
        max-height: 28em;
        max-height: calc(100vH - 20.5rem);
    }


    #taltreelogo img {
        height: 8rem;
    }
}

@media screen and (min-width: 2000px) {
    html {
        font-size: 20px;
    }
}

@media screen and (min-width: 2500px) {
    html {
        font-size: 22px;
    }
}

/***************************************************************************
                                 FORMS           
****************************************************************************/
form input[type="text"],
form input[type="email"],
form input[type="password"],
form select,
form textarea,
form input[type="submit"],
form input[type="button"],
.button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5em 0.75em;
    background: rgba(0, 0, 0, 0.0);
    border: solid 2px #aaa;
    color: #666;
    border-radius: 0.5em;
    outline: none;
    margin: 0.5em 0;
    -moz-appearance: none;
    -webkit-appearance: none;
    -o-appearance: none;
    -ms-appearance: none;
    appearance: none;
    -moz-transition: all 0.2s ease-in-out, color 0.2s ease-in-out;
    -webkit-transition: all 0.2s ease-in-out, color 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out, color 0.2s ease-in-out;
    -ms-transition: all 0.2s ease-in-out, color 0.2s ease-in-out;
    transition: all 0.2s ease-in-out, color 0.2s ease-in-out;
    font-size: 0.8rem;
    font-weight: 300;
}

form input[type="submit"],
.cke_dialog_body a.button.submit {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--col_highlight);
    width: 100%;
    display: block;
}

form input[type="text"]:hover,
form input[type="email"]:hover,
form input[type="password"]:hover,
form select:hover,
form textarea:hover,
form input[type="submit"]:hover,
form input[type="button"]:hover,
.cke_dialog_body a.button.submit:hover {
    border-color: #666;
}

form input[type="submit"]:active,
form input[type="submit"]:hover,
.cke_dialog_body a.button.submit:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--col_highlight);
    ;
    color: var(--col_highlight);
    ;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form select:focus,
form textarea:focus {
    border-color: var(--col_highlight);
    ;
}

form input,
form select {
    line-height: 1.2em;
}

form textarea {
    min-height: 8em;
}

form .formerize-placeholder {
    color: rgba(145, 146, 147, 0.85) !important;
}

form :-webkit-input-placeholder {
    color: rgba(145, 146, 147, 0.85) !important;
}

form :-moz-placeholder {
    color: rgba(145, 146, 147, 0.85) !important;
}

form ::-moz-placeholder {
    color: rgba(145, 146, 147, 0.85) !important;
}

form :-ms-input-placeholder {
    color: rgba(145, 146, 147, 0.85) !important;
}

form ::-moz-focus-inner {
    border: 0;
}

form fieldset {
    border: 0;
    display: flex;
    padding: 4px;
    width: calc(100% + 16px);
    position: relative;
    margin-left: -8px;
}

form fieldset input {
    margin: 0 4px !important;
}

form.popup_form {
    width: 50vW;
    background-color: #fff;
    display: block;
    margin: 0 auto;
    padding: 1em;
}

/***************************************************************************
                             KONTAKT   // IMPRESSUM         
****************************************************************************/
#sendMsgForm {
    margin: 0 1rem;
    margin-top: 1.5em;
    text-align: left;
}

#sendMsgForm p {
    padding: 0;
}

#response,
#response * {
    font-weight: 500;
    text-align: center;
}

#response:empty {
    display: none
}

#response .error {
    color: #fff;
    background-color: #f00;
    transition: all 1s ease-in-out;
}

#response .success {
    color: #fff;
    background-color: #390;
    transition: all 1s ease-in-out;
}

#response.shown .error {
    color: #f00;
    background-color: rgba(255, 255, 255, 0);
}

#response.shown .success {
    color: #390;
    background-color: rgba(255, 255, 255, 0);
}

.fb_biglink {
    font-size: 1.1em;
    padding-top: 1em;
    display: block;
}

@media screen and (min-width: 320px) {
    .fb_biglink {
        font-size: 1.2em;
        padding-top: 1em;
        display: block;
    }
}

@media screen and (min-width: 500px) {
    #sendMsgForm {
        margin: 0 auto;
        margin-top: 1.5em;
        text-align: left;
        max-width: 40rem;
    }

    #sendMsgForm p {
        text-align: center;
    }

    .fb_biglink {
        font-size: 1.5em;
    }
}

@media screen and (min-width: 1200px) {
    #fb_biglink {
        font-size: 2em;
    }
}

/***************************************************************************
                             GALLERY PLUGIN                         
****************************************************************************/
.mainbox.contentbox_right.gallery,
.mainbox.contentbox_left.gallery {
    padding: 0;
    background: rgba(0, 0, 0, 0);
    box-shadow: none;
}

ul.gallery {
    list-style: none;
    margin: 1em;
    padding: 0;
}

ul.gallery li {
    float: left;
    width: 50%;
    border: 4px solid rgba(0, 0, 0, 0);
    box-sizing: border-box;
    position: relative;
}

ul.gallery li img {
    width: 100% !important;
    height: auto;
}

ul.gallery li span.caption {
    position: absolute;
    bottom: 0rem;
    background-color: rgba(255, 255, 255, 0.8);
    opacity: 0.6;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    padding: 0.1rem 0.2rem;
    color: #222;
    font-weight: 500;
}

ul.gallery li span.caption:empty {
    display: none;
}

ul.gallery li:hover span.caption {
    opacity: 0.9
}

@media screen and (min-width: 500px) {
    ul.gallery li {
        width: 25%;
    }

    ul.gallery {
        margin: 0;
    }
}

@media screen and (min-width: 800px) {
    ul.gallery li {
        width: 50%;
    }
}

/***************************************************************************
                             DATETIMEFIELD                    
****************************************************************************/
.terminliste_entry {
    clear: left;
}

.terminliste_entry:last-child:after {
    display: block;
    width: 1px;
    height: 1px;
    clear: left;
}

.datetimefield {
    position: relative;
    float: left;
    margin: 1em 2em 1em 0;
    width: 9em;
    text-align: center;
    background-color: rgb(255, 255, 255);
    box-shadow: 2px 2px 12px -5px rgba(0, 0, 0, 0.5);
    display: block;
    margin-bottom: 1em;
    z-index: 2;
    border-radius: 0.5rem;
    text-align: center;
    width: 7.6em;
    margin: 0em 1em 1em 1em;
    clear: left;
}

.cke_widget_wrapper_datetimefield {
    float: left;
    clear: left;
}

.datetimefield .date {
    font-size: 2em;
    background-color: var(--col_highlight);
    color: #fff;
    font-weight: 300;
    padding: 0.15em;
    width: 100%;
    position: relative;
    border-radius: 0.5rem 0.5rem 0 0;
    text-shadow: none;
}

.regular .datetimefield .date,
.datetimefield.regular .date {
    background-color: var(--col_highlight);
}

.blo .datetimefield .date,
.datetimefield.blo .date {
    background-color: rgb(25, 25, 25);
}

.datetimefield .time {
    display: block;
    font-weight: 500;
    letter-spacing: 0px;
    padding: 0.3em 0.3em;
    border-radius: 0 0 0.5em 0.5em;
    background-color: #fff !important;
    text-align: center;
}

.datetimefield .date *,
.datetimefield.time * {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.5em;
    font-weight: 500;
}

.datetimefield .date span,
.datetimefield.custom .date {
    font-size: 0.9rem;
    display: block;
    font-weight: 500;
    letter-spacing: 1px;
    margin: 0;
    padding: 0;
    line-height: 1.2em;
    padding: 0.3rem 0;
}

.datetimefield + div > * {
    font-size: 1rem;
    line-height: 1.3rem;
    padding-left: 0;
}

.datetimefield + div .location {
    display: none;
    line-height: 1.8rem;
    clear: left;
    padding-bottom: 1em;
    padding-left: 1em;
    padding-right: 1em;
}

.datetimefield + div .content {
    line-height: 1.7em;
}

@media screen and (min-width: 500px) {
    .datetimefield + div .location {
        display: block;
        clear: none;
        padding: 0;
        padding-bottom: 1em;
        text-align: center
    }

    .datetimefield + div > * {
        line-height: 1.5rem;
        padding-left: 0;
    }
}

@media screen and (min-width: 800px) {
    .datetimefield .date {
        padding: 0.25em;
    }

    .datetimefield .time {
        padding: 0.3em 0.2em;
    }

    .datetimefield {
        margin: 0em 1em 1em 0;
        width: 7.5em;
        border-radius: 0.5rem;
    }

    .datetimefield + div .title {
        font-size: 1.2rem;
    }

    .datetimefield + div > * {
        line-height: 1.5rem;
        padding-bottom: 0.5rem;
    }
}

@media screen and (min-width: 1000px) {
    .datetimefield + div .title {
        font-size: 1.5rem;
    }

    .datetimefield .date {
        padding: 0.20em;
        border-radius: 0.5rem 0.5rem 0 0;
    }

    .datetimefield + div > * {
        padding-bottom: 0.6rem;
    }

    .datetimefield .time {
        padding: 0.4em 0.2em;
    }

    .datetimefield {
        margin: 0em 1.5em 1em 0;
        width: 8em;
        border-radius: 0.5rem;
    }
}

/***************************************************************************
                             SINGLE ELEMENS STYLING                                  
****************************************************************************/
.datetimefield {
    margin-left: 0;
    margin-bottom: 0.5rem;
    margin-top: 0.4rem;
    margin-right: 0.5rem;
}

#ui-datepicker-title-addition {
    display: none;
}

@media screen and (min-width: 500px) {
    #entries_5 .datetimefield {
        display: block;
        margin-right: 1.2rem;
    }

    #ui-datepicker-title-addition {
        display: inline;
    }
}

/***************************************************************************
                             TERMINPLANER                             
****************************************************************************/
#terminplaner {
    background-color: rgba(255, 255, 255, 0.0);
    width: 100%;
    height: 20em;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    box-sizing: border-box;
    padding: 1rem 0;
}

.ui-datepicker .ui-datepicker-calendar .ui-state-highlight a {
    border: 1px solid #fcefa1;
    background: transparent;
    color: var(--col_highlight);
    z-index: 0;
}

.ui-datepicker .ui-datepicker-calendar .dragtarget a {
    background: rgb(99, 99, 99) !important;
}

.ui-datepicker .ui-datepicker-calendar a.ui-state-active,
.ui-datepicker .ui-datepicker-calendar .ui-state-highlight a.ui-state-active {
    border: 1px solid #d3d3d3;
}

.ui-datepicker th {
    padding: 0;
}

a.bd2cms_termin {
    font-size: 12px;
    padding: 6px !important;
    position: relative;
    color: #fff;
    z-index: 100;
    width: auto;
    min-height: 2.3rem !important;
    height: auto !important;
    box-sizing: border-box;
    background: var(--col_highlight) !important;
    color: #fff !important;
    display: block;
    margin: 1px;
    margin-right: 2.3em;
    overflow: hidden;
    border: 0px none !important;
    max-height: 3.6rem;
    text-overflow: ellipsis;
}

a.bd2cms_termin span {
    text-align: left !important;
    display: block;
    font-size: 12px;
    padding: 0 !important;
    text-align: left !important;
    hyphens: auto;
    line-height: 1.2em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    visibility: hidden;
}

a.bd2cms_termin:hover {
    box-shadow: 2px 2px 12px -4px rgba(0, 0, 0, 0.8);
}

.bd2cms_termin span.smtime {
    font-weight: 600;
}

.ui-datepicker-other-month a.bd2cms_termin {
    opacity: 0.8;
}

a.bd2cms_termin.regular {
    background: var(--col_highlight) !important;
}

a.bd2cms_termin.info {
    background: #F90 !important;
    min-height: 1.4em !important;
}

a.bd2cms_termin:hover * {
    text-shadow: none;
}

a.bd2cms_termin:last-child {
    margin-bottom: 2px;
}

td.past {
    opacity: 0.4
}

.ui-datepicker .ui-datepicker-unselectable:before {
    display: none;
    position: absolute;
    z-index: -1;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#555555+0,555555+50,ffffff+50,ffffff+100 */
    background: rgba(144, 144, 144, 0.8);
    /* Old browsers */
    background-image: repeating-linear-gradient(-45deg, transparent, transparent 5px, rgba(255, 255, 255, 0.2) 5px, rgba(255, 255, 255, 0.2) 10px);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    content: "";
    opacity: 0.1;
}

table.ui-datepicker-calendar {
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    table-layout: fixed !important;
    width: 100%;
    ;
}

#terminplaner .ui-datepicker-calendar td {
    border: 1px solid transparent;
    border-collapse: collapse;
    padding: 0;
    margin: 0;
    overflow: visible;
    vertical-align: top;
    height: 2.3rem;
    position: relative;
    min-height: 2.3rem;
}

#terminplaner .ui-datepicker-calendar td a:first-child {
    position: absolute;
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    min-height: 2.3rem;
    padding: 0.2em;
}

#terminplaner .ui-datepicker-calendar td.selectedDate {
    border-color: #0f0;
}

#terminplaner .ui-datepicker-today a {
    border-color: var(--col_highlight);
}

#terminplaner .ui-datepicker-title * {
    font-weight: 500;
}

.ui-widget {
    font-size: 1rem;
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.ui-corner-all {
    border-radius: 0px !important
}

.ui-widget-header {
    border: 0px none;
    background: rgba(0, 0, 0, 0);
    color: var(--col_highlight);
}

.ui-widget.ui-widget-content.ui-datepicker {
    border: 0px none;
    padding: 0;
    margin: 0;
    background: transparent;
}

#terminplaner .ui-widget.ui-widget-content.ui-datepicker {
    width: 100%;
}

#terminplaner .ui-widget.ui-widget-content td {
    background: rgba(255, 255, 255, 0.35);
}

.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-next {
    right: 14px;
}

.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-prev {
    left: 14px;
}

.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-next,
.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-prev {
    text-align: center;
    border: 0px;
    top: 10px;
    color: rgba(174, 27, 65, 0.8);
    font-size: 1.5em;
}

.ui-datepicker .ui-datepicker-header {
    padding: 0.35em;
    padding-bottom: 0.5em;
}

.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-next-hover,
.ui-widget.ui-widget-content.ui-datepicker .ui-datepicker-prev-hover {
    background: rgba(255, 255, 255, 0.0) !important;
    color: var(--col_highlight);
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #ddd;
    background: rgba(255, 255, 255, 0.0);
    color: rgba(62, 62, 62, 0.6);
}


.ui-datepicker .ui-datepicker-title,
.ui-datepicker .ui-datepicker-title * {
    font-family: var(--font_serif);
    font-weight: 600;
    font-size: 1.75rem;
    line-height: 1.2em;
}

.termin_anchor {
    position: absolute;
    visibility: hidden;
    margin-top: -4.8rem;
}

#terminlist .mainbox {
    border-bottom: 4px var(--border-style) var(--col_background);
}

#terminlist .mainbox .title,
#terminlist .mainbox .subtitle,
#terminlist .mainbox .location {
    text-align: left !important;
    margin-top: 0;
    margin-bottom: 0.5rem;
}

#terminlist .mainbox .location {
    margin-bottom: 0;
    padding-bottom: 0;
}

#terminlist .mainbox .subtitle {
    position: relative;
    margin-top: -0.5rem;
}

#terminlist .mainbox .datetimefield {
    margin-bottom: 0.5rem;
}

#terminlist .mainbox .datetimefield + div {
    min-height: 6.5rem;
}

#terminlist .mainbox .content {
    padding-top: 0.8rem;
    clear: left;
}

.terminopener {
    float: right;
    color: #aaa;
    width: 2em;
    height: 2em;
    border: solid 2px #aaa;
    border-radius: 50%;
    position: relative;
    text-shadow: none;
}

.terminopener .fa {
    padding: 0em;
    color: #aaa;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    transition: transform 0.2s ease-in-out;
    line-height: 1em;
    width: 1em;
    height: 1em;
    text-align: center;
    box-sizing: content-box;
}

.terminopener:hover {
    background-color: #aaa;
}

.terminopener:hover .fa {
    transform: rotate(90deg);
    color: #fff;
    text-shadow: none;
}

.terminopener:active {
    background-color: var(--col_highlight);
    border-color: var(--col_highlight);
}

@media screen and (min-width: 800px) {
    #terminplaner {
        padding: 1rem 1rem;
    }

    a.bd2cms_termin span {
        visibility: visible;
    }
}

@media screen and (min-width: 1000px) {
    #terminplaner {
        padding: 1rem 2rem;
    }
}

@media screen and (min-width: 1200px) {
    #terminplaner {
        padding: 1rem 4rem;
    }
}

@media screen and (min-width: 1400px) {
    #terminplaner {
        padding: 1rem 6rem;
    }
}

#popupprivacy {
    width: auto;
    height: calc(70vH - 40px);
    overflow: auto;
    background: #fff;
    padding: 2rem;
}

#popupprivacy h3,
#privacy h3 {
    text-align: left;
    font-weight: 500;
    padding: 0;
}