/* Klinikum Stuttgart theme (KS-220): overrides Grove, Bootstrap and app.css. */

/* Tokens */

:root {
  --ks-petrol: #2c5c71;
  --ks-petrol-dark: #1f4555;
  --ks-teal: #00cfb9;
  --ks-teal-text: #007a6c;
  /* Teal mixed with white: 55 %, 35 %, 25 %, 15 %, 6 % */
  --ks-teal-strong: #73e5d8;
  --ks-teal-tint: #a6eee6;
  --ks-teal-soft: #bff3ee;
  --ks-teal-light: #d9f8f4;
  --ks-teal-pale: #f0fcfb;
  --ks-red: #e03c39;
  --ks-red-text: #cb2320;
  --ks-green: #2e8540;
  --ks-text: #474747;
  --ks-white: #ffffff;
  --ks-grey-light: #f1f1f1;
  --ks-grey: #e2e2e2;
  --ks-grey-dark: #d4d4d4;
  --ks-field-border: #8a8a8a;
  --ks-focus: var(--ks-petrol);
  --ks-font: Lexend, Arial, sans-serif;
  --ks-fs-body: 1rem;
  --ks-lh-body: 1.5;
  --ks-fs-h2: 1.5rem;
  --ks-fs-btn: 1rem;
  --ks-fs-dense: min(var(--ks-fs-body), 16px);
  /* Fields stay at 16px so iOS Safari does not zoom in on focus. */
  --ks-fs-field: 16px;
}

@media (min-width: 576px) {
  :root {
    --ks-fs-body: 1.125rem;
  }
}

@media (min-width: 768px) {
  :root {
    --ks-fs-body: 1.25rem;
    --ks-lh-body: 1.688;
    --ks-fs-h2: 1.75rem;
    --ks-fs-btn: 1.125rem;
  }
}

@media (min-width: 1200px) {
  :root {
    --ks-fs-body: 1.375rem;
    --ks-fs-h2: 2rem;
  }
}

@media (min-width: 1400px) {
  :root {
    --ks-fs-body: 1.5rem;
    --ks-fs-h2: 2.375rem;
  }
}

/* Fonts */

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/lexend/lexend-latin-300.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/lexend/lexend-latin-400.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/lexend/lexend-latin-500.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/lexend/lexend-latin-600.woff2") format("woff2");
}

@font-face {
  font-family: "Lexend";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/lexend/lexend-latin-700.woff2") format("woff2");
}

/* Base */

html {
  font-size: 14px;
}

* {
  font-family: var(--ks-font);
}

body {
  font-family: var(--ks-font);
  font-size: var(--ks-fs-body);
  font-weight: 400;
  line-height: var(--ks-lh-body);
  color: var(--ks-text);
}

p,
li {
  overflow-wrap: break-word;
}

p,
li,
label,
.content p,
.registration-form label,
.registration-confirmation p,
.registration-preview .is-text {
  font-size: inherit;
  line-height: inherit;
}

input,
button,
select,
textarea,
.btn.btn-grove-one,
.btn.btn-grove-two,
.btn.btn-grove-three,
.table,
.dataTable.table,
.dataTables_filter input {
  font-family: var(--ks-font);
}

:focus-visible,
a:focus-visible {
  outline: 2px solid var(--ks-focus);
  outline-offset: 2px;
}

/* Typography */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--ks-font);
  font-weight: 700;
  color: var(--ks-petrol);
  line-height: 1.25;
  hyphens: auto;
  overflow-wrap: break-word;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: var(--ks-fs-h2);
}

h3 {
  font-size: calc((var(--ks-fs-body) + var(--ks-fs-h2)) / 2);
}

h4 {
  font-size: calc(var(--ks-fs-body) + 0.125rem);
}

h5,
h6 {
  font-size: var(--ks-fs-body);
}

strong,
b,
.claim h1,
.claim h1 em,
div.pagetitle h1,
.main .head h2,
.claim h1 .claim-klein,
.registration-form .required-marker,
.pagination > .active > a,
.pagination > .active > span {
  font-family: var(--ks-font);
  font-weight: 700;
}

/* Buttons */

.btn,
.btn-group > .btn {
  font-size: var(--ks-fs-btn);
}

.btn:not(.btn-text) {
  font-weight: 500;
  border-radius: 0;
}

.btn.btn-grove-two,
.btn.btn-secondary,
.btn.btn-success {
  font-weight: 700;
}

