/* ANCHOR: Variables */

:root {
  --primary-color: #4C4556;
  --primary-light-color: #6E6778;
  --secondary-color: #872642;
  --secondary-light-color: #A94864;
  --third-color: #D4A004;
  --third-light-color: #F6C026;
  --fourth-color: #5A89B5;
  --fourth-light-color: #A0D3F9;
  --accent-color: #444444;
  --accent-light-color: #787878;
  --modal-background: #F5F5F5;
  font-size: 16px;
}

/* ANCHOR: Cursors */
.cursor-pointer {
  cursor: pointer;
}

.i-32 {
  font-size: 32px;
}

.i-24 {
  font-size: 24px;
}

.i-16 {
  font-size: 16px;
}

/* ANCHOR: Width, spacing, padding and margins */

.clear-both {
  clear: both;
}

.space20-up {
  padding-top: 20px;
}

.pl-05 {
  padding-left: 0.1rem;
}

.pr-05 {
  padding-right: 0.1rem;
}

.pt-05 {
  padding-top: 0.1rem;
}

.pb-05 {
  padding-bottom: 0.1rem;
}

.px-05 {
  padding-left: 0.1rem;
  padding-bottom: 0.1rem;;
}

.py-05 {
  padding-top: 0.1rem;
  padding-bottom: 0.1rem;
}

.p-05 {
  padding: 0.1rem;
}

.no-margin {
  margin: 0 !important;
}

.right {
  float: right;
}

/* ANCHOR: Borders */
.border-error-2 {
  border: 2px solid #c34 !important;
}

.ba-1 {
  border: 1px solid var(--accent-color);
}

.bt-1 {
  border-top: 1px solid var(--accent-color);
}

.br-1 {
  border-right: 1px solid var(--accent-color);
}

.bb-1 {
  border-bottom: 1px solid var(--accent-color);
}

.bl-1 {
  border-left: 1px solid var(--accent-color);
}

/* ANCHOR: Colors */
.main-header {
  color: #555;
  background-color: #dfdfdf;
  border-bottom: thin solid #c5c5c5;
  z-index: 100;
  position: fixed;
}

.color-white {
  color:rgb(255, 255, 255);
}

.color-green {
  color:rgb(33, 121, 68);
}

.color-red {
  color:rgb(203, 20, 66);
}

.color-yellow {
  color:rgb(238, 141, 29);
}

.color-primary {
  color: var(--primary-color);
}

.color-primary-light {
  color: var(--primary-light-color);
}

.color-secondary {
  color: var(--secondary-color);
}

.color-secondary-light {
  color: var(--secondary-light-color);
}

.color-third {
  color: var(--third-color);
}

.color-third-light {
  color: var(--third-light-color);
}

.color-fourth {
  color: var(--fourth-color);
}

.color-fourth-light {
  color: var(--fourth-light-color);
}

.color-accent {
  color: var(--accent-color);
}

.color-accent-light {
  color: var(--accent-light-color);
}

.color-silver {
  color: #ddd;
}

.color-gray {
  color: #888;
}

.btn-primary, .bg-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #fff!important;
}

.btn-primary-light, .bg-primary-light {
  background-color: var(--primary-light-color);
  border-color: var(--primary-light-color);
  color: #fff!important;
}

.btn-primary-light:hover {
  color: #FFF;
}

.btn-outline-primary, .bg-outline-primary {
  background-color: #EEE;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #FFF;
}

.btn-secondary, .bg-secondary {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #FFF;
}

.btn-secondary-light, .bg-secondary-light {
  background-color: var(--secondary-light-color);
  border-color: var(--secondary-light-color);
  color: #FFF;
}

.btn-secondary-light:hover {
  color: #FFF;
}

.btn-outline-secondary, .bg-outline-secondary {
  background-color: #EEE;
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.btn-outline-secondary-light, .bg-outline-secondary-light {
  background-color: #f5f5f5;
  border-color: var(--secondary-light-color);
  color: var(--secondary-light-color);
}

.btn-outline-secondary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: #FFF;
}

.btn-third, .bg-third {
  background-color: var(--third-color);
  border-color: var(--third-color);
}

.btn-third-light, .bg-third-light {
  background-color: var(--third-light-color);
  border-color: var(--third-light-color);
}

.btn-outline-third, .bg-outline-third {
  background-color: #EEE;
  border-color: var(--third-color);
  color: var(--third-color);
}

.btn-outline-third:hover {
  background-color: var(--third-color);
  border-color: var(--third-color);
  color: #333;
}

.btn-fourth, .bg-fourth {
  background-color: var(--fourth-color);
  border-color: var(--fourth-color);
}

.btn-fourth-light, .bg-fourth-light {
  background-color: var(--fourth-light-color);
  border-color: var(--fourth-light-color);
}

.btn-dark, .bg-dark {
  background-color: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  color: #FFF;
}

.btn-accent-light, .bg-accent-light {
  background-color: var(--accent-light-color) !important;
  border-color: var(--accent-light-color) !important;
  color: #FFF;
}

.btn-outline-dark, .bg-outline-dark {
  background-color: #FFF;
  border-color: var(--accent-light-color);
  color: var(--accent-color);
}

.btn-outline-dark:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #FFF
}

.btn-transparent {
  background-color: transparent;
  /* border-color: #f0f0f0; */
  color: var(--accent-color);
}

.bg-white-90 {
  background-color: rgba(255, 255, 255, .9);
}

.bg-silver {
  background-color: #e5e5e5;
}

.bg-gray {
  background-color: #aaa;
}

/* ANCHOR: Text attributes */

.text-strikethrough {
  text-decoration: line-through;
}

.text-bold {
  font-weight: bold;
}

.text-normal {
  font-weight: normal;
}

.text-sm {
  font-size: 70% !important;
}

.text-mono {
  font-family: monospace;
}

/* ANCHOR: General */

body.full-height {
  height: 100%;
  overflow: auto;
  font-family: "Roboto Condensed" !important;
  font-size: 15px !important;
  background-color: #f8f8f8;
}

div.full-width {
  max-width: 100%;
}

div.homepage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: calc(100vh - 56px);
  background: url(../img/funky-lines.png);
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.break {
  flex-basis: 100%;
  height: 20px;
}

.homepage .item {
  text-align: center;
  box-shadow: 0px 1px 3px 0px rgba(0,0,0,0.15); 
  border-radius: 8px;
  padding: 90px;
  background-color: #FFF;
}

.homepage .item img {
  width: 500px;
  height: auto;
  filter: drop-shadow(0px 1px 3px rgba(0,0,0,0.15)); 
  -webkit-filter: drop-shadow(0px 1px 3px rgba(0,0,0,0.5));
}

.select2 {
  display: none;
}

.lh-20 {
  line-height: 20px;
}

.lh-24 {
  line-height: 24px;
}

.lh-28 {
  line-height: 28px;
}

.lh-32 {
  line-height: 32px;
}

.lh-36 {
  line-height: 36px;
}

.lh-48 {
  line-height: 48px;
}

.w-5 {
  max-width: 5% !important;
}

.w-10 {
  width: 10% !important;
}

.w-15 {
  width: 15% !important;
}

.w-20 {
  width: 20% !important;
}

.w-33 {
  width: 33% !important;
}

.w-40 {
  width: 40% !important;
}

.w-48 {
  width: 48% !important;
}

.w-50 {
  width: 50% !important;
}
.w-65 {
  width: 65% !important;
}

.w-80 {
  width: 80%;
}

.w-85 {
  width: 85%;
}

.w-90 {
  width: 90%;
}

.w-100 {
  width: 100%;
}

div.validation-error {
  color: red;
  font-style: italic;
  font-size: 80%;
  border-bottom: 1px solid silver;;
}


/* ANCHOR: Login */

.form-background {
  min-height: 100%;
  overflow-x: hidden;
  background-color: #f8f8f8;
  /* background-image: url(../img/login-bg.png); */
  /* background-size: contain; */
  /* background-image: linear-gradient(to bottom right, #333, var(--primary-color), #333); */
  height: 100vh;
}

.login-box {
  width: 100%;
  margin: auto;
}

