html { 
    /*min-height:100% !important;*/
    min-height:100vh;
}

body {
  font-size:90% !important;
      /*min-height:100% !important;*/
      min-height:100vh;
}

.container { 
    /*min-height:100% !important;*/
    min-height:100vh;
}

.dropdown-menu>li>a {
    font-size:1.3rem !important;
}

/*
 * Typography
 */

h1 {
  margin-bottom: 20px;
  padding-bottom: 9px;
  border-bottom: 1px solid #eee;
}

/*
 * Sidebar
 */

@media (max-width: 800px) { 
.sidebar
    {
        display: none !important;
    }
    .pt-3 {
        margin-left:0;
        max-width:100%;
        
    }
  
  
}

.sidebar {
  position: fixed;
  /*top: 65px;
  bottom: 0;*/
  left: 0;
  /*z-index: 1000;
  padding: 20px;*/
  overflow-x: hidden;
  overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
  border-right: 1px solid #eee;
  padding-left: 0;
  padding-right: 0;
}

/* Sidebar navigation */
.sidebar .nav {
  margin-bottom: 20px;
}

.sidebar .nav-item {
  width: 100%;
}

.sidebar .nav-item + .nav-item {
  margin-left: 0;
}

.sidebar .nav-link {
  border-radius: 0;
}

.pt-3, .py-3 {
    padding-top: 0rem!important;
}

.navbar-nav > li {
    padding-right:10px;
}

.navbar-brand {
    padding-right:20px;
}
/*
 * Dashboard
 */

 /* Placeholders */
.placeholders {
  padding-bottom: 3rem;
}

.placeholder img {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* SCHEDULING */
   #external-events {
        float: left;
        border: 1px solid #ccc;
        background: #eee;
        text-align: left;
        /* height: 800px;
        overflow:auto; */
    }

    #external-events h4 {
        font-size: 16px;
        margin-top: 0;
        padding-top: 1em;
    }

    #external-events .fc-event {
        margin: 10px 0;
        cursor: pointer;
    }

    #external-events p {
        margin: 1.5em 0;
        font-size: 11px;
        color: #666;
    }

    #external-events p input {
        margin: 0;
        vertical-align: middle;
    }
    
    #hoverbox {
        display:none;
        border:1px solid #F00;
        width:150px;
        position:fixed;
        z-index:9999;
        background-color: #DAA520 !important;
    }
    
    #hoverbox2 {
        display:none;
        border:1px solid #F00;
        width:800px;
        position:fixed;
        z-index:9999;
        background-color: #DAA520 !important;
    }
    
    .fc-event-vert {
  min-height: 250px;
}

.fc table {
    /* width: unset !important; */
/*        table-layout: unset !important; */
}

.fc-resource-cell {
/*    width:50px !important; */
}

.fc th {
/*    width:50px !important; */
}

.fc-view-container { overflow-x: scroll !important; }
/*.fc-view.fc-agendaTwoDay-view.fc-agenda-view{ width: 500% !important; }*/
/*.fc-time-grid .fc-slats { z-index:999 !important; } */
/* .fc-time-grid .fc-slats td { background:white !important; } */
/* td .fc-time { position: absolute; } */


/* .fc-time-grid-event .fc-time { display: none; } */

/* .fc .fx-axis { position:relative; } */
.fc-ltr .fc-axis { position:relative; }

#unscheduled_trips {
    font-size:1rem;
}
.unscheduled_return_trips {
    background-color:#3aad6d;
}

.manual_unscheduled_trips {
    background-color:#00abff;
}



.titleFix {
    bottom: 0px;
    left: 0px;
    margin: 1px;
    padding: 1px;
}

.fc-content {
    height:100%;
}

.fc-title {
    height:95%;
}

    .ui-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    float: left;
    display: none;
    min-width: 160px;   
    padding: 4px 0;
    margin: 0 0 10px 25px;
    list-style: none;
    background-color: #ffffff;
    border-color: #ccc;
    border-color: rgba(0, 0, 0, 0.2);
    border-style: solid;
    border-width: 1px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding;
    background-clip: padding-box;
    *border-right-width: 2px;
    *border-bottom-width: 2px;
}

.ui-menu-item > a.ui-corner-all {
    display: block;
    padding: 3px 15px;
    clear: both;
    font-weight: normal;
    line-height: 18px;
    color: #555555;
    white-space: nowrap;
    text-decoration: none;
}

.ui-state-hover, .ui-state-active {
    color: #ffffff;
    text-decoration: none;
    background-color: #0088cc;
    border-radius: 0px;
    -webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    background-image: none;
}

.cheatColorBox {
    padding: 30px;
}
.cheatColorBox1 {
    border-top:#00abff;
    border-top-width:10px;
    border-left-width:0px;
    border-right-width:0px;
    border-bottom-width:0px;
    border-style:solid;
    padding:30px;
    padding-top: 20px;
}
.cheatColorBox2 {
    border-top:#3aad6d;
    border-top-width:10px;
    border-left-width:0px;
    border-right-width:0px;
    border-bottom-width:0px;
    border-style:solid;
    padding:30px;
    padding-top: 20px;
}
.cheatColorBox3 {
    padding-left: 50px;
}

