:root {
	--primarycolor: #569171;
	--secondarycolor: #4b8063;
	--thirdcolor: #7ec29d;
	--forthcolor: #e6f7ee;
}
/*
:root {
	--primarycolor: #6acceb;
	--secondarycolor: #4b6b80;
	--thirdcolor: #b5d6e4;
	--forthcolor: #e6f5f7;
}*/

* {
	margin: 0;
	padding: 0;
}

body {
	font: 13px Helvetica, Arial, sans-serif;
	line-height: 1.4;
	color: #222;
}
input, textarea {
	font: 13px Helvetica, Arial, sans-serif;
	line-height: 1.3;
}

.select {
	border: 1px solid #ddd;
	background: #fff;
    padding: 8px 8px;
    border-radius: 3px;
    width: 100%;
    box-sizing: border-box;
}

.selectOption {
	background: #fff;
	color: #000;
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
}

a {
	color: var(--primarycolor);
}
a:active, a:hover {
	color: #FF4B33;
}

h1 {
	font-size: 28px;
	font-weight: normal;
	margin: 0.6em 0 0.75em;
}
h1.bottom-line {
	margin-bottom: 0;
	padding-bottom: 0.75em;
	border-bottom: 1px solid #ddd;
}

h2 {
	font-size: 18px;
	color: black;
	font-weight: normal;
	margin: 1.5em 0 0.5em;
}
h2.bottom-line {
	margin-bottom: 0.8em;
	padding-bottom: 0.4em;
	border-bottom: 1px solid #ddd;
}

dt {
	margin-top: 0.5em;
}


/*  Forms  */


fieldset {
	border-width: 1px 0 0;
	border-color: #ddd;
	border-style: solid;
	margin: 2em 0 0;
}
form > fieldset:first-child {
	margin-top: 1em;
}
fieldset fieldset {
	border-width: 0;
	float: left;
	margin-top: 1em;
	width: 50%;
}

legend {
	font-weight: bold;
	text-transform: uppercase;
	padding-right: 0.5em;
}
fieldset fieldset legend {
	color: #222;
	display: inline-block;
	font-weight: normal;
	padding-left: 2px;
	text-transform: none;
}

label {
	font-weight: normal;
	display: block;
	margin-bottom: 2px;
	margin-left: 2px;
	color: #777;
}
input[type="text"], input[type="password"], textarea {
	border: 1px solid #ddd;
	padding: 8px 8px;
	border-radius: 3px;
	width: 100%;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
}
input[type="text"]:focus, input[type="password"]:focus, textarea:focus {
	border: 1px solid var(--thirdcolor);
	}
input[type="text"]:disabled, input[type="password"]:disabled, textarea:disabled {
	background: #f8fafa;
	color: #000;
	}
form {
	background: #f4f6f6;
	padding: 1em 20px 1.25em;
	border-radius: 5px;
}
form.confirm,
form.kindergartens {
	background: none;
	padding: 0;
}
.input {
	margin: 1em 0 0 3px;
}

input[type='radio'] {
	accent-color: var(--primarycolor);
}

.input.radio, .input.checkbox {
	margin: 0 0 0 0.35em;
}
.input.width-5,
.input.width-20,
.input.width-12,
.input.width-25,
.input.width-35,
.input.width-50,
.input.width-75 {
	display: inline-block;
	vertical-align: top;
}
.input.width-5 {
	width: 4.4%;
}
.input.width-20 {
	width: 19.4%;
}
.input.width-12 {
	width: 12.0%;
}
.input.width-25 {
	width: 24.4%;
}
.input.width-35 {
	width: 34.4%;
}
.input.width-50 {
	width: 49.5%;
}
.input.width-75 {
	width: 72.5%;
}
.input.width-100 {
	width: 99.7%;
}

fieldset fieldset .input {
	margin-top: 0em;
}
fieldset fieldset .input.width-50 {
	width: 48.7%;
}

input[type='checkbox'] {
	accent-color: var(--primarycolor);
}

.input.checkbox label,
.input.radio label {
	display: inline;
	font-weight: normal;
	margin-left: 0.5em;
	color: #333;
}
.input.radio label {
	margin-left: 0.25em;
}
input.error,
textarea.error {
	color: #E2001A;
	border-color: #E2001A;
}
.input div.error {
	color: #E2001A;
}
.submit-button {
	margin: 1.5em 0 0.25em;
	background-color: var(--primarycolor);
	color: #FFF;
	font-weight: bold;
	border-radius: 4px;
	padding: 6px 12px;
	border-width: 0px;
}

