body {
	font-family: 'Open Sans', sans-serif;
	font-size: 14px;
}

/* came up with JQuery... */
.ui-loader .ui-corner-all .ui-body-a .ui-loader-default {
	display: none;
	font-size: 0px;
	color: #FFF;
}

.ui-loader h1 {
	display: none;
	font-size: 0px;
	color: #FFF;
}
/* came up with JQuery... */
.ui-shadow {
	-webkit-box-shadow: none; /*0px 2px 3px rgba(0,0,0,0.5); */
}

.ui-growl {
	position: absolute;
	top: 80px;
}

.ui-panel .ui-panel-content {
	padding: 0em 1em;
}

.blockOverlay {
	background-color: #f2981e;
}

.busy {
	border: none;
	background: url("../img/busy.gif") !important;
	width: 64px;
	height: 64px;
}

.container {
	padding-right: 30px;
}

.timeline {
	position: absolute;
	left: 59px;
	border: none;
	border-top: 1px solid red;
	width: 100%;
	margin: 0;
	padding: 0;
	z-index: 999;
}

.headline {
	padding-bottom: 20px;
}

.cal {
	margin: auto;
}

#sticky {
	display: none;
	position: fixed;
	height: 30px;
	width: 140px;
	left: 72px;
	top: 0px;
	background-color: #FFF;
	border: 1px solid #f7f7f7;
	border-radius: 0px 0px 10px 10px;
	font-weight: bold;
}

#sticky_content {
	padding: 0em 0.3em 0em 1em;
	vertical-align: top;
}

#sticky.stick {
	display: inline;
	z-index: 10000;
}

#sticky-anchor {
	position: relative;
	top: 0px;
}

.sticky-element-1 {
	background: #fff;
}

.ui-button-text-only .ui-button-text {
	padding: 0px;
}

#ul {
	border: 0;
}

.noborder {
	border: 0;
}

.ui-panel {
	padding: 0.2em;
	border: 0;
}

#top-row {
	background: #fff;
	border: 0;
	border-bottom: 1px solid #ccc;
	width: 100%;
	border-radius: 0px;
	z-index: 10;
}

#tomas-brand img {
	display: block;
	width: 200px;
	height: auto;
	z-index: 10;
}

#user-logout {
	padding-top: 10px;
	padding-bottom: 10px;
	width: 100%;
	text-align: right;
	z-index: 10;
}

#user-logout .user-name {
	display: block;
	right: 56px;
	top: 22px;
	font-weight: bold;
	line-height: 20px;
	vertical-align: top;
	z-index: 10;
}

#user-logout .logout-button {
	cursor: pointer;
	background: url("../img/logout.png") !important;
	height: 29px;
	width: 32px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	margin: 10px 0px 20px 16px;
	display: block;
	float: right;
	right: 0px;
}

.btn-login {
	background: url("../img/bg_btn.png") !important;
}

.form-group {
	padding-bottom: 20px;
}

.remember-me-group {
	margin: 15px 0px 10px 0px;
}

.remember-me-cb {
	position: absolute;
	left: 232px;
	top: 10px;
	margin-left: 6px;
	padding: 6px;
}

#login-col {
	padding: 15px;
}

#datepicker-container {
	width: 170px;
}

#datepicker-container .btn {
	left: 6px;
}

#datepicker-container .ui-inputfield {
	max-width: 120px;
	padding: 5px;
}

#datepicker-container .btn-today {
	width: 150px;
	height: 36px;
}

.tgm-btn:hover {
	color: #FFF;
	font-weight: bold;
	background: url("../img/bg_btn.png") !important;
}

.tgm-btn:active {
	color: #FFF;
	font-weight: bold;
	background: url("../img/bg_btn.png") !important;
}

.btn-search {
	position: absolute;
	right: 6px;
}

/* Calender */
#calendar-wrap {
	padding-top: 2px;
	padding-bottom: 2px;
}

.fc-scroller {
	position: relative;
	overflow-y: visible;
	overflow-x: hidden;
	-webkit-overflow-scrolling: touch;
	border-top: 2px solid #CCC;
	border-right: 2px solid #CCC;
	border-bottom: 2px solid #CCC;
}

.fc-time-grid-container {
	height: 100% !important;
}

