/*Bootstrap overrides */
a:visited,
a:focus {
    text-decoration: none;
    outline: none;
}
a:hover {
  text-decoration: underline;
}
.btn-primary {
    background-color: #3698dc;
    border: none;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active, 
 {
    background: #0974bf;
    border: none;
}
.input-group-btn > .btn:hover,
.input-group-btn > .btn:focus,
.input-group-btn > .btn:active {
    z-index: 0;
}
dl {
    margin: 0;
    padding: 0;
}
dd {
    margin: 0;
    padding: 0;
}
.badge {
    border-radius: 5px;
}
label {
    font-weight: normal;
}
body {
    font-size: 13px;
}
.close {
    text-shadow: none;
    opacity: .4;
}
.close:hover {
    background: none;
}
.pagination-sm>li:first-child>a, .pagination-sm>li:first-child>span, .btn, input, .input-sm, select.input-sm, .modal-content, .pagination-sm>li:last-child>a, .pagination-sm>li:last-child>span  {
    border-radius: 0;
}
.pagination {
    margin: 11px 0 10px;
    vertical-align: middle;
}
.pagination > li {
  cursor: pointer;
}
.panel-body {
  padding: 10px;
}
.panel-with-header {
  padding: 0!important;
}
.panel-heading h5 {
  font-size: 14px;
  padding: 10px;
  margin: 0;
  display: inline-block;
}
.alert {
  width: 60%;
  position: absolute;
  top: 25px;
  left: 398px;
  z-index: 150;
  font-weight: bold;
  height: 37px;
  padding-top: 8px;
  border-radius: 0;
}
.alert-success {
    border: 1px solid #7AAE7B;
}
.alert-danger {
    border: 1px solid #ebccd1;
}
.modal-footer {
  text-align: left;
  padding-top: 0;
}
.modal-footer #legend {
  padding: 15px;
}
.modal section {
  padding-left: 15px;
}
/*jquery ui overides*/
.ui-widget-header, .ui-widget-content, .ui-button {
  background: #fff;
  border: none; 
  border-radius: 0px;
  background-image: none!important;
}
.ui-datepicker-title {
  color: #333;
}
#ui-datepicker-div {
  border: 1px solid #666;
}
.ui-dialog {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}
button[role=button], .ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default, ui-datepicker-close {
  background-image: none!important;
  border: none!important;
  background-color: #3698dc; 
  color: #fff!important;
  border-radius: 0;
  font-weight: normal;
}
button[role=button].ui-state-hover, .ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus, .ui-datepicker a.ui-state-active, button.ui-button.ui-state-hover {
  background-color: #0974bf;!important;
  background-image: none;
}
.ui-dialog-titlebar-close .ui-icon, .ui-datepicker-prev .ui-icon, .ui-datepicker-next .ui-icon {
  background-image: url('../images/report/JQueryUI/ui-icons_888888_256x240.png');
}
.ui-dialog-titlebar-close.ui-state-hover .ui-icon, #ui-datepicker-div a.ui-state-hover .ui-icon { 
  background-image: url('../images/report/JQueryUI/ui-icons_222222_256x240.png');
}
.ui-dialog-titlebar-close.ui-state-hover, .ui-datepicker-prev.ui-state-hover, .ui-datepicker-next.ui-state-hover  {
  background: none;
  border: none;
}
.ui-widget input, .ui-widget select, .ui-widget textarea {
  border: 1px solid #ccc;
}
.ui-slider {
  background: #ccc;
}
.ui-dialog .ui-dialog-buttonpane {
  margin-top: -3.5em;
}
.ui-dialog .ui-dialog-title {
  margin-bottom: -3px;
}
button.cancel-link[role="button"], button.cancel-link {
  background: none!important;
  font-size: 120%;
  padding: 0;
}
button.cancel-link {
  margin-left: 10px;
}
button.cancel-link.btn-sm {
  font-size:115%;
  }
button.cancel-link[role="button"] span, button.cancel-link{
  color: #333;
  text-decoration: underline;
}
button.cancel-link[role="button"].ui-state-hover span, button.cancel-link:hover {
    color: #0974bf;
  }
.ui-dialog .ui-dialog-titlebar {
  background-color: #fff!important;
  padding: 0.4em 1em 0;
}
.ui-dialog .ui-dialog-buttonpane button {
  padding: 0;
}
/*Layout*/

