@import url("https://fonts.googleapis.com/css2?family=BIZ+UDPGothic:wght@400;700&display=swap");
/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
  -webkit-tap-highlight-color: transparent; /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: inherit; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none; /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit; /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  cursor: pointer;
}

button:disabled,
[type=button]:disabled,
[type=reset]:disabled,
[type=submit]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type=search] {
  outline-offset: -2px; /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type=number] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit; /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

* {
  box-sizing: border-box;
}

html,
body {
  color: #453E39;
  font-size: 16px;
  font-family: "BIZ UDPGothic", sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1rem;
}

h1 {
  margin-bottom: 1.25rem;
}

h2 {
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 0.75rem;
}

h4 {
  margin-bottom: 0.5rem;
}

a {
  color: #E45713;
  text-decoration: underline;
}

p {
  text-align: justify;
}

hr {
  width: 100%;
  margin: 3rem 0;
}

form label {
  display: inline-block;
  vertical-align: baseline;
}
form input[type=text],
form input[type=textarea],
form input[type=number],
form input[type=date],
form input[type=time],
form input[type=datetime-local],
form input[type=email],
form input[type=password],
form input[type=search] {
  padding: 10px 15px;
  border: solid 2px #CBB4A6;
  border-radius: 8px;
  font-size: 0.75em;
  outline-color: #E45713;
}
form input[type=text]:disabled, form input[type=text]:read-only,
form input[type=textarea]:disabled,
form input[type=textarea]:read-only,
form input[type=number]:disabled,
form input[type=number]:read-only,
form input[type=date]:disabled,
form input[type=date]:read-only,
form input[type=time]:disabled,
form input[type=time]:read-only,
form input[type=datetime-local]:disabled,
form input[type=datetime-local]:read-only,
form input[type=email]:disabled,
form input[type=email]:read-only,
form input[type=password]:disabled,
form input[type=password]:read-only,
form input[type=search]:disabled,
form input[type=search]:read-only {
  cursor: not-allowed;
  background-color: #FCFAF7;
}
form input[type=text]::placeholder,
form input[type=textarea]::placeholder,
form input[type=number]::placeholder,
form input[type=date]::placeholder,
form input[type=time]::placeholder,
form input[type=datetime-local]::placeholder,
form input[type=email]::placeholder,
form input[type=password]::placeholder,
form input[type=search]::placeholder {
  color: #FCFAF7;
  text-align: left;
}
form input[type=number] {
  min-width: 10em;
}
form input[type=radio] {
  cursor: pointer;
  appearance: auto;
  display: inline-block;
}
form input[type=checkbox] {
  cursor: pointer;
  appearance: auto;
  display: inline-block;
}
form select {
  appearance: auto;
  padding: 10px 15px;
  border: solid 2px #CBB4A6;
  border-radius: 8px;
  font-size: 0.75em;
  outline-color: #E45713;
}
form select:disabled {
  cursor: not-allowed;
  background-color: #FCFAF7;
}

table th.right,
table td.right {
  text-align: right;
}

.btn, .btn-danger, .btn-fill-white, .btn-fill-orange, .btn-fill, form.ransack button[type=submit], .btn-middle, .btn-large, form input[type=submit] {
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 5px 15px;
  color: #453E39;
  text-align: center;
  text-decoration: none;
  text-indent: 0.25em;
  letter-spacing: 0.25em;
  white-space: nowrap;
  border: solid 2px #453E39;
  border-radius: 10px;
  background: white;
  transition: all 0.1s;
}
.btn:hover, .btn-danger:hover, .btn-fill-white:hover, .btn-fill-orange:hover, .btn-fill:hover, form.ransack button[type=submit]:hover, .btn-middle:hover, .btn-large:hover, form input[type=submit]:hover {
  color: #E45713;
  border-color: #E45713;
  background: #FCECE3;
}
.btn svg, .btn-danger svg, .btn-fill-white svg, .btn-fill-orange svg, .btn-fill svg, form.ransack button[type=submit] svg, .btn-middle svg, .btn-large svg, form input[type=submit] svg {
  margin-right: 0.25em;
}
.btn-large, form input[type=submit] {
  padding: 10px 25px;
  min-width: 10rem;
}
.btn-middle {
  padding: 5px 15px;
  min-width: 5rem;
}
.btn-fill, form.ransack button[type=submit] {
  border-color: #453E39;
  background: white;
}
.btn-fill:hover, form.ransack button[type=submit]:hover {
  color: white;
  border-color: #876F5E;
  background: #876F5E;
}
.btn-fill-orange {
  color: white;
  border-color: #FB8B70;
  background: #FB8B70;
}
.btn-fill-orange:hover {
  color: white;
  border-color: #E45713;
  background: #E45713;
}
.btn-fill-white {
  color: #FB8B70;
  border-color: #FB8B70;
  background: white;
}
.btn-fill-white:hover {
  color: white;
  border-color: #E45713;
  background: #E45713;
}
.btn-danger {
  padding: 15px 25px;
  min-width: 10rem;
  color: white;
  border-color: #ff2d2d;
  background-color: #ff2d2d;
}

