/* DBV5 */

.dbv5-html-data {
	width: 100%;/* Maak tabel volledige breedte*/
}
.dbv5-html-data .even {
	background-color: #EBEBEB;
}
.dbv5-html-data .odd {
	background-color: #FFF;
}
.dbv5-html-data-sumrow-cell {
	border-top: solid 2px black;
	font-weight: bold;
}
.dbv5-edit-data .even {
	background-color: #EBEBEB;
}
.dbv5-edit-data .odd {
	background-color: #FFF;
}
.dbv5-view-data th {
	background-color: hsl(0, 0%, 97%);
}
.dbv5-view-data .even {
	background-color: #EBEBEB;
}
.dbv5-view-data .odd {
	background-color: #FFF;
}
/*-*-* MessageBox *-*-*/
.messageBox {
	display: inline-block;
	background-color: hsl(210, 100%, 90%);
	box-shadow: 0px 4px 6px -1px hsla(0, 0%, 0%, 0.1), 0px 1px 10px 0px hsla(0, 0%, 0%, 0.1);
	border-left: 8px solid hsl(210, 100%, 45%);
	border-radius: 5px;
	margin: 4px 8px;
	padding: 6px 12px;
	box-sizing: border-box;
	color: hsl(210, 100%, 45%);
	font-size: 1rem;
	text-align: center;
}

.messageBox.success {
	background-color: hsl(145, 55%, 85%);
	border-color: hsl(145, 45%, 45%);
	color: hsl(145, 100%, 25%);
}

.messageBox.warning {
	background-color: hsl(40, 100%, 90%);
	border-color: hsl(40, 100%, 50%);
	color: hsl(35, 100%, 45%);
}

/* Hier zit alles in */
.cal-content {
  font: var(--common_font);
}

/*-*-* cal-nav-table *-*-*/
.cal-nav-table {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

/* Voor het bepalen van de agenda view*/
.cal_head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 20px;
}

/* De return button links in de hoek */
.cal_head #agendaReturn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  height: 26px;
  background-color: hsl(0, 70%, 50%);
  border-radius: 4px;
  box-shadow: inset 0 -0.08em 0 0.05em hsla(0, 0%, 0%, .05), inset 0 -0.14em 0.2em 0.06em hsla(0, 0%, 0%, .15),
  inset 0 .7em 1.4em 0 hsla(0, 0%, 100%, .1), 0 .2em .4em -.2em hsla(0, 0%, 0%, .4);

  padding: 0 1.5em;
  box-sizing: border-box;

  color: white;
  font-size: 14px; /* Minimale grote voor fijn kijken */
  text-decoration: none;

  white-space: nowrap;
  outline: none;
  cursor: pointer;
  transition: all .2s ease-in-out 0s;
}

.cal_head #agendaReturn:hover {
  background-color: transparent;
  color: hsl(0, 70%, 50%);
  box-shadow: inset 0 0 0 1px hsl(0, 70%, 50%), 0 .2em .4em -.2em hsla(0, 0%, 0%, .4);
}

.cal_head #agendaReturn:active {
  transform: scale(.9);
}

/* Net zo hoog als de rest */
.cal_head .idd_button,
.cal_head .idd_button:is(:hover, :active) {
  min-height: 26px;
}

.cal_menu {
  display: inline-grid;
  grid-auto-flow: column;
  justify-items: end;
  gap: 10px clamp(10px, 2vw, 40px);
  margin: 10px 0 10px auto;
}

/* Knop groen maken + groene highlight */
.cal_menu-ics.cal_menu-ics-dragover {
  background-color: hsl(150, 95%, 35%);
  border-color: hsl(150, 95%, 30%);
  outline: 4px solid hsla(150, 95%, 35%, .4);
}

.cal_menu-selector {
  white-space: nowrap;
}

/* De datepicker input */
.cal_menu-datepicker {
  display: inline-flex;
  column-gap: 4px;
  width: fit-content;
  height: 26px;
  box-sizing: border-box;
  box-shadow: inset 0 0 0 1px hsl(210, 100%, 35%),
              0 .8em .8em -.8em hsla(0, 0%, 0%, .3);
  border-radius: 4px;
  font-size: inherit; 
  overflow: hidden;
}

.cal_menu-datepicker input[type="text"] {
  min-width: 8em;
  background-color: unset;
  border: none;
  text-indent: 4px;
  font-size: inherit;
  outline: none;
  transition: none;
}

