﻿prehtml,
body {
  font-size: 12px;
}
h1,
h2,
h3,
h4,
.page-header-text {
  font-weight: 400;
}
h1 {
  font-weight: 600;
  font-size: 1.8em;
  padding-bottom: 8px;
  border-bottom: 1px solid #eee;
  color: #555;
}
h2 {
  font-size: 1.5em;
  color: #444;
}
h3-4js {
  font-size: 1.2em;
  font-weight: 600;
  color: #212427;
}
h3 {
  font-size: 1.2em;
  color: #2b547e;
}
h4 {
  font-size: 1.2em;
  color: #2b547e;
}
h5 {
  font-size: 1.06em;
}
h6 {
  font-size: 1em;
}
.table-sm td, .table-sm th {
    padding: .1rem !important;
}

/* Make sure context menus appear above the modal */
.scm-container {
  position: absolute;      /* or fixed */
  z-index: 1100 !important;/* > your modal’s 1050 */
}


input[type=checkbox].form-control {
    height: calc(1.5em + .75rem + -3px);
    margin-bottom: 5px;
}

table.dataTable.compact tbody th, table.dataTable.compact tbody td {
    padding: 2px 5px 2px 5px;
}

th.dt-body-right {
    text-align: end !important;
}

/* applies to any DataTable column your generator marks as narrow */
.dtcol-narrow {
  width: 5px !important;   /* choose your fixed pixel width */
  min-width: 5px !important;
  max-width: 5px !important;
  text-align: center;
  white-space: nowrap;
  padding-left: 0;
  padding-right: 0;
}

.dt-buttons2{
  position: relative;
  float: left;
}

.table td, .table th{
    border-top: 0px !important;
}

div.dataTables_wrapper div.dataTables_filter select, div.dataTables_wrapper div.dataTables_filter input {
  width: 80px !important;
}

@media (min-width: 1020px) {
    @supports (margin: max(calc(0px))) {
        .width-container {
            margin-right: auto;
            margin-left: auto;
        }
    }
}
@media (min-width: 60.0625em) {
    .width-container {
        margin-right: auto !important;
        margin-left: auto !important;
    }
}

.width-container {
    max-width: 960px;
    margin-right: 15px;
    margin-left: 15px;
}


.input-width-100 { width: 100% !important; }
.input-width-90  { width: 100% !important; }
.input-width-80  { width: 100% !important; }
.input-width-70  { width: 100% !important; }
.input-width-65  { width: 100% !important; }
.input-width-60  { width: 100% !important; }
.input-width-50  { width: 100% !important; }
.input-width-45  { width: 100% !important; }
.input-width-40  { width: 100% !important; }
.input-width-35  { width: 100% !important; }
.input-width-33  { width: 100% !important; }
.input-width-30  { width: 100% !important; }
.input-width-25  { width: 100% !important; }
.input-width-20  { width: 100% !important; }
.input-width-15  { width: 100% !important; }
.input-width-12\.5 { width: 100% !important; }  /* note the escaped decimal */
.input-width-10  { width: 100% !important; }

/* Mobile-specific adjustment for date inputs */
@media (max-width: 60em) {
  input[type="date"] {
    max-width: 155px;
    width: 100%;
  }
}

/* Desktop rules */
@media (min-width: 60.0625em) {
  div.dataTables_wrapper div.dataTables_filter select,
  div.dataTables_wrapper div.dataTables_filter input {
    width: 172px !important;
  }

  .input-width-100 { width: calc(100% - 20px) !important; margin-right: 20px; }
  .input-width-90  { width: calc(90% - 20px) !important; margin-right: 20px; }
  .input-width-80  { width: calc(80% - 20px) !important; margin-right: 20px; }
  .input-width-70  { width: calc(70% - 20px) !important; margin-right: 20px; }
  .input-width-65  { width: calc(65% - 20px) !important; margin-right: 20px; }
  .input-width-60  { width: calc(60% - 20px) !important; margin-right: 20px; }
  .input-width-50  { width: calc(50% - 20px) !important; margin-right: 20px; }
  .input-width-45  { width: calc(45% - 20px) !important; margin-right: 20px; }
  .input-width-40  { width: calc(40% - 20px) !important; margin-right: 20px; }
  .input-width-35  { width: calc(35% - 20px) !important; margin-right: 20px; }
  .input-width-33  { width: calc(33.33% - 20px) !important; margin-right: 20px; }
  .input-width-30  { width: calc(30% - 20px) !important; margin-right: 20px; }
  .input-width-25  { width: calc(25% - 20px) !important; margin-right: 20px; }
  .input-width-20  { width: calc(20% - 20px) !important; margin-right: 20px; }
  .input-width-15  { width: calc(15% - 20px) !important; margin-right: 20px; }
  .input-width-12\.5 { width: calc(12.5% - 20px) !important; margin-right: 20px; }
  .input-width-10  { width: calc(10% - 20px) !important; margin-right: 20px; }
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 36px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 32px !important;
}
.select2-container .select2-selection--single {
    height: 36px !important;
}

