body {
	padding-top: 70px;
}
.chart div {
  font: 10px sans-serif;
  text-align: right;
  padding: 3px;
  display: inline-block;
  white-space: nowrap;
  margin-right: -3px;
}
.legend {
  text-align: center;
  margin-top: 5px;
  padding: 3px;
  font-size: 13px;
}
.time div {
  text-align: left;
  display: inline-block;
  white-space: nowrap;
  padding: 3px;
}
div.section-label {
	margin-top: 0px;
	text-align: right;
}
span.section-label {
	font-size: 18px;
	font-weight: 500;
}
span.section-sub-label {
	font-size: 13px;
	font-weight: 500;
}
.align-right {
	text-align: right;
}
.align-center {
	text-align: center;
}
.uppercase {
	k-transform: uppercase;
}
.gps > div  {
	display: inline-block;
	white-space: nowrap;
	text-align: center;
}
.gps > div.active  {
	padding: 3px;
	border: 1px solid #e3e3e3;
	border-radius: 4px;
	background: #cccccc;
}
div.vcenter {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display:         flex;
	align-items: center;
}
th.vcenter,
td.vcenter {
	vertical-align: middle !important;
}

.timeline-cell {
	width: 8.3333333333%;
	display: block;
	float: left;
	border-right: 1px solid #e1e1e1;
}
.timeline-hour {
	border-bottom: 2px solid #a1a1a1;
	padding-top: 3px;
	padding-bottom: 3px;
}
.timeline-data-cell {
	padding-top: 15px;
	padding-bottom: 15px;
	border-bottom: 1px solid #e1e1e1;
}
.timeline-label-cell {
	padding-top: 15px;
	padding-bottom: 15px;
	font-weight: bold;
	text-align: right;
}
.timeline-row {
}
.nothing {
	display: block;
	float: left;
}
.en-route {
	display: block;
	float: left;
	background-color: #5bc0de;
}
.working {
	display: block;
	float: left;
	background-color: #337ab7;
}

.breakdown {
	display: block;
	float: left;
	background-color: #c9302c;
}
.break {
	display: block;
	float: left;
	background-color: #000000;
}
.leave {
	display: block;
	float: left;
	background-color: #cccccc;
}
.location_update {
	display: block;
	float: left;
	background-color: #cccccc;
}
.refueling,
.fuel_used,
.fuel_price,
.total_fuel_price,
.fuel_units {
	display: block;
	float: left;
	background-color: #449d44;
}
.warehouse {
	display: block;
	float: left;
	background-color: #ec971f;
}
.overtime {
	display: block;
	float: left;
	background-color: #7a33b7;
}
.workshift {
	display: block;
	float: left;
	background-color: #337ab7;
}
.custom {
	display: block;
	float: left;
	background-color: #b7337a;
}
.notes {
	display: block;
	float: left;
	background-color: #cccccc;
}
.parts_taken {
	display: block;
	float: left;
	background-color: #cccccc;
}
.reason {
	display: block;
	float: left;
	background-color: #cccccc;
}
.location {
	display: block;
	float: left;
	background-color: #cccccc;
}
div.edit-box {
	margin-bottom: 15px;
	padding-top: 10px;
	border-top: 1px solid #dddddd;
	border-bottom: 1px solid #dddddd;
	background-color: #f5f5f5;
}
.map {
	height: 500px;
	margin-top: 10px;
}
tr.deactive {
	background-color: #888888;
	color: #dddddd;
	font-style: italic;
}
td.hover:hover {
	background-color: #cccccc;
}
.success-text {
	color: #3c763d;
}
.info-text {
	color: #31708f;
}
.warning-text {
	color: #8a6d3b;
}
.danger-text {
	color: #a94442;
}
.clickable {
	cursor: pointer;
}
.cursor-pointer {
	cursor: pointer;
}
.temp-hidden {
	display: none;
}
.approve-status {
	padding: 5px;
}
body.waiting * {
	cursor: progress;
}
.disable-click {
	pointer-events: none;
}
.subtitle {
	font-weight: normal;
	font-size: 12px;
}