/* Standaard optie voor in en uitzoomen agenda */
.cal_menu-view {
  display: inline-flex;
  column-gap: 1px;
  width: fit-content;
  height: 26px;
  background-color: var(--common_color--blue);
  box-shadow: 0 .2em .4em -.2em hsla(0, 0%, 0%, .4);
  border: 1px solid transparent;
  border-radius: 3px;
  box-sizing: border-box;
  overflow: hidden;
}

/* De standaard opties */
.cal_menu-view-option,
.cal_menu-view-option:is(:hover, :active, :visited) {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 26px;
  background-color: white;
  padding: 0 8px;
  box-sizing: border-box;
  color: hsl(210, 100%, 35%);
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease-in-out 0s;
}

.cal_menu-view-option:is(:hover, :active) {
  background-color: hsla(0, 0%, 100%, .85);
}

.cal_menu-view-option:active {
  border-radius: 3px;
  box-shadow: inset 0 0 0 1px var(--common_color--blue);
}

/* Highlight de geselecteerde view */
.cal_menu-view-option.cal_menu-view-selected {
  background-color: var(--common_color--blue);
  color: white;
  pointer-events: none;
}

.cal-user-column {
	width:20%;
	float:left;
	padding-top:1px;
}

.cal-user-column div {
  box-sizing: border-box;
  height: 24px;
  line-height: 22px;
  font-size: 1em;
  vertical-align: top;
  overflow: hidden;
  white-space: nowrap;
  position:relative;
}

.cal-user-column div div {
	display:inline-block;
}
.cal-user-column div * {
	overflow: hidden;
}

.cal-time-column {
	margin-left:20%;
}
.cal-time-column table {
	table-layout: fixed;
	width:100%;
	border-collapse: collapse;
	z-index:1;
}
.cal-time-column table tr {
	height: 24px;
}
.cal-div-ind {
  width:80%;
  padding-left:20%;
  vertical-align: bottom;
  background-color: #FFF;
  position: sticky;
  top: 0;
  z-index: 5;
}
.cal-div-ind table {
	width:100%;
}
.cal-div-ind table tr {
	height:13px;
}

/**
 * Dit is nodig voor chrome omdat er daar iets geks gebeurd met tabel cell breedtes
 * en daarom de dagen verkeerd staan. Aanleiding hiervoor is [cx:159304].
 **/
.cal-div-ind table.cal-ind-days tr {
	display: flex;
	justify-content: space-between;
}

.cal-button {
	font-family: Lucida Sans, Arial, sans-serif;
	font-size: small;
	background-color: #E8E8E8;
	border: 2px #D1D1D1 solid;
	padding: 2px;
	color: #333;
}
.cal-background-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
}
.cal-background-time {
	position: relative;
}

/* Group rows */
.cal-user-group {
  background-color: hsl(210, 10%, 92%);
  border: 1px solid hsl(210, 10%, 70%);
  box-shadow: 0 0 10px hsla(0, 0%, 0%, .05);
}

/* Zeebraview */
.cal-user-def:nth-child(odd) {
  box-shadow: inset 0 0 100px hsla(0, 0%, 0%, .05);
}

.cal-user-def,
.cal-user-def a {
	color: #000;
	text-decoration: none;
}

.cal-user-column {
	box-shadow: 1px 0 hsl(210, 10%, 70%), 20px 0 10px -10px hsla(0, 0%, 50%, .25);
}

.cal-user-column .station {
	width: 500%;
	z-index: 3;
}

.plannable {
  border-left: 1px solid hsl(210, 10%, 70%);
}

.timeline {
	vertical-align: bottom;
}

/* alleen voor plannables, want station balk loopt toch door en is dus genoeg ruimte voor */
.cal-user-column.toggleable .plannable .userlinks {
	display: none;
}

.cal-user-column.toggleable .sidebar-toggle {
	user-select: none;
	cursor: pointer;
	padding: 0 .5em;
}

.cal-user-column.toggleable .sidebar-toggle:after {
	content: "+";
}

.cal-background-time.fullview .sidebar-toggle:after {
	content: "x";
}

/* plannables volledig scherm geven */
.cal-background-time.fullview .plannable {
	transition: all 0.5s ease;
	background-color: #FFF;
	width: 500%;
	z-index: 9;
}

/* in volledig scherm wel alle linkjes naast een plannable weergeven */
.cal-background-time.fullview .plannable .userlinks {
	display: inline;
	transition: all 0.1s ease;
}

/* verberg herhaalde tijdbalken bij weergeven volledig scherm */
.cal-background-time.fullview .timeline {
	visibility: hidden; /* hidden zodat ruimte nog wel bezet blijft en rest dus niet verspringt. */
}

