/*SmartGunite CSS*/
html, body {
	min-height: 100%;
}

body {
	/*font-family: 'Lato';*/
	background-size: cover;
	background-position: 50% 0;
	/*background-color: #e6e6e6;*/
}

select.input-sm {
	height: 28px;
	margin-left: 2px;
	margin-right: 2px;
	padding: 5px 12px;
}

div.dataTables_processing {
	background-color: rgba(0, 0, 0, 0.56);
	width: 100% !important;
	left: inherit !important;
	margin-left: -15px !important;
	margin-right: inherit !important;
	margin-top: inherit !important;
	margin-bottom: inherit !important;
	top: 0 !important;
	height: 100%;
	padding-top: 60px !important;
	color: white;
	font-size: 20px;
}

thead, tfoot {
	background-color: whitesmoke;
}

.alert {
	margin-bottom: 7px;
	display: flex;
	justify-content: space-between;
}

.btn-default {
	background-color: #FFFFFF;
}

.pagination > li > a {
	border-radius: 0 !important;
	padding: 8px 10px !important;
	color: #323232;
	background-color: #ffffff;
}

.pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus {
	background-color: inherit;
}

.btn-sm {
	padding: 5px 12px;
}

.btn-xs {
	margin-left: 2px;
	margin-right: 2px;
	padding: 2px 6px;
}

.label {
	padding: 0.3em .6em .35em;
}

.panel {
	background-color: rgba(255, 255, 255, 0.85);
}

.navbar-brand {
	margin-top: 2px;
}

td {
	vertical-align: middle !important;
}

.status-label {
	text-align: center;
}

#status-text {
	font-size: 112%;
	margin-top: 0;
	margin-bottom: 0;
}

.fa-btn {
	margin-right: 6px;
}

tr.odd {
	background-color: white;
}

tr.even {
	background-color: whitesmoke;
}

span.panel-title {
	vertical-align: middle;
	font-size: 20px;
}

span.profile-type {
	vertical-align: middle;
}

.profile-type-container {
	margin-top: 3px;
}

.yadcf-filter-wrapper {
	width: 100% !important;
}

.yadcf-filter-wrapper-inner {
	border: none !important;
}

.close {
	margin-top: -3px;
	margin-left: 9px;
}

.filter-reset {
	margin: 1px 0px 0px 0px;
}

.select2-drop, .select2-choices {
	font-size: 11px;
}

.raw-data .select2-drop, .raw-data .select2-choices {
	font-size: 9px;
}

#jobs_filter, #trucks_filter, #contacts_filter, #data_filter,
#job-history_filter, #issue-history_filter {
	text-align: left;
}

.button-wrapper, .dt-body-right, .btn-cancel {
	text-align: right;
}

#date_range, #date_range-2 {
	text-align: left !important;
}

#jobs-table_filter {
	text-align: left;
}

#ui-datepicker-div {
	z-index: 10 !important;
}

.dataTables_wrapper {
	margin-bottom: 2px;
}

.dataTables_length {
	margin-top: 6px;
	text-align: center;
}

.yadcf-filter-range-date {
	border-radius: 0;
	padding: 8px 12px;
	width: inherit;
	font-size: 12px;
	line-height: 1.5;
	color: #555;
	background-color: #fff;
	border: 1px solid #ccc;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
	-webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
	-o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.yadcf-filter-range-date:focus {
	border-color: #66afe9;
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, .6);
}

.yadcf-filter-reset-button {
	padding: 0px 5px 1px 5px;
	margin-left: 2px;
	font-size: 12px;
	line-height: 1.5;
	border-radius: 3px;
	color: #333;
	background-color: #fff;
	border-color: #ccc;
}

.yadcf-filter-reset-button:hover {
	color: #333;
	background-color: #e6e6e6;
	border-color: #adadad;
}

.yadcf-filter-range-date-seperator {
	margin-left: 5px !important;
	margin-right: 5px !important;
}

.date-select {
	height: 28px;
}

.inuse, .ui-slider-range .inuse, .yadcf-filter-range-number-slider .inuse {
	background-color: #F3F9FF !important;
}

.select2-container-multi, .select2-default, .select2-input {
	width: 100% !important;
}

.btn-delete, .btn-assign {
	margin-left: 4px;
	display: inline;
}

.btn-delete-only {
	margin-left: 0px;
	display: inline;
}

.btn-row, .truck-image {
	margin-bottom: 13px;
}

