/* html tags */

html,body {
	padding: 0;
	margin: 0;
	font-family: 'Inter', sans-serif;
	line-height: 1.8em;
}

body,table {
	font-size: 10pt;
	line-height: 13pt;
}

table {
	empty-cells: show;
}



/* general layout */

.master_body {
	background-color: #e9eff6;
}

.master_body_simple {
	background-color: #ffffff;
	padding: 2em;
}

.master_mobile_nav {
	display: none !important;
}

.master_sticky {
	position: sticky;
	top: 4.5rem;
}

.master_sticky2 {
	position: sticky;
	top: 4.5rem;
}

.master_top {
	padding: 0;
	margin: 0;
	color: #ffffff;
	background-color: #007dc1;
	box-sizing: border-box;
	height: 4.5rem;
	position: fixed;
	left: 0;
	padding-left: 20rem;
	right: 0;
	top: 0;
	z-index: 9999;
}

.master_top_holder {
	display: flex;
	font-size: 1.4em;
}

.master_top_left {
	flex: 1;
	display: flex;
	justify-content: left;
}

.master_top_right {
	flex: 2;
	display: flex;
	justify-content: right;
}

.master_top_icon {
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
}

.master_top_left .master_top_icon {
	padding: 1em;
	padding-left: 0;
	padding-right: 0;
	margin-right: 2em;
}

.master_top_right .master_top_icon {
	padding: 1em;
	padding-left: 0;
	padding-right: 0;
	margin-left: 2em;
}

.master_top_label {
	display: block;
	font-size: 0.75em;
	padding-left: 0.5em;
}

.master_sidebar {
	position: fixed;
	top: 0;
	left: 2rem;
	bottom: 0;
	width: 18rem;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	box-sizing: border-box;
	padding: 1rem;
	padding-top: 2rem;
	background-color: #ffffff;
	z-index: 99999;
	overflow-y: auto;
}

.master_sidebar_logo img {
	display: block;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
}

