@media (min-width: 768px) {
    #wrapper {
        max-width: 960px;
    }
}

.container {
    max-width: 960px;
}

.border-top { border-top: 1px solid #e5e5e5; }
.border-bottom { border-bottom: 1px solid #e5e5e5; }
.border-top-gray { border-top-color: #adb5bd; }

.box-shadow { box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); }

.lh-condensed { line-height: 1.25; }


.overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa;
  z-index:1;
}


#loading-bar,
#loading-bar.ng-enter,
#loading-bar.ng-leave.ng-leave-active,

#loading-bar.ng-enter.ng-enter-active,
#loading-bar.ng-leave,
#loading-bar-spinner.ng-enter.ng-enter-active,
#loading-bar-spinner.ng-leave {
  opacity: 1;
}

#loading-bar .bar {
  -webkit-transition: width 350ms;
  -moz-transition: width 350ms;
  -o-transition: width 350ms;
  transition: width 350ms;

  background: #29d;
  position: fixed;
  z-index: 10002;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  border-bottom-right-radius: 1px;
  border-top-right-radius: 1px;
}

/* Fancy blur effect */
#loading-bar .peg {
  position: absolute;
  width: 70px;
  right: 0;
  top: 0;
  height: 2px;
  opacity: .45;
  -moz-box-shadow: #29d 1px 0 6px 1px;
  -ms-box-shadow: #29d 1px 0 6px 1px;
  -webkit-box-shadow: #29d 1px 0 6px 1px;
  box-shadow: #29d 1px 0 6px 1px;
  -moz-border-radius: 100%;
  -webkit-border-radius: 100%;
  border-radius: 100%;
}


.pac-item {
    height: 50px;
}


/* horizontal scrolling */
div.scroll-menu {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

div.scroll-menu scroll-item {
    display: inline-block;
}


/* navigation */

footer {
  position: fixed;
  height: 100px;
  bottom: 0;
  width: 100%;
  background-color: #fff;
}


/* avatar */

.avatar {
    -webkit-background-size: 40px 40px;
    background-size: 40px 40px;
    border: 1px solid #eee;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    display: block;
    margin: 0;
    position: relative;
    height: 40px;
    width: 40px;
    z-index: 0;
    margin: 3px 10px 3px 10px;
}

.block {
  -webkit-border-radius: 3px;
  border-radius: 3px;
  display: block;
  margin: 0;
  padding: 3px;
  position: relative;
  width: 60px;
  height: 56px;
  z-index: 0;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.available {
  background-color: #56AF61;
  color: whitesmoke;
}

.new-job {
  background: repeating-linear-gradient(
    135deg,
    whitesmoke,
    whitesmoke 1px,
    #56AF61 1px,
    #56AF61 8px
  );
}

.unavailable {
  background-color: lightgrey;
}


/* checkbox */
.form-check-input:checked {
  background-color: #212529;
}


/* panels */
.bt-item {
  color: #495057; border: 0; border-bottom: 1px solid #eee; background-color: #f8f9fa;
}


/* range */
.form-range {
  height: 3em;
}

.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #000;
}

input[type=range] {
  -webkit-appearance: none; /* Hides the slider so that custom slider can be made */
  width: 100%; /* Specific width is required for Firefox. */
  background: transparent; /* Otherwise white in Chrome */
}

/* Special styling for WebKit/Blink */
input[type=range]::-webkit-slider-thumb {
  height: 24px;
  width: 24px;
  margin-top: -8px;
}

/* All the same stuff for Firefox */
input[type=range]::-moz-range-thumb {
  height: 24px;
  width: 24px;
  margin-top: -8px;
}

/* All the same stuff for IE */
input[type=range]::-ms-thumb {
  height: 24px;
  width: 24px;
  margin-top: -8px;
}


/* toggle */
.form-switch .form-check-input {
  height: 1.5em;
  width: 3em;
}

.form-check-input:checked {
  background-color: black; 
  border-color: #adb5bd;
}

.form-check-input:focus {
  border-color: #adb5bd;
  box-shadow: none;
}



/* overriding */
.invalid-feedback {
  font-size: 12px;
}

.form-check-input.is-valid:checked, .was-validated .form-check-input:valid:checked {
  background-color: #000;
}

.form-check-input.is-valid, .was-validated .form-check-input:valid {
  border-color: #000;
}



/* file upload buttons */
input[type="file"] {
  display: none;
}
.file-upload {
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  padding: 26px 24px;
  cursor: pointer;
  height: 70px;
  width: 70px;
}
.image-thumb {
  border: 1px solid #ccc;
  border-radius: 4px;
  display: inline-block;
  cursor: pointer;
  height: 70px;
  width: 70px;
  background-position: center; 
  background-repeat: no-repeat; 
  background-size: cover;
}



/* menu */

.nav-drawer {
  position: fixed;
  bottom: 0;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  max-width: 100%;
  background-color: #fff;
  background-clip: padding-box;
  outline: 0;
  transition: transform .3s ease-in-out;
  top: 0;
  right: 0;
  width: 400px;
  border-left: 1px solid rgba(0,0,0,.2);
  transform: none;
  width: 120px; 
  visibility: visible;
}


.nav-drawer .active {
  font-weight: bold;
  /* border-bottom: 1px solid black;
  padding-bottom: .15rem;
  margin-bottom: 0.35rem; */

}


/* jobsheet nav bar */
.bt-nav-button {
  font-size:small;
  color: #212529;
}

.bt-nav-icon {
  font-size: 2em;
}

.bt-nav-icon-active {
  text-decoration: underline;
}

.bt-required {
  color: red; font-weight: 400; margin-left: 0.6em; font-size:smaller;
}

.bt-required-asterisk {
  color: red;
}

.bt-required-hide {
  display:none;
}

.form-control-bt {
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0.25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}


/* hide spinners from number fields */
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.button-selected {
  color: #fff;
  background-color: #212529;
  border-color: #212529;
}