.action-btns {
	text-align: center;
	min-width: 55px;
}

.action-btn {
	text-align: center;
	min-width: 42px;
	margin-left: 4px
}

table.dataTable thead > tr > th.sorting_asc, table.dataTable thead > tr > th.sorting_desc, table.dataTable thead > tr > th.sorting,
table.dataTable thead > tr > td.sorting_asc, table.dataTable thead > tr > td.sorting_desc, table.dataTable thead > tr > td.sorting {
	padding-right: 25px;
}

.time {
	min-width: 45px;
}

.select2-results .select2-result-label {
	padding-left: 2px;
}

#map-block {
	height: 450px;
	padding: 0 0;
}

#map-area-block {
	height: 700px;
	padding: 0 0;
}

.tire-issue {
	margin-top: 20px;
}

.info-box {
	margin-left: 20px;
}

.no-bottom-margin {
	margin-bottom: 0px !important;
}

.panel-label {
	text-align: right;
	margin-top: -3px;
	margin-bottom: 0px;
	margin-left: 5px;
	font-size: 20px;
	min-width: 106px;
}

.ratio-graph {
	height: 150px;
}

 .sensor-graph {
	 width: 100%;
	 height: 500px;
 }

#stepline-chart {
	width: 100%;
	height: 500px;
	margin-bottom: -50px;
}

.sum-graph {
	height: 100px;
}

.pie-graph {
	height: 150px;
}

#total-graph {
	height: 100px;
}

.pie-container {
	margin-left: -10px;
}

.chart-table {
	margin-top: 50px;
}

.chart {
	margin-bottom: 50px;
}

.chart-label {
	vertical-align: bottom;
	margin-right: 10px;
	width: 28px;
	height: 21px;
}

.chart-label-text {
	font-size: 14px;
	color: #000000;
}

.truck-status {
	text-align: right;
	font-size: 18px;
	margin-top: -1px;
	margin-left: -30px;
}

.truck-title {
	font-size: 20px;
}

.truck-info {
	margin-top: 10px;
	margin-bottom: 7px;
}

.header-small-hr {
	margin-top: 3px;
	margin-bottom: 3px;
}

.header-tiny-hr {
	margin-top: 0px;
	margin-bottom: 3px;
}

.divider {
	margin-top: 8px;
	margin-bottom: 10px;
}

.divider-medium {
	margin-top: 18px;
	margin-bottom: 8px;
}

.divider-small {
	margin-top: 0px;
	margin-bottom: 11px;
}

.divider-big {
	margin-top: 24px;
	margin-bottom: 30px;
}

.header-bold-hr {
	margin-top: 3px;
	margin-bottom: 8px;
}

.black {
	border: 0;
	border-top: 1px solid #333;
}

.grey {
	border: 0;
	border-top: 2px solid #ddd;
}

#status-block {
	padding: 0px 0px 10px 0px;
}

.section-titles {
	font-size: 24px;
	margin-top: 10px;
	margin-bottom: 5px;
}

.cost-btn {
	margin-top: 6px;
}

.cost-field-wrapper {
	width: 75px;
	display: inline-block;
	margin-right: 10px;
}

.cost-field {
	width: 100% !important;
}

.cost-form, .table-small {
	display: none;
}

.cost-group {
	min-width: 109px;
}

#details-block {
	overflow: auto;
}

.vertical-align {
	position: relative;
	top: 50%;
	transform: translateY(-50%);
}

.spin-icon {
	font-size: 20px;
	color: darkgray;
}

.light-spin-icon {
	font-size: 20px;
	color: #ededed;
}

.table {
	margin-bottom: 0px;
}

.job-item {
	padding-top: 7px;
}

.job-info {
	margin-left: -10px;
}

.deleted-table {
	color: lightgrey;
}

.panel-table {
	padding-bottom: 5px;
}

.navbar-nav > li > a {
	padding-top: 15px;
	padding-bottom: 13px;
}

.new-contact-btn {
	margin-left: -20px;
}

.new-viewer {
	text-align: left;
}

.dropdown-menu {
	min-width: inherit;
}

table.dataTable.dtr-inline.collapsed > tbody > tr > td:first-child:before, table.dataTable.dtr-inline.collapsed > tbody > tr > th:first-child:before {
	text-indent: 4px;
	line-height: 19px;
	font-size: 16px;
	border-radius: 17px;
	height: 17px;
	width: 17px;
	top: 6px;
}