.master_sidebar_calendar {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.master_sidebar_buttons {
	text-align: center;
	margin-bottom: 1em;
}

.master_sidebar_links {
}

.master_sidebar_header {
	background-color: #fafafa;
	border: 1px solid #cccccc;
	text-align: center;
	padding: 0.25rem;
	border-radius: 0.25rem;
	margin-top: 2rem;
	margin-bottom: 0.5rem;
	display: block;
	color: #666666;
}

.master_sidebar_links a {
	display: flex;
	justify-content: left;
	align-items: center;
	color: #444444;
	padding: 0.5rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

.master_sidebar_links a span {
	padding-right: 0.5rem;
}

.master_sidebar_links a:hover {
	background-color: #fafafa;
	color: #000000;
}

.master_content {
	margin-left: 20rem;
	padding-top: 6.5rem;
	padding-bottom: 3rem;
	min-height: calc(100% - 3rem);
	box-sizing: border-box;
}

.master_footer {
	background-color: #e9eff6;
	color: #666666;
	margin-left: 18rem;
	height: 2.5rem;
	box-sizing: border-box;
}

.master_center {
	margin-left: auto;
	margin-right: auto;
	max-width: 85rem;
	box-sizing: border-box;
	padding-left: 3rem;
	padding-right: 3rem;
}

.master_footer_holder {
	clear: both;
	overflow: auto;
	border-top: 1px solid #cccccc;
}

.master_footer_left {
	float: left;
	font-size: 0.8em;
	padding: 0;
	padding-top: 1em;
	padding-bottom: 1em;
}

.master_footer_left a {
	display: inline-block;
	padding-right: 2em;
}

.master_footer_right {
	float: right;
	font-size: 0.8em;
	padding: 0;
	padding-top: 1em;
	padding-bottom: 1em;
}



/* admin sidenav */

.sidenav_holder {
	clear: both;
	margin-top: 1em;
}

.sidenav_side {
	float: left;
	width: 20%;
	display: block;
	overflow: auto;
	clear: both;
	border-radius: 0.25em;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	margin-bottom: 2em;
	padding: 1em;
	color: #000000;
	background-color: #ffffff;
	box-sizing: border-box;
}

.sidenav_main {
	float: right;
	width: 73%;
}

.sidenav_menu {
	display: none !important;
}

.sidenav_block {
	margin-bottom: 2em;
}

.sidenav_block strong {
	display: block;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	background: #007dc1;
	background: linear-gradient(180deg, rgba(0, 125, 193, 1) 0%, rgba(0, 120, 188, 1) 50%, rgba(0, 110, 178, 1) 51%, rgba(0, 120, 188, 1) 100%);
	color: #ffffff;
	border-radius: 0.25em;
	text-align: center;
}

.sidenav_block a {
	display: block;
	border-bottom: 1px solid #cccccc;
	padding: 0.25em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	color: #444444;
}

.sidenav_block a:hover {
	cursor: pointer;
	background-color: #fafafa;
	color: #000000;
}



/* driver notification */

.driver_job_notification {
	z-index: 999999;
	position: fixed;
	top: 6.5rem;
	left: 19rem;
	right: 1rem;
	height: calc(100vh - 12rem);
	padding: 0.5rem;
	border-radius: 0.25em;
	border: 2px solid #ffffff;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
	color: #000000;
	background-color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow-y: auto;
}

.driver_job_notification_spacer {
	height: 4rem;
}



/* driver order status */

.driver_status_bar {
	padding: 1rem;
	box-sizing: border-box;
	margin-top: 4rem;
	border-radius: 0.25rem;
	background-color: #007dc1;
	color: #ffffff;
}

.driver_status_holder {
	display: flex;
	gap: 1em;
	overflow-y: auto;
}

.driver_status_button_active {
	-moz-box-shadow:inset 0px 1px 0px 0px #54a36a;
	-webkit-box-shadow:inset 0px 1px 0px 0px #54a36a;
	box-shadow:inset 0px 1px 0px 0px #54a36a;
	background:linear-gradient(to bottom, #007d27 5%, #006127 100%) !important;
}

.driver_status_button_active:hover {
	-moz-box-shadow:inset 0px 1px 0px 0px #54a36a;
	-webkit-box-shadow:inset 0px 1px 0px 0px #54a36a;
	box-shadow:inset 0px 1px 0px 0px #54a36a;
	background:linear-gradient(to bottom, #007d27 5%, #006127 100%) !important;
}



/* taxi -- order overview */

.order_row {
	display: flex;
	width: 100%;
	align-items: flex-start;
	justify-content: flex-start;
	box-sizing: border-box;
	gap: 0.5rem;
}

.order_row > div {
	box-sizing: border-box;
	padding: 0.5rem;
	padding-top: 1rem;
	padding-bottom: 1rem;
	height: 100%;
}

.order_col1 {
	flex: 0 0 10%;
	min-width: 10%;
	max-width: 10%;
	font-size: 0.9em;
}

.order_col2 {
	flex: 1 1 auto;
	min-width: 0;
}

.order_col3 {
	flex: 0 0 20%;
	min-width: 20%;
	max-width: 20%;
	font-size: 0.9em;
}

.order_col3 .order_button {
	display: inline-flex;
	width: auto !important;
}

.order_col4 {
	flex: 0 0 15%;
	min-width: 15%;
	max-width: 15%;
}

.order_route {
	font-size: 13pt;
	padding-bottom: 6pt;
	line-height: 16pt;
	font-weight: bold;
}

.order_details_box {
	margin-top: 9pt;
	padding: 3pt;
	background-color: #f2f2f2;
	border: 1px solid #dddddd;
	color: #444444;
}

.order_details_small {
	font-size: 0.75em;
	padding-top: 0.5em;
	color: #444444;
}

.order_details_side {
}

.order_details_side2 {
}

.order_details_side2 .order_status {
	display: none;
}

.order_partner_logo {
	margin-top: 2em;
	margin-bottom: 1em;
	height: 6em;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: left center;
}

.order_partner_logo img {
	width: 90%;
}

.order_dottedline {
	border-top: 1px dashed #666666;
}

.order_solidline {
	border-top: 2px solid #000000;
}

.order_ignore {
	text-decoration: line-through;
	color: #999999 !important;
}

.order_ignore .order_details_box {
	color: #999999 !important;
}

.order_ignore .order_status {
	color: #999999 !important;
}

.order_time {
	font-size: 1.8em;
}

.order_date {
	font-size: 1.1em;
	padding-top: 0.5em;
	font-weight: bold;
	margin-bottom: 1em;
}

.order_date_different {
	padding-top: 0.5em;
	font-weight: bold;
	color: #ff0000;
}

.order_id {
}

.order_othercompany {
	color: #ff0000;
	margin-bottom: 1em;
}

.order_finance_info {
	font-size: 0.9em;
	background-color: #cceecc;
	margin-top: 0.5em;
	padding: 0.5em;
	border-radius: 0.25em;
	text-align: center;
}

.order_status {
	display: block;
	width: 90%;
	border: 1px solid #cccccc;
	text-align: center;
	padding: 0.25em;
	padding-top: 1em;
	padding-bottom: 1em;
	margin-bottom: 0.5em;
}

.order_status_assign {
	cursor: pointer;
	background: linear-gradient(to bottom,  rgba(249,252,247,1) 0%,rgba(245,249,240,1) 100%);
}

.order_status_assign:hover {
	cursor: pointer;
	border: 1px solid #888888;
	background-color: #fafafa;
}

.order_button {
	width: 90%;
	margin-bottom: 0.5em;
}

.order_driver_car {
	display: block;
	margin-bottom: 2em;
}

.order_opt_icons img {
	display: inline-block;
	width: 4em;
}

.order_filter_categories label {
	margin-bottom: 0 !important;
	padding-top: 0.25em !important;
	padding-bottom: 0.25em !important;
	font-size: 0.8em;
}



/* taxi -- order overview (partners) */

.order_topheader {
	display: flex;
	gap: 1em;
	align-items: center;
	margin-bottom: 2em;
}

.order_topheader > div {
	flex: 1;
	display: flex;
	gap: 1em;
	align-items: center;
	justify-content: flex-end;
}

.order_topheader > div > img {
	height: 2.5em;
	cursor: pointer;
}



/* taxi order editing -- drivers */

.order_driver_holder {
	margin-bottom: 2em;
}

.order_driver_title {
	color: #ffffff;
	margin: 0;
	padding: 0.5em;
	font-size: 1.4em;
	background: #B8B8B8;
	background: linear-gradient(180deg, rgba(184, 184, 184, 1) 0%, rgba(179, 179, 179, 1) 50%, rgba(169, 169, 169, 1) 51%, rgba(169, 169, 169, 1) 100%);
}

.order_driver_head {
	display: flex;
	background-color: #aaaaaa;
	border: 1px solid #aaaaaa;
	border-top: 0;
	gap: 1px;
	box-sizing: border-box;
}

.order_driver_head > [class*="order_driver_col"] {
	font-weight: bold;
	background-color: #cccccc;
	padding: 0.5em;
	text-align: left;
	vertical-align: top;
	box-sizing: border-box;
}

.order_driver_head small {
	font-weight: normal;
}

.order_driver_user {
	background-color: #666666;
	border: 1px solid #aaaaaa;
	color: #ffffff;
	border-top: 0;
	padding: 0.5em;
	padding-top: 1em;
	padding-bottom: 1em;
	box-sizing: border-box;
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 4em;
}

.order_driver_user > div {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	align-items: center;
	gap: 1em;
}

.order_driver_user > div:last-of-type {
	justify-content: flex-end;
	flex-grow: 1;
	display: flex;
	gap: 0.5em;
}

.order_driver_user .xev_select {
	font-size: 0.9em;
}

.order_driver_name {
	font-weight: bold;
}

.order_driver_collapse_open {
	display: none;
}

.order_driver_collapse_close {
}

.order_driver_cols {
	display: flex;
	background-color: #aaaaaa;
	border: 1px solid #aaaaaa;
	border-top: 0;
	gap: 1px;
	box-sizing: border-box;
}

.order_driver_cols select,
.order_driver_cols input {
	font-size: 0.9em;
}

.order_driver_cols > [class*="order_driver_col"] {
	background-color: #f4f4f4;
	border: 1px solid #ffffff;
	padding: 0.5em;
	box-sizing: border-box;
}

.order_driver_col-label {
	display: none;
}

.order_driver_col_space {
	flex-grow: 1;
}

.order_driver_col_price {
	flex: 0 0 auto;
	width: 8em;
}

.order_driver_col_comm {
	flex: 0 0 auto;
	width: 8em;
}

.order_driver_col_takings {
	flex: 0 0 auto;
	width: 10em;
}

.order_driver_col_tip {
	flex: 0 0 auto;
	width: 7em;
}

.order_driver_col_expenses {
	flex: 0 0 auto;
	width: 7em;
}

.order_driver_col_status {
	flex: 0 0 auto;
	width: 12em;
}

.order_driver_col_wait {
	flex: 0 0 auto;
	width: 5em;
}

.order_driver_col_paxdata {
	flex: 0 0 auto;
	width: 4em;
}

.order_driver_col_buttons {
	flex: 0 0 auto;
	width: 3.5em;
}

.order_driver_separator {
	display: flex;
	background-color: #aaaaaa;
	border: 1px solid #aaaaaa;
	border-top: 0;
	gap: 1px;
	box-sizing: border-box;
}

.order_driver_separator > div {
	flex: 1;
	height: 1em;
	background-color: #f4f4f4;
	border: 1px solid #ffffff;
}

.order_driver_buttonbar {
	margin-top: 2em;
	margin-bottom: 4em;
}



/* taxi order editing -- locations */

.order_loc_holder {
	display: flex;
	flex-direction: column;
	gap: 1em;
}

.order_loc_entry {
	margin-bottom: 1em;
}

.order_loc_add {
	margin-bottom: 1em;
}

.order_loc_label {
	font-weight: bold;
	padding-bottom: 0.5em;
}

.order_loc_cols {
	display: flex;
	gap: 0.5em;
}

.order_loc_field1 {
	flex: 2;
}

.order_loc_field2 {
	flex: 2;
}

.order_loc_field3 {
	flex: 1;
}

.order_loc_controls {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	gap: 0.5em;
}

.order_loc_pickup {
	flex-grow: 0;
	flex-shrink: 0;
	padding: 0.25rem;
	border: 1px solid #cccccc;
	border-radius: 0.25rem;
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #fafafa;
	gap: 0.25em;
}

.order_loc_buttons {
	flex-grow: 0;
	flex-shrink: 0;
	display: flex;
	gap: 0.5em;
}

.order_loc_button {
	padding: 0.25rem;
	border-radius: 0.25rem;
	cursor: pointer;
	display: flex;
	justify-content: center;
	align-items: center;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #e9e9e9) );
	background:-moz-linear-gradient( center top, #f9f9f9 5%, #e9e9e9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#e9e9e9');
	background-color:#f9f9f9;
	border:1px solid #aaaaaa;
	color:#666666;
	text-shadow:0px 0px 2px #ffffff;
}

.order_loc_button:hover {
	color:#666666;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #e9e9e9), color-stop(1, #f9f9f9) );
	background:-moz-linear-gradient( center top, #e9e9e9 5%, #f9f9f9 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#e9e9e9', endColorstr='#f9f9f9');
	background-color:#e9e9e9;
}

.order_loc_remove {
	cursor: pointer;
	color:#ffffff;
	box-shadow:inset 0px 1px 0px 0px #f5978e;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f24537), color-stop(1, #c62d1f) );
	background:-moz-linear-gradient( center top, #f24537 5%, #c62d1f 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f24537', endColorstr='#c62d1f');
	background-color:#f24537;
	border:1px solid #d02718;
	text-shadow:0px 0px 2px #810e05;
}

.order_loc_remove:hover {
	color:#ffffff;
	background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #c62d1f), color-stop(1, #f24537) );
	background:-moz-linear-gradient( center top, #c62d1f 5%, #f24537 100% );
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#c62d1f', endColorstr='#f24537');
	background-color:#c62d1f;
}



/* taxi order copying */

.order_series_date {
	display: flex;
	gap: 1em;
	align-items: center;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
	border-top: 1px solid #cccccc;
}

.order_series_date:last-of-type {
	border-bottom: 1px solid #cccccc;
}

.order_series_date > div {
	flex: 0 0 auto;
	width: max-content;
	display: flex;
	align-items: center;
}

.order_series_row {
	display: flex;
	align-items: stretch;
	gap: 1em;
	border-radius: 0.25em;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	padding: 1em;
	color: #000000;
	background-color: #ffffff;
	box-sizing: border-box;
}

.order_series_col {
	flex: 0 0 auto;
	width: max-content;
	display: flex;
	align-items: center;
}



/* reminders (overview) */

.reminder_holder {
	border-top: 1px solid #666666;
	padding-left: 1em;
	padding-bottom: 1em;
	clear: both;
	overflow: auto;
}

.reminder_unread {
	border-top: 1px solid #666666;
	color: #666666;
}

.reminder_users {
	margin-top: 1em;
	margin-bottom: 1em;
}

.reminder_user {
	display: inline-block;
	padding: 0.5em;
	margin-bottom: 0.5em;
	margin-right: 0.5em;
	border: 1px solid #cccccc;
	background-color: #fafafa;
	border-radius: 0.25em;
}

.reminder_user_confirmed {
	color: #00aa00;
}

.reminder_user_unconfirmed {
	color: #ff0000;
}

.reminder_user_neutral {
}

.reminder_confirm_button {
	color: #000000;
	text-decoration: underline;
	cursor: pointer;
	float: right;
	margin-left: 1em;
}

.reminder_confirm_button:hover {
	color: #666666;
}

.reminder_buttons {
	float: right;
	display: flex;
	gap: 0.5em;
}



/* admin dashboard */

.admin_shortcuts {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 2em;
	margin-bottom: 4em;
}

.admin_shortcuts > a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	border-radius: 0.25em;
	box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.3);
	padding: 1em;
	background-color: #ffffff;
	text-align: center;
	font-size: 0.8em;
}

.admin_shortcuts > a > span {
	display: block;
	margin-bottom: 0.25em;
}



/* log */

.log_entry {
	margin-bottom: 2em;
}

.log_header {
	margin-bottom: 0.25em;
	display: flex;
	gap: 0.5em;
	font-size: 0.9em;
}

.log_header > span:first-of-type {
	flex: 1;
	font-weight: bold;
}

.log_header > span:last-of-type {
	flex: 1;
	text-align: right;
	color: #666666;
}

.log_body {
	margin-bottom: 0 !important;
	padding: 1em !important;
}

.log_detail,
.log_changes {
	background-color: #eeeeee;
	border: 1px solid #cccccc;
	padding: 0.5em;
	border-radius: 0.25em;
	margin-top: 0.5em;
	font-size: 0.9em;
}

.log_changes {
	margin-top: 1em;
	margin-bottom: 1em;
}

.log_changes > span {
	display: block;
	padding-bottom: 0.5em;
}

.log_change {
	display: flex;
	gap: 0.5em;
	padding: 0.5em;
	padding-left: 0.25em;
	padding-right: 0.25em;
	border-top: 1px solid #cccccc;
	background-color: #fafafa;
}

.log_change:last-of-type {
	border-bottom: 1px solid #cccccc;
}

.log_change_name {
	flex: 3;
	font-weight: bold;
}

.log_change_old {
	flex: 5;
	text-decoration: line-through;
	color: #ff0000;
}

.log_change_new {
	flex: 5;
	color: #00aa00;
}


.log_footer {
	margin-top: 0.5em;
	color: #444444;
	font-size: 0.9em;
	display: flex;
	flex-direction: row;
	gap: 1em;
}

.log_footer > div {
	flex: 1;
}