body{
  --off-canvas-max-width: 200px;
  --off-canvas-min-width: 50px;
  --primary-colour: #53575A;
  --secondary-colour: #76BC21;
  --primary-text-colour: #333333;
  --secondary-text-colour: #FFFFFF;
  --warning-colour: #FFA500;
}
.off-canvas{
	background:none;
  min-height: 100%;
}
h1 {
  font-size: 2rem;
}
h2 {
  font-size: 1rem;
  font-weight: bold;
}
.loggedin{   
    color: var(--secondary-colour);
    padding: .7rem 1rem;
}
/*
.callout {
  border: none;
}
*/
.callout.primary {
  color: #FFFFFF;
  background-color:var(--secondary-colour);
}
.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: var(--warning-colour);
}
.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 var(--warning-colour);
  box-shadow: 1px 1px #ccc;
}
.callout.dashboard.warning h1{
  /*background-color: rgba(255, 0, 0, 0.7);*/
  color: var(--warning-colour);
}
.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;
}
.callout.warning{
  background-color:  var(--warning-colour);
}
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 {
  min-height: 400px;
  max-height: 100%;    
}
.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: 100%;
  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: #fff;
  background: #e6e6e6;
  font-size: 1.1em;
  margin-right: 0.5em;
  padding: 0.5em;
}
li.tabs-title.is-active a{
  color: #fff;
  background-color: #515151;
}
.large:not(.medium) {
  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: var(--secondary-text-colour);
}
.callout .breadcrumbs li a, .callout .breadcrumbs li a:hover{
  color: #fff;
}
.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:var(--secondary-colour);
  border: none;
}
.accordion-item.is-active{
  background-color: var(--primary-colour);
}
.accordion-title{
  font-size: 1.2em;
}
.accordion-title:hover, .accordion-title:focus {
	background-color: var(--primary-colour);
}
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 .text-ellipsis p{
  margin: 0;
}
ul.dashboardlist li .text-ellipsis p:first-child{
  color: var(--secondary-colour);
  font-weight: bold;
  font-size: 1.2em;
}
ul.dashboardlist li .text-ellipsis p:nth-child(2){
  background-color: var(--primary-colour);
  color: #fff;
}
ul.dashboardlist li .text-ellipsis p:nth-child(3){
  color: #000;
  font-weight: bold;
  font-size: 1.2em;
}
.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;
}
.menu.dashboardlist .button{
  display: inline-block;
  margin-bottom: 3px;
}
.menu.dashboardlist a:not(.button){
  padding: .4em 1em;
}
.menu.dashboardlist li p{
  padding: .4em 1em;
}
.listheader{
  background-color: #fffff0;
  margin: 0;
  padding: 1em;
  text-align: center;
}
.listheader.green{
  color: #006400;
  border-top: 5px solid #006400;
  border-bottom: 2px solid #006400;
}
.listheader.red{
  color: #a72511;
  border-top: 5px solid #a72511;
  border-bottom: 2px solid #a72511;
}
.listheader.orange{
  color: var(--warning-colour);
  border-top: 5px solid var(--warning-colour);
  border-bottom: 2px solid var(--warning-colour);
}
.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 .use{
  padding-right: 1em;
  color: black;
  border: 1px solid blue;
  background: #fff;
  text-align: center;
}
.card-divider p:nth-child(2){
  text-align: right;
}
.red{
  color: red;
}
.green{
  color: green;
}
a.rowcount{
  font-size: 1.25rem;
  color: #000;
}
#reminders{
  background-color: transparent;
}
a.rowcount.red{
  background-color: rgba(255,0,0,.6);
}
a.rowcount.orange{
  background-color: rgba(255,215,0,.6);
}
a.rowcount.green{
  background-color: rgba(0,255,0,.6);
}
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: var(--primary-colour);
}
ul.vertical li.active a{
  background-color: var(--secondary-colour);
  color: #ffffff;
}
/*
#editor{
  position: relative;
}
#settings{
  position: absolute;
  top:0;
}
*/
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: var(--secondary-colour);
  color: #ffffff;
}
tr.active{
  background-color: var(--primary-colour);
  color: #ffffff;
}
caption a{
  float: right;
}
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;
}
.session-cost, .session-payment{
  width: 100%;
}
.session-cost td:first-child, .session-payment td:first-child{
  width: 80%;
  text-align: left;
}
.session-cost td:nth-child(2), .session-payment td:nth-child(2){
  width: 20%;
  text-align: right;
}
label.middle{
  margin: 0;
}
.button.success{
  border: 1px solid var(--secondary-colour);
  background-color: var(--secondary-colour);
  color: #ffffff;
}
.button.secondary{
  border: 1px solid var(--primary-colour);
  background-color: white;
  color: var(--primary-colour);
}
a.label.success{
  background-color: var(--secondary-colour);
  color: white;
  border-radius: 5000px !important;
}
.accordion-title {
  padding: .5rem 1rem;
}
form.search{
  border: 1px solid #333;
  background-color: #ccc;
  padding: 1em;
}
/*
.autocompletesearch{
  color: #ccc;
}
*/
.position-left {
  overflow-x: hidden;
}
#export_message {
  color: #000;
  background-color: var(--warning-colour);
  padding: .5em;
}
#export_message:empty {
  color: #000;
  background-color: #fff;
  padding: 0;
}
/*
legend{
  font-size: 0.5em;
}
.close-button{
  font-size: 1em;
}
*/
@media only screen and (max-width: 79em){
  label.middle{
    padding: 0;
    margin: 0;
  }
  table.scroll{
    display: table;
  }
}
@media only screen and (min-width: 1024px){
  .off-canvas-content{
    padding: 1em;
    margin-left: var(--off-canvas-max-width) !important;
  }
  .off-canvas-content.min{
    margin-left: var(--off-canvas-min-width) !important;
  }
  .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;
}
.pagination .current {
  background-color: var(--secondary-colour);
}
@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;
}
}