.pie-graph, .amcharts-main-div, .amcharts-chart-div, svg:not(:root) {
	overflow: visible !important;
}

.btn-single {
	margin-top: 10px;
}

.truck-actions {
	margin-top: 5px;
}

.go-btn {
	margin-top: 26px;
}

#data-table {
	font-size: 11px;
}

.yadcf-filter {
	width: inherit;
}

.truck-layer, .color-layer {
	/*position:absolute;*/
}

.truck-layer {
	/*z-index: 20;*/
	width: 100%;
}

.color-layer {
	width: 100%;
	z-index: 10;
	display: flex;
	justify-content: flex-end;
}

.truck-image {
	/*position: relative;*/
}

.back-tire {
	height: 15%;
}

.front-tire {
	height: 25%;
}

#eng {
	height: 50%;
}

.space {
	height: 40%;
}

.cp {
	width: 14.1%;
	height: 100%;
}

.danger-bg {
	background-color: rgba(217, 83, 79, 0.8) !important;
}

.warning-bg {
	background-color: rgba(240, 196, 71, 0.8) !important;
}

.good-bg {
	background-color: rgba(92, 184, 92, 0.8) !important;
}

.message-new {
	background-color: rgb(254, 255, 144) !important;
}

.date-form {
	margin-bottom: 17px;
}

.raw-date-form {
	margin-bottom: 17px;
}

.table-header {
	vertical-align: middle !important;
	text-align: center;
}

#map-loading-overlay {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	bottom: 450px;
	height: 450px;
	margin-bottom: -450px;
}

.full-width-loading-dump-class {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	z-index: 1;
	height: 207px;
	margin: -15px -15px -187px -15px;
}

.full-width-loading-class {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	z-index: 1;
	height: 280px;
	margin: -15px -15px -265px -15px;
}

.loading-dump-class {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	z-index: 1;
	height: 207px;
	margin: -15px -15px -188px -15px;
}

.loading-class {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	z-index: 1;
	height: 280px;
	margin: -15px -15px -266px -15px;
}

.sensor-loading-class {
	position: relative;
	background-color: rgba(0, 0, 0, 0.60);
	z-index: 1;
	height: 530px;
	margin: -15px -15px -515px -15px;
}

#reassign-text {
	margin-bottom: 10px;
}

.location-error {
	margin-top: 8px;
	margin-bottom: 3px;
	text-align: center;
}

#map-info {
	position: relative;
	top: 422px;
	left: 7px;
	z-index: 100;
	padding: 10px;
	background: rgba(43, 41, 41, 0.73);
	color: white;
	width: max-content;
	margin-top: -21px;
	margin-bottom: -20px;
}

.msg-icon {
	padding-top: 5px !important;
	padding-bottom: 5px !important;
}

.msg-icon-mobile {
	position: relative;
	float: right;
	padding: 5px 12px 5px 0px;
	display: none;
}

.msg-date {
	text-align: right !important;
	font-size: small;
}

span.red-circle-mobile {
	background: #ff3143;
	border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;
	color: #ffffff;
	display: none;
	font-weight: bold;
	line-height: 1.6em;
	margin-right: 15px;
	text-align: center;
	width: 1.7em;
	position: absolute;
	left: 30px;
	font-size: smaller;
}

span.red-circle {
	background: #ff3143;
	border-radius: 0.8em;
	-moz-border-radius: 0.8em;
	-webkit-border-radius: 0.8em;
	color: #ffffff;
	display: none;
	font-weight: bold;
	line-height: 1.6em;
	margin-right: 15px;
	text-align: center;
	width: 1.7em;
	position: absolute;
	left: 45px;
	font-size: smaller;
}

.delete-menu {
	position: absolute;
	background: white;
	padding: 3px;
	color: #666;
	font-weight: bold;
	border: 1px solid #999;
	font-family: sans-serif;
	font-size: 12px;
	box-shadow: 1px 3px 3px rgba(0, 0, 0, .3);
	margin-top: -10px;
	margin-left: 10px;
	cursor: pointer;
}

.delete-menu:hover {
	background: #eee;
}

.geometry-label {
	margin-bottom: 0;
	line-height: 1;
}

.geometry-button {
	padding: 5px 5px;
}

/*
*   Below are the browser width specific styles.
*
*/

@media (min-width:1500px) {
	.container {
		width:1400px
	}
}

