@import url('//fonts.googleapis.com/css?family=Open+Sans:400,400i|Gentium+Basic|Rubik|Cormorant+Garamond');

body, html, h1, h2, h3, h4, p
{
	margin: 0;
	padding: 0;
}

html
{
	height: 100%;
	user-select: none;
}

body
{
	overflow-y: scroll;
	height: 100%;
}
img
{
	max-width:100%;
}
p, table
{
	margin-bottom: 20px;
}

table
{
	width: 100%;
	border-collapse: collapse;
	border: none;
}

table tr
{
	border-bottom: 1px solid #E7E7E7;
}

table tr th
{
	text-align: left;
}

table tr th, table tr td
{
	color: #484848;
	background: none;
	border: none;
	padding: 5px;
	vertical-align: top;
}

table tr.clickable:hover td
{
	background: #eeeeee;
	cursor: pointer;
}

a, a:active, a:hover
{
	color: #0057AE;
	text-decoration: none;
}

a:hover
{
	color: #0057AE;
	text-decoration: underline;
	cursor: pointer;
}

a:visited
{
	text-decoration: none;
}

input[type='text'], input[type='date'], input[type='password'], input[type='number'], textarea, select
{
	background: #fff;
	color: #3f3f3f;
	border: 1px solid #a2a2a2;
 	font-family: 'Open Sans', 'Calibri', 'Ubuntu', 'DejaVu Sans', 'Verdana', 'Tahoma', 'sans-serif';
	font-size: 16px;
	margin-bottom: 3px;
	box-sizing: border-box;
	width: 100%;
	padding: 0 5px;
	line-height: 27pt;
}

textarea
{
	resize: none;
	width: 100%;
	line-height: 20pt;
	padding: 7px;
}

input[type="text"]:focus, input[type="date"]:focus, input[type="number"]:focus, input[type="password"]:focus, textarea:focus
{
	outline: none;
	border: 1px solid #a2a2a2;
}

input[disabled], textarea[disabled], select[disabled]
{
	background: #F1F1F1 !important;
}

