/*Set Ubuntu as default font */
body {
  font-family: "Ubuntu", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 0.875em;
  padding-bottom: 55px; /*this is space for the fixed top main nav */
 }

.nav2 {
	margin-top: 55px; /*space for top main nav*/
	margin-bottom: 1.5rem;
	min-height: 1.5rem;
}

.nav2 a{
	font-size: 0.9rem;
	color: #e95420;
}

.summary-nav {
padding: 0 1.5rem;
margin-bottom: 2rem;
}

/* Remove underline on links, only show on hover (except on navbar) */
a,
a.nav-link:hover,
a.navbar-brand:hover {text-decoration: none;}
a:hover {text-decoration: underline;}


.p-1 {
	padding: 0.25rem;
}

.pr-2 {
	padding-right: 0.5rem;
}

.pr-5 {
	padding-right: 2.5rem;
}

.pl-2 {
	padding-left: 0.5rem;
}

.pl-5 {
	padding-left: 2.5rem;
}

.pt-2 {
	padding-top: 0.5rem;
}

.mr-1 {
	margin-right: 0.25rem;
}

.mb-3 {
	margin-bottom: 1.5rem;
}


.lg-line-height {
	 line-height: 1.5rem; /* used on open button on hire summary modal, for wrapping on small screen (overlaps big btn otherwise) */
}

/* COLOURS */
.bg-dark-muted {
	background: #cfb3c3;
}

.bg-primary-muted {
	background: #F9CFC1;
}

.bg-primary-light{
	background: #fcece5;
}

/* Light green bg for part-paid */
.bg-success-light {
  background: #daf1dd;
}

.bg-success-muted {
	background: #c7eacc;
}

.bg-info-muted {
	background: #bee5eb;
}

.bg-warning-muted {
	background: #fbebc9ff;
}

.bg-secondary-muted {
	background: #e8e6e4;
}

/* for 'show more pick up points button */
.form-control-font80 {
  font-size: 85%; 
}

.booking-form-field {
	border: none;
}

.form-control::placeholder {
	color: #666;
}	

/* This section is for summary.html
 * It allows the columns to flow from single on mobile to multi on desktop */

@media screen and (min-width: 991px) {
  .flex-container {
    display: flex;
    flex-direction: row;
    flex-grow: 1;
    flex-wrap: wrap
  }

.booking_id {
    order: 2;
  }

.client {
    order: 1;
  }

.client_refs {
    order: 3;
  }

.pickupdate_title {
    order: 1;
  }
.pickupdate_data {
    order: 3;
  }
.pickuppoint_title {
    order: 2;
    float: right;
  }
.pickuppoint_data {
    order: 4;
    float: right;
  }
.returndate_title {
    order: 1;
  }
.returndate_data {
    order: 3;
  }
.vehicle_title {
    order: 2;
    float: right;
  }
.vehicle_data {
    order: 4;
    float: right;
  }
.price_title {
    order: 1;
  }
.price_data {
    order: 5;
  }
.clientref_title {
    order: 2;
    float: right;
  }
.clientref_data {
    order: 6;
    float: right;
  }
.alert_title {
    order: 3;
    float: right;
  }
.alert_data {
    order: 7;
    float: right;
  }
.invoice_title {
    order: 4;
    float: right;
  }
.invoice_data {
    order: 8;
    float: right;
  }
  

.vehicle-icon { /*hide vehicle icon on large screen vieww, but show on mobile */
	display:none;
}

}



/*makes modal form on quotecalc wider 
@media (min-width: 768px) {
  .modal-xl {
   width: 1200px;
   max-width:85%;
  }
}
*/


/* on Quotecalc_result.html Route Details section, some addresses are very wide & 
 * there is no gap between the label & the address. The property below adds a little extra space. 
.justify-content-between {
	gap: 1em;
}
*/



@media (max-width: 990px) {
	.hires-list-header,
	.booking-status,
	.action-links,
	.open-booking,
	#clientArea-ClientID,
	#clientArea-InvoiceID, /*on the add/edit booking page, this hides Client ID, Invoice ID & last updated info on mobile screens */
	#clientArea-Last_updated,
	#clientArea-Updated_by
	 {
		display: none;
	}
	
	.vehicle-icon {
		display: inline;
	}
	
	.hires-list-data {
		display: flex;
		flex-direction: column;
	}
	
	.ID-client-col { /*this is the highlighted area on mobile that shows client name & quick view */
		background-color: #e9ecef;
		border: solid 1px #aaa39c;
		color: #e95420;
		font-weight: bold;
		padding: 0.75rem;
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
		display: flex;
		align-items: center;
	}
	
	.quick-view-link a {
		color: #e95420;
		font-weight: bold;
		text-transform: uppercase;
		border: 1px solid #e95420;
		padding: 0.5rem;
		border-radius: 10px;
	}
	
	.quick-view-link a:hover {
		text-decoration: none;
	}
	
	.modal-xl {
		width: 1200px;
		max-width:95%;
  }
}
