﻿*, input, select, textarea, option, button {
  outline: none !important;
}

.coloredScroll {
  scrollbar-color: red;
}
.coloredScroll::-webkit-scrollbar {
  height: 10px;
  background-color: transparent;
}
.coloredScroll::-webkit-scrollbar-thumb {
  border-radius: 8px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #EB2227;
}

body {
  font-family: Helvetica, sans-serif;
  scrollbar-color: #ccc #999;
}
body::-webkit-scrollbar {
  width: 12px;
  background-color: #999;
}
body::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #ccc;
}

/* 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;
}

/*** Typography (Links, Paragraphs, Headings, etc.)
----------------------------------------------------------------------------------------------------------------------------------*/
/* Fonts */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  opacity: 1;
}

/*** Validation
----------------------------------------------------------------------------------------------------------------------------------*/
input.form-control.ng-touched.ng-invalid,
select.form-control.ng-touched.ng-invalid,
select.form-select.ng-touched.ng-invalid {
  border: solid 2px red;
}

input.form-control.ng-touched.ng-invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + 0.75rem);
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'><circle cx='6' cy='6' r='4.5'/><path stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/><circle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

ngb-datepicker.dropdown-menu {
  z-index: 100000;
}

#topBar {
  font-weight: 300;
}

.ws {
  white-space: pre-wrap;
}

.disabledHideText:disabled {
  color: transparent;
}

.nv-uploader {
  min-height: 100px;
  border: dotted 2px #EB2227;
}

.nv-file-over {
  border: 3px double black !important;
}

.createUpdate {
  margin-top: 15em;
}

signature-pad {
  background-color: transparent !important;
}

app-root {
  min-height: 80vh;
}
app-root .holder {
  display: block;
  text-align: center;
  padding-top: 40vh;
  font-size: 35px;
  font-weight: bold;
}

app-header {
  display: block;
}

footer {
  font-family: Helvetica, sans-serif;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
h4,
h5,
h6,
.h4,
.h5,
.h6 {
  font-family: Helvetica, sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  line-height: normal;
  margin: 0 0 15px;
}

.btn,
a.button,
input.button {
  font-family: Helvetica, sans-serif;
  font-weight: 300;
}

/* Links */
a {
  color: #000;
  text-decoration: none;
}

a:hover {
  color: #333;
}

/*** Wrap
----------------------------------------------------------------------------------------------------------------------------------*/
#wrap {
  overflow: hidden;
  line-height: normal;
  min-height: 95vh;
  padding: 0;
}

main {
  max-width: 100vw;
  margin-left: auto !important;
  margin-right: auto !important;
}

main a {
  color: #EB2227;
  font-weight: bold;
}

main#noPanels {
  max-width: 100vw;
}

.border-primary {
  border-color: #EB2227 !important;
}

.btn-check:checked + .btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check) + .btn:active,
.btn-primary {
  background-color: #EB2227;
  border-color: #EB2227;
  color: #fff;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle {
  background-color: #FE7F41;
  border-color: #FE7F41;
}

.nav-link:focus, .nav-link:hover,
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #EB2227;
}

.nav-link,
.btn-check + .btn:hover,
.btn-outline-primary {
  background-color: #fff;
  border-color: #EB2227;
  color: #EB2227;
}

.btn-check + .btn-outline-primary:hover,
.btn-outline-primary:hover {
  background-color: #EB2227;
  border-color: #EB2227;
  color: #fff;
}

.btn-check:checked + .btn-outline-success,
.btn-check + .btn-outline-success:hover,
.btn-outline-success:hover {
  background-color: #198754;
  border-color: #198754;
  color: #fff;
}

.navbar-nav .nav-link,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link:hover {
  background-color: #fff;
  border: none;
  color: #000;
}

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

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
  color: #fff;
  pointer-events: none;
  background-color: #ccc;
  border-color: #ccc;
}

.noshadow,
.noshadow:focus,
.noshadow:active {
  box-shadow: none;
}

img.propertyItemImage {
  border: solid 2px black;
  max-width: 100%;
  width: 100%;
}

img.picklistphoto {
  border: double 2px #EB2227;
}

.selectedBorder {
  border: double 2px #EB2227;
}

label {
  font-weight: bold;
}

.timepicker-backdrop-overlay,
.timepicker-overlay {
  z-index: 10000 !important;
}

body.navSmall SideMenu {
  width: 55px;
}
body.navSmall SideMenu ul > li > a > span.text {
  display: none;
}
body.navSmall SideMenu ul > li {
  margin-right: 0;
  text-align: center;
}
body.navSmall SideMenu ul > li > a > i {
  width: 100%;
}
body.navSmall .bodyWrap {
  width: calc(100vw - 55px);
  margin-left: 55px;
}
body.navSmall .logo {
  display: none;
}