main {
  display: grid;
  grid-template-columns: 250px 1fr;
  overflow: hidden;
}
main div#container {
  padding: 50px 7vw;
  background: #FCFAF7;
}

form .radio_grid,
form .checkbox_grid {
  gap: 20px 50px;
  padding: 0.25rem;
}
form .radio_grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
form .radio_grid input[type=radio] {
  display: none;
}
form .radio_grid label {
  padding-left: 30px;
  position: relative;
}
form .radio_grid label:before, form .radio_grid label:after {
  content: "";
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
form .radio_grid label:before {
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #876F5E;
  left: 0;
}
form .radio_grid label:after {
  display: none;
  width: 12px;
  height: 12px;
  background: #FB8B70;
  left: 4px;
}
form .radio_grid label:has(input:checked):before {
  border-color: #FB8B70;
}
form .radio_grid label:has(input:checked):after {
  display: block;
}
form .checkbox_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
form .checkbox_grid + .checkbox_grid {
  margin-top: 1rem;
}
form span.checkbox label {
  display: block;
  padding-left: 35px;
  position: relative;
}
form span.checkbox label:before, form span.checkbox label:after {
  content: "";
  position: absolute;
  top: 50%;
}
form span.checkbox label:before {
  display: block;
  width: 25px;
  height: 25px;
  border: solid 2px #876F5E;
  border-radius: 8px;
  transform: translateY(-50%);
  left: 0;
}
form span.checkbox label:after {
  display: none;
  width: 6px;
  height: 10px;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  left: 10px;
  transform: translateY(-60%) rotate(45deg);
}
form span.checkbox label:has(> input:checked):before {
  border-color: #FB8B70;
  background: #FB8B70;
}
form span.checkbox label:has(> input:checked):after {
  display: block;
}
form span.checkbox label input[type=checkbox] {
  display: none;
}
form label.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
form label.checkbox input[type=checkbox],
form label.checkbox span {
  display: inline-block;
  line-height: 1;
}
form input[type=submit] {
  color: white;
  border-color: #FB8B70;
  background: #FB8B70;
}
form input[type=submit]:hover {
  color: white;
  border-color: #E45713;
  background: #E45713;
}
form table.form {
  margin-bottom: 2rem;
}
form table.form tr {
  border-top: solid 1px #EBE0D8;
  border-bottom: solid 1px #EBE0D8;
}
form table.form th,
form table.form td {
  padding: 1rem 1.5rem;
}
form table.form th {
  vertical-align: middle;
  background: #F7F5F2;
}
form table.form th label {
  padding: 0.25rem 0;
  word-break: keep-all;
}
form table.form td {
  width: 100%;
}
form .form-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 3rem 0 2rem;
}

section#flash {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  animation-name: fadeout;
  animation-duration: 1s;
  animation-delay: 3s;
  animation-timing-function: linear;
  animation-fill-mode: forwards;
}
section#flash .flash_type {
  padding: 1rem;
  border-radius: 15px;
}
section#flash .flash_type.flash_type-notice {
  background: #c4ffc4;
}
section#flash .flash_type.flash_type-alert {
  background: #ffdde2;
}

@keyframes fadeout {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
header#site_header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem 3rem;
  padding: 7px 20px;
  width: 100%;
  color: #F2EEE7;
  background: #656156;
}
header#site_header .title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
header#site_header .title svg {
  width: 50px;
  height: 50px;
}
header#site_header .title a {
  text-decoration: none;
}
header#site_header .title h1 {
  margin: 0;
  color: #F2EEE7;
  font-size: 20px;
}
header#site_header menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: baseline;
  gap: 15px 50px;
  margin: 0;
  margin-left: auto;
  padding: 0;
}
header#site_header menu a.registration_edit {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
  color: #F2EEE7;
  text-decoration: none;
}
header#site_header menu a.registration_edit svg {
  font-size: 1.4em;
}
header#site_header menu button.signOut {
  display: inline-flex;
  align-items: center;
  gap: 0.75em;
}
header#site_header menu button.signOut svg {
  font-size: 1.4em;
}

