/* ==========================================================================
Event Calendar 
========================================================================== */
@media (max-width: 575.98px) {
    body {
        padding: 0;
    }

    html {
        font-size: 12px;
    }

    h4 {
        margin-top: 0;
    }
}

.row {
    display: flex;
}

.col {
    flex: 1 1 0%;
    min-width: 0;
    max-width: 100%;
}

/* .ec {
	height: 640px;
}
.ec.ec-day-grid {
	height: 400px;
}
@media (min-width: 576px) {
	.ec {
		height: 700px;
	}
	.ec.ec-day-grid {
		height: 500px;
	}
}
@media (min-width: 992px) {
	.ec {
		height: 800px;
	}
	.ec.ec-day-grid {
		height: 700px;
	}
}
@media (min-width: 1200px) {
	.ec.ec-day-grid {
		height: 800px;
	}
} */

/* Dark theme */
body.ec-dark {
    background: #22272e;
    color: #adbac7;
}

body:not(.ec-dark) svg.dark {
    display: none;
}

body.ec-dark svg.light {
    display: none;
}

.toggle-dark-button {
    color: inherit;
    border: 0;
    background: 0 0;
    opacity: .8;
    cursor: pointer;
}

.toggle-dark-button svg {
    width: 1.25rem;
    height: 1.25rem;
}


/* ==========================================================================
Event Calendar Olox Anpassungen
========================================================================== */
@media screen and (min-width: 550px) and (min-height: 550px) {
    .seiteninhalt {
        margin-top: 100px;
    }
}

#kalender {
    max-width: 100%;
    margin: 1em 0 2em 0;
    min-height: 750px;
}

#kalender .ec {
    width: 900px;
    width: 95vW;
}

@media (min-width: 992px) {
    #kalender .ec {
        width: 80vW;
    }
}

@media (min-width: 1200px) {
    #kalender .ec {
        width: 70vW;
    }
}

.kalender_titel {
    text-align: center;
    margin: 0;
}

#kalender .ec-day-grid .ec-uniform .ec-days {
    flex: 1 1 0%;
    /* min-height: 0; */
    min-height: 130px;
    /* flex-grow: 1; */
    /* flex-shrink: 1; */
    /* flex-basis: 0; */
}

#kalender .ec-day-grid h4.ec-event-title {
    font-size: 1.0em;
    line-height: inherit;
    /* color: #fff; */
    color: inherit;
}

#modal_veranstaltung {
    font-size: 12px;
    line-height: 1.45;
    color: #444;
}

#modal_veranstaltung p {
    margin: 0 0 2px 0;
}


.ec-event {
    display: flex;
    padding: 5px;
    color: #fff;
    border-radius: 3px;
    font-size: 0.75em;
    line-height: 1.5;
    z-index: 1;
    transition: all .2s ease-in-out;

}

.ec-day-grid.ec-month-view .ec-event:hover {
    cursor: pointer;
    transform: scale(1.3);
    padding: 5px !important;
    border: 1px solid #a3a3a3;
    z-index: 8;
    /* background-color:#ededed !important; */
    /* background-color: rgba(0, 0, 0, 0.3) !important; */
    /* white-space: inherit;
    overflow: visible;
    position: absolute;
    z-index: 999;
    width: 130px;
    background-color: #fff;
    border: 1px solid #e5e5e5; */
}

/* Eventname in einer Reihe, abgeschnitten mit ... am Ende */
/* (sonst wird nicht der Eventname angezeigt, sondern '+1 more'*/
.event_name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ec-day-grid.ec-month-view .ec-event:hover .event_name {
    white-space: inherit;
}

/* nur für hover:event, damit das Event am Sonntag nicht abgeschnitten wird*/
.ec-month-view .ec-body {
    overflow-x: visible;
    overflow-y: visible;
}

.ec-day-grid .ec-uniform .ec-content {
    overflow: visible;
}


.ec-event .event_time {
    font-weight: 600;
}

.ec-event.event_kein_milonga {
    /* background-color: #1e5fbf !important; */
    background-color: rgb(180, 0, 0) !important;
    color: #fff !important;
}

.ec-day-grid.ec-month-view .ec-event.event_kein_milonga:hover {
    cursor: pointer;
    transform: scale(1.1);
    padding: 5px !important;
    /* border: 1px solid #a3a3a3; */
    border: 0px solid #fff;
    z-index: 8;
}

.ec-day-grid .ec-event-time::after {
    content: " Uhr";
}

.ec-day-grid .ec-event-body,
.ec-all-day .ec-event-body {
    /* flex-direction: row; */
    flex-direction: column;
}


/* ==========================================================================
Anzeige der Events im Modal
========================================================================== */
a {
    outline: 0;
    text-decoration: none;
    color: #4b0600;
    transition: all 300ms ease-out;
}

a:hover,
a:focus {
    outline: 0;
    color: #C80E0E;
    text-decoration: none;
}

a.fa,
a.fas,
a .ort_name,
a .h3,
a .ort,
a .uk-icon {
    color: #333;
}