body.navClosed SideMenu {
  width: 0;
}
body.navClosed SideMenu ul > li > a {
  display: none;
}
body.navClosed .logo {
  display: none;
}
body.navClosed .bodyWrap {
  width: 100vw;
  margin-left: 0;
}

.bg-darkGray {
  background: #EB2227;
}

SideMenu {
  box-shadow: 3px 0 5px #ccc;
  width: 250px;
  height: 95vh;
  position: absolute;
  z-index: 0;
  transition: all 0.5s ease;
  overflow-y: auto;
}
SideMenu::-webkit-scrollbar {
  width: 12px;
  background-color: #999;
}
SideMenu::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
  background-color: #ccc;
}
SideMenu .logo {
  padding-top: 10px;
  text-align: center;
  width: 100%;
  display: inline-block;
}
SideMenu .logo img {
  max-height: 75%;
  max-width: 75%;
}
SideMenu ul {
  margin: 3rem 0 0;
  padding: 0;
  text-align: right;
}
SideMenu ul > li {
  list-style: none;
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 30px;
  margin-right: 15px;
}
SideMenu ul > li > a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 0;
  display: inline-block;
}
SideMenu ul > li > a > i {
  width: 40px;
  text-align: center;
  display: inline-block;
  font-size: 1.5rem;
  font-weight: bold;
}
SideMenu ul > li > a:hover {
  color: #000;
}

.bodyWrap {
  width: calc(100vw - 250px);
  margin-left: 250px;
  min-height: 95vh;
  position: relative;
  z-index: 1;
  transition: all 0.5s ease;
}
.bodyWrap .header.row {
  display: flex;
  align-items: center;
  font-weight: bold;
}

.list .row {
  padding-top: 8px;
  padding-bottom: 8px;
}
.list > .row:nth-child(even) {
  background-color: #ccc;
}

#header {
  min-height: 50px;
}

.menuToggle {
  cursor: pointer;
  display: block;
  background: none;
  border: none;
}
.menuToggle > span {
  background: #909090 none repeat scroll 0 0;
  display: block;
  height: 2px;
  width: 25px;
  -webkit-transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.menuToggle > span.icon-bar1 {
  margin-bottom: 8px;
}
.menuToggle > span.icon-bar2 {
  margin-bottom: 8px;
}
.menuToggle > span.icon-bar3 {
  width: 15px;
}

.form-check .form-check-input {
  margin-left: -1em;
}
.form-check .form-check-label {
  margin-top: 0.25rem;
  margin-left: 1em;
}

.form-check-input[type=radio] {
  border-color: black;
}

.form-switch .form-check-label {
  margin-top: 0;
  line-height: 35px;
  margin-left: 0.5em;
}
.form-switch .form-check-input[type=checkbox] {
  margin-left: -2.5em;
  border-radius: 2em;
  height: 25px;
  width: 50px;
}

@media screen and (min-width: 1200px) {
  .dispatchMapLeftTruck {
    border: solid 1px grey;
    background: white;
    border-radius: 10px;
  }
  .dispatchMapRightTruck {
    border: solid 1px grey;
    background: white;
    border-radius: 10px;
  }
}
button.close {
  background: none;
  border: none;
  font-size: x-small;
  padding: 0;
  margin: 0;
  float: inline-end;
}

ul.tags {
  margin: 0;
  padding: 0;
}
ul.tags li {
  white-space: nowrap;
  position: relative;
  display: inline-block;
  border-radius: 5px;
  border: 1px solid;
  color: #fff;
  background-color: #EB2227;
  text-align: center;
}
ul.tags li span {
  cursor: pointer;
}

address {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  button.sm-hide-text,
  a.sm-hide-text {
    font-size: 0;
  }
  button.sm-hide-text .fa,
  a.sm-hide-text .fa {
    font-size: initial;
    margin-top: 4px;
    margin-bottom: 4px;
  }
  .list a.btn,
  .list button.btn {
    font-size: 0;
  }
  .list a.btn .fa,
  .list button.btn .fa {
    font-size: initial;
    margin-top: 4px;
    margin-bottom: 4px;
  }
}
.text-wrap-truncate {
  overflow: hidden;
  text-overflow: ellipsis;
}

.braintree-method__check {
  display: none;
}

.fromDispatch {
  background-color: #469592;
  border-radius: 30px;
  padding: 10px;
  color: white;
  margin-left: 25%;
}

.toDispatch {
  background-color: #B3262A;
  border-radius: 30px;
  padding: 10px;
  color: white;
  margin-right: 25%;
}

.isRead {
  font-weight: regular;
}

.notRead {
  font-weight: bold;
}

.hasUnReadOnList {
  font-weight: bold;
}

.chatName {
  font-size: 0.7rem !important;
}
.chatName a.btn, .chatName a.btn-text {
  padding: 0;
  font-size: 0.7rem !important;
  color: white;
}

table.stickyRow thead,
table.stickyRow th {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 2;
}

img.logoSetter {
  background-color: #EB2227;
  padding: 20px;
}