.login-logo h2 a {
  color: #333;
  font-weight: bold;
  text-decoration: none;
}

/* ANCHOR: Site header */

#pageTitle {
  font-size: 22px;
  font-weight: 600;
  font-family: 'Roboto Light';
  /* font-variant: small-caps; */
  display: flex;
  align-items: center;
  margin-left:10px;
}

a.app-menu-link {
  color: #555;
}

a.app-menu-link:hover {
  text-decoration: none;
}

.content-header .dropdown-menu {
  /* background-color: var(--secondary-color) !important; */
  background-color: #FFF !important;
}

/* .content-header .dropdown-menu a, .content-header .dropdown-menu a:hover {
}
*/
.content-header .dropdown-menu a { 
  color: #444;
}

.content-header .dropdown-menu a:hover {
  background-color: var(--accent-color) !important;
}

.content-header .dropdown-menu hr {
  background-color: #999;
}

.dropdown-item:focus, .dropdown-item:hover {
  color: #fff !important;
  background-color: #444 !important;
}

.dropdown-menu {
  background-color: #EEE !important;
  border: 1px solid #999 !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.after-grid {
  padding: 0px 10px !important;
}

.navbar {
  padding-left: 10px !important;
}

/* ANCHOR: Sidebar */

aside.sidebar {
  min-width: 250px !important;
  width: 280px !important;
  margin-left: 0px;
  margin-top: 56px;
  padding-right: 0px;
  height: 100%;
  background-color: #FFF;
  overflow: auto;
  font-family: "Roboto Condensed";
  font-size: 15px;
  float: left;
  position: fixed;
  display: none;
  z-index: 999999;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2);
  border: thin solid #d0d0d0;
  border-top: thin solid #888;
}

.menu-btn {
  cursor: pointer;
  font-size: 24px;
}

.menu-btn img {
  width: 30px;
}

.fa-stack.w-100:hover {
  width: unset;
}

div.app-logo {
  text-align: left !important;
  font-size: 23px;
}

div.app-logo a i {
  line-height: 1.5 !important;
}

div.app-logo a {
  font-family: 'Roboto';
  font-weight: bold;
  font-size: 28px;
  line-height: 1.7rem;
  color: #555;
}

div.app-logo a:hover {
  color: #555;
}

img.main-logo {
  height: 30px;
  width: auto;
  vertical-align: text-bottom;
  margin-right: 10px;
}

a.main-logo {
  text-decoration: none;
  color: #FFF;
}

a.main-logo:hover {
  text-decoration: none;
  color: #FFF;
}

.nav-sidebar>.nav-item .nav-icon {
  text-align: center;
  vertical-align: top;
  font-size: 1rem;
  margin-right: .2rem;
}

.nav-sidebar .nav-link span {
  display: inline-block;
  margin: 0;
  margin-left: 0.7rem;
  position: relative;
}
.nav-sidebar .nav-link span.material-icons-outlined {
  margin-left: 0;
  max-width: 16px;
  line-height: 1.4;
}

.nav-treeview .nav-link span.material-icons-outlined {
  margin-left: 0;
  max-width: 16px;
  line-height: 1;
}

.sidebar .nav-link p, .main-sidebar .brand-text, .sidebar .user-panel .info {
  transition: margin-left 0.3s linear, opacity 0.5s ease;
}

.nav-sidebar>.nav-item {
  border-bottom: 1px dotted #AAA;
}

.nav-sidebar>.nav-item>.nav-link {
  color: #555;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-sidebar>.nav-item>.nav-link.active {
  color: #555;
  background-color: var(--secondary-color);
}

.nav-sidebar .nav-item>.nav-link .right {
  transition: transform ease-in-out 0.3s;
}

.nav-sidebar .nav-link>p>.right {
  position: absolute;
  right: 1rem;
  top: 12px;
  color: #FFF;
}

/* .nav-sidebar>.active>.nav-link {
  background-color: #999;
  color: #FFF;
} */
.nav-sidebar>.active> {
  background-color: #999;
  color: #FFF;
}

.nav-sidebar a:hover {
  background: #CCC;
}

.nav-sidebar .active a.active {
  background: var( --secondary--light-color);
  color: #FFF;
}

li.has-treeview > a::after {
  content: "\e5cb";
  font-family: "Material Icons Outlined";
  font-weight: 900;
  color: #bbb;
  float: right;
}

li.has-treeview.menu-open > a::after {
  content: "\e5cf";
  font-family: "Material Icons Outlined";
  /* font-weight: 900; */
  color: #bbb;
  float: right;
}

.nav-treeview {
  background: #FFF;
  padding-left: 25px !important;
}

.nav-treeview>.nav-item {
  line-height: 1rem;
  width: 100%;
  border-left: thin dotted #CCC;
}

.nav-treeview .nav-item-sep {
  width: 100%;
  height: 1px;
  border-bottom: 1px dotted #6F6F6F;
}

.nav-treeview>.nav-item>.nav-link {
  color: #eee !important;
  background-color: transparent !important;
  position: relative;
}

.nav-treeview>.nav-item>.nav-link:hover {
  background-color: #CCC !important;
}

.nav-treeview>.nav-item>a.active {
  background-color: #FFF !important;
  color: #800 !important;
}

.nav-treeview>.nav-item>.nav-link i {
  width: 1.2rem;
}

.nav-pills .nav-link {
  border-radius: 0rem !important;
}

.row-block {
  display: block;
  margin-right: -15px;
  margin-left: -15px;
}

a.nav-link span {
  color: #555;
  margin-right: 20px;
}
a.nav-link.active span {
  margin-right: 20px;
  font-weight: 600;
}

.user-image {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 !important;
  margin: 0 !important;
}

.user-profile {
  width: 10rem;
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50%;
}

.img-circle {
  border-radius: 50%;
}

a.small-link {
  font-size: 80%;
  color: #555;
}

/* ANCHOR: Main content */

div.wrapper {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: row;
}

div.content-wrapper {
  height: 100%;
  width: 100vw;
  overflow: overlay;
}

div.content-header {
  height: calc( 2rem + 18px);
  width: 100%
}

div.content-overlay {
  width: 100%;
  height: 0;
  position: fixed;
  top: 56px;
  left: 0;
  background-color:#FFF;
  opacity: 0.45;
  z-index: 9999;
}

div.content-row.blurred .content-overlay {
  height: calc(100vh - 56px);
}

div.content-row {
  opacity: 1;
}

/* ANCHOR: Resource search */

aside.content-sidebar {
  min-width: 300px !important;
  width: 300px !important;
  margin-left: 0px;
  padding: 0px;
  position: relative;
  right: 0;
  top: 0;
  height: auto;
  min-height: 100vh;
  max-height: 100vh;
  border-left: 1px solid #DDD;
  font-family: "Roboto Condensed";
  font-size: 16px;
  background-color: #EEE;
  display: none;
  z-index: 1000;
}

.search-bg {
  background-color: var(--accent-color);;
}

.search-bg h5 {
  color: white;
  line-height: 2;
}

div.content-search {
  display: grid;
  grid-template-columns: 1fr;
}

div.content-search div.box {
  grid-row-start: 1;
  grid-row-end: 1;
  grid-column-start: 1;
  grid-column-end: 1;
}

div.content-search #keyword {
  display: none;
  grid-row-start: 2;
  grid-row-end: 2;
  grid-column-start: 1;
  grid-column-end: 1;
}

img.resource-thumb {
  width: 250px;
  height: auto;
}

img.resource-hidden {
  opacity: 0.5;
  filter: grayscale(1);
}

/* Resource set importing */

div#resourceSetFilter {
  width: 100%;
  margin-bottom: 10px;
}

div#resourceSetList {
  width: 100%;
  height: 325px;
  overflow: auto;
}

/* Participant group importing */

div#participantList {
  width: 100%;
  height: 325px;
  overflow: auto;
}

/* Select box */

.box {
  height: 56px;
  display: block;
  margin-bottom: 5px;
}

.box select {
  background-color: var(--accent-color);
  color: white;
  padding-left: 5px;
  width: 295px;
  height: 56px;
  border: none;
  font-size: 18px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  -webkit-appearance: button;
  appearance: button;
  outline: none;
}

