body {padding:10px;padding-top:40px;font-family:"Arial";}
h1 {font-size:1.2em;color:#82051C;}
h2 {font-size:0.8em;font-style:italics;color:grey;font-weight:normal;line-height:0.1em;}
h3 {font-size:1em;color:black;line-height:0.1em;margin:10px;}
h5 {font-size:0.9em;color:black;line-height:0.4em;margin:5px;margin-top:25px;}
.filter {margin-right:10px;}
.fromto {width:100px;}
.ui-datepicker {z-index:1000 !important;} /* to make sure it floats above floatheader */
.dollar1 {display:inline-block;vertical-align:middle;padding-left:10px;}
.dollar2 {float:right;padding-right:5px;}
.money-input-wrap {display:flex;align-items:center;gap:8px;width:100%;}
.money-input-wrap input {margin-left:auto;float:none !important;}

div.menubox {float:left;margin:5px;padding:10px;border:1px solid black;}

p,li,select,input {font-size:1em;color:black;line-height:1.2em;}
select {background:#cce1ff;}
a {color:#82051C;}
.sql {color:blue;}
div.session {width:100%;background:#f5e2da;height:34px;position:fixed;top:0px;left:0px;box-sizing:border-box;z-index:999;padding-top:1px;}
div.show {font-weight:bold;color:#82051C;font-size:1em;line-height:2.0em;vertical-align:middle;float:left;padding-left:2em;}
div.user {color:black;font-size:1em;line-height:2.0em;vertical-align:middle;float:right;padding-right:2em;}
.small {font-size:.8em}
button {border:1px solid grey;background-color:#82051C;color:white;font-size:1em; line-height:2em;}
table,td,th,input,select {border: 1px solid grey;border-collapse: collapse;padding:5px;}
.topmenu {float:left;}
.noajax {background:white;pointer-events:none;}
.mobileshow {display:none !important;}

/* mobile specific styles */
/* NOTE: requires 'viewport' meta tag to be set */
@media only screen and (max-width: 1000px) {
  .mobileshow {display:initial !important;}
  .mobilehide {display:none !important;}
  .searchbox {width:170px;}
  div.session {width:100%;height:34px;position:fixed;top:0px;left:0px;box-sizing:border-box;z-index:999;padding-top:1px;}
  div.user {width:100%;background:#ece7d7;float:left;top:34px;position:absolute;padding-left:2em;}
  body {padding-top:70px;}
}

/* styles for report tables */
.ajaxinput {border:0;background:#f7f0da;}
.transparent {background:transparent;}
.num {width:75px;text-align:right;}
.txt {width:auto;max-width:250px;text-align:left;} /* changed max width from 170px to 250px to accomodate long cast names*/
.txtarea {width:auto;text-align:left;height:80px;}
.smalltable {font-size:smaller;}
.grid-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    grid-gap: 10px;
}
.grid-container.sidebar-layout {
  margin-left: -10px;
  margin-top: -6px;
  min-height: calc(100vh - 34px);
  column-gap: 10px;
  align-items: stretch;
  grid-template-columns: max-content minmax(0, 1fr);
}
.grid-container.audits-grid {
  grid-template-columns: max-content minmax(0, 1fr);
}
div.sidebar {border:1px solid black;background:#cce1ff;padding:12px;box-sizing:border-box;width:fit-content;max-width:420px;}

/* Shared styling for Payroll and Audits sidebars */
.grid-container .sidebar h3 {
  margin: -12px -12px 16px -12px;
  padding: 10px 12px;
  background: #1a2a3a;
  color: #fff;
  font-size: 1.05em;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  min-height: 42px;
  line-height: 1.2em;
  box-sizing: border-box;
}
.grid-container .sidebar h4 {
  margin: 14px 0 8px 0;
  padding: 7px 10px;
  background: #8ea8c8;
  color: #111;
  font-size: 0.82em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.grid-container .sidebar ul,
.grid-container .sidebar ol {
  margin: 0 0 14px 0;
  padding-left: 20px;
}
.grid-container .sidebar li {
  margin: 7px 0;
  line-height: 1.25em;
}
/* div.reports {float:left;margin:5px;padding:10px;border:none;} */
.black {background:black;color:white;}
.red {background:red;color:black;}
.orange {background:orange;color:black;}
.green {background:#45f542;color:black;}
.white {background:white;color:black;}
.error {color:red;}

/* Bug report modal */
.bugrpt-overlay {position:fixed;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,0.55);z-index:9999;display:flex;align-items:center;justify-content:center;}
.bugrpt-modal {background:#fff;border-radius:4px;padding:18px 20px;width:480px;max-width:95vw;max-height:90vh;overflow-y:auto;box-shadow:0 4px 20px rgba(0,0,0,0.4);font-size:0.95em;}
.bugrpt-textarea {width:100%;height:90px;box-sizing:border-box;padding:6px;font-family:Arial;font-size:0.95em;resize:vertical;}
.bugrpt-btn-cancel {background:#aaa;color:#fff;border:none;padding:5px 14px;margin-right:6px;cursor:pointer;font-size:0.9em;}
.bugrpt-btn-submit {background:#2c4a6e;color:#fff;border:none;padding:5px 14px;cursor:pointer;font-size:0.9em;}
.bugrpt-btn-submit:disabled {opacity:0.5;cursor:default;}