div#container[class$=-index] header.info {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 2rem;
  margin: 25px 15px 15px;
}
div#container[class$=-index] header.info form.ransack {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  margin-left: auto;
}
div#container[class$=-index] header.search_form {
  margin: 25px 15px 15px;
}
div#container[class$=-index] header.search_form form.ransack {
  display: flex;
  align-items: center;
  gap: 15px;
}

aside#sidebar {
  padding: 20px 15px;
  font-size: 1.25rem;
  color: #F2EEE7;
  background: #656156;
  z-index: 1;
}
aside#sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem 0;
}
aside#sidebar nav li {
  list-style: none;
}
aside#sidebar nav li.current {
  position: relative;
}
aside#sidebar nav li.current a {
  color: #656156;
  background: #FCFAF7;
  position: relative;
}
aside#sidebar nav li.current a:before, aside#sidebar nav li.current a:after {
  content: "";
  display: block;
  width: 15px;
  height: 15px;
  position: absolute;
  right: -15px;
  background-position: right bottom;
  background-repeat: no-repeat;
  background-color: #FCFAF7;
}
aside#sidebar nav li.current a:before {
  mask: url(/assets/sidebar/menu_current_before-453f759331ad0d3631c9c23283afe4a59e72e610a3e0fd629a34df6f87e6888a.svg) no-repeat right bottom;
  top: -15px;
}
aside#sidebar nav li.current a:after {
  mask: url(/assets/sidebar/menu_current_after-056a69b9d4c95449c72cdec342bbcb0ea0aabd3b25286250fb06ea8f0b9aaf7a.svg) no-repeat right top;
  bottom: -15px;
}
aside#sidebar nav li.current:before {
  content: "";
  display: block;
  height: 100%;
  width: 30px;
  background: #FCFAF7;
  position: absolute;
  top: 0;
  right: -15px;
}
aside#sidebar nav li:not(.current) a:hover {
  background: #E45713;
}
aside#sidebar nav li svg {
  width: 2rem;
}
aside#sidebar nav li a {
  display: block;
  padding: 1rem 1rem;
  color: #F2EEE7;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.1s;
}
aside#sidebar hr {
  width: calc(100% - 2rem);
  margin: 3rem auto;
}

footer#site_footer {
  margin: 1rem 0 0;
  padding: 1rem;
}
footer#site_footer p {
  text-align: center;
}

div#container header.title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px 50px;
  margin: 0 0 25px;
  padding: 0 20px 20px;
  border-bottom: solid #656156 2px;
}
div#container header.title h1 {
  margin: 0;
}
div#container header.title h1 span {
  font-size: 0.7em;
  font-weight: normal;
}
div#container header.title .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 5px;
  border-radius: 15px;
  background: #EBE0D8;
}
div#container header.title .actions a {
  padding: 10px 25px;
  min-width: 160px;
  color: #645D57;
  text-align: center;
  text-decoration: none;
  border-radius: 10px;
}
div#container header.title .actions a.active {
  background: #FCFAF7;
}
div#container section {
  overflow: hidden;
  margin-bottom: 40px;
  padding: 20px;
  border: solid 1px #EBE0D8;
  border-radius: 15px;
  background: white;
}

div#container[class$=-index] section.index {
  padding: 0;
}
div#container[class$=-index] section.index table.index {
  width: 100%;
  background: white;
}
div#container[class$=-index] section.index table.index thead {
  font-size: 1rem;
}
div#container[class$=-index] section.index table.index tbody {
  font-size: 1.1rem;
}
div#container[class$=-index] section.index table.index tbody tr:nth-child(odd) {
  background: #F7F5F2;
}
div#container[class$=-index] section.index table.index tbody td .btn-middle {
  font-size: 1rem;
}
div#container[class$=-index] section.index table.index tbody a.show_link {
  text-decoration: none;
}
div#container[class$=-index] section.index table.index th,
div#container[class$=-index] section.index table.index td {
  padding: 14px 20px;
  vertical-align: baseline;
}

