:root {
  --white: #ffffff;
  --black: #000000;
  --gray-light: #e5e5e5;
  --gray-medium: #676767;
  --black-dark: #343434;
  --black-light: #3d403e;
  --text-color: #272727;
  --primary-50: #e6f2f8;
  --primary-100: #cce5f1;
  --primary-200: #99cbe3;
  --primary-300: #66b0d6;
  --primary-400: #3396c8;
  --primary-500: #007CBA;
  --primary-600: #0070a7;
  --primary-700: #006395;
  --primary-800: #005782;
  --primary-900: #004a70;
  --secondary-50: #f8e6f2;
  --secondary-100: #f1cce5;
  --secondary-200: #e399cb;
  --secondary-300: #d666b0;
  --secondary-400: #c83396;
  --secondary-500: #ba007c;
  --secondary-600: #a70070;
  --secondary-700: #950063;
  --secondary-800: #820057;
  --secondary-900: #70004a;
  --link: var(--primary-400);
  --link-hover: var(--primary-600);
  --body-font: 14px;
  --top-nav-height: 4rem;
  --left-nav-width-full: 16rem;
  --left-nav-width-thin: 4rem;
  --main-area-padding: 1rem;
  --footer-height: 2rem;
  --shadow-x: 4px;
  --shadow-y: 4px;
  --shadow-blur: 5px;
  --shadow-spread: -5px;
  --border-radius: 0.25rem;
}
.cursor_default {
  cursor: default !important;
}
.cursor_pointer {
  cursor: pointer !important;
}
.cursor_not_allowed {
  cursor: not-allowed !important;
}
* {
  box-sizing: border-box;
}
html,
body {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: #f4f9ff;
  font-size: var(--body-font);
  font-weight: 300;
  scroll-behavior: smooth;
}
body {
  overflow-y: scroll;
  font-family: 'Roboto', Helvetica, Arial, sans_serif;
  line-height: 1.75;
  background-color: #f4f9ff;
  color: var(--text-color);
}
a {
  color: var(--link);
}
a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}
TR:hover a {
  color: var(--link-hover);
}
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
  color: inherit;
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-family: inherit;
  font-weight: 500;
}
h1,
.h1 {
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 500;
}
h2,
.h2 {
  font-size: 1.15rem;
  line-height: 1.25;
}
h3,
.h3 {
  font-size: 1.15rem;
  line-height: 1.75;
  font-weight: 700;
}
strong,
b {
  font-weight: 800;
}
/*
#app-wrapper {
	position: relative;
	min-height: 100%;
}
*/
#app-header {
  position: fixed;
  z-index: 1001;
  top: 0;
  left: 0;
  right: 0;
  height: var(--top-nav-height);
  display: flex;
  justify-content: space-between;
  background: linear-gradient(124deg, var(--primary-400), var(--primary-500));
}
#app-header #header-logo {
  padding: var(--body-font);
}
#app-header #header-logo img {
  height: 2rem;
}
#app-header #header-nav {
  margin-left: auto;
}
#app-header #header-nav #header-menu-toggle a {
  display: inline-block;
  padding: 1rem;
  color: var(--white);
}
@media all and (min-width: 768px) {
  #app-header #header-nav #header-menu-toggle {
    display: none;
  }
}
#app-wrapper {
  padding-top: var(--top-nav-height);
  padding-bottom: var(--footer-height);
}
#app-wrapper #app-sidebar {
  position: fixed;
  z-index: 999;
  left: 0;
  height: calc(100vh - var(--top-nav-height));
  width: var(--left-nav-width-full);
  background-color: var(--primary-900);
  transition: all 0.3s ease;
}
#app-wrapper #app-content {
  margin-left: var(--left-nav-width-full);
  padding: var(--main-area-padding);
  transition: all 0.3s ease;
}
#app-footer {
  position: fixed;
  z-index: 1001;
  bottom: 0;
  left: var(--left-nav-width-full);
  right: 0;
  height: var(--footer-height);
  padding: 0 0.5rem;
  background-color: var(--white);
  box-shadow: 0 calc(-1 * var(--shadow-y)) var(--shadow-blur) var(--shadow-spread) var(--gray-light);
  transition: all 0.3s ease;
}
@media all and (min-width: 768px) {
  html.sidebar-minimized #app-wrapper #app-sidebar {
    width: var(--left-nav-width-thin);
  }
  html.sidebar-minimized #app-wrapper #app-sidebar.vertical-scroll {
    overflow-y: visible;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li {
    position: relative;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li > a .nav-label {
    transition: none;
    margin-left: -100em;
    opacity: 0;
    height: 0px;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li > a:hover + ul,
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li ul:hover {
    display: block;
    position: absolute;
    top: 0px;
    left: var(--left-nav-width-thin);
    height: auto !important;
    z-index: -1;
    padding: 0.75rem 0;
    min-width: 12rem;
    border-top-right-radius: var(--border-radius);
    border-bottom-right-radius: var(--border-radius);
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li > a:hover + ul li a,
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li ul:hover li a {
    padding-left: 2rem;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li > a:hover + ul li a .nav-label,
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li ul:hover li a .nav-label {
    margin-left: 0;
    opacity: 1;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul > li ul {
    display: none;
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul#left-menu-collapse {
    width: var(--left-nav-width-thin);
  }
  html.sidebar-minimized #app-wrapper #app-sidebar > ul#left-menu-collapse li a .nav-icon {
    transform: rotate(180deg);
  }
  html.sidebar-minimized #app-wrapper #app-content {
    margin-left: var(--left-nav-width-thin);
  }
  html.sidebar-minimized #app-footer {
    left: var(--left-nav-width-thin);
  }
}
@media all and (max-width: calc(768px - 1px)) {
  #app-wrapper {
    overflow-x: hidden;
  }
  #app-wrapper #app-sidebar {
    left: calc(-1 * var(--left-nav-width-full));
  }
  #app-wrapper #app-content {
    margin-left: 0;
  }
  #app-wrapper.header-menu-toggled #app-sidebar,
  #app-wrapper.header-menu-toggled #app-content {
    transform: translate3d(var(--left-nav-width-full), 0, 0);
  }
  #app-footer {
    left: 0;
  }
}
#app-sidebar ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  margin-top: 1rem;
}
#app-sidebar ul li {
  margin: 0;
  padding: 0;
}
#app-sidebar ul li a {
  position: relative;
  display: flex;
  padding: 0.25rem 0.5rem;
  color: var(--white);
  font-size: 1rem;
  overflow: hidden;
}
#app-sidebar ul li a:hover {
  text-decoration: none;
}
#app-sidebar ul li a:hover .nav-label,
#app-sidebar ul li a:hover .nav-icon i {
  color: var(--primary-200);
}
#app-sidebar ul li a .nav-icon {
  display: inline-block;
  width: 2rem;
  height: 3rem;
  margin: 0 0.4rem;
  font-size: 1.7rem;
}
#app-sidebar ul li a .nav-icon i {
  vertical-align: baseline;
}
#app-sidebar ul li a.active {
  background-color: var(--primary-700);
}
#app-sidebar ul li a.active .nav-label,
#app-sidebar ul li a.active .nav-icon i {
  color: var(--white);
}
#app-sidebar ul li a .nav-label {
  transition: opacity 0.3s ease 0.1s, margin-left 0s ease 0.2s;
  display: inline-block;
  opacity: 1;
  margin: 3px 0;
  line-height: 2.3;
}
#app-sidebar ul li ul {
  margin: 0;
  padding: 0;
  background: var(--black-dark);
}
#app-sidebar ul li ul li {
  margin: 0;
  padding: 0;
}
#app-sidebar ul li ul li a {
  display: block;
  padding: 0.35rem 1.42rem;
  padding-left: 3rem;
  line-height: 1;
  font-size: 1rem;
}
#app-sidebar ul li ul li a.active {
  color: var(--secondary-200);
  background-color: transparent;
}
#app-sidebar ul li ul li a.active .nav-label {
  color: var(--secondary-200);
}
#app-sidebar ul li ul li a.indent1 {
  padding-left: 3rem;
}
#app-sidebar ul li ul li a:empty {
  display: none;
}
#app-sidebar ul li ul li a .nav-label {
  line-height: 1;
}
#app-sidebar ul#left-menu-collapse {
  background: var(--primary-400);
  position: fixed;
  bottom: 0px;
  width: var(--left-nav-width-full);
  transition: all 0.3s ease;
}
.hidden {
  display: none;
}
#app-content .pagination .fa-solid {
  font-size: inherit;
}
#app-content .btn .fa-solid {
  font-size: 1.15rem;
}
#app-content .btn-primary .fa-solid {
  color: var(--white);
}
#app-content .btn-secondary .fa-solid {
  color: var(--white);
}
#app-content .btn-danger .fa-solid {
  color: var(--white);
}
#app-content .btn:not(.btn-icon):hover .fa-solid {
  color: var(--white);
}
#app-content .badge .fa-solid {
  color: var(--white);
  font-size: 1.15rem;
}
/**
 * Bootstrap overrides
 */