.actionmenu_button{
    background: rgb(255, 255, 255);
    border-radius: 5px;
    padding: 15px 24px;
    min-width: 210px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 10px 0px;
    position: absolute;
    transform: translate3d(0px, 31px, 0px);
    top: 0px;
    left: 0px;
    will-change: transform;
    margin-left: 0.333em;
}

.colorkey {
  margin-left: 10px;
  padding: 5px;
  height: auto;
  width: auto;
  border: 1px #dcdcdc;
  border-radius: 20px;
  cursor: pointer;
}

.column4js {
  flex: 50%;
  padding: 10px;
}

@media screen and (max-width: 700px) {
  .column4js {
    flex: 100%;
  }
}

.inCart {
  color: #00c851;
}

option {
  padding: 4px 3px;
  border-radius: 3px;
}
footer {
  border-top: 1px solid silver;
  font-size: 0.85em;
  margin: 0;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
}

.table-dark-headers tr th {
  background: #636363;
  color: white;
}
.table-dark-headers tr th a,
.table-dark tr th a:visited {
  text-decoration: none;
  color: cornsilk;
}

code {
  background: #eee;
  color: #333;
  padding: 2px 5px;
  font-weight: 600;
  font-family: consolas, monospace;
  border-radius: 3px;
}

pre {
  font-family: consolas, monospace;
  font-size: 0.875em !important;
  font-weight: normal;
  line-height: 1.45;
  background: #f2f2f2;
  color: #333;
  /*margin: 7px 0 !important;*/
  padding: 5px;
  border: 1px solid #eee;
  border-radius: 4px;

  overflow-x: auto;
  white-space: pre;
  word-break: normal;
  word-wrap: normal;
}
pre.no-container {
  border: none;
  padding: 0;
}

pre code {
  white-space: pre;
  font-weight: normal;
  background: transparent;
  padding: 0.8em !important;
}

blockquote {
  background: #ecf5ff;
  font-size: 1.04em;
  padding: 10px 10px 10px 20px !important;
  margin: 1.1em 1.3em 1.1em 1em;
  border-left: 8px #507bac solid;
  border-radius: 4px 0 0 4px;
}
blockquote > p:last-child {
  margin: 0;
}

strong,
b {
  font-weight: 600;
  color: #2b547e;
}
img {
  max-width: 100%;
}

/* Font-awsome based radios and checkboxes */
input[type="radio"].with-font,
input[type="checkbox"].with-font {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  margin: 0;
  position: absolute;
}

input[type="radio"].with-font ~ label:before,
input[type="checkbox"].with-font ~ label:before {
  font-family: "Font Awesome 5 Free";
  content: "\f111"; /* fa-circle-thin */
  letter-spacing: 10px;
  font-size: 1.2em;
  color: #535353;
  xwidth: 1.3em; /* reduce bounce */
}

input[type="radio"].with-font:checked ~ label:before {
  content: "\f00c"; /* fa-check */
  color: darkgreen;
  font-weight: 600;
}
input[type="radio"].with-font ~ label:before {
  content: "\f111"; /* fa-circle */
  font-weight: 500;
}

input[type="checkbox"].with-font ~ label:before {
  content: "\f0c8"; /* fa-square-o */
  font-weight: 400;
}

input[type="checkbox"].with-font:checked ~ label:before {
  content: "\f14a"; /* fa-check-square */
  color: green;
}