@media screen and (max-width: 991px) {
	#date_range, #date_range-2, .dt-buttons, .button-wrapper, #jobs_filter, #contacts_filter, #data_filter,
	#trucks_filter, #job-history_filter, #issue-history_filter {
		text-align: center !important;
	}

	.dataTables_info {
		padding-bottom: 5px;
		padding-top: 3px !important;
		text-align: center;
	}

	.dataTables_paginate {
		text-align: center !important;
		margin-top: 4px !important;
	}

	#yadcf-filter-wrapper-date_range, #yadcf-filter-wrapper-date_range-2 {
		margin-bottom: 3px;
		margin-top: 4px;
	}

	.dt-buttons {
		margin-top: 6px;
		margin-bottom: 7px;
	}

	.pie-graph {
		height: 200px;
	}

	.pie-container {
		width: 26% !important;
		margin-left: 39%;
	}

	.btn-cancel {
		float: right;
	}

	.job-item {
		padding-top: 0px;
		padding-bottom: 5px;
	}

	.divider-big {
		margin-top: 20px;
		margin-bottom: 15px;
	}

	.job-info {
		margin-left: -30px;
		margin-right: -30px;
	}

	.truck-name {
		margin-bottom: 0px;
		margin-top: 6px;
	}

	.divider-medium {
		margin-top: 16px;
		margin-bottom: 8px;
	}

	.control-label {
		text-align: left !important;
	}

	.to-date {
		margin-top: 10px;
	}

	.go-btn {
		margin-top: 14px;
	}

	.date-form {
		margin-bottom: 0px;
	}

	.raw-date-form {
		margin-bottom: 0px;
	}

	.full-width-loading-dump-class {
		position: relative;
		background-color: rgba(0, 0, 0, 0.60);
		z-index: 1;
		height: 402px;
		margin: -15px -15px -387px -15px;
	}

	.full-width-loading-class {
		position: relative;
		background-color: rgba(0, 0, 0, 0.60);
		z-index: 1;
		height: 480px;
		margin: -15px -15px -465px -15px;
	}

	.loading-dump-class {
		position: relative;
		background-color: rgba(0, 0, 0, 0.60);
		z-index: 1;
		height: 402px;
		margin: -15px -15px -388px -15px;
	}

	.loading-class {
		position: relative;
		background-color: rgba(0, 0, 0, 0.60);
		z-index: 1;
		height: 480px;
		margin: -15px -15px -466px -15px;
	}
}

@media screen and (max-width: 767px) {
	.job-item {
		margin-top: -5px;
		margin-bottom: 5px;
	}

	.messages {
		display: none !important;
	}

	.msg-icon-mobile {
		display: inherit;
	}

	.divider-big {
		margin-top: 10px;
	}

	.divider-medium {
		margin-top: 5px;
	}

	.navbar-nav > li > a {
		padding-top: 10px;
		padding-bottom: 10px;
		line-height: 20px;
	}

	.control-label {
		text-align: left !important;
	}

	.new-contact-btn {
		margin-left: 0px;
		margin-top: 10px;
	}

	.truck-actions {
		margin-top: 15px;
	}
}

@media screen and (max-width: 650px) {
	/*.btn-text {*/
	/*display: none;*/
	/*}*/
}

@media screen and (max-width: 600px) {
	.pie-container {
		width: 33% !important;
		margin-left: 37%;
	}
}

@media screen and (max-width: 550px) {
	.pie-container {
		width: 36% !important;
		margin-left: 35%;
	}

	.table-full {
		display: none;
	}

	.table-small {
		display: inline-block;
	}
}

@media screen and (max-width: 500px) {
	.pie-container {
		width: 40% !important;
		margin-left: 32%;
	}
}

@media screen and (max-width: 440px) {
	.yadcf-filter-wrapper-inner {
		white-space: normal;
		width: 90%;
	}

	.dt-buttons {
		display: none;
	}

	.yadcf-filter-range-date-seperator {
		margin-left: 0px !important;
		margin-right: 0px !important;
	}

	.yadcf-filter-range-date {
		width: inherit;
		margin-bottom: 9px;
	}

	.yadcf-filter-reset-button {
		margin-left: -8px;
	}

	#yadcf-filter-wrapper-date_range, #yadcf-filter-wrapper-date_range-2 {
		margin-bottom: 5px;
	}

	.pie-container {
		width: 46% !important;
		margin-left: 29%;
	}

	.truck-title {
		font-size: 14px;
	}

	.truck-status {
		font-size: 13px;
	}

	.section-titles {
		font-size: 19px;
		margin-bottom: 4px;
	}

	span.panel-title {
		font-size: 18px;
	}

	.panel-label {
		margin-top: -1px;
		font-size: 17px;
	}

	.flex-heading {
		display: -webkit-box;
		display: -moz-box;
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		align-content: flex-start;
		align-items: flex-start;
		justify-content: space-between;
	}
}