html {
    overflow: hidden;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
}
#page {
    min-width: 1110px;
}
/*General*/

.icon-graphic {
    background-image: url(../images/fleet-sprite.png);
    background-repeat: no-repeat;
    display: inline-block;
    vertical-align: middle;
}
.breadcrumb li:last-child a {
    color: #585858;
    cursor: pointer;
}
a, .pagination-sm>li>a, .pagination-sm>li>span {
    color: #3698dc;
}
a:hover, .close:hover, .pagination>li>a:hover, .pagination>li>span:hover, .pagination>li>a:focus, .pagination>li>span:focus, a.cog:hover, a.lock:hover {
    color:#0974bf;
    opacity: 1;
}


.icon-person {
    font-size: 130%;
}
.cog {
    color: #585858;
    cursor: pointer;
}

button.panel-action {
    border: 1px solid #999;
    padding: 0 3px;
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
    color: #999;
    opacity: 100;
    margin: 0 2px;
}
button.panel-action:hover {
    background-color: #038793;
    color: #fff;
    border-color: #038793;
}
h4.info-caption {
  font-weight: normal;
  margin: 0 0 10px 0;
}
.info-caption .icon {
  font-size: 120%;
  vertical-align: middle;
}
.info-caption .icon-close3 {
  vertical-align: baseline;
}
/*Standard Table*/
table.standard {
    width: 100%;
    margin-top: 15px;
}
table.standard th,
table.standard td {
    padding: 7px 0 7px 5px;
    font-weight: normal;
    line-height: 100%;
    border-collapse: collapse;
}
table.standard th {
    background: #C0DCED;
    padding-top: 3px;
    padding-bottom: 3px;
    color: #000;
    font-size: 95%;
}
table.standard th.selected {
    background-color: #85C0E4;
}
table.standard th.sortable:hover {
    background: #67C6F8;
    cursor: pointer;
}
table.standard .divider {
    color: #018592;
    width: 5px;
}
table.standard .icon.sorted {
    display: inline-block;
    float: right;
    margin-right: 5px;
    font-size: 120%;
}
table.zebra tr:nth-child(even) {
    background: #ebebeb;
}
table.standard .selector {
    width: 22px;
}
table input[type="checkbox"] {
    margin: 2px 0 0 0;
    height: 18px;
}
table.standard th.actions {
    background-color: #90d7dd;
    color: #fff;
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
    width: 10px;
}
table.standard .actions {
    text-align: center;
    padding-left: 3px;
    padding-right: 3px;
    width: 10px;
}
table.standard th.actions .cog {
    color: #fff;
}
th span.icon-sort.icon, th span.icon-triangleup.icon, th span.icon-triangledown.icon {
    float: right;
    display: inline-block;
    margin-top: 1px;
}
td.selector, th.selector {
   text-align: center;
 }
td.notes {
  font-size: 120%;
  color: #3698dc;
}
 
/*Main Header*/

#logo {
    width: 180px;
    height: 56px;
    background: url("../images/tracker-logo.png") no-repeat right bottom;
    display: inline-block;
    vertical-align: top;
}
/*Footer*/

footer {
    position: absolute;
    height: 35px;
    width: 100%;
    left: 0px;
    text-align: right;
    font-size: 80%;
    text-decoration: underline;
    padding-right: 10px;
}
/*Alerts*/

#alerts-messages {
    display: inline-block;
    width: 121px;
    margin: 0 0 7px 81px;
    text-align: center;
    line-height: 100%;
    font-size: 130%;
}
.count {
    height: 12px;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 10px;
    color: #fff;
    text-align: center;
    line-height: 100%;
}
#messages .count {
    background: #0974bf;
}
#alerts .count,
a.alerts:hover .count {
    background: #5a0507;
}
#alerts:hover .count,
a.alerts .count {
    background: #b80d07;
}
#messages:hover .count {
    background: #90d7de;
}
/*Fleet sections*/

#drivers-panel-section,
#places-panel-section,
#google-panel-section,
#favourites-panel-section {
    display: none;
}
/*Buttons*/