div.section-details {
	padding-top: 10px;
	padding-bottom:20px;
}
table.table-details
{
	width: 100%;
}
table.table-details td
{
	padding: 4px;
	vertical-align: top;
}
table.table-details td.cell-label
{
	text-align: right;
	vertical-align: top;
	width:120px;
}
table.table-details td.strong
{
	font-weight:bold;
}
.visits-list td {
	padding: 15px 0;
}

.photo-list-wrapper {
	padding: 10px 42px;
}
.photo-wrapper{
	padding: 10px; 
	border solid 1px #333;
	background-color: #fff;
}

@media (min-width: 768px)
.modal-dialog {
    width: 760px;
    margin: 30px auto;
}

.btn-rotate-wrapper {
	position: relative;
    top: -34px
}

.photo-list-wrapper .btn {
	height: 45px;
}

.thumbnail {
  position: relative;
  width: 244px;
  height: 244px;
  overflow: hidden;
}
.thumbnail img {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: translate(-50%,-50%);
      -ms-transform: translate(-50%,-50%);
          transform: translate(-50%,-50%);
}
.thumbnail img.rotate90 {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;   
  -webkit-transform: rotate(90deg) translate(-50%,50%);
     -moz-transform: rotate(90deg) translate(-50%,50%);
       -o-transform: rotate(90deg) translate(-50%,50%);
      -ms-transform: rotate(90deg) translate(-50%,50%);
          transform: rotate(90deg) translate(-50%,50%);
}
.thumbnail img.rotate180 {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: rotate(180deg) translate(50%,50%);
     -moz-transform: rotate(180deg) translate(50%,50%);
       -o-transform: rotate(180deg) translate(50%,50%);
      -ms-transform: rotate(180deg) translate(50%,50%);
          transform: rotate(180deg) translate(50%,50%);
}
.thumbnail img.rotate270 {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 100%;
  width: auto;
  -webkit-transform: rotate(270deg) translate(50%,-50%);
     -moz-transform: rotate(270deg) translate(50%,-50%);
       -o-transform: rotate(270deg) translate(50%,-50%);
      -ms-transform: rotate(270deg) translate(50%,-50%);
          transform: rotate(270deg) translate(50%,-50%);
}

.thumb-wrapper { position: relative; }

.thumb-wrapper .delete {
	cursor: pointer; cursor: hand; 
    position: absolute;
    top: 2px;
    right: 2px;
    z-index: 100;
    font-weight: bold;
    color: red;
    font-size: 18px;
}


.loader {
  margin: 100px auto;
  font-size: 25px;
  width: 1em;
  height: 1em;
  border-radius: 50%;
  position: relative;
  text-indent: -9999em;
  -webkit-animation: load5 1.1s infinite ease;
  animation: load5 1.1s infinite ease;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}
@-webkit-keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}
@keyframes load5 {
  0%,
  100% {
    box-shadow: 0em -2.6em 0em 0em #ffffff, 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.5), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7);
  }
  12.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.7), 1.8em -1.8em 0 0em #ffffff, 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5);
  }
  25% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.5), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.7), 2.5em 0em 0 0em #ffffff, 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  37.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.5), 2.5em 0em 0 0em rgba(255, 255, 255, 0.7), 1.75em 1.75em 0 0em #ffffff, 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.5), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.7), 0em 2.5em 0 0em #ffffff, -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.2), -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  62.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.5), 0em 2.5em 0 0em rgba(255, 255, 255, 0.7), -1.8em 1.8em 0 0em #ffffff, -2.6em 0em 0 0em rgba(255, 255, 255, 0.2), -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  75% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.5), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.7), -2.6em 0em 0 0em #ffffff, -1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2);
  }
  87.5% {
    box-shadow: 0em -2.6em 0em 0em rgba(255, 255, 255, 0.2), 1.8em -1.8em 0 0em rgba(255, 255, 255, 0.2), 2.5em 0em 0 0em rgba(255, 255, 255, 0.2), 1.75em 1.75em 0 0em rgba(255, 255, 255, 0.2), 0em 2.5em 0 0em rgba(255, 255, 255, 0.2), -1.8em 1.8em 0 0em rgba(255, 255, 255, 0.5), -2.6em 0em 0 0em rgba(255, 255, 255, 0.7), -1.8em -1.8em 0 0em #ffffff;
  }
}