/* DRIVER SORT */


.column {
  float:left;
  width: 50%;
}

.connected-sortable {
  margin: 0 auto;
  list-style: none;
  width: 90%;
}

li.draggable-item {
  width: inherit;
  padding: 15px 20px;
  background-color: #f5f5f5;
  -webkit-transition: transform .25s ease-in-out;
  -moz-transition: transform .25s ease-in-out;
  -o-transition: transform .25s ease-in-out;
  transition: transform .25s ease-in-out;
  
  -webkit-transition: box-shadow .25s ease-in-out;
  -moz-transition: box-shadow .25s ease-in-out;
  -o-transition: box-shadow .25s ease-in-out;
  transition: box-shadow .25s ease-in-out;
  &:hover {
    cursor: pointer;
    background-color: #eaeaea;
  }
}
/* styles during drag */
li.draggable-item.ui-sortable-helper {
  background-color: #e5e5e5;
  -webkit-box-shadow: 0 0 8px rgba(53,41,41, .8);
  -moz-box-shadow: 0 0 8px rgba(53,41,41, .8);
  box-shadow: 0 0 8px rgba(53,41,41, .8);
  transform: scale(1.015);
  z-index: 100;
}
li.draggable-item.ui-sortable-placeholder {
  background-color: #ddd;
  -moz-box-shadow:    inset 0 0 10px #000000;
   -webkit-box-shadow: inset 0 0 10px #000000;
   box-shadow:         inset 0 0 10px #000000;
}
/* DRIVER SORT END */

@media print
{    
    .snackbar, .snackbar2, .snackbar3, .sidebar, .navbar-brand, .no-print *
    {
        display: none !important;
    }
    
    @page {
        display: inline ;
        float: none;     position: static;     overflow: visible;
  margin-bottom: 0;
  margin-top: 5px;
  margin-left: 5px;
       }
       
       body, h1, h2, h3, ol, ul, div {
           width: auto !important; float: none !important;     position: static !important;     overflow: visible !important; font-size: 1.25rem;
       }
       
       a {
           color: black;
       }
       
       /* unvisited link */
a:link {
  color: black;
}

/* visited link */
a:visited {
  color: black;
}

/* mouse over link */
a:hover {
  color: black;
}

/* selected link */
a:active {
  color: black;
}
}
    
#fullcalendar-scheduler {
    font-size:90%;
    margin-top: -20px;
}

.fc-toolbar h2 {
    font-size:1.3rem;
}

    .schedule_restrictions {
        margin: 0px 0px 0px 0px;
        font-weight:bolder;
    }

    .timepicker-picker {
    font-size: 100%;
    }
    
    mark {
  background: #cc9900;
}

mark.current {
  background: #f44286;
}

mark.current2 {
  background: #f44286;
}

#scrolling-events {
    overflow-y: scroll;
    height:550px;
}

#map_canvas {
    display:none;
}

#datetimepicker button {
    /*font-size:2rem;*/
}

.timepicker-hour {
    font-size:2rem;
}

.timepicker-minute {
    font-size:2rem;
}

.datepicker table {
    width:90%;
}

.table-condensed {
    width:70%;
}

.timepicker-hour {
    float:right;
}

.current-time {
    background-color: rgba(20, 20, 20, 0.10);
    border-radius: 3px;
    color: BLACK;
    position: relative;
    top: 2px;
    cursor: pointer;
}

.modal-dialog {
    max-width:600px !important;
}

.modal-backdrop{
  opacity:0; transition:opacity .5s;
}
.modal-backdrop.in{
  opacity:.7; transition:opacity .5s;
}

/*
td.fc-axis.fc-time.fc-widget-content {
    z-index:9999;
    background-color:white;
}
*/
td.fc-axis.fc-time.fc-widget-content span {
    z-index:9999 !important;
    background-color:white;
    opacity: 1;
}

.fc-time-grid-event {
  opacity: 0.9;
}

a.fc-time-grid-event.fc-v-event.fc-event.fc-start.fc-end.fc-draggable.fc-resizable {
    
}

.start_time.form-control {
    font-size: 135%;
}

.fc-axis {
    border-width:0px !important;
}

.fc-time-grid .fc-slats .fc-minor td {
    border:0px;
}

.fc-unthemed td {
border: 1px solid rgba(0, 0, 0, .1);
}

.fc-widget-content {
    border: 1px solid rgba(0, 0, 0, .1) !important;
}

.fc-time-grid {
    border:0px !important;
}
	/* Drawing the 'gripper' for touch-enabled devices */ 
	html.touch #content {
		float:left;
		width:92%;
	}
	html.touch #scrollgrabber {
		float:right;
		width:4%;
		margin-right:2%;
		background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAAAAACh79lDAAAAAXNSR0IArs4c6QAAABJJREFUCB1jmMmQxjCT4T/DfwAPLgOXlrt3IwAAAABJRU5ErkJggg==)
	}
	html.borderradius #scrollgrabber {
		border-radius: 1em;
	}
        