div#container[class$=-show] table.show {
  width: 100%;
}
div#container[class$=-show] table.show th,
div#container[class$=-show] table.show td {
  padding: 24px 20px;
}
div#container[class$=-show] table.show tbody tr {
  border: solid 1px #EBE0D8;
  border-left: none;
  border-right: none;
}
div#container[class$=-show] table.show tbody tr:nth-child(even) {
  background: #F7F5F2;
}
div#container[class$=-show] table.show tfoot td {
  padding: 40px 20px;
}
div#container[class$=-show] table.show tfoot td .actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  width: 100%;
}

div#container[class$=-new] > .actions,
div#container[class$=-create] > .actions,
div#container[class$=-edit] > .actions,
div#container[class$=-update] > .actions,
div#container[class$=-show] > .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding: 20px;
}
div#container[class$=-new] > .actions .destroy,
div#container[class$=-create] > .actions .destroy,
div#container[class$=-edit] > .actions .destroy,
div#container[class$=-update] > .actions .destroy,
div#container[class$=-show] > .actions .destroy {
  margin-left: auto;
  color: #CBB4A6;
}
div#container[class$=-new] #error_explanation,
div#container[class$=-create] #error_explanation,
div#container[class$=-edit] #error_explanation,
div#container[class$=-update] #error_explanation,
div#container[class$=-show] #error_explanation {
  margin: 0 0 2rem;
  padding: 1rem;
  color: #ff2d2d;
  border: dashed 1px #ff2d2d;
}
div#container[class$=-new] #error_explanation ul,
div#container[class$=-create] #error_explanation ul,
div#container[class$=-edit] #error_explanation ul,
div#container[class$=-update] #error_explanation ul,
div#container[class$=-show] #error_explanation ul {
  list-style: disc;
  margin-left: 2rem;
}
div#container[class$=-new] #error_explanation ul li:not(:last-child),
div#container[class$=-create] #error_explanation ul li:not(:last-child),
div#container[class$=-edit] #error_explanation ul li:not(:last-child),
div#container[class$=-update] #error_explanation ul li:not(:last-child),
div#container[class$=-show] #error_explanation ul li:not(:last-child) {
  margin-bottom: 0.5rem;
}

div#container.users-show header.show {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
div#container.users-show h3 {
  margin: 1rem 1.5rem;
  font-size: 1.75rem;
  font-weight: normal;
}
div#container.users-show h3 svg {
  font-size: 1.2em;
}
div#container.users-show section.show .tables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-start;
  gap: 2rem 1rem;
}
@media (max-width: 1024px) {
  div#container.users-show section.show .tables {
    grid-template-columns: 1fr;
  }
}
div#container.users-show section.show .tables table {
  height: 100%;
  border-top: solid 2px #EBE0D8;
  border-bottom: solid 2px #EBE0D8;
}
div#container.users-show section.show .tables table th, div#container.users-show section.show .tables table td {
  padding: 0.75rem 1.5rem;
  vertical-align: middle;
}
div#container.users-show section.show .tables table th {
  width: 8em;
  text-align-last: justify;
  background: #F7F5F2;
}
div#container.users-show section.show .tables table tr {
  border-top: 1px solid #EBE0D8;
}
div#container.users-show section.show .tables table td.code,
div#container.users-show section.show .tables table td.name {
  font-weight: bold;
}
div#container.users-show section.show .tables table td.code {
  font-size: 1.5rem;
}
div#container.users-show section.show .tables table td.name {
  padding-bottom: 0.75em;
  font-size: 2rem;
}
div#container.users-show section.show .tables table td.name small {
  font-size: 0.5em;
}
div#container.users-show section.show #medicine_notebooks {
  margin-top: 40px;
  border-top: solid 2px #EBE0D8;
  border-bottom: solid 2px #EBE0D8;
}
div#container.users-show section.show #medicine_notebooks table {
  width: 100%;
}
div#container.users-show section.show #medicine_notebooks table th, div#container.users-show section.show #medicine_notebooks table td {
  padding: 1rem 1.5rem;
}
div#container.users-show section.show #medicine_notebooks table thead {
  background: #F7F5F2;
}
div#container.users-show section.show #medicine_notebooks table thead th {
  width: 10em;
}
div#container.users-show section.show #medicine_notebooks #medicine_notebooks-splide {
  display: grid;
  margin: 0 auto;
  padding: 0 30px 30px;
}
div#container.users-show section.show #medicine_notebooks #medicine_notebooks-splide li.splide__slide {
  max-height: 320px;
}
div#container.users-show section.show #medicine_notebooks #medicine_notebooks-splide li.splide__slide > img {
  cursor: zoom-in;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
