/* Elemental styling */
body {
	margin: 0;
	background: url('../images/background.gif');
	font-size: 11px;
	font-family: Verdana, Geneva, Arial, sans-serif;
}
a {
	color: #000;
	text-decoration: none;
	font-weight: bold;
	font-size: 10px;
}
a:hover {
	color: #a8aedb;
}
label {
	display: inline-block;
}
.validation-failed {
	border: 3px solid Tomato;
}
/* General classes styling */
.left {
	float: left;
}
.right {
	float: right;
}
.clearer {
	clear: both;
}
.button-link {
	border: none;
	background: transparent;
	cursor: pointer;
	color: #000;
	text-decoration: none;
	font-weight: bold;
	font-size: 10px;
}
.button-link:hover {
	color: #a8aedb;
}
.max-width {
	width: 100%;
}
.notice-message {
	color: #dc0000;
	margin-bottom: 10px;
	font-size: 12px;
}
.margin-bottom {
	margin-bottom: 20px;
}
.hidden {
	display: none;
}
/* Template styling */
.wrapper {
	width: 970px;
	margin: 0 auto;
}
.header .actions-bar {
	height: 40px;
	background-color: #444;
	color: #fff;
	text-align: right;
}
.header .actions-bar * {
	vertical-align: bottom;
}
.header .actions-bar .expire-notice {
	float: left;
    color: #dc0000;
    font-weight: bold;
    margin: 12px 0 0 15px;
}
.header .content-bar {
	background-color: #fff;
}
.header .content-bar > * {
	vertical-align: top;
}
.header .content-bar ul {
	list-style: none;
	float: left;
	width: 250px;
	padding-left: 0;
}
.header .content-bar ul:first-child {
	margin-right: 30px;
	width: 200px;
}
.header .content-bar ul li {
	margin-bottom: 10px;
}
.header .content-bar ul li:last-child {
	margin-bottom: 0;
}
.header .content-bar ul div {
	display: inline-block;
}
.header .logo {
	display: inline-block;
	width: 400px;
	text-align: center;
}
.header .logo img {
	width: 170px;
}
.header .account-info {
	display: inline-block;
	width: 560px;
	height: 30px;
}
.header .account-info li * {
	vertical-align: top;
}
.middle-bar {
	background-color: #444;
	color: #fff;
}
.middle-bar > * {
	vertical-align: middle;
}
.middle-bar .menu-container {
	display: inline-block;
}
.middle-bar ul.menu {
	margin: 0 0 0 5px;
	list-style: none;
	padding: 3px 5px;
}
.middle-bar ul.menu > li {
	display: inline-block;
	position: relative;
	float: left;
}
.middle-bar ul.menu > li > a {
	display: block;
	width: 100px;
	color: #fff;
	line-height: 20px;
	border-right: 1px solid #fff;
	margin-right: 1px;
	font-weight: bold;
	text-align: center;
}
.middle-bar ul.menu > li > a:hover {
	background-color: #49A3FF;
}
.middle-bar ul.menu ul.children {
	display: none;
	position: absolute;
	top: 20px;
	background-color: #EAEBD8;
	color: #2875DE;
	list-style: none;
	padding: 0;
	border: 1px solid #2875DE; 
}
.middle-bar ul.menu ul.children a {
	color: #2875DE;
	display: block;
	width: 100px;
	padding: 5px 10px;
	font-weight: normal;
}
.middle-bar ul.menu ul.children a:hover {
	background-color: #49A3FF;
	color: #fff;
}
.middle-bar ul.menu > li:hover ul.children {
	display: block;
}
.middle-bar .current-date {
	display: inline-block;
	margin-left: 15px;
	line-height: 26px;
}
.content {
	background-color: #fff;
	min-height: 365px;
	padding: 20px 10px;
}
.footer .help-bar {
	background-color: #444;
	color: #fff;
	line-height: 17px;
	padding-left: 15px;
}
.footer .copyright-bar {
	background-color: #fff;
	line-height: 17px;
	padding-left: 15px;
}
/* Form styling */
.input-row {
	margin-bottom: 5px;
}
.pdf-data {
	margin-top: 20px;
}
.buttons-set {
	text-align: center;
}
.button.btn-copy {
	margin-left: 250px;
}
/* Login form */
.login-form {
	text-align: center;
}
.login-form form {
	display: inline-block;
}
.login-form label {
	width: 110px;
}
.login-form input[type="text"], .login-form input[type="password"] {
	width: 140px;
}
/* Overview Page */
.roster-change {
    margin-bottom: 9px;
    padding: 10px;
    text-align: center;
    background-color: tomato;
    color: #fff;
    clear:both;
}
.top-part .filter-form {
	display: inline-block;
	width: 350px;
}
.top-part .filter-form label {
	display: inline-block;
	width: 75px;
}
.top-part .filter-form input[type="text"] {
	width: 175px;
}
.top-part .page-title {
	display: inline-block;
	float: right;
	margin-top: -15px;
}
.top-part .page-title h1 {
	margin: 0;
}
.top-part .page-title .title-sublink {
	margin-top: 10px;
}
.overview-table .data, .data-table {
	border-spacing: 5px;
	border-collapse: collapse;
	font-size: 11px;
	width: 100%;
}
.overview-table .data thead th, .data-table thead th {
	font-size: 10px;
	color: #fff;
	font-weight: bold;
	background-color: #3DBDEA;
	text-align: left;
	padding: 5px;
}
.overview-table.multi .data tbody tr.is-holiday {
	background-color: #23e400;
}
.overview-table.multi .data tbody tr.admin-only {
    background-color: #e2d100;
}
.overview-table .data tbody tr:nth-child(2n+1), .data-table tbody tr:nth-child(2n+1) {
	background-color: #EFF3FB;
	color: #2E3850;
}
.overview-table .data tbody tr:nth-child(2n+0), .data-table tbody tr:nth-child(2n+0) {
	background-color: #fff;
	color: #2E3850;
}
.overview-table .data tbody tr:hover, .overview-table.multi .data tbody tr.is-holiday:hover, .overview-table.multi .data tbody tr.admin-only:hover, .overview-table .data tbody tr:hover a, .data-table:not(.no-hover) tbody tr:hover, .data-table tbody tr:hover a {
	background-color: #49A3FF;
	color: #fff;
}
.overview-table .data tbody tr td, .data-table tbody tr td {
	padding: 5px;
}