.fc-view .ui-widget-header {
	border: none;
	font-size: 1em;
	background: #FFF;
}

.fc-agendaWeek-view .ui-widget-content {
	border: none;
	border-top: 1px solid #CCC;
}

.fc td.fc-today {
	border: none;
}

.fc-day {
	background-color: #f4f4f4;
	border: 1px dashed #CCCCCC !important;
}

.fc-axis .fc-time .ui-widget-content {
	border: none;
	border-top: 1px dashed #a4a4a4;
}

.fc-minor .ui-widget-content {
	border-top: 1px dashed #CCC;
}

/* hour line */
.fc-slats td {
	border-bottom: 1px solid #CCC !important;
}

.ui-state-highlight, .ui-widget-content .ui-state-highlight {
	background: none;
	background-color: #F4F4F4;
	background-color: #E4E4E4;
}

.fc-slats td {
	border-bottom: 1px dashed #CCC !important;
}

.fc-center h2 {
	visibility: hidden;
}

.fc th {
	border: none;
}

.fc .fc-row .ui-widget-header {
	background-color: #FFF;
	border: 0;
}

.col-sm-2 {
	width: 100%;
}

.fc-toolbar {
	margin-bottom: 0;
	display: none;
}

.fc-toolbar .fc-left{
	width: 0px;
	height: 0px;
}
.fc-toolbar .fc-right{
	width: 0px;
	height: 0px;
}

.btncalpan {
	margin-bottom: 6px;
}

.btncal {
	width: 32px;
	height: 32px;
}

.btncal-right {
	float: right;
}

.btncal:hover {
	color: #FFF;
	background: url("../img/bg_btn.png") !important;
}

.btncal:after {
	color: #000;
	background: white;
}

/* Beschreibung */
.ui-widget .time {
	color: #FFF;
	font-weight: bold;
	cursor: pointer;
	position: absolute;
	z-index: 1000;
	left: 12px;
	width: 120px;
}

.sperre {
	border: 1px solid #555;
	background-color: #666;
	color: #fff;
	cursor: pointer;
}