.box::after {
  content: "\f13a";
  font-family: FontAwesome;
  margin-left: -45px;
  text-align: center;
  font-size: 28px;
  line-height: 45px;
  color: rgba(255, 255, 255, 0.3);
  background-color: var(--accent-color);
  pointer-events: none;
  padding: 5px 8px;
}

.box:hover::before {
  color: rgba(255, 255, 255, 0.6);
  background-color: rgba(255, 255, 255, 0.2);
}

.box select option {
  padding: 30px;
}

div.content-results {
  padding: 9px 5px;
}

div.content-row {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 56px;
  height: calc(100% - 56px);
  overflow: overlay;
  display: flex;
  flex-direction: column;
}

.card-widget-header h2 {
  line-height: 40px;
  margin: auto 0;
  padding: 5px 10px;
  ;
}

/* ANCHOR: Modal windows */
.modal-background {
  background-color: #f5f5f5;
}

h4.modal-title {
  font-size: 1.1em !important;
  font-weight: bold !important;
  line-height: 1.6rem !important;
}

.modal-content {
  background-color: #f5f5f5 !important;
  border: 1px solid #888 !important;
  border-radius: 3px !important;
  box-shadow: 1px 1px 5px 1px #555;
}

.fade {
  background-color: rgba(50, 50, 50, 0.5);
}

.form-label {
  font-weight: bold;
  padding: 0.25rem 0;
}

.gc-modal-dialog .modal-content .modal-header {
  background-color: var(--primary-color);
  color: #FFF;
  padding: 0.5em 1em;
  border-radius: 3px 3px 0 0;
  cursor: pointer;
}

.modal-header .close {
  margin: -1rem -1rem -1rem auto !important;
}


.ui-dialog .ui-dialog-content {
  overflow: unset;
}

button.close {
  color: #fff;
}

.gc-error-modal-dialog .modal-content .modal-header {
  background-color: #BF0D3E;
  color: #FFF;
}

.gc-error-modal-dialog .gc-error-body {
  text-align: center;
  font-size: 120%;
  color: #880000;
  padding: 30px;
}

.modal-content .save-changes {
  background-color: var(--primary-color) !important;
  border-color: var(--accent-color) !important;
}

.modal-content .pseudo-spinner-container [type=button].btn {
  background-color: transparent !important;
  border-color: transparent !important;
  color: #222 !important;
}

.modal-content div.col-sm-9 {
  display: flex;
  align-items: left;
}

.modal-content div.col-sm-9 > div {
  min-width: 200px;
  width: 100%
}

.modal-content input.gc-input-date {
  max-width: 100px;
}

.modal-content input.gc-input-date.multiple-columns-form {
  max-width: unset;
}

.modal-content input.gc-input-datetime {
  max-width: 150px;
}

.modal-content input.gc-input-datetime.multiple-columns-form {
  max-width: unset;
}

.modal-content input[type=checkbox] {
  -ms-transform: scale(1.5);
  /* IE */
  -moz-transform: scale(1.5);
  /* FF */
  -webkit-transform: scale(1.5);
  /* Safari and Chrome */
  -o-transform: scale(1.5);
  /* Opera */
  transform: scale(1.5);
  margin-left: 5px;
}

.modal-content .gc-read-only-input {
  background-color: transparent !important;
}

.modal-content .parentLabel {
  font-weight: bold;
  text-align: right;
  padding-right: 10px;
}

textarea.modal-textarea {
  width: 500px;
  min-height: 100px !important;
}

textarea.dialog {
  width: 100%;
  min-height: 250px !important;
}

.modal-content textarea {
  min-height: 60px !important;
}

.form-control {
  /* height: calc(2rem + 2px) !important; */
  padding: .3rem !important;
  line-height: 1.2 !important;
}

.form-control:focus {
  color: #495057;
  background-color: #fff;
  border-color: #666 !important;
  outline: 0;
  box-shadow: 0 0 0 rgb(50 50 50 / 25%) !important;
}

.chosen-container-multi .chosen-choices li.search-choice span {
  font-size: 16px;
}

.col-form-label {
  text-align: right !important;
  font-size: 1rem !important;
  font-weight: bold !important;
}

.col-form-label span {
  font-size: 0.6rem !important;
  font-weight: normal !important;
}

.card {
  border: 0 !important;
  /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); */
}

.form-group {
  margin-bottom: 2px !important;
}

.form-group textarea {
  line-height: 15px;
}

.fas.red, .far.red {
  color: red;
}

.fas.orange, .far.orange {
  color: #B66;
}

.fas.blue, .far.blue {
  color: #369;
}

.fas.green, .far.green {
  color: #383;
}

.fas.dark, .far.dark {
  color: var(--accent-color);
}

.fas.grey, .far.grey {
  color: var(--accent-light-color);
}

.fas.secondary, .far.secondary {
  color: var(--secondary-color);
}

.fas.third, .far.third {
  color: var(--third-color);
}

.number {
  text-align: right;
}

#view-data_table pre, #session_table pre {
  color: white !important;
}

.quantityField div, .amountField div, .yearField div {
  text-align: right;
  max-width: 100% !important;
}

/* ANCHOR: Slides */

img.slide-thumb {
  width: auto;
  height: 50px;
  border: 1px #CCC solid;
}

#sortable {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  min-height: 100px;
  border-bottom: thin dotted #eee;
  border-top: thin dotted #eee;
  background-color: #f5f5f5;
}

#sortable div {
  margin: 5px 0 5px 5px;
  padding: 0px;
  background: none;
  border: 0;
  position: relative;
}

#sortable div img {
  border: 1px silver solid;
  max-width: 250px;
  height: auto;
}

#draggable {
  list-style-type: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-items: flex-start;
  overflow: auto;
  max-height: calc(100vh - 80px);
}

#draggable div {
  margin-bottom: 5px;
  padding: 0px;
  background: none;
  border: 0;
  position: relative;
  width: fit-content;
}

#draggable div img {
  border: 1px black solid;
  width: 250px;
  height: auto;
}

span.slide-toolbar {
  vertical-align: bottom;
  position: absolute;
  bottom: 3px;
  background-color: #E5E5E5;
  padding: 5px 9px;
  cursor: pointer;
  width: 32px;
}

span.slide-toolbar.delete-btn {
  right: 3px;
}

span.slide-toolbar.hide-btn {
  right: 36px;
}

span.slide-toolbar.add-btn {
  right: 3px;
}

span.slide-toolbar.edit-btn {
  right: 69px;
}

#showResources {
  float: right;
}

/* ANCHOR: Run session */

body.slideshow {
  background-color: #333;
}

#leftPanel {
  width: 0px;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: #333;
  color: #fff;
  z-index: 100;
  display: flex;
  flex-direction: column;
}

#leftPanel .menu-btn {
  position: absolute;
  top: 0px;
  right: -35px;
  padding: 10px 6px;
  background-color: #333;
  color: #fff;
  z-index: 101;
  font-size: 130%;
}

#leftPanel .content {
  display: none;
  overflow: auto;
  margin: 10px 20px;
  z-index: 102;
}

div#leftPanel>div:nth-child(2) {
  overflow: visible;
}

#slideshow {
  width: 100vw;
  height: 100vh;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: 1s;
  z-index: 0;
}

#slideshow .header-title {
  width: 100%;
  max-width: 1920px;
  line-height: 14.8vh;
  position: fixed;
  top: 0;
  left: calc( ( 100vw - 178vh) / 2 + ( 100vw - 1000px) * 0.07);
  font-size: 3.2vw;
  font-family: Roboto;
  font-weight: normal;
  color: #800;
  background-color: white;
}

#slideshow .middle-title {
  width: 100%;
  max-width: 1920px;
  line-height: 14.8vh;
  position: fixed;
  top: 40vh;
  left: calc( ( 100vw - 178vh) / 2 + ( 100vw - 1000px) * 0.07);
  font-size: 4vw;
  font-family: Roboto;
  font-weight: bold;
  color: #FFF;
  background-color: transparent;
}

