/*** USER VEHICLE TEMPLATE ***/
 /*@media (min-width: 601px) {*/
	.titles-container.user-vehicles,
	.titles-container.vehicle-temaplte {
		padding: 5px 7px;
	}
/*}*/
/*** SINGLE VEHICLE TEMPLATE ***/
.vehicle-current-driver {
	font-style: italic;
	color: blue;
	text-decoration: underline;
}
.ellipsis-text {
	text-overflow: ellipsis;
	overflow: hidden;
	/*white-space: nowrap;	*/
}
.titles-container {
	height: 41px;
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	justify-content: space-between;
	-webkit-justify-content: space-between;
}
.spinner-container {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
	flex-direction: column;
	-webkit-flex-flow: column;
}
.vehicle-sections:not(.expanded) .ellipsis-text {
	text-overflow: ellipsis;
	overflow: hidden;
	/*white-space: nowrap;*/
}
.add-vehicles-btn paper-button {
	margin: 0;
}
/* Vehicle section */
.vehicle-wrap {
	margin: 10px 0px 15px 0px;
}
.vehicle-wrap {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
}
.vehicle-photo {
	height: 70px;
	width: 120px;
}
.vehicle-data {
	display: table-cell;
	vertical-align: middle;
}
.vehicle-name {
	font-size: 20px;
}
.vehicle-last-rep,
.vehicle-status {
	font-size: 13px;
	opacity: .75;
}
.vehicle-main-info {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	align-items: center;
	-webkit-align-items: center;
}
.vehicle-info-edits {
	visibility: hidden;
	max-height: 0px;
	transition: max-height 0.15s ease-in-out, visibility 0.08s ease-in-out;
}
.expanded .vehicle-info-edits {
	visibility: visible;
	max-height: 1000px;
}
.vehicle-driver {
	font-size: 13px;
	opacity: .75;
}
.vehicle-info-input {
	width: 100%;
}
paper-menu-button.paper-dropdown-menu {
	width: 100%;
	padding: 0px;
}

