div.show {
  display: block;
}

div.hide {
  display: none;
}

.table input.form-control.form-control-sm.float-right {
  float: left !important;
}

div.justify-content-end {
  justify-content: center !important;
}

ul.damages {
  padding-left: 0px;
}

li.damages {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}

ul.pagination {
  margin-top: 20px;
}

.table .thead-light th {
  color: #495057;
  background-color: #e9ecef;
  border-color: #dee2e6;
  padding: 10px 10px 9px 10px;
}

thead.thead-light.text-dark span {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #3a474d;
  font-weight: normal;
  text-align: center;
  display: flow-root;
}

tbody.tablebody td {
  font-size: 0.875rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
  vertical-align: inherit;
}

tbody.tablebody td.ui-cell-data {
  font-size: 0.875rem;
  display: flex;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-right: 0px;
  border-bottom: 0px;
}

ul.pagination li.page-item select.form-control {
  height: 100%;
}

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

tr.done td {
  background-color: aquamarine;
}

tr.undone td {
  background-color: pink;
}

/* Style the Image Used to Trigger the Modal */
#carImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#carImg:hover {
  opacity: 0.7;
}

/* The Modal (background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 100px;
  /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.9);
  /* Black w/ opacity */
}

/* Modal Content (Image) */
.modal-content {
  margin: auto;
  display: block;
  max-width:524px;
  max-height:524px;
  width: auto;
  height: auto;
}

/* Caption of Modal Image (Image Text) - Same Width as the Image */
#caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  height: 150px;
}

/* Add Animation - Zoom in the Modal */
.modal-content,
#caption {
  animation-name: zoom;
  animation-duration: 0.6s;
}

@keyframes zoom {
  from {
    transform: scale(0)
  }

  to {
    transform: scale(1)
  }
}

/* The Close Button */
.close {
  position: absolute;
  right: 50px;
  top: 50px;
  color: #fff !important;
  font-size: 40px !important;
  font-weight: bold;
  transition: 0.3s;
  opacity: 1 !important;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
  .modal-content {
    width: 100%;
  }
}

.thumbImage {
  position: relative;
  margin-top: 20px;
  margin-right: 20px;
  float: left;
}

.thumbClose {
  color: #000000;
  position: absolute;
  top: -23px;
  right: -13px;
  font-size: 20px;
}

.thumbClose:hover,
.thumbClose:focus {
  text-decoration: none;
  cursor: pointer;
}

.listbutton {
  float: left;
  margin: 3px;
  text-align: center;
}

.listbutton div {
  font-size: 10px;
}

fieldset.form-group {
  border: 1px solid #dadfe2 !important;
  padding: 0 1em 1em 1em !important;
  margin: 0 0 1.5em 0 !important;
  -webkit-box-shadow: 0px 0px 0px 0px #dadfe2;
  box-shadow: 0px 0px 0px 0px #dadfe2;
}

legend.fieldset {
    width: auto;
    color: #88989b;
    font-size: 0.875rem;
    padding: 1em 1rem;
}

fieldset.row {
  padding: 1.25em;
}

@keyframes progressbar-slide {
  0% {
    transform: translateX(-200px);
  }

  70% {
    transform: translateX(500px);
  }

  100% {
    transform: translateX(500px);
  }
}

/* horizontal scroll for tables */
/* .ui-datatable-scrollable-table-wrapper {
  margin-bottom: 25px;
} */
/* .ui-datatable-emptymessage {
  display: none;
} */

th.ui-state-default.ui-unselectable-text {
  background-color: #f6f8f9;
}

th.ui-state-default.ui-unselectable-text.ui-sortable-column {
  background-color: #e6ecef;
}

/* material theme */
:root {
  /* --mdc-theme-primary: #012340; */
  --mdc-theme-primary: #1976d2;
  --mdc-theme-secondary: #fbaf41;
  /*--mdc-theme-on-primary: #495f90;
    --mdc-theme-on-secondary: #ffe172;*/
  --mdc-theme-text-primary: #ffffff;
  --mdc-theme-text-secondary: #333;
  --mdc-theme-text-on-primary: #001037;
  --mdc-theme-text-on-secondary: #c48003;
  /*--mdc-theme-surface: #263238; */
}

