/* Fonts */

@import url("https://fonts.googleapis.com/css?family=Roboto:400,700");

/* Page */

html {
	width: 100%;
	height: 100%;
}

html, body, input, textarea {
	font-family: Roboto, Helvetica, Arial, sans-serif !important;
    font-size: 13px;
	font-weight: normal;
    color: #222;
}

body {
    margin: 0;
    padding: 0;
	background: #fff;
}

#page {
	margin: 0;
	padding: 0;
	height: 100%;
	width: 100%;
}

/* General */

p, td, th, input {
	font-weight: normal;
    color: #222;
    padding: 0;
    margin: 0;
}

.float-left {
	float: left;
	height: 100%;
	text-align: left;
	vertical-align: middle;
	overflow: hidden;
}

.float-right {
	float: right;
	height: 100%;
	text-align: right;
	vertical-align: middle;
	overflow: hidden;
}

.marker-yellow {
	background-color: #FF0;
	padding: 3px;
}

.marker-red {
	background-color: #F00;
	color: #FFF;
	margin: 3px 0;
	padding: 1px 4px;
}

.smaller {
	font-size: 80%;
	color: #888;
}

.smaller a, #dialog .smaller a {
	color: #888;
}

.code {
	font-size: 1.5em;
	color: #D00;
	letter-spacing: 2px;
}

#dialog {
	color: #222;
	background-color: #fff;
	margin: 0;
	padding: 1em;
}

#dialog h1, #dialog h2, #dialog p {
	color: #222;
	margin: 0;
	padding-bottom: 1em;
}

#dialog a {
	color: #222;
}

#import-textarea, #comment-input {
	width: 95%;
	height: 70%;
	min-height: 100px;
}

#title-input {
	width: 95%;
}

#dialog-locations {
	color: #222;
	display: none;
	margin: 0px;
	white-space: nowrap;
}

#dialog-locations ul {
	list-style-type: none;
    padding: 0;
    margin: 0;
}

#dialog-locations .active {
	background-color: #e8f2fe;
}

#dialog-locations .fulfilled a {
	color: #aaa;
}

#dialog-locations li {
	width: 100%;
    padding: 4px 0;
    margin: 0;
    border-bottom: 1px solid #F4F4F4;
	text-overflow: ellipsis;
}

#dialog-locations li img {
	height: 16px;
	margin: 0 5px 0 0;
	vertical-align: bottom;
}

.stop_number {
	float: left;
	width: 14px;
	height: 16px;
	overflow: hidden;
	margin: 1px 6px 0 0;
	line-height: 16px;
	text-align: center;
	font-size: 8px;
	color: #FFF;
	background-color: #000;
}

.dialog-location {
	color: #222;
	font-weight: normal;
	text-decoration: none;
}

#dialog-help {
	display: none;
}

#settings-warning {
	margin-top:1em;
	font-size: 80%;
	color: #CCC;
}

.settings-slider {
	display: inline-block;
	width: 9em;
	margin: 0 0.5em;
}

.ui-timepicker-input {
	width: 5em !important;
	padding: 0 3px;
}

#dialog-spreadsheet {
	margin: -1em 0 0 -1em;
	width: 100%;
}

#history-routes {
	margin: 0;
	padding: 0;
	overflow: auto;
}

#history-routes-table {
	border-collapse: separate;
    border-spacing: 0.5em;
}

#history-routes-table tr {
	vertical-align: top;
	border-top: 2px solid #eee;
}

#history-routes-table td {
    border-spacing: 0;
}

.favoriteButton {
	margin: 0.25em;
}

#addressBookTable thead th {
	text-align: left;
}

#addressBookTable tbody tr {
	cursor: pointer;
}

#disclaimer {
	font-size: 90%;
}

#disclaimer ul {
	margin: 0;
	padding: 0;
}

#disclaimer li {
	margin: 5px 10px;
}

#searchAddressInput {
	
	float: left;
	margin: 7px 0 0 0;
	padding: 0 5px;
	
	font-weight: normal;
    color: #555;
	
	height: 25px;
	line-height: 25px;
    vertical-align: middle;

		/*
	background: #fff url("../img/shade-input.png") top left repeat-x;
	*/
}

#cookies {
	height: 2em;
	line-height: 2em;
	margin: 0;
	padding: 0 1em;
	font-size: 0.9em;
	font-weight: normal;
	color: #fff;
	background-color: #3399ff;
	overflow: hidden;
}