/* BootStrap overrides */
.nav-link {
  color: #f8f9fa;
  padding: .25rem .5rem;
}
a {
  color: #0075d9;
}
a:hover {
  color: #337ab6;
}
label {
  font-weight: 600;
}
.panel-heading {
  font-weight: 600;
  font-size: 1.4em;
  margin-bottom: 2em;
}
.btn-primary {
  background-color: #337ab6;
  border-color: #337ab6;
}
.card-header {
  font-weight: 400;
  padding: .25em .25em;
}
.badge-super {
  font-size: 0.5em;
  vertical-align: super;
}

/* font-awesome overrides - legacy icons*/
.fa-warning:before {
  content: "\f071";
}
.fa-gear :before {
  content: "\f013";
}
.fa-gears :before {
  content: "\f085";
}

/* Common CSS */

.right {
  text-align: right;
}

/* hidden and out of the document flow */
.hidden {
  display: none;
}
/* hidden display, but still part of document flow */
.visually-hidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* hidden in below tablet and phone (-xs) sizes respectively */
.hidable,
.hidable-xs {
}

/* flows child elements evenly to fill 100%*/
.responsive-container {
  display: flex;
  vertical-align: middle;
}
.responsive-container > * {
  margin-right: 3px;
}
.responsive-container > *:last-child {
  margin-right: 0;
}
.stackable {
}
@media (max-width: 768px) {
  .responsive-container {
    flex-direction: column;
  }
  .responsive-container > * {
    margin-right: 0;
    margin-top: 4px;
    width: 100% !important;
  }
  .stackable {
    display: block;
    margin-top: 4px;
  }
}

/* West Wind Component Features */

.error,
.red-highlight,
.binding-error {
  color: firebrick;
  font-weight: bold;
}
.error-inline {
  color: firebrick;
  display: inline;
}
.binding-error {
  padding: 5px 0;
  font-size: 0.85em;
}
.highlight {
  background: #c6f1c6 !important;
}
.title-bar {
  padding: 6px;
  position: absolute;
  top: 2px;
  left: 2px;
  z-index: 11;
}
.title-bar.no-slide-menu {
  left: 5px;
}
.title-bar-icon {
  height: 45px;
  float: left;
}

.list {
  border: 1px #eee solid;
  margin-top: 40px;
  margin-bottom: 30px;
  border-radius: 4px;
}

.list-header {
  font-size: 1.1em;
  font-weight: 600;
  padding: 14px;
  background: #656565;
  color: #eee;
  border-radius: 4px 4px 0 0;
}

.list-item {
  padding: 12px;
  border-bottom: 1px solid #eee;
}
.list-item-header {
  font-weight: 600;
  font-size: 1.1em;
}

.list-item.alternate {
  background: #f2f2f2;
}

.list-item.active {
  background: lightsteelblue;
}

.banner {
  //background: #535353;
  color: #e1e1e1;
  position: fixed;
  //opacity: 0.95;
  top: 0;
  left: 0;
  padding-top: 6px;
  height: 55px;
  width: 100%;
  z-index: 10;
  //box-shadow: 3px 3px 8px #828282;
}
.banner.active {
  color: white;
  font-weight: bolder;
}
.banner nav {
  display: inline-block;
  margin-right: 3px;
  padding: 4px;
}

.banner nav a,
.banner nav input {
  display: inline-block;
  padding: 6px 6px 6px;
  color: #eee;
  margin-top: 3px;
  text-decoration: none;
}

.banner nav a img {
  height: 24px;
  vertical-align: top;
}

.banner nav a:hover {
  color: white;
  background: #767676;
  text-decoration: none;
  border-bottom: solid 4px silver;
  border-radius: 2px;
}

.banner nav a.active,
.banner nav a.selected {
  color: white;
  font-weight: bold;
  border-bottom: solid 4px orange;
  border-radius: 2px;
}
.banner nav .dropdown a,
.banner nav .dropdown a:hover {
  border-bottom: none;
}
.banner nav .dropdown a:hover {
  background: #999;
}

.banner-bottom {
  position: fixed;
  bottom: 0;
  top: auto;
  text-align: center;
  padding-top: inherit;
  height: 43px;
  display: none;
}

.banner-bottom a {
  margin: 0 20px;
}