.btn,
.fc-button,
.pagination > li > a {
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.btn:hover,
.btn:focus,
.btn:active {
  text-decoration: none;
}

p > br + .btn {
  margin-top: 0.75rem;
}

.btn:focus-visible {
  outline: 2px solid var(--ks-focus);
  outline-offset: 2px;
}

.btn.btn-edit,
.btn-grove-one,
.btn-primary,
.dataTable .btn-edit,
.listrow .btn-edit,
.btn-ical,
.btn-print,
.btn-storno,
.btn-view {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  background-image: none;
  border: 1px solid var(--ks-petrol);
  border-radius: 0;
  text-shadow: none;
}

.btn-grove-one:hover,
.btn.btn-edit:hover,
.btn-grove-one:focus,
.btn.btn-edit:focus,
.btn-grove-one:active,
.btn.btn-edit:active,
.btn-grove-one.active,
.btn.btn-edit.active,
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.dataTable .btn-edit:hover,
.dataTable .btn-edit:focus,
.listrow .btn-edit:hover,
.listrow .btn-edit:focus,
.btn-ical:hover,
.btn-ical:focus,
.btn-print:hover,
.btn-print:focus,
.btn-storno:hover,
.btn-storno:focus,
.btn-view:hover,
.btn-view:focus {
  color: var(--ks-white);
  background-color: var(--ks-teal-text);
  border-color: var(--ks-teal-text);
  background-image: none;
  text-decoration: none;
}

.btn.btn-edit.btn-invert,
.btn-grove-one.btn-invert,
.btn-grove-two.btn-invert,
.btn-default.btn-invert {
  color: var(--ks-petrol);
  background-color: var(--ks-grey-light);
  border-color: var(--ks-grey-light);
}

.btn-grove-one.btn-invert:hover,
.btn.btn-edit.btn-invert:hover,
.btn-grove-one.btn-invert:focus,
.btn.btn-edit.btn-invert:focus,
.btn-grove-one.btn-invert:active,
.btn.btn-edit.btn-invert:active,
.btn-grove-one.btn-invert.active,
.btn.btn-edit.btn-invert.active,
.btn-grove-two.btn-invert:hover,
.btn-grove-two.btn-invert:focus,
.btn-grove-two.btn-invert:active {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  border-color: var(--ks-petrol);
  text-decoration: none;
}

.btn-grove-two,
.btn-secondary,
.btn-success {
  color: var(--ks-petrol-dark);
  background-color: var(--ks-teal);
  background-image: none;
  border: 1px solid var(--ks-teal);
  border-radius: 0;
  text-shadow: none;
}

.btn-grove-two:hover,
.btn-grove-two:focus,
.btn-grove-two:active,
.btn-grove-two.active,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  border-color: var(--ks-petrol);
  background-image: none;
  text-decoration: none;
}

.btn-grove-one .caret,
.btn-grove-two .caret {
  border-top-color: currentColor;
}

.btn.disabled,
.btn[disabled],
fieldset[disabled] .btn,
.btn.disabled:hover,
.btn[disabled]:hover,
fieldset[disabled] .btn:hover,
.btn.disabled:focus,
.btn[disabled]:focus,
fieldset[disabled] .btn:focus,
.btn.disabled:active,
.btn[disabled]:active,
fieldset[disabled] .btn:active {
  color: var(--ks-text);
  background-color: var(--ks-grey);
  border-color: var(--ks-grey);
  text-decoration: none;
  opacity: 1;
  cursor: not-allowed;
}

/* Links */

a {
  color: var(--ks-teal-text);
}

a:hover,
a:focus {
  color: var(--ks-teal-text);
  text-decoration: underline;
}

.main .text-center a {
  color: var(--ks-teal-text);
}

/* Forms */

label {
  color: var(--ks-text);
  hyphens: auto;
  overflow-wrap: break-word;
}

.col-sm-1 > label,
.col-sm-2 > label {
  font-size: 1rem;
  overflow-wrap: normal;
}

.col-sm-2 > label {
  hyphens: manual;
}

.form-control,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"] {
  color: var(--ks-text);
  border: 1px solid var(--ks-field-border);
  border-radius: 0;
}

.form-control:focus,
.registration-form .form-control:focus,
textarea:focus,
select:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus {
  border-color: var(--ks-petrol);
  outline: 2px solid var(--ks-focus);
  outline-offset: 0;
  box-shadow: none;
}