#cookies .cookie-button {
	padding: 0 0.5em;
	border: solid 1px #fff;
	font-size: 70%;
	cursor: pointer;
}

/* Heading */

#heading {

	background-color: #fff;

	height: 60px;
	line-height: 3em;
	white-space: nowrap;
	overflow: hidden;
	
	margin: 0;
	padding: 0 1em;
	
	font-size: 1.1em;
	font-weight: normal;
	color: #aaa;
	
	text-align: left;
	vertical-align: top;
}

#heading h1 {
	float: left;
	display: inline;
	margin: 0 1em 0 0;
	padding: 0;
}

#heading h1 a {
	
	min-width: 132px;
	min-height: 60px;
	margin: 0;
	padding: 0;
	display: inline-block;
	
	color: #000;
	font-size: 1.2em;
	font-weight: normal;
	text-indent: -999em; 
}

#heading span#menu {
	margin: 0 auto;
	padding: 0;
}

#heading a {
	color: #C0C0C0;
	display: inline-block;
	text-align: center;
	text-decoration: none;
	margin: 0;
	padding: 0 1% 0 0;
	height: 60px;
	line-height: 60px;
}

#heading a:hover, #heading a:active {
	color: #111;
}
#heading #account {
	margin: 0;
	padding: 0 0 0 1%;
	border-left: 1px solid #aaa;
	font-size: 90%;
}

#social-icons {
	float: right;
	height: 60px;
	line-height: 60px;
	vertical-align: middle;
}

#social-icons a,  #social-icons a:hover, #social-icons a:active {
	border: none;
}

#social-icons a img {
	border: none;
	vertical-align: middle;
	width: 16px;
	height: 16px;
}

#social-icons a img#lang {
	width: 30px;
	margin: 0 0 0 1em;
}

/* Menu and bottom bars */

#menu-canvas, #bottom-canvas {
	
    margin: 0;
    padding: 0 10px;
	color: #111;
	
	background: #f4f4f4;
	
	height: 43px;
	line-height: 43px;
	overflow: hidden;
	vertical-align: middle;
	
	display: none;
}

#status {
    float: right;
	height: 14px;
	line-height: 14px;
	margin: 12px;
	padding: 0;
	font-size: 10px;
	font-weight: normal;
    vertical-align: middle;
    color: #808080;
}

#status img {
	vertical-align: middle;
	height: 14px;
	width: 14px;
	margin: 0 3px;
	padding: 0;
}

#status input {
	float: right;
	margin: 0;
	padding: 0;
}

#linkedItems a {
    color: #222;
}

#map-canvas {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
}

#map-canvas.leaflet-container {
	background-color: transparent;
}

.popupContents {
	font-family: Roboto, Helvetiva, Arial, sans-serif;
	font-weight: normal;
	color: #222;
	min-width: 20em;
	max-width: 48em;
	min-height: 12em;
}

.popupTable td {
	padding: 0.5em 0.5em 0 0;
}

table.location-details {
	width: 100%;
}

table.location-details td {
	padding: 0.5em;
}

.marker-icon-stop {
	background-color: transparent;
	text-align: center;
}

.marker-icon-stop .marker-number {
	width: 26px;
	height: 26px;
	line-height: 26px;
	font-size: 11px;
	font-weight: normal;
	border: solid 3px #222;
	border-radius: 2px;
	background-color: #000;
	color: #FFF;
}

.marker-icon-stop .marker-arrow {
  position: relative;
  border-style: solid;
  border-color: #222 transparent transparent transparent;
  left: 10px; /*(Marker width - arrow width)/2*/
  border-width: 8px 6px 0 6px; /*Arrow w/h is defined by the borders*/
  width: 0px; height: 0px;
}

.marker-label {
	font-family: Roboto, Helvetica, Arial, sans-serif !important;
	font-size: 10px !important;
	background-color: #fff !important;
}

.location-demand {
	background-color: #8baa3b;
	color: #fff;
	margin: 0;
	padding: 0.1em 0.5em;
	font-size: 80%;
	font-weight: normal;
}

.location-heading {
	background-color: #e68a3b;
	color: #fff;
	margin: 0;
	padding: 0.1em 0.5em;
	font-size: 80%;
	font-weight: normal;
}

.location-timewindows {
	background-color: #3986ac;
	font-size: 80%;
	font-weight: normal;
	color: #FFF;
	padding: 0.1em 0.5em;
	margin: 0;
}

.location-orderrestrictions {
	background-color: #5ec8bd;
	font-size: 80%;
	font-weight: normal;
	color: #FFF;
	padding: 0.1em 0.5em;
	margin: 0;	
}