@media screen and (max-width: 400px) {
	.pie-container {
		width: 51% !important;
		margin-left: 25%;
	}

	.new-viewer {
		margin-left: -12px;
	}
}

@media screen and (max-width: 350px) {
	.pie-container {
		width: 58% !important;
		margin-left: 22%;
	}

	.new-viewer {
		margin-left: -24px;
	}
}

@media screen and (max-width: 320px) {
	.pie-container {
		width: 64% !important;
		margin-left: 18%;
	}
}

.blog-post .blog-post-title {
	font-size: 2.5rem;
	font-weight: 500;
	margin-top: 5px;
}

.blog-post hr {
	margin-top: 15px;
	margin-bottom: 20px;
	border: 0;
	border-top: 1px solid #ababab;
}

.blog-post h2 {
	font-size: 2.3rem;
	font-weight: 400;
}

.blog-post h3 {
	font-size: 1.8rem;
}

/*
 * Blog name and description
 */

.blog-header {
	padding-bottom: 1.25rem;
	margin-bottom: 2rem;
	/* border-bottom: .05rem solid #eee; */
	border: none;
}

.blog-title {
	margin-bottom: 0;
	font-size: 2rem;
	font-weight: normal;
}

.page-title {
	margin-bottom: 4rem;
	font-size: 3.15rem;
	font-weight: normal;
}

.blog-description {
	font-size: 1.1rem;
	color: #999;
}

@media (min-width: 40em) {
	.blog-title {
		font-size: 3.5rem;
	}
}

/*
 * Main column and sidebar layout
 */

/* Sidebar modules for boxing content */
.sidebar-module {
	padding: 1rem;
	/*margin: 0 -1rem 1rem;*/
}

.sidebar-module-inset {
	padding: 1rem;
	background-color: #f5f5f5;
	border-radius: .25rem;
}

.sidebar-module-inset p:last-child,
.sidebar-module-inset ul:last-child,
.sidebar-module-inset ol:last-child {
	margin-bottom: 0;
}

/* Pagination */
.blog-pagination {
	margin-bottom: 5rem;
}

.blog-pagination > .btn {
	border-radius: 2rem;
}

/*
 * Blog posts
 */

.blog-post {
	margin-bottom: 5rem;
}

.blog-post-title {
	margin-bottom: .8rem;
	font-size: 3rem;
}

.blog-post-meta {
	font-size: 1.5rem;
	margin-bottom: 1rem;
	color: #999;
}

.blog-post-meta {
	margin-bottom: 1rem;
	color: #999;
}

.blog-header > .blog-post-meta {
	margin: 1rem 0 0;
	color: #999;
}

/*
 * Footer
 */

.blog-footer {
	padding: 2.5rem 0;
	color: #999;
	text-align: center;
	background-color: #f9f9f9;
	border-top: .05rem solid #e5e5e5;
}

.blog-footer p:last-child {
	margin-bottom: 0;
}

.btn-edit {
	margin: 2rem 0 0;
}

.btn-addnew {
	display: inline;
	position: relative;
	top: -7px;
}

.inline {
	display: inline-block;
	margin-right: 15px;
	/* position: relative; */
}

.link-delete {
	color: #440000;
	text-decoration: underline;
	position: relative;
	top: 7px;
}

.sidebar-meta {
	font-size: 1.3rem;
	line-height: 150%;
	color: #666;
	padding-bottom: 5px;
}

.sidebar-meta > div {
	margin-bottom: 6px;
}

.sidebar-module > .delete {
	display: block;
	float: left;
	text-align: left;
}

.sidebar-module > .publish {
	display: block;
	float: right;
	text-align: right;
}

.sidebar-module hr {
	margin-top: 10px;
	margin-bottom: 10px;
}

.panel.edit-post {
	padding-bottom: 40px;
}

.white-bg {
	padding: 15px 40px 40px;
	margin-bottom: 40px;
	background-color: rgba(255, 255, 255, 1);
}

