.panel-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 190, 0.05);
}
/* Navbar
-------------------------------------------------- */
.navbar {
  padding: 0.5rem 0;
  font-weight: normal;
  color: black;
}
.navbar .navbar-brand img {
  height: 3rem;
}
.navbar-nav .dropdown-menu.user-menu {
  position: absolute;
}
.navbar .nav-item .nav-link,
.navbar .nav-item .nav-link:hover,
.nav-link,
.nav-link:hover {
  color: black;
}
.navbar .navbar-nav .nav-link,
.nav-tabs .nav-link {
  transition: background-color 0.2s;
  background-color: transparent;
  padding: 0.5rem 1rem;
}
.navbar .navbar-nav .nav-link:hover,
.nav-tabs .nav-link:hover {
  background-color: #e0e0ff;
  transition: background-color 0s;
}
.nav-link.active {
  position: relative;
}
.nav-link.active:before {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 0;
  height: 4px;
  background-color: #FA2132;
  transition: left 0.2s, right 0.2s;
}
.nav-link.active:hover:before {
  left: 0;
  right: 0;
}
.nav-tabs .nav-link {
  border-radius: 0;
  border: none;
}
.nav-tabs .nav-link.active {
  color: black;
  background-color: transparent;
}
.nav-tabs .nav-link.active:hover {
  background-color: #e0e0ff;
}
.navbar .dropdown-menu {
  min-width: 25em;
  top: calc(100% - 2px);
}
/* Message banner
======================== */
.msg-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
}
.msg-panel > a {
  cursor: pointer;
}
.msg-panel > a.subtle {
  font-size: 0.9em;
  padding: 0.25em 2em;
}
.msg-panel i {
  vertical-align: baseline;
}
.msg-panel .msg-icon {
  font-size: 1.5em;
  margin-top: 0.1em;
  float: left;
}
.msg-panel .title {
  margin: 0 1em 0 1.5em;
  font-size: 1.5em;
  font-weight: normal;
}
.msg-panel .message {
  margin: 1em 0 0 0;
}
.msg-panel .container {
  padding: 1em;
  -webkit-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  position: relative;
}
.msg-panel .msg-panel-close {
  height: auto;
  padding: 14px 15px;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  display: block;
  background-color: transparent;
  cursor: pointer;
}
.msg-panel .msg-panel-close i {
  font-size: 2em;
}
.msg-panel .msg-panel-close:hover,
.msg-panel .msg-panel-close:focus {
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
}
.danger-block {
  background: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 8px, rgba(255, 255, 255, 0.05) 8px, rgba(255, 255, 255, 0.05) 16px), #ac2000;
  color: white;
}
.danger-block h1,
.danger-block h2,
.danger-block h3,
.danger-block h4,
.danger-block h5,
.danger-block h6 {
  color: white;
}
.danger-block::before {
  background: #791700;
}
.warning-block {
  background: #ec8200;
  color: white;
}
.warning-block::before {
  background: #b96600;
}
.success-block {
  background: #348b41;
  color: white;
}
.success-block::before {
  background: #266630;
}
.info-block {
  background: #e0e0ff;
  color: black;
}
.info-block::before {
  background: #c6c6ff;
}
.help-block {
  background: #199FFF;
  color: white;
}
.help-block::before {
  background: #0068b2;
}
.card-link {
  background-color: #444;
  color: white;
}
a:hover .card-link {
  background-color: #56d;
}
/* Loading panel
-------------------------------------------------- */
.loading-panel {
  background-color: #f8f8f8;
  padding: 5rem 1rem;
  font-size: 1.5em;
}
.loading-full-page {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(220, 220, 220, 0.3);
  font-size: 1.5em;
}
.loading-full-page p {
  position: absolute;
  top: 50%;
  margin-top: -2rem;
  width: 100%;
}
/* Autocomplete 
======================== */
.autocomplete {
  /*the container must be positioned relative:*/
  position: relative;
}
.autocomplete input {
  background-image: url(/images/autocomplete-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
  max-height: 60vh;
  overflow-y: auto;
  -webkit-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 3px 5px 0px rgba(0, 0, 0, 0.35);
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: DodgerBlue !important;
  color: #ffffff;
}
select {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/images/select-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
input[type=date] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/images/date-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
}
input[type=time] {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url(/images/time-icon.svg);
  background-position: calc(100% - 0.6rem) center;
  background-repeat: no-repeat;
  background-size: 1.5em;
  padding-right: 0.25rem;
}
::-webkit-inner-spin-button,
::-webkit-calendar-picker-indicator {
  opacity: 0;
}
.no-results-row {
  text-align: center;
  padding: 2em 0;
  font-weight: bold;
  font-size: 1.2em;
  color: 444;
}
.card > .table th {
  border-top: none;
  border-bottom-width: 1px;
}
.table tr:hover td {
  background-color: #FFF9F8;
}
.busy-container,
.busy-container-back {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
}
.busy-container-back {
  background-color: rgba(220, 220, 220, 0.7);
}
.dialog-container .busy-container-back {
  background-color: rgba(255, 255, 255, 0.7);
}
.busy-container img,
.busy-container i {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -25px;
  margin-top: -25px;
  -webkit-animation: spin 1s linear infinite;
  -moz-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  width: 50px;
  z-index: 110;
}
.busy-container.page-scope,
.busy-container.page-scope .busy-container-back {
  position: fixed;
}
@-moz-keyframes spin {
  100% {
    -moz-transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
  }
}
@keyframes spin {
  100% {
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
/* Dialog & message panel close button
======================================== */
a.msg-panel-close {
  position: absolute;
  right: 0;
  top: 0;
  display: block;
  padding: 1em;
  background-color: transparent;
  cursor: pointer;
}
a.msg-panel-close i {
  font-size: 2em;
}
a.msg-panel-close:hover,
a.msg-panel-close:focus {
  background-color: rgba(0, 0, 0, 0.35);
  color: white;
}
/* Dialog panel
======================== */
.dialog-panel {
  position: fixed;
  display: none;
  left: 50%;
  top: 50%;
  min-width: 20em;
  max-width: 30em;
  height: auto;
  margin-top: -12em;
  z-index: 2000;
  border: solid 1px silver;
  background-color: white;
  box-shadow: 0 0.2em 20px 0 rgba(0, 0, 0, 0.35);
}
.dialog-panel > p,
.dialog-panel > a,
.dialog-panel > a::after hover {
  display: block;
  padding: 1.3em 1.8em 1.3em 2em;
  color: inherit;
  margin: 0;
}
.dialog-panel > a {
  cursor: pointer;
}
.dialog-panel > a.subtle {
  font-size: 0.9em;
  padding: 0.25em 2em;
}
.dialog-panel i {
  vertical-align: baseline;
}
.dialog-panel .dialog-content {
  padding: 15px;
}
.dialog-panel .msg-icon {
  font-size: 1.5em;
  margin-right: 0.6em;
}
.dialog-panel > h3 {
  padding: 10px 15px;
}
.dialog-container-scroll {
  overflow-y: auto;
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.dialog-container-scroll .dialog-panel {
  position: absolute;
  display: block;
  top: 2em;
  margin-top: 0;
  margin-left: 0;
  left: 25%;
  width: 50%;
  height: auto;
  max-width: 40em;
  margin-bottom: 2em;
}
@media screen and (max-width: 960px) {
  .dialog-container-scroll .dialog-panel {
    left: 15%;
    width: 70%;
  }
}
@media screen and (max-width: 600px) {
  .dialog-container-scroll .dialog-panel {
    left: 5%;
    width: 90%;
  }
}
/* Full page overlay
	======================== */
.full-page-overlay {
  position: fixed;
  display: table;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(220, 220, 220, 0.7);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: unset;
}
.full-page-overlay .dialog-shim {
  display: table-cell;
  vertical-align: middle;
}
.full-page-overlay .full-page-container {
  position: fixed;
  left: 2em;
  top: 2em;
  right: 2em;
  bottom: 2em;
  background-color: #888;
  -webkit-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 5px 10px 1px rgba(0, 0, 0, 0.35);
}
.full-page-overlay .full-page-container .full-page-container-title {
  position: absolute;
  left: 0;
  top: 0;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.75);
}
.full-page-overlay .full-page-container .msg-panel-close {
  background: rgba(255, 255, 255, 0.75);
  padding: 10px 15px;
}
.full-page-overlay .full-page-container a.msg-panel-close:hover {
  color: #e0e0ff;
}
.full-page-overlay .full-page-container .scroll-container {
  position: absolute;
  left: 0;
  top: 3.2em;
  right: 0;
  bottom: 0;
  padding: 30px 15px;
  overflow-y: scroll;
}
.full-page-overlay .dialog-container {
  position: relative;
  margin: 0 auto;
  width: 90%;
  min-width: 20em;
  max-width: 60em;
  background-color: white;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 190, 0.05);
}
.full-page-overlay .dialog-container .dialog-title {
  position: relative;
  margin: 0;
  padding: 10px 15px 7px 15px;
  background-color: #199FFF;
  color: white;
}
.full-page-overlay .dialog-container .dialog-title h3 {
  margin: 0;
  padding: 11px 0;
  color: white;
}
.full-page-overlay .dialog-container .dialog-title .msg-panel-close {
  height: auto;
  bottom: 0;
  padding: 18px 15px;
}
.full-page-overlay .dialog-container .dialog-body,
.full-page-overlay .dialog-container .dialog-footer {
  width: 100%;
  padding: 10px 15px;
  margin: 0;
}
.full-page-overlay .dialog-container .dialog-body {
  max-height: calc(100vh - 10.5em);
  overflow-y: auto;
  padding-top: 20px;
}
.full-page-overlay .dialog-container .dialog-footer .btn-tray {
  margin-top: 10px;
}
/* Custom slider checkbox 
======================== */
.slidercheck-form-wrapper {
  position: relative;
  margin: 4px 0;
}
.slidercheck-form-wrapper input {
  width: 0;
  height: 0;
  overflow: hidden;
  position: absolute;
  z-index: -1;
  opacity: 0;
}
.slidercheck-form-wrapper .slidercheck-label {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 0.75em;
  line-height: normal;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}
.slidercheck-form-wrapper .slidercheck-fill {
  display: block;
  position: relative;
  width: 48px;
  height: 100%;
  background-color: white;
  border: 2px solid #d0d0d0;
  border-radius: 12px;
}
.slidercheck-form-wrapper .slidercheck-fill:after {
  content: "No";
  position: absolute;
  left: 48px;
  padding: 3px 6px;
}
.slidercheck-form-wrapper input:active ~ .slidercheck-fill,
.slidercheck-form-wrapper input:focus ~ .slidercheck-fill,
.slidercheck-form-wrapper .slidercheck-label:hover > .slidercheck-fill {
  border-color: #199FFF;
}
.slidercheck-form-wrapper input:active ~ .slidercheck-fill .slidercheck-handle,
.slidercheck-form-wrapper input:focus ~ .slidercheck-fill .slidercheck-handle,
.slidercheck-form-wrapper .slidercheck-label:hover > .slidercheck-fill .slidercheck-handle {
  background-color: #199FFF;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill {
  background-color: #348b41;
  border-color: #348b41;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill:after {
  content: "Yes";
}
.slidercheck-form-wrapper .slidercheck-handle {
  position: absolute;
  left: 2px;
  top: 2px;
  bottom: 2px;
  width: 16px;
  border-radius: 50%;
  background-color: #199FFF;
  transition: left 0.2s;
}
.slidercheck-form-wrapper input:checked ~ .slidercheck-fill .slidercheck-handle {
  left: 26px;
  background-color: white;
}
.slidercheck-form-wrapper input.on-off ~ .slidercheck-fill:after {
  content: "Off";
}
.slidercheck-form-wrapper input.on-off:checked ~ .slidercheck-fill:after {
  content: "On";
}
html,
body {
  font-family: Roboto, 'Segoe UI', sans-serif;
  font-size: 13px;
  background-color: #F4F4F4;
}
.w-narrow {
  width: 15em;
}
.d-inline-soft {
  display: inline-block;
}
.d-inline-soft.alert {
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
}
/* Validation
-------------------------------------------------- */
.validation-summary-valid {
  display: none;
}
.validation-summary-errors ul + h5 {
  margin-top: 0.5em;
}
.validation-summary-errors ul {
  margin: 0;
  padding-inline-start: 2em;
}
.input-validation-error {
  background-color: #fee;
  border-left: solid 5px red;
}
/* Page Header
-------------------------------------------------- */
.page-header {
  margin-bottom: 2rem;
}
/* Bootstrap tweaks
-------------------------------------------------- */
.form-check-label {
  vertical-align: middle;
  padding-left: 0.5em;
}
body {
  overflow-x: hidden;
}
.break-out {
  width: 100vw;
  position: relative;
  left: calc(-1 * (100vw - 100%) / 2);
}
table.hover tr:hover td {
  background-color: #eef;
}
.btn-secondary.disabled,
.btn-secondary:disabled {
  background-color: #ddd;
  color: #777;
  border-color: transparent;
}
@media (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
}
@media (min-width: 1600px) {
  .container {
    max-width: 1480px;
  }
}
/* Dropdown menu
-------------------------------------------------- */
.dropdown-menu {
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 0;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.dropdown-item {
  padding-top: 0.7em;
  padding-bottom: 0.7em;
}
.dropdown-toggle::after {
  font-size: 1.5em;
  vertical-align: 0.05em;
  margin-left: 0;
}
/* Card styles
-------------------------------------------------- */
.card {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 190, 0.05);
}
/* Sign-in page styles
-------------------------------------------------- */
.siginin-page-panel {
  position: absolute;
  left: 0;
  top: 0;
  height: 100vh;
  right: 50vw;
  background-image: url(/images/siginin-back.jpg);
  background-position: center right;
  background-size: cover;
  background-color: white;
  background-repeat: no-repeat;
  z-index: -1;
}
@media (max-width: 768px) {
  .siginin-page-panel {
    display: none;
  }
}
.siginin-logo {
  max-width: 100%;
}
/* Sticky footer styles
-------------------------------------------------- */
.btn-icon {
  margin-right: 0.5em;
}
/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}
body {
  margin-bottom: 60px;
  /* Margin bottom by footer height */
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 60px;
}
.footer .background {
  background-color: white;
}
.footer-logo {
  width: 15em;
  max-width: 100%;
}
.disabled-row {
  color: #aeaeae;
}
.disabled-row * {
  color: #aeaeae;
}
.rotate180 {
  transform: rotate(180deg);
}