.form-control,
.registration-form .form-control,
textarea,
select,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
input[type="number"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
.dataTables_filter input,
.dataTables_length select {
  font-size: var(--ks-fs-field);
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--ks-petrol);
}

input[type="file"]:focus,
input[type="radio"]:focus,
input[type="checkbox"]:focus {
  outline: 2px solid var(--ks-focus);
  outline-offset: 2px;
}

.input-group-addon,
.input-append .add-on,
.input-append .add-on:last-child,
.input-prepend .add-on,
.input-prepend .add-on:first-child {
  color: var(--ks-petrol);
  background-color: var(--ks-grey-light);
  border-color: var(--ks-field-border);
  border-radius: 0;
}

input.parsley-error,
input.parsley-error:focus {
  border: 2px solid var(--ks-red);
}

.parsley-error-list,
.registration-form .required-marker {
  color: var(--ks-red-text);
}

[style*="color:red"],
[style*="color: red"],
[style*="color:#ff0000"],
[style*="color: #ff0000"] {
  color: var(--ks-red-text) !important;
}

a > [style*="color:red"],
a > [style*="color: red"],
a > [style*="color:#ff0000"],
a > [style*="color: #ff0000"] {
  color: inherit !important;
}

.datepicker {
  font-size: var(--ks-fs-dense);
  line-height: 1.43;
}

.datepicker td.active,
.datepicker td.active:hover,
.datepicker td.active:focus,
.datepicker td.active:active,
.datepicker td.active.active,
.datepicker td.active.disabled,
.datepicker td.active[disabled],
.datepicker td span.active,
.datepicker td span.active:hover,
.datepicker td span.active:focus,
.datepicker td span.active:active,
.datepicker td span.active.active,
.datepicker td span.active.disabled,
.datepicker td span.active[disabled] {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  background-image: none;
  border-color: var(--ks-petrol);
  text-shadow: none;
  filter: none;
}

.datepicker td.day:hover,
.datepicker td span:hover,
.datepicker th:hover {
  background: var(--ks-grey-light);
}

/* Messages */

.alert,
.alert-warning,
.flashmessages-ok,
.flashmessages-notice,
.flashmessages-warning,
.flashmessages-error,
.form-signin-flashmessages-ok,
.form-signin-flashmessages-notice,
.form-signin-flashmessages-warning,
.form-signin-flashmessages-error {
  color: var(--ks-text);
  background-color: var(--ks-grey-light);
  border: 0;
  border-left: 4px solid var(--ks-petrol);
  border-radius: 0;
  text-shadow: none;
}

.alert h4 {
  color: var(--ks-text);
}

.alert-warning,
.alert-danger,
.alert-error,
.form-alert,
.flashmessages-warning,
.flashmessages-error,
.form-signin-flashmessages-warning,
.form-signin-flashmessages-error {
  border-left-color: var(--ks-red);
}

.alert-success,
.flashmessages-ok,
.form-signin-flashmessages-ok {
  border-left-color: var(--ks-green);
}

.alert .alert-link {
  color: var(--ks-teal-text);
}

/* Modals */

.modal-content {
  font-size: var(--ks-fs-dense);
  line-height: 1.5;
  border: 0;
  border-radius: 0;
}

.modal-header {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  border-bottom: 0;
}

.modal-header .modal-title {
  font-size: 1.25rem;
  color: var(--ks-white);
}

.modal-header .close {
  color: var(--ks-white);
  text-shadow: none;
  opacity: 0.85;
}

.modal-header .close:hover,
.modal-header .close:focus {
  color: var(--ks-white);
  opacity: 1;
}

.modal-header :focus-visible {
  outline-color: var(--ks-teal);
}

.modal-footer {
  border-top: 1px solid var(--ks-grey-dark);
}

/* Header */

.title_container .claim.logo img {
  height: auto;
}

.title_container .claim h1 {
  font-size: 1.125rem;
  line-height: 1.2;
  color: var(--ks-petrol);
  font-weight: 700;
}

@media (min-width: 576px) {
  .title_container .claim h1 {
    font-size: var(--ks-fs-h2);
  }
}

/* Hero */

div.large-caption {
  font-size: 2.375rem;
}

div.large-caption p {
  color: var(--ks-petrol);
  background-color: var(--ks-white);
  font-weight: 700;
}

div.large-caption div:last-child p {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
}

.layerslider-mini h2 {
  font-size: calc(var(--ks-fs-body) + 0.25rem);
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  font-weight: 700;
}

.layerslider-mini .d-flex {
  background-color: var(--ks-petrol);
  border-top-color: var(--ks-petrol);
}