.tooltip {
  pointer-events: none;
}
.table {
  margin: 0;
}
.table th,
.table td {
  border: 0px;
  vertical-align: middle;
}
.table thead,
.table tfoot {
  background: var(--primary-100);
}
.table thead.action-header,
.table tfoot.action-header {
  background: var(--primary-200);
}
.table thead th,
.table tfoot th,
.table thead td,
.table tfoot td {
  color: var(--text-color);
  font-size: 1rem;
  font-weight: 500;
  border: 0px;
}
.table thead th a,
.table tfoot th a,
.table thead td a,
.table tfoot td a {
  color: #fff;
  text-decoration: none;
}
.table thead th a:hover,
.table tfoot th a:hover,
.table thead td a:hover,
.table tfoot td a:hover {
  text-decoration: underline;
}
.table tbody {
  font-size: 1rem;
  font-weight: 300;
}
.table-hover tbody tr:hover {
  background: var(--gray-light);
}
.table tbody tr.no-hover:hover {
  background: transparent;
}
.btn {
  border-radius: var(--border-radius);
  line-height: 1;
  padding: 0.5rem;
}
.btn:not(.dropdown-toggle) {
  min-width: 10rem;
}
.btn.btn-icon {
  min-width: 3rem;
}
.btn:focus {
  box-shadow: 0 0 0 0.2rem var(--primary-900);
}
.btn.btn-link {
  color: var(--link);
}
.btn.btn-link:hover {
  color: var(--link-hover);
}
.btn.btn-primary {
  background: var(--primary-500);
  background: linear-gradient(to bottom, var(--primary-300) 0%, var(--primary-500) 7%, var(--primary-500) 93%, var(--primary-600) 100%);
  border: 1px solid var(--primary-600);
  color: var(--white);
}
.btn.btn-primary:hover {
  background: var(--primary-600);
  background: linear-gradient(to bottom, var(--primary-300) 0%, var(--primary-600) 7%, var(--primary-600) 93%, var(--primary-600) 100%);
  color: var(--white);
}
.btn.btn-primary:not(:disabled):not(.disabled):active {
  background: var(--primary-600);
  background: linear-gradient(to bottom, var(--primary-300) 0%, var(--primary-600) 7%, var(--primary-600) 93%, var(--primary-600) 100%);
  color: var(--white);
  border: 1px solid var(--primary-300);
}
.form-control {
  box-shadow: inset 0 1px 3px 0 rgba(0, 0, 0, 0.16);
  box-shadow: inset 0 0.071rem 0.214rem 0 rgba(0, 0, 0, 0.16);
  /* bootstrap animates the box-shadow, causes hangs in some browsers */
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.form-control[readonly],
.form-control.disabled {
  box-shadow: none;
}
.form-control:focus {
  border-color: var(--primary-600);
  box-shadow: 0 0 0 0.2rem var(--primary-300);
}
.form-control::placeholder {
  color: var(--gray-light);
}
.paging-links ul {
  margin: 0;
  padding: 0;
}
.page-item .page-link {
  font-size: 0.85rem;
  line-height: 1;
  padding: 0.5rem 0.75rem;
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--white);
}
.page-item.disabled .page-link {
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--gray-medium);
  cursor: not-allowed !important;
}
.page-item.disabled SPAN.page-link {
  color: var(--white);
}
.text-muted {
  color: var(--gray-medium) !important;
}
.card .card-header {
  background-color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
}
.card .table-responsive th:first-child,
.card .table-responsive td:first-child {
  padding-left: 1.25rem;
}
.card .table-responsive th:last-child,
.card .table-responsive td:last-child {
  padding-right: 1.25rem;
}
.mw-md {
  max-width: var(--breakpoint-md);
}
.nav-tabs {
  border-bottom: 1px solid var(--gray-light);
}
.tab-content {
  border: 1px solid var(--gray-light);
  border-top: 0px;
  padding: 1rem;
}
/**
 * Vue styles
 */
