/* blue: 16677a
 * brown: af804c
 */

/* Do not print the following */

@media print {
	div#mainmenu {
		display:none;
	}
	button {
		display:none;
	}
	.noprint {
		display:none;
	}
}

/* body */

body {
	margin: 0px;
	background-color: #F8F0E0;
	font-family: Arial, Helvetica, sans-serif;
	background-size: 100% auto;
	background-repeat: y-repeat;
}
div#content {
	min-width:320px;
	max-width:1080px;
	margin:auto;
}
div#header,div.header {
	/* background-color:#FEFDFC;*/
	background-image:url(/images/kop2015-5.png);
	background-size: 100% auto;
	background-repeat:no-repeat;
	padding-top:3.5em !important;
}
.indent {
	color:#07a;
	background-color: initial;
	padding-left:27%;
	text-align: left;
}
textarea {
 font-family: Arial, Helvetica, sans-serif;
}

a {
 color: blue;
 text-decoration: none
}

a:hover {
	color: red;
}

img {
	border: 0;
}
td img {
	vertical-align:middle;
}

h1,h2,h3,h4,h5 {
	padding:0px;
	margin-top:5px;
	margin-bottom:5px;
	width:100%;
	color:#004070;
}

td {
	padding-right:10px;
	vertical-align:top;
}
th {
	color:#004070;
	padding-left:10px;
	padding-right:10px;
	font-weight:normal;
	text-align:right;
	vertical-align:top;
	font-weight:bold;
}
xth.red {
	color: #fff;
	background-color: #d9534f;
	border-top:1px solid #d43f3a;
	border-bottom:1px solid #d43f3a;
	font-weight: bold;
}
thead th,tfoot td,td.header {
	color:#004070;
	text-align:center;
	border-top:1px solid #07a;
	border-bottom:1px solid #07a;
	background-color: #e0e8f8;
}
thead th.selected {
	background-color:#FF0000;
	color:white;
}
dl {
margin:0px;
}
/* additional styling */
/*
select,input {
 border:1px solid;
 background-color:#FCF8F0;
}
input:hover,select:hover {
 background-color:#F8F0E0;
}
*/

/* Helper */

/*
table.highlight {
	width:100%;
}
table.highlight tbody tr {
	background-color:#f8f0fc;
}
*/
table.highlight tbody tr:nth-child(2n) {
	background-color:#f0f8fc;
}
table.highlight tbody tr:hover {
	background-color:#f0e8f8;
}
table.highlight tbody tr td {
	xborder:1px solid black;
	padding:.5em;
	xmargin:10px;
}

/* content */

#content {
/*	background-color: white; */
	xpadding: 10px;
	xpadding-top: 1px;
}

div.group {
/*
	border: solid 1px #C38140;
	background-color: white;
	border-radius: .3em;
*/
	border: solid 2px white;
	margin: 10px;
	padding:10px;
	background-color: #f8f8ff;
	border-radius: .5em;
}

.subgroup {
	padding:10px;
	margin:10px;
	border: dashed 1px #C38140;
/*	background-color: lime; */
}
#warnings {
/*	background-color: white; */
	padding: 0px 10px;
	padding-top: 8px;
	color: #FF0000;
	font-weight:bold;
}

/* head */

#header {
 padding: 0px;
 height: 100px;
/* background-color:#FEFDFC;*/
 background-image:url(/images/top.gif);
 background-repeat:no-repeat;
}

#footer {
	text-align: center;
	padding: 5px;
	font-size: 12px;
	background-color:#F7C84A;
	border-top: 1px solid gray;
	border-bottom: 1px solid gray;
}

/* mainmenu */

#mainmenu ul {
	padding: 0px;
	margin:10px;
	background-color:rgb(224, 232, 248);
	display: flex;
	list-style-type: none;
	flex-flow: row wrap;
	justify-content: flex-end;
	border-radius: .5em;
}

#mainmenu ul li {
	display: list-item;
}

#mainmenu a {
	display: block;	/* must be block for clickable */
	padding: 1em;
	background-color:rgb(224, 232, 248);
	border-left: 1px solid rgb(179,185,198);
	color: rgb(0, 64, 112);
	text-decoration: none;
	font-weight: 700;
}

#mainmenu a:hover {
	color:rgb(224, 232, 248);
	background-color: rgb(0, 64, 112);
}

li.module_logout {
	float: right !important;
}

.grey {
	color: #AAA !important;
}
.grey a {
	color: #AAF;
}
.grey a:hover {
	color: #FAA;
}
.warning,.warning a {
	font-weight:bold;
	color: #FF0000;
}
.error,.error a {
	font-weight:bold;
	color: #FF0000 !important;
}
.error_v2 {
	color: white !important;
	background-color: red !important;
}
.offline,.offline a {
	color: #FAA;
}
.green,.online {
	color:#339900;
}
.red {
	color:#990000;
}
.mono {
	font-family:"Courier New", Courier, monospace;
}
.bold {
	font-weight:bold;
}
.small {
	font-size:smaller;
}
.strike-through {
	text-decoration: line-through;
}
.nowrap {
	white-space:nowrap;
}
.number {
	text-align:right;
}
.more,.hidden {
	display:none;
}