div#container.users-show section.show #medicine_notebooks .medicine_notebook_zoom {
  cursor: zoom-out;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  padding: 3rem 5rem;
  background: rgba(0, 0, 0, 0.3);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
}
div#container.users-show section.show #medicine_notebooks .medicine_notebook_zoom img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
div#container.users-show section.show #comorbidities {
  margin-top: 40px;
  overflow: hidden;
  width: 100%;
  border: solid 2px #EBE0D8;
  border-radius: 15px;
}
div#container.users-show section.show #comorbidities table {
  table-layout: fixed;
  width: 100%;
  background: white;
}
div#container.users-show section.show #comorbidities table th, div#container.users-show section.show #comorbidities table td {
  padding: 1rem 1.5rem;
}
div#container.users-show section.show #comorbidities table thead {
  border-bottom: solid 2px #EBE0D8;
  background: #F7F5F2;
}
div#container.users-show section.show #comorbidities table thead th:nth-child(1) {
  width: 10em;
}
div#container.users-show section.show #comorbidities table thead th:nth-child(2) {
  width: 15em;
}
div#container.users-show section.show #comorbidities table tbody tr:nth-child(even) {
  background: #F7F5F2;
}
div#container.users-show section.show #comorbidities table tbody tr.border {
  border-top: 1px solid #EBE0D8;
}
div#container.users-show section#profiles {
  padding: 0;
}
div#container.users-show section#profiles h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
}
div#container.users-show section#profiles h3 img.arrow {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}
div#container.users-show section#profiles h3 img.arrow.active {
  transform: rotate(180deg);
}
div#container.users-show section#profiles .profiles_table_wrap {
  display: none;
}
div#container.users-show section#profiles table {
  width: 100%;
  border-top: solid 2px #EBE0D8;
  transition: 0.5s;
}
div#container.users-show section#profiles table thead {
  background: #F7F5F2;
}
div#container.users-show section#profiles table thead th {
  padding: 1.5rem 1.5rem 1rem;
}
div#container.users-show section#profiles table tbody th, div#container.users-show section#profiles table tbody td {
  padding: 1rem 1.5rem;
  vertical-align: middle;
}
div#container.users-show section#profiles table tbody .actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
}
div#container.users-show section#exams {
  padding: 0;
}
div#container.users-show section#exams > div {
  display: grid;
  grid-template-columns: 8em 1fr 6em 9em 1fr;
  width: 100%;
}
@media (max-width: 1024px) {
  div#container.users-show section#exams > div {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
div#container.users-show section#exams > div span {
  padding: 0.75rem 1.5rem;
}
div#container.users-show section#exams > div span.time {
  text-align: right;
}
div#container.users-show section#exams > div span.annotation {
  color: #D73459;
}
div#container.users-show section#exams > div span a {
  text-decoration: none;
}
@media (max-width: 1024px) {
  div#container.users-show section#exams > div span:first-child {
    grid-row: 1/3;
  }
}
div#container.users-show section#exams > div.header {
  font-weight: bold;
  border-bottom: solid 2px #EBE0D8;
}
div#container.users-show section#exams > div.body {
  overflow-y: scroll;
  max-height: 300px;
}
div#container.users-show section#exams > div.body:nth-child(even) {
  background: #F7F5F2;
}

form#user-form tr.medicine_notebooks th {
  vertical-align: baseline;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fill, 80px 250px);
  gap: 1rem 2rem;
  margin: 0;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li {
  display: grid;
  grid-template-columns: subgrid;
  grid-column: span 2;
  align-items: flex-start;
  gap: 0;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li span.checkbox {
  margin-top: 1rem;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li.nested-fields img.medicine_notebook {
  display: block;
  max-width: 250px;
  max-height: 250px;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li.nested-fields.blank,
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li.add_association {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-column: 1/-1;
}
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li.nested-fields.blank a,
form#user-form tr.medicine_notebooks ul#medicine_notebooks_fields li.add_association a {
  display: block;
  width: fit-content;
}

table.user_profile:not(:last-child) {
  margin-bottom: 2rem;
}
table.user_profile td.actions {
  width: 8rem;
  border-left: solid 1px #CCCCCC;
}
table.user_profile td.actions div {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
table.user_profile td.actions div a {
  color: #453E39;
  text-decoration: none;
}

div#container.exam\/minicogs-show img.q_clock_image {
  max-width: 320px;
}

div#container.exam\/dasc21s-show table[id^=exam_dasc21_] th.sentence {
  max-width: 15em;
}
div#container.exam\/dasc21s-show table[id^=exam_dasc21_] td.score_cat_t,
div#container.exam\/dasc21s-show table[id^=exam_dasc21_] td.score_cat_s {
  width: 3rem;
  padding: 1rem;
}
div#container.exam\/dasc21s-show table[id^=exam_dasc21_] td.score_cat_t {
  text-orientation: upright;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