.button a, .button a:visited, input[type='submit'], button
{
	color: #6e6e6e;
	font: bold 12px 'Helvetica', 'Arial', 'sans-serif';
	text-decoration: none;
	position: relative;
	display: inline-block;
	text-shadow: 0 1px 0 #fff;
	padding: 0 12px;
	line-height: 27pt;
	transition: border-color .218s;
	background: #f3f3f3;
	background: -webkit-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
	background: -moz-linear-gradient(linear,0% 40%,0% 70%,from(#F5F5F5),to(#F1F1F1));
	border: solid 1px #dcdcdc;
	border-radius: 2px;
}

.button a:active, input[type='submit']:focus, button:focus
{
	color: #000;
	border-color: #444;
	outline: none;
}

.button a:hover, input[type='submit']:hover, button:hover
{
	color: #333;
	border-color: #999;
	-moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
	-webkit-box-shadow:0 2px 5px rgba(0, 0, 0, 0.2);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

input[type='submit'][disabled]:hover, button[disabled]:hover, input[type='submit'][disabled], button[disabled]
{
	border-color: #dcdcdc;
	box-shadow: none;
	color: #aeaeae;
	cursor: default;
}

select
{
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	display: inline-block;
	background: #fafafa;
	background: -webkit-linear-gradient(top,  #fafafa 0%,#f4f4f4 40%,#e5e5e5 100%);
	padding: 2px 30px 3px 5px;
	border-radius: 3px;
	border: 1px solid #aaa;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
	color: #444;
}

select:focus
{
	outline: none;
}

select-arrow
{
	display: inline-block;
	position: absolute;
	margin: .9em 0 0 -1.2em;
	border-left: 5px solid transparent;
	border-right: 5px solid transparent;
	border-top: 5px solid #777;
}

input[type='text'], input[type='number'], input[type='date'], input[type='password'], textarea
{
	border: 1px solid #aaa;
	border-radius: 2px;
	box-shadow: inset 0 1px 7px rgba(100, 100, 100, 0.1);
}

input[type='text']:focus, input[type='number']:focus, input[type='date']:focus, input[type='password']:focus, textarea:focus
{
	outline: none;
	box-shadow: inset 0 1px 1px rgba(100, 100, 100, 0.3);
}

input[type='checkbox']
{
	position: absolute;
	overflow: hidden;
	clip: rect(0 0 0 0);
	height: 1px;
	width: 1px;
	margin: -1px;
	padding: 0;
	border: 0;
}

input[type='checkbox'] + label
{
	padding-left: 23px;
	height: 17px;
	display: inline-block;
	line-height: 17px;
	background-repeat: no-repeat;
	background-position: 0 0;
	font-size: 15px;
	vertical-align: middle;
	cursor: pointer;
}

input[type='checkbox']:checked + label
{
	background-position: 0 -17px;
}

input[type='checkbox'] + label
{
	background-image: url('//static.kottnet.net/images/checkbox.png');
}

input[type='radio'] + label
{
	display: inline-block;
	margin-top: 5px;
	padding-left: 5px;
}

input[type='checkbox'][disabled] + label
{
	color: #888888;
}

select[disabled]
{
	color: #cccccc !important;
	background: #f4f4f4;
}

.wrapper
{
	overflow: hidden;
}

.information_table tr td:first-of-type
{
	font-weight: bold;
	white-space: nowrap;
	padding-right: 10px;
}

.information_table tr td:last-of-type
{
	width: 100%;
}

.error_inline
{
	float: left;
	margin: 20px 15px -10px;
	padding: 0 10px;
	border-bottom: 1px solid #ffadad;
	border-top: 1px solid #ffadad;
	background-color: #FFC4C4;
	display: none;
	line-height: 27pt;
}

.success_inline
{
	float: left;
	margin: 20px 15px -10px;
	padding: 0 10px;
	border-bottom: 1px solid #89c961;
	border-top: 1px solid #89c961;
	background-color: #cdffad;
	display: none;
	line-height: 27pt;
}

.column_left
{
	width: 50%;
	padding-right: 15px;
	float: left;
	box-sizing: border-box;
}

.column_right
{
	width: 50%;
	padding-left: 15px;
	float: right;
	box-sizing: border-box;
}

form
{
	margin: -15px 0 5px;
	padding: 5px;
	overflow: hidden;
	box-sizing: border-box;
}

label
{
	margin-top: 20px;
	margin-bottom: 5px;
	display: block;
}

form input[type='submit']
{
	margin-top: 20px;
	float: left;
}

h1, h2, h3
{
	font-family: 'Gentium Basic';
	font-weight: 400;
}

h1
{
	font-size: 21pt;
}

h2
{
	font-size: 18pt;
}

h3
{
	font-size: 16pt;
}

header, section, footer
{
	font-family: 'Open Sans';
	color: #333333;
	box-sizing: border-box;
}

section
{
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
}

header
{
	padding-bottom: 0;
	box-shadow: 0 0 5px #eeeeee;
	position: relative;
	overflow: hidden;
}

#header_background
{
	background-color: #fefefe;
	background-image: url('/assets/background.jpg');
	background-size: cover;
	background-position: center center;
	top: -30px;
	right: 0;
	bottom: -30px;
	left: 0;
	z-index: -1;
	position: absolute;
	opacity: 0.2;
	filter: blur(6px) sepia(0.5);
}

header section
{
	padding-top: 20px;
	position: relative;
	height: 110px;
}

header h1
{
	margin: 0;
	padding: 0;
	font-size: 30pt;
}

header section nav
{
	overflow: hidden;
	margin-bottom: -1px;
	position: absolute;
	right: 0;
	bottom: 20px;
}

header nav a, header nav a:active, header nav a:hover
{
	display: block;
	float: left;
	padding: 7px 10px;
	color: #222222;
	text-decoration: none;
	border-bottom: 1px solid transparent;
	margin: 0 5px;
}

header nav a:active, header nav a:hover, header nav a.active
{
	color: #000000;
	border-bottom: 1px solid #777777;
}

body > section
{
	margin-top: 10px;
	margin-bottom: 10px;
	padding: 15px;
	background: #ffffff;
}

.week
{
	overflow: hidden;
	margin: 5px 0 15px;
}

.week .number
{
	text-transform: uppercase;
	font-size: 9pt;
}

.week .days .day
{
	float: left;
	width: calc(14% - 10px);
	border: 1px dotted #dddddd;
	min-height: 120px;
	margin: 5px;
	box-sizing: border-box;
	font-size: 11pt;
}

.week .days .day:hover
{
	cursor: pointer;
	border: 1px solid #cccccc;
	color: #000000;
}

.week .days .day.disabled
{
	opacity: 0.5;
}

.week .days .day .date
{
	padding: 5px;
	background: #eeeeee;
}

.week .days .day.today .date
{
	background: #FCF4D9;
}

.week .days .day .booking
{
	background: #FFC4C4;
	margin: 1px 0;
	padding: 3px;
}

.week .days .day .booking.mine
{
	background: #cdffad;
}

.single_day .booking
{
	margin: 10px 0 20px;
	border: 1px solid #dddddd;
	position: relative;
}

.single_day .booking
{
	user-select: text;
}

.single_day .booking.mine
{
	border: 1px solid #89c961;
}

.single_day .booking .time
{
	background: #eeeeee;
	padding: 5px;
}

.single_day .booking.mine .time
{
	background: #cdffad;
	height: 30px;
}

.single_day .booking .time h2
{
	line-height: 30px;
}

.single_day .booking .time a
{
	user-select: none;
	position: absolute;
	top: 3px;
	right: 2px;
	line-height: 32px;
}

.single_day .booking table tr
{
	border-bottom: none;
}

.is_administrator td, .is_administrator td a, .is_administrator td a:hover, .is_administrator td a:active
{
	color: red;
}

.slot_disabled + label
{
	text-decoration: line-through;
	color: #999999;
}

.slot_columns
{
	display: flex;
}

.slot_column
{
	flex-grow: 1;
    flex-basis: 0;
}