.icon-button {
	margin: 5px;
	background-color: var(--secondarycolor);
	color: #FFF;
	font-weight: bold;
	border-radius: 4px;
	padding: 6px 6px;
	border-width: 0px;
}

.slot-table {
	text-align: center;
}

.slot-button {
	margin: 0.25em 0.25em 0.25em 0.25em;
	color: #FFF;
	font-weight: bold;
	border-radius: 4px;
	padding: 6px 12px;
	border-width: 0px;
	min-width: 75px;
}

.slot-active {
	background-color: var(--primarycolor);
}

.slot-inactive {
	background-color: var(--thirdcolor);
}

.colorBox {
	margin-top: 3px;
	margin-left: 5px;
	width: 20px;
	height: 28px;
}

.remove-attachment {
	font-weight: bold;
	color: #E2001A;
}

/*  Layout  */


/*  Header  */


#header-first {
	background-color: var(--thirdcolor);
	color: white;
	height: 78px;
}
#logo {
	float: left;
	margin-top: 8px;
	margin-left: -10px;
}
#logo img {
	border-width: 0;
}
#account {
	float: right;
	margin-top: 1.2em;
	color: var(--primarycolor);
}
#account a {
	color: #404444;
	text-decoration: none;
}
#account a:hover {
	text-decoration: underline;
}
#account .logged-in-user {
	font-weight: bold;
	color: white;
}
#header-second {
	background-color: #404444;
	padding: 10px 0 0;
}

#header-second ul {
	list-style: none;
	height: 31px;
}

#header-second ul li {
	display: inline;
	padding: 10px 10px 15px;
	margin-right: 4px;
}
#header-second ul li.selected {
	background: white;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
	box-shadow: 1px -2px 3px 0.5px rgba(0,0,0,0.1);
}
#header-second ul li a {
	text-decoration: none;
	color: white;
	font-weight: bold;
	font-size: 15px;
}
#header-second ul li a:hover {
	text-decoration: underline;
}
#header-second ul li.selected a {
	color: #222;
}

#header-third {
	border-bottom: 1px solid #ddd;
	padding: 6px 0 0;
}
#header-third ul {
	list-style: none;
	height: 36px;
}
#header-third ul li {
	display: inline;
	float: left;
	padding: 5px 10px 3px;
	margin-right: 4px;
}
#header-third ul li a {
	text-decoration: none;
	color: var(--primarycolor);
	font-weight: bold;
	font-size: 15px;
}
#header-third ul li a:hover {
	text-decoration: underline;
}
#header-third ul li.selected {
	background: var(--forthcolor);
	border-radius: 4px;
}
#header-third ul li.selected a {
	color: var(--secondarycolor);
}

#content {
	margin-top: 1.5em;
}
#footer {
	padding: 6em 0 2em;
	color: #bbb;
}
#footer .grid_16 {
	border-top: 1px solid #ddd;
	padding-top: 0.5em;
	font-size: 11px;
}
#footer a {
	color: #bbb;
}

ul.side-nav {
	border-top: 1px solid #e2eee2;
	list-style: none;
}
ul.side-nav.pre-selected {
	border-top: 1px solid white;
}
ul.side-nav li {
	border-bottom: 1px solid #e2eee2;
}
ul.side-nav li a {
	text-decoration: none;
	color: var(--primarycolor);
	font-weight: bold;
	font-size: 15px;
	display: block;
	padding: 0.6em 0 0.6em 0.8em;
	margin-left: -0.8em;
	margin-right: -1.25em;
}
ul.side-nav li a:hover {
	text-decoration: underline;
}
ul.side-nav li.pre-selected {
	border-bottom: 1px solid white;
}
ul.side-nav li.selected {
	border-bottom: 1px solid white;
}
ul.side-nav li.selected a {
	background: var(--forthcolor);
	color: var(--secondarycolor);
	background-image: url(images/arrow-right.png);
	background-repeat: no-repeat;
	background-position: 100% 50%;
	border-radius: 5px;
}

