:root {
  --vt-red: #ed210f;
}
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/materialicons/v48/flUhRq6tzZclQEJ-Vdg-IuiaDsNc.woff2)
    format("woff2");
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.toast {
}

#toastContainer {
  position: fixed;
  top: 0;
  right: 0;
  width: 30%;
}

::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar:horizontal {
  height: 4px;
  border-radius: 2px;
}

::-webkit-scrollbar-track {
  background: #d4d4d4;
  border-radius: 2px;
}

::-webkit-scrollbar-thumb {
  background: #bbb;
  border-radius: 2px;
}

::-webkit-scrollbar-corner {
  background: #f3f3f3;
}

/* Navigation */

#nav {
  background-color: #d4d4d4;
  padding: 0;
  border-bottom: 2px solid #ed210f;
  height: 52px;
}

.navbar-brand {
  text-transform: none !important;
  width: 160px;
  height: 48px;
  background: transparent url(img/vt_logo_type.png) padding-box no-repeat;
  background-size: 100% auto;
  background-position: center;
  margin: 8px 16px;
}

#navbarContent {
  position: absolute;
  right: 0;
  height: 100%;
  padding: 0;
}

.navbar-nav {
  height: 100%;
}

.nav-item {
  height: 100%;
  z-index: 1080;
}

.nav-link {
  height: 100%;
  display: flex !important;
  align-items: center;
  padding: 16px !important;
}

.nav-item:hover,
.nav-item.active {
  background-color: #dedede;
  /*border-bottom: 2px solid #ed210f;*/
}

.navbar-toggler span {
  height: 1rem !important;
  width: 1rem !important;
}

/* Content */

#content {
  margin-top: 32px;
  max-width: 95%;
}

.pageTitle {
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: #707070;
  font-weight: 700;
  float: left;
}

button#filter,
button#refresh {
  border: none;
  background-color: transparent;
  outline: none;
  font-size: 24px;
  line-height: 0;
}

.spinit {
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-360deg);
  }
}

#contentHead {
  height: 42px;
}

#filterBank {
  float: right;
}

.filter-buttons {
  border-bottom: 2px solid #ed210f;
  font-size: 0.8rem;
  border-radius: 0;
  padding-top: 0;
  color: #b1b1b1;
  font-weight: 700;
  outline: 0;
}

.filter-buttons:focus {
  box-shadow: none;
}

.filter-buttons:hover,
.filter-buttons.active {
  color: black;
  font-weight: 700;
}

#searchAll {
  float: right;
  margin: 0;
}

#searchAll input {
  height: 28px;
}

/* Tabulator */

#jobsTable {
  clear: both;
}

.tabulator-row {
  background-color: #f3f3f3;
  font-size: 1rem;
  border-radius: 4px;
}

.tabulator .tabulator-header {
  background-color: #f3f3f3;
  font-size: 0.75rem;
  border-radius: 4px;
  border-bottom: solid white 2px;
  height: 32px;
}

.tabulator-edit-select-list {
  background: white !important;
}

.tabulator-header-open {
  height: 64px !important;
}

.tabulator-row .tabulator-cell {
  border: unset;
  border-bottom: 1px solid white;
}

.table-service {
  width: 1.25rem;
  height: 1.25rem;
  transition: filter 0.5s;
}

.table-service.disabled-icon {
  filter: grayscale(1);
  transition: filter 0.5s;
}

.jobCol {
  width: 200px;
}

.archive {
}

.reveal {
  opacity: 1;
  transition: opacity 0.5s;
}

.archived {
  background-color: beige;
  opacity: 40%;
  transition: opacity 0.5s, background-color 0.5s;
}

.archived:hover {
  background-color: blanchedalmond !important;
  opacity: 80%;
  transition: opacity 0.5s, background-color 0.5s;
}

/* Job Modal */

#jobModalDialog {
  max-width: 85vw;
}

#jobModalContent {
  padding: 0 1rem;
}

#jobModalHeader {
  border-bottom: 2px solid #ed210f;
  padding: 0.5rem 0;
}

.blur {
  filter: blur(2px);
  transition: filter 1s;
}

.modal-body-header {
  color: #707070;
  font-size: 1.15rem;
}

#locations {
  border-bottom: 1px solid #d4d4d4;
  max-height: 14vh;
  overflow-x: hidden;
}