#driver_logout {
}


/****** CHAT *************/

.chatModalTable {
    margin-bottom:0rem !important;
}

.bg-white {
  background-color: #fff;
}
.friend-list {
  list-style: none;
margin-left: -40px;
}
.friend-list li {
  border-bottom: 1px solid #eee;
}
.friend-list li a img {
  float: left;
  width: 45px;
  height: 45px;
  margin-right: 0px;
}
 .friend-list li a {
  position: relative;
  display: block;
  padding: 10px;
  transition: all .2s ease;
  -webkit-transition: all .2s ease;
  -moz-transition: all .2s ease;
  -ms-transition: all .2s ease;
  -o-transition: all .2s ease;
}
.friend-list li.active a {
  background-color: #f1f5fc;
}
.friend-list li a .friend-name, 
.friend-list li a .friend-name:hover {
  color: #777;
}
.friend-list li a .last-message {
  width: 65%;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.friend-list li a .time {
  position: absolute;
  top: 10px;
  right: 8px;
}
small, .small {
  font-size: 85%;
}
.friend-list li a .chat-alert {
  position: absolute;
  right: 8px;
  top: 27px;
  font-size: 10px;
  padding: 3px 5px;
}
.chat-message {
  padding: 60px 20px 115px;
  background: #f9f9f9;  
}
.chat {
    list-style: none;
    margin: 0;
}

.chat-history {
    max-height:55vh;
}

.people-list ul {
    height:100% !important;
}

.chat li img {
  width: 45px;
  height: 45px;
  border-radius: 50em;
  -moz-border-radius: 50em;
  -webkit-border-radius: 50em;
}
img {
  max-width: 100%;
}
.chat-body {
  padding-bottom: 20px;
}
.chat li.left .chat-body {
  margin-left: 70px;
  background-color: #fff;
}
.chat li .chat-body {
  position: relative;
  font-size: 11px;
  padding: 10px;
  border: 1px solid #f1f5fc;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  -moz-box-shadow: 0 1px 1px rgba(0,0,0,.05);
  -webkit-box-shadow: 0 1px 1px rgba(0,0,0,.05);
}
.chat li .chat-body .header {
  padding-bottom: 5px;
  border-bottom: 1px solid #f1f5fc;
}
.chat li .chat-body p {
  margin: 0;
}

#talkMessages li {
    margin: 0 !important;
}

.chat .chat-history .message-data {
    magin-bottom:5px !important;
}

.chat .chat-history .message {
    padding: 9px 10px !important;
    line-height: 26px;
    margin-bottom: 15px !important;
}

.chat li.left .chat-body:before {
  position: absolute;
  top: 10px;
  left: -8px;
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-left: 1px solid #f1f5fc;
  content: '';
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
}
.chat li.right .chat-body:before {
  position: absolute;
  top: 10px;
  right: -8px;
  display: inline-block;
  background: #fff;
  width: 16px;
  height: 16px;
  border-top: 1px solid #f1f5fc;
  border-right: 1px solid #f1f5fc;
  content: '';
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}
.chat li {
  margin: 15px 0;
}
.chat li.right .chat-body {
  margin-right: 70px;
  background-color: #fff;
}
.chat-box {
  position: fixed;
  bottom: 0;
  left: 444px;
  right: 0;
  padding: 15px;
  border-top: 1px solid #eee;
  transition: all .5s ease;
  -webkit-transition: all .5s ease;
  -moz-transition: all .5s ease;
  -ms-transition: all .5s ease;
  -o-transition: all .5s ease;
}
.primary-font {
  color: #3c8dbc;
}

.navbar-dark .navbar-nav .nav-link {
    color: white;
}

.navbar-brand>a {
    color:white;
}




/* The snackbar - position it at the bottom and in the middle of the screen */
#snackbar {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 100%; /* Set a default minimum width */
  max-height:100px;
  /*margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: #333; /* Black background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  /*left: 50%; /* Center the snackbar */
  bottom: 5px; /* 30px from the bottom */
}
#snackbar2 {
  /*visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 100%; /* Set a default minimum width */
  max-height:500px;
  /*margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: orange; /* Black background color */
  color: #000; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  /*left: 50%; /* Center the snackbar */
  bottom: 5px; /* 30px from the bottom */
}
.snackbar3 {
  /*visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 100%; /* Set a default minimum width */
  max-height:500px;
  /*margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: orange; /* Black background color */
  color: #000; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 1; /* Add a z-index if needed */
  /*left: 50%; /* Center the snackbar */
  bottom: 5px; /* 30px from the bottom */
}

/* Show the snackbar when clicking on a button (class added with JavaScript) */
#snackbar.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
  animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
}
#snackbar2.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
  animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
}
.snackbar3.show {
  visibility: visible; /* Show the snackbar */
  /* Add animation: Take 0.5 seconds to fade in and out the snackbar.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
  animation: fadein 0.5s;/*, fadeout 0.5s 2.5s;*/
}

/* Animations to fade the snackbar in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}