div#container.exam\/dasc21s-show table[id^=exam_dasc21_] td.score_cat_s {
  white-space: nowrap;
}

form.exam_form .exam_questions {
  margin-top: 3rem;
}
form.exam_form .exam_questions h4:not(:first-child) {
  margin-top: 2rem;
}

div#container[class^="exam/"][class$=-index] table.index tr[class^=exam_] td.time {
  text-align: right;
}

div#container[class^="exam/"][class$=-show] header.exam_user {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: flex-start;
  gap: 2rem 1rem;
  margin: 0 0 3rem;
}
@media (max-width: 1024px) {
  div#container[class^="exam/"][class$=-show] header.exam_user {
    grid-template-columns: 1fr;
  }
}
div#container[class^="exam/"][class$=-show] header.exam_user table {
  height: 100%;
  border-top: solid 2px #EBE0D8;
  border-bottom: solid 2px #EBE0D8;
}
div#container[class^="exam/"][class$=-show] header.exam_user table tr {
  border-top: 1px solid #EBE0D8;
}
div#container[class^="exam/"][class$=-show] header.exam_user table tr.name th {
  text-align-last: justify;
}
div#container[class^="exam/"][class$=-show] header.exam_user table tr.name td {
  padding-bottom: 0.75em;
  font-size: 2rem;
}
div#container[class^="exam/"][class$=-show] header.exam_user table tr.name td small {
  font-size: 0.5em;
}
div#container[class^="exam/"][class$=-show] header.exam_user table tr.name td a {
  color: #453E39;
  font-weight: bold;
}
div#container[class^="exam/"][class$=-show] header.exam_user table th,
div#container[class^="exam/"][class$=-show] header.exam_user table td {
  padding: 0.75rem 1.5rem;
  vertical-align: middle;
}
div#container[class^="exam/"][class$=-show] header.exam_user table th {
  width: 8em;
  background: #F7F5F2;
}
div#container[class^="exam/"][class$=-show] .score {
  overflow: hidden;
  margin: 3rem 0 1rem;
  border-style: solid;
  border-width: 2px;
  border-radius: 15px;
}
div#container[class^="exam/"][class$=-show] .score th {
  white-space: nowrap;
}
div#container[class^="exam/"][class$=-show] .score.safe {
  border-color: #00A000;
}
div#container[class^="exam/"][class$=-show] .score.safe th {
  background: #E3F1DE;
}
div#container[class^="exam/"][class$=-show] .score.safe td .annotation {
  color: #00A000;
}
div#container[class^="exam/"][class$=-show] .score.alert {
  border-color: #D73459;
}
div#container[class^="exam/"][class$=-show] .score.alert th {
  background: #FAE7E7;
}
div#container[class^="exam/"][class$=-show] .score.alert td .annotation {
  color: #D73459;
}
div#container[class^="exam/"][class$=-show] .score table {
  width: 100%;
}
div#container[class^="exam/"][class$=-show] .score table th,
div#container[class^="exam/"][class$=-show] .score table td {
  padding: 2rem 3rem;
  vertical-align: middle;
}
div#container[class^="exam/"][class$=-show] .score table th {
  width: 15em;
  text-align: center;
  font-size: 1.2rem;
}
div#container[class^="exam/"][class$=-show] .score table td {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  padding: 2rem 3rem;
}
div#container[class^="exam/"][class$=-show] .score table td b {
  font-size: 2rem;
  font-weight: bold;
}
div#container[class^="exam/"][class$=-show] .score table td span.annotation {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
div#container[class^="exam/"][class$=-show] .score table td span.annotation svg {
  font-size: 1.5em;
}
@media (max-width: 1024px) {
  div#container[class^="exam/"][class$=-show] .score table tr {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  div#container[class^="exam/"][class$=-show] .score table th {
    width: auto;
  }
  div#container[class^="exam/"][class$=-show] .score table td {
    justify-content: center;
  }
}
div#container[class^="exam/"][class$=-show] .diagnosis {
  margin: 1rem 2rem 3rem;
  font-size: 0.7rem;
}
div#container[class^="exam/"][class$=-show] .actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0 1rem;
}