.sperre .fc-time {
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

.sperre .fc-title {
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

.buchung {
	border: 1px solid #00B253;
	background-color: #00c15d;
	color: #fff;
	cursor: pointer;
}

.buchung .fc-time {
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

.buchung .fc-title {
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

.buchung-inkasso {
	border: 1px solid #00B253;
	color: #fff;
	cursor: pointer;
	background: #00c15d url("../img/inkasso.png") no-repeat 5px 5px;
}

.buchung-inkasso .fc-time {
	margin-top: 20px;
	padding-top: 10px;
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

.buchung-inkasso .fc-title {
	padding-left: 4px;
	font-weight: bold;
	font-size: 0.9em;
}

/* dialoge */
.ui-dialog .ui-dialog-titlebar-close {
	height: 0px;
	width: 0px;
	visible: hidden !important;
}

/* custom title bar */
/* kill the king! */
.dialog-body .ui-widget-content {
	border: none;
}

/* the new king shall live!  */
.dialog-titlebar {
	font-weight: bold;
	border: none;
	width: 100%;
	padding: 10px 0px;
	border-bottom: 1px solid #CCC !important;
	margin-bottom: 8px;
}

.dialogtitle {
	font-weight: bold;
	font-size: 1.1em !important;
	margin-right: 10px;
}

.ui-dialog {
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	z-index: 20;
}

.dialog-body {
	padding: 15px 6px 15px 6px;
	width: 100%;
	height: 650px;
}

.dialog-body .ui-scrollpanel {
	width: 100% !important;
}

.ui-scrollpanel-hbar{
	display: none;
}

.dialog-body .ui-scrollpanel-container {
	width: 100% !important;
}

.dialog-body .ui-scrollpanel-content {
	width: 100% !important;
	padding-right: 10px !important;
}

.dialog-scroll {
	border: none;
	width: 100%;
	height: 100%;
	overflow-y: scroll;
	z-index: 20;
}

.dialog-text {
	padding: 0px 6px 0px 6px;
}

.sperre-body {
	height: 200px;
}

.ui-dialog .ui-dialog-titlebar {
	visible: hidden !important;
	height: 0px;
	padding: 0px;
	margin: 0px;
}

/* custom title bar */
/* kill the king! */
.dialog-body .ui-widget-content {
	border: none;
}

/* the new king shall live!  */
.dialog-titlebar {
	font-weight: bold;
	border: none;
	width: 100%;
	border-bottom: 1px solid #CCC !important;
	margin-bottom: 8px;
}

.dialogDetails {
	width: 560px;
}

.mobileDetails {
	width: 100%;
	height: 100%;
	overflow: scroll;
}

.buchung .ui-scrollpanel-container {
	width: 100% !important;
}

.buchung-mobil .ui-scrollpanel-container {
	width: 100% !important;
}

.buchung .ui-scrollpanel-content {
	width: 100% !important;
}

.buchung-mobil .ui-scrollpanel-content {
	width: 100% !important;
}

.buchung .ui-scrollpanel-hbar {
	display: none;
}

.buchung-mobil .ui-scrollpanel-hbar {
	display: none;
}

.dialog-body #line {
	margin: 6px 12px 12px 0px;
}

.dialog-body .ui-separator {
	border: none;
	border-top: 1px solid #ccc;
}

.dialog-text {
	margin-right: 10px;
}

.dialog-bold {
	font-weight: bold;
}

.dialog-space-left {
	padding-left: 36px;
}

.dialog-ontop {
	width: 100%;
}

.dialog-dropdown {
	border-radius: 2px;
}

.dialog-body .ui-panel .ui-panel-content {
	padding: 6px 0px 0px 0px;
}

.buchung-body .ui-panel .ui-panel-content {
	padding: 6px 0px 0px 0px;
}

.buchung-line {
	border: none;
	padding: 2px 0px;
}

.buchung-line .name {
	margin-left: 20px;
}

.buchung-line .ui-datalist-data {
	padding-left: 40%; 
	list-style-type: none;
}

.buchung-line .ui-panel-content {
	padding: 0;
}

.buchung-line .left {
	width: 35%;
	display: inline-block;
	vertical-align: top;
}

.buchung-line .right {
	display: inline-block;
	width: 100%;
}

.buchung-line .shifted {
	width: 50%;
	padding-left: 5%;
	border: none;
	overflow: hidden;
}

.buchung-line .link {
	color: #0080ff;
	text-decoration: underline;
}

.buchung-line .inkassodiv {
	vertical-align: top;
}

.border {
	border-top: 1px solid #CCC;
	padding: 0.8em 0em 0.8em 0em;
}

.buchung-line .buttons {
	width: 95%;
}

.buchung-line .text {
	position: relative;
	width: 99%;
}

.buchung-bottom {
	position: relative;
	bottom: 0;
	width: 95%;
}

.inkassoOverlay {
	width: 108px;
	height: 36px;
	border: 3px solid #FF0000 !important;
	font-size: 1.2em;
	padding-bottom: 4px;
}

.inkassoOverlay .ui-overlaypanel-content {
	padding: 0.3em 1em 0.7em 1em;
}

.inkasso {
	color: #FF0000;
	border: 3px solid #FF0000;
	background-color: #FFF;
	font-weight: bold;
	padding: 3px 15px;
}

#dialog-buttons {
	text-align: center;
	padding-top: 6px;
}

.dialog-button {
	width: auto;
	height: auto;
	font-size: 1em;
	padding: 0.5em 0.8em;
	margin: 6px 6px 0px 0px;
}

.dialog-button:hover {
	color: #FFF;
	background: url("../img/bg_btn.png") !important;
}

.dialog-close {
	float: right;
	margin-right: 16px;
}

/* Facelet datechooser */
#dateChooser-dialog {
	width: 340px;
	padding-bottom: 6px;
}

#dateChooser-dialog .dialog-body {
	width: 280px;
}

#dateChooser-dialog .dialog-button {
	margin-top: 10px;
}

#dateChooser {
	width: 220px;
	margin-top: 8px;
}

#dateChooser .btn {
	margin: 0px 6px;
	width: 60px;
	font-size: 1.6em;
}

#dateChooser .btn-top {
	border-top-radius: 10px;
	border-bottom-radius: 0px;
}

#dateChooser .btn-bottom {
	border-bottom-radius: 10px;
	border-top-radius: 0px;
}

#dateChooser .text {
	width: 60px;
	margin: 0px 6px;
	text-align: center;
	border-radius: 0px;
}

