#system-message-container div {
    margin-bottom: 90px;
}

.calendar-headline {
	left: 0;
	right: 0;
	margin-top: -70px;
}

.calendar-headline h1 {
	text-align: center;
}

#calendar-wrap {
	top: 70px;
}

#calendar {
	width: 100%;	
}

#calendar a {
	color: #868585;
	text-decoration: none;
}

#calendar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	width: 100%;
    display:table;
}

#calendar li {
	display:table-cell;
	width:14.342%;
	padding: 5px;
	box-sizing:border-box;
	border: 1px solid #ccc;
	margin-right: -1px;
	margin-bottom: -1px;
}

#calendar ul.weekdays {
	height: 40px;
	background: #20ad20;
}

#calendar ul.weekdays li {
	text-align: center;
	text-transform: uppercase;
	border: none !important;
	padding: 10px 6px;
	color: #fff;
}

#calendar .days li {
	height: 150px;
}

#calendar .days li:hover {
	background: #f4f4f4;
}

#calendar .date {
	text-align: center;
	margin-bottom: 5px;
	padding: 4px;
	background: #fff;
	width: 20px;
	border-radius: 50%;
    border: 1px solid #20ad20;
    line-height: 20px;
    font-size: 0.9em;
    float: left;
}

#calendar .today {
	background: #20ad20 !important;
    //background-image: linear-gradient(130deg,#f74a4a 0,#ff8e32 100%);
	color: #fff !important;
}

#calendar .date .dayname {
	display:none
}

#calendar .feiertag {
    margin: 0 0 0 35px;
    padding: 2px;
	font-size: 13px;
	line-height: 14px;
    min-height: 25px;
    display: flex;
    align-items: center;
}

#calendar .event {
	clear: both;
	display: block;
	font-size: 13px;
	padding: 5px;
	margin-bottom: 5px;
	line-height: 14px;
	text-decoration: none;
}

#calendar .event-desc {
	text-decoration: none;
    hyphens: auto;
}
#calendar .event-time {
	//color: #20ad20;
	margin-top: 7px;	
}
#calendar .event:hover {
    cursor: pointer;
	color: #474747;
}

#calendar .other-month {
	background: #f5f5f5;
	color: #666;
    filter: grayscale(100%);
}

#calendar-header {
  text-align: center;
  background: #fff;
  height: 46px;
}

#calendar-header .uk-grid {
    width: 100%;
    margin: 0 0 10px 0;
}

#calendar .tonne {
    float: right;
}

#calendar .tonne img {
    height: 30px;
}

#calendar .event-clearfix::before,
#calendar .event-clearfix::after {
    content: " ";
    display: table;
} 
#calendar .event-clearfix::after {
    clear: both;
}

.calendar-footer-block {
	height: 100px;
}

/* ============================
				Mobile Responsiveness
   ============================*/
@media(max-width: 1300px) {
    #calendar .feiertag {
	    font-size: calc(10px + (13 - 10) * ((100vw - 931px) / (1300 - 931)));
	    line-height: calc(11px + (14 - 11) * ((100vw - 931px) / (1300 - 931)));
    }
    
    #calendar .event {
	    font-size: calc(10px + (13 - 10) * ((100vw - 931px) / (1300 - 931)));
	    line-height: calc(11px + (14 - 11) * ((100vw - 931px) / (1300 - 931)));
    }

    #calendar .days li {
	    height: 100px;
    }
}

@media(max-width: 1100px) {
    #calendar .days li {
	    height: 100px;
    }
}

@media(max-width: 960px) {
    #calendar .feiertag {
	    font-size: 13px;
	    line-height: 14px;
    }
    
    #calendar .event {
	    font-size: 13px;
	    line-height: 14px;
    }
	
	#tm-main .uk-container {
		margin-bottom: 120px !important;
	}

	.calendar-headline {
		margin-top: -40px;
	}

	#calendar-wrap {
		top: 100px;
	}
	
    #calendar .event {
	    font-size: 13px;
	    line-height: 14px;
    }

	#calendar .weekdays, #calendar .other-month {
		display: none;
	}

	#calendar ul {
        display:block;
    }
  
	#calendar li {
		height: auto !important;
		border: 1px solid #ededed;
		width: 100%;
		padding: 10px;
		margin-bottom: -1px;
        display:block;
        float:left;
	}
  
    #calendar .date:before {
        content:attr(data-dayname) " ";
    }
  
	#calendar .date {
        margin-bottom: 7px;
	}
  
    #calendar .date .dayname {
	    display:inline
	}
  
    #calendar .noevents {
        display:none
    }
}
