:root {
  --wes-blue: #1068C9;
  --wes-white: #f1f3f7;
  --wes-black: #181825;
  --wes-grey: #6a7c89;
  --wes-module-compassops: $module-compassops-colour;
  --wes-module-compassprojects: $module-compassprojects-colour;
  --wes-module-planc: $module-planc-colour; }

.btn-danger, .btn-danger:hover, .btn-outline-danger:hover {
  color: white; }

html {
  height: 100%;
  font-size: 13px;
  scroll-behavior: smooth; }

body {
  height: 100%;
  font-family: montserrat;
  scrollbar-color: rgba(0, 0, 0, 0.2);
  scrollbar-width: thin; }

::-webkit-scrollbar {
  width: 16px;
  height: 16px; }

::-webkit-scrollbar-track {
  background: #00000000; }

::-webkit-scrollbar-thumb {
  border: 6px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  background-clip: padding-box; }

::-webkit-scrollbar-corner {
  background: transparent; }

::-webkit-scrollbar-thumb:vertical {
  min-height: 30px; }

::-webkit-scrollbar-thumb:horizontal {
  min-width: 30px; }

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 0, 0, 0.4);
  background-clip: padding-box;
  border: 4px solid transparent; }

app {
  height: 100%;
  display: flex;
  flex-direction: column; }

.window-overlay {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  overflow: auto;
  z-index: 100000;
  display: grid;
  place-items: center;
  background-color: rgba(16, 104, 201, 0.1); }

