html, body {
	font-family: Verdana, sans-serif;
	font-family: 'Roboto', sans-serif;

	margin: 0;
	padding: 0;
}

.wrapper {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
	padding-left: 150px;
}

header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	padding: 10px;
	background-color: #404040;
	color: #85c2e9;
	box-shadow: 0 2px 4px black;
	z-index: 30;
}

nav {
	position: fixed;
	top: 0;
	bottom: 0;
	left: 0;
	background-color: #202020;
	color: white;
	box-shadow: 5px 0 5px rgba(0,0,0,0.7);
	z-index: 40;
	overflow-y: auto;
	padding-bottom: 20px;
}

nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

nav li {
	display: block;
	padding: 10px;
	padding-left: 15px;
	padding-right: 15px;
	cursor: pointer;
}

nav li:hover {
	background-color: #808080;
	color: black;
}

nav .hide {
	border-bottom: 1px dotted white;
	margin-bottom: 10px;
	text-align: right;
	display: none;
}

nav a {
	color: inherit;
	text-decoration: none;
}

nav li img {
	position: relative;
	top: 5px;
	margin-right: 10px;
}

nav li ul {
	display: none;
	margin-left: 30px;
	margin-top: 10px;
}

nav li li {
	color: white;
}

nav li li:hover {

	background-color: white;
}

.header-buttons {
	position: absolute;
	right: 5px;
	top: -7px;
	vertical-align: top;
}

.mobile_menu_button {
	width: 40px;
	cursor: pointer;
	display: none;
	margin-left: 10px;
}

.alerts_button {
	border-radius: 20px;
	cursor: pointer;
	width: 32px;
	margin: 4px;
	transition: background-color, .5s;
}

header .alerts {
	position: fixed;
	z-index: 35;
	top: 50px;
	right: 10px;
	background-color: rgba(60,60,60,0.9);
	color: white;
	padding: 10px;
	padding-left: 1px;
	padding-right: 1px;
	border-radius: 3px;
	width: 320px;
	display: none;
}

header .alerts h2 {
	color: white;
	text-align: left;
	font-size: 12pt;
	margin-top: 0;
	margin-bottom: 10px;
	margin-left: 10px;
}

header .alerts ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

header .alerts img {
	float: left;
	width: 24px;
	margin-right: 10px;
}

header .alerts a:hover {
	background-color: rgba(255,255,255,0.8);
	color: black;
}

header .alerts li a {
	color: inherit;
	text-decoration: none;

	display: block;
	padding: 5px;
	padding-left: 10px;
	padding-right: 10px;
	border-radius: 2px;
	border-top: 1px solid white;
	margin-top: 0;
	margin-bottom: 0;
	font-size: 11pt;
	font-weight: 300;
}

header .alerts li strong {
	font-weight: 400;
}

header .alerts li small.expired {
	color: red;
}

header .alerts li small {
	display: block;
	text-align: right;
	font-size: 10pt;
}

.header-buttons .search-bar {
	position: relative;
	display: inline-block;
	margin: 0;
	padding: 0;
	vertical-align: top;
    margin-top: 3px;
    margin-right: 5px;
}

.header-buttons .search-bar input {
	width: 200px;
}

.header-buttons .search-bar button {
	position: absolute;
	right: -3px;
	top: -3px;
	background: transparent;
	box-shadow: none;
	color: #404040;
}

.main {
	margin-top: 55px;

	position: relative;
	margin-bottom: 100px;
	/*transition: left 0.7s;*/
}

.side-menu {
	width: 220px;
	display: inline-block;
	vertical-align: top;
	margin-right: 10px;
}

.main-content {
	display: inline-block;
	vertical-align: top;
	width: calc(100% - 280px);
	position: relative;
}

.main-content section {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	display: none;
}

.side-menu input[type=button], .side-menu .button {
	display: block;
	width: 100%;
	text-align: center;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-weight: 400;
}

section {
	background-color: #404040;
	padding: 10px;
	margin-bottom: 10px;
	font-weight: 300;
}

section table tbody {
	position: relative;
}

form {
	margin: 10px;
}

table img, .remove-item, .remove-point {
	cursor: pointer;
}

table img:hover, .remove-item:hover, .remove-point:hover {
	opacity: 0.7;
}

table .archive {
	cursor: pointer;
	text-align: center;
}

table .archive:hover {
	opacity: 0.7;
}

.button-bar {
	background-color: white;
	padding: 10px;
	margin-left: -10px;
	margin-top: -7px;
	width: calc(100% - 10px);
	margin-bottom: 10px;
}

.button-bar label {
	margin-top: 10px;
	width: auto;
	margin-left: 10px;
}

.button-bar input, .button-bar .button {
	width: auto;
	margin-left: 10px;
}

.wrapper .message {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 20;
}

.wrapper .message.message-inline {
	position: static;
}

.pop-up {
	position: absolute;
	z-index: 35;
	box-shadow: 0 0 10px black;
	padding: 10px;
	top: 20px;
	background-color: white;
	width: 600px;
	left: calc(50% - 310px);
	display: none;
	cursor: move;
	max-width: calc(100% - 40px);
}

.pop-up .relative-wrapper {
	width: 100%;
	height: 100%;
	position: relative;
}

.pop-up .exit-button {
	position: absolute;
	top: -35px;
	right: -20px;
	z-index: 10;
	cursor: pointer;
}