div#container.static_page-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1vw;
  width: 100vw;
  height: 100vh;
}
div#container.static_page-home .top-logo svg {
  width: 250px;
  height: 250px;
  max-width: 100%;
  max-height: 100vw;
}
div#container.static_page-home h1 {
  margin: 0;
  padding: 0;
  font-size: 28px;
}

.pagy.info {
  font-size: 0.8rem;
}

nav.pagy.nav {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 3rem auto 2rem;
}
nav.pagy.nav a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  color: #453E39;
  font-size: 0.8rem;
  font-weight: bold;
  text-decoration: none;
  border: solid 2px #453E39;
  border-radius: 10px;
  transition: all 0.1s;
  cursor: pointer;
}
nav.pagy.nav a:hover {
  color: #E45713;
  border-color: #E45713;
  background: #FCECE3;
}
nav.pagy.nav a.current {
  color: #453E39;
  border-color: #FCD7CA;
  background: #FCD7CA;
  cursor: default;
}
nav.pagy.nav a.gap {
  color: #453E39;
  border: none;
  background: transparent;
  cursor: default;
}

.sort_link {
  text-decoration: none;
}

form.ransack .checkboxes_list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
form.ransack .search_table th,
form.ransack .search_table td {
  padding: 5px 10px;
  vertical-align: baseline;
}
form.ransack .search_table th input[type=text],
form.ransack .search_table th input[type=search],
form.ransack .search_table td input[type=text],
form.ransack .search_table td input[type=search] {
  width: 100%;
}
form.ransack input[type=search] {
  padding: 10px 1em;
  font-size: 0.8rem;
  border: solid 2px #CBB4A6;
  border-radius: 8px;
  background: white;
  outline-offset: revert;
}
form.ransack input[type=search]::placeholder {
  color: #CBB4A6;
}
form.ransack input[type=search]:-webkit-autofill, form.ransack input[type=search]:-webkit-autofill:hover, form.ransack input[type=search]:-webkit-autofill:focus, form.ransack input[type=search]:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 30px white inset !important;
}
form.ransack button[type=submit] {
  color: white;
  border-color: #656156;
  background: #656156;
}

.splide__container {
  box-sizing: border-box;
  position: relative;
}

