* { font-family: Poppins, sans-serif; }
/* html, body { height: 100%; font-size: 14px; }
body { display: flex; margin: 0; overflow: hidden; } */

.mmd-c-body { display: flex; margin: 0; overflow: hidden; height: 100%; font-size: 14px;}


/* # Login Page */
#id-login-form {
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 0 14px rgba(0, 0, 0, .1);
}

#id-login-title {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

#id-login-form label {
	display: block;
	margin-bottom: 2rem;
}
#id-login-form label span { color: #8D969A; }
#id-login-form label input:not([type="checkbox"]):not([type="range"]),
#id-login-form label select {
	width: 100%;
	height: 40px;
	margin-top: .25rem;
}

#id-login-error {
	margin-block: 2rem 0;
	padding-top: 2rem;
	border-top: 1px solid #F3F3F4;
	text-align: center;
	color: #CD432D;
}
#id-login-error span { display: inline-block; transform: translateY(-50%); }

#id-login-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

#id-login-form #id-remember-me {
	display: flex;
	align-items: center;
	gap: .25rem;
	margin: 0;
	cursor: pointer;
}

/* # Navbar # */
.mmd-c-navbar {
	display: flex;
    flex-direction: column;
	width: 17%;
	padding: 1rem;
	background-color: #999;
	background: radial-gradient(200% 60% at 120% 65%, #005E57 21.00%, #003C38 36.00%, #00221F 51.00%, #000F0D 67.00%, #000303 83.00%, #000 100%);
	box-sizing: border-box;
	transition: width .3s;
}
.mmd-c-navbar.c-menu-closed { width: calc(30px + 2rem); }
.tabulator-cell > img { width: 85%; }

#id-nav-logo-container {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	gap: 1rem;
	height: 35px;
	margin-bottom: 1.75rem;
	white-space: nowrap;
}
nav.c-menu-closed #id-nav-logo-container { justify-content: center; }

#id-nav-logo-container > img { width: 30px; }
#id-nav-logo-container > h1 { margin: 0; color: white; }
#id-nav-logo-container > #id-toggle-menu { display: flex; margin-left: auto; transition: transform .2s; }
#id-nav-logo-container > #id-toggle-menu > img { width: 15px; }

.mmd-c-navbar.c-menu-closed #id-nav-logo-container > img,
.mmd-c-navbar.c-menu-closed #id-nav-logo-container > h1 { display: none; }
.mmd-c-navbar.c-menu-closed #id-nav-logo-container > #id-toggle-menu { margin: 0; transform: scaleX(-1); }

#id-nav-items {
	display: flex;
	flex-direction: column;
	width: calc(17vw - 2rem); /* should be the width of <nav> less the inline padding */
	height: 100%;
}
#id-nav-items > a, #id-nav-items > span {
	display: flex;
	align-items: center;
	gap: 1rem; /* should be equal to gap of `#id-nav-logo-container` */
	height: 30px;
	margin-bottom: 1.5rem;
	color: #ADB4CC;
	text-decoration: none;
}
#id-nav-items > a[disabled] {
	opacity: .5;
	pointer-events: none;
}
#id-nav-items > a:hover, #id-nav-items > a.c-active-nav-item { color: #30E49D; }
#id-nav-items > a > img, #id-nav-items > span > img {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	padding: 5px;
	box-sizing: content-box;
}
#id-nav-items > a > img.c-highlighted-icon, #id-nav-items > span > img.c-highlighted-icon,
#id-nav-items > a:hover > img:not(.c-highlighted-icon),
#id-nav-items > a.c-active-nav-item > img:not(.c-highlighted-icon) { display: none; }
#id-nav-items > a:hover > img.c-highlighted-icon,
#id-nav-items > a.c-active-nav-item > img.c-highlighted-icon {
	display: inline-block;
	background: #313247;
	border-radius: 50%;
}

#id-nav-items-separator { width: 100%; margin-bottom: 1.5rem; text-align: center; color: #ADB4CC; font-size: 200%; cursor: default; transition: .2s width; }
nav.c-menu-closed #id-nav-items-separator { width: 30px; }