/* Speed section */
.vehicle-section-2 .save-button {
	width: 170px;
	margin-top: 5px;
}
.vehicle-section-2 .lifes-span {
	margin-top: 10px;
	margin-bottom: 5px;
}
.vehicle-driver-ref {
	font-size: 14px;
	height: 17px;
	margin: 10px 0px;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.current-vehicle {
	text-decoration: underline;
    color: blue;
}
.speed-limits-div {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-direction: column;
	visibility: hidden;
	max-height: 0px;
	transition: max-height 0.15s ease-in-out, visibility 0.08s ease-in-out;
}
.expanded .speed-limits-div {
	visibility: visible;
	max-height: 1000px;
}
.vehicle-template .label-is-floating label {
	text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
/** Maintenance section **/
.maintenance-item {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	padding: 10px;
}
.maintenance-chart-container {
	position: relative;
	height:240px;
	width:240px;
	display:flex;
	display:-webkit-box;
	display:-webkit-flex;
	align-items:center;
	-webkit-align-items:center;
	justify-content:center;
	-webkit-justify-content:center;
}
.maintenance-item paper-input-container {
	width: 100%;
}
.maintenance-item paper-input-container.input-with-btn {
	width: calc(100% - 70px);
}
.maintenance-item paper-button.unqueue-maint {
	top: 10px;
	width: 140px;
	height: 43px;
}
.maintenance-material .input-prefix {
	padding-right: 5px;
}
.maintenances-container {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	flex-flow: row wrap;
	-webkit-flex-flow: row wrap;
	justify-content: center;
	-webkit-justify-content: center;
	align-items: center;
	-webkit-align-items: center;
}
.main-chart-img {
	width:100%;
	height:100%;
	position:absolute;
	top:0;
	right:0;
}
.inside-chart-div {
	position:absolute;
	top:45px;
	right:70px;
	text-overflow: ellipsis;
	width: 100px;
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-flow: column;
	align-items: center;
	-webkit-align-items: center;
	/*color: white;*/
	font-size: 14px;
	text-align: center;
}
.inside-chart-div img {
	width:40px;
	height:40px;
}
.maintenance-info {
	padding: 10px 0 10px 0;
	/*font-size: 14px;*/
	border-bottom: 1px solid rgba(0,0,0,.4);
}
.maintenance-info:first-child {
	border-top: 1px solid rgba(0,0,0,.4);	
}
.maint-historic-rest {
	visibility: hidden;
	max-height: 0px;
	padding: 0px;
	transition: max-height 0.15s ease-in-out, visibility 0.08s ease-in-out;
}
.expanded .maint-historic-rest {
	visibility: visible;
	/*max-height: 1500px;*/
}
.maint-historic-rest .maintenance-info:first-child {
	border-top: 0px;
}
.maintenance-register {
}
#maint-dialog {
	z-index: 4000 !important;
	background: white;
}
#maintenance-dropdown iron-dropdown {
	top: 29px !important;
	position: absolute !important;
	right: 0px !important;
}
.maintenance-register .label-is-floating .label-and-input-container label {
	color: #727272 !important;
	opacity: 1 !important;
}
.maint-date {
	font-size: 12px;
	color: grey;
}
.maint-edit-container {
	visibility: hidden;
	max-height: 0px;
	transition: max-height 0.15s ease-in-out, visibility 0.08s ease-in-out;
}
.expanded .maint-edit-container {
	visibility: visible;
	max-height: 800px;
}
.save-maint-conf {
	visibility: hidden;
	transition: visibility 0.3s ease-in-out;
}
.expanded .save-maint-conf {
	visibility: visible;
}
/** Fuel section **/
.fuel-load-container {
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
}
.fuel-load-container #fuel-load-value {
	width: calc(100% - 75px);
}
.fuel-load-container #fuel-load-btn {
	top: 12px;
	width: 120px;
	height: 43px;
}
.fuel-historic-container {
	padding-top: 5px;
}
.load-info {
	margin: 5px 0px;
	border-top: solid rgba(0,0,0,.4) 1px;
	display: flex;
	display: -webkit-box;
	display: -webkit-flex;
	flex-direction: column;
	-webkit-flex-flow: column;
}
.fuel-historic-container-rest {
	visibility: hidden;
	max-height: 0px;
	transition: max-height 0.15s ease-in-out, visibility 0.08s ease-in-out;
}
.expanded .fuel-historic-container-rest {
    visibility: visible;
}
.load-hist-item {
	padding: 0px 0px 3px 10px;
}
.load-info:last-child {
	border-bottom: solid rgba(0,0,0,.4) 1px;
}
.load-info .load-text{
	margin-top: 5px;
}
.load-info .load-date {
	font-size: 12px;
	color: grey;
}

/** SECTIONS */
.vehicle-sections {
	overflow: hidden;
	/*transition: height .3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;*/
	transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}
.vehicle-section-1,
.vehicle-section-2 {
	height: auto;
}
.vehicle-section-3 {
	/*height: 85px;*/
	height: auto;
}
/*.vehicle-section-2 {
	height: 50;
}*/
.vehicle-section-4,
/*.vehicle-section-5,*/
.vehicle-section-6 {
	/*height: 35px;*/
	height: auto;
}

@media (max-width: 601px) {
	.vehicle-label-data {
		display: none;
	}
	.vehicle-photo {
		height: 49px;
		width: 84px;
	}
	.maintenance-chart-container {
		height: 200px;
		width: 200px;
	}
	.inside-chart-div {
		width: 83px;
		right: 60px;
	}
	.inside-chart-div img {
		height: 33px;
		width: 33px;
	}
	.maintenance-chart-container paper-button {
		font-size: 14px;
	}
}

/** Google Maps */
google-map {
    height: 360px;
    width: 100%;
    margin: 12px 0px 0px 0px;
}

.google-maps-section-1 {
    height: 35px;
}