﻿.modal-dialog.modal-fullscreen {
  margin: 0;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.modal-dialog.modal-fullscreen .modal-content {
  width: 100%;
  height: 100%;
}
@media (min-width: 768px) {
  .modal-dialog.modal-fullscreen {
    width: 100%;
  }
}
.ng-camera-stack {
  position: relative;
  width: 100%;
  height: 100%;
}
.ng-camera-feed {
  width: 100%;
  height: 100%;
  background: black;
}
.ng-camera-feed video {
  width: 100%;
  max-height: 100%;
  max-width: 100%;
}
.ng-camera-overlay {
  left: 50%;
  position: absolute;
  top: 50%;
  max-width: 100%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 2;
}
.ng-camera-buttons {
  background-color: rgba(0, 0, 0, 0.71);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  text-align: center;
  font-size: 24px;
  color: white;
}
.ng-camera-buttons button {
  background: none;
  border: none;
}
/* confirm Button */
@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 0% 150%;
  }
}
.aw-confirm-red {
  border: none;
  background: none;
  color: #676767;
}
.aw-confirm-red.enabling {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(239, 114, 111, 0.85) 52%, rgba(255, 255, 255, 0) 80%);
  background-size: 100% 200%;
  animation: gradient 1s linear infinite;
  animation-direction: alternate;
}
.aw-confirm-red.enabled {
  color: #a94442;
}
/* bootstrap overrides */
html body {
  font-size: 12px;
}
@media (min-width: 768px) {
  html body {
    font-size: 16px;
  }
}
body h1 {
  font-size: 2em;
}
body .jumbotron p {
  font-size: 1.2em;
}
body h2 {
  text-align: center;
}
body .jumbotron {
  padding-top: 56px;
  margin-bottom: 0;
  padding-bottom: 15px;
}
.container.body-content {
  padding: 0;
}
.form-inline .input-group .form-control,
.form-inline .input-group .input-group-addon,
.form-inline .input-group .input-group-btn {
  width: auto;
}
/* floated addon work in xs view */
.btn-invis {
  border: none;
  background-color: transparent;
}
.loading-spinner {
  background: transparent url(media/spinner.gif) no-repeat scroll center center;
}
/* typeography */
.text-lg {
  font-size: 2em;
}
.list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid #AAAAAA;
}
.list-item {
  padding: 0 5px;
  border-bottom: 1px solid #DDDDDD;
  min-height: 44px;
  transition: height linear 1s;
}
@media (min-width: 768px) {
  .list-item {
    padding: 0 15px;
  }
}
.list-item.completed {
  background-color: rgba(76, 211, 50, 0.22);
  color: #3c763d;
}
.list-item.failed {
  background-color: rgba(211, 50, 50, 0.22);
  color: #763c3c;
}
.list-item .btn-expand {
  margin-left: 2em;
}
.list-item .list-right {
  float: right;
}
.list-item .list-right button,
.list-item .list-right .button {
  border: none;
  background-color: transparent;
  width: 43px;
  height: 43px;
  font-size: 28px;
  line-height: 28px;
  padding: 6px;
  margin: 0;
  text-align: center;
  vertical-align: top;
}
.list-item .list-right .btn-picture {
  background-size: cover;
  background-position: center center;
}
.list-item .list-right .btn-picture-select {
  font-size: 20px;
}
.list-item .list-right .btn-check .fa:before {
  content: "\f00c";
}
.list-item .list-right .btn-check.completed .fa:before {
  content: "\f00c";
  color: #4cd332;
}
.list-item .form-inline .input-group {
  margin-top: -6px;
  float: right;
  margin-right: 5px;
}
.list-item .form-inline input.sm {
  width: 4em;
}
.list-item .form-inline input.md {
  width: 8em;
  float: right;
}
.list-item .form-inline input.lg {
  display: block;
  width: 100%;
}
.list-item .list-text {
  padding-top: 11px;
  padding-bottom: 11px;
  font-weight: bold;
}
.list-item .list-desc {
  margin: 0 0 0 0.2em;
  transition: max-height linear 1s;
  max-height: 0;
  overflow: hidden;
}
.list-item .list-desc img {
  width: 100%;
}
.list-item .list-desc .pane {
  margin: 10px;
}
.list-item .textarea-fw {
  margin: 5px;
  width: 100%;
  min-height: 62px;
}
.list-item .rc-step-desc {
  margin: 0;
  transition: max-height linear 1s;
  max-height: 0;
  overflow: hidden;
  display: grid;
  /* Default to basic text only layout */
  grid-template-columns: 1fr;
  grid-template-areas: "desc-text";
  /*Picture layouts*/
}
.list-item .rc-step-desc.one-pic {
  grid-template-columns: 1fr;
  grid-template-areas: "desc-text" "desc-pic-0";
  grid-gap: 0.5vw;
  /* Alternate layout for larger screens */
}
@media (min-width: 768px) {
  .list-item .rc-step-desc.one-pic {
    grid-template-columns: 6fr 4fr;
    grid-template-areas: "desc-text desc-pic-0";
  }
}
.list-item .rc-step-desc.three-pic {
  grid-template-columns: 3fr 6fr;
  grid-template-areas: "desc-text desc-text" "desc-pic-1 desc-pic-0" "desc-pic-2 desc-pic-0";
  grid-gap: 0.5vw;
  /* Alternate layout for larger screens */
}
@media (min-width: 768px) {
  .list-item .rc-step-desc.three-pic {
    grid-template-columns: 3fr 1fr 1fr 1fr 4fr;
    grid-template-areas: "desc-text desc-text desc-text desc-text desc-pic-0" "desc-pic-1 desc-pic-2 desc-pic-2 desc-pic-2 desc-pic-0";
  }
}
.list-item .rc-step-desc .desc-text {
  grid-area: desc-text;
}
.list-item .rc-step-desc .desc-pic-0 {
  grid-area: desc-pic-0;
  width: 100%;
}
.list-item .rc-step-desc .desc-pic-1 {
  grid-area: desc-pic-1;
  width: 100%;
}
.list-item .rc-step-desc .desc-pic-2 {
  grid-area: desc-pic-2;
  width: 100%;
}
.list-item.expanded .rc-step-desc {
  margin: 0 0 0.5vw 0;
  transition: max-height linear 1s;
  max-height: 90vh;
  overflow-y: auto;
}
/* RouteCard Complete confirmation section */
.blanked {
  visibility: hidden;
}
.sc-complete {
  min-height: 5em;
}
.sc-complete .notice {
  padding: 15px;
  text-align: center;
  font-style: italic;
}
.sc-complete button {
  padding: 8px;
  font-size: 24px;
  font-weight: bold;
}
.sc-complete .cc-complete,
.sc-complete .cc-confirm {
  background-color: rgba(55, 145, 55, 0.2);
  color: #024f02;
}
.sc-complete .cc-cancel {
  background-color: rgba(145, 63, 55, 0.2);
  color: #4f0d02;
}
.sc-complete .cc-title {
  text-align: center;
}
.sc-complete .cc-user {
  font-size: 120%;
  font-weight: bold;
  padding: 5px;
  text-align: center;
}
/* modal select list */
ul.modal-select {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
  font-size: 150%;
}
ul.modal-select > li {
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 0;
}
ul.modal-select > li:last-child {
  border-bottom: 1px solid transparent;
}
ul.modal-select > li.button:hover {
  background-color: rgba(183, 216, 239, 0.4);
}
/* file select button */
.select-file-btn input {
  display: none;
}
.clk,
.button {
  cursor: pointer;
}
.btn-fw {
  min-width: 7em;
}
/* Loading spinner */
.loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #46646F;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1.5s linear infinite;
  margin: 10px auto;
}
.loader-icon {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #46646F;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1.5s linear infinite;
  margin: auto auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/* Almost full screen modal */
@media (min-width: 768px) {
  .modal-dialog.modal-xl {
    width: 95%;
  }
}
@media (min-width: 768px) {
  .modal-dialog.modal-lightbox {
    width: 95%;
    width: min-content;
  }
}
.modal-dialog.modal-lightbox .lightbox-picture {
  max-width: 90vw;
  max-height: 90vh;
  width: auto;
  height: auto;
}
/* column with right hand content */
.grid-right-col {
  display: grid;
  grid-template-columns: 1fr auto;
}
/* Force navbar to not collapse */
.navbar-force-large {
  font-size: 16px;
}
.navbar-force-large .navbar-right {
  float: right !important;
}
.navbar-force-large .navbar-nav {
  float: left;
  margin: 0;
}
.navbar-force-large .navbar-nav > li {
  float: left;
}
.navbar-force-large .navbar-nav > li > a {
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (max-width: 768px) {
  .navbar-force-large .container {
    margin-left: 15px;
    margin-right: 15px;
  }
}
/* Route Card tree view */
.rc-tree-title {
  padding: 0.05px 1em;
}
.rc-tree-children {
  list-style: none;
}
/* Debug */
#debug {
  display: none;
}