.mdc-dialog__title {
  color: #fff !important;
  background: #012340;
}

.triangle-container {
  left: calc(-50vw + 50%);
  position: fixed;
  right: calc(-50vw + 50%);
  top: 0;
  bottom: 0;
  z-index: -1;
  background-color: #012340;
}

/* Drawer */
.mdc-ripple-surface:hover::before {
  opacity: 0;
}
.mat-expansion-panel__content {
  margin-bottom: 25px;
}

.mdc-drawer__content {
  padding: 16px;
}

.drawer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  /* padding-left: 20px; */
  background-color: #012340;
  height: 64px;
  color: #fff;
}

.drawer-profile {
  display: flex;
  align-items: center;
  justify-content: start;
  padding: 10px 0px;
  border-top: solid 1px #fff;
  border-bottom: solid 1px #fff;
  background-image: none;
  background-color: #0B1226;
  background-size: cover;
  color: #fff;
  font-size: 12px;
}

.drawer-profile .material-icons {
  color: #fff;
  font-size: 25px;
}

.profile {
  display: flex;
  min-height: fit-content;
  align-items: center;
  flex-direction: column;
}

.profile a {
  color: black;
}

.app-sidebar .material-icons {
  padding-left: 0px !important;
}

.mdc-drawer li.mdc-list-item {
  padding: 0 14px !important;
}

.mdc-drawer .mdc-list-item--selected {
  border-left: 0px;
}

a.mdc-list-item--selected,
.mdc-list-item:hover,
.mdc-nav-li:hover {
  background-color: rgba(0, 0, 0, 0.12);
}

.mdc-drawer .mdc-list-item--selected::before {
  opacity: 0 !important;
}

/* Card elements*/
div.card {
  padding: 16px;
  border-radius: 4px;
  background-color: white;
  box-shadow: 0px 2px 1px -1px rgba(0, 0, 0, 0.2),
  0px 1px 1px 0px rgba(0, 0, 0, 0.14),
  0px 1px 3px 0px rgba(0, 0, 0, 0.12);
}

div.progressloader {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

img.loader {
  margin: auto;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: fixed;
  width: 150px;
  z-index: 1;
}

img.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  width: 150px;
  z-index: 1;
}

span.input-group-text {
  padding: 4px 10px;
}

.mat-toast-icon {
  padding-left: 0px;
}

.mat-toast-message button {
  margin-right: 10px;
}

.mdc-text-field {
  height: 35px;
}

.mdc-text-field .mat-text-field-input {
  padding: 6px 12px;
}

.mdc-text-field .mdc-icon-button {
  font-size: 15px;
}

.mdc-icon-button i.material-icons {
  font-size: 1em;
}

.form-group .mdc-icon-button,
.ui-cell-data .mdc-icon-button {
  height: 38px;
  padding: 3px;
  --mdc-ripple-fg-size: 0px !important;
}