.layerslider-mini p {
  font-size: inherit;
  color: var(--ks-petrol);
  background-color: var(--ks-white);
  font-weight: 700;
}

.layerslider-mini p:last-child {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
}

/* Navigation */

.navbar_content {
  --ks-focus: var(--ks-teal);
  color: var(--ks-white);
  background-color: var(--ks-petrol);
}

.navbar_content .nav > li > .btn.btn-text,
.navbar_content .navbar_salutation {
  font-size: var(--ks-fs-btn);
}

.navbar_content .nav > li > .btn.btn-text {
  color: var(--ks-white);
  border-radius: 0;
}

.navbar_content .nav > li > .btn.btn-text:hover,
.navbar_content .nav > li > .btn.btn-text:focus {
  color: var(--ks-white);
  background-color: var(--ks-teal-text);
  text-decoration: none;
}

.navbar_content .nav > li.active > .btn.btn-text,
.navbar_content .nav > li > .btn.btn-text[aria-current="page"] {
  box-shadow: inset 0 -4px 0 var(--ks-teal);
}

.navbar_content [class^="icon-"],
.navbar_content [class*=" icon-"] {
  background-image: url("../../Amso.Calendar/img/glyphicons-halflings-white.png");
}

/* Page title */

.widewrapper.pagetitle {
  background-color: var(--ks-grey-light);
}

div.pagetitle h1 {
  font-size: var(--ks-fs-h2);
  line-height: 1.2;
  color: var(--ks-petrol);
}

div.pagetitle .text-right h1 {
  font-size: var(--ks-fs-btn);
  line-height: 1.75;
}

/* Start page */

.main .head,
.main .head .ribbon {
  font-size: 1rem;
}

.main .head {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
}

.main .head h2 {
  padding: 0 0.5rem;
  font-size: calc(var(--ks-fs-body) + 0.125rem);
  color: var(--ks-white);
}

.main ul.details,
.main .details {
  background-color: var(--ks-grey-light);
}

.main ul.details li.appointment,
.main ul.details li.status {
  font-size: 2.125rem;
}

.main ul.details li.appointment {
  color: var(--ks-petrol);
}

@media (min-width: 768px) {
  .main ul.details li.appointment,
  .main ul.details li.status {
    font-size: 1.5rem;
  }
}

@media (min-width: 992px) {
  .main ul.details li.appointment,
  .main ul.details li.status {
    font-size: 2.125rem;
  }
}

.main ul.details li.appointment .small {
  font-size: 1.25rem;
}

.main ul.details li.status .small {
  font-size: 1rem;
}

.row:has(> .main) {
  display: flex;
  flex-wrap: wrap;
}

.row:has(> .main)::before,
.row:has(> .main)::after {
  content: none;
}

.row > .main {
  display: flex;
  flex-direction: column;
}

@media (max-width: 767px) {
  .row > .main {
    width: 100%;
  }
}

.row > .main > .head {
  display: flex;
  align-items: center;
  justify-content: center;
}

.main .head h2 {
  line-height: 1.3;
}

.row > .main > .details {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
}

.main ul.details li.appointment {
  height: auto;
  padding: 1.5rem 0;
  line-height: 1.2;
}

.main ul.details li.appointment .small {
  display: block;
  margin-top: 0.5rem;
}

.row > .main > .text-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 0 0.5rem 0.5rem;
  background-color: var(--ks-grey-light);
}

.row > .main > .text-center .btn-text {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

@media (min-width: 768px) {
  .row > .main > .head {
    min-height: calc(3.9 * (var(--ks-fs-body) + 0.125rem) + 10px);
  }
}

@media (min-width: 1200px) {
  .row > .main > .head {
    min-height: calc(2.6 * (var(--ks-fs-body) + 0.125rem) + 10px);
  }
}

.text-box a.btn-grove-one:not(.btn-invert)::after,
.main .head:not(.headtasks) ~ .details li.reserve > a.btn-grove-one::after {
  content: "\203A";
  margin-left: 0.5em;
}

/* Footer */

.widewrapper.footer,
#fusszeile {
  font-size: var(--ks-fs-dense);
}

.widewrapper.footer a {
  font-size: inherit;
}

.widewrapper.footer {
  color: var(--ks-text);
  background-color: var(--ks-grey-light);
}

.widewrapper.footer a {
  color: var(--ks-petrol);
}