.navigate-left {
	background-color: var(--primarycolor) !important;
	color: var(--secondarycolor);
	background: url(images/arrow-left-small.png) no-repeat;
	background-repeat: no-repeat;
	background-position: 0% 50%;
	height: 16px !important;
	width: 10px !important;
	float: right;
	top: -28px;
	left: -28px !important;
	display: block !important;
	position: absolute!important;
	transform: translate(0, 10px);
}

.navigate-right {
	background-color: var(--primarycolor) !important;
	color: var(--secondarycolor);
	background: url(images/arrow-right-small.png) no-repeat;
	background-repeat: no-repeat;
	background-position: 100% 50%;
	height: 16px !important;
	width: 10px !important;
	float: right;
	top: -18px;
	left: 17px !important;
	display: block !important;
	position: absolute!important;
}

.message {
	padding: 1em 1em 0.9em;
	border-width: 1px;
	border-style: solid;
	margin-bottom: 1em;
	margin-top: -0.25em;
	border-radius: 6px;
}
.message.info {
	border-color: var(--thirdcolor);
	color: var(--primarycolor);
	background-color: var(--forthcolor);
}
.message.error {
	border-color: red;
	color: red;
	background-color: #fafafa;
}

/*  Item list  */

.item-list {
	border-top: 1px solid #e5e5e5;
}
.item-list li {
	border-bottom: 1px solid #e5e5e5;
	list-style: none;
}
.item-list li > a {
	display: block;
	padding: 0.55em 0;
	text-decoration: none;
	color: #333;
	overflow: hidden;
}
.item-list li > a:hover {
	background-color: #fcfcfc;
	color: black;
}

.item-list.students .course,
.item-list.students .email,
.item-list.kindergartens .email,
.item-list.kindergartens .phone {
	color: #999;
}
.item-list.students em.orga {
	color: white;
	font-size: 80%;
	font-style: normal;
	font-weight: bold;
	margin-left: 1em;
	padding: 0.1em 0.5em 0.2em 0.4em;
	background: var(--thirdcolor);
	border-radius: 3px;
}
.item-list .icons {
	text-align: right;
	margin: 1px 0 -6px;
}
.item-list .icons a {
	display: none;
	margin: 1px 0 -6px;
}
.item-list .icons img {
	opacity: 0.1;
	margin-left: 0.25em;
}
.item-list li:hover .icons img {
	opacity: 0.7;
}
.item-list a:hover .icons a {
	display: inline;
}
/*
.mail-templates.item-list li {
	background-image: url(images/envelope.png);
	background-repeat: no-repeat;
	background-position: 0 9px;
	padding-left: 22px;
}
*/

/*
*
*	Item table
*
*/