.post-sidebar {
	padding-left: 30px;
}

.col-sm-4.blog-sidebar {
	margin-top: 25px;
	padding-left: 30px;
}

.blog-sidebar ul {
	line-height: 200%;
}

.resize-y {
	resize: vertical;
}

.blog-main {
	padding-right: 20px;
}

.btn-back {
	float: right;
	margin-top: 30px;
}

textarea.form-control {
	padding: 8px 12px;
}

.form-control {
	padding: 0px 12px;
}

.form-alert.alert {
	display: block;
	font-size: 14px;
	margin-bottom: 15px;
}

.form-alert.alert-success {
	color: #3c763d;
	background-color: #dff0d8;
	border-color: #d6e9c6;
}

.form-alert .alert-link {
	font-weight: 700;
	text-decoration: none;
}

.form-alert .alert-link:hover {
	text-decoration: underline;
}

.form-alert.alert-success .alert-link {
	color: #2b542c;
}

.form-alert.alert-danger .alert-link {
	color: #843534;
}

.form-alert .close {
	margin-top: 1px;
}

.form-alert.alert-warning {
	color: #8a6d3b;
	background-color: #fcf8e3;
	border-color: #faebcc;
}

.form-alert .close:focus, .form-alert .close:hover {
	color: #000;
	text-decoration: none;
	cursor: pointer;
	filter: alpha(opacity=50);
	opacity: .5;
}

.form-alert p {
	margin-bottom: 10px;
}

.form-alert > ul > li {
	margin-bottom: 5px;
}

.permalink {
	margin: 0 0 15px 15px;
	font-size: 12px;
	color: #777;
}

.form-alert.alert-danger {
	color: #a94442;
	background-color: #f2dede;
	border-color: #ebccd1;
}

.back-to-top {
	cursor: pointer;
	position: fixed;
	bottom: 20px;
	right: 20px;
	display: none;
}

input[type="checkbox"].blog-sidebar  {
		margin-top: 4px;
}

.ml-8 {
	margin-left: 8px;
}


#tableCalViewToggle {
	display: inline-block;
	margin-left: 10px;
}

.tableCalToggleBtn {
	border: none;
	height: 30px;
	background-color: #DDDDDD;
	color: #A5A5A5;
	border: 1px solid #CCCCCC;
}

#calendar-controls {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.truck-calendar-view-btn:first-child, .calendar-view-btn:first-child {
	border-left: 1px solid #CCCCCC;
}

.truck-calendar-view-btn, .calendar-view-btn {
	background-color: #DDDDDD;
	float: left;
	border-right: 1px solid #CCCCCC;
	border-top: 1px solid #CCCCCC;
	border-bottom: 1px solid #CCCCCC;
	border-left: none;
}

.active-view{
	background-color: #7F7F7F;
	color: white;
	border: 1px solid #7F7F7F;
}

.truck-calendar-view-btn.date-toggle, .calendar-view-btn.date-toggle {
	background-color: #008cba;
	border: 1px solid #008cba;
	color: white;
}

@media (max-width: 550px){
	#calendar-controls {
		display: flex;
		flex-direction: column-reverse;
		align-items: center;
	}
}

#cal-legend {
	margin-top: 20px;
	font-size: 12px;
	font-weight: 600;
}

#cal-legend > div {
	border: 1px solid black;
	margin-bottom: 5px;
	margin-top: 5px;
	padding: 3px
}

#cal-legend > div > span {
	display: inline-block;
}

#cal-legend > div:nth-child(2){
	display: flex;
	flex-direction: column;
	font-size: 11px;
}

#cal-legend > div > span > span {
	display: inline-block;
	width: 10px;
	height: 10px;
	border: 1px solid black;
}

#pending-span {
	background-color: #e99002;
}

#confirmed-span {
	background-color: #008cba;
}

#active-span {
	background-color: #43ac6a;
}

#completed-span {
	background-color: #e7e7e7;
}

#cancelled-span {
	background-color: #f04124;
}

#notice-span {
	background-color: #5bc0de;
}

#legend {
	font-family: Arial, sans-serif;
	background: #fff;
	padding: 10px;
	margin: 0;
	border: 3px solid #000;
}

#legend h3 {
	margin-top: 0;
}

#legend img {
	vertical-align: middle;
}


#legend img {
	vertical-align: middle;
}
