.T4325 { margin: 30px 0px; }
.T4325 * { box-sizing: border-box; border-collapse: collapse; }

.T4325 td {
	
}


.T4325 .monat th {
	background-color: #0C5E9F;
	color: #FFF;
	padding: 10px 10px;
	font-size: 20px;
    font-weight: 900;
}

.T4325 .legende .weekday {
	background-color: #eee;
	color: #555;
	border: 1px solid #ccc;
	padding: 5px 10px;
	text-transform: uppercase;
	font-size: 12px;
    font-weight: 900;
	width: 14.3%
}

.T4325 .day {
	position: relative;
	text-align: left;
	border: 1px solid #ccc;
	font-size: 15px;
	height: 140px;
	padding: 5px 10px;
	vertical-align: top;
}

.T4325 .day.weekend { background-color: #f2f2f2; }

.T4325 .day.event { text-align: left; }

.T4325 .day .weekday_hidden { display: none; color: #999; }
.T4325 .day .datum { 
	font-size: 16px; line-height: 1.0; margin-bottom: 5px;
	
	display: inline-block;
}

.T4325 .day.anfrage {
}

.T4325 .day.anfrage a {
	position: absolute;
	right: 10px;
	bottom: 5px;
	display: block;
	border: 1px solid #ddd;
	margin: 5px auto;
	padding: 4px 12px;
	color: #bbb !important; 
	font-size: 14px; 
	line-height: 1.0; 
	transition: none !important; 
}

.T4325 .day.anfrage a:hover { 
	color: #FFF !important; 
	border: 1px solid #777;
	background-color: #777 !important;
}


.T4325 .day.event {  }

.T4325 .event_detail {
	position: relative;
	margin: 0px 0px 5px 0px; 
	padding: 3px 0px 3px 5px;
	background-color: #0C5E9F;
	color: #FFF;
	min-height: 25px;
	min-width: 150px;
	cursor: pointer;
}


.T4325 .event_detail .name { font-weight: bold; }
.T4325 .event_detail .pers { margin: 0px 8px 0px 0px; }
.T4325 .day.event .event_detail .cart {
	position: absolute;
	right: 10px;
   	color: #FFF;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    cursor: pointer;

}

.T4325 .day.event .event_detail .cart i.collapse { display: none; }


.T4325 .day.event.cartopen .event_detail {
	background-color: #4080c0;
}


.T4325 .day.event.cartopen .event_detail .cart i.collapse {
	display: block;
}

.T4325 .day.event.cartopen .event_detail .cart i.expand {
	display: none;
}


/* cart */
.T4325 .day.event .modalcart {
	display: none;
	position: absolute;
	width: 100%;
	min-width: 323px;
	padding: 10px 15px;
	right: 0px;
	top: 100%;
	height: auto;
	background-color: #4080c0;
	box-sizing: border-box;
	z-index: 999;
}


.T4325 .day.event .modalcart.show { display: block !important; }
.T4325 .day.event .modalcart .cart_inner { position: relative; }




.T4325 .day.event .modalcart .amount {
	float: left;
	width: 50px;
	margin: 0px 15px 0px 0px;
}

.T4325 .day.event .modalcart .booking_option {
	min-height: 28px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: -webkit-flex;
	display: flex;
	align-items: center;
}

.T4325 .day.event .modalcart .booking_option.noborder {
	border: none;
	padding: 0px;
}

.T4325 .day.event .modalcart .class_name {
	float: left;
	width: 100px;
	margin: 0px 5px 0px 0px;
	font-weight: bold;
	color: #fff;
}


.T4325 .day.event .modalcart .class_price {
	font-weight: bold;
	float: left;
	width: 50px;
	color: #fff;
	/*-webkit-box-flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	flex: 1;*/
	text-align: center;
}


.T4325 .day.event .modalcart .book {
	display: none;
	position: absolute;
	right: 0px;
    top: 50%;
    -webkit-transform: translate(0%, -50%);
    -ms-transform: translate(0%, -50%);
    transform: translate(0%, -50%);
    cursor: pointer;

	height: 30px;
	width: 60px;
	background-image: url(/tramino/gfx/cart-add.png);
	background-repeat: no-repeat;
	background-position: center center;
	cursor: pointer;
	background-color: #FFCB00;
}

.T4325 .day.event .modalcart .book.show { display: block; }

.T4325 .day.event .modalcart .book:hover { background-color: #0C5E9F; }

.T4325 .day.event .modalcart .mintn { font-size: 12px; }@media all and (min-width: 768px) and (max-width:1023px) {

	/* nicht optimal, muss allerdings die Breite der Seite überschreiben oder 110% werden */
	body .maxwidth { width: 95%; }

	.T4325 .monat th { font-size: 16px; padding: 5px 5px; }


	.T4325 .legende .weekday { font-size: 14px; }
	.T4325 .week .event_detail { font-size: 13px; }

	.T4325 .day { font-size: 14px; }
	.T4325 .day.anfrage a { margin: 0px auto; font-size: 13px; padding: 4px 8px; }


}

@media all and (min-width: 568px) and (max-width: 767px) {

	.T4325 table * { display: block; }

	.T4325 .monat th { font-size: 14px; padding: 5px 5px; }
	.T4325 .legende { display: none; }

	.T4325 .week { margin: 0px 0px 20px 0px; }
	.T4325 .day { padding: 5px 10px; height: auto; }
	.T4325 .day.empty { display: none; }
	
	.T4325 .day.anfrage { text-align: left; }
	.T4325 .day.anfrage a {
		font-size: 12px;
	}

	.T4325 .day .weekday_hidden { 
		position: static;
		left: 5px;
		top: 0px;
		display: block;
	}

	.T4325 .day.anfrage .datum { font-size: 14px; }
	.T4325 .event_detail { margin: 5px 0px 5px 15px; }
}

@media all and (max-width: 567px) {


	.T4325 table * { display: block; }

	.T4325 .monat th { font-size: 12px; padding: 5px 5px; }
	.T4325 .legende { display: none; }

	.T4325 .week { margin: 0px 0px 20px 0px; }
	.T4325 .day { padding: 3px 10px; height: auto; }
	.T4325 .day.empty { display: none; }
	
	.T4325 .day.anfrage { text-align: left; }
	.T4325 .day.anfrage a {
		font-size: 12px;
		top: 5px;
		line-height: inherit;
	}

	.T4325 .day .weekday_hidden { 
		position: static;
		left: 5px;
		top: 0px;
		display: block;
	}

	.T4325 .day.anfrage .datum { font-size: 12px; }
	.T4325 .event_detail { margin: 5px 0px 5px 15px; }

}