.form-control.modified.valid,
.was-validated .form-control:valid {
    border-color: #28a745;
    /* padding-right: calc(1.5em + 0.75rem); */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.modified.valid:focus,
.was-validated .form-control:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.form-control.modified.valid ~ .valid-feedback,
.form-control.modified.valid ~ .valid-tooltip,
.was-validated .form-control:valid ~ .valid-feedback,
.was-validated .form-control:valid ~ .valid-tooltip {
    display: block;
}
.was-validated textarea.form-control:valid,
textarea.form-control.modified.valid {
    /* padding-right: calc(1.5em + 0.75rem); */
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}
.custom-select.modified.valid,
.was-validated .custom-select:valid {
    border-color: #28a745;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px,
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e")
            #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-select.modified.valid:focus,
.was-validated .custom-select:valid:focus {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.custom-select.modified.valid ~ .valid-feedback,
.custom-select.modified.valid ~ .valid-tooltip,
.was-validated .custom-select:valid ~ .valid-feedback,
.was-validated .custom-select:valid ~ .valid-tooltip {
    display: block;
}
.form-control-file.modified.valid ~ .valid-feedback,
.form-control-file.modified.valid ~ .valid-tooltip,
.was-validated .form-control-file:valid ~ .valid-feedback,
.was-validated .form-control-file:valid ~ .valid-tooltip {
    display: block;
}
.form-check-input.modified.valid ~ .form-check-label,
.was-validated .form-check-input:valid ~ .form-check-label {
    color: #28a745;
}
.form-check-input.modified.valid ~ .valid-feedback,
.form-check-input.modified.valid ~ .valid-tooltip,
.was-validated .form-check-input:valid ~ .valid-feedback,
.was-validated .form-check-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-control-input.modified.valid ~ .custom-control-label,
.was-validated .custom-control-input:valid ~ .custom-control-label {
    color: #28a745;
}
.custom-control-input.modified.valid ~ .custom-control-label::before,
.was-validated .custom-control-input:valid ~ .custom-control-label::before {
    border-color: #28a745;
}
.custom-control-input.modified.valid ~ .valid-feedback,
.custom-control-input.modified.valid ~ .valid-tooltip,
.was-validated .custom-control-input:valid ~ .valid-feedback,
.was-validated .custom-control-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-control-input.modified.valid:checked ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:checked ~ .custom-control-label::before {
    border-color: #34ce57;
    background-color: #34ce57;
}
.custom-control-input.modified.valid:focus ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.custom-control-input.modified.valid:focus:not(:checked) ~ .custom-control-label::before,
.was-validated .custom-control-input:valid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #28a745;
}
.custom-file-input.modified.valid ~ .custom-file-label,
.was-validated .custom-file-input:valid ~ .custom-file-label {
    border-color: #28a745;
}
.custom-file-input.modified.valid ~ .valid-feedback,
.custom-file-input.modified.valid ~ .valid-tooltip,
.was-validated .custom-file-input:valid ~ .valid-feedback,
.was-validated .custom-file-input:valid ~ .valid-tooltip {
    display: block;
}
.custom-file-input.modified.valid:focus ~ .custom-file-label,
.was-validated .custom-file-input:valid:focus ~ .custom-file-label {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}
.invalid-feedback {
    display: none;
    width: 100%;
    margin-top: 0.25rem;
    font-size: 80%;
    color: #dc3545;
}
.invalid-tooltip {
    position: absolute;
    top: 100%;
    z-index: 5;
    display: none;
    max-width: 100%;
    padding: 0.25rem 0.5rem;
    margin-top: 0.1rem;
    font-size: 0.875rem;
    line-height: 1.5;
    color: #fff;
    background-color: rgba(220, 53, 69, 0.9);
    border-radius: 0.25rem;
}
.form-control.modified.invalid,
.was-validated .form-control:invalid {
    border-color: #dc3545;
    /* padding-right: calc(1.5em + 0.75rem); */
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E");
    background-repeat: no-repeat;
    background-position: center right calc(0.375em + 0.1875rem);
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control.modified.invalid:focus,
.was-validated .form-control:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.form-control.modified.invalid ~ .invalid-feedback,
.form-control.modified.invalid ~ .invalid-tooltip,
.was-validated .form-control:invalid ~ .invalid-feedback,
.was-validated .form-control:invalid ~ .invalid-tooltip {
    display: block;
}
.was-validated textarea.form-control:invalid,
textarea.form-control.modified.invalid {
    /* padding-right: calc(1.5em + 0.75rem); */
    background-position: top calc(0.375em + 0.1875rem) right calc(0.375em + 0.1875rem);
}
.custom-select.modified.invalid,
.was-validated .custom-select:invalid {
    border-color: #dc3545;
    padding-right: calc((1em + 0.75rem) * 3 / 4 + 1.75rem);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='%23343a40' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right 0.75rem center/8px 10px,
        url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23dc3545' viewBox='-2 -2 7 7'%3e%3cpath stroke='%23dc3545' d='M0 0l3 3m0-3L0 3'/%3e%3ccircle r='.5'/%3e%3ccircle cx='3' r='.5'/%3e%3ccircle cy='3' r='.5'/%3e%3ccircle cx='3' cy='3' r='.5'/%3e%3c/svg%3E")
            #fff no-repeat center right 1.75rem / calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.custom-select.modified.invalid:focus,
.was-validated .custom-select:invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.custom-select.modified.invalid ~ .invalid-feedback,
.custom-select.modified.invalid ~ .invalid-tooltip,
.was-validated .custom-select:invalid ~ .invalid-feedback,
.was-validated .custom-select:invalid ~ .invalid-tooltip {
    display: block;
}
.form-control-file.modified.invalid ~ .invalid-feedback,
.form-control-file.modified.invalid ~ .invalid-tooltip,
.was-validated .form-control-file:invalid ~ .invalid-feedback,
.was-validated .form-control-file:invalid ~ .invalid-tooltip {
    display: block;
}
.form-check-input.modified.invalid ~ .form-check-label,
.was-validated .form-check-input:invalid ~ .form-check-label {
    color: #dc3545;
}
.form-check-input.modified.invalid ~ .invalid-feedback,
.form-check-input.modified.invalid ~ .invalid-tooltip,
.was-validated .form-check-input:invalid ~ .invalid-feedback,
.was-validated .form-check-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-control-input.modified.invalid ~ .custom-control-label,
.was-validated .custom-control-input:invalid ~ .custom-control-label {
    color: #dc3545;
}
.custom-control-input.modified.invalid ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid ~ .custom-control-label::before {
    border-color: #dc3545;
}
.custom-control-input.modified.invalid ~ .invalid-feedback,
.custom-control-input.modified.invalid ~ .invalid-tooltip,
.was-validated .custom-control-input:invalid ~ .invalid-feedback,
.was-validated .custom-control-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-control-input.modified.invalid:checked ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:checked ~ .custom-control-label::before {
    border-color: #e4606d;
    background-color: #e4606d;
}
.custom-control-input.modified.invalid:focus ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
.custom-control-input.modified.invalid:focus:not(:checked) ~ .custom-control-label::before,
.was-validated .custom-control-input:invalid:focus:not(:checked) ~ .custom-control-label::before {
    border-color: #dc3545;
}
.custom-file-input.modified.invalid ~ .custom-file-label,
.was-validated .custom-file-input:invalid ~ .custom-file-label {
    border-color: #dc3545;
}
.custom-file-input.modified.invalid ~ .invalid-feedback,
.custom-file-input.modified.invalid ~ .invalid-tooltip,
.was-validated .custom-file-input:invalid ~ .invalid-feedback,
.was-validated .custom-file-input:invalid ~ .invalid-tooltip {
    display: block;
}
.custom-file-input.modified.invalid:focus ~ .custom-file-label,
.was-validated .custom-file-input:invalid:focus ~ .custom-file-label {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Login page */

.main-head {
  height: 150px;
  background: #FFF;

}

.sidenav {
  height: 100%;
  background-image: url("../images/auth.jpg");
  overflow-x: hidden;
  padding-top: 20px;
}


.main {
  padding: 0px 10px;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
}

@media screen and (max-width: 450px) {
  .login-form {
    margin-top: 10%;
  }

  .register-form {
    margin-top: 10%;
  }
}

@media screen and (min-width: 768px) {
  .main {
    margin-left: 40%;
  }

  .sidenav {
    width: 40%;
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
  }

  .login-form {
    margin-top: 80%;
  }

  .register-form {
    margin-top: 20%;
  }
}


.login-main-text {
  margin-top: 20%;
  padding: 60px;
  color: #fff;
}

.login-main-text h2 {
  font-weight: 300;
}

.btn-black {
  background-color: #000 !important;
  color: #fff;
}