#slideshow #goBack {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 50%;
  background-color: transparent;
}

#slideshow #goNext {
  position: fixed;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 50%;
  background-color: transparent;
  text-align: right;
}

#slideshow #goBack i, #slideshow #goNext i {
  font-size: 48px;
  color: #888;
  cursor: pointer;
  padding: 10px 5px;
}

#rightPanel {
  width: 0px;
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  background-color: #333;
  color: #fff;
}

#rightPanel .menu-btn {
  float: left;
  margin-left: -38px;
  padding: 10px 6px;
  background-color: #333;
  color: #fff;
  font-size: 130%;
}

#rightPanel .content, #rightPanel h4 {
  display: none;
  margin: 20px;
}

#audio-player {
  position: absolute;
  right: 1%;
  bottom: 5%;
}

.audio-player {
  background: transparent;
  border: 1px solid lighten(#acacac, 20%);
  width: 300px;
  text-align: center;
  display: flex;
  flex-flow: row;
  margin: 4px 0 4px 0;
}

.audio-player .player-controls {
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  flex: 3;
}

.audio-player .player-controls progress {
  width: 90%;
}

.audio-player .player-controls progress[value] {
  -webkit-appearance: none;
  appearance: none;
  background-color: #999;
  color: #800;
  height: 20px;
}

.audio-player .player-controls progress[value]::-webkit-progress-bar {
  background-color: #999;
  border-radius: 2px;
  border: 1px solid lighten(#acacac, 20%);
  color: #800;
}

.audio-player .player-controls progress::-webkit-progress-value {
  background-color: #800;
}

#play-btn {
  width: 25px;
  height: 25px;
  margin: 5px 0 15px 5px;
  color: #FFFFFF;
}
#play-btn::after {
  font-family: FontAwesome;
  content: "\f04b";
}

#play-btn.pause::after {
  font-family: FontAwesome; 
  content: "\f04c";
}

#thumbPanel {
  border-top: 2px #999 solid;
  width: 100vw;
  height: 0px;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  background-color: #EEE;
}

#thumbPanel .menu-btn {
  margin-top: -26px;
  margin-left: 50%;
  float: left;
  padding: 5px 15px;
  background-color: #EEE;
  z-index: 101;
}

#thumbPanel .thumbs {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: auto;
  align-items: flex-end;
  padding: 0px 15px;
}

#thumbPanel .thumbs .thumb_number {
  padding: 0px;
  font-size: 12px;
  line-height: 24px;
  font-weight: bold;
  margin-right: -25px;
  margin-bottom: 5px;
  z-index: 101;
  border-radius: 50%;
  background-color: #333;
  color: #FFF;
  height: 24px;
  min-width: 24px;
  text-align: center;
  vertical-align: middle;
}

#thumbPanel .thumbs img {
  height: 100px;
  width: auto;
  padding: 0px;
  cursor: pointer;
  margin: 3px 10px 3px 0px;
  border: 1px #999 solid;
}

#thumbPanel .thumbs img.current_slide {
  border: 3px #800 solid;
  cursor: default;
}

.input-small {
  width: 20px;
}

.input-small:focus-visible {
  outline: none;
}

/* ANCHOR: Deals board */

div.board, div.board-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 0px;
  /* margin: 10px 20px; */
}

div.progress {
  background-color: transparent !important;
}

/* div.board-column {
  border-right: 1px solid #FFF;
  background-color: #f0f0f0;
} */

div.board-column h6 {
  font-weight: 600;
  text-align: left;
  padding: 12px 5px;
}

div.lead h6 {
  color: #555;
  border-bottom: 1px solid silver;
  background-color: #FFF;
}

div.proposal h6 {
  color: #555;
  border-bottom: 1px solid silver;
  background-color: #FFF;
}

div.proposal h6 span {
  float: right;
  margin-right: 10px;
  color: darkorange;
  font-weight: 300;
}

div.progress .proposal {
  /* background-color: darkorange; */
  background: transparent;
  border-bottom: 2px dashed darkorange;
  color: darkorange;
}

div.contract h6 {
  color: #555;
  border-bottom: 1px solid silver;
  background-color: #FFF;
}

div.contract h6 span {
  float: right;
  margin-right: 10px;
  color: steelblue;
  font-weight: 300;
}

div.progress .contract {
  background: transparent;
  border-bottom: 2px solid steelblue;
  color: steelblue;
}

div.wip h6 {
  color: #555;
  border-bottom: 1px solid silver;
  background-color: #FFF;
}

div.wip h6 span {
  float: right;
  margin-right: 10px;
  color: darkorchid;
  font-weight: 300;
}

div.progress .wip {
  background: transparent;
  border-bottom: 2px solid darkorchid;
  color: darkorchid;
}

div.progress .delivered {
  background: transparent;
  border-bottom: 2px solid seagreen;
  color: seagreen;
}

div.closed h6 {
  color: #555;
  border-bottom: 1px solid silver;
  background-color: #FFF;
}

div.closed h6 span {
  float: right;
  margin-right: 10px;
  color: seagreen;
  font-weight: 300;
}

div.progress .closed {
  background: seagreen;
  color: #FFF;
}

div.progress .target {
  background: transparent;
  border-bottom: 2px dashed silver;
  color: maroon;
}

div.board-column h6 span {
  float: right;
  margin-right: 10px;
}

div.board-cards {
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 50px;
  height: 100%;
}

div.board-card {
  /* display: flex;
  flex-direction: column; */
  margin: 0px 10px 7px 10px;
  padding: 0;
  cursor: pointer;
  border-radius: 5px;
  background-color: #FFF;
  /* box-shadow: 0 1px 3px rgba(0,0,0,.3); */
  border: thin solid #e0e0e0;
}

div.board-card div {
  width: 100%;
  margin: 0px;
  padding: 5px;
  text-align: left;
}

div.board-card div.card-title {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 100%;
  text-align: left;
  padding: 5px 5px 0 5px;
  color: #555;
}

div.board-card div.card-deal {
  text-align: left;
  font-size: 90%;
  font-style: normal;
  padding: 5px !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.lead div.board-card div.card-deal {
  text-decoration: overline 2px gray;
}

div.proposal div.board-card div.card-deal {
  text-decoration: overline 2px darkorange;
}

div.proposal div.board-card div.card-deal {
  text-decoration: overline 2px tomato;
}

div.contract div.board-card div.card-deal {
  text-decoration: overline 2px steelblue;
}

div.wip div.board-card div.card-deal {
  text-decoration: overline 2px darkorchid;
}

div.closed div.board-card div.card-deal {
  text-decoration: overline 2px seagreen;
}

div.board-card div.card-deal a {
  text-decoration: none;
  color: #555;
}

div.board-card div.card-amount {
  text-align: right;
  color: #555;
  font-size: 95%;
  padding-right: 10px;
}

div.board-card div.card-delivered {
  text-align: right;
  color: #555;
  font-size: 90%;
  padding-right: 10px;
}

/* 
div.board-card div.card-toolbar a {
  float: right;
  margin-right: 10px;
  color: #444;
  font-weight: bold;
  font-size: 110%;
} */

.gc-board-button-container {
  margin-left: 5px;
}

.gc-calendar-button-container {
  margin-left: 5px;
}

.pseudo-spinner-container {
  display: flex;
  flex-direction: row;
}

.pseudo-spinner-container span {
  line-height: 35px;
  margin-right: 5px;
}

.pseudo-spinner {
  width: 35px;
  font-size: 120%;
  line-height: 33px;
  padding: 0 5px 0 10px;
  border: 1px #888 solid;
  background-color: white;
  height: 100%;
  display: inline-block;
}

.form-group label {
  font-weight: bold;
}

div.no-slides {
  font-size: 36px;
  font-weight: bold;
  width: 100%;
  color: white;
  text-align: center;
  margin-top: 25%;
}

.ui-dialog {
  z-index: 2000 !important;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.deal-notes {
  display: none;
}

.notes-toolbar {
  text-align: right;
}

.note-view-title {
  border-radius: 5px;
}

#notes .note-view .note-view-title img {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-left: -12px;
}

#notes .note-view-content {
  caret-color: black;
  text-indent: 0;
}