button .icon {
    margin-right: 3px;
    font-size: 150%;
    display: inline-block;
    vertical-align: middle;
    line-height: 100%;
}
button.no-txt .icon {
    margin: 0;
}
.display-none {
    display: none !important;
}
button {
    background-color: #3698dc;
    color: #fff;
    border: none;
    font-weight: normal;
    padding: 2px 5px;
}
button:hover {
    background-color: #3698dc;
}
.hollow-button {
    background-color: #fff !important;
    border: 2px solid #3698dc !important;
    border-radius: 4px;
    color: #3698dc;
    padding: 2px;
}
.hollow-button:hover {
  background-color: #3698dc!important;
  color: #fff;
  text-decoration: none;
}
#GoogleSearchResultsPlacesModalTable {
  margin-top: 0;
}
#GoogleSearchResultsPlacesModalTable .hollow-button {
  font-size: 150%;
  line-height: 100%;
  padding-bottom: 0;
}
/*actions menu*/

.actions-menu {
    position: absolute;
    background: #fff;
    border: 1px solid #b0b0b0;
    width: 193px;
    z-index: 950;
    top: 271px;
    left: 345px;
    padding-top: 5px;
    border-top: 4px solid #cccccc;
}
.actions-menu li {
    border-bottom: 1px dotted #ccc;
    width: 90%;
    margin: 0 0 0 7px;
    list-style: none;
}
.actions-menu li:last-child {
    border: none;
}
.actions-menu ul {
    margin: 0;
    padding: 0;
}
.actions-menu a {
    padding: 5px;
    display: block;
    border: none;
    font-size: 105%;
    color: #585858;
}
.actions-menu a:hover, .actions-menu .alertSubscribed a:hover  {
    color: #3698dc;
    text-decoration: none;
}
.actions-menu .icon {
    display: inline-block;
    margin-right: 3px;
    font-size: 130%;
    vertical-align: middle;
}
.actions-menu .sub-menu li {
    border: none;
    margin: 0;
    line-height: 100%;
}
.actions-menu .sub-menu a {
    font-size: 90%;
    padding: 0 0 0 27px;
}
.actions-menu a.sub {
    padding-bottom: 0;
}
.actions-menu .alertSubscribed a {
  color: #b80d07;
}
.actions-menu .alertSubscribed a:before {
  content: "\e644";
  padding-right: 2px;
  font-family: 'tracker-fleet';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;
}

/*Gmap Search*/

.DirectionsClickPoint,
.DirectionsDelete {
    display: inline-block;
    vertical-align: middle;
    font-size: 145%;
    padding: 1px 0;
}
.DirectionsClickPoint:hover,
.DirectionsDelete:hover {
    color: #3698dc;
    cursor: pointer;
}
#gmap-search label {
    width: 100%;
    margin-left: 5px;
}
#gmap-search input {
    width: 81%;
}
#DirectionTextboxContainer {
  padding-bottom: 10px;
}
#gmap-search #search-actions {
    margin-left: 5px;
}
#gmapsearch-options {
  margin: 5px 0;
}
#gmap-search #GoogleMapSearchText {
  width: 80%;
}
#GoogleSearchResultsTable {
  margin-top: -7px;
}
#googlesearch-results {
  margin-top: 10px;
  padding: 5px;
}
/*FORMS*/

input[type="radio"],
input[type="checkbox"] {
    width: auto!important;
    height: auto!important;
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 3px;
    margin-top: 0;
}
legend {
    font-size: 115%;
    border: none;
    color:  #0974bf;
    margin-bottom: 4px;
}
h4.modal-title, form>section, .ui-dialog-title {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 6px;
    padding-bottom: 6px;
    font-weight: normal;
    color: #333;
}
.modal form>section {
  padding-bottom: 15px;
  padding-left: 0;
}
.form-group.two-column {
    width: 45%;
    display: inline-block;
    margin-right: 18px;
    margin-bottom: 0;
    vertical-align: top;
}
.form-group.three-column {
    width: 30%;
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 0;
}
.form-group.two-column.second {
    margin-right: 0;
}
fieldset {
    margin-bottom: 5px;
    padding: 5px;

}
fieldset.zebra {
    background-color: #f1f1f1;
}
label {
    color: #000;
    margin-bottom: 2px;
}
label>span {
    font-size: 90%;
}
.form-group h5 {
    margin: 7px 0 0 0;
}
input, .input-sm, select.input-sm {
    font-size: 14px;
    height: 26px;
    padding: 3px 8px;
    border: 1px solid #ccc;
}
/*Modals*/
.modal-content {
    border: none;
}
.modal-header {
    padding: 10px 15px;
}
.modal-footer, .modal-header {
    border: none;
}
.no-form h4.modal-title {
  color:  #0974bf;
}
.modal-body {
  padding: 0 15px 15px;
}
/*Footer*/
footer {
    background: #fff;
    padding: 5px;
    height: 20px;
    position: absolute;
    bottom: 0;
}
/*Panels*/
#panel_controls .view-switch {
    display: inline-block;
    margin-right: 4px;
    background-color: #fff;
    border: 1px solid #666;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    text-align: center;
    vertical-align: middle;
    margin-top: -6px;
    color: #666;
    font-size:110%;
}
#panel_controls .hdr_gant {
  font-size: 120%;
}
#panel_controls .view-switch:hover,   #panel_controls .view-switch.selected {
  color:#3698dc;
  text-decoration: none;
  border-color: #3698dc;
  }