.slide-menu {
  position: fixed;
  top: 55px;
  left: 0;
  bottom: 0;
  width: 0;
  //background: #535353;
  //background: linear-gradient(to bottom, #535353 0, #707070 100%);
  transition: width 0.5s ease-out;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: auto;
  z-index: 2000;
}
.slide-menu.active {
  width: 300px;
  //border: 1px #868686 solid;
  //box-shadow: 2px 2px 4px #535353;
}
.slide-menu a,
.slide-menu a:visited,
.slide-menu a:hover {
  text-decoration: none;
  color: white;
  display: block;
  padding: 8px;
  overflow-x: hidden;
  /*border-bottom: 1px solid silver;*/
}
.slide-menu a.indented {
  margin-left: 25px;
  width: 82%;
}
.slide-menu a.dbl-indented {
  margin-left: 50px;
  width: 74%;
}
.slide-menu a.trp-indented {
  margin-left: 75px;
  width: 65%;
}
.slide-menu a:hover {
  background: #eee;
  background: linear-gradient(to bottom, #888 0, #696969 100%);
}
.slide-menu a.disabled,
.slide-menu a.disabled:hover {
  background: transparent;
  color: #ccc;
}
.slide-menu a.header,
.slide-menu a.header:hover {
  background: transparent;
  color: floralwhite;
  font-weight: 600;
  background: #606060;
}
a.slide-menu-toggle-close,
a.slide-menu-toggle-close:hover {
  background: transparent;
  color: white;
  width: 40px;
  font-size: 1.2em;
  padding: 3px;
  margin-bottom: 15px;
  margin-left: 5px;
  margin-top: 7px;
  border-bottom: 0 none !important;
}
a.slide-menu-toggle-open,
a.slide-menu-toggle-open:hover {
  //position: absolute;
  text-decoration: none;
  top: 20px;
  left: 10px;
  font-size: 1.2em;
  color: white;
  margin-bottom: 10px;
  border-bottom: none;
}
.slide-menu-toggle-open.no-slide-menu {
  display: none;
}

.slide-creator {
  position: fixed;
  top: 55px;
  left: 0;
  bottom: 0;
  width: 0;
  //background: #535353;
  //background: linear-gradient(to bottom, #535353 0, #707070 100%);
  transition: width 0.5s ease-out;
  white-space: nowrap;
  overflow-x: auto;
  overflow-y: auto;
  z-index: 2000;
}
.slide-creator.active {
  width: 300px;
  //border: 1px #868686 solid;
  //box-shadow: 2px 2px 4px #535353;
}
.slide-creator a,
.slide-creator a:visited,
.slide-creator a:hover {
  text-decoration: none;
  color: white;
  display: block;
  padding: 10px;
  overflow-x: hidden;
  border-bottom: 1px solid silver;
}
.slide-creator a.indented {
  margin-left: 25px;
}
.slide-creator a:hover {
  background: #eee;
  background: linear-gradient(to bottom, #888 0, #696969 100%);
}
.slide-creator a.disabled,
.slide-creator a.disabled:hover {
  background: transparent;
  color: #ccc;
}
.slide-creator a.header,
.slide-creator a.header:hover {
  background: transparent;
  color: floralwhite;
  font-weight: 600;
  background: #606060;
}
a.slide-creator-toggle-close,
a.slide-creator-toggle-close:hover {
  background: transparent;
  color: white;
  width: 40px;
  font-size: 1.2em;
  padding: 3px;
  margin-bottom: 15px;
  margin-left: 5px;
  margin-top: 7px;
  border-bottom: 0 none !important;
}
a.slide-creator-toggle-open,
a.slide-creator-toggle-open:hover {
  //position: absolute;
  text-decoration: none;
  top: 20px;
  left: 10px;
  font-size: 1.2em;
  color: white;
  margin-bottom: 10px;
  border-bottom: none;
}
.slide-creator-toggle-open.no-slide-creator {
  display: none;
}



/* West Wind Main Page Layout */

#MainView {
  position: absolute;
  margin: 57px auto 10px auto;
  min-height: calc(100vh - 190px);
  min-width: 50px;
  max-width: 2000px;
  width: 100%;
}
#MainView.fixed {
  position: absolute;
  left: 0;
  top: 55px;
  bottom: 0;
  padding-top: 10px;
  width: 100%;
  z-index: 11;
  -webkit-overflow-scrolling: touch;
}