.item-table {
	width: 100%;
	border-collapse: collapse;
	margin-top: 2.5em;
}
.item-table.students-schedule {
	margin-top: 0;
}
.item-table thead .interval {
	position: relative;
}
.item-table thead .interval span {
	position: relative;
	left: -13px;
	width: 1px;
	display: block;
	font-size: 11px;
}
.item-table thead .hours .interval span {
	height: 17px;
	font-weight: normal;
	color: #999;
}
.item-table thead .indicators {
	box-shadow: 0 4px 7px -5px rgba(0, 0, 0, 0.2);
}
.item-table thead .indicators th.indicator-legend {
	vertical-align: top;
	position: relative;
	display: block;
}
.item-table thead .indicators th.indicator-legend .roles {
	text-align: right;
	vertical-align: top;
	font-weight: normal;
	font-size: 11px;
	line-height: 12px;
	padding: 3px 6px 6px 0;
	color: #999;
	border-bottom-width: 6px;
	border-bottom-style: solid;
	border-bottom-color: transparent;
}
.item-table thead .indicators th.indicator-legend div.order-by {
	position: absolute;
	bottom: 0.1em;
	color: #999;
	font-weight: normal;
}
.item-table.students-schedule thead .indicators th.indicator-legend div.order-by {
	bottom: 0.7em;
}
.item-table thead .indicators .interval {
	vertical-align: bottom;
	border-left: 1px solid #dfe2e2;
	cursor: pointer;
}
.item-table thead .indicators .indicator {
	font-size: 11px;
	font-weight: normal;
	line-height: 12px;
	padding: 3px 0 6px;
	border-bottom-width: 6px;
	border-bottom-style: solid;
	border-bottom-color: transparent;
	min-height: 1.1em;
}
.item-table thead .indicators .indicator .ok {
	color: #62a680;
}
.item-table thead .indicators .interval.ok .indicator,
.item-table thead .indicators .interval.ok.selected .indicator {
	border-bottom-color: var(--thirdcolor);
	color: #62a680;
}
.item-table thead .indicators .interval.error .indicator,
.item-table thead .indicators .interval.error.selected .indicator {
	border-bottom-color: #E2001A;
	color: #E2001A;
}
.item-table thead .indicators .interval.selected .indicator {
	border-bottom-color: #eee;
	border-bottom-width: 16px;
}
.item-table thead .indicators .day {
	width: 0px;
	border-left: 1px solid #dfe2e2;
	border-right: 2px solid #666;
}
.item-table thead .indicators .user + .day,
.item-table thead .indicators .indicator-legend + .day {
	border-left-width: 0;
	width: 1px;
}
.item-table thead th.roles {
	text-align: left;
	font-weight: normal;
	padding-bottom: 2em;
}
.item-table thead th.roles ul {
	list-style: none;
}
.item-table thead th.roles li {
	display: block;
	float: left;
	text-align: center;
	cursor: pointer;
	padding: 0.4em 0 0.3em;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	border-right: 1px solid #ddd;
	color: #999;
	position: relative;
}
.item-table thead th.roles li:last-child {
	border-right-width: 0;
}
.item-table thead th.roles li:hover {
	background: #e9ebeb;
	color: #222;
}
.item-table thead th.roles li.selected {
	background: #505555;
	color: white;
	font-weight: bold;
}
.item-table thead th.roles .color {
	display: inline-block;
	width: 30px;
	height: 7px;
	margin-right: 0.5em;
}
.item-table thead th.roles .assistant .color,
.item-table tbody .interval.assistant.pending,
.item-table tbody .interval.assistant.accepted {
	background-color: #7EC29D;
}
.item-table thead th.roles .doc .color,
.item-table tbody .interval.doc.pending,
.item-table tbody .interval.doc.accepted {
	background-color: #95dfe5;
}
.item-table thead th.roles .surgeon .color,
.item-table tbody .interval.surgeon.pending,
.item-table tbody .interval.surgeon.accepted {
	background-color: #e5b35c;
}
.item-table thead th.roles .pharmacist .color,
.item-table tbody .interval.pharmacist.pending,
.item-table tbody .interval.pharmacist.accepted {
	background-color: #df95e5;
}
.item-table thead th.roles .arrow {
	position: absolute;
	bottom: -8px;
	left: 46%;
	background: url(images/small-arrow-down.png) no-repeat;
	width: 17px;
	height: 8px;
	display: none;
}
.item-table thead th.roles li.selected .arrow {
	display: block;
}

.item-table tbody tr {
	border-top: 1px solid #dfe2e2;
	border-bottom: 1px solid #dfe2e2;
}

.item-table tbody .user {
	padding: 0.25em;
}
.item-table tbody .user .mail {
	display: none;
	height: 16px;
	width: 22px;
	margin: -2px 0 0 -30px;
	float: left;
	background: url(images/mail.png) no-repeat;
	opacity: 0.3;
}

.item-table tbody .medical {
    display: block;
    height: 16px;
    width: 35px;
    margin: 0px 0px 0px -36px;
    float: right;
    background: url(images/medical.png) no-repeat;
    opacity: 0.3;
}

.item-table tbody .masquerade {
    display: block;
    height: 16px;
    width: 15px;
	padding-top: 2px;
    margin: 3px -5px -3px 6px;
    float: right;
    background: url(images/login.png) no-repeat;
	cursor: pointer;
}

.item-table tbody .carus {
    display: block;
    height: 16px;
    width: 35px;
    margin: 0px 0px 0px -36px;
    float: right;
    background: url(images/carus.png) no-repeat;
    opacity: 0.3;
}

.item-table tbody .user.notification-pending .mail {
	display: block;
}
.item-table tbody .user .name {
	display: block;
	float: left;
}
.item-table tbody .user .user-data {
	display: block;
	text-align: right;
	margin-right: 0.5em;
}
.item-table tbody .user .number-of-children {
	display: inline-block;
	min-width: 2em;
}
.item-table tbody .user .participation {
	color: #aaa;
}
.item-table tbody .user .matriculation-year {
	color: #aaa;
	margin-left: 0.5em;
	font-size: 82%;
}

.item-table tbody .user .application-date-time {
	color: #aaa;
	margin-left: 0.5em;
	font-size: 82%;
}