#id-nav-user-box {
	position: relative;
	display: flex;
	align-items: center;
	gap: .75rem;
	height: 60px;
	padding: 1rem;
	padding-right: 0;
	background: rgba(0, 0, 0, 0.20);
	border: 1px solid #313247;
	border-radius: 4px;
	box-sizing: border-box;
}
nav.c-menu-closed #id-nav-user-box { padding-left: 0; }
#id-nav-user-image {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 30px;
	height: 30px;
	background-color: #30E49D;
	border-radius: 50%;
	font-weight: 500;
}
#id-nav-user-title {
	flex: 1;
	line-height: 1;
	color: #ADB4CC;
	white-space: nowrap;
}
nav.c-menu-closed #id-nav-user-image, nav.c-menu-closed #id-nav-user-title { display: none; }
#id-nav-user-box-handle { width: 2rem; text-align: center; }
#id-nav-user-box-menu {
	display: none;
	position: absolute;
	bottom: 0;
	left: calc(100% + .5rem);
	padding: .5rem 1rem;
	background-color: #E8EAED;
	border: 1px solid #D4D4D4;
	border-radius: 4px;
	font-size: .9rem;
	white-space: nowrap;
	box-shadow: 0 0 14px rgba(0, 0, 0, .3);
	z-index: 1;
}
#id-nav-user-box-menu > *:not(:last-child) { margin-bottom: .5rem; padding-bottom: .5rem; border-bottom: 1px solid #D4D4D4; }
#id-nav-user-box-menu a { font-size: .85rem; color: #00AF6C; text-decoration: none; }

/* # Form Fields # */
.c-file-upload input[type="file"] { display: none; }

input:not([type="checkbox"]):not([type="radio"]):not([type="range"]), select {
	height: 32px;
	padding: 5px 8px;
	border: 1px solid #E8EAED;
	border-radius: 5px;
	box-sizing: border-box;
	transition: border-color .2s;
}
input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):hover, select:hover { border-color: #D4D4D4; }
input.c-loading, select.c-loading {
    padding-left: 30px;
	background: white url('../assets/loading-grey.svg') left / contain no-repeat;
}

input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 200px;
	height: 3px;
	margin: 0;
	background-color: #E8EAED;
	border-radius: 1px;
	transition: background-color .2s;
}
input[type="range"]:hover { background-color: #D4D4D4; }
input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 13px;
	height: 13px;
	background-color: #D1EEE6;
	border: 2px solid #1AA884;
	border-radius: 3px;
	text-align: center;
	transform: rotate(45deg);
	box-sizing: content-box;
	cursor: pointer;
	transition: box-shadow .2s;
}
input[type="range"]:hover::-webkit-slider-thumb { box-shadow: 0 0 8px rgba(0, 0, 0, .1); }

input[type="number"] { width: 120px; }
input[type="range"] + input[type="number"] { margin-left: .5rem; width: 60px; }

