/*
 * Base structure
 */

/* Move down content because we have a fixed navbar that is 50px tall */
body {
  padding-top: 0;
}

/*
 * Typography
 */

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

/*
 * #map
*/
#map-container {
  padding:0 0 0 0;
  height:100vh !important;
}
#map {
  height:100%;
}
.mapboxgl-ctrl-compass {
  display: none !important;
}


.mapboxgl-marker.doctor {
  background-color: #32CD32;
  border: 3px solid #fff;
  box-shadow: 1px 1px 3px #9f9f9f;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.mapboxgl-marker.doctor.green {
  /* background-image: url('icons/green.png');*/
  background-color: #32CD32;
}
.mapboxgl-marker.doctor.aqua {
  /* background-image: url('icons/green.png');*/
  background-color: #00ffff;
}
.mapboxgl-marker.doctor.yellow {
  /* background-image: url('icons/green.png');*/
  background-color: #e5e500;
}
.mapboxgl-marker.doctor.red {
  /* background-image: url('icons/green.png');*/
  background-color: #cc0000;
}

.mapboxgl-marker.appointment {
  background-color: transparent;
  background-size:100% 100%;
  width: 20px;
  height: 25px;
  cursor: pointer;
}

.mapboxgl-marker.appointment.gray {
  background-image: url('icons/pin-gray.png');
}
.mapboxgl-marker.appointment.green {
  background-image: url('icons/pin-green.png');
}
.mapboxgl-marker.appointment.yellow {
  background-image: url('icons/pin-yellow.png');
}
.mapboxgl-marker.appointment.aqua {
  background-image: url('icons/pin-aqua.png');
}
.mapboxgl-marker.appointment.red {
  background-image: url('icons/pin-red.png');
}

/*
 * Sidebar
 */

.sidebar {
  position: fixed;
  top: 0px;
  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;
}

.circle {
  border-radius:50%;
  box-shadow: 0 0 1px #9f9f9f;
  width: 20px;
  height: 20px;
  border: 3px solid #fff;
}
.circle.green-circle {
  background-color: #32CD32;
}
.circle.yellow-circle {
  background-color: #e5e500;
}
.circle.red-circle {
  background-color: #cc0000;
}

/* Sidebar navigation */
.sidebar {
  padding-left: 0;
  padding-right: 0;
}

.sidebar .nav {
  margin-bottom: 20px;
}

.sidebar .nav-brand {
  padding: .5em 1em;
  font-weight: bold;
}

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

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

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

.sidebar .nav-link p {
  padding: 0;
  margin: 0 0 0 0;
}

.sidebar .nav-item {
  background-color: #efefef;
}

#doctor-status .list-group-item {
  padding: 0.25rem 1.25rem;
}


/*
 * Dashboard
 */

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

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


/* #doctors-wtih-appointments */
#doctors-with-appointments .add-location {
  display:none;
  cursor: pointer;
}

#status-message {
  text-align: center;
  width: 100vw;
  position: absolute;
  top: 20px;
  left: 0;
  display:none;
}
#status-message p {
  display: block;
  width: 400px;
  background-color: #ffe5b4;
  border: 1px solid #ffb251;
  z-index: 9999;
  margin:0 auto;
  border-radius:3px;
}
#appointment-plotter {
  width:100%;
  margin-bottom:10px;
}
#appointment-plotter .show-all-appointments {
  cursor:pointer;
}
#appointment-plotter .logout {
  cursor: pointer;
}

/* #regions */
#regions {
  margin-top: 5px;
}
