/* ANCHOR: Variables */

:root {
  --primary-color: rgb(46, 67, 116);
  --primary-light-color: rgb(53, 94, 135);
  --secondary-color: rgb(75, 82, 126);
  --secondary-light-color: rgb(200, 111, 76);
  --third-color: rgb(124, 129, 173);
  --third-light-color: rgb(93, 163, 196);
  --fourth-color: rgb(102, 93, 81);
  --fourth-light-color: rgb(191, 184, 175);
  --accent-color: rgb(229, 195, 166);
  --accent-light-color: #787878;
  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-bg {
  color: #FFF;
  background-color: var(--primary-color);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
  z-index: 100;
  position: sticky;
  top: 0;
}

.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-gray {
  color: #AAAAAA;
}

.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);
}

.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: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #FFF;
}

.btn-secondary-light, .bg-secondary-light {
  background: var(--accent-color) !important;
  border-color: var(--accent-color) !important;
  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:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-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-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-color);
  color: var(--accent-color);
}

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

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

/* ANCHOR: Text attributes */

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

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

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

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

/* ANCHOR: General */

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

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

div.homepage {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: calc(100% - 64px);
  background: url(../map-of-the-world.png) no-repeat center center;
}

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

.item {
  text-align: center;
}

.disabled {
  cursor:not-allowed;
  pointer-events: none;
  background-color: #999 !important;
  color: #777 !important;
}

.select2 {
  display: none;
}

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

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

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

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

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

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

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

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

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

.w-80 {
  width: 80%;
}


/* ANCHOR: Login */

.form-background {
  min-height: 100%;
  overflow-x: hidden;
  background: var(--secondary-color);
  background-size: cover;
  height: 100vh;
}

.login-box {
  width: 380px;
  margin: auto;
}

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

.recaptcha {
  -webkit-transform: scale(0.90);
  -moz-transform: scale(0.90);
  -ms-transform: scale(0.90);
  -o-transform: scale(0.90);
  transform: scale(0.90);
  margin-left: -10px;
}

/* ANCHOR: Site header */

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

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

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

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

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

h2#pageTitle {
  font-variant: small-caps;
  font-size: 24px;
}

/* ANCHOR: Sidebar */

aside.sidebar {
  min-width: 250px !important;
  width: 280px !important;
  margin-left: 10px;
  margin-top: 58px;
  padding-right: 0px;
  height: auto;
  background-color: var(--primary-color);
  /* background-color: #FFF; */
  overflow: auto;
  font-family: "Roboto Condensed";
  font-size: 16px;
  float: left;
  position: fixed;
  display: none;
  z-index: 999999;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.2);
}

.menu-btn {
  cursor: pointer;
}

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

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

div.app-logo {
  text-align: left !important;
}

div.app-logo a {
  font-family: 'Roboto';
  font-weight: bold;
  font-size: 30px;
  line-height: 2.5rem;
  color: #EEE;
}

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

a.main-logo {
  text-decoration: none;
  color: #FFF;
  font-size: 20px !important;
}

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

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

.nav-sidebar .nav-link p {
  display: inline-block;
  margin: 0;
}

.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: #ddd;
  position: relative;
  padding: 0.5rem 1rem;
}

.nav-sidebar>.nav-item>.nav-link.active {
  color: #333;
  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: var(--secondary-color);
  color: #FFF;
}

.nav-sidebar>.active> {
  background-color: #444;
  color: #FFF;
}

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

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

li.has-treeview>a::after {
  content: "\f053";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #bbb;
  float: right;
}

li.has-treeview.menu-open>a::after {
  content: "\f078";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #bbb;
  float: right;
}

.nav-treeview {
  background: var(--primary-color);
  padding-left: 35px !important;
}

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

.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: #777 !important;
}

.nav-treeview>.nav-item>a.active {
  background-color: var(--secondary-color) !important;
  color: #fff !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: #FFF;
  margin-right: 20px;
}

.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;
}

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

/* ANCHOR: Main content */

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

div.content-wrapper {
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

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

div.content-row.blurred .content-overlay {
  width: 100%;
  height: calc(100vh - 56px);
  position: fixed;
  top: 56px;
  left: 0;
  background-color: #FFF;
  opacity: 0.75;
  z-index: 9999;
}

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% - 65px);
  overflow: overlay;
}

.card-widget-header {
  background-color: var(--secondary-color);
  color: #FFF;
}

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

/* ANCHOR: Modal windows */

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: 7px !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.4em 1em;
  margin: .2em;
  border-radius: 7px;
  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 0.2rem 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;
}