label.c-checkbox {
	display: inline-flex;
	align-items: center;
}
label.c-checkbox > input { display: none; }
label.c-checkbox > input ~ span { /* the track of the switch */
	flex: 0 0 auto;
	position: relative;
	display: inline-flex;
	align-items: center;
	width: 35px;
	height: 5px;
	background-color: rgba(63, 186, 139, 0.30);
	border-radius: 1px;
	cursor: pointer;
	transition: background .2s;
}
label.c-checkbox > input ~ span > span, .c-checkbox-dummy { /* the thumb of the switch */
	display: flex;
	align-items: center;
	justify-content: center;
	width: 13px;
	height: 13px;
	background-color: #D1EEE6;
	border: 2px solid #1AA884;
	border-radius: 3px;
	text-align: center;
	transform: rotate(45deg);
	transition: all .3s;
}
label.c-checkbox > input ~ span > span { position: absolute; right: 0; }
label.c-checkbox > input:not(:checked) ~ span  { background-color: #D4D4D4; }
label.c-checkbox > input:not(:checked) ~ span > span, .c-checkbox-dummy:not(.c-checkbox-dummy-checked) {
	right: calc(100% - 17px);
	background-color: white;
	border-color: #D6D6D6;
}
label.c-checkbox > input ~ span > span b, .c-checkbox-dummy b {
	display: inline-block;
	font-size: .75rem;
	color: #454549;
	text-decoration: none;
	transform: rotate(-45deg);
}

.c-radio-selector {
	display: flex;
	border: 1px solid #E8EAED;
	border-radius: 6px;
	box-shadow: 0 0 8px rgba(0, 0, 0, .1);
	overflow: hidden;
}
.c-radio-selector input { display: none; }
.c-radio-selector label {
	min-width: 50px;
	padding: .5rem .75rem;
	text-align: center;
	cursor: pointer;
}
.c-radio-selector label:hover { background-color: #E8EAED; }
.c-radio-selector input:checked + label {
	background-color: #00AF6C;
	color: white;
	font-weight: 500;
	box-shadow: 0 0 8px rgba(0, 0, 0, .3);
}



.c-form-field-row {
	align-self: start;
	display: flex;
	align-items: center;
	gap: .5rem;
	max-width: 100%;
	margin-bottom: 1.5rem;
	transition: opacity .3s;
}
.c-form-field-row > span:first-child { flex-shrink: 0; }



.c-action-button {
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	padding: .75rem 1.5rem;
	background: white no-repeat center;
	border: none;
	border-radius: 5px;
	font-size: .9rem;
	box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
	cursor: pointer;
	transition: all .2s;
}
.c-action-button[disabled] { opacity: .5; cursor: not-allowed; }
.c-action-button:not([disabled]):hover { background-color: #f4f4f4; }
.c-action-button.c-success-button { background-color: #00AF6C; color: white; }
.c-action-button.c-success-button:not([disabled], .c-loading):hover { background-color: #00975d; }
.c-action-button.c-danger-button { background-color: #CD432D; color: white; }
.c-action-button.c-danger-button:not([disabled], .c-loading):hover { background-color: #bc3723; }
.c-action-button.c-info-button { background-color: dodgerblue; color: white; }
.c-action-button.c-info-button:not([disabled], .c-loading):hover { background-color: #117be6; }
.c-action-button.c-loading {
	background-image: url('../assets/loading.svg');
	color: transparent;
	cursor: wait;
}

#id-main-container { flex: 1; min-width: 0; }
#id-main-container section {
	display: none;
	flex-direction: column;
	width: 100%;
	height: 100%;
}
#id-main-container section.c-active-section { display: flex; }

#id-main-container section.c-section-with-sidebar { flex-direction: row; }
#id-main-container section.c-section-with-sidebar > .c-section-main-container {
	flex: 1;
	display: flex;
	flex-direction: column;
	min-width: 0;
}
#id-main-container section.c-section-with-sidebar > .c-section-sidebar {
	width: 25%;
	border-left: 1px solid #E8EAED;
}

#id-main-container section header {
	position: sticky;
	top: 0;
	display: flex;
	align-items: center;
	height: 65px;
	padding: 1rem 1.5rem;
	background: white;
	border-bottom: 1px solid #E8EAED;
	box-shadow: 0 0 15px 5px rgba(0, 0, 0, .1);
	box-sizing: border-box;
	z-index: 1;
}
#id-main-container section header > img { width: 20px; height: 20px; padding: 7px; margin-right: 1rem; background: #191A23; border-radius: 50%; }
#id-main-container section header > h3 { margin: 0; font-weight: 600; }
#id-main-container section header > h3 span { color: #8C909A; font-weight: 500; }
#id-main-container section header > .c-header-actions { display: flex; align-items: center; margin-left: auto; }
#id-main-container section header > .c-header-actions a { color: #00AF6C; text-decoration: none; }
#id-main-container section header > .c-header-actions a:hover span:not(:first-child) { text-decoration: underline; }
#id-main-container section header > .c-header-actions > *:not(:last-child) { margin-right: 1rem; padding-right: 1rem; border-right: 1px solid #E8EAED; }

#id-main-container section .c-section-content { 
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 2rem;
	overflow: auto;
}
#id-main-container section .c-section-content.c-section-content-expanded { padding: 0; }
#id-main-container section .c-section-content.c-section-content-expanded > .tabulator { border: 0; }

.c-link-item-with-icon { display: inline-flex; align-items: center; color: #00AF6C; text-decoration: none; }
.c-link-item-with-icon > :first-child { margin-right: .5rem; }
.c-link-item-with-icon > img { width: 20px; }

.c-add-item-button span:first-child, .c-remove-item-button span {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	border: 2px solid;
	line-height: 16px;
	color: #00AF6C;
	font-weight: bold;
}
.c-remove-item-button span { color: #CD432D; }


/* # Popup Form */
.c-popup-form {
	position: fixed;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	background: rgba(30, 30, 30, .7);
	backdrop-filter: blur(1px);
	z-index: 999;
	transition: all .2s;
}
.c-popup-form:not(.c-popup-form-active) { opacity: 0; z-index: -1; }
.c-popup-form > form {
	display: flex;
	flex-direction: column;
	width: 600px;
	max-width: 95%;
	max-height: 90vh;
	background: white;
	border-radius: 10px;
	box-shadow: 0px 0px 50px 0px rgba(44, 44, 48, 0.50);
	overflow: hidden;
	transition: transform .1s;
}
.c-popup-form:not(.c-popup-form-active) > form { transform: scale(0) rotateY(180deg); }
.c-popup-form > form > .c-popup-form-header {
	position: relative;
	display: flex;
	align-items: center;
	padding: 1rem 2rem;
	background: #191A23;
	color: white;
	box-shadow: 0px 0px 50px 0px rgba(44, 44, 48, 0.50);
	z-index: 1;
}
.c-popup-form > form > .c-popup-form-header > img {
	display: flex;
	width: 20px;
	height: 20px;
	padding: 7px;
	margin-right: 1rem;
	background: #303139;
	border-radius: 50%;
}
.c-popup-form > form > .c-popup-form-header > h3 { align-self: center; margin: 0; font-weight: 500; }
.c-popup-form > form > .c-popup-form-header > .c-popup-form-header-checkbox { display: flex; gap: 1rem; margin-left: auto; color: #ADB4CC; }
.c-popup-form > form > .c-popup-form-content {
	display: flex;
	flex-direction: column;
	max-height: 75vh;
	padding: 1.5rem 2.5rem 0;
	background: white;
	overflow: auto;
}
.c-popup-form > form > .c-popup-form-content h2:empty { display: none; }
.c-popup-form > form > .c-popup-form-content .c-line-separator { margin-block: 3rem; }
.c-popup-form > form > .c-popup-form-content .c-line-separator span { min-width: 25%; padding-right: 2rem; font-weight: 600; white-space: nowrap; }
.c-popup-form > form > .c-popup-form-content .c-popup-form-field { position: relative; display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.c-popup-form > form > .c-popup-form-content .c-popup-form-field label:not(.c-checkbox) { width: 35%; color: #5D6576; }
.c-popup-form > form > .c-popup-form-content .c-popup-form-field input, .c-popup-form > form > .c-popup-form-content .c-popup-form-field select { flex: 1; }
.c-popup-form > form > .c-popup-form-content .c-popup-form-field.c-has-suffix input { padding-right: 3.5rem; }
.c-popup-form > form > .c-popup-form-content .c-popup-form-field .c-popup-form-field-suffix { position: absolute; top: 50%; right: .75rem; transform: translateY(-50%); }
.c-popup-form > form > .c-popup-form-actions { display: flex; justify-content: end; gap: 1.25rem; padding: 1.5rem; }
.c-popup-form-label { width: 35%; color: #5D6576; }

.c-progress-soc-bar { width: 100%; border: 1px solid #000000; border-radius: 12.5px; overflow: hidden; height: 25px; position: relative; }
.c-progress-status { background: #30E49D; height: 100%; position: absolute; z-index: 1; display: flex; align-items: center; }
.c-progress-charge-to { background: #EAE8E8; height: 100%; position: absolute; display: flex; align-items: center; }
.c-progress-soc-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
	z-index: 2;
}

/* # Tabulator Styles */
.tabulator .tabulator-header { border-color: #E8EAED; color: #8C909A; font-weight: normal; text-transform: uppercase; }
.tabulator .tabulator-header .tabulator-col, .tabulator .tabulator-row .tabulator-cell { padding: .75rem 1rem; border-right: none; }
.tabulator .tabulator-header .tabulator-col { padding-block: 1rem; background: white; }
.tabulator .tabulator-header .tabulator-col .tabulator-col-content { padding: 0; }
.tabulator .tabulator-header .tabulator-col .tabulator-header-filter { text-align: left; }
.tabulator-row { background-color: #FAFAFA; border-bottom: 1px solid #E8EAED; color: #6D6D7A }
.tabulator-row.tabulator-row-even { background-color: white; }
.tabulator-row.tabulator-selectable:hover, .tabulator-row.tabulator-selected { background-color: #E8EAED; }


/* # EV Models Management */
.c-tabs-container { display: flex; border-bottom: 3px double #E8EAED; }
.c-tabs-container button { flex: 1; padding-block: .75rem; background-color: #FAFAFA; border: none; cursor: pointer; }
.c-tabs-container button:not(:last-child) { border-right: 1px solid #E8EAED; }
.c-tabs-container button.c-active-tab, .c-tabs-container button:hover { background-color: #F4F4F4; }
.c-tabs-container button.c-active-tab { font-weight: 600; }


/* # System Connections */
#id-connection-systems .c-systems-div {
	display: flex;
	flex-direction: column;
	align-items: center;
	border: 1px solid #8C909A;
	border-radius: 5px;
	padding: 5px;
	margin: 15px;
	cursor: pointer;
	justify-content: space-evenly;
	height: 125px;
}

.c-choose-vehicle-form-system {
	display: flex;
	align-items: center;
	cursor: pointer; 
	margin: 5px; 
	border: 1px solid #8C909A; 
	padding: 10px; 
	border-radius: 5px;
}
.c-choose-vehicle-form-system img { height: 100px; border-radius: 0.5rem; border: 2px solid #8C909A; }
.c-choose-vehicle-form-system p { margin: 0.5rem;}

#id-connection-systems .c-active-choose-system-fms, #id-connection-systems .c-active-choose-vehicle-fms {
	border-bottom: 5px solid #30E49D;
}


/* # Vehicles & Route Data # */
#id-total-vehicles-to-replace { display: flex; }
#id-total-vehicles-to-replace > div { background: linear-gradient(to right, grey calc(1.5rem + 15px), white 15px 85px, grey 85px); background-size: 100% 2px; background-position: center 10px; background-repeat: no-repeat; }
#id-total-vehicles-to-replace > div:not(:first-child) { padding-left: 1.5rem; }
#id-total-vehicles-to-replace > div:first-child { background-image: linear-gradient(to right, white 75%, grey 75%); }
#id-total-vehicles-to-replace > div:last-child:not(:first-child) { background-image: linear-gradient(to right, grey calc(1.5rem + 15px), white 15px) }
#id-total-vehicles-to-replace > div:first-child:last-child { background: none; }
#id-total-vehicles-to-replace > div > label/* , #id-total-vehicles-to-replace > div > div */ {
	display: flex;
	justify-content: center;
	width: 2px;
	height: 60px;
	margin: auto;
	background: linear-gradient(to bottom, white 20px, grey 20px);
	font-weight: 500;
}
#id-total-vehicles-to-replace > div > label:not(:first-child) { height: 40px; background: linear-gradient(to bottom, white 5px, grey 5px); }
#id-total-vehicles-to-replace > div input {
	width: 80px;
	margin-top: .25rem;
	padding-left: 1.5rem;
	text-align: center;
}


.c-info-circle {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 11px;
	height: 11px;
	margin-left: .25rem;
	padding: 3px;
	border: 1px solid;
	border-radius: 50%;
	color: #00AF6C;
	cursor: help;
}


#id-calculate-button {
	/* align-self: end; */
	/* margin-top: auto; */
	/* font-size: 1.5rem; */
	text-transform: uppercase;
}
details:not([open]) + #id-calculate-button { margin-top: 3rem; }

.c-line-separator {
	display: flex;
	align-items: center;
	width: 100%;
	height: 1px;
	margin-block: 4.5rem 3rem;
	background: #E8EAED;
	font-size: 1.5rem;
}
.c-line-separator:not(summary):first-of-type { margin-top: 1.5rem; }

.c-line-separator span {
	display: inline-flex;
	align-items: center;
	padding-right: 1rem;
	background: white;
}
summary.c-line-separator span { display: list-item; cursor: pointer; }
summary.c-line-separator span:hover { text-decoration: underline; }
.c-line-separator span img { height: 25px; margin-right: 10px; }

.c-line-separator-subtitle {
	margin-block: -2rem 1.5rem;
	color: grey;
	font-size: 1.15rem;
	font-weight: 300;
}


.c-details-as-link summary, a.c-link-as-button {
	list-style: none;
	color: #00AF6C;
	font-size: .8rem;
	text-decoration: underline;
	text-transform: uppercase;
	cursor: pointer;
}


/* # Results Overview # */
#id-result-buttons > span { display: flex; }
#id-result-buttons > span button { border-top-right-radius: 0; border-bottom-right-radius: 0; }
#id-result-buttons > span button + a {
    display: flex;
    width: 20px;
    padding: 0 5px;
    background: white;
	border: 1px solid #00AF6C;
    border-radius: 0 5px 5px 0;
    border-left-color: transparent;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.2);
}
#id-result-buttons > span button:not(.c-success-button) + a { border-color: transparent; }
#id-result-buttons > span button + a:hover { background: #CD432D; border-color: #CD432D; }
#id-result-buttons > span button.c-success-button + a:hover { border-left-color: black; }
#id-result-buttons > span button + a > img:not(.c-highlighted-icon),
#id-result-buttons > span button + a:hover > img.c-highlighted-icon { display: none; }
#id-result-buttons > span button + a:hover > img:not(.c-highlighted-icon) { display: inline-block; }


.c-card {
	border-radius: 10px;
	font-weight: 300;
    box-shadow: 0px 0px 14px 0px rgba(0, 0, 0, 0.2);
}
.c-card-header {
	display: flex;
    align-items: center;
    justify-content: center;
	padding: 1rem 2rem;
	background: linear-gradient(to right, #30353b 0%, #1c504f  51%, #263343  100%);
	border-radius: 10px 10px 0 0;
	color: white;
	font-size: 16px;
	white-space: nowrap;
	overflow: hidden;
}
.c-card-content {
	padding: 1.5rem 2.5rem;
	text-align: center;
}

#id-co2-emission-ice-card {
	color: #CD432D;
	border: solid 2px;
    border-radius: 0 0 10px 10px;
    border-top: 0;
}


.c-chart-container {
	position: relative;
	width: 75%;
	padding-top: 37.5%; /* maintain an aspect-ratio of 2:1 */
	margin: 0 auto 3rem;
}
.c-chart-container.c-smaller-container {
	width: 50%;
	padding-top: 25%;
}
.c-chart-container canvas {
	position: absolute;
	top: 0;
}


.c-line-separator.c-section-separator {
	justify-content: center;
	margin-bottom: 4.5rem;
	font-size: 3rem;
}
.c-line-separator.c-section-separator span { padding-left: 1rem; }
.c-line-separator.c-section-separator span img { height: 50px; }


.c-year-summary-buttons {
	position: sticky;
	top: calc(-2rem - 1px);
	display: flex;
	width: calc(100% + 4rem);
	background-color: white;
	border-top: 1px solid #E8EAED;
	text-align: center;
	font-size: 16px;
	box-shadow: 0 0 16px rgba(0, 0, 0, .1);
	overflow: hidden;
	transform: translateX(-2rem);
	z-index: 2;
}
.c-year-summary-buttons > button {
	width: 80px;
	height: 50px;
	transition: background .3s;
}
.c-year-summary-buttons > button.c-button-active {
	background-color: #00AF6C;
	color: white;
	font-size: 1.3rem;
	transition: all .2s;
}

.c-multiple-info-blocks-container, .c-multiple-info-blocks-vertical {
	display: flex; 
	justify-content: space-between;
}
.c-multiple-info-blocks-vertical {
	flex-direction: column;
	gap: 1.5rem;
}
.c-multiple-info-blocks-vertical > .c-info-block-container { flex: 1; }
.c-multiple-info-blocks-container > div { width: 32%; }
.c-info-block-container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.c-info-block-container > h3 {
	margin-block: 0 0.25rem;
	text-align: center;
	font-weight: 500;
	text-decoration: underline;
}
.c-info-block {
	flex: 1;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 1rem;
	border: 1px solid lightgrey;
	border-radius: 8px;
	box-shadow: 2px 2px lightgrey;
}

.c-info-row { display: flex; justify-content: space-between; align-items: center; gap: 2rem; }
.c-info-row:not(:last-child) { margin-bottom: .25rem; }
.c-info-row b { flex-shrink: 0; font-weight: 600; }



#id-export-buttons button { display: flex; padding: .75rem; }
#id-export-buttons button:not(:hover) { background: none; box-shadow: none; }
#id-export-buttons button img{ height: 30px; }



.c-buttons-container {
	display: flex;
	gap: 1rem;
}

.c-year-info-list {
	display: flex;
	align-items: start;
	flex-direction: column;
}
	
.c-cards-container {
	display: flex;
	justify-content: space-between;
	align-content: center;
	gap: 3rem 2.5%;
    flex-wrap: wrap;
	margin-bottom: 1.5rem;
}


#id-daily-activity-date-chooser {
	position: sticky;
	top: calc(49px - 2rem);
	display: flex;
	align-items: center;
	gap: 1rem;
	width: calc(100% + 4rem);
	margin-top: 6rem;
	margin-left: -2rem;
	padding: 1rem 2rem;
	background: white;
	border-bottom: 1px solid #E8EAED;
	box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
	z-index: 1;
}


#id-vehicle-drives-map-container {
	flex: 1;
	position: sticky;
	top: calc(50px + 60px - 2rem + 2rem);
	height: 75vh;
	border-radius: 8px;
	box-shadow: 0 0 8px rgba(0, 0, 0, .1);
}
#id-vehicle-drives-map {
	width: 100%;
	height: 100%;
	border-radius: 8px;
}


/* # Results Visualization # */
.c-multiple-charts-container { display: flex; justify-content: space-evenly; gap: 2%; flex-wrap: wrap; }
.c-multiple-charts-container > div { width: 49%; margin: auto; text-align: center; }
.c-multiple-charts-container > div canvas { margin-bottom: 3rem;  }
.c-multiple-charts-container > .c-row-separator { width: 100%; }
.c-multiple-charts-container > .c-row-separator-print-only { display: none; }


/* # Charging Routine # */
.c-charging-point-row { width: 100%; break-inside: avoid; }
.c-charging-point-row > div { display: flex; }

.c-charging-point-row > .c-charging-point-times > div { display: flex; justify-content: space-between; }
.c-charging-point-row > .c-charging-point-times > div > span { display: flex; justify-content: center; width: 0; font-size: .75rem; }

.c-charging-point-row > .c-charging-point-boxes { 
	margin-bottom: 1.5rem;
	background: rgb(0 175 108 / 85%);
	box-shadow: 0 0 8px rgb(0 0 0 / 10%);
	overflow: hidden;
}
.c-charging-point-row > .c-charging-point-boxes:last-child { 
	margin-bottom: 3rem;
}
.c-charging-point-row > .c-charging-point-boxes > div {
	display: flex;
	justify-content: center;
	gap: 1rem;
	padding: .5rem;
	background: white;
	border: 3px solid;
	box-sizing: border-box;
	cursor: help;
}
.c-charging-point-row > .c-charging-point-boxes > div span {
	flex-shrink: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 12px;
	height: 12px;
	padding: 5px;
	border: 1px solid;
	border-radius: 50%;
	color: grey;
}
/* .c-charging-point-row > .c-charging-point-boxes > div > div { display: inline-flex; align-items: center; gap: .5rem; text-align: center; } */
/* .c-charging-point-row > .c-charging-point-boxes > div > div img { height: 20px; } */
/* .c-charging-point-row > .c-charging-point-boxes > div > div span { text-decoration: underline dashed 1px; cursor: help; } */
 



/* # Heatmaps # */
#id-heatmaps-legend-container {
	position: absolute;
	top: 0;
	right: 0;
}
#id-heatmaps-legend-container h3 {
	margin: 0;
	text-align: center;
	font-weight: 500;
}
#id-heatmaps-legend-container > div {
	display: flex;
	align-items: center;
	gap: .5rem;
	margin-top: .75rem;
	color: #00AF6C;
}
#id-heatmaps-legend-container > div img { width: 20px; }

.c-route-info-block {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: .5rem;
}
.c-route-info-block > img { width: 20px; }

.c-heatmap-input-images-container {
	display: flex;
	flex-wrap: wrap;
	width: 100%;
}

.c-heatmap-img {
	position: relative;
	width: 925px;
	height: 487px;
    border: none;
	border-radius: 8px;
    box-shadow: 0 0 8px rgb(0, 0, 0, 0.2);
}

.c-heatmap-cs-layer {
	position: absolute; 
	top: 0; 
	left: 0;
	width: 925px;
	height: 487px;
}

.c-most-common-points-heatmap-cs-icon {
	display: none;
}

.c-heatmap-first-cs-icon {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 235px; 
	left: 495px;
}

.c-heatmap-second-cs-icon {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 145px;
    left: 675px;
}


.c-heatmap-source-icon {
	width: 30px;
	height: 30px;
	position: absolute;
	top: 155px; 
	left: 460px;
}

.c-heatmap-img-zoomed {
	position: relative; 
	display: block;
	width:100px; 
	height: 100px;
	background: #fff none top left no-repeat; 
}

.c-heatmap-first-cs-icon-zoomed {
	position: absolute;
	top: 225px; 
	left: 560px;
	width: 30px;
	height: 30px;
}



/* ################# */
/* # MEDIA QUERIES # */
/* ################# */

@media screen and (max-width: 1550px) {
	.mmd-c-navbar { width: 18%; }
	#id-nav-items { width: calc(18vw - 2rem); /* should be the width of <nav> less the inline padding */ }
	#id-fleet-selector-nav-item > span { display: none; }
}

@media print {
	@page {
		size: A3 landscape;
		margin: 0;
	}

	/* html { height: auto; } */
	.mmd-c-body { overflow: auto; }

	.mmd-c-navbar { display: none; }
	/* #id-main-container section { height: auto; } */
	#id-main-container section header { break-before: page; }
	#id-main-container section header > .c-header-actions { display: none; }
	#id-main-container section .c-section-content { overflow: visible; }

	.c-print-full-page,
	.c-line-separator.c-section-separator {
		height: 100vh;
		margin: 0;
		background: none;
	}
	.c-line-separator.c-section-separator { font-size: 5rem; }
	.c-line-separator { break-before: page; }

	.c-year-summary-buttons { width: 100%; border-radius: 0 0 10px 10px; box-shadow: none; transform: none; }
	.c-year-summary-buttons button { font-size: 2rem; }

	.tabulator .tabulator-tableholder { overflow: visible; }
	.tabulator-table { width: 100%; }
	.tabulator-headers, .tabulator-row { display: flex; }
	.tabulator-headers > div, .tabulator-row > div { flex: 1; }

	#id-yearly-summary, #id-export-buttons, #id-daily-activity-date-chooser { display: none; }

	/* #id-main-container #id-heatmap-cs-offering { display: flex; } */
	
	.c-multiple-charts-container {
		justify-content: center;
		min-height: 100vh;
	}
	.c-multiple-charts-container > .c-row-separator, .c-multiple-charts-container > .c-row-separator-print-only { display: block; width: 100%; height: 0; }
}

#id-detailed-billing-table {
    width: 100%;
    height: 100%;
    overflow-x: auto;  
    overflow-y: hidden;  
    white-space: nowrap; 
}

.c-date-container-column{
	display: flex;
}

.c-aggregation-btn-container{
	display: flex;
	justify-content: center;
	gap: 20px;
}

.c-chosen-img-border {
    border: 3px solid #00975d;
    border-radius: 25px;
}