@media all {
	body {
		padding-top: 60px;
		padding-bottom: 40px;
	}
	#external-events {
		/* padding: 0 10px;
		border: 1px solid #ccc;
		background: #eee; */
		text-align: left;
	}
	#external-events-2 {
		margin-top: 4px;
		/* 		padding: 0 10px;
		
		border: 1px solid #ccc;
		background: #eee; */
		text-align: left;
	}
	#external-events h4 {
		font-size: 16px;
		margin-top: 0;
		padding-top: 1em;
	}
	.external-event { /* try to mimick the look of a real event */
		margin: 6px 0px 8px 0px;
		padding: 0px 2px 0px 4px;
		background: #3366CC;
		color: #fff;
		font-size: .85em;
		cursor: pointer;
		border: 1px solid #666;
	}
	.glowing-border {
		/*outline: none;
    	border: 2px solid #3366CC;*/
		border: 2px solid #666;
		box-shadow: 3px 3px 5px 2px #666;
	}
	.fc-event-bg.ther-event-highlight {
		border: 1px solid white;
		background-color: black;
		opacity: 0.6;
		box-shadow: 5px 5px 5px 6px black;
		border-radius: 2px;
	}
	#external-events p {
		margin: 1.5em 0;
		font-size: 11px;
		color: #666;
	}
	#external-events p input {
		margin: 0;
		vertical-align: middle;
	}
	.external-event-count {
		float: right;
	}
	.external-event-duration {
		margin-left: 0.2rem;
	}
	.hidden {
		visibility: none;
		display: none;
	}
	.navbar .brand {
		max-height: 40px;
		overflow: visible;
		padding-top: 10;
		padding-bottom: 0;
	}

	/* Necessary for bootstrap nav on mobile devices.*/
	.nav-collapse.in {
		height: auto !important;
		/*overflow: visible !important;*/
	}
	#back-to-top {
		background-color: #AAAAAA;
		border-radius: 10px 10px 10px 10px;
		bottom: 20px;
		color: #FFFFFF;
		display: block;
		font-size: 3em;
		opacity: 0;
		padding: 0 11px 0 12px;
		position: fixed;
		right: 20px;
		z-index: 49;
		line-height: 50px;
	}
	#back-to-top.visible {
		opacity: 0.2;
	}
	#back-to-top.visible:hover {
		opacity: 0.4;
	}
	.datepicker {
		z-index: 3000;
	}
	tr.border-bottom-1 td {
		border-bottom: 1px solid #000;
	}
	tr.border-bottom-2 td {
		border-bottom: 2px solid #000;
	}
	tr.border-bottom-3 td {
		border-bottom: 3px solid #000;
	}
	tr.border-top td {
		border-top: 1px solid #000;
	}
	.fc-state-highlight {
		/* Fullcalendar: kein gelber Hintergrund fuer aktuellen Tag .fc-today */
		background: #ffffff;
	}
	.fc-event-title {
		text-align: center;
		font-size: 12px;
	}
	.stick-right {
		position: fixed;
		right: 15px;
		top: 10px;
		width: 100%;
		height: 100%;
		overflow: auto;
		background-color: white;
	}
	.ther-background-event .fc-event-title {
		text-align: right;
		line-height: 21.10px;
		font-size: 12px;
		border-top: 3px dotted;
		color: #000000cc;
	}
}

/* SQUARED CHECKBOX */
.squaredOne {
	width: 100px;
	height: 100px;
	background: #fcfff4;
	background: -webkit-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -moz-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -o-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: -ms-linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	background: linear-gradient(top, #fcfff4 0%, #dfe5d7 40%, #b3bead 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fcfff4',
		endColorstr='#b3bead', GradientType=0);
	margin: 20px auto;
	-webkit-box-shadow: inset 0px 1px 1px white, 0px 1px 3px
		rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
	position: relative;
}

.squaredOne label {
	cursor: pointer;
	position: absolute;
	width: 84px;
	height: 84px;
	left: 8px;
	top: 8px;
	-webkit-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px
		rgba(255, 255, 255, 1);
	-moz-box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px
		rgba(255, 255, 255, 1);
	box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.5), 0px 1px 0px
		rgba(255, 255, 255, 1);
	background: -webkit-linear-gradient(top, #222 0%, #45484d 100%);
	background: -moz-linear-gradient(top, #222 0%, #45484d 100%);
	background: -o-linear-gradient(top, #222 0%, #45484d 100%);
	background: -ms-linear-gradient(top, #222 0%, #45484d 100%);
	background: linear-gradient(top, #222 0%, #45484d 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#222',
		endColorstr='#45484d', GradientType=0);
}

.squaredOne label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
	filter: alpha(opacity = 0);
	opacity: 0;
	content: '';
	position: absolute;
	width: 76px;
	height: 76px;
	background: #00bf00;
	background: -webkit-linear-gradient(top, #00bf00 0%, #009400 100%);
	background: -moz-linear-gradient(top, #00bf00 0%, #009400 100%);
	background: -o-linear-gradient(top, #00bf00 0%, #009400 100%);
	background: -ms-linear-gradient(top, #00bf00 0%, #009400 100%);
	background: linear-gradient(top, #00bf00 0%, #009400 100%);
	top: 4px;
	left: 4px;
	-webkit-box-shadow: inset 0px 1px 1px white, 0px 1px 3px
		rgba(0, 0, 0, 0.5);
	-moz-box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
	box-shadow: inset 0px 1px 1px white, 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.squaredOne label:hover::after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
	filter: alpha(opacity = 30);
	opacity: 0.3;
}

.squaredOne input[type=checkbox]:checked+label:after {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity = 100);
	opacity: 1;
}
/* SQUARED CHECKBOX END */
.dropdown-backdrop {
	position: static;
}

.sidebar {
	position: fixed;
	top: 51px;
	bottom: 0;
	left: 0;
	z-index: 1000;
	padding: 20px 0;
	overflow-x: hidden;
	overflow-y: auto;
	border-right: 1px solid #eee;
}

.behandlungsTableTerminCount {
	border: 1px solid;
	border-radius: 4px;
	text-align: center;
	color: white;
	font-weight: bold;
	font-size: 0.85em;
	display: inline-block;
	width: 15px;
}

@media print {
	body {
		padding-top: 0px;
		padding-bottom: 0px;
		font-size: 0.7em;
	}
	.pagebreak {
		page-break-before: always;
	}
	.pagebreak-avoid {
		page-break-inside: avoid;
	}
	.table td {
		padding: 1px;
		line-height: 15px;
	}
	#mainMenu, .modal-backdrop, .btn {
		display: none;
	}
	.no-print {
		display: none;
	}
	.keep-together {
		page-break-inside: avoid;
	}
	input .no-print {
		border: none;
	}
	.table-condensed td {
		padding: 1px;
	}
	.table-condensed th {
		padding: 1px;
	}
	div.divFooter {
		position: fixed;
		bottom: 0;
	}
 	.big-print {
		font-size: 1.1em;
	}
	.big-print th {
		font-size: 1.1em;
		padding: 4px;
	}
	.big-print td {
		font-size: 1.1em;
		padding: 4px;
	}
	legend.big-print {
		font-size: 2.1em;
		line-height: 22px;
	}

}

.label, .badge {
	padding-top: 4px;
}

legend {
	line-height: 30px;
}