.splide__list {
  backface-visibility: hidden;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.splide.is-initialized:not(.is-active) .splide__list {
  display: block;
}

.splide__pagination {
  -ms-flex-align: center;
  align-items: center;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
}

.splide__pagination li {
  display: inline-block;
  line-height: 1;
  list-style-type: none;
  margin: 0;
  pointer-events: auto;
}

.splide:not(.is-overflow) .splide__pagination {
  display: none;
}

.splide__progress__bar {
  width: 0;
}

.splide {
  position: relative;
  visibility: hidden;
}

.splide.is-initialized, .splide.is-rendered {
  visibility: visible;
}

.splide__slide {
  backface-visibility: hidden;
  box-sizing: border-box;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  list-style-type: none !important;
  margin: 0;
  position: relative;
}

.splide__slide img {
  vertical-align: bottom;
}

.splide__spinner {
  animation: splide-loading 1s linear infinite;
  border: 2px solid #999;
  border-left-color: transparent;
  border-radius: 50%;
  bottom: 0;
  contain: strict;
  display: inline-block;
  height: 20px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  top: 0;
  width: 20px;
}

.splide__sr {
  clip: rect(0 0 0 0);
  border: 0;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

.splide__toggle.is-active .splide__toggle__play, .splide__toggle__pause {
  display: none;
}

.splide__toggle.is-active .splide__toggle__pause {
  display: inline;
}

.splide__track {
  overflow: hidden;
  position: relative;
  z-index: 0;
}

@keyframes splide-loading {
  0% {
    transform: rotate(0);
  }
  to {
    transform: rotate(1turn);
  }
}
.splide__track--draggable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.splide__track--fade > .splide__list > .splide__slide {
  margin: 0 !important;
  opacity: 0;
  z-index: 0;
}

.splide__track--fade > .splide__list > .splide__slide.is-active {
  opacity: 1;
  z-index: 1;
}

.splide--rtl {
  direction: rtl;
}

.splide__track--ttb > .splide__list {
  display: block;
}

.splide__arrow {
  -ms-flex-align: center;
  align-items: center;
  background: #ccc;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: -ms-flexbox;
  display: flex;
  height: 2em;
  -ms-flex-pack: center;
  justify-content: center;
  opacity: 0.7;
  padding: 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2em;
  z-index: 1;
}

.splide__arrow svg {
  fill: #000;
  height: 1.2em;
  width: 1.2em;
}

.splide__arrow:hover:not(:disabled) {
  opacity: 0.9;
}

.splide__arrow:disabled {
  opacity: 0.3;
}

.splide__arrow:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide__arrow--prev {
  left: 1em;
}

.splide__arrow--prev svg {
  transform: scaleX(-1);
}

.splide__arrow--next {
  right: 1em;
}

.splide.is-focus-in .splide__arrow:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide__pagination {
  bottom: 0.5em;
  left: 0;
  padding: 0 1em;
  position: absolute;
  right: 0;
  z-index: 1;
}

.splide__pagination__page {
  background: #ccc;
  border: 0;
  border-radius: 50%;
  display: inline-block;
  height: 8px;
  margin: 3px;
  opacity: 0.7;
  padding: 0;
  position: relative;
  transition: transform 0.2s linear;
  width: 8px;
}

.splide__pagination__page.is-active {
  background: #fff;
  transform: scale(1.4);
  z-index: 1;
}

.splide__pagination__page:hover {
  cursor: pointer;
  opacity: 0.9;
}

.splide__pagination__page:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide.is-focus-in .splide__pagination__page:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide__progress__bar {
  background: #ccc;
  height: 3px;
}

.splide__slide {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

.splide__slide:focus {
  outline: 0;
}

@supports (outline-offset: -3px) {
  .splide__slide:focus-visible {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide__slide:focus-visible {
    border: 3px solid #0bf;
  }
}
@supports (outline-offset: -3px) {
  .splide.is-focus-in .splide__slide:focus {
    outline: 3px solid #0bf;
    outline-offset: -3px;
  }
}
@media screen and (-ms-high-contrast: none) {
  .splide.is-focus-in .splide__slide:focus {
    border: 3px solid #0bf;
  }
  .splide.is-focus-in .splide__track > .splide__list > .splide__slide:focus {
    border-color: #0bf;
  }
}
.splide__toggle {
  cursor: pointer;
}

.splide__toggle:focus-visible {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide.is-focus-in .splide__toggle:focus {
  outline: 3px solid #0bf;
  outline-offset: 3px;
}

.splide__track--nav > .splide__list > .splide__slide {
  border: 3px solid transparent;
  cursor: pointer;
}

.splide__track--nav > .splide__list > .splide__slide.is-active {
  border: 3px solid #000;
}

.splide__arrows--rtl .splide__arrow--prev {
  left: auto;
  right: 1em;
}

.splide__arrows--rtl .splide__arrow--prev svg {
  transform: scaleX(1);
}

.splide__arrows--rtl .splide__arrow--next {
  left: 1em;
  right: auto;
}

.splide__arrows--rtl .splide__arrow--next svg {
  transform: scaleX(-1);
}

.splide__arrows--ttb .splide__arrow {
  left: 50%;
  transform: translate(-50%);
}

.splide__arrows--ttb .splide__arrow--prev {
  top: 1em;
}

.splide__arrows--ttb .splide__arrow--prev svg {
  transform: rotate(-90deg);
}

.splide__arrows--ttb .splide__arrow--next {
  bottom: 1em;
  top: auto;
}

.splide__arrows--ttb .splide__arrow--next svg {
  transform: rotate(90deg);
}

.splide__pagination--ttb {
  bottom: 0;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  left: auto;
  padding: 1em 0;
  right: 0.5em;
  top: 0;
}

.splide__arrows button.splide__arrow {
  background: #FB8B70;
}
.splide__arrows button.splide__arrow svg {
  fill: white;
}

ul.splide__pagination li[role=presentation] button.splide__pagination__page {
  background: #FCECE3;
}
ul.splide__pagination li[role=presentation] button.splide__pagination__page.is-active {
  background: #FB8B70;
}

form input.flatpickr-input {
  width: min-content;
  background: white;
}
form input.flatpickr-input.daterange {
  min-width: 18em;
}
form input.flatpickr-input.daterange, form input.flatpickr-input.daterange:read-only {
  background: white;
  cursor: pointer;
}

/*# sourceMappingURL=application.css.map */