/* SPECIAL STYLES */

input#comment\[new\] {
	width: 400px;
}
textarea#field\[comments\] {
	width: 600px;
}
textarea#field\[comments_internal\] {
	width: 600px;
	height: 200px;
}
table.sortable th {
	cursor: default;
}
option.header {
	background-color:#F7C84A;
	text-align:right;
	outline:solid 1px #888;
}
optgroup#DONOTENABLE {
	background-color:#F7C84A;
	content: attr(label);
	display: block;
}
input.yubico {
	background-image: url('/images/yubico-icon-small.gif');
	background-repeat: no-repeat;
	background-position: right;
}
.subdis {
	display: none !important;
}
.edit_toggle {
	vertical-align:middle;
}
.clickable {
	color:blue;
	cursor:pointer;
}
.clickable:hover {
	color:red;
}
.pre-wrap {
	white-space: pre-wrap;
}
.editable {
	color: #400;
	cursor: pointer;
}
.editable:hover {
	background-color:#F7C84A;
}
.link {
	color:blue;
	cursor:pointer;
}
.link:hover {
	color:red;
}
span.click-to-edit {
	cursor:pointer;
	x-border:1px solid white;
}
span.click-to-edit:hover {
	x-border:1px solid red;
	x-color:red;
	x-font-weight:bold;
}



.sum {
	text-align:center;
	padding:.2em .5em;
}
.reserved-red {
	xcolor: black;
	xbackground-color:#FF0000;
	color:#FF0000;
}
.reserved-orange {
	xcolor: black;
	xbackground-color:#FF8C00;
	color:#FF8C00;
}

button,select {
	padding: 5px 10px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;

	touch-action: manipulation;
	cursor: pointer;
	background-image: none;
	border: 1px solid transparent;
	font-weight: bold;
	background-color: #ddd;
}
select.add {
	width: 8em;
	text-align: right;
	text-align-last: right;
}
select.add option {
	direction: rtl;
}

button.red {
	color: #fff;
	background-color: #d9534f;
	border-color: #d43f3a;
	font-weight: bold;
}
button.green,select.green {
	color: #fff;
	background-color: #5cb85c;
	border-color: #4cae4c;
	font-weight: bold;
}
button.blue,select.blue {
	color: #fff;
	background-color: #337ab7;
	border-color: #2e6da4;
	font-weight: bold;
}

button.red:hover {
	opacity: 0.7;
}
button.green:hover {
	opacity: 0.7;
}
button.blue:hover {
	background-color: #3070a8;
	border-color: #286098;
}

button.checkin {
	padding:1em;
}

button:disabled {
	cursor: not-allowed;
	background-color: #bbb;
	border-color: #aaa;
}

tr.disabled {
	color: #bbb; !important
}
form {
	margin:0px;
}
.right {
	text-align: right;
}
span.right {
	float: right;
}
td.small {
	width:1em;
}
tr.reserved {
	background-color: #a9fc92;
}
button.big {
	width:100%;
	font-size: 1em;
}

div.mid {
	background-color: red;

	position: absolute;
	left: 10px;
	right: 10px;
	top: 10px;
	bottom: 10px;

	x-float: left;
	x-display: absolute;
	x-padding: 0px;
	x-margin: 0px;
	x-width: 100%;

	border:1px solid red;
	border-radius: .5em;
}
table.calendar td {
	padding:3;
}
td.wday0,td.wday1,td.wday2,td.wday3,td.wday4,td.wday5 {
	background-color:#ffe0e0;
}
td.wday5,td.wday6 {
	background-color:#e0ffe0;
}
td.today {
	background-color:#aaa;
}
table.verhuur tr.optie {
	background-color:#fcc !important;
}
table.verhuur tr.cancelled {
	color:#888;
	text-decoration: line-through;
}
table.verhuur thead th.today {
	background-color: #d0d8e8;
	border-top:2px solid #07a;
	border-bottom:2px solid #07a;
}
table.contract tr.signed {
	background-color:#cfc !important;
}
table.contract button {
	width: 7em;
}
button.alert {
	width: 3em !important;
}

/* flex div */

div#container {
  display: flex;                  /* establish flex container */
  flex-direction: row;            /* default value; can be omitted */
  flex-wrap: nowrap;              /* default value; can be omitted */
  x-justify-content: space-between; /* switched from default (flex-start, see below) */
  xbackground-color: lightyellow;
}
div#container > div {
  xwidth: 100px;
  xheight: 100px;
  xborder: 2px dashed red;
  padding:.4em;
}

ul.warning {
	color:red;
}
ul.warning li {
	xtext-decoration: none;
	xpadding:.1em;
}
ul.warning button {
	padding:1px 10px;
}