#date-selector, #panel_controls  #playbackControls {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px;
}
  #date-selector a {
    background: #666;
    color: #fff;
    display: inline-block;
    width: 17px;
    height: 19px;
      text-align: center;
      padding-top: 2px;
      vertical-align: top;
  }
#date-selector input {
    width: 100px;
    height: 20px;
    margin: 0 -4px 0 -3px;
    border: 1px solid #999;
    border-left: none;
    border-right: none;
    text-align: center;
    color: black;
    
}
/*Login*/
#loginForm {
  background: #eee;
  height: 100%;
  padding: 20px 0;
}
#login-container {
  width: 33%;
  margin: 0 auto;
}

#login-header
{
  padding: 5px 10px 0;
  background-color: #fff;
}
#login-header #logo
{
  background-image: url("../images/tracker-logo.png");
  width: 200px;
  height: 100px;
  display: inline-block;
  margin: 10px 5px 0 0;
}
#login-header h3
{
  color: #ed1c24;
  display: inline-block;
  font-size: 185%;
  font-weight: normal;
  line-height:100%;
}
.panel-default > .panel-heading
{
  background: #3698dc;
  border-radius: 0;
  padding: 0;
  color: #fff;
  border: none;
}
/*Gant pop ups*/
#job-popup-jobno, #GridInfoDiv h2, .info_popup h2 {
    font-weight: bold;
    font-size: 120%;
    border-bottom: 1px dotted #ccc;
    margin: 0 0 3px;
    padding: 0 0 2px;
}
.info_popup h2 {
    color:#018592;
}
#GridInfoDiv {
    width: 176px;
    position: fixed; 
    background-color: #fff; 
    color: #000000;  
    border: thin solid #ADADAD;  
    padding: 10px 10px 5px 10px;
    height: auto; 
    display: block;
}
 #GridInfoDiv h3, #MapInfoContent h2, .info_popup h2{
    margin: 0;
    padding: 0;
}

#GridInfoDiv h2, #MapInfoContent h2, .info_popup h2 {
    font-size: 110%;
}
#journeys #GridInfoDiv h2 {
  color: #3698dc;
}
#GridInfoDiv h3, #MapInfoContent h3, .info_popup h3 {
    font-weight: normal;
    font-size: 100%;
}
#GridInfoDiv table, .info_popup table {
    margin: 3px 0 10px;
}
#GridInfoDiv td, #MapInfoContent td, .info_popup td {
    padding: 3px;
    vertical-align: top;
    color: black;
    line-height: 120%;
}
#GridInfoDiv .status-indicator, #MapInfoContent .status-indicator {
    width: 10px;
    height: 10px;
}
#GridInfo .icon, #MapInfoContent .icon, .info_popup .icon {
    width: 16px;
}
#GridInfoDiv table, .info_popup table {
  line-height: 120%;
}
#journey-controls{
  display: inline-block;
  vertical-align: middle;
}
#ViewAnAlert td
{
    width:500px;
}
.field-validation-error, #validationSummary li {
  color: #b80d07;
}
.field-validation-error {
    padding: 5px;
    display: block;
}
#validationSummary ul {
  margin: 0 0 10px 0;
  padding-left: 0;
  list-style: none;
}
#validationSummary li {
  list-style: none;
}
 #communicationError {
    padding:7px 20px;
    height:auto;
    width: 360px;
    border: solid 1px #a94442;
    position: absolute;
    top: 0px;
    display: none;
    background-color: #f2dede;
    color: #a94442;
    margin: 0px auto;
     left: 450px;
     font-weight: bold;
 }