.item-table tbody .day {
	border-left: 1px solid #f0f0f0;
	border-right: 2px solid #666;
	border-bottom: 1px solid #f0f0f0;
	background: #dfe3e3;
	width: 0px;
}
.item-table tbody .user + .day {
	width: 1px;
	background: white;
	border-left-width: 0;
	border-bottom: 1px solid #dfe2e2;
}
.item-table tbody .interval {
	background: #dfe3e3;
	border-left: 1px solid #f0f0f0;
	border-bottom: 1px solid #f0f0f0;
}
.item-table tbody .interval.available {
	background: white;
	border-bottom: 1px solid #dfe3e3;
}
.item-table.kindergartens-schedule tbody tr.scheduled .interval.available {
	background: url(images/green-dot.png) repeat-x 0 50%;
}
.item-table.students-schedule tbody tr.scheduled .interval.available {
	background: url(images/grey-dot.png) repeat-x 0 50%;
}
.item-table tbody .interval.pending {
	background-color: var(--thirdcolor);
	background-image: url(images/hash.png);
	background-repeat: no-repeat;
	background-position: 52% 50%;
}
.item-table tbody .interval.accepted {
	background: var(--thirdcolor);
}

#sticky-table-head {
	position: fixed;
	top: 0;
	width: 100%;
	padding: 20px 0 0;
	background: white;
	box-shadow: 0 0 9px 0px rgba(0,0,0,0.4);
}
#sticky-table-head .item-table {
	width: 940px;
	margin: 0 auto;
}

.top-button-container {
	float: right;
	text-align: right;
	margin-top: 1.8em;
}

.top-event-container {
	width: 100%;
	float: right;
	text-align: right;
	margin-top: -1.4em;
}

.green-button,
.red-button,
.grey-button {
	cursor: pointer;
	font-weight: bold;
	padding: 0.5em 1em;
	border-radius: 5px;
	border-width: 0;
}
.green-button {
	background: var(--primarycolor);
	color: white;
}
.red-button {
	background: #E2001A;
	color: white;
}
.grey-button {
	background: #e9ebeb;
	color: #444;
/*
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), 0 0.7px 4px rgba(0, 0, 0, 0.2);
	border: solid 1px #B0BBBB;
	-webkit-transition-duration: 0.2s;
	background: #e9ebeb;
	color: #444;
	padding: 0.35em 1em !important;
*/
}
a.green-button,
a.red-button,
a.grey-button {
	display: inline-block;
	text-decoration: none;
	padding: 0.46em 1em;
}
a:hover.green-button,
a:hover.red-button {
	color: white;
}
a:hover.grey-button {
	color: #222;
}

#notifications-count {
	display: none;
	font-size: 11px;
	font-weight: normal;
	color: #888;
	background: white;
	padding: 2px 4px 2px;
	border-radius: 5px;
	-moz-border-radius: 5px;
	margin-left: 0.2em;
	vertical-align: text-top;
}

.top-button-container input,
.top-button-container a
 {
	margin-left: 0.25em;
}
h1 a,
h2 a {
	color: #999;
	font-size: 13px;
}
h1 a:hover,
h2 a:hover {
	color: var(--primarycolor);
}
h1 a .ui-icon,
h2 a .ui-icon {
	display: inline-block;
	margin-right: 1px;
	vertical-align: text-bottom;
	background-image: url(images/ui-icons_888888_256x240.png);
}
a.roster-excel {
	display: inline-block;
	padding: 0 0 0 21px;
	background: url(images/print.png) 0 1px no-repeat;
}
h1 a.roster-excel {
	position: relative;
	top: -3px;
	margin-left: 0.75em;
}
a.masquerade {
	display: inline-block;
	padding: 0 0 0 18px;
	background: url(images/login.png) 0 2px no-repeat;
}
h1 a.masquerade {
	position: relative;
	top: -2px;
	margin-left: 0.75em;
}
a.new-event {
	display: inline-block;
	padding: 0 0 0 19px;
	background: url(images/plus.png) 0 0 no-repeat;
}
h1 a.new-event {
	position: relative;
	top: -2px;
	margin-left: 0.75em;
}
.no-margin-top {
	margin-top: 0;
}
.template-tags dt {
	font-weight: bold;
}

.progressbar {
    height: 20px;
    background: var(--primarycolor);
}