@font-face {
  font-family: "rounabold";
  src: url("../fonts/rouna-bold-webfont.c7d9a632a861.eot");
  src: url("../fonts/rouna-bold-webfont.c7d9a632a861.eot?#iefix") format("embedded-opentype"),
    url("../fonts/rouna-bold-webfont.a89fe9e1aa92.woff2") format("woff2"),
    url("../fonts/rouna-bold-webfont.29ce49c952a8.woff") format("woff"),
    url("../fonts/rouna-bold-webfont.cf5422a8dae5.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "rounamedium";
  src: url("../fonts/rouna-medium-webfont.36a8d2a52665.eot");
  src: url("../fonts/rouna-medium-webfont.36a8d2a52665.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/rouna-medium-webfont.aab20478b633.woff2") format("woff2"),
    url("../fonts/rouna-medium-webfont.b847e64be65c.woff") format("woff"),
    url("../fonts/rouna-medium-webfont.8cd9b0bd05d0.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "rounaregular";
  src: url("../fonts/rouna-regular-webfont.502577ada6d4.eot");
  src: url("../fonts/rouna-regular-webfont.502577ada6d4.eot?#iefix")
      format("embedded-opentype"),
    url("../fonts/rouna-regular-webfont.6d0e265088e1.woff2") format("woff2"),
    url("../fonts/rouna-regular-webfont.b6b1f1daf96e.woff") format("woff"),
    url("../fonts/rouna-regular-webfont.7a71e164ddad.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

:root {
  --color-black: black;
  --color-white: white;
  --color-white-05: #fafafa;
  --color-white-10: #e6e6e6;
  --color-white-20: #cccccc;

  --color-text: #262626;
  --bs-body-color: var(--color-text);
  --color-body: var(--color-white);

  --component-sidebar-size: 7rem;
  --component-sidebar-color: var(--bs-light);
  --component-sidebar-text-color: var(--color-text);
  --component-sidebar-text-weight: normal;

  --component-sidebar-border-color: var(--bs-light);
  --component-sidebar-active-color: rgba(0, 0, 0, 0.1);

  --component-sidebar-mobile-bar-color: var(--bs-primary);

  --component-ui-widget-color-active: var(--bs-primary);
  --component-ui-widget-color-text-active: var(--bs-light);

  --component-progress-color: var(--bs-gray);
  --component-progress-border-color: var(--color-white);
  --component-progress-active-color: var(--bs-success);
  --component-progress-complete-color: var(--bs-success);

  --component-bg-light-color: var(--bs-light);

  --melvio-purple: #5F3C66;
  --melvio-red: #F88BA2;
  --melvio-red-dark: #955361;
  --melvio-green: #608a7b;
  --melvio-green-dark: #567C6F;
  --melvio-light-green: #b3ccb2;
  --melvio-light-red: #efe0db;
  --melvio-beige: #EFE0DC;
  --melvio-beige-light: #FCF9F8;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* HTML Base Components */

html,
body {
  flex: 1;
  height: 100%;
}
body {
  margin: 0;
  font-size: 1em;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  line-height: 1.65 !important;
  color: var(--color-text);
  background: var(--color-body);
}
h1,
h2,
h3,
h4,
h5 {
  font-weight: normal !important;
}
button {
  font-weight: normal !important;
}
a {
  text-decoration: none;
}
button:focus,
a:focus {
  outline: none;
}
ul {
  padding: 0.5rem 0 0.5rem 0;
}
ul > li {
  list-style: none;
}
ul.list-inline > li {
  display: inline-block;
  padding-right: 1rem;
}
input[type="date"],
input[type="time"] {
  -webkit-appearance: none;
}
pre {
  white-space: pre-wrap;
}

/* Utilities */

.bg-off-white {
  background-color: var(--component-bg-light-color);
}
.bg-off-white-hover:hover {
  background-color: var(--component-bg-light-color);
}
.bg-cover {
  object-fit: cover;
}
.bg-right {
  object-position: right;
}
.position-top-right {
  right: 1rem;
  top: 1rem;
  position: absolute;
}
.position-bottom-right {
  right: 1rem;
  bottom: 1rem;
  position: absolute;
}
.vh-25 {
  min-height: 25vh;
}
.vh-50 {
  min-height: 50vh;
}
.vh-75 {
  min-height: 75vh;
}
.vh-100 {
  min-height: 100vh;
}
.max-vh-25 {
  max-height: 25vh;
}
.min-h-100 {
  min-height: 100%;
}
.min-vh-100 {
  min-height: 100vh;
}
.vw-25 {
  min-width: 25vw;
}
.w-auto {
  width: auto;
}
.w-10 {
  width: 10%;
}
.w-15 {
  width: 15%;
}
.w-20 {
  width: 20%;
}
.hidden {
  position: fixed;
  left: -9999999px;
  top: -9999999px;
  width: 1px;
  height: 1px;
}
ul.list-dots > li {
  list-style: inside;
}

.auth0-login-container {
  background-color: #f8f6f4;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.auth0-login-container-text {
  margin: 1.2rem;
}

.auth0-login-container a {
  margin-top: 3rem;
  margin-bottom: 4rem;
}

.auth0-login-container small {
  font-size: 0.8rem;
}

.auth0-login-container-privacy-policy {
  font-size: 0.2rem;
}

/* Firebase Auth UI */

#firebase-loading,
#firebaseui-auth-container {
  background-color: #f8f6f4;
}
.mdl-dialog {
  top: 0px !important;
  height: 90px !important;
}
.mdl-card {
  margin: 1rem auto;
  padding: 1.25rem;
  background-color: #f8f6f4;
}
.mdl-shadow--2dp {
  box-shadow: none !important;
}

/* Bootstrap Components */

.container,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 0;
}
.text-justify {
  text-align: justify;
}

/* Wondershop Components */

.nested-list ul {
  padding: 0px;
}
.nested-list ul,
.nested-list li {
  list-style: disc;
}

#wizard {
  padding-top: 4.75rem;
}

.choices > ul > li > label {
  padding: 0.75rem 1.25rem 0.75rem 45px;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-bottom: 0px;
  text-indent: -30px;
}
.choices > ul > li:first-child > label {
  border-top-right-radius: 0.25rem;
  border-top-left-radius: 0.25rem;
}
.choices > ul > li:last-child > label {
  border-bottom-right-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.list-group-item input[type="checkbox"],
.choices > ul > li > label > input {
  margin-right: 12px;
}
.disabled {
  opacity: 0;
}
.disabled-choice {
  text-decoration: line-through;
}

/* Console & Forms */
.data .select2-container--bootstrap-5 .select2-selection {
  min-height: auto !important;
  padding: 0.25rem 0.7rem !important;
}
.data .select2-selection__rendered {
  padding: 0px;
}

/* TODO: This is a hack-ish way to make the remove button visible */
.select2-container--bootstrap-5 .select2-selection--multiple .select2-selection__rendered .select2-selection__choice .select2-selection__choice__remove {
  overflow: visible;
  width: 1.2rem;
  height: 2.0rem;
  text-indent: 0;
}

.sticky {
  max-height: 75vh;
}
thead td,
.sticky table > thead th {
  top: 0;
  position: sticky;
  background-color: white;
  z-index: 100;
  white-space: nowrap;
}
.sticky table > tbody > tr > td:first-child {
  left: 0;
  position: sticky;
  background-color: #efefef;
  z-index: 1000;
  white-space: nowrap;
}

/* jQuery UI */
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
  border-radius: 0.375rem;
  color: var(--component-ui-widget-color-text-active);
  background-color: var(--component-ui-widget-color-active);
}

/* Autocomplete */
.ui-autocomplete {
  position: absolute;
  top: 0;
  left: 0;
  cursor: default;
}

.ui-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: block;
  outline: 0;
}
.ui-menu .ui-menu {
  position: absolute;
}
.ui-menu .ui-menu-item-wrapper {
  padding: 0.75rem;
}
.ui-helper-hidden {
  display: none;
}
.ui-helper-hidden-accessible {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/* DatePicker */
.ui-datepicker,
.ui-datepicker-calendar {
  width: 100%;
  font-size: 0.9rem;
}
.ui-datepicker td,
.ui-datepicker th {
  text-align: center;
  padding: 0.25rem;
}
.ui-datepicker-header {
  display: flex;
  padding: 0.25rem 0.75rem 0.75rem 0.75rem;
  justify-content: space-between;
}
.ui-datepicker-prev {
  order: 1;
}
.ui-datepicker-prev:hover {
  cursor: pointer;
}
.ui-datepicker-title {
  order: 2;
  flex-grow: 1;
  text-align: center;
}
.ui-datepicker-next {
  order: 3;
}
.ui-datepicker-next:hover {
  cursor: pointer;
}
.ui-state-default {
  padding: 0.5rem;
  display: block;
  width: 100%;
}
.selected > .ui-state-default {
  color: white;
  border-radius: 0.375rem;
  background-color: #0d6efd;
}

.selected-previous > .ui-state-default {
  color: white;
  border-radius: 0.375rem;
  background-color: #262626;
}

.sidebar {
  top: 0px;
  bottom: 0px;
  position: fixed;
  margin-bottom: 0;
  padding: 16px 0 0 0;
  overflow-x: visible;
  z-index: 10;
  flex-direction: column;
  height: auto !important; /* bs tries to obverride it*/

  width: var(--component-sidebar-size);
  color: var(--component-sidebar-color-text);
  max-width: var(--component-sidebar-size);
  background-color: var(--component-sidebar-color);
  border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.sidebar--start {
  padding-left: var(--component-sidebar-size);
}

.sidebar-backdrop {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.sidebar-content {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 2rem;
  margin-bottom: 2rem;
}

.sidebar.show {
  transform: none;
}

.sidebar .nav-link {
  font-size: 0.75rem;
  padding: 10px 8px;
  transition: 0.2s ease background-color;
  cursor: pointer !important;
  font-weight: var(--component-sidebar-text-weight);
  color: var(--component-sidebar-text-color);
}

.sidebar .nav-link.active {
  color: var(--component-sidebar-text-color);
}

.sidebar .nav-link.active,
.sidebar .nav-link:hover {
  background-color: var(--component-sidebar-active-color);
}

.sidebar .navbar-nav {
  padding-top: 0;
}

.navbar-extra {
  /* margin-top: 4rem; */
  padding: 0px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin-top: auto;
  margin-bottom: 24px;
}

.navbar-extra,
.navbar-extra .btn {
  font-size: 12px !important;
  text-align: center;
  color: inherit;
}

.navbar-extra .btn {
  color: var(--component-sidebar-text-color);
  padding: 0 !important;
  margin: 16px 0;
  border: 0 !important;
}
.navbar-extra .btn:hover {
  text-decoration: underline;
}

.navbar-sites {
  padding-top: 16px;
  margin-bottom: 16px;
}

.navbar-brand {
  display: block;
}

.navbar-brand > img {
  max-width: 64px;
  display: block;
  margin: 0 auto;
}

.navbar-brand > img.logo-login {
  max-width: 128px;
}

.navbar-brand > img.logo-member {
  max-width: 80px;
}

.nav-site {
  white-space: inherit;
  padding: 0 8px;
  font-size: 0.8rem;
  text-align: center;
  min-height: 2.75rem;
  word-break: break-word;
}

.nav-icon {
  display: block;
  font-size: 1.25rem;
}

.timetable-setting {
  font-size: 14px;
  word-break: break-word;
}

.messenger-recipients {
  max-height: 80vh;
  overflow: scroll;
}

.progress-steps {
  width: 100%;
  position: absolute;
}
.progress-step {
  flex-grow: 1;
  display: inline;
  height: 6px;
  background-color: var(--component-progress-color);
  border-right: 2px solid var(--component-progress-border-color);
}
.progress-step.active {
  background-color: var(--component-progress-active-color);
}
.progress-step.complete {
  background-color: var(--component-progress-complete-color);
}

.bg-light {
  background-color: var(--component-bg-light-color) !important;
}

.login-background {
  object-position: 0%;
  object-fit: cover;
  width: 100%;
}

@media (min-width: 1550px) {
  .sidebar-content > * {
    margin-left: -3.5rem;
  }
}

@media (min-width: 576px) {
  .sidebar {
    display: flex !important;
  }
}

@media (max-width: 575px) {
  .sidebar {
    transition: transform 0.2s cubic-bezier(0, 0.57, 0.1, 1.07);
    position: fixed;
    top: 0;
    max-width: initial;
    width: 50vw;
  }

  .sidebar {
    transform: translateX(-100%);
    left: 0;
    right: initial;
  }

  .nav-icon {
    font-size: 1.25rem;
    margin-right: 12px;
  }

  .sidebar--start {
    padding-left: 0;
    padding-right: 0;
  }

  .nav-link {
    padding: 10px;
  }

  .sidebar .nav-link {
    text-align: left !important;
    display: flex;
    align-items: center;
  }

  .navbar-sites {
    color: var(--color-purple);
    font-size: 14px;
    padding: 0 10px;
  }
  .sidebar-xs-navigation {
    font-size: 1.5rem;
    background-color: var(--component-sidebar-mobile-bar-color);
    padding: 0 1rem;
  }
  .navbar-extra {
    margin-top: 4vh;
  }
  .navbar-extra,
  .navbar-extra .btn {
    text-align: left;
  }
  .nav-site {
    margin-bottom: 0;
  }
  .bg-lander {
    height: 200px;
  }
}

@media (min-width: 576px) and (max-height: 800px) {
  .sidebar .nav-link {
    padding: 4px;
  }
  .sidebar .nav-icon {
    font-size: 1rem;
  }
}

@media (min-width: 576px) and (max-height: 640px) {
  .navbar-sites {
    margin-bottom: 4px;
  }
  .sidebar .nav-link {
    padding: 8px 0 8px 8px;
    text-align: left !important;
  }
  .sidebar .nav-icon {
    font-size: 0.8rem;
    display: inline;
    padding-right: 4px;
  }
  .navbar-extra,
  .navbar-extra .btn {
    text-align: left;
  }
}