[v-cloak] {
  display: none !important;
}
/**
 * Intl-Tel-Input control
 */
.intl-tel-input {
  display: block !important;
}
.flag-container {
  z-index: 2000;
}
/**
 * CKEditor5
 */
/*.ck-editor__editable_inline {*/
.ck-content p {
  margin: 0;
}
.ck-content blockquote {
  font-style: normal;
}
.ck-content .xMsoNormal {
  margin: 0;
}
/*
.ck,
.cke_wysiwyg_div {
	h1,
	.h1,
	h2,
	.h2,
	h3,
	.h3 {
		margin-top: 0;
		margin-bottom: 0.5rem;
		line-height: 1.2;
		font-weight: 500;
	}
	h1,
	.h1 {
		font-size: 1.7rem;
	}

	h2,
	.h2 {
		font-size: 1.4rem;
	}

	h3,
	.h3 {
		font-size: 1.15rem;
		font-weight: 800;
	}
}
*/
/**
 * Custom styles
 */
.vertical-scroll {
  overflow-y: auto;
}
.vertical-scroll::-webkit-scrollbar {
  width: 1.25rem;
  background-color: var(--white);
  border-left: 1px solid var(--gray-medium);
}
.vertical-scroll::-webkit-scrollbar-thumb {
  background-color: var(--gray-medium);
  border: 4px solid var(--black-dark);
  border-radius: 1rem;
  background-clip: padding-box;
}
.vertical-scroll#app-sidebar::-webkit-scrollbar {
  background: transparent;
  border-left: none;
}
.vertical-scroll#app-sidebar::-webkit-scrollbar-thumb {
  background-color: var(--gray-medium);
}
.currencyColumn {
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
.dateColumn {
  text-align: right;
  font-variant-numeric: lining-nums tabular-nums;
}
@media print {
  body {
    background-color: var(--white);
  }
  #app-header {
    display: none !important;
  }
  #app-sidebar {
    display: none !important;
  }
  #app-content {
    margin-left: 0 !important;
  }
  #app-footer {
    display: none !important;
  }
}
#toasts {
  position: fixed;
  bottom: 40px;
  left: 20px;
  z-index: 1050;
}
.loadingOpacity {
  opacity: 0.2;
}
.sticky-header TH,
.sticky-header TD {
  position: sticky;
  top: 0px;
  background-color: var(--primary-100);
}
TBODY .sticky-header TH,
TBODY .sticky-header TD {
  background-color: var(--white);
}
.sticky-header.active TH,
.sticky-header:hover TH,
.sticky-header.active TD,
.sticky-header:hover TD {
  background-color: var(--gray-light);
}
.no-results-notice {
  font-size: 1.25rem;
  font-style: italic;
  text-align: center;
}
.spinner-container {
  font-size: 2rem;
  text-align: center;
}
.full-height-content {
  height: calc(100vh - var(--top-nav-height) - var(--footer-height) - var(--main-area-padding) - var(--main-area-padding));
}
/* ATTACHMENT CONTROL */
.attachmentControl {
  display: flex;
}
.attachmentControl.dragging {
  background-color: var(--primary-100);
}
.attachmentControl.dragging * {
  pointer-events: none;
}
.attachmentControl .attachmentTrigger {
  border: 1px dashed var(--primary-500);
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.attachmentControl .attachmentTrigger I {
  font-size: 2rem;
}
.attachmentControl .attachmentList {
  padding-left: 0.25rem;
}
.attachmentControl .attachmentList .attachment {
  display: inline-block;
  border: 1px solid var(--primary-200);
  padding: 0.125rem 0.25rem;
  margin: 0 0.25rem 0.25rem 0;
}
.attachmentControl .attachmentList .attachment .attachmentOpen {
  display: none;
}
.attachmentControl .attachmentList .attachment:hover .attachmentOpen {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  color: var(--primary-500);
  background-color: var(--secondary-50);
  text-decoration: underline;
  cursor: pointer;
  padding: 0 0.25rem;
}
.attachmentControl .attachmentList .attachment.attachmentOversize {
  background-color: var(--secondary-100);
  font-weight: 500;
}
.attachmentControl .attachmentList .upload {
  position: relative;
  display: inline-block;
  border: 1px solid var(--secondary-200);
  padding: 0.125rem 0.25rem;
  margin: 0 0.25rem 0.25rem 0;
}
.attachmentControl .attachmentList .upload .progress {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
}
/* RECIPIENTS CONTROL */
.recipients {
  height: inherit;
}
.recipients .recipient-input {
  outline: none;
  background: transparent;
  width: 100%;
}
.recipients .recipient-search {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 25rem;
  z-index: 2;
  border: 1px solid var(--gray-medium);
  background-color: var(--white);
  box-shadow: 0 0 3px var(--black-light);
}
.recipients .recipient-search > DIV {
  position: relative;
}
.recipients .recipient-search > DIV .recipient-items {
  min-height: 4rem;
  max-height: 25rem;
  overflow-y: auto;
}
.recipients .recipient-search > DIV .recipient-items .recipient-item {
  padding: 0.25rem 0.5rem;
  border-bottom: 1px solid var(--primary-500);
  cursor: pointer;
}
.recipients .recipient-search > DIV .recipient-items .recipient-item:hover {
  background-color: var(--primary-100);
}
.recipients .recipient-search > DIV .recipient-items .recipient-item:last-child {
  border-bottom: 0;
}
.recipients .recipient-search > DIV .recipients-loading {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--primary-100);
}
.recipients .recipient-search > DIV .recipients-loading .fa-spinner {
  color: var(--primary-500);
}