a:hover .fa,
a:hover .fas,
a:hover .ort_name,
a:hover .h3,
a:hover .ort {
    color: #d90000;
}

.w1 {
    width: 20px;
}

.w25 {
    width: 25px;
}

.mb5 {
    margin-bottom: 5px;
}

.titel_div .uk-icon {
    margin-bottom: 3px;
}

.event_bild_big_div {
    /* max-height: 600px; */
    overflow: hidden;
}

.bild {
    width: 100%;
}

.event_bild_big {
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    /* max-height: 200px; */
    position: absolute;
    margin: 0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: top center;
}

.event_head .titel {
    font-weight: 800;
    font-size: 3em;
    margin: 0;
    line-height: 1.2em;
}

.event_head .datum_zahl,
.event_head .datum_zahl_ende {
    font-size: 3em;
    font-weight: 800;
    margin: 0;
    padding: 0;
}

.event_head .uk-table td {
    padding: 2px;
    vertical-align: top;
}

*+.uk-table {
    margin-top: 0px;
}

.beschreibung_box {
    padding: 30px 30px;
}

.breite1 {
    width: 120px;
    display: inline-block;
}

.box_details {
    border-top: 1px solid #ccc;
    /*border-bottom: 1px solid #ccc;*/
    padding: 30px;
}

.event_details .uk-table td {
    padding: 2px 5px;
    vertical-align: top;
}

.event_details .h3 {
    font-size: 1.5em;
    font-weight: 800;
    margin-top: 3px;
    padding-bottom: 10px;
}

.uk-grid-divider>:not(.uk-first-column)::before {
    top: -20px;
    bottom: -20px;
    border-left: 1px solid #ccc;
}

#map_event {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}



/* ==========================================================================
Eventliste unter dem Kalender
========================================================================== */
.kalender_termine {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* .eventliste {
    /*margin-left: calc((100% - 600px)/2);*/
/* max-width: 700px; 
} */

.eventliste ul {
    border: 1px solid #bbbbbb;
    background-color: #f9f9f9;
    padding: 0px;
}

.eventliste li.event {
    border-bottom: 1px solid #ccc;
    padding: 10px 20px 10px 20px;
    padding: 1em 2em 1em 2em;
}

.event {
    transition: all .2s ease-in-out;
    cursor: pointer;
}

.event:hover {
    background-color: #e6e6e6;
    transform: scale(1.02);
}

.eventliste .event_head {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: block;
    overflow: hidden;
    font-size: 0.8em;
    line-height: 1.4;
    color: #333;
}

.event_datum_liste p {
    margin: 0px;
}

.event_datum_liste .datum_zahl {
    margin-left: 5px;
}

.event_infos_liste div {
    margin: 0 0 2px 0;
}

@media (max-width: 576px) {
    .event_infos_liste .titel {
        margin-bottom: 0.2em;
    }
}

.event_bild_liste {
    background-repeat: no-repeat;
    width: 85px;
    height: 70%;
    max-height: 85px;
    position: absolute;
    /* margin: auto 0 auto 10px; */
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position: top center;
    display: block;
    border-radius: 8px;
}


/* ==========================================================================
map
========================================================================== */
#map {
    height: 50vh;
    max-width: 100%;
}

.showmap {
    height: 100%;
    width: 100%;
    background-color: #31cd1c;
    background-color: #c9c9c9;
}

.showmap .uk-button {
    background-color: #646c74;
    color: #fff;
    border: 1px solid transparent;
}

@media screen and (min-width:960px) {
    #map {
        width: 50vw;
    }
}

/* ==========================================================================
moving letters Startseite
========================================================================== */
/* Titel */
.ml12 {
    font-weight: 700;
    font-size: 1.8em;
    /* text-transform: uppercase; */
    letter-spacing: 0.2em;
    font-family: var(--schrift_dick);
}

.ml12 .letter {
    display: inline-block;
    line-height: 1em;
}

.ml9 {
    position: relative;
    font-weight: 200;
    font-size: 2em;
    color: rgba(255, 255, 255, 1);
}


/* Untertitel */
.ml9 .text-wrapper {
    position: relative;
    display: inline-block;
    padding-top: 0.2em;
    padding-right: 0.2em;
    padding-bottom: 0.1em;
    overflow: hidden;
}

.ml9 .letter {
    transform-origin: 50% 100%;
    display: inline-block;
    line-height: 1.2em;
    color: #444;
}

/* Geburtstag */
.ml15 {
    font-weight: 800;
    font-size: 1.0em;
    position: absolute;
    left: 10%;
    top: 20%;
    transform: rotate(-10deg)
}

.ml15 .word {
    display: block;
    line-height: 1em;
    text-align: center;
}

@media (min-width: 800px) {
    .ml12 {
        font-size: 4em;
    }

    .ml9 {
        font-size: 3em;
    }

    .ml15 {
        font-size: 1.8em;
    }
}

@media (min-width: 1200px) {
    .ml12 {
        font-size: 5.8em;
    }

    .ml9 {
        font-size: 4em;
    }

    .ml15 {
        font-size: 2.5em;
    }
}