.page-header-text {
  font-size: 1.52em;
  color: #0092d0;
  padding-bottom: 5px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e1e1e1;
}
.separator {
  padding: 3px 0;
  margin: 10px 0 15px 0;
  border-bottom: solid 1px #e1e1e1;
}
.scrollbox {
  min-height: 200px;
  overflow-y: scroll;
}
.margin-top {
  margin-top: 25px;
}
.margin-top-2x {
  margin-top: 50px;
}
.margin-bottom {
  margin-bottom: 25px;
}
.margin-bottom-2x {
  margin-bottom: 40px;
}
.margin-sides {
  margin-left: 3%;
  margin-right: 3%;
}

.margin-sides-2x {
  margin-left: 6%;
  margin-right: 6%;
}

.margin-sides-auto {
  margin-left: auto;
  margin-right: auto;
}

.record-container {
  background: #f1f1f1;
  border: 1px solid silver;
}
.record-container > .row {
  padding: 8px 12px;
  margin-right: 0;
  margin-left: 0;
}
.record-container > .row.alternate {
  background: white;
}
select.invalid,
textarea.invalid,
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]).invalid {
  background: lightpink;
  border-left: 5px solid red;
}
input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]).valid,
select:not(.pristine).invalid,
textarea:not(.pristine):not(.untouched).valid {
  background: #adfbdc;
  border-left: 5px solid green;
}
@media (max-width: 767px) {
  .container {
    padding-left: 9px;
    padding-right: 6px;
  }
  .banner nav a span {
    display: none;
  }
  //a.slide-menu-toggle-open,
  // a.slide-menu-toggle-open:hover {
  //display: block;
  //}

  //a.slide-creator-toggle-open,
  //a.slide-creator-toggle-open:hover {
  //  display: block;
  //}

  .hidable {
    display: none !important;
  }
  .record-container {
    border: none;
  }
  .record-container > .row {
    border: none;
  }
}
@media (max-width: 480px) {
  .hidable-xs {
    display: none !important;
  }
  .stacked {
    display: block;
    width: auto !important;
    margin-bottom: 4px;
  }
}

.modal {
  position: fixed;
  top: 0;
  //z-index: 10;
}

.modal-backdrop {
  //z-index: 9 !important;
}

.modal-dialog {
  //margin: 2px auto;
}

.modal-header {
  padding: 15px 15px 5px;
}

.modal-body {
  padding: 10px 20px 5px 20px;
}

form
  input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not(.ng-pristine):not(.ng-untouched).ng-invalid,
select:not(ng-pristine).ng-invalid,
textarea:not(.ng-pristine).ng-invalid {
  background: pink;
  border-left: 5px solid red;
}

[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
  display: none !important;
}

.fas[data-count]{
    position:relative;
}
.fas[data-count]:after{
    position: absolute;
    right: -0.75em;
    top: -.75em;
    content: attr(data-count);
    padding: .1em;
    border-radius: 10em;
    line-height: .9em;
    color: white;
    background: rgba(255,0,0,.75);
    text-align: center;
    min-width: 2em;
    font: bold .5em sans-serif;
}

        .dtcards tbody tr {
            float: left;
            width: 20rem;
            margin: 0.5rem;
            border: 0.0625rem solid rgba(0,0,0,.125);
    	      border-radius: .25rem;
            box-shadow: 0.25rem 0.25rem 0.5rem rgba(0,0,0,0.25);
        }
        .dtcards tbody td {
            display: block;
        }
        .dt-card-label {
            display: none;
        }
        .dtcards .dt-card-label {
        	display: block;
        	position: relative;
        	font-size: 85%;
        	top: -0.0rem;
        	float: left;
        	color: #808080;
        	min-width: 4rem;
        	margin-left: 0;
        	margin-right: 1rem;
        	text-align: left;
                width: 100px;
        }
        tr.selected label {
            color: #404040;
        }
        
        //.table .fa {
        //    font-size: 2.5rem;
        //    text-align: center;
        //}
        //.dtcards .fa {
        //    font-size: 7.5rem;
        //}

.dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>thead>tr>td, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>th, .dataTables_wrapper .dataTables_scroll div.dataTables_scrollBody>table>tbody>tr>td {
    min-height: 40px;
}

@media screen and (max-width: 700px) {
  div.dt-buttons {
      text-align: left !important;
  }
  div.dataTables_wrapper div.dataTables_filter {
      text-align: left !important;
  }
}

div.dataTables_wrapper div.dataTables_filter {
    text-align: right;
    margin-bottom: 5px;
}

.nopadding {
   padding: 0 !important;
   margin: 0 !important;
}

