/* Design */

/* body */

body {
	margin: 0px;
	background-color: #F8F0E0;
	font-family: Arial, Helvetica, sans-serif;
	background-image: url(/images/background.jpg);
	background-size: 100% auto;
	background-repeat: y-repeat;
}
div#content {
	min-width:320px;
	max-width:640px;
	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:middle;
}
th {
	color:#004070;
	padding-left:10px;
	padding-right:10px;
	font-weight:normal;
	text-align:right;
	vertical-align:top;
	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;
}

/* 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 {
	display: block;
	width: 100%;
	height: 1.6em;
}

#mainmenu ul {
	display: block;
	float: left;
	margin: 0px;
	border: 0px;
	padding: 0px;
	width: 100%;
	list-style-type: none;
	background-color:#F7C84A;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
}

#mainmenu ul li {
	float: left;
	border-left: 1px solid black;
	border-right: 1px solid black;
	background-color:#F7C84A;
	/* display: block; */
	/* position:relative; */
}

#mainmenu a {
	vertical-align: middle;
	display: block;	/* must be block for clickable */
	padding: 3px 15px;
	color: black;
	text-decoration: none;
	font-weight: normal;
}

#mainmenu a:hover {
	background-color:#F8F0E0;
}

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;
}
td.right button {
	width: 8em;
}
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;
}