.widewrapper.footer a:hover,
.widewrapper.footer a:focus {
  color: var(--ks-petrol);
  text-decoration: underline;
}

/* Calendar */

html .fc {
  font-size: var(--ks-fs-dense);
  line-height: 23px;
}

.fc-header-title h2 {
  font-size: var(--ks-fs-dense);
  line-height: 23px;
  color: var(--ks-petrol);
}

.fc-header .fc-button {
  font-weight: 500;
}

.fc-state-default {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  background-image: none;
  border-color: var(--ks-petrol);
  text-shadow: none;
}

.fc-state-hover,
.fc-state-down {
  color: var(--ks-white);
  background-color: var(--ks-teal-text);
  border-color: var(--ks-teal-text);
  text-decoration: none;
}

.fc-state-active {
  color: var(--ks-petrol-dark);
  background-color: var(--ks-teal);
  border-color: var(--ks-teal);
  font-weight: 700;
  text-decoration: none;
}

.fc-state-disabled {
  color: var(--ks-text);
  background-color: var(--ks-grey);
  border-color: var(--ks-grey);
  text-decoration: none;
}

.fc-text-arrow {
  font-family: var(--ks-font);
  font-weight: 700;
}

.fc .fc-state-highlight,
.fc .fc-today {
  background: var(--ks-teal-pale);
}

.fc .fc-today .fc-day-number {
  color: var(--ks-petrol);
  font-weight: 700;
}

.fc .fc-event {
  background-color: transparent;
  border: 1px solid transparent;
}

.fc .fc-event:focus-visible {
  outline: 2px solid var(--ks-focus);
  outline-offset: 1px;
}

.fc .fc-event[class*="blocked-"],
.fc .fc-event[class*="blocked-"]:hover,
.fc .fc-event[class*="blocked-"]:focus {
  color: var(--ks-petrol);
}

.fc .fc-event[class*="blocked-"] .fc-event-inner {
  background-color: var(--ks-teal-light);
  box-shadow: inset 4px 0 0 var(--ks-teal-text);
}

.fc .fc-event[class*="blocked-"]:hover .fc-event-inner,
.fc .fc-event[class*="blocked-"]:focus .fc-event-inner {
  background-color: var(--ks-teal-soft);
  text-decoration: underline;
}

.fc .fc-event.blocked-0,
.fc .fc-event.blocked-0:hover,
.fc .fc-event.blocked-0:focus {
  color: var(--ks-text);
}

.fc .fc-event.blocked-0 .fc-event-inner {
  background-color: var(--ks-grey);
  box-shadow: none;
}

.fc .fc-event.blocked-0:hover .fc-event-inner,
.fc .fc-event.blocked-0:focus .fc-event-inner {
  background-color: var(--ks-grey-dark);
}

.fc .fc-event.free,
.fc .fc-event.free-modal,
.fc .fc-event.free:hover,
.fc .fc-event.free-modal:hover,
.fc .fc-event.free:focus,
.fc .fc-event.free-modal:focus {
  color: var(--ks-petrol);
}

.fc .fc-event.free .fc-event-inner,
.fc .fc-event.free-modal .fc-event-inner {
  background-color: var(--ks-teal-tint);
}

.fc .fc-event.free:hover .fc-event-inner,
.fc .fc-event.free-modal:hover .fc-event-inner,
.fc .fc-event.free:focus .fc-event-inner,
.fc .fc-event.free-modal:focus .fc-event-inner {
  background-color: var(--ks-teal-strong);
  text-decoration: underline;
}

.fc .fc-event.blocked,
.fc .fc-event.blocked:hover,
.fc .fc-event.blocked:focus {
  color: var(--ks-text);
}

.fc .fc-event.blocked .fc-event-inner {
  background-color: var(--ks-grey-light);
  background-image: repeating-linear-gradient(-45deg, var(--ks-grey-light) 0 6px, var(--ks-grey) 6px 12px);
}

.fc .fc-event.my,
.fc .fc-event.my-modal,
.fc .fc-event.my:hover,
.fc .fc-event.my-modal:hover,
.fc .fc-event.my:focus,
.fc .fc-event.my-modal:focus {
  color: var(--ks-white);
}

.fc .fc-event.my .fc-event-inner,
.fc .fc-event.my-modal .fc-event-inner {
  background-color: var(--ks-petrol);
  box-shadow: none;
}