table.dataTable tr.dtrg-group th {
    background-color: rgba(0, 0, 0, 0.1);
    text-align: left
}

table.dataTable tr.dtrg-group.dtrg-level-0 th {
    font-weight: bold
}

table.dataTable tr.dtrg-group.dtrg-level-1 th,table.dataTable tr.dtrg-group.dtrg-level-2 th,table.dataTable tr.dtrg-group.dtrg-level-3 th,table.dataTable tr.dtrg-group.dtrg-level-4 th,table.dataTable tr.dtrg-group.dtrg-level-5 th {
    background-color: rgba(0, 0, 0, 0.05);
    padding-top: .25em;
    padding-bottom: .25em;
    padding-left: 2em;
    font-size: .9em
}

table.dataTable tr.dtrg-group.dtrg-level-2 th {
    background-color: rgba(0, 0, 0, 0.01);
    padding-left: 2.5em
}

table.dataTable tr.dtrg-group.dtrg-level-3 th {
    background-color: rgba(0, 0, 0, 0.01);
    padding-left: 3em
}

table.dataTable tr.dtrg-group.dtrg-level-4 th {
    background-color: rgba(0, 0, 0, 0.01);
    padding-left: 3.5em
}

table.dataTable tr.dtrg-group.dtrg-level-5 th {
    background-color: rgba(0, 0, 0, 0.01);
    padding-left: 4em
}

html.dark table.dataTable tr.dtrg-group th {
    background-color: rgba(255, 255, 255, 0.1)
}

html.dark table.dataTable tr.dtrg-group.dtrg-level-1 th {
    background-color: rgba(255, 255, 255, 0.05)
}

html.dark table.dataTable tr.dtrg-group.dtrg-level-2 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-3 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-4 th,html.dark table.dataTable tr.dtrg-group.dtrg-level-5 th {
    background-color: rgba(255, 255, 255, 0.01)
}

.toast-top-full-width
{
    width: 300px;
    margin: 0 auto;
    left: 0;
}

.img-500{
    float: left;
    width:  500px;
    height: 500px;
    object-fit: cover;
}
.img-400{
    float: left;
    width:  400px;
    height: 400px;
    object-fit: cover;
}
.img-300{
    float: left;
    width:  300px;
    height: 300px;
    object-fit: cover;
}
.img-200{
    float: left;
    width:  200px;
    height: 200px;
    object-fit: cover;
}
.img-100{
    float: left;
    width:  100px;
    height: 100px;
    object-fit: cover;
}

div.DTED_Lightbox_Wrapper {
  z-index: 1050 !important;
}

@keyframes pulse {
  0% { background-color: rgba(231, 28, 28, 0.2); }
  50% { background-color: rgba(231, 28, 28, 0.5); }
  100% { background-color: rgba(231, 28, 28, 0.2); }
}

.pulse-effect {
  animation: pulse 0.8s ease-in-out 3;
}

.dtFlexControls {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .dtFlexControls {
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

  .dtFlexControls.show {
    display: flex;
  }
}

/* make the entire snippet box much darker */
#messageSnippet {
  color: #FFFFFF !important;                   /* bright, high‐contrast text */
  background-color: rgba(0, 0, 0, 0.7);        /* 70% opaque black */
  padding: 4px 8px;                            /* more breathing room */
  border-radius: 4px;                          /* slightly bigger corners */
  font-weight: 600;                            /* bold enough that small fonts are readable */
  font-size: 0.95rem;                          /* bump font size just a hair */
  max-width: 160px;                            /* avoid wrapping */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;                     /* “…” if too long */
  transition: background-color 0.15s ease;
}

/* lighten slightly on hover so the user knows it’s clickable */
#messageSnippet:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.dropdown-menu[aria-labelledby="messagesDropdown"] {
  min-width: 400px !important;
}

/* The two rules below were added to stop pages and datatables from resizing when scrollbars appear and disappear within the page dynamically */

/* Reserve scrollbar gutter space but only when a datatable exists */
body:has(table.dataTable),
html:has(table.dataTable) {
  scrollbar-gutter: stable;  /* reserve space for the right gutter */
}

/* Reserve scrollbar gutter space within any datatables */
.dataTables_wrapper .dataTables_scrollBody {
  scrollbar-gutter: stable;   /* prevents width jump on v-scrollbar toggle */
}