#dateChooser #dialog-buttons {
	margin: 5px 10px;
}

/* Helper Classes */
.no-padding {
	padding: 0;
}

.display-inline {
	display: inline;
}

.display-inline-block {
	display: inline-block;
}

/* Overwriting Bootstrap */
label {
	font-weight: normal;
}

.form-horizontal .control-label {
	padding-top: 5px;
	text-align: left;
}

hr {
	border-color: #ccc;
	margin-top: 0;
	margin-bottom: 0;
}

.bottom-line {
	margin-top: 10px;
	margin-bottom: 10px;
}

/* --- Media Queries ------------------------------*/
/* 768 + */
@media only screen and ( min-device-width: 768px) {
	.fc-scroller {
		max-height: 550px;
		max-height: 60vh;
		overflow-y: visible;
		margin: 10px;
	}
	.ui-growl {
		position: absolute;
		top: 120px;
	}
	.dialog-body {
		width: 460px;
	}
	.dialog-dropdown {
		width: 90px;
	}
	.form-group {
		width: 150%;
	}
	.remember-me-group {
		width: 100%;
	}
	.ui-widget .time {
		font-size: 1em;
	}
	.ui-widget .description {
		font-size: 1em;
		left: 0px;
		padding-left: 12px;
	}
	.ui-panelgrid .ui-panelgrid-cell { /* check for side effects! */
		border: none;
		color: #FFF;
		cursor: pointer;
		padding-left: 12px;
	}
	.col-sm-2 {
		width: 20%;
	}
}

@media only screen and ( max-device-width : 768px) {
	
	#tomas-brand img {
		width: 180px;
	}
	#login-col {
		padding-top: 0px;
	}
	.dialog-body {
		width: 100%;
		height: 100% !important;  
		overflow:  
	}
	.dialog-close {
		font-size: 2em !important;
	}
	.dialog-button{
		font-size: 1.5em !important;
	}
	.btn-success {
		height: 3em;
	}
	#datepicker-container {
		margin-right: 10px;
	}
	#datepicker-container .ui-inputfield {
		max-width: 120px;
		margin-right: 6px;
		text-align: center;
	}
	.btn-today {
		width: 140px;
	}
	.ui-dialog{
		top: 20px !important;
		height: 100% !important;
		width: 640px;
   		left: 10vw;
	}
	.days .loadNextWeek, .days .loadNextDay {
		position: absolute;
		right: 0;
	}
	#dateChooser-dialog .dialog-body {
		width: 300px;
	}
	.ui-widget .time {
		font-size: 1.2em;
		width: 100%;
	}
	.ui-widget .description {
		margin-top: 0.3em;
		font-size: 1.2em;
		left: 12px;
	}
}

@media only screen and ( max-device-width : 600px ) {
	#tomas-brand img {
		width: 140px;
	}
	.form-horizontal .control-label {
		font-size: 12px;
		padding-top: 8px;
	}
	#user-logout .user-name {
		font-weight: bold;
		font-size: 12px;
		max-width: 140px;
	}
	.btn-today {
		font-size: 13px;
		width: 122px;
		height: 32px;
	}
	.ui-dialog{
		top: 0px !important;
		height: 100% !important;
		width: 100%;
	}
	.dialog-close {
		font-size: 1.5em !important;
	}
	.dialog-button{
		font-size: 1.5em !important;
	}
	 .dialog-space-left {
		padding-left: 16px;
	}
	.dialog-dropdown {
		margin-right: 6px;
	}
	.bottom-line {
		margin-bottom: 0px;
	}
}

@media only screen and ( max-device-width : 360px) {
	#user-logout .user-name {
		max-width: 120px;
	}
	#datepicker-container {
		width: 150px;
	}
	#datepicker-container .ui-inputfield {
		max-width: 100px;
		margin-right: 4px;
		text-align: center;
	}
	.btn-today {
		font-size: 12px;
		width: 96px;
		padding: 2px 2px;
	}
	.dialog-close {
		font-size: 2em !important;
	}
}

@media only screen and ( max-device-width : @screen-xs-min) {
	.dialog-body {
		font-size: 10px;
	}
}

/* Height Media-Queries */
@media only screen and (max-device-height: 470px) {
	.fc-scroller {
		height: 200px;
		height: 200px;
	}
}