#notes .note-view-content:focus {
  border: 1px solid silver;
}

.nav-note li {
  margin-left: 5px;
}

.nav-note li a {
  color: #fff;
}

form#edit-note {
  width: 100%;
}

/* ANCHOR: Taskboard */

div.taskboard, div.taskboard-toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  padding: 0px;
  margin: 10px 20px 0 20px;
}

div.taskboard-column {
  border-right: 1px solid #FFF;
  background-color: #f0f0f0;
}

div.taskboard-column h6 {
  font-weight: bold;
  text-align: left;
  padding: 12px 5px;
  background-color: var(--primary-color);
  color: white;
}

div.backlog h6 {
  background-color: goldenrod;
  color: #FFF;
}

div.in-review h6 {
  background-color: darkorange;
  color: #FFF;
}

div.to-do h6 {
  background-color: tomato;
  color: #FFF;
}

div.in-progress h6 {
  background-color: steelblue;
  color: #FFF;
}

div.suspended h6 {
  background-color: darkorchid;
  color: #FFF;
}

div.done h6 {
  background-color: seagreen;
  color: #FFF;
}

.btn-pressed {
  background-color: var(--primary-color) !important;
  color: white !important;
}

.btn-category, .btn-own {
  border-radius: 4px !important;
}

div.taskboard-column h6 span {
  float: right;
  margin-right: 10px;
}

div.taskboard-content {
  flex: 1 1 auto;
}

div.taskboard-cards {
  padding: 5px 0;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  height: 100%;
}

div.taskboard-card {
  display: flex;
  flex-direction: column;
  margin: 0px 10px 10px 10px;
  padding: 0;
  cursor: pointer;
  border-radius: 3px;
  background-color: #FFF;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
}

div.taskboard-card div {
  /* width: 100%; */
  margin: 0px;
  padding: 5px;
  text-align: left;
}

div.taskboard-card div.card-title {
  /* font-weight: bold; */
  /* text-transform: uppercase; */
  font-size: 105%;
  text-align: left;
  padding: 5px;
}

div.taskboard-card div.card-body {
  text-align: left;
  font-size: 90%;
  padding: 0 5px !important;
  overflow: hidden;
  text-overflow: ellipsis;
}

div.taskboard-card div.card-body span {
  border-radius: 10px;
}

div.taskboard-card div.card-body span.delivery {
  border-radius: 10px;
  background-color: forestgreen;
  color: #fff;
}

div.taskboard-card div.card-body span.sales {
  border-radius: 10px;
  background-color: mediumslateblue;
  color: #fff;
}

div.taskboard-card div.card-body span.development {
  border-radius: 10px;
  background-color: tomato;
  color: #fff;
}

div.taskboard-card div.card-details {
  font-size: 90%;
  color: #777;
}

div.taskboard-card div.card-assignees span {
  font-family: monospace;
  font-size: 90%;
}

.task-edit, .subtask-edit {
  border: 0;
  background-color: transparent;
}

.task-edit:focus, .subtask-edit:focus {
  border: 1px solid #888 !important;
  background-color: white;
}

.assigneeDrop {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 1;
  background: rgba(250,250,250,0.7);
  color: #222;
  display: none;
  text-align: center;
  padding-top: 5px;
  cursor: pointer;
}

.assigneeBtn {
  position: relative;
  display: inline-block;
  /* width: 40px;
  height: 40px; */
}

.assigneeBtn button {
  text-align: center;
  position: relative;
  top: 50%;
}

.assigneeBtn:hover i {
  display: block;
}

.addTaskBtn {
  order: 1;
}

/* ANCHOR: Event participants */

#dialog-form {
  width: 100% !important;
}

#eventParticipants #internals {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

#eventParticipants #internals div {
  display: inline-block;
  margin: 5px 10px;
}

textarea.form-control.emails {
  height: 100px;
}

.badge {
  font-size: 90% !important;
  padding: 0.4rem !important;
}

/* ANCHOR: Sending mails to participants */

div#emailMessage {
  display: none;
}

div#sessionParticipants {
  display: none;
}

/* ANCHOR: Overriding grocery-crud styling */

.column-with-ordering:hover {
  background-color: var(--primary-light-color) !important;
  color: #FFF !important;
}

.gc-caption-title {
  background: transparent !important;
  color: #333 !important;
  font-size: 1.6rem !important;
  font-weight: bold !important;
  /* text-align: center !important; */
  text-transform: uppercase;
}

.gc-grid-container.card {
  background: transparent;
}

.gc-caption-subtitle {
  background: #FFF !important;
  color: #333 !important;
  font-size: 1rem !important;
  text-align: left !important;
  text-transform: uppercase;
}

.btn {
  padding: 0.3rem 0.5rem !important;
}

.btn-sm {
  padding: 0.1rem 0.3rem !important;
}

.gc-modal-body {
  overflow: visible !important;
}

.gc-datagrid-table-container {
  overflow-x: visible !important;
  padding: 0px 10px !important;
}

.gc-footer-tools {
  margin: 0 !important;
}

.chosen-container-single, .chosen-container-single .chosen-single {
  height: 35px !important;
  color: #444;
  line-height: 34px !important;
  font-size: 0.9rem;
  width: 100% !important;
}

.table-container tr.header-columns {
  background: var(--secondary-color);
  color: #FFF;
}

.actions-checkbox-selection {
  display: table-cell;
}

input[type="color"] {
  width: 20%;
}

table.grocery-crud-table {
  table-layout: auto;
}

.gc-modal-dialog {
  height: 100%;
  display: flex;
  align-items: center;
}

.gc-modal-dialog form {
  flex-grow: 1;
}

/* ANCHOR: Overriding Bootstrap */
.simple-badge {
  border-bottom: 2px solid var(--primary-light-color);
}

.nav-pills .nav-link.tab.active, .nav-pills .show>.nav-link {
  color: #fff;
  background-color: var(--primary-light-color);
  border: thin solid var(--primary-light-color);
  border-radius: 4px !important;
}

.nav-pills .nav-link.tab {
  color: #212529;
  background-color: transparent;
  border: thin solid #999;
  border-radius: 4px !important;
}

.lead {
  font-size: 15px;
}

.table th {
  padding: .5rem;
  vertical-align: middle;
  border-right: 0px solid #ccc;
}

.table td {
  padding: .3rem;
  vertical-align: middle;
  border-top: 0;
}

.table thead th {
  border-bottom: 0px solid #dee2e6;
  vertical-align: middle;
}

.table .thead-dark th {
  background-color: #444;
  border-color: #454d55;
}

.no-arrow::before, .no-arrow::after {
  border: 0 !important;
  display: grid !important;
}

.dropdown-divider {
  border-top: 1px solid #777;
}

.custom-select:focus {
  border-color: #333;
  outline: none;
  box-shadow: 0 0 0 0.2rem rgb(50 50 55 / 25%);
}

.badge-primary {
  background-color: var(--primary-color);
}

.badge-primary-light {
  background-color: var(--primary-light-color);
  color: #FFF;
}

.badge-secondary {
  background-color: var(--secondary-color);
}

.badge-secondary-light {
  background-color: var(--secondary-light-color);
  color: #FFF;
}

.btn:hover {
  box-shadow: 0 14px 26px -12px rgb(156 159 176 / 42%), 0 4px 23px 0 rgb(0 0 0 / 12%), 0 8px 10px -5px rgb(156 159 176 / 20%);
}

.btn-delivery {
  border-radius: 10px;
  background-color: forestgreen;
  color: #fff;
  width: 110px;
}

.btn-sales {
  border-radius: 10px;
  background-color: mediumslateblue;
  color: #fff;
  width: 110px;
}

.btn-development {
  border-radius: 10px;
  background-color: tomato;
  color: #fff;
  width: 110px;
}

.border-allcategories {
  border-top: solid 5px var(--primary-light-color);
}

.border-delivery {
  border-top: solid 5px forestgreen;
}

.border-sales {
  border-top: solid 5px mediumslateblue;
}

.border-development {
  border-top: solid 5px tomato;
}

.rounded-1 {
  border-radius: 0.5rem;
}