.location-details {
  margin-right: 0;
}

#locationForm {
  margin-bottom: 8px;
}

input[type="date"],
input[type="date"]::-webkit-inner-spin-button,
input[type="date"]::-webkit-calendar-picker-indicator {
  font-size: 12px;
  padding: 1.125rem;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
  outline: none;
}

input[type="date"] {
  position: relative;
}

.removeLocation,
.removeCrew {
  cursor: pointer;
}
.hide-preview {
  opacity: 0;
  transition: opacity 1s;
}

.hide-preview:hover {
  opacity: 1;
  transition: opacity 1s;
}

.range {
  padding: 0.5rem 0;
  font-size: 12px;
}

/*.location-dates {
    flex: 0 0 80%;
    max-width: 80%;
}*/

/* Job Modal - Crew */
#crewForm div {
  position: relative;
}

#autocomplete {
  max-width: 100%;
  font-size: 1rem;
}

#autoComplete_list {
  position: absolute;
  padding: 0 1rem;
}

#autoComplete_list div {
  line-height: 1rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.autoComplete_result {
  margin: 0;
}

.autoComplete_result:hover {
  background: white;
  background-color: rgba(255, 122, 122, 0.15);
}

.crew-pill {
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  line-height: 1rem;
  height: 1.5rem;
  margin-bottom: 0.25rem;
  display: flex;
}

.remove-crew-btn {
  border-radius: 50%;
  cursor: pointer;
  background: grey;
  font-size: 1rem;
  white-space: nowrap;
}

.hide-btn {
  opacity: 0;
  white-space: nowrap;
}

.pm-crew-btn:hover {
  opacity: 1;
  transition: opacity 1s;
  cursor: pointer;
  white-space: nowrap;
}

.crew-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#crewList {
  max-height: 43vh;
  overflow-y: auto;
}

#crewTemplates {
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
/* Job Modal - Services */
.material-switch {
  margin-top: 4px;
}

.material-switch > input[type="checkbox"] {
  display: none;
}

.material-switch > label {
  cursor: pointer;
  height: 0px;
  position: relative;
  width: 40px;
}

.material-switch > label::before {
  background: rgb(0, 0, 0);
  box-shadow: inset 0px 0px 10px rgba(0, 0, 0, 0.5);
  border-radius: 22px;
  content: "";
  height: 24px;
  margin-top: -14px;
  position: absolute;
  opacity: 0.3;
  transition: all 0.4s ease-in-out;
  width: 40px;
}

.material-switch > label::after {
  background: rgb(255, 255, 255) !important;
  border-radius: 16px;
  box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.3);
  content: "";
  height: 18px;
  left: 2px;
  margin-top: -8px;
  position: absolute;
  top: -3px;
  transition: all 0.3s ease-in-out;
  width: 18px;
}

.material-switch > input[type="checkbox"]:disabled + label::after {
  background-color: #1e7e34 !important;
}

.material-switch > input[type="checkbox"]:checked + label::before {
  background: inherit;
  opacity: 0.8;
}

.material-switch > input[type="checkbox"]:checked + label::after {
  background: inherit;
  left: 20px;
}

.service-label {
  font-size: 0.75rem;
  position: absolute;
  padding: 0 0.5rem;
  z-index: 10;
  background: white;
  margin: -0.1rem 5rem 0;
  color: #8b8b8b;
  border-radius: 0.5rem;
}

.service-icon {
  position: absolute;
  margin-left: 5rem;
  z-index: 10;
  margin-top: 0.75rem;
  width: 1.25rem;
  transition: filter 0.5s;
}

.service-icon.disabled-icon {
  filter: grayscale(1);
  transition: filter 0.5s;
}

.activated {
  background: white !important;
}

/* Asana Modal */

#asanaModalHeader {
  border-bottom: 2px solid var(--vt-red);
}

#asanaInputGroup {
  width: 100%;
  position: relative;
}

#clipboardIcon {
  position: absolute;
  right: 1rem;
  transform: scale(1.25) !important;
  top: 0.3rem;
}

#asanaTeamNameInput {
  text-overflow: ellipsis;
}

.project-name {
  line-height: 1.25rem;
}

/* Archive Modal */

#archiveModalDialog {
  max-width: 60vw;
}
