

/*
--- DATA-TABLE ---
*/

.data-table {
	width: 100%;
	text-align: left;
	border-collapse: separate;
	}
	
.month-table {
	table-layout: fixed;
	}

.data-table th,
.data-table td {
	padding: 6px;
	}
	
	
/* Table-Head */
	
.data-table thead th {
	font-family: "Oswald";
	font-weight: 400;
	font-size: 15px;
	line-height: 15px;
	vertical-align: middle;
	text-align: center;
	text-transform: uppercase;
	padding-bottom: 5px;
	/* borders */
	border-right-width: 1px;
	border-right-style: solid;
	border-left-width: 1px;
	border-left-style: solid;
	border-bottom-width: 1px;
	border-bottom-style: solid;
	}
	
.day-table thead th,
.list-table thead th,
.month-table thead th {
	font-size: 18px;
	line-height: 22px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 4px;
	}
	
.borderradius .data-table thead tr th:first-child {
	/* border-radius */
	-webkit-border-radius: 6px 0 0 0;
	-moz-border-radius: 6px 0 0 0;
	border-radius: 6px 0 0 0;
	}

.borderradius .data-table thead tr th:last-child {
	/* border-radius */
	-webkit-border-radius: 0 8px 0 0;
	-moz-border-radius: 0 8px 0 0;
	border-radius: 0 8px 0 0;
	}
	
.time-table thead tr th:first-child {
	white-space: nowrap;
	width: 1%;
	padding: 0;
	border-left: none !important;
	}

.time-table thead tr th:last-child {
	white-space: nowrap;
	width: 1%;
	padding: 0;
	}
	
.borderradius .list-table thead th,
.borderradius .month-table thead th {
	/* border-radius */
	-webkit-border-radius: 8px 8px 0 0 !important;
	-moz-border-radius: 8px 8px 0 0 !important;
	border-radius: 8px 8px 0 0 !important;
	}
	
.user .data-table thead tr th:last-child  {
	width: auto;
	}
	
/*
.time-table thead tr th:last-child,
.time-table thead tr th.last-child {
	white-space: nowrap;
	width: 1%;
	padding: 0;
	}
*/

.data-table thead span.icon-clock {
	width: 13px;
	height: 13px;
	display: block;
	margin: 0 auto;
	}
	