.location-fulfilled {
	background-color: #aaa;
	font-size: 80%;
	font-weight: normal;
	color: #FFF;
	padding: 0.1em 0.5em;
	margin: 0;	
}

.location-buttons {
	margin: 0.5em 0;
	padding: 0;
}

.location-comments {
	background: #ffb;
	font-size: 0.8em;
	font-weight: normal;
	margin: 0.5em 0;
	padding: 0.5em 1em;
	max-width: 22em;
	color: #222;
}

.location-select {
	max-width: 300px;
}

.fulfill-stop {
    border: solid 0.2em #aaa;
    margin: 0 0 1em 0;
}

.fulfill-counter {
	background-color: #aaa;
    color: #fff;
    padding: 0.5em;
    line-height: 18px;
    height: 18px;
    vertical-align: middle;
}

.fulfill-counter img {
    height: 18px;
    width: 16px;
    vertical-align: bottom;
}

.fulfill-location {
	padding: 1em 0.5em;	
}

.fulfill-comments {
	background: #ffb;
	font-weight: normal;
	margin: 0.5em;
	padding: 1em;
	color: #222;
}

.fulfill-buttons {
	background-color: #eee;
	margin: 0.5em 0 0 0;
	padding: 0.5em;
}

.fulfillButtonDelete {
	float: right;
}

.fulfillButtonSkip {
	left: 30%;
}

#bottom-right {
	float: right;
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;
	max-height: 39px;
	min-width: 200px;
}

#imgExtra {
	height: 26px;
	float: right;
	margin: 7px 0 8px 10px;
}

#route-canvas {
	display: none;
	background-color: #FFF;
	margin: 10px;
	padding: 10px;
	font-size: 10pt;
	font-weight: normal;
}

#route-canvas ul {
	padding: 10px 0;
}

#route-canvas p, #route-canvas li {
	color: #222;
	font-size: 10pt;
	font-weight: normal;
}

#route-canvas img {
	margin: 10px 0;
	border: 0;
}

#button-details {
	float: right;
}

#route-canvas table, #route-canvas th, #route-canvas td {
	padding: 0.25em;
}

#route-canvas ul {
	list-style-position: inside;
	margin: 0;
	padding: 0;
}

#route-canvas li {
	margin: 0;
	padding: 0;
}

.directionLocationDetails {
	vertical-align: top;
	margin: 2em 0;
}

.directionMap {
	display: inline-block;
	width: 640px;
	height: 180px;
	margin: 0;
	padding: 0;
}

.location-QR {
	height: 120px;
	width: 120px;
	margin: 0;
	padding: 0;
}

#performance {
	margin: 10px 0;
	padding: 5px;
	background-color: #FF0;
}

.groupedButton {
	min-width: 5em;
	margin: 0 0.5em 1em 0;	
}

#shareLink {
	width: 90%;
	margin: 10px 0;
	color: #00F;
}

#paypal-button {
	margin: 0;
	padding: 0;
	border: none;
}

#footer-canvas {
	margin: 0;
	padding: 0;
	vertical-align: bottom;
}

#copyright {
	margin: 0;
	padding: 1em;
	color: #AAA;
	font-size: 0.85em;
	font-weight: normal;
	line-height: 1.1em;
}

#copyright a {
	color: #AAA;
	text-decoration: none;
}

#copyright a:active, #copyright a:hover {
	color: #000;
	text-decoration: underline;
}

#ebook {
	float: left;
	margin: 0 10px 0 0;
	padding: 0;
	height: 60px;
	width: 234px;
}

#ebook img {
	border: none;
} 

#sharing-buttons {
	float: right;
	margin: 10px 0;
	padding: 0;
}

#sharing-buttons iframe {
	background: transparent;
	width: 120px;
	height: 22px;
	overflow: hidden;
	padding: 0;
	margin: 0;
	border: none;
}

#sharing-buttons div {
	display: inline;
	height: 22px;
	overflow: hidden;
	padding: 0;
	margin: 0;
}

#share-qr {
	float: right;
	margin: 0;
	padding: 0;
}

div#twitter, div#linkedin, div#facebook, div#googleplus {
	text-align: left !important;
	vertical-align: bottom !important;
	height: 22px !important;
	max-width: 130px !important;
	margin-right: 5px;
	overflow: hidden;
}

#facebook {
	width: 150px !important;
}

#stumbleupon {
}

#debug-canvas {
	font-size: 12px;
}