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 */
.sch-data {
	margin: 5px;
}

.toolbar {
	margin: 5px;
}

#drawer_control a {
	cursor: pointer;
	display: inline-block;
	font-size: large;
	margin: 5px;
	text-decoration: none;
}

.handsontable {
	margin-top: 10px;
}

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

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

.handsontable td.cell-bigdate {
	background-color: yellow;
	font-size: 14pt;
	font-weight: bold;
	line-height: 1.2em;
	word-wrap: break-word;
}

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

/* This needs to have higher priority */
.handsontable .htCore td.cell-filter {
	background-color: #4F4;
}

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

.handsontable td.cell-notsaved {
	background-color: #F8F;
}

.handsontable td.cell-notinamion {
	background-color: #F8C;
}

.handsontable .cell-warning {
	background-color: #FF8;
}

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

.handsontable .cell-cover {
	background-color: #0EE;
}

.handsontable .cell-readonly {
	background-color: #EEE;
}

.handsontable .cell-weekend {
	background-color: #EEE;
}

.handsontable .cell-holiday {
	background-color: #78F0D8;
}

.handsontable .cell-readonly.cell-weekend {
	background-color: #DDD;
}

.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;
}

.sch-controls {
	margin: 5px;
}

.ctx_comment {
	background-color: #FF8;
	border: solid 1px #CC0;
	border-radius: 10px;
	height: auto;
	margin-bottom: 5px;
	padding: 5px;
	text-wrap: wrap;
}

div.changelog {
	border: solid 1px lightgray;
	border-radius: 10px;
	margin: 5px;
	padding: 5px;
}

div.changelog.live {
	cursor: pointer;
}

div.changelog.live.hilite .title {
	background-color: #20FF20;
}

div.changelog .title {
	border-radius: 5px;
	padding: 3px;
}

div.changelog.item .title {
	background-color: #F0F0F0;
}

div.changelog.pub .title {
	background-color: #C0FFC0;
}

.changelog .title span:nth-child(1) {
	float: right;
}

.changelog .info {
	padding: 3px;
}

.changelog .coords {
	border: solid 1px #CEE;
	border-radius: 5px;
	color: teal;
	float: right;
	font-size: 80%;
	padding: 1px 3px;
}

#mon-dlg {
	display: flex;
	justify-content: center;
	align-items: center;
}

/* Side sliders */
#logslide {
	background-color: white;
	display: none;
	height: 100%;
	overflow: auto;
	position: fixed;
	right: 0;
	top: 0;
	width: 300px;
	z-index: 999;
}

/* Comment styling */
.htCommentsContainer .htComments {
	border-radius: 10px;
}
.htCommentsContainer textarea.htCommentTextArea {
	background-color: #FFFFC0;
	border-radius: 10px;
	font-size: 10pt;
	pointer-events: none;
}

/* Websockets */
.ws-info {
	display: flex;
	flex-direction: row-reverse;
	float: right;
}

.ws-info div {
	align-items: center;
	border-radius: 20px;
	display: flex;
	font-weight: bold;
	height: 30px;
	justify-content: center;
	width: 35px;
}

#ws-indicator {
	background-color: #E22;
}

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

.no-close .ui-dialog-titlebar-close {
	display: none
}

.hide {
	display: none;
}

.ini-filter-container {
	display: inline-block;
	position: relative;
}

.clear-filter {
	/*display: none;*/
	height: 90%;
	position: absolute;
	right: 0px;
	top: 0px;
}

/* 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;
}