.overview-table .data tfoot tr, .data-table tfoot tr {
	background-color: #3DBDEA;
}
.overview-table .data tfoot tr td, .data-table tfoot tr td {
	padding: 5px;
}
.overview-table .data tfoot tr a, .data-table tfoot tr a {
	color: #fff;
}
.overview-table .data tfoot tr a:hover, .data-table tfoot tr a:hover {
	color: #000;
}
.overview-table .data tfoot tr a.selected, .data-table tfoot tr a.selected {
	color: #000;
}
.overview-table .data.schedule-data tfoot tr, .data-table tfoot tr {
	color: #fff;
}
.overview-table .data.schedule-data tbody tr.late-night {
	background-color: Tomato;
	color: #fff;
}
.overview-table .data.schedule-data tbody td .night-message {
	display: inline-block;
	color: Tomato;
	font-weight: bold;
}
.overview-table .schedule-data {
	margin-bottom: 20px;
}
.overview-table .schedule-data a.exception-link {
	color: #de9b05;
}
.action-buttons {
	margin-top: 10px;
}
/* View Page */
.view-data > * > * {
	vertical-align: top;
}
.view-data .view-row {
	display: flex;
}
.view-data .label {
	flex: 0 0 30%;
	padding: 5px;
	background-color: #DEE8F5;
	font-weight: bold;
}
.view-data .value {
	flex: 1;
	padding: 5px;
	overflow: hidden;
	min-height: 13px;
}
.view-data .view-row:nth-child(2n+1) .value {
	background-color: #fff;
}
.view-data .view-row:nth-child(2n+0) .value {
	background-color: #EFF3FB;
}
.view-data .view-row {
	clear: left;
}
.view-data .view-row:hover > div {
	background-color: #49A3FF!important;
	color: #fff!important;
}
.action-links {
	clear: left;
	padding-top: 10px;
}
/* Edit Page */
/* temp */
.edit-form.schedule-form {
	display: inline-block;
	width: 50%;
}
.calculate-distance {
	float: right;
	width: 45%;
	height: 500px;
}
/* end temp */
.edit-form * {
	vertical-align: top;
}
.edit-form .edit-row {
	display: flex;
}
.edit-form .edit-row > label {
	flex: 0 0 30%;
	padding: 5px;
	background-color: #DEE8F5;
	font-weight: bold;
}
.edit-form .input-entry {
	flex: 1;
	padding: 5px;
	overflow: hidden;
	background-color: #3dbdea;
	min-height: 21px;
	color: #fff;
}
.edit-form .input-entry input[type="text"], .edit-form .input-entry input[type="password"], .edit-form .input-entry select {
	width: 100%;
}
.edit-form .input-entry textarea {
	width: 100%;
	height: 100px;
}
.edit-form .edit-row:hover > label {
	background-color: #49A3FF;
	color: #fff;
}
.edit-form .edit-row .input-entry label.checkbox-label {
	line-height: 17px;
}
/* Overviews */
.calendar-part {
	margin-bottom: 25px;
}
.calendar-part .calendar-item {
	display: inline-block;
	width: 300px;
}
.calendar-part .calendar-item label {
	display: block;
	margin-bottom: 10px;
}
.calendar-part .display-options {
    margin-top: 20px;
}
.result-overview .result-title, .result-overview .result-customers, .result-overview .result-employee_type {
	margin-bottom: 10px;
}
.selectors-top {
	margin-bottom: 20px;
}
.selectors-top * {
	vertical-align: top;
}
.selectors-top .calendar-part {
	display: inline-block;
}
.selectors-top .calendar-part .calendar-item {
	width: 230px;
}
.selectors-top .selector-part {
	display: inline-block;
}
.selectors-top .selector-item label {
	width: 140px;
}
.selectors-top .selector-entry {
	display: inline-block;
}
.result-part .result-export {
	margin-top: 20px;
}
.remove-row {
	display: none;
}
/* PDF generator */
input.small-input, select.small-input, .edit-form .input-entry input.small-input {
	width: 50px;
}
input.micro-input, select.micro-input {
	width: 25px;
}
/* Timetable */
.timetable-container .object-part {
	margin-bottom: 15px;
}
.timetable-container .new-part-container {
	margin-bottom: 40px;
}
.timetable-container .new-part-container .table-container {
	margin-top:  20px;
}
.timetable-container .schedule-information {
	margin-bottom: 20px;
}
.timetable-container .schedule-information .row-entry {
	margin-bottom: 5px;
}
.timetable-container .schedule-information label {
	font-weight: bold;
	display: inline-block;
	width: 150px;
}
.timetable-container .left-side {
	float: left;
	width: 30%;
}
.timetable-container .right-side {
	float: left;
	width: 70%;
	position: relative;
	overflow-x: scroll;
}
.timetable-container .table-overview:after {
	content: '';
	display: block;
	clear: both;
}
.timetable-container .timetable-table .hours-spend {
	background-color: #ffa8a8;
}
.timetable-container .timetable-table tbody td:nth-child(2), .timetable-container .timetable-table tbody td:nth-child(3) {
	min-width: 75px!important;
}
.timetable-container #timetable-table-left tbody td:last-child {
	border-right: 2px solid #797979;
}
.timetable-container #timetable-table-right tbody td {
    min-width: 100px!important;
}
.timetable-container #timetable-table-right tbody td:not(:first-child) {
	border-left: 1px solid #797979;
}
.timetable-container .timetable-table thead th:not(:first-child), .timetable-container #timetable-table-right thead th, .timetable-container .timetable-table tbody td:not(:first-child) {
	text-align: center;
	cursor: default;
}
.timetable-container .timetable-table tbody tr.open-shifts {
	background-color: #66d86f;
	font-weight: bold;
}
.timetable-container .timetable-table tbody td:not(:first-child) {
	position: relative;
 	padding: 10px 5px;
}
.timetable-container .timetable-table tbody td .drag-item {
	width: 103px;
	height: 20px;
	line-height: 20px;
	padding-right: 5px;
}
.timetable-container .timetable-table tbody td .drag-item.history-item {
    background-color: #3DBDEA!important;
    color: #fff;
}
.timetable-container .timetable-table tbody td .drag-item.schedule-locked {
	background-color: #ffa8a8;
}
.timetable-container .timetable-table tbody td .drag-item .lock-schedule {
    vertical-align: bottom;
}
.timetable-container .timetable-table tbody td .drag-item .hover-init {
	position: relative;
}
.timetable-container .timetable-table tbody td .object-tooltip {
	display: none;
	position: absolute;
	left: 0;
    top: -5px;
    color: #000;
    background-color: #fff;
    padding: 5px;
    border: 1px solid #000;
    border-radius: 10px;
    z-index: 3;
    cursor: default;
    white-space: nowrap;
}
.timetable-container .timetable-table tbody td:not(.ui-state-hover) .drag-item .hover-init:hover:not(.ui-draggable-dragging) .object-tooltip {
	display: block;
}
.timetable-container .timetable-table thead .active-date {
	color: #f3db31;
}
.timetable-container .timetable-table tbody .selected-schedule {
	background-color: #f3db31;
}
.timetable-container .employee-adder {
	margin-top: 20px;
}
.timetable-container .kilometeric-information .title {
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 5px;
}
.timetable-container .table-overview {
	padding-top: 10px;
	position: relative;
}
.timetable-container .table-overview #table-loader {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 9;
}
.timetable-container .employee-info .remove-employee {
    color: #000;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: calc(50% - 5px);
}
.timetable-container .employee-info .remove-employee:hover {
    color: #f00;
}
.timetable-container td.employee-info {
    position: relative!important;
    padding-right: 15px!important;
}
/* Percentage settings */
.holiday-picker #datepicker {
    margin-bottom: 25px;
    margin-top: 25px;
}
.holiday-picker .ui-datepicker-calendar .ui-state-highlight td.ui-state-default {
	border-color: #3dbdea;
}
.holiday-picker #datepicker .ui-datepicker-calendar td.ui-state-highlight {
	border-color: #3dbdea;
	background: none;
}
.holiday-picker .ui-datepicker-calendar .ui-state-active {
	background: none;
	border: 1px solid #c5c5c5;
	color: #454545;
}
.holiday-picker .ui-datepicker-today .ui-state-default {
	border: 1px solid #c5c5c5;
    background: #f6f6f6;
    font-weight: normal;
    color: #454545;
}
/* popup generator */
.popup-container {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
.popup-content {
    width: 500px;
    background: #fff;
    height: auto;
    margin: 0 auto;
    z-index: 9;
    position: relative;
    padding: 10px;
    border-radius: 5px;
    top: 100px;
}
.popup-content:after {
	display: block;
	content: '';
	clear: both;
}
.popup-content .thumbnail {
	float: right;
}
.popup-content .view-row {
    padding-right: 100px;
    margin-bottom: 5px;
}
.popup-content .view-row .label {
    display: inline-block;
    font-weight: bold;
}
.popup-content .view-row .label:after {
    content: ':';
}
.popup-content .view-row .value {
    display: inline-block;
}

.popup-content .view-row:last-child {
    margin-bottom: 0;
}
.popup-content .attributes {
    margin-bottom: 15px;
}
.popup-content .button-set {
	margin-top: 15px;
	float: right;
}
h2 {
    margin-top: 0;
}

.popup-background {
	position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
}