:root {
  --system-color-accent: #1ca067;
  --system-color-primary: #9c0f5f;
  --system-color-neutral: #d8d6d6;
  --system-color-lightneutral: #f3f0f0;
  --system-color-on-neutral: #000;
  --system-color-on-accent: #fff;
  --system-color-on-primary: #fff;
  --system-color-base: #fff;
  --system-color-tableeven: #f0ffff;
}

body {
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
}

body.abs-center {
  align-items: center;
}

body * {
  font-family: "Assistant";
}

.offcanvas-header {
  background-color: var(--system-color-accent);
  color: var(--system-color-on-accent);
}

.nav-icon {
  font-size: 1.5em;
  text-align: center;
  padding: 1rem 1.5rem;
  min-height: 150px;
  display: flex;
  flex-direction: column;
  margin: 2rem auto;
  background-color: #1ca067;
  color: #fff;
  max-width: 300px;
  cursor: pointer;
}

.nav-icons a {
  text-decoration: none;
}

.home .nav-icon {
  height: 150px;
}

.home .nav-icon i {
  font-size: 3em;
  border: solid 0.01em #fff;
  padding: 0.8rem;
  max-width: 7rem;
  margin: auto;
}

.home-icon span {
  display: inline-block;
  margin-top: 1rem;
}

.nav-icons {
  margin: 0;
}

.nav-icon {
  font-size: 1em;
  padding: 0.5rem 1rem;
  min-height: 100px;
}

.nav-icon i {
  font-size: 1.2em;
  border: solid 0.01em #fff;
  padding: 0.8rem;
  max-width: 7rem;
  margin: auto;
}

.control-buttons {
  display: flex;
  justify-content: space-between;
}

.chosen-dates {
  text-transform: uppercase;
  display: flex;
}

#cd-output {
  min-height: 100px;
  border: 1px dashed #ced4da;
  flex-grow: 1;
  margin-left: 1rem;
  display: flex;
  flex-wrap: wrap;
}

#cd-output.missing {
  border-color: #ff0000;
  background-color: #ebebeb;
}

.cd-heading {
  flex-shrink: 0;
}

.cd-heading span {
  font-size: 0.6em;
}

.cd-date {
  padding: 0.5rem 0.8rem;
  margin: 0.2rem;
  background-color: #1ca067;
  color: #fff;
  max-height: 2.5em;
  cursor: pointer;
}

.cd-date span {
  background-color: #fff;
  color: #1ca067;
  margin-left: 0.5rem;
  padding: 0 0.2rem;
  border-radius: 0.3rem;
  text-align: center;
  cursor: pointer;
}

.cd-date.specific {
  background-color: #fff;
  color: #1ca067;
}

.sprateday {
  position: relative;
}

span.sprateday {
  display: inline-block;
}

span.sprateday::after {
  right: 0px;
  top: opx;
}

.sprateday::after {
  content: "";
  background: #1ca067;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  position: absolute;
  right: 5px;
  top: 5px;
}

table.dp {
  width: 100%;
  border-collapse: separate;
}

table.dp th,
table.dp td {
  width: calc(100% / 7);
  text-align: center;
}

table.dp td {
  height: 50px;
}

table.dp td.active {
  border: 1px solid #ced4da;
  border-radius: 0.3rem;
  cursor: pointer;
}

table.dp td.inactive {
  background-color: #ced4da;
}

table.dp td.today {
  background-color: purple;
  color: #fff;
  cursor: pointer;
}

table.dp td.chosen {
  background-color: beige;
}

table.dp th {
  border: 1px solid #ced4da;
}

#dp-month-current {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.1em;
}

#dp-month-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#dp-month-back,
#dp-month-forward {
  font-size: 1.1em;
  border: 1px solid #ced4da;
  padding: 0.5rem 0.8rem;
  cursor: pointer;
}

#dp-month-back:hover,
#dp-month-forward:hover {
  background-color: burlywood;
}

#dp-month-current {
  display: flex;
  flex-direction: column;
  text-align: center;
}

#dp-month-current #dp-mc-year {
  font-size: 0.8em;
}

.form-floating > textarea.form-control.large {
  height: calc(10rem + 2px);
}

.action-icon {
  border: solid #ebebeb 0.1em;
  border-radius: 0.6rem;
  padding: 0.4rem 0.5rem;
  margin: 0 0.3rem;
  background-color: #1ca067;
  color: #fff;
  cursor: pointer;
}

table.dataTable {
  width: 100% !important;
}

.dataTables_wrapper {
  margin: 2rem 0;
  font-size: 1em;
}

table.default-table {
  width: 100% !important;
}
table.default-table th {
  padding: 0.3rem 0.3rem;
}
table.default-table td {
  padding: 0.4rem 0.5rem;
}
table.default-table td:last-of-type,
table.default-table th:last-of-type {
  text-align: end;
  padding-right: 0.6rem;
}
table.default-table th {
  border-bottom: var(--system-color-accent) 0.2em solid;
}
table.default-table tr td {
  border: var(--system-color-accent) 44 0 solid;
  border-width: 0 0 0.03em 0;
  word-break: break-word;
}
table.default-table tr.even,
table.default-table tr:nth-child(even) {
  background-color: var(--system-color-tableeven);
}

.dataTables_empty {
  text-align: center !important;
}

.dates-requested {
  width: 100%;
}

.dates-requested th {
  border-bottom: var(--system-color-accent) 0.2em solid;
}

.offcanvas-end {
  width: 800px;
}

.field-group {
  display: flex;
}

.field-title {
  font-weight: 700;
  width: 200px;
  margin-right: 1rem;
}

.form-cr-heading {
  display: none;
}

.crm-form-holder {
  max-width: 800px;
  margin: auto;
  padding: 2rem;
  border-radius: 0.8rem;
}

.crm-codebox {
  max-width: 300px;
  margin: auto;
}

.btn-login {
  border: solid 0.1em #1ca067;
  padding: 0.375rem 1.25rem;
  background-color: var(--system-color-accent);
  color: var(--system-color-on-primary);
}

.btn-login:focus,
.btn-login:hover {
  color: var(--system-color-accent);
  background-color: var(--system-color-on-primary);
}

.crm-subtext {
  font-size: 0.9em;
  font-weight: lighter;
}

label.no-wrap {
  white-space: nowrap;
}