.cal-user-group,
.cal-user-group a {
	color: hsl(0, 0%, 10%);
	font-weight: bold;
	text-decoration: none;
}
.cal-background-table td {
	height: 23px;
	padding: 0px;
}
.cal-background-table tr {
	height: 24px;
}
.cal-timeline-time {
	border: 1px #E0E0E0 solid;
}
.cal-timeline-time a {
	text-decoration: none;
	z-index: 2;
	display: block;
}
.cal-timeline-time-wkd {
	box-shadow: inset 0 0 0 100px hsla(0, 0%, 0%, .05);
}
.cal-timeline-name {
	border-top: 1px #D1D1D1 solid;
	font-size: 12px;
	vertical-align: top;
	overflow: hidden;
	white-space: nowrap;
}
.cal-timeline-name div {
	overflow: hidden;
}
.cal-timeline-userlink {
	font-size: 8px;
	top: -3px;
	position: relative;
	margin-left: 4px;
	text-decoration: none;
	color: #000;
}
.cal-timeline-userlink:hover {
	color: #666;
	text-decoration: underline;
}
.cal-notimeline-userlink {
	font-size: 8px;
	top: -5px;
	position: relative;
	margin-left: 4px;
	text-decoration: none;
	color: #FFF;
}
.cal-notimeline-userlink:hover {
	color: #666;
	text-decoration: underline;
}
.cal-ind-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed;
	border-top: 1px #FFF solid;
	border-bottom: 0px;
	border-left: 0px;
	border-right: 0px;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}
.cal-ind-table tr {
	height: 14px;
}
.cal-ind-table td {
	flex: 1;
	height:13px;
	white-space:nowrap;
	overflow:hidden;
}
.cal-ind-table td a {
	text-decoration: none;
	overflow:hidden;
}

.cal-ind-table td {
	padding: 0px;
	overflow: hidden;
	font-size: 11px;
	text-align: center;
	overflow: hidden;
	border-right: 1px solid #E0E0E0;
}

.cal-ind-table td a {
	color:#000;
	text-decoration: none;
}

.cal-ind-day-td {
	font-size: 11px;
	text-align: center;
	overflow: hidden;
}
.cal-ind-day-td-wkd {
	box-shadow: inset 0 0 0 100px hsla(0, 0%, 0%, .05);
}
.cal-ind-day-td-now,
.cal-ind-week-td-now,
.cal-ind-month-td-now,
.cal-ind-year-td-now {
	font-weight: bold;
}
.cal-ind-hour-td {
	font-size: 11px;
	text-align: center;
	overflow: hidden;
	border-left: 1px solid #E0E0E0;
	border-right: 1px solid #E0E0E0;
}
.cal-ind-hour-td-now {
	font-weight: bold;
}
.cal-week {
	font-size: 13px;
	text-align: center;
}
.cal-legend {
	margin-left: 5px;
}
.cal-legend a {
	color: #000;
}
.cal-legend a:hover {
	color: #666;
}
.cal-editor-error-message {
	margin-left: auto;
	margin-right: auto;
	background-color: #DC5C45;
	color: #FFF;
	padding: 4px;
	width:400px;
	margin-top: 20px;
	font-family: Lucida Sans, Arial, sans-serif;
	font-size: 12px;
	border-radius: 3px;
}

/*-*-* editor-container *-*-*/
.editor-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 10px;
  font: var(--common_font, 14px/1.2 sans-serif);
}

/*-*-* editor-column *-*-*/
.editor-column {
	display: flex;
	flex-direction: column;
	justify-content: start;
	align-items: center;
}

/*-*-* editor-row *-*-*/
.editor-row {
  position: relative;
  width: fit-content;
  min-width: 400px;
  height: min-content;
  background-color: hsl(0, 0%, 97%);
  box-shadow: 2px 2px 20px -2px hsla(0, 0%, 0%, .2), 3px 6px 10px hsla(0, 0%, 0%, .2);
  box-shadow: 0 -1px 4px hsla(0, 0%, 0%, .1), 0 4px 2px hsla(0, 0%, 0%, .1), 0 8px 4px hsla(0, 0%, 0%, .1),
              0 10px 8px hsla(0, 0%, 0%, .1), 0 22px 16px hsla(0, 0%, 0%, .1);
  border-radius: .5em;
  margin: 20px;
  padding: 0 25px;
  box-sizing: border-box;
  overflow: hidden;
}