.rounded-2 {
  border-radius: 1rem;
}

.rounded-circle {
  border-radius: 50%;
}

.custom-control-input:checked~.custom-control-label::before, 
.custom-control-input:focus:checked~.custom-control-label::before {
  border-color: var(--secondary-color);
  background-color: var(--secondary-light-color);
  margin-top: 5px;
}

.custom-control-input:not(:checked)~.custom-control-label::before,
.custom-control-input:focus:not(:checked)~.custom-control-label::before {
  border-color: silver;
  background-color: silver;
  margin-top: 5px;
}

.custom-control-input:checked~.custom-control-label::after, 
.custom-control-input:focus:checked~.custom-control-label::after {
  background-color: #FFF;
  margin-top: 5px;
}

.custom-control-input:not(checked)~.custom-control-label::after, 
.custom-control-input:focus:not(checked)~.custom-control-label::after {
  background-color: #f5f5f5;
  margin-top: 5px;
}

/* ANCHOR: Overriding jQuery-UI */
.ui-dialog {
  padding: 0 !important;
  border: 0 !important;
}

.ui-dialog-titlebar {
  border-radius: 5px 5px 0 0 !important;
  background-color: #F5F5F5 !important;
  color: var(--secondary-light-color) !important;
  border-bottom: thin solid #D5D5D5 !important;  
}

.ui-dialog-titlebar-close {
  border: 0 !important;
  background-color: transparent !important;
}

.ui-widget-header {
  /* background: var(--primary-color); */
  border: 0;
}

.ui-dialog-buttonpane {
  border-radius: 0 0 5px 5px;
}

.ui-dialog-buttonset .ui-button {
  border: thin solid #D5D5D5 !important;
}

.separateButtons .ui-dialog-buttonset {
  width: 100% !important;
  padding-left: 1rem;
}

/* ANCHOR: Overriding jQuery-dataTables */

.table-hover tbody .table-hover tr:hover {
  color: inherit;
}

.action-2buttons {
  min-width: 95px;
  width: 95px;
}

.action-3buttons {
  min-width: 130px;
  width: 130px;
}

table#tableGrid tfoot { display: table-row-group; }

span.dt-button-spacer.empty {
  margin-left: 3px;
}

table.dataTable thead th {
  padding: 5px;
}

table.dataTable tbody td {
  padding: 5px;
}

table.dataTable tfoot td {
  padding: 5px;
}

.dt-container .dt-length select {
  background-color: #FFF;
  border-radius: 5px;
  min-width: 50px;
}

.dataTables_wrapper .dataTables_length select:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgb(50 50 55 / 25%);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
  padding: 0.2em 0.7em;
  border-radius: 5px;
}

.dataTables_wrapper .dataTables_filter input {
  padding: 0.24rem;
  border-radius: 5px;
}

.dataTables_wrapper .dataTables_filter input:focus {
  outline: none;
  box-shadow: 0 0 0 0.2rem rgb(50 50 55 / 25%);
}

.page-item.active .page-link {
  background-color: var(--accent-light-color);
  border-color: var(--accent-light-color);
}
.page-link {
  color: var(--primary-color);
}

.page-link:focus {
  z-index: 3;
  outline: 0;
  box-shadow: 0 0 0 .2rem rgba(123, 123, 123, .25) !important;
}

/* ANCHOR: Overriding SmartWizard */
.sw-theme-arrows>.nav .nav-link.active {
  color: #fff;
  border-color: var(--third-color);
  background: var(--third-color);
  cursor: pointer;
}

.sw-theme-arrows>.nav .nav-link.active::after {
  border-left-color: var(--third-color);
}

.sw-theme-arrows>.nav .nav-link.done {
  color: #fff;
  border-color: var(--third-light-color);
  background: var(--third-light-color);
  cursor: pointer;
}

.sw-theme-arrows>.nav .nav-link.done::after {
  border-left-color: var(--third-light-color);
}

.sw-theme-arrows .toolbar>.btn, .sw-theme-dots .toolbar>.btn {
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.sw-theme-dots>.nav .nav-link.active {
  color: var(--secondary-color) !important;
}

.sw-theme-dots>.nav .nav-link.done {
  color: var(--secondary-light-color) !important;
}

.sw-theme-dots>.nav .nav-link.active::after {
  background-color: var(--secondary-color) !important;
}

.sw-theme-dots>.nav .nav-link.done::after {
  background-color: var(--secondary-light-color) !important;
}

/* ANCHOR: Customer notes */
hr.note-top {
  margin-top: 20px;
  margin-bottom: 0px;
  width: 100px;
  height: 3px;
  background-color: #333;
}

div#timeline-container {
  margin-top: 0px;
}

.timeline-me-shortcontent, .timeline-me-fullcontent {
  border: 1px solid #333;
}

.timeline-me-left .timeline-me-shortcontent::before, .timeline-me-left .timeline-me-fullcontent::before {
  border-right: 1px solid #333;
  border-top: 1px solid #333;
  background-color: var(--accent-color) !important;
}

.timeline-me-right .timeline-me-shortcontent::before, .timeline-me-right .timeline-me-fullcontent::before {
  border-left: 1px solid #333;
  border-bottom: 1px solid #333;
  background-color: var(--accent-color) !important;
}

.timeline-me-smallitem .timeline-me-fullcontent, .timeline-me-smallitem .timeline-me-shortcontent {
  padding: 0 !important;
}

.timeline-me-shortcontent div.note-header {
  padding: 10px;
  background-color: var(--accent-color);
  color: #fff;
}

.timeline-me-shortcontent div {
  padding: 10px;
}

.note-date {
  font-weight: bold;
  color: var(--primary-color);
}

.form-control{
  height: calc(1.5em + .75rem);
}

input[type="radio"].form-control {
  width: unset;
  height: 20px;
}

/* ANCHOR: Calendar - no longer used */

div.calendar-header {
  margin: 20px;
}

div.calendar-month-name {
  font-size: 32px;
  font-weight: bold;
  color: #333333;
  line-height: 32px;
  vertical-align: middle;
  min-width: 230px;
  max-width: 230px;
  display: inline-block;
}

div.calendar-toolbar {
  display: inline-block;
}

div.calendar-toolbar i {
  font-weight: bold;
  line-height: 24px;
  font-size: 20px;
  vertical-align: middle;
}

div.calendar-grid {
  margin: 0 20px;
}

div.calendar-grid div.calendar {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 50px auto;
  width: 100%;
  column-gap: 3px;
  row-gap: 3px;
}

div.calendar .item-row1 {
  background-color: #444;
  color: #FFF;
  text-align: center;
  line-height: 50px;
  font-weight: bold;
}

div.calendar .item-col1 {
  grid-column-start: 1;
  grid-column-end: 2;
}

div.calendar .item-col2 {
  grid-column-start: 2;
  grid-column-end: 3;
}

div.calendar .item-col3 {
  grid-column-start: 3;
  grid-column-end: 4;
}

div.calendar .item-col4 {
  grid-column-start: 4;
  grid-column-end: 5;
}

div.calendar .item-col5 {
  grid-column-start: 5;
  grid-column-end: 6;
}

div.calendar .item-col6 {
  grid-column-start: 6;
  grid-column-end: 7;
}

div.calendar .item-col7 {
  grid-column-start: 7;
  grid-column-end: 7;
}

div.calendar .item-row1.item-col6 {
  grid-column-start: 6;
  grid-column-end: 7;
  color: #FFF;
  background-color: #800;
}

div.calendar .item-row1.item-col7 {
  grid-column-start: 7;
  grid-column-end: 7;
  color: #FFF;
  background-color: #800;
}

div.calendar .item-cell {
  min-height: 80px;
  border: 1px #444 solid;
  padding: 5px;
}

div.calendar .item-cell .day-label {
  text-align: right;
  font-weight: bold;
  font-size: 120%;
  padding-right: 5px;
  margin-bottom: 3px;
}

div.calendar .item-cell .day-label .current-day {
  background-color: rgb(230, 162, 17);
  color: #FFF;
  padding: 3px 5px;
  border-radius: 5px;
}

