body {
	margin-left: 15px;
}

a.welcome {
	color: black;
}

/* Bootstrap nav pills with dropdown */
ul.nav > li > a {
  display: inline;
}

.nav > li {
  padding-top: 8px;
  padding-bottom: 8px;
  margin-top: 1px;
  margin-bottom: 2px;
  border-radius: 5px;
}

.nav > li:hover {
  background-color: #eee;
}

.nav-pills > li > a.combo-pill {
  margin-right: 0px;
  padding-right: 0px;
  border-radius: 0px;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.nav-pills > li > a.combo-caret {
  margin-left: 0px;
  padding-left: 2px;
  border-radius: 0px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* Datepicker CSS */
td.weekend {
	background-color: #FEE;
}

/* Full calendar and events CSS */
.fc-day-sat, .fc-day-sun {
	background-color: #FEE;
}

a.event-own {
	font-weight: bold;
}

a.event-other {
	font-weight: bold;
}

a.event-own.status-own-a {
	background-color: #6F6;
}

a.event-own.status-own-r {
	background-color: #F66;
}

a.event-own.status-own-p {
	background-color: #FF6;
}

a.event-own.status-own-a .fc-event-title,
a.event-own.status-own-r .fc-event-title,
a.event-own.status-own-p .fc-event-title {
	color: black;
}

.fc-daygrid-block-event div.fc-event-title {
	border-radius: 3px;
	margin: 0px 1px;
	padding: 1px 10px;
}

a.event-other.fc-h-event {
	background-color: #60A8E8;
}

a.event-other.status-other-a .fc-event-title {
	background-color: #6F6;
}

a.event-other.status-other-r .fc-event-title {
	background-color: #F66;
}

a.event-other.status-other-p .fc-event-title {
	background-color: #FF6;
}

a.event-other.status-other-a .fc-event-title,
a.event-other.status-other-r .fc-event-title,
a.event-other.status-other-p .fc-event-title {
	color: black;
}

a.wkc-calendar {
	background-color: lightgray;
}

a.wkc-calendar.own-wkc {
	background-color: #40F0FF;
}

a.wkc-calendar .fc-event-title {
	color: black;
}

a.clinic-calendar {
	background-color: #C0C0F0;
}

a.clinic-calendar.own-clinic {
	background-color: #40F0FF;
}

a.clinic-calendar .fc-event-title {
	color: black;
}

/* Tooltip CSS */
.qtip {
	max-width: none !important;
}

.approve-buttons {
	margin: 20px 0px;
}

/* Comments and logs */
.comments, .logs {
	margin: 20px 0px;
}

.comments div, .logs div {
	padding: 5px;
}

span.date,
span.user {
	color: #888;
	font-size: 0.7em;
}

div.even {
	background-color: #F8F8F8;
}

div.odd {
	background-color: #F0F0F0;
}

/* Handsontable */
.handsontable {
	margin-top: 10px;
}

.handsontable table {
	font-size: 11pt;
}

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

.handsontable .cell-changed {
	background-color: yellow;
}

.handsontable .cell-error {
	background-color: #F88;
}

.handsontable th:nth-child(1),
.handsontable th:nth-child(2) {
	color: navy;
	font-weight: bold;
}

.handsontable th:nth-child(3),
.handsontable th:nth-child(4) {
	font-weight: bold;
}

.wkc-container {
	display: flex;
	flex-flow: row wrap;
}

.wkc-data {
	width: 400px;
}

.wkc-controls div {
	margin: 10px 20px;
}

/* Misc */
.debug {
	color: darkgrey;
	font-size: 0.8em;
	margin: 10px; 
}

/* Vacation counts */
table.vacation-counts {
	border: 2px solid gray;
	padding: 5px;
	text-align: center;
}
table.vacation-counts tr:first-child {
	border: 2px solid gray;
}
table.vacation-counts th, table.vacation-counts td {
	border: 1px solid lightgray;
	padding: 5px;
}
table.vacation-counts th {
	text-align: center;
}

/* Vacation list */
.vac-a {
	background-color: #6F6;
}

.vac-r {
	background-color: #F66;
}

.vac-p {
	background-color: #FF6;
}

/* Worktime */
.worktime-edit > * {
	margin: 5px;
}
.worktime-edit input {
	width: 300px;
}