.editor-row hr {
  border: none;
  height: 1px;
  background-color: hsl(210, 10%, 70%);
  margin: 15px 0;
}

.editor-row h1 {
  margin: 15px 0;
  color: hsl(0, 0%, 20%);
  font-size: 1.5em;
  text-decoration: 3px underline hsl(210, 100%, 45%);
}

.editor-row p {
	margin: 0;
}
.editor-row .iddRadiobutton + label {
	margin-right: .6em;
}

.editor-row .info {
  color: hsl(0, 0%, 20%);
}

.editor-row .info:empty { /* Geen content? Geen row aanmaken.*/
	display: none;
}

/**
 * Info over: Status, Created & Last modified.
**/
div.editor-row table.history-info {
	width: 100%;
	padding-top: 5px;
	color: hsl(0, 0%, 40%);
	font-size: 12px;
	font-family: Helvetica, Lucida Sans, Arial, sans-serif;
	font-style: italic;
	box-sizing: border-box;
}

/**
 * Omdat er in veel externe CSS bestanden verschillende aanroepingen zijn.
**/
.editor-row a {
  position: relative;
  color: hsl(210, 100%, 40%);
  text-decoration: none;
  white-space: nowrap;
}

/**
 * Underline in before met animatie.
**/
.editor-row a:before {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;/* 0 = links naar recht, 50 = van midden naar buiten, 100 = van rechts naar links */
	display: block;
	height: 1px;
	background-color: hsl(210, 100%, 40%);
	transition: width .25s ease 0s, left .25s ease 0s;
	width: 0;
}

/**
 * Activeer animatie bij hover.
**/
.editor-row a:hover:before {
	width: 100%;
	left: 0;
}

.editor-row button:not(.idd_button),
.editor-row input[type="submit"]:not(.idd_button) {
	width: 98%;
	background-color: hsl(0, 0%, 60%);
	background-image: none;
	box-shadow: inset 0 -0.08em 0 0.05em hsla(0, 0%, 0%, .05), inset 0 -0.14em 0.2em 0.06em hsla(0, 0%, 0%, .15),
	            inset 0 .7em 1.4em 0 hsla(0, 0%, 100%, .1), 0 .2em .4em -.2em hsla(0, 0%, 0%, .4);
	border: none;
	border-radius: .2em;
	color: rgb(255, 255, 255);
	outline: none;
	cursor: pointer;
	margin: .35em;
	padding: .35em .7em;
	font-size: 12px; /* Minimale grote voor fijn kijken */
	font-family: inherit;
	line-height: 1.4em;
	box-sizing: border-box;
	transition-property: background-color, color, transform;
	transition-duration: .2s;
	-webkit-appearance: none;/* Apple sloopt anders het design */
}

.editor-row button:not(.idd_button):hover,
.editor-row input[type="submit"]:not(.idd_button):hover {
	background-color: transparent;
	box-shadow: inset 0 0 0 1px hsl(0, 0%, 60%), 0 .2em .4em -.2em hsla(0, 0%, 0%, .4);
	color: hsl(0, 0%, 60%);
	font-family: Helvetica, Lucida Sans, Arial, sans-serif;
}

.editor-row button:not(.idd_button):active,
.editor-row input[type="submit"]:not(.idd_button):active {
	transform: scale(.95);
	font-family: Helvetica, Lucida Sans, Arial, sans-serif;
}

.editor-row .spacer {
	width: 110px;
	float: left;
	margin-right: 10px;
}

div.editor-row.editor-user label:first-child {
	min-width: 180px;
}

/**
 * Wanneer een user op DELETED staat dit laten zien met een rode border en DELETED rechts boven in de hoek.
**/
div.editor-row.editor-user.deleted {
	border: 1px solid hsl(0, 70%, 50%);
}

div.editor-row div.editor-user-status {
	display: none;
}

div.editor-row div.editor-user-status.deleted {
	position: absolute;
	top: 5px;
	right: 7px;
	display: block;
	color: hsl(0, 70%, 50%);
	font-size: 14px;
	font-family: Helvetica, Lucida Sans, Arial, sans-serif;
	font-weight: 600;
}

/*-*-* editor-form-row *-*-*/
.editor-form-row {
  display: flex;
  align-items: center;
  column-gap: 10px;
  margin: 10px 0;
}

.editor-form-row label:first-child {
  min-width: 70px;
  color: hsl(0, 0%, 20%);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
}

.editor-form-foot {
  justify-content: flex-end;
  margin: 15px 0;
}

.editor-form-foot [for="remove"] {
  margin-right: auto;
}

