:root{
  --iframetop: 200px;
  --iframeheight: calc(100vh - var(--iframetop));
}
.off-canvas{
	background:none;
  min-height: 100%;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1rem;
  font-weight: bold;
}
/*
.callout {
  border: none;
}
*/
.callout.primary {
  color: #000;
  background-color:#C5D613;
}
.callout.alert {
  color: #fff;
  background-color: #fffff0;
}
.callout.success {
  color: #fff;
  background-color: #fffff0;
}
.callout.msg {
  display: none;
}
.callout.msg.alert {
  color: #000;
  /*background-color: #ff6347;*/
  background-color: #ffa500;
}
.callout.dashboard.alert{
  /*background-color: rgba(255, 0, 0, 0.7);*/
  border: none;
  border-top: 5px solid #a72511;
  /*box-shadow: 1px 1px #ccc;*/
}
.callout.dashboard.alert h1{
  /*background-color: rgba(255, 0, 0, 0.7);*/
  color: #a72511;
}
.callout.dashboard.success {
  /*background-color: rgba(58, 219, 118, 0.8);*/
  border: none;
  border-top: 5px solid #006400;
  /*box-shadow: 1px 1px #ccc;*/
}
.callout.dashboard.success h1{
  /*background-color: rgba(255, 0, 0, 0.7);*/
  color: #006400;
}
.callout.dashboard.warning {
  /*background-color: rgba(255, 165, 0, 0.8);*/
  border: none;
  border-top: 5px solid #ffa500;
  box-shadow: 1px 1px #ccc;
}
.callout.dashboard.warning h1{
  /*background-color: rgba(255, 0, 0, 0.7);*/
  color: #ffa500;
}
.callout.dashboard.alert a, .callout.dashboard.success a, .callout.dashboard.warning a{
  color: #000;
}
.callout.notification.alert{
  background-color: rgba(255, 0, 0, 0.7);
  border-color: #ec5840;
  color: #000;
}
.callout.notification.alert p{
  margin-bottom: 0;
}
span.network{
  font-size: 1.5em;
}
.button.hollow.tbar {
  color: #fff;
  border-color: #fff;
  margin-bottom: 0;
}
.button.hollow.secondary{
  color: #111;
  border-color: #111;
}
/*
#my-info {
  background-color: #fff;
  overflow-x: hidden;
}
.off-canvas-wrapper {
  overflow: none;
}
*/
ul#sortable {
    list-style-type: none;
}
ul#sortable li {
    float: left;
    padding-right: 20px;
}
ul#sortable li textarea{
    height: 5rem;
}
textarea {
  overflow: auto;
}
.asc {
  color: green;
}
.desc {
  color: red;
}
.asc:after, .desc:after{
  content: attr(data-sort);
  font-size: .5em;
  position: relative;
  top: -.5em;
}
table {
  table-layout: fixed;
  width: 100%;
  white-space: nowrap;
}
table td {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#modal:not(.full) {
  min-height: 400px;
  max-height: 100%;
  height: fit-content;    
}
.modal {
  /* This way it could be display flex or grid or whatever also. */
  display: block;  
  /* Probably need media queries here */
  width: 600px;
  max-width: 100%;  
  height: 400px;
  max-height: 100%;  
  position: fixed;  
  z-index: 100;  
  left: 50%;
  top: 50%;  
  /* Use this for centering if unknown width/height */
  transform: translate(-50%, -50%); 
  /* If known, negative margins are probably better (less chance of blurry text). */
  /* margin: -200px 0 0 -200px; */  
  background: white;
  box-shadow: 0 0 60px 10px rgba(0, 0, 0, 0.9);
}
.closed {
  display: none;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 50;  
  background: rgba(0, 0, 0, 0.6);
}
.modal-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: fit-content;
  overflow: auto;
  padding: 20px 50px 20px 20px;
}
.modal .x-button {
  position: absolute;  
  /* don't need to go crazy with z-index here, just sits over .modal-guts */
  z-index: 1;  
  top: 10px;  
  /* needs to look OK with or without scrollbar */
  right: 20px;  
  border: 0;
  background: black;
  color: white;
  padding: 5px 10px;
  font-size: 1.3rem;
}
.lookup {
  background-color: #f5f5f5;
}
.locked, .info {
  background-color: #ffcc99;
}
/*reduce heading size in embedded tables*/
div.data table.data tr{
  font-size: 80%;
}
/*classes for chevrons on links*/
a.arrow_right:after, button.arrow_right:after {
    content: " \00BB";
}
a.arrow_left:before, button.arrow_left:before {
    content: "\00AB ";
}
.filter-message{
  border-radius: 10px;
  display: none;
}
ul.tabs{
  border: none;
  border-bottom: 1px solid #e6e6e6;
}
li.tabs-title a{
  color: #515151;
  background: #e6e6e6;
  font-size: 1.1em;
  margin-right: 0.5em;
  padding: 0.5em;
}
li.tabs-title.is-active a, li.tabs-title a:hover{
  color: #fff;
  background-color: #515151;
}
.large:not(.small) {
  font-size: 50px;
  line-height: 50px;
}
caption {
  text-align: left;
  border-bottom: 1px solid #cccccc;
  padding-bottom: 0;
}
.edit, .del, .open-modal, .sendlink, td a.button{
  margin-bottom: 0;
}
.button_bar{
  margin-bottom: 1rem;
}
.button_bar .edit{
  margin-bottom: 1rem;
}
.breadcrumbs{
  margin: 0;
}
.breadcrumbs li{
  font-size: 1em;
  color: #000;
  font-style: italic;
}
.callout .breadcrumbs li a, .callout .breadcrumbs li a:hover{
  color: #000;
  text-decoration: underline;
  font-style: normal;
}
.spc {
  margin-bottom: .5em;
}
.sticky-content{
    position: fixed;
    width: 78%;
    top: 182px;
}
.group_header{
  border-bottom: 1px solid #fff;
}
.group_header td{
  background: #f4f4f4;
  font-weight: bold;
}
.accordion{
  background:#1f5a77;
  border: none;
}
.accordion-title{
  font-size: 1.2em;
}
a.add {
  margin: 0;
}
td .progress{
margin: auto;
}
img.thumbnail{
  margin-top: 1em;
}
.hero-container h1{
  color: #53565A;
  font-size: 3em;
}
.autocomplete-suggestions{
  background-color: #fff;
  z-index: 2;
  overflow-x: hidden;
}
.autocomplete-suggestion{
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
span[class^="result-"]{
  background-color: lightgray;
  display: inline-block;
  margin-bottom: .1em;
  margin-right: .1em;
}
span[class^="result-"]::before{
  display: inline-block;
  width: 1em;
  text-align: center;
}
.result-c::before{
  color: #000;
  content: "C";
}
.result-e::before{
  color: yellow;
  content: "E";
}
.result-s::before{
  color: rgb(128, 0, 100);
  content: "S";
}
.header {
  background-color: #eee;
  border: 1px solid #ccc;
}
form.data{
  background-color: #f0f0f0;
  /*padding-top: 1em;*/
  padding: 0.5em;
}
p.note {
  font-size: 0.75rem;
}
.secure {
  display: none;
}
.callout:not(.primary) {
  /*border-radius: 5px;*/
  border: 1px solid;
}
.callout a{
  color: #fff;
}
.actions{
  padding-top: 1rem;
  padding-bottom: 1rem;
}
.popup textarea{
  height: 10rem;
}
/*security*/
.authp{
  color: green;
}
.auths{
  color: orange;
}
.mb1{
  margin-bottom: 1em;
}
/*dashboard*/
ul.dashboardlist{
  box-shadow: 0 2px 6px 0 rgba(0,0,0,.13);
  width: 100%;
  background: #fff;
  border-radius: 8px;
}
ul.dashboardlist li{
  font-size: .75em;
  color: #3D3D3D;
}
ul.dashboardlist li:not(:last-child){
  border-bottom: 1px solid #999;
}
ul.dashboardlist li a{
  color: #3D3D3D;
}
ul.dashboardlist li a span.project{
  color: #1B5877;
  font-weight: bold;
}
.text-ellipsis{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.clip{
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}
input[value*='[[']{
  color: red;
}
.fa-flag.low{
  color: green;
}
.fa-flag.medium{
  color: orange;
}
.fa-flag.high{
  color: red;
}
.yes-no.no {
  background-color: #a72511;
}
.yes-no.yes {
  background-color: #006400;
}
fieldset{
  border: 1px solid #999;
  padding: .5em;
  margin-bottom: .5em;
}
p.readonly{
  margin: 0 0 1rem;
  padding: 0.5625rem 0;
}
.card img{
  border: none;
  object-fit: contain;
}
.card-divider{
  position: relative;
}
.card-divider .del{
  position: absolute;
  right: 0;
  padding-right: 1em;
  color: red;
}
.card-divider .edt{
  position: absolute;
  right: 2em;
  padding-right: 1em;
  color: green; 
}
.card-divider .use{
  padding: .5em 1em;
  color: white;
  border-radius: 5px;
  background: #C5D613;
  text-align: center;
}
.card-divider p:nth-child(2){
  text-align: right;
}
.card-section p.tags{
  font-size: .8em;
  font-style: italic;
  color: #c5d613;
}
.red{
  color: red;
}
.green{
  color: green;
}
a.rowcount{
  font-size: 1.25rem;
  color: #000;
}
a.rowcount.red{
  background-color: red;
}
a.rowcount.orange{
  background-color: orange;
}
a.rowcount.green{
  background-color: green;
}
fieldset.cell{
  border: none;
}
.list-group{
  border: 1px solid #000;
}
.ticket-information{
  border: 1px solid #333;
}
.ticket-information .high{
  background-color: red;
}
.ticket-information .mediumh{
  background-color: orange;
}
.ticket-information .low{
  background-color: green;
}
.ticket-information .cell, .ticket-details .cell{
  padding: 1em;
}
.ticket-information .grid-x:not(:first-child) .cell{
  border-top: 1px solid #ededed;
}
.ticket-information .grid-x:not(:first-child) .cell:first-child, .ticket-information .grid-x:not(:first-child) .cell:nth-child(3){
  font-weight: bold;
}
.ticket-information .cell:not(:last-child){
  border-right: 1px solid #ededed;
}
.ticket-details{
  border: 1px solid #333;
  margin-top: 1em;
}
.ticket-heading{
  background-color: #ccc;
}
ul.vertical li a, ul.vertical li a:visited{
  background-color: #ffffff;
  color: #1f5a77;
}
ul.vertical li.active a{
  background-color: #c8bb99;
  color: #a01f5f;
}
/*
#editor{
  position: relative;
}
#settings{
  position: absolute;
  top:0;
}
*/
#editor{
  position: relative;
  overflow: auto;
  height: calc(100vh - 50px);
  width: 100%;
}
div.tabs-content{
  overflow-y: auto;
  height: calc(100vh - 200px);
  width: 100%;
}
.drop-files-container{
  position: relative;
  width: 100%;
  height: 10em;
  border: 1px solid #000;
}
.drop-files-container:before {
  content: "drag & drop your files here";
  display: block;
  position: absolute;
  text-align: center;
  top: calc(50% - 20px);
  left: calc(50% - 150px);
  width: 300px;
  height: 40px;
  font-size: 18px;
  font-weight: bold;
  color: #999;
}
img.sizesmall{
  border: 2px solid red;
}
ul.times li{
  border: 1px solid #1B5877;
  padding: .5em 1em;
  width: 16.67%;
}
ul.times li.current{
  color: #fff;
  background: #1B5877;
}
tr.highlight td{
  background: yellow;
}
/*
.off-canvas .accordion-menu li{
  width: 95%;
}
*/
span.member{
  background-color: #c8bb99;
  color: #a01f5f;
  display: inline-block;
  padding: 1em;
}
span.cancelled{
  color: #a01f5f;
  display: inline-block;
  padding: 1em;
  border: 1px solid #333;
}
.bkg{
  font-family: 'Work Sans',sans-serif;
}
.input-group:not(.add){
  margin-top: 1rem;
}
.input-group input{
margin: 0;
}
fieldset.fieldset{
  border: 1px solid #ccc;
}
ul#sortable{
  margin-bottom: 2em;
  float: none;
}
ul.vertical li.active a{
  background-color: #c8bb99;
  color: #a01f5f;
}
tr.active{
  background-color: #c8bb99;
  color: #a01f5f;
}
caption a{
  float: right;
}
caption a:nth-child(2){
  margin-right: 1em;
}
table.multiline td {
  white-space: normal;
  overflow: none;
  text-overflow: none;
}
.label.success{
  background-color: #1B5877;
  color: white;
}
.label.member{
  background-color: #c8bb99;
  color: #a01f5f;
}
tr.company_head td{
  background-color: #333;
  color: #fff;
}
.input-group-button a{
  display: flex;
  align-items: center;
}
.items{
  border-top: 2px solid #1B5877;
  padding-top: .5em;
}
.loading{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform: -webkit-translate(-50%, -50%);
  transform: -moz-translate(-50%, -50%);
  transform: -ms-translate(-50%, -50%);
  color:red;
}
mark{
  background-color: #C5D613;
}
table.wrap {
  table-layout: fixed;
  white-space: normal;
  width: 100%;
}
table.wrap td {
  white-space: normal;
  overflow: auto;
  text-overflow: "";
}
div.dropdown-pane{
  background-color: rgb(197, 214, 19);
  padding: 0;
}
div.dropdown-pane ul{
  list-style-type: none;
  margin: 0;
}
div.dropdown-pane ul li:nth-child(even){
  background-color: #fff;
}
div.dropdown-pane ul li a{
  color: #000;
}
.selected{
  background-color: lemonchiffon;
}
.reveal tbody{
  background: none;
  border: 0;
}
.reveal div.grid-x:not(.categories){
  padding: 1em;
}
.reveal div.grid-x.headerrow{
  border-bottom: 2px solid #000;
  background-color: #ccc;
}
.reveal .card{
  text-align: center;
  padding: 1em;
  aspect-ratio: 1;
}
.reveal p:has(a.button.success){
  margin-bottom: 0;
}
#sectioncontent div.grid-x:nth-child(even) {
  background-color: #fafafa;
}
#sectioncontent:not(:has(.input-group)) input, #sectioncontent select, #sectioncontent .input-group, #sectioncontent label{
  margin-bottom: .5rem;
  margin-top: .5rem;
}
#sectioncontent #clipboard{
  margin-bottom: .5rem;
  margin-top: .5rem;
}
#sectioncontent div.colorPicker-picker{
  margin-top: 1rem;
}
div.scroll-box{
  height: 200px;
  border: 1px solid #333;
  margin-bottom: 1em;
  background-color: #fff;
}
div.scroll-select {
  margin:4px, 4px;
  padding:4px;
  width: 100%;
  height: 200px;
  overflow-x: hidden;
  overflow-y: auto;
  text-align:justify;
}
.label{
  white-space: normal;
}
@media only screen and (max-width: 79em){
  label.middle{
    padding: 0;
    margin: 0;
  }
  table.scroll{
    display: table;
  }
  #holidaybookings{
    font-size: .7em;
  }
  div.scroll-box{
    width: 100%;
  }
}
@media only screen and (min-width: 1024px){
  .off-canvas-content{
    padding: 1em;
  }
  .cell-right{
    text-align: right;
  }
  .cell-center{
    text-align: center;
  }
  table.scroll{
    display: table;
  }
}
/*responsive table*/
.responsive-card-table {
  border-collapse: collapse;
}