.pop-up .loader {
	position: absolute;
	left: calc(50% - 60px);
	top: calc(50% - 60px);
	z-index: 10;

	display: none;
}

#dashboard-trips {
	width: 100%;
	background-color: white;

}

#dashboard-trips th {

	/*background: linear-gradient(#9A8000, #805500);
	border-left: 1px solid #9A8000;
	border-right: 1px solid #9A8000;*/

	color: #404040;
	background-color: white;
	font-weight: 400;
	text-align: left;
	padding: 15px;
	padding-left: 10px;
	padding-right: 10px;
	border-bottom: 2px solid #ddd;
	border-top: 1px solid #ddd
}

#dashboard-trips td {
	color: #00557f;
}

#dashboard-trips .stripe td {
	background-color: #bbd3e0;

}

#dashboard-trips .parent-row-bottom td {
	border-bottom: 1px solid #ddd;
}

#dashboard-trips .child-row table {
	margin: 0;
}

#dashboard-trips .child-row th {
	text-transform: uppercase;
	font-size: 10pt;
	background-color: #404040;
	color: #e0e0e0;
	padding: 2px;
	border-color: #e0e0e0;
	border-bottom: 1px solid #909090;
	text-align: center;
}

#dashboard-trips .child-row td {
	padding: 8px;
	
	border-color: #e0e0e0;
	border-top: none;
	color: #202020;
	text-align: center;
} 

#dashboard-trips tr.has-loads:hover td {
	cursor: pointer;
	background-color: #a0a0a0;
}


#dashboard-trips .child-row table td {
	background-color: #e0e0e0;
	padding: 3px;
}

#dashboard-trips .parent-row-bottom table td {
	border-bottom: none;
}

/* LOADS POPUP FORM ************************/

form th {
	text-align: right;
}

.payload-items { 
	width: 100%;
}

.payload-items input[type=text] {
	width: 100%;
}

.payload-items th {
	text-align: left;
}

.driving-distance .data-box {
	text-align: center;
}

.client-details {
	display: none;
}

.pickup-point, 
.dropoff-point {
	padding: 10px;
	border: 1px solid #a0a0a0;
	background-color: #F7F7F7;
}

.vin-found .vin-details {
	display: none;
}

#edit-load .pickup-points,
#edit-load .dropoff-points {
	margin-bottom: 10px;
}

/*****************************************/

table tbody .loader {
	top: auto;
	position: static;
	display: block;
	margin: auto;
	width: 100px;
}

a.anchor {
	display: block;
	margin-top: -40px;
	height: 40px;
}

div.ui-datepicker{
	font-size:11pt;
}

#filter .date-range-filter {
	display: inline-block;
}

#filter label {
	width: auto;
}

#filter input, #filter select {
	display: inline-block;
	width: auto;
}

#filter .date-range-filter input {
	width: 130px;
}

.visual-timeline {
	margin-top: 20px;
	margin-bottom: 20px;
	border: 1px solid #e0e0e0;
	padding: 20px;
}

.visual-timeline ul {
	list-style: none;
	padding: 0;
	margin: 0; 
	display: inline-block;
	vertical-align: top;
	text-align:center;
}

.visual-timeline li {
	display: inline-block;
	text-align: center;
	margin-right: -4px;
	vertical-align: top;
}

.visual-timeline li i {
	display: inline-block;
	margin: auto;
	color: red;
	font-size: 20px;
}

.visual-timeline li i.completed {
	color: green;
}

.visual-timeline li hr {
	display: inline-block;
	width: calc(50% - 15px);
	height: 4px;
	background-color: red;
	border: none;
}

.visual-timeline li hr.completed {
	background-color: green;
}

section h3 {
	margin-top: 0;
}

.button-cell i.fa {
	cursor: pointer;
	font-size: 24pt;
}

.button-cell i.fa:hover {
	opacity: 0.7;
}

td.button-cell {
	text-align: center;
}

td.button-cell a {
	text-decoration: none;
	color: inherit;
}

.text-red {
	color: red!important;
}

footer {
	text-align: center;
}

@media (max-width: 1700px) {
	.wrapper {
		padding-left: 220px;
	}
}

@media (max-width: 1550px) {
	nav {
		position: fixed;
		top: 0;
		bottom: 0;
		left: -280px;
		background-color: #202020;
		color: white;
		box-shadow: 5px 0 5px rgba(0,0,0,0.7);
		z-index: 30;
	}

	.wrapper {
		padding-left: 0;
	}

	.mobile_menu_button {
		display: inline-block;
	}

	nav .hide {
		display: block;
	}

	.clock_status {
		right: 60px;
	}

}

@media (max-width: 1050px) {
	.side-menu {
		display: block;
		width: calc(100% - 20px);
	}	

	.side-menu input[type=button] {
		display: inline-block;
		width: auto;
	}

	.main-content {
		display: block;
		width: 100%;
	}

}

@media (max-width: 750px) {
	.col2 {
		display: block;
		width: 100%;
	}

	.clock_status {
		left: 0;
		right: 0;
		bottom: 0;
		top: auto;
		background-color: #404040;
		text-align: center;
		position: fixed;
		z-index: 30;
	}
}

@media (max-width: 620px) {
	.pop-up {
		left: 0;
	}
}