.editor-form-row > :is(input[type="text"], textarea, select) {
  width: max(50px, 100%);
  box-sizing: border-box;
}

.editor-form-row select {
  text-overflow: ellipsis;
}

.editor-form-row .editfield-set {
	display: flex;
}

/*-*-* cal-sharing-form *-*-*/
#cal-sharing-items {
	display: grid;
	grid-row-gap: 4px;
	margin-bottom: 12px;
}

#cal-sharing-items b {
	margin-top: 8px;
}

#cal-sharing-items b:first-child {
	margin-top: 0;
}

#cal-sharing-items label {
	font-size: 14px;
}

#editor {
	font-family: Lucida Sans, Arial, sans-serif;
}
.cal-filter-link {
	color: #000;
	text-decoration: none;
}
.cal-event-shared {
	display: block;
	position: absolute;
	height: 100%;
	left: 0px;
	width: 2px;
	background-color: #0000FF;
	margin-left: 1px;
	margin-right: 2px;
	top: 0;
}
.cal-event-over-left {
	display: block;
	position: absolute;
	height: 100%;
	left: 0px;
	width: 1px;
	border-left: 2px solid #FF0000;
	border-right: 2px solid #FF0000;
	top: 0;
}
.cal-event-over-right {
	display: block;
	position: absolute;
	height: 100%;
	right: 0px;
	width: 1px;
	border-left: 2px solid #FF0000;
	border-right: 2px solid #FF0000;
	top: 0;
}
.cal-legend-circle {
	width: 10px;
	height: 10px;
	border-radius: 45px;
	display: inline-block !important;
	margin: 0 0.2em;
}
.event {
	box-sizing: border-box;
	height: 23px;
	font-family: Helvetica, Lucida Sans, Arial, sans-serif;
	color: #000;
	font-size: 10pt;
	background-color: #3366CC;
	box-shadow: inset 0 -0.5px 0 1px hsla(0, 0%, 0%, 0.1), 
	            inset 0 -1.5px 0 hsla(0, 0%, 0%, 0.05);
	padding-left: 0px;
	padding-top: 5px;
	overflow: hidden;
	border-radius: 2px;
	z-index: 3;
}
.event a {
	margin-top: 5px;
	margin-left: 4px;
	text-decoration: none;
	color: #000;
	overflow: hidden;
	white-space: nowrap;
}
#table { border-collapse: collapse; }

#editcontainer {
	border: 0px solid #FF0000;
	position: absolute;
	top:112px;
	left:20%;
	width: 80%;
	z-index: -1;
}

/* jQuery UI gedeelte */
.ui-resizable-s { height: 2px; }
.ui-droppable { margin: 0px; }
.hover { background-color: hsl(0, 0%, 97%); }
.ui-resizable-resizing {}
.ui-resizable {
	position: relative;
}
.ui-resizable-e {
	cursor: e-resize;
	height: 100%;
	right: -2px;
	top: 0;
	width: 7px;
	position: absolute;
	display: block;
}
.ui-resizable-w {
	cursor: w-resize;
	height: 100%;
	left: -2px;
	top: 0;
	width: 7px;
	position: absolute;
	display: block;
}

.ui-draggable {
	cursor: grab;
}

.cal-tooltip {
	position:absolute;
	z-index:99999;
	font-size:11px;
	border-radius:2px;
	padding:3px;
	font-family:Lucida Sans,sans-serif;
	background-color:#333;
	color:#FFF;
}

noscript {
	display: block;
	color: white;
	font-weight: bold;
	text-align: center;
	width: 100%;
	padding: 1em 0;
	background: #e74c3c;
}

/* If screen width is under the 700px */
@media (max-width: 700px) {

  .editor-container {
    margin: 0;
    padding: 0;
  }

  .editor-row {
    width: 100%;
    min-width: auto;
    border-radius: 0;
    margin: 20px 0;
    overflow: auto;
  }

  .cal_menu {
    justify-content: space-between;
    gap: 15px;
    width: 100%;
    margin-left: 10px;
  }

  .cal_menu-ics {
    display: none;
  }

}

/* If screen width is under the 600px */
@media (max-width: 600px) {

  .cal_menu {
    grid-auto-flow: row;
    gap: 15px;
	width: fit-content;
    margin: 10px 20px 20px auto;
  }

  .cal_menu-view {
    grid-row: 1/2;
    }
}


.timeline-badge {
	display:block;
	height:23px;
	position:absolute;
	width:5px;
	top:0px;
	left:0px;
}