.fc .fc-event.my:hover .fc-event-inner,
.fc .fc-event.my-modal:hover .fc-event-inner,
.fc .fc-event.my:focus .fc-event-inner,
.fc .fc-event.my-modal:focus .fc-event-inner {
  background-color: var(--ks-petrol-dark);
  text-decoration: underline;
}

.fc .fc-event.marked-for-deletion .fc-event-inner,
.fc .fc-event.marked-for-deletion:hover .fc-event-inner,
.fc .fc-event.marked-for-deletion:focus .fc-event-inner {
  background-image: repeating-linear-gradient(-45deg, transparent 0 6px, rgba(255, 255, 255, 0.15) 6px 12px);
}

.fc .capacity-badge {
  color: var(--ks-petrol);
  background-color: var(--ks-white);
  box-shadow: inset 0 0 0 1px var(--ks-petrol);
}

/* The sprite icon is drawn as a mask so it takes the theme colour. */
.fc .capacity-edit {
  background: var(--ks-petrol);
  -webkit-mask: url("../../Amso.Calendar/img/glyphicons-halflings.png") -48px -72px no-repeat;
  mask: url("../../Amso.Calendar/img/glyphicons-halflings.png") -48px -72px no-repeat;
}

.fc .fc-event.my-modal .capacity-edit,
.fc .fc-event.my .capacity-edit {
  background: var(--ks-white);
}

.fc .fc-event[class*="blocked-"] .capacity-edit {
  margin-left: 6px;
}

/* Admin */

div.pagetitle .btn.btn-text,
div.pagetitle .btn.btn-text#dailyexport,
div.pagetitle .btn.btn-text#dailyexportxls {
  color: var(--ks-petrol);
}

div.pagetitle .icon-white {
  background-image: url("../../Amso.Calendar/img/glyphicons-halflings.png");
}

.table,
.dataTable.table,
.dataTables_wrapper,
div.dataTables_wrapper div.dataTables_info {
  font-size: var(--ks-fs-dense);
}

table.table thead > tr > th {
  color: var(--ks-petrol);
  border-bottom: 2px solid var(--ks-petrol);
}

table.table tbody > tr > td {
  border-top-color: var(--ks-grey-dark);
}

.table,
.dataTable.table,
div.dataTables_wrapper div.dataTables_info {
  color: var(--ks-text);
}

table.dataTable thead > tr > th {
  background-color: var(--ks-grey-light);
}

table.dataTable tbody > tr:nth-child(even) > td {
  background-color: var(--ks-grey-light);
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
  color: var(--ks-petrol);
}

table.dataTable thead .sorting::after {
  opacity: 0.45;
}

table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after {
  opacity: 1;
}

.dataTables_length select,
.dataTables_filter input {
  color: var(--ks-text);
  border: 1px solid var(--ks-field-border);
  box-shadow: none;
}

.dataTables_length select:focus,
.dataTables_filter input:focus {
  border-color: var(--ks-petrol);
  outline: 2px solid var(--ks-focus);
  outline-offset: 0;
  box-shadow: none;
}

.pagination > li > a,
.pagination > li > span {
  color: var(--ks-petrol);
  background-color: var(--ks-white);
  border: 1px solid var(--ks-grey-dark);
}

.pagination > li > a:hover,
.pagination > li > a:focus {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  border-color: var(--ks-petrol);
  text-decoration: none;
}

.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
  color: var(--ks-white);
  background-color: var(--ks-petrol);
  border-color: var(--ks-petrol);
  text-decoration: none;
}

.pagination > .disabled > span,
.pagination > .disabled > a,
.pagination > .disabled > a:hover,
.pagination > .disabled > a:focus {
  color: var(--ks-text);
  background-color: var(--ks-grey-light);
  border-color: var(--ks-grey-dark);
  text-decoration: none;
}

.listrow + .listrow {
  border-top-color: var(--ks-teal);
}

.dataTables_wrapper {
  overflow-x: auto;
}

.dataTables_filter input {
  max-width: 100%;
}

@media (min-width: 768px) {
  .row > .col-sm-1.col-edit:not(:has(input, select, textarea)) {
    flex: 0 0 auto;
    width: auto;
    max-width: none;
    padding-right: 5px;
    padding-left: 5px;
    white-space: nowrap;
  }
}

.input-lg,
.input-xlg {
  max-width: 100%;
}

@media (max-width: 767px) {
  .input-lg {
    width: 100%;
  }
}

/* Neuspender only: start.png has empty space below the arm */

.layerslider-mini img {
  aspect-ratio: 608 / 280;
  object-fit: cover;
  object-position: top;
}