.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);
}

.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;
  /* width: 100%; */
  padding: 0 10px;
  margin: 10px auto;
  /* display: none; */
}

div.board-column {
  width: 20%;
  border-top: 1px gray solid;
  border-right: 1px gray solid;
  border-bottom: 1px gray solid;
  text-align: center;
  padding: 0;
}

div.board-column:first-child {
  border-left: 1px gray solid;
}

div.board-column h6 {
  font-weight: bold;
  text-align: left;
  padding: 7px 5px;
  border-bottom: 1px gray solid;
  background-color: var(--secondary-light-color);
  color: #FFF;
  border-right: 1px white solid;
}

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

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

li.board-card {
  display: flex;
  flex-direction: column;
  border: 1px silver solid;
  margin: 3px 5px;
  padding: 0px;
  cursor: pointer;
  border-radius: 5px;
  background-color: white;
}

#lead li.board-card {
  border: 2px rgb(124, 124, 124) solid;
}

#prospect li.board-card {
  border: 2px rgb(238, 141, 29) solid;
}

#proposal li.board-card {
  border: 2px rgb(78, 149, 182) solid;
}

#contract li.board-card {
  border: 2px rgb(33, 121, 68) solid;
}

#lost li.board-card {
  border: 2px rgb(175, 66, 39) solid;
}

#closed li.board-card {
  border: 2px rgb(0, 150, 150) solid;
}

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

li.board-card div.card-title {
  font-weight: bold;
  text-transform: uppercase;
  font-size: 115%;
  text-align: left;
}

li.board-card div.card-deal {
  text-align: left;
  font-size: 115%;
  padding-top: 0 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

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

li.board-card div.card-toolbar {
  text-align: right;
  /* padding-top: 0 !important; */
  color: #fff;
  font-weight: bold;
}

#lead div.card-toolbar {
  background-color: rgb(124, 124, 124);
}

#prospect div.card-toolbar {
  background-color: rgb(238, 141, 29);
}

#proposal div.card-toolbar {
  background-color: rgb(78, 149, 182);
}

#contract div.card-toolbar {
  background-color: rgb(33, 121, 68);
}

#lost div.card-toolbar {
  background-color: rgb(175, 66, 39);
}

#closed div.card-toolbar {
  background-color: rgb(0, 150, 150);
}

li.board-card div.card-toolbar a {
  float: right;
  margin-right: 10px;
  color: #fff;
  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;
}

#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: 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;
}

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

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

/* ANCHOR: Sending mails to participants */

div#emailMessage {
  display: none;
}

div#sessionParticipants {
  display: none;
}

/* ANCHOR: Overriding grocery-crud styling */

.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;
}

.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-single {
  height: 35px !important;
  color: #444;
  line-height: 34px !important;
  font-size: 1rem;
}

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

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

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

td.actions-checkbox-selection {
  line-height: calc(1.5em + 0.9rem);
}

/* ANCHOR: Overriding Bootstrap */
.table td, .table th {
  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-secondary {
  background-color: var(--secondary-color);
}

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

/* ANCHOR: Overriding jQuery-UI */
.ui-widget, .ui-widget button {
  font-family: "Roboto Condensed";
}

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

/* ANCHOR: Overriding jQuery-dataTables */
table.dataTable thead th {
  padding: 5px;
}

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

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

.dataTables_wrapper .dataTables_length select {
  background-color: #FFF;
  border-radius: 5px;
}

.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%);
}