div.item-cell .event {
  display: grid;
  grid-template-columns: 35px auto;
  grid-template-rows: auto;
  column-gap: 5px;
  width: 100%;
  padding: 3px 0;
  margin-bottom: 5px;
  border-width: 2px;
  border-color: #999;
  border-style: solid solid double solid;
  border-radius: 3px;
  background: #D0D0D0 url(images/consultant.png) 98% 97% no-repeat;
  background-size: 12px 12px;
  cursor: pointer;
}

div.item-cell .event.cotrainer {
  background: #D0D0D0 url(images/consultants.png) 98% 97% no-repeat;
  background-size: 16px 16px;
}

div.item-cell .event.tentative {
  background-color: #FDD;
  border-width: 2px;
  border-color: #A04040;
  border-style: dotted dotted double dotted;
}

div.item-cell .event .event-details {
  display: none;
}

div.item-cell .event .event-details table {
  width: 100%;
  padding: 10px;
}

.my-tooltip {
  background-color: var(--secondary-color) !important;
  color: #FFF !important;
  border: 1px #444 solid !important;
}

.my-tooltip::after {
  content: " ";
  position: absolute;
  top: 100%;
  /* At the bottom of the tooltip */
  left: 50%;
  margin-left: -15px;
  border-width: 15px;
  border-style: solid;
  border-color: var(--secondary-color) transparent transparent transparent;
}

.my-tooltip table tr td:first-child {
  font-weight: bold !important;
  text-align: right !important;
  padding-right: 10px;
  vertical-align: top;
  color: orange;
}

div.item-cell .event .event-time {
  color: #369;
  font-weight: bold;
}

img.btn-user-image {
  width: 32px;
  height: 32px;
  padding: 0 !important;
  margin: 0 !important;
}

img.btn-user-image.active-filter {
  box-shadow: #800 0px 0px 0px 4px;
}

button.btn-narrow {
  padding: 0.3rem 0 !important;
}

.all-users {
  border: 1px #333 solid !important;
  border-radius: 50% !important;
  padding: 0.3rem 0.25rem !important;
  background-color: var(--accent-color) !important;
  color: #fff !important;
}



/* ANCHOR: Capacity management calendar */
#calendar-outer {
	width: 100%;
}

#calendar-outer ul {
	margin: 0 10px;
	padding: 0px;
  display: grid;
  grid-template-columns: repeat(5, 17%) 9% 6%;
  grid-template-rows: repeat(5, max-content);
}

#calendar-outer ul.weekday-name {
	margin: 0 10px 8px 10px;
	padding: 0px;
  display: grid;
  grid-template-columns: repeat(5, 17%) 9% 6%;
  grid-template-rows: none;
  grid-auto-rows: 24px;
}

#calendar-outer ul.work-month {
  grid-template-columns: repeat(5, 20%);
}

#calendar-outer ul li {
	margin: -1px;
	padding: 0px;
	list-style-type: none;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-rows: auto 1fr;
  align-items: flex-start;
  border: thin solid #ddd;
}

#calendar-outer ul.weekday-name li {
	margin: 1px;
	padding: 0px;
	list-style-type: none;
  display: grid;
  grid-auto-columns: 1fr;
  grid-template-rows: 1px;
  align-items: flex-start;
}

#calendar-outer ul.weekday-name li div {
  padding: 5px;
  font-weight: 600;
  font-size: 100%;
  color:#656565;
  background-color: #e8e8e8;
  border-bottom: thin solid #d8d8d8;
}

.prevMonth {
	float: left;
	cursor: pointer;
  line-height: 2;
  width: 20px;
}

.prevMonth-sm {
	float: left;
	cursor: pointer;
  line-height: 20px;
  width: 20px;
}

.nextMonth {
	float: right;
	cursor: pointer;
  line-height: 2;
  width: 20px;
}

.nextMonth-sm {
	float: right;
	cursor: pointer;
  line-height: 20px;
  width: 20px;
}

div.calendar-nav {
	border-radius: 4px;
	text-align: center;
	padding: 10px 1px;
	color: #FFF;
	box-sizing: border-box;
	font-weight: bold;
  margin: 0;
}

#calendar-outer .week-name-title li {
	display: inline-block;
	font-size: 1rem;
	font-weight: 600;
  text-align: center;
  margin-top: 10px;
  background-color: transparent;
  color: #777;
  border-bottom: 2px solid #777;
  border-image: 
    linear-gradient(to right, transparent, #aaa, #999, #aaa, transparent) 1;
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.2);
}

.week-day-cell li {
	min-height: 80px;
  height: auto;
	text-align: left;
	line-height: 20px;
	vertical-align: top;
	background-color: transparent;
	color: #555;
	border-bottom: 0px solid #aaa;
	font-size: 1.2em;
  font-weight: bold;
  /* background-color: #e0e0e0; */
  background: #e0e0e0 url(../img/funky-lines.png);
}

/* .week-day-cell li div.day-number-empty span.past-day, span.future-day { */
.week-day-cell li div.day-number-empty {
    background-color: transparent;
    min-height: 32px;
}

.week-day-cell li div.day-number {
  font-size: 120%;
  font-family: "Roboto Mono";
  background-color: #f8f8f8;
  margin-bottom: -2px;
}

.week-day-cell li div.day-number.weekend {
  background-color: #CCC;
  color: #fff;
}

li.today {
  border-left: 4px solid #be0c0c !important;
}

.week-day-cell li div.day-number.today {
  /* background-color: var(--secondary-light-color); */
  color: #be0c0c;
}

.week-day-cell li div.day-number span.past-day, .week-day-cell li div.day-number span.future-day, .week-day-cell li div.day-number span.today {
  font-size: 80% !important;
  text-align: inherit;
  background-color: inherit;
  float: left;
  clear: left;
}

.week-day-cell li div.day-number.holiday span.past-day, .week-day-cell li div.day-number.holiday span.future-day, .week-day-cell li div.day-number.holiday span.today {
  color: var(--primary-light-color);
}

.week-day-cell li div.day-number span.weekday-name {
  font-size: 45% !important;
  font-weight: 400;
  font-family: "Roboto Mono";
  letter-spacing: 4px;
  margin: 0;
  line-height: 16px;
  float: left;
  clear: left;
}

.week-day-cell li div.am, .week-day-cell li div.pm {
  text-align: left;
  background-color: #f8f8f8;
  min-height: 60px;
  height: 100%;
  border-left: 1px solid #F8F8F8;
  overflow: auto;
  margin: 2px 0;
}

.week-day-cell li div.inactive {
  border-left: 0;
  background: transparent;
  min-height: 60px;
  height: 100%; 
}

.week-day-cell li div.am.holiday,.week-day-cell li div.pm.holiday {
  border-left: 0;
  background-color: #ECDFE0;
}

.week-day-cell li span.holiday-title {
  font-size: 60%;
  font-weight: normal;
  vertical-align: bottom;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 75%;
  letter-spacing: -1px;
  color: var(--primary-light-color);
}

.week-day-cell li div.event {
  font-weight: 500;
  color: #656565;
  cursor: pointer;
  clear: both;
  /* background: linear-gradient( to right, #CCC 15%, #E3E0E1 90%, transparent ); */
  background-color: #FFF;
  /* box-shadow: 0 1px 1px rgba(0, 0, 0, 0.2); */
  margin-top: 3px;
  border-radius: 3px;
  border: thin solid #e9e9e9;
}

.week-day-cell li div.am div.event:first-child {
  margin-top: 0;
  border-top: 0;
}

.week-day-cell li div.event.d-1 {
  /* background: linear-gradient( to right, #CCC 3%, #CCD1CC 12%, #d8e2d8 90%, transparent ); */
  background-color: #FFF;
  border: thin solid #e9e9e9;
}

.week-day-cell li div.event.past-day.d-1 {
  /* background: linear-gradient( to right, #CCC 3%, #D1CCCC 12%, #e4caca 90%, transparent ); */
  background-color: #FFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2)
}

.week-day-cell li div.event.ooo {
  font-size: 16px;
  font-weight: 600;
  line-height: 28px;
  background: var(--fourth-light-color);
  color: #EEE;
}