.responsive-card-table.unstriped tbody {
  background-color: transparent;
}

.responsive-card-table tr,
.responsive-card-table th,
.responsive-card-table td {
  border: none;
}

@media screen and (max-width: 640px) {
  table.scroll{
    display: block;
  }
.responsive-card-table thead tr {
  position: absolute;
  top: -9999em;
  left: -9999em;
}
.responsive-card-table tr {
  border: 1px solid #0a0a0a;
  display: block;
}
.responsive-card-table tr + tr {
  margin-top: 1.5rem;
}
.responsive-card-table td {
  border: none;
  /*display: -webkit-flex;
  display: -ms-flexbox;*/
  display: block;
  /*-webkit-justify-content: flex-start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: left;*/
  border-bottom: 1px solid #0a0a0a;
  padding-left: 50%;
  position: relative;
}
.responsive-card-table td:before {
  content: attr(data-label);
  display: inline-block;
  font-weight: bold;
  line-height: 1.5;
  margin-left: -100%;
  width: 100%;
  position: relative;
  z-index: 1;
  text-align: left;
}
.responsive-card-table td:after {
  content: '';
  position: absolute;
  background: #e6e6e6;
  width: 45%;
  height: 95%;
  left: 1px;
  top: 1px;
  z-index: 0;
}
ul.times li{
  font-size: .6em;
}
}
@media print {
  #offCanvas, .position-left, .callout.primary{
    display: none;
    width: 0;
  }
  .position-left ~ .off-canvas-content{
    margin-left: 0 !important;
  }
  ul.tabs, a{
    display: none !important;
  }
  table {
    table-layout: fixed !important;
    width: 100% !important;
}
th, td {
    word-wrap: break-word !important;
}
}