.data-table thead span.icon-clock:before {
	content: "\f017"; /* fa-clock-o */
	display: block;
	line-height: 13px;
	text-align: center;
	font-size: 13px;
	color: #fff;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-indent: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}
	
.data-table thead nav.date {
	width: 50px;
	}

.data-table a.btn-prev-week,
.data-table a.btn-prev-day,
.data-table a.btn-prev-group,
.data-table a.btn-prev-month,
.data-table a.btn-next-week,
.data-table a.btn-next-day,
.data-table a.btn-next-group,
.data-table a.btn-next-month {
	display: inline-block;
	width: 25px;
	position: relative;
	height: 29px;
	text-indent: -9999px;
	vertical-align: middle;
	}

/* Pfeile (Font Awesome 4.7) */
.data-table a.btn-prev-week:before,
.data-table a.btn-prev-day:before,
.data-table a.btn-prev-group:before,
.data-table a.btn-prev-month:before,
.data-table a.btn-next-week:before,
.data-table a.btn-next-day:before,
.data-table a.btn-next-group:before,
.data-table a.btn-next-month:before {
	content: "\f100"; /* fa-angle-double-left */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	line-height: 29px;
	text-align: center;
	font-size: 20px;
	color: #fff;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-indent: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}

.data-table a.btn-prev-day:before,
.data-table a.btn-prev-group:before {
	content: "\f104"; /* fa-angle-left */
	}

.data-table a.btn-next-day:before,
.data-table a.btn-next-group:before {
	content: "\f105"; /* fa-angle-right */
	}

.data-table a.btn-next-week:before,
.data-table a.btn-next-month:before {
	content: "\f101"; /* fa-angle-double-right */
	}
	
.data-table a.btn-prev-group:before,
.data-table a.btn-next-group:before {
	color: #666;
	}
	
.data-table a.btn-prev-month,
.data-table a.btn-next-month {
	height: 22px;
	vertical-align: top;
	}
	
.data-table a.btn-prev-month:before,
.data-table a.btn-next-month:before {
	line-height: 22px;
	}
	
.data-table thead td {
	padding: 3px 2px 2px 2px !important;
	}

.data-table thead td {
	background-color: #ddd;
	border-left: 1px solid #eee;
	border-right: 1px solid #bbb;
	border-bottom: 1px solid #bbb;
	}

.data-table thead tr td:first-child, 
.data-table thead tr td.first-child {
	border-left: 1px solid #bbb;
	}
	
.data-table thead td span,
.data-table thead select {
	border: 1px solid #bbb;
	}
	
.data-table thead td input[type=text],
.data-table thead td .input-text {
	width: 100%;
	padding: 0;
	border: 0 !important;
	outline: none;
	-webkit-appearance: none; /* iPhone&iPad Schatten (nach innen) entfernen */
	}
	
.data-table thead td span {
	display: block;
	padding: 3px;
	background-color: white;
	/* border-radius */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;	
	}
	
.data-table thead td.checkbox {
	padding: 4px 5px !important;
	text-align: center;
	vertical-align: middle;
	width: 1%;
	}
	
.data-table thead select {
	width: 100%;
	padding: 5px 2px 4px 2px;
	/* border-radius */
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	/* webkit */
	-webkit-appearance: none;
	}
	
/* saf3+, chrome1+ */
@media screen and (-webkit-min-device-pixel-ratio:0) {
	.data-table thead select {
		padding: 5px 15px 5px 2px;
		background: #fff url(../../common/icons/frontend-select-arrow.svg) no-repeat right center;
	}
}


/* 
--- Table-Body ---
*/

.data-table tbody th,
.data-table tbody td {
	border-bottom: 1px solid #ddd;
	border-right: 1px solid #ddd;
	}
	
.time-table tbody td {
	cursor: pointer;
	}
	
.time-table tbody td.occupied div.title {
	display: none;
	}

.time-table tbody td.occupied:hover div.title {
	display: block;
	position: absolute;
	padding: 4px 8px;
	background: #FFF;
    color: #000;
    left: 0;
    top: 100%;
    white-space: nowrap;
    z-index: 1000;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0px 0px 4px #222;
    -webkit-box-shadow: 0px 0px 4px #222;
    box-shadow: 0px 0px 4px #222;
    background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0, #eeeeee),color-stop(1, #cccccc));
    background-image: -webkit-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -moz-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -ms-linear-gradient(top, #eeeeee, #cccccc);
    background-image: -o-linear-gradient(top, #eeeeee, #cccccc);
	}		
	
.course-table tbody td {
	padding: 3px 0px 0px 3px;
	cursor: default;
	}

.month-table tbody td {
	height: 7em;
	padding-top: 2px;
	padding-bottom: 2px;
	}
	
.list-table tbody td {
	padding: 6px;
	}
	
.data-table tbody tr td:first-child,
.data-table tbody tr td.first-child {
	border-left: 1px solid #ccc;
	}
	
.data-table tbody th {
	color: #999;
	text-align: center;
	vertical-align: top;
	white-space: nowrap;
	cursor: default;
	}
	
.data-table tbody tr:first-child th,
.data-table tbody tr.first-child th {
	font-family: "Oswald";
	font-weight: 400;
	text-transform: uppercase;
	font-size: 16px;
	line-height: 18px;
	letter-spacing: 0.5px;
	color: #333;
	padding: 5px 5px;
	}
	
.time-table tbody tr:first-child th:first-child {
	padding: 0;
	text-align: right;
	}
	
.time-table tbody tr:first-child th:last-child  {
	padding: 0;
	text-align: left;
	}
	
.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
	border-bottom: 1px solid #ccc;
	}
	
.borderradius .data-table tbody tr:last-child td:first-child,
.borderradius .time-table tbody tr:last-child th:first-child {
	/* border-radius */
	-webkit-border-radius: 0 0 0 6px;
	-moz-border-radius: 0 0 0 6px;
	border-radius: 0 0 0 6px;
	}
	
.borderradius .data-table tbody tr:last-child td:last-child,
.borderradius .time-table tbody tr:last-child th:last-child {
	/* border-radius */
	-webkit-border-radius: 0 0 6px 0; 
	-moz-border-radius: 0 0 6px 0;
	border-radius: 0 0 6px 0;
	}
	
.data-table tbody tr th:first-child {
	border-left: 1px solid #ccc;
	}

.time-table tbody tr th:first-child {
	width: 1%;
	}
	
.time-table tbody tr th:last-child {
	width: 1%;
	}
	
.data-table tbody td:last-child {
	border-right: 1px solid #ccc;
	}
	
.time-table tbody tr.current th,
.time-table tbody tr.current td {
	border-bottom-color: #666 !important;
	}
	
.boxshadow .time-table tbody tr.current th,
.boxshadow .time-table tbody tr.current td {
	/* box-shadow */
	-moz-box-shadow: inset 0px 1px 0px #666;
	-webkit-box-shadow: inset 0px 1px 0px #666;
	box-shadow: inset 0px 1px 0px #666;
	}
	
.time-table tbody tr.current th {
	padding-left: 0;
	padding-right: 0;
	}
	
.time-table tbody tr.current th:first-child span {
	background-image: url(../../common/icons/frontend-time-marker-left.svg);
	background-repeat: no-repeat;
	background-position: 0 center;
	}
	
.time-table tbody tr.current th:last-child span {
	background-image: url(../../common/icons/frontend-time-marker-right.svg);
	background-repeat: no-repeat;
	background-position: right center;
	}
	
.boxshadow .time-table tbody tr.current th:first-child {
	border-bottom-color: #666;
	border-left-color: #666;
	/* box-shadow */
	-moz-box-shadow: inset 0px 1px 0px #666;
	-webkit-box-shadow: inset 0px 1px 0px #666;
	box-shadow: inset 0px 1px 0px #666;
	/* border-radius */
	-webkit-border-radius: 	2px 0 0 2px;
	-moz-border-radius: 	2px 0 0 2px;
	border-radius: 			2px 0 0 2px;
	}
	
.boxshadow .time-table tbody tr.current th:last-child {
	border-color: #666;
	/* box-shadow */
	-moz-box-shadow: inset 0px 1px 0px #666;
	-webkit-box-shadow: inset 0px 1px 0px #666;
	box-shadow: inset 0px 1px 0px #666;
	/* border-radius */
	-webkit-border-radius: 	0 2px 2px 0;
	-moz-border-radius: 	0 2px 2px 0;
	border-radius: 			0 2px 2px 0;
	}
	
.time-table tbody tr.current th span {
	display: block;
	padding-left: 5px;
	padding-right: 5px;
	color: #333 !important;
	/* animation */
	/*
	-webkit-animation-name: blinker;  
	-webkit-animation-iteration-count: infinite;
	-webkit-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
	-webkit-animation-duration: 1s;
	-moz-animation-name: blinker;  
	-moz-animation-iteration-count: infinite;
	-moz-animation-timing-function: cubic-bezier(1.0,0,0,1.0);
	-moz-animation-duration: 1s;
	*/
	}
	
@-webkit-keyframes blinker {  
	from { opacity: 1.0; }
	to { opacity: 0.5; }
	}
	
@-moz-keyframes blinker {  
	from { opacity: 1.0; }
	to { opacity: 0.5; }
	}
	
.data-table tbody th.icon-clock {
	background: none !important;
	text-align: center;
	vertical-align: middle;
	}
	
.data-table tbody th.icon-clock:before {
	content: "\f017"; /* fa-clock-o */
	font-size: 13px;
	color: #bebebe;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-indent: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}
	
.data-table tbody td.occupied {
	height: 100%;
	}
	
.data-table tbody td.occupied span {
	opacity: 0.8;
	}
	
.data-table tbody td.occupied .tag {
	width: 6px;
	height: 6px;
	margin-top: 0px;
	margin-right: -1px;
	float: right;
	/* border-radius */
	-webkit-border-radius: 	10px;
	-moz-border-radius: 	10px;
	border-radius: 			10px;
	}
	
.week-table tbody td.occupied .tag {
	width: 5px;
	height: 5px;
	}
	
.data-table tbody th.split-after,
.data-table tbody td.split-after {
	border-left: 1px solid #fff;
	}

.data-table tbody th.split-before,
.data-table tbody td.split-before {
	border-right: 1px solid #999;
	}
	
.time-table tbody div.price {
	font-size: 12px;
	padding-top: 1px;
	text-align: center;
	color: #666;
	}
	
	
/* Kurse */

.course-wrapper {
	
	}
	
.time-table .course-wrapper {
	float: left;
	display: inline-block !important;
	width: 20%;
	}

.time-table .course {
	display: block;	
	margin-bottom: 3px;
	margin-right: 3px;
	cursor: pointer;
	line-height: 14px;
	border: 1px solid #bbb;
	/* border-radius */
	-webkit-border-radius: 	3px;
	-moz-border-radius: 	3px;
	border-radius: 			3px;
	/* box-shadow */
	-moz-box-shadow:    1px 1px 2px #ccc;
	-webkit-box-shadow: 1px 1px 2px #ccc;
	box-shadow:         1px 1px 2px #ccc;
	}
	
.time-table .course span {
	display: block;
	padding: 4px 5px;
	}

.time-table .course .title {
	font-weight: bold;
	padding-bottom: 3px;
	border-bottom: 1px solid #eee;
	/* background */
	background-color: #fff;
	background-image: url(../../common/icons/frontend-circle.svg);
	background-repeat: no-repeat;
	background-position: right top;
	/* border-radius */
	-webkit-border-radius: 3px 3px 0 0;
	-moz-border-radius: 3px 3px 0 0;
	border-radius: 3px 3px 0 0;
	}
	
.time-table .course .time {
	color: #333;
	border-top: 1px solid #fff;
	}
	
.time-table .course .time {
	/*font-size: 1.1em;*/
	}
	
.time-table .course .price, 
.time-table .course .participants {
	color: #333;
	padding-top: 0px;
	}
	
.time-table .ui-selected {
	border-color: #aaa;
	}
	
.time-table .ui-selected .time,
.time-table .ui-selected .price {
	color: #000;
	}
	
.time-table .ui-selected .marker {
	background: url(../../common/icons/frontend-selected-mark.svg) no-repeat right bottom;
	}
	
/* Kurse - Monatsansicht & Listenansicht */

.month-table .day {
	display: block;
	float: right;
	font-size: 1.3em;
	line-height: 1em;
	padding-top: 5px;
	color: #999;
	/* text-shadow */
	text-shadow: 0 1px #fff;
	}
	
.month-table .today .day {
	color: #222;
	}
	
.month-table .course,
.list-table .course {
	color: #333;
	line-height: 1.3em;
	border-bottom: 1px dotted #ccc;
	padding: 6px 5px;
	cursor: pointer;
	}
	
.list-table .course {
	border-bottom: none;
	}
	
.month-table .course:hover,
.month-table .selected,
.month-table .ui-selected {
	background: url(../../common/icons/frontend-selected-mark.svg) no-repeat right 2px bottom 0;
	background-size: 15px 15px;
	}
	
.list-table .course:hover .title,
.list-table .selected .title,
.list-table .ui-selected .title {
	background: url(../../common/icons/frontend-selected-mark.svg) no-repeat right 2px top 5px;
	background-size: 15px 15px;
	}
	
.month-table tbody td div:last-child {
	border-bottom: 0 !important;
	}
	
.month-table .course span,
.list-table .course span {
	display: block;
	}	
	
.month-table .course .title,
.list-table .course .title {
	padding-right: 20px;
	}
	
.list-table .course .title {
	font-size: 1.3em;
	padding-bottom: 5px;
	border-bottom: 1px dotted #ccc;
	}
	
.month-table .course .title{
	font-weight: bold;
	}
	
.list-table .course .desc {
	padding-top: 5px;
	padding-bottom: 5px;
	border-bottom: 1px dotted #ccc;
	line-height: 17px;
	min-height: 68px;
	overflow: hidden;
	}
	
.month-table .course .time {
	padding-right: 15px;
	}
	
.list-table .course .time {
	padding-top: 7px;
	padding-bottom: 5px;
	margin-bottom: 6px;
	font-size: 1.2em;
	border-bottom: 1px dotted #ccc;
	}
	
.month-table .course .price {
	
	}
	
.list-table .course .participants em {
	font-weight: normal;
	font-style: normal;
	color: green;
	}
	
.list-table .course .participants em.booked-up{
	color: red;
	}
	
	
/* Actions */
	
.data-table td.actions {
	width: 1%;
	padding: 2px 3px 0;
	white-space: nowrap;
	vertical-align: top;
	}
	
.data-table td.actions a {
	display: inline-block;
	/*float: left;*/
	width: 16px;
	height: 18px;
	text-align: center;
	text-decoration: none;
	}
	
/* Icons (Font Awesome 4.7) */
.data-table td.actions a:before {
	content: "\f013"; /* fa-cog */
	display: block;
	line-height: 18px;
	font-size: 14px;
	color: #666;
	font-family: FontAwesome;
	font-style: normal;
	font-weight: normal;
	text-indent: 0;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	}
	
.data-table td.actions a:hover:before {
	color: #242424;
	}
	
.data-table td.actions .icon-edit:before {
	content: "\f040"; /* fa-pencil */
	}
	
.data-table td.actions .icon-delete:before {
	content: "\f1f8"; /* fa-trash */
	}
	
.data-table td.actions .icon-open:before {
	content: "\f002"; /* fa-search */
	}
	
.data-table td.actions .icon-mail:before {
	content: "\f0e0"; /* fa-envelope */
	}
	
.data-table td.actions .icon-done:before {
	content: "\f00c"; /* fa-check */
	}
	
.data-table td.actions .icon-pdf:before {
	content: "\f15c"; /* fa-file-text */
	}
	
.data-table td.actions .icon-download:before {
	content: "\f019"; /* fa-download */
	}
	