.week-day-cell li div.event.ooo span.ooo-day {
  font-family: "Roboto Mono";
  background-color: var(--fourth-color);
  color: #EEE;
}

.week-day-cell li div.event.ooo span.ooo-pm {
  font-family: "Roboto Mono";
  background-image: radial-gradient(circle at left, var(--secondary-light-color) 50%, var(--fourth-color) 50%);
  background-color: transparent;
  color: #EEE;
}

.week-day-cell li div.event.ooo span.ooo-am {
  font-family: "Roboto Mono";
  background-image: radial-gradient(circle at right, var(--secondary-light-color) 50%, var(--fourth-color) 50%);
  background-color: transparent;
  color: #EEE;
}

.week-day-cell li div.event div.event-name {
  max-width: 90%;
  font-size: 16px;
  /* font-weight: 600; */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 10px);
  line-height: 20px;
}

.week-day-cell li div.event div.event-name.d-1 {
  color: seagreen;
}

.week-day-cell li div.event div.event-name.t-1 {
  color: goldenrod;
}

.week-day-cell li div.event div.event-name.b-1 {
  color: var(--gray);
}

.week-day-cell li div.past-day div.event div.event-name.d-0 {
  color: red;
}

.week-day-cell li div.event div.event-time {
  font-size: 80%;
  font-style: normal;
  float: left;
}

.week-day-cell li div.event span.event-customer {
  font-size: 70% !important;
  font-style: normal;
  float: right;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: calc(100% / 4);
}


.week-day-cell li div.event span.event-consultants {
  float: right;
  font-size: 70%!important;
  /* background-color: var(--fourth-color); */
  color: #555;
  font-style: normal;
  font-family: "Roboto Mono";
  font-weight: 400;
  margin: 0;
  text-decoration: overline 2px var(--third-color);
  height: 24px;
}

#currentMonth, #currentYear {
  font-size: .85rem;
  font-weight: 400;
  line-height: 30px;
}

#currentMonth-sm, #currentYear-sm {
  font-size: .85rem;
  font-weight: 400;
  line-height: 20px;
}

/* ANCHOR: Tables: Monthly Balance, Contract Status, Invoice table, tableGrid */
table#monthlyBalance, table#contractStatus {
  border: 1px solid #d5d5d5;
}

#monthlyBalance thead, #invoiceTable thead, #tableGrid thead {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: bold;
  position: sticky; 
  top: 0px;
}

#contractStatus thead, #tableGridSlave thead {
  font-size: 13px;
}

#monthlyBalance tbody td, #invoiceTable tbody td, #tableGrid tbody td {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0.35rem;
  background-color: #FFF;
}
#contractStatus tbody td, #tableGridSlave tbody td {
  font-size: 13px;
  background-color: #FFF;
}

#monthlyBalance tr.d-0 {
  color: var(--secondary-light-color);
}

#monthlyBalance tr.d-1 {
  color: var(--primary-color);
}

#monthlyBalance tr.b-1 {
  color: darkgreen;
}

s#contractStatus tr.subtotal {
  background-color: #eee;
  text-align: center;
}

#monthlyBalance tr.subtotal td, #contractStatus tr.subtotal td {
    font-weight: bold;
    background-color: #eee;
    text-align: center;
    color: #555;
}

#monthlyBalance tr.total, #invoiceTable tr.total {
  background-color: #aaa;
  text-align: center;
}

#monthlyBalance tr.total td, #invoiceTable tr.total td {
  background-color: #ddd;
}

#contractStatus tr.total {
  background-color: #ddd;
  text-align: center;
}

#monthlyBalance tr.total td {
  font-weight: bold;
}
#contractStatus tr.total td {
  font-weight: 400;
}

#lines table td.newline {
  border: 1px solid #777;
  background-color: #FFF;
}

span.fraction {
  font-size: 140%;
}

.table-header {
  background-color: #e3e3e3;
  font-size: 15px !important;
  color: #555;
}

.table-header.slave {
  background-color: #d0d0d0;
  font-size: 15px !important;
  color: #555;
}

.table-header th {
  font-weight: 500 !important;
  font-family: 'Roboto Condensed';
  border-bottom: 1px solid #d5d5d5 !important;
  border-top: 1px solid #d5d5d5 !important;
  border-collapse: collapse;
}

#invoiceTable tr.selected, #tableGrid tr.selected {
  background-color: var(--fourth-light-color);
}

#invoiceTable td, #paymentTable td, #tableGrid td {
  border-bottom: 1px solid #ddd;
}

table#paymentTable {
  box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
  background-color: #FFF;
}

table#monthlyBilling {
  box-shadow: 0px 1px 3px rgba(0,0,0,0.2);
  background-color: #FFF;
}

::-moz-placeholder {
    color:red;
}

tfoot tr td input::placeholder {
  opacity:.35 !important;
}



div#invoiceList {
  height: fit-content; 
  max-height: 200px; 
  overflow-y: auto; 
  font-family: 'Roboto'; 
  font-size: 14px;
}

.dataTables_wrapper .dataTables_filter input{
  background-color: #FFF;
}

#btnDropInvoice {
  margin-left: -5px;
  background: transparent;
  border: 0;
}

.dbBoxd input, .dbBoxm input, .dbBoxy input {
  background-color: #CCC;
  border: 0;
}

.dbBoxh input, .dbBoxi input {
  background-color: #999;
  color: #FFF;
  border: 0;
}

.text-md {
  font-size: 85%;
}

/* ANCHOR: Dashboards */
.dashboard-widget {
  border: thin solid #e0e0e0;
  border-radius: 5px;
  margin: .75rem 0;
  padding: 0;
  background-color: #d9d9d9;
  font-family: 'Roboto Condensed Light';
}

.total-amount {
  font-size: 175%;
  font-weight: bold;
}

/* ANCHOR: Grid */
.grid-item {
  float: left;
  width: 170px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-2 {
  float: left;
  width: 330px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-3 {
  float: left;
  width: 530px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-4 {
  float: left;
  width: 710px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-5 {
  float: left;
  width: 890px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-6 {
  float: left;
  width: 1060px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-7 {
  float: left;
  width: 1250px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.grid-item-8 {
  float: left;
  width: 1430px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.grid-item-9 {
  float: left;
  width: 1610px;
  height: auto;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  margin: 5px 5px 5px 0;
}

.dt-buttons .buttons-copy, .dt-buttons .buttons-pdf, .dt-buttons .buttons-csv, .dt-buttons .buttons-excel {
  background-color: #f5f5f5 !important;
  /* border-color: var(--secondary-color) !important; */
  border: 0 !important;
  color: var(--accent-color) !important;
}

.dt-column-order::before  {
  opacity: .2 !important;
  bottom: 40% !important;
  font-size: 150% !important;
  content: "\2303" !important;
}

.dt-ordering-asc .dt-column-order::before  {
  opacity: .6 !important;
  color: #b00 ;
}

.dt-orderable-none .dt-column-order::before  {
  display: none;
}

.dt-column-order::after {
  opacity: .2 !important;
  top: 40% !important;
  font-size: 150% !important;
  content: "\2304" !important;
}

.dt-ordering-desc .dt-column-order::after  {
  opacity: .6 !important;
  color: #b00 ;
}

.dt-orderable-none .dt-column-order::after {
  display: none;
}


/* ANCHOR - Overriding richText */
.richText .richText-help {
  display: none !important;
}
.richText .richText-editor {
  padding: 10px !important;
}
.richText .richText-toolbar {
  min-height: 0px !important;
}

.context-menu {
  border-radius: 7px !important;
  border-left: 10px solid var(--primary-light-color) !important;
}

.option-separator {
  margin-top: 5px;
  margin-bottom: 5px;
}

/* ANCHOR Kanban board */
.nav-link.card-tab {
  background: transparent;
  color: #555;
  padding: 10px;
  outline: none;
}
.nav-link.card-tab.active {
  background: transparent;
  color: #555;
  font-weight: 600;
  border-color: whitesmoke whitesmoke #555;
  outline: none;
}

.nav-link.card-tab.active::focus-visible {
  outline: none;
}