/* 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.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: 50px auto 1fr;
  align-items: flex-start;
}

.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;
}

.week-day-cell li {
  min-height: 80px;
  height: auto;
  text-align: left;
  line-height: 20px;
  vertical-align: top;
  background-color: #fff;
  color: #555;
  border-bottom: 1px solid #aaa;
  font-size: 1.2em;
  font-weight: bold;
}

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

.week-day-cell li div.day-number {
  font-size: 120%;
  font-family: "Roboto Mono";
  background-color: #BBB;
}

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

.week-day-cell li div.day-number.today {
  background-color: var(--third-color);
  color: #fff;
}

.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: 120% !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: 60% !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: #eee;
  min-height: 60px;
  height: 100%;
  border-left: 1px solid #CCC;
}

.week-day-cell li div.inactive {
  border-left: 0;
  background: repeating-linear-gradient(135deg,
      #eee,
      #eee 10px,
      #ddd 10px,
      #ddd 20px);
  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: #444;
  cursor: pointer;
  clear: both;
  background: linear-gradient(to right, #CCC 15%, #E3E0E1 90%, transparent);
  margin-top: 3px;
}

.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);
}

.week-day-cell li div.event.past-day.d-1 {
  background: linear-gradient(to right, #CCC 3%, #D1CCCC 12%, #e4caca 90%, transparent);
}

.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: rgb(49, 99, 49);
}

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

.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: var(--primary-light-color);
}

.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: 60% !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.other {
  background-color: var(--third-light-color);
}

.week-day-cell li div.event span.event-consultants {
  float: right;
  font-size: 60% !important;
  background-color: var(--fourth-color);
  color: #fff;
  font-style: normal;
  font-family: "Roboto Mono";
  font-weight: 400;
  margin: 0;
}

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

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

/* ANCHOR: Tables: Monthly Balance, Contract Status, Invoice table */
#monthlyBalance thead, #contractStatus thead, #invoiceTable thead {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: bold;
  position: sticky;
  top: 0px;
}

#monthlyBalance tbody td, #contractStatus tbody td, #invoiceTable tbody td {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 16px;
  font-weight: 400;
  padding: 0.15rem;
}

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

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

#monthlyBalance tr.b-1 {
  color: var(--third-color);
}

#monthlyBalance tr.subtotal, #contractStatus tr.subtotal {
  background-color: #bbb;
  text-align: center;
}

#monthlyBalance tr.subtotal td, #contractStatus tr.subtotal td {
  font-weight: bold;
}

#monthlyBalance tr.total, #contractStatus tr.total {
  background-color: #333;
  text-align: center;
  color: #fff;
}

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

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

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

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

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

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%;
}

/* ************************ */

tr.parent {
  background-color: #BBB;
}

.st-theme-github>.tab-content>.tab-pane {
  padding: 0;
}

.readonly {
  background-color: transparent;
  border: 0;
}

.readonly:focus {
  background-color: transparent;
  border: 0;
}

span.keyword, span.jargon {
  background-color: #E5E5E5;
  font-family: "Roboto Mono";
  font-size: 80%;
  padding: 2px 4px;
  margin: 2px 3px;
  border: 1px solid #D0D0D0;
  border-radius: 5px;
  cursor: pointer;
  float: left;
}

span.jargon {
  background: #BBB;
  border: #B0B0B0;
}

span.not-found {
  text-decoration: line-through;
  text-decoration-color: rgba(230, 100, 100, .3);
  text-decoration-thickness: 12px;
}

span.score {
  background-color: #DDD;
  font-family: "Roboto Mono";
  font-size: 80%;
  padding: 2px 4px;
  margin: 2px 3px;
  border: 1px solid #D0D0D0;
  border-radius: 5px;
  display: inline-block;
  cursor: pointer;
}

span.score:first-child {
  background-color: #555;
  color: #FFF;
}

span.score.selected {
  background-color: var(--primary-color);
  color: #FFF;
}

tr.category-row {
  border-bottom: 1px dotted #AAA;
}

tr.last-row, tr.last-row td {
  border-bottom: 1px solid #AAA;
  background-color: #CCC;
}

input.expression, textarea.expression {
  font-family: "Roboto Mono";
  font-size: 90%;
}

.list-group-item.active {
  background: #EEE;
  color: #333;
  border: 0;
  border-left: 5px solid var(--primary-color);
}

.dropdown-toggle::after {
  border: 0;
}

pre#expression, pre#lemma, input#expression, input#lemma {
  background: #EEE;
  color: #555;
  min-width: 300px;
  display: table-cell;
  font-family: "Roboto Mono";
  font-size: 16px;
  border: 0;
}

pre#expression:focus-visible, pre#lemma:focus-visible, input#expression:focus-visible, input#lemma:focus-visible {
  outline: none;
}

div.regexp-helper {
  background: #EEE;
  color: #555;
  display: table-cell;
  font-family: "Roboto Mono";
  font-size: 16px;
}

div.curated-title {
  font-weight: bold;
  color:rgb(160, 71, 36);
}

div.curated-meta {
  color: var(--primary-color);
  background-color: #EEE;
}

div.published-title a {
  font-weight: bold;
  font-size: 110%;
  color:rgb(160, 71, 36);
}

div.published-source {
  font-weight: bold;
  background-color: var(--primary-color);
  color: #FFF;
  display: inline-block;
}

div.published-info {
  font-style: italic;
  color:#555;
  display: inline-block;
}