.sidebar {
  background-color: #272933; }

.loader {
  text-align: center; }
  .loader .message {
    margin-bottom: 16px; }
  .loader .ball {
    width: 16px;
    height: 16px;
    background-color: #1068C9;
    border-radius: 100%;
    display: inline-block;
    animation: bounce-animation 1.4s infinite ease-in-out both; }
  .loader .ball:nth-of-type(1) {
    animation-delay: -0.32s; }
  .loader .ball:nth-of-type(2) {
    animation-delay: -0.16s; }

@keyframes bounce-animation {
  0%, 80%, 100% {
    transform: scale(0); }
  40% {
    transform: scale(1); } }

nav select.form-select:focus {
  outline: none;
  box-shadow: none;
  border: 1px solid #ced4da; }

@media (max-width: 575px) {
  #navbar {
    position: absolute;
    width: 100%; } }

.navbar .nav-link.active {
  font-weight: bold;
  border-bottom: 4px solid #f8f9fa; }

.navbar .nav-link:hover:not(.active) {
  color: #000000; }

.sidebar-nav-link {
  color: #f8f9fa !important;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  font-size: 1rem; }

.child-sidebar-nav-link {
  padding-left: 2rem; }

.grandchild-sidebar-nav-link {
  padding-left: 4rem; }

.sidebar-nav-link.active {
  color: #f8f9fa !important;
  font-weight: inherit;
  border-bottom: 3px solid #1068C9; }

.sidebar-nav-link:hover:not(.active) {
  color: #f8f9fa !important;
  background-color: #1e1f23; }

.not-latest-revision-warning {
  color: red;
  font-style: italic;
  font-weight: bold; }

.document-revision-select {
  margin: 0px 5px 0px 5px;
  min-width: 100px; }

.selected-revision-number {
  font-style: italic; }

/* Required to prevent an issue where grids overflow the normal boundaries of the flex layout and expand the entire page. */
/* https://stackoverflow.com/a/66689926 */
.grid-overflow-fix {
  min-width: 0; }

.section-left {
  flex: 0 0 auto;
  width: 100%; }
  @media (min-width: 768px) {
    .section-left {
      flex: 0 0 auto;
      width: 33.33333333%; } }
  @media (min-width: 1200px) {
    .section-left {
      flex: 0 0 auto;
      width: 25%; } }

.section-right {
  flex: 0 0 auto;
  width: 100%; }
  @media (min-width: 768px) {
    .section-right {
      flex: 0 0 auto;
      width: 66.66666666%; } }
  @media (min-width: 1200px) {
    .section-right {
      flex: 0 0 auto;
      width: 75%; } }

.page-container {
  padding: 1rem 2rem; }

.page-container-fixed-height {
  display: flex !important;
  flex-direction: column !important;
  height: calc(100vh - 2em); }

/* Heller to make element zero height. This is required for some flex layouts to work. */
.h-0 {
  height: 0; }

#blazor-error-ui {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000; }

#blazor-error-ui .dismiss {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem; }

.validation-message {
  color: red; }

/* Override the default behaviour of removing link styling in grids. */
.k-grid a {
  color: #1068C9; }

/* Fix Bootstrap button styling in grids. */
.k-grid a.btn {
  color: #FFFFFF;
  text-decoration: none; }

/* Allow Bootstrap badges to wrap over multiple lines in a Kendo grid */
.badge-column {
  gap: 0.25rem;
  flex-wrap: wrap;
  display: flex; }

/* Fix button styling for toolbars (to make FA icons align correctly). */
.k-toolbar .btn {
  display: revert; }

p.TelerikNormal, li.TelerikNormal, div.TelerikNormal, p.MsoNormal, li.MsoNormal, div.MsoNormal {
  margin: 0px 0px 1rem 0px;
  padding: 0px; }

p.Subnormal, li.Subnormal, div.Subnormal {
  margin: 0cm 0cm 1rem 14.2pt;
  padding: 0px; }

p.subsubnormal, li.subsubnormal, div.subsubnormal {
  margin: 0cm 0cm 1rem 42.55pt;
  padding: 0px; }

p.Subnormal[style*="direction: rtl;"], li.Subnormal[style*="direction: rtl;"], div.Subnormal[style*="direction: rtl;"] {
  margin: 0cm 14.2pt 1rem 0cm;
  padding: 0px; }

p.subsubnormal[style*="direction: rtl;"], li.subsubnormal[style*="direction: rtl;"], div.subsubnormal[style*="direction: rtl;"] {
  margin: 0cm 42.55pt 1rem 0cm;
  padding: 0px; }

/* Create an up triangle */
th[aria-sort="none"]::before {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  border-bottom: 3px solid #6a7c89;
  position: absolute;
  top: calc(50% - 4px);
  /* Position above the center */
  right: 0.6em;
  z-index: 3; }

/* Create a down triangle */
th[aria-sort="none"]::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 3px solid #6a7c89;
  border-left: 3px solid transparent;
  border-right: 3px solid transparent;
  position: absolute;
  top: calc(50% + 1px);
  /* Position below the center */
  right: 0.6em;
  z-index: 3; }

.badge {
  border-radius: 1.3rem;
  padding: 0.8rem;
  font-weight: 500;
  text-wrap: wrap; }

.btn {
  border-radius: 0.4rem;
  min-width: 6rem; }

.btn-secondary {
  color: #fff !important; }

.btn-danger {
  color: #fff !important; }

.btn-danger:hover {
  color: #fff !important; }

.btn-outline-secondary:hover {
  color: #fff !important; }

.bg-warning {
  color: #212529 !important; }

h1 {
  margin-bottom: 2.78rem;
  font-size: 2.50rem; }
  h1.page-title {
    margin-top: 2.78rem; }

h2 {
  margin-bottom: 1.30rem;
  font-size: 1.57rem; }

h3 {
  margin-bottom: 0.80rem;
  font-size: 0.85rem; }

.news-article-edit-page-dropdown {
  transform: translate(-109px, 36px) !important; }

.confirmation-notification {
  position: absolute;
  display: inline-block;
  top: 0; }
  .confirmation-notification .k-notification {
    width: 230px; }
  .confirmation-notification .k-notification-content {
    display: inline; }
  .confirmation-notification .k-notification-actions {
    position: absolute;
    right: 6px; }

.k-notification-container {
  margin: 6px 0; }

.k-grid-header-menu {
  color: var(--wes-blue); }

.k-column-resizer {
  z-index: 2; }

.item-ahead {
  background: #F9E17D;
  color: #212529; }

.item-alert {
  background: #CD5254; }

.item-init {
  background: #EEEEEE;
  color: #212529; }

.item-ok {
  background: #98CD75;
  color: #212529; }

.item-very-ahead {
  background: #73C5ED;
  color: #212529; }

.item-warn {
  background: #FFC364;
  color: #212529; }

.item-work {
  background: #FFFFE0;
  color: #212529; }

.item-approved-with {
  background: #98cc00;
  color: #212529; }

.k-tabstrip-left .k-tabstrip-items.k-reset {
  width: 200px; }

.k-tabstrip-item .k-link {
  font-size: 1rem;
  color: var(--wes-blue);
  font-weight: 500; }

.k-tabstrip-item.k-active .k-link {
  font-weight: 700; }

.title-edit-style-fix {
  margin-block: auto;
  display: inline-block; }

.text-primary:hover {
  color: #2a5789 !important; }

.k-toolbar {
  justify-content: flex-end; }

.k-grid-header-menu.k-grid-filter-menu.k-active {
  color: #1068C9;
  background-color: #F9E17D; }

.k-grid-header-menu.k-grid-column-menu.k-active {
  color: #1068C9;
  background-color: #F9E17D; }

.k-columnmenu-item.k-selected {
  color: #212529;
  background-color: #F9E17D; }

.k-picker-solid {
  background-color: white; }

label {
  font-weight: 600; }

.item-dialog {
  background-color: var(--wes-white); }

.k-tabstrip-item {
  border-bottom: 1px solid #dee2e6 !important; }

.k-tabstrip-item:focus {
  outline-style: none; }

.k-tabstrip > .k-link:focus {
  outline-style: none; }

.k-tabstrip > .k-content:focus {
  outline-style: none; }

.k-tabstrip > .k-tabstrip-items-wrapper .k-item:focus {
  box-shadow: none; }

a {
  text-decoration: none; }

.breadcrumb {
  margin-bottom: 0.5rem; }

.non-interactive .k-gantt-timeline .k-task-actions {
  display: none; }

.non-interactive .k-gantt-timeline .k-resize-handle {
  display: none; }

.non-interactive .k-gantt-timeline .k-task-template {
  padding-block: 0px;
  padding-inline: 0px; }

.vertical-ellipse-text-5 {
  display: -webkit-box;
  white-space: pre-wrap;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; }

.hide-summary-tag .k-input-values .k-chip-list .k-chip:not(:first-of-type) {
  display: none; }

.chip-170 {
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.chip-150 {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.k-loader-container {
  z-index: 5 !important; }

.sidebar.sidebar-test,
.sidebar.collapsed.sidebar-test .sidebar-button {
  background-color: #8a3a3a !important; }

.sidebar.sidebar-test #user-options {
  background-color: #642e2e !important; }

.ProseMirror-selectednode {
  outline: 2px solid #8cf; }

div.ProseMirror {
  position: relative;
  min-height: 100%;
  word-wrap: break-word;
  white-space: pre-wrap;
  white-space: break-spaces;
  -webkit-font-variant-ligatures: none;
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0;
  /* the above doesn't seem to work in Edge */ }

div.ProseMirror:focus {
  outline: none; }

.ProseMirror pre {
  white-space: pre-wrap; }

.ProseMirror-hideselection *::selection {
  background: transparent; }

.ProseMirror-hideselection *::-moz-selection {
  background: transparent; }

.ProseMirror-hideselection {
  caret-color: transparent; }

.ProseMirror li {
  position: relative; }

li.ProseMirror-selectednode {
  outline: none; }

li.ProseMirror-selectednode:after {
  content: "";
  position: absolute;
  left: -32px;
  right: -2px;
  top: -2px;
  bottom: -2px;
  border: 2px solid #8cf;
  pointer-events: none; }

.ProseMirror-gapcursor {
  display: none;
  pointer-events: none;
  position: absolute; }

.ProseMirror-gapcursor:after {
  content: "";
  display: block;
  position: absolute;
  top: -2px;
  width: 20px;
  border-top: 1px solid black;
  animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite; }

@keyframes ProseMirror-cursor-blink {
  to {
    visibility: hidden; } }

.ProseMirror-focused .ProseMirror-gapcursor {
  display: block; }

.k-editor-resize-handles-wrapper {
  position: absolute;
  visibility: hidden; }

.ProseMirror .tableWrapper {
  overflow-x: auto;
  margin: 1em 0; }

.k-editor-resize-wrap-element {
  display: inline-block;
  position: relative; }

.ProseMirror .row-resize-handle {
  position: absolute;
  right: 0;
  left: 0;
  bottom: 0;
  transform: translate(0, 50%);
  height: 4px;
  z-index: 20;
  background-color: #adf;
  pointer-events: none; }

.ProseMirror.resize-cursor-vertical {
  cursor: sn-resize;
  cursor: row-resize; }

.k-editor-resize-wrap-element table td p,
.k-editor-resize-wrap-element table th p {
  margin: 0 auto; }

.ProseMirror table {
  margin: 0;
  border-collapse: collapse;
  table-layout: fixed;
  width: 100%;
  overflow: hidden; }

.ProseMirror td, .ProseMirror th {
  min-width: 1em;
  border: 1px solid #ddd;
  padding: 3px 5px;
  vertical-align: top;
  box-sizing: border-box;
  position: relative; }

.ProseMirror th {
  font-weight: bold;
  text-align: left; }

.ProseMirror .column-resize-handle {
  position: absolute;
  right: -2px;
  top: 0;
  bottom: 0;
  width: 4px;
  z-index: 20;
  background-color: #adf;
  pointer-events: none; }

.ProseMirror.resize-cursor {
  cursor: ew-resize;
  cursor: col-resize; }

/* Give selected cells a blue overlay */
.ProseMirror .selectedCell:after {
  z-index: 2;
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(200, 200, 255, 0.4);
  pointer-events: none; }
