body {
  font-family: "Helvetica Neue",
    Arial,
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    Meiryo,
    sans-serif;
  font-size: 16px;
  color: #727171;
  background: #f7f7f7;
  display: grid;
  height: 100vh;
  grid-template-columns: fit-content(20%) auto;
  grid-template-rows: fit-content(10%) 100%;
  grid-template-areas:
    "sidemenu header"
    "sidemenu main"
}

::-webkit-scrollbar {
    width: 16px;
}

::-webkit-scrollbar-track {
    background-color: none;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #b5b5b5;
    border-radius: 10px;
    border: 4px solid transparent;
    background-clip: content-box;
}

body.application {
  background: #fff;
}

button {
  cursor: pointer;
}

a {
  text-decoration: none;
  color: #727171;
}

.btnWrapper {
  margin-top: 20px;
}

.pointer {
  cursor: pointer;
}

.move {
  cursor: move;
}

.center {
  text-align: center;
}

.hidden {
  display: none;
}

.btn {
  margin: 10px 0;
  display: block;
  padding: 5px 10px;
  font-weight: bold;
  border: 2px solid black;
  width: fit-content;
  min-width: 120px;
  text-align: center;
  border-radius: 20px;
  box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
  cursor: pointer;
}

.btn:hover {
  transition: .3s all ease;
  box-shadow: none;
}

.btn.inline {
  display: inline-block;
  width: fit-content;
  min-width: 0;
  margin: 0;
}

.btn.inline.active{
  background: #66CC99;
  color: #fff;
}

.btn.initial {
  display: initial;
}

.red {
  color: red;
}

a.icon {
  display: block;
  width: fit-content;
}

a.icon img {
  width: 18px;
}

.btn.inline:not(:last-child) {
  margin-right: 5px;
}

.btn.primary {
  color: #fff;
  background: #EB7C00;
  border-color: #EB7C00;
}

.btn.primary:hover {
  color: #EB7C00;
  background: #fff;
}

.btn.primary:disabled,
.btn.primary.disabled {
  color: #EB7C00;
  background: #DDD;
  box-shadow: none;
  cursor: not-allowed;
}

.btn.secondary {
  color: #727171;
  background: #fff;
  border-color: #727171;
}

.btn.secondary:hover {
  color: #fff;
  background: #727171;
}

.btn.secondary:disabled,
.btn.secondary.disabled {
  cursor: not-allowed;
  background: #DDD;
  box-shadow: none;
}

.btn.dangerously {
  color: #f15353;
  background: #fff;
  border: solid;
  border-color: #f15353;
}

.btn.dangerously:hover {
  color: #fff;
  background: #f15353;
}

.btn.dangerously:disabled,
.btn.dangerously.disabled {
  cursor: not-allowed;
  background: #DDD;
  box-shadow: none;
}

.btn.loading {
  opacity: .6;
  pointer-events: none;
}

.btn_hover {
  padding: 5px;
}

.btn_hover:hover {
  transition: .3s all ease;
  background: #66CC99;
  color: #fff;
  border-radius: 100px;
}
.lock_open::before {
  content: '';
  background-image: url(/static/img/lock_open.svg);
  width: 17px;
  height: 17px;
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.lock::before {
  content: '';
  background-image: url(/static/img/lock.svg);
  width: 15px;
  height: 15px;
  display: inline-block;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

ul.disc {
  list-style: disc;
  list-style-position: inside;
}

img {
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="date"] {
  font-size: 16px;
  color: #727171;
  padding: 5px;
  outline: none;
  border: 1px solid #727171;
  border-radius: 5px;
  min-width: 320px;
}

input[type="number"] {
  min-width: 180px;
}

input:read-only {
  background-color: transparent;
  border: none;
}

input.product_name:read-only {
    background-color: #FFFFFF;
    border: 1px solid #727171;
}

input.narrow,
select.narrow {
  width: 60px;
  min-width: 60px;
}

input.looseNarrow,
select.looseNarrow {
  width: 100px;
  min-width: 100px;
}

input.noBorder {
  border: none;
  outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="password"]:focus {
  border: 1px solid #66CC99;
}

input[type="checkbox"],
input[type="radio"] {
  display: none;
}

input[type="checkbox"] + label,
input[type="radio"] + label {
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
}

input[type="checkbox"]:hover +label,
input[type="radio"]:hover + label {
  transition: .3s all ease;
  opacity: .6;
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

input[type="checkbox"]:checked + label,
input[type="radio"]:checked + label {
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

input[type="checkbox"] + label.color,
input[type="radio"] + label.color {
  display: inline-block;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 2px solid transparent;
}

input[type="checkbox"]:hover +label.color ,
input[type="radio"]:hover + label.color {
  transition: .3s all ease;
  opacity: .6;
  border: 2px solid #595757;
}

input[type="checkbox"]:checked + label.color ,
input[type="radio"]:checked + label.color {
  border: 2px solid #595757;
}

input[type="checkbox"].toggle-switch {
    display: none;
}

input[type="checkbox"].toggle-switch + .toggle-label {
   cursor: pointer;
   width: 37px;
   height: 15px;
   background: #DAD6D6;
   position: relative;
   display: inline-block;
   border-radius: 46px;
   border: none;
   transition: 0.4s;
   box-sizing: border-box;
   margin-left: 7px;
}

input[type="checkbox"].toggle-switch:checked + .toggle-label {
    background-color: #68D4B1;
}

input[type="checkbox"].toggle-switch + .toggle-label::after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-radius: 100%;
    left: 3px;
    top: 2px;
    z-index: 2;
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    transition: 0.4s;
    cursor: pointer;
}

input[type="checkbox"].toggle-switch:checked + .toggle-label::after {
    left: 23px;
}

select {
  font-size: 16px;
  color: #727171;
  padding: 5px;
  outline: none;
  border: 1px solid #727171;
  border-radius: 5px;
  min-width: 320px;
}

textarea {
  height: 180px;
  font-size: 16px;
  color: #727171;
  padding: 5px;
  outline: none;
  border: 1px solid #727171;
  border-radius: 5px;
  min-width: 320px;
}

textarea.createRecording {
  resize: none;
  max-height: 50%;
  height: 30px;
  max-height: 165px;
  width: 100%;
  border: none;
  border-right: 1px solid #727171;
  border-radius: 0;
}

.right {
  text-align: right;
}

.left {
  text-align: left;
}

.noEvent {
  pointer-events: none;
}

.withBtnWrapper {
  position: relative;
}

.withBtnWrapper span {
  display: none;
  position: absolute;
  height: 100%;
  top: 0;
  right: 0;
  background: #66CC99;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  border-radius: 0 5px 5px 0;
}

.withBtnWrapper span.active {
  display: flex;
}

.searchInputText {
  display: none;
}

.searchInputText.active {
  display: inline;
}

.searchInputSelection {
  display: none;
  position: absolute;
  z-index: 1;
  background: #fff;
  min-width: 320px;
  box-shadow: 7px 0px 20px 0px rgba(0,0,0,0.2);
}

.searchInputSelection.active {
  display: block;
}

.searchInputSelection li {
  padding: 5px 10px;
}

.searchInputSelection li:hover {
  padding: 5px 10px;
  background: #EBEFF3;
}
.searchInputSelected {
  display: none;
  padding: 1px;
}

.searchInputSelected.active {
  display: block;
}


.searchInputSelected span:first-child {
  background: #66CC99;
  color: #fff;
  padding: 5px;
  width: fit-content;
  border-radius: 10px 0 0 10px;
}

.searchInputSelected span:nth-child(2) {
  background: #DCDDDD;
  color: #fff;
  line-height: 24px;
  padding: 5px;
  width: fit-content;
  border-radius: 0 10px 10px 0;
}

.searchInputSelected span:nth-child(2) img {
  display: inline;
  vertical-align: bottom;
  width: fit-content;
}

.searchInputSelected span:hover {
  opacity: .6;
  transition: .3s all ease;
}

form.deleteLabel {
  margin: 0 5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

form.deleteLabel span {
  font-size: 13px;
  background: #66CC99;
  color: #fff;
  padding: 5px;
  width: fit-content;
  border-radius: 10px 0 0 10px;
}

form.deleteLabel button {
  display: inline;
  border: none;
  background: #DCDDDD;
  color: #fff;
  line-height: 24px;
  padding: 5px;
  width: fit-content;
  border-radius: 0 10px 10px 0;
}

form.deleteLabel button img {
  height: 13px;
  width: auto;
}

p.preview {
  display: none;
}

p.preview.active {
  display: block;
  margin-bottom: 20px;
}

p.preview img,
p.preview object {
  width: 80%;
}

p.preview object {
  height: 480px;
}

p.description {
  margin-top: 10px;
}
p.description textarea {
  height: 60px;
  min-width: 480px;
}

.modal {
  display: none;
  position: fixed;
  width: 40%;
  overflow-y: scroll;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #EBEFF3;
  border: 1px solid #727171;
  border-radius: 20px 0 0 20px;
  box-shadow: 7px 0px 20px 0px rgba(0,0,0,0.2);
}

.modal-lg {
    width: 50%;
}

.modal-lg-fix {
    width: 920px;
}

.modal iframe {
  height: 80vh;
  width: 100%;
}
.modal .close {
  text-align: right;
  margin: 5px;
}

.modal .close img{
  width: 24px;
}

.modal.active {
  display: block;
}

.scroll {
  overflow: scroll;
  overflow-x: hidden;
  border-bottom: 1px solid #727272;
  direction: rtl;
  padding-left: 10px;
}

.scroll::-webkit-scrollbar-track {
  background-color: rgba(255, 255, 255  , 0.4);
}

.scroll_inner {
  direction:ltr;
}

header {
  grid-area: header;
  width: 100%;
  height: 6vh;
  box-sizing: border-box;
  padding: 10px 0 15px 40px;
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  background: #595757;
}

header > * {
  margin: 0 10px;
}

header h1 {
  margin-right: auto;
}

header a {
  font-size: 14px;
  color: #fff;
  border-bottom: 1px solid #fff;
}

header a:hover {
  transition: .3s all ease;
  color: #727171;
  border-color: #727171;
}

/* side menu */
.sideMenu_container {
  grid-area: sidemenu;
  position: relative;
  height: 100vh;
}
.sideMenu_toggleButton {
  font-size: 30px;
  position: absolute;
  border: none;
  border-radius: 5px;
  background-color: #fff;
  box-shadow: 7px 0px 20px 0px rgba(0,0,0,0.2);
  top: 1%;
  right: 7%;
  transition: transform 0.3s;
}
.sideMenu_toggleButton.open {
  background-color: #3F0E40;
  fill: #fff;
  transform: scaleX(-1);
  left: 101%;
  right: auto;
}
.sideMenu {
  min-height: 100vh;
  min-width: 15vh;
  top: 0;
  left: 0;
  bottom: 0;
  background: #3F0E40;
  color: #ddd;
  box-shadow: 7px 0px 20px 0px rgba(0,0,0,0.2);
  height: 100vh;
  overflow: scroll;
  overflow-x: hidden;
  padding-left: 20px;
}

.sideMenu a {
  color: #ddd;
  padding-left: 20px;
}

.sideMenu .userProfile {
  padding: 20px 0px 20px;
}

.sideMenu .authClinic {
  font-size: 16px;
  font-weight: bold;
  border: 2px solid #fff;
  padding: 3px 15px;
  display: inline-block;
  border-radius: 100px;
  margin-bottom: 5px;
}

.sideMenu .userDetail li {
  font-size: 13px;
  line-height: 18px;
}

.sideMenu .userDetail > li span {
  margin-left: 10px;
}

.sideMenu .mainNav {
  margin: 20px 0 80px;
}

.sideMenu .mainNav > li:not(:first-child) {
  margin-top: 20px;
}

.sideMenu .mainNav > li > p {
  margin-left: 20px;
  font-size: 14px;
  line-height: 24px;
  font-weight: bold;
}

.sideMenu .subNav > li {
}

.sideMenu .subNav > li:hover {
  transition: .3s all ease-in-out;
  background: #DCDDDD;
}

.sideMenu .subNav a {
  padding-left: 40px;
  font-size: 13px;
  line-height: 23px;
  display: block;
}

.sideMenu .subNav > li:hover a {
  color: #3F0E40;
}

.sidemenuSearch{
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 10px;
}
.sidemenuSearch input{
    min-width: 0;
    font-size: 14px;
    width: 70%;
}
.sidemenuSearch input:focus {
  border: none;
}
.sidemenuSearch a{
    fill: #fff;
    border-radius: 100px;
    padding: 3px;
}
.sidemenuSearch a:hover {
  background: #DCDDDD;
  fill: #3F0E40
}

.sideMenu_businessRestructuring {
  width: fit-content;
  margin-bottom: 50px;
  padding: 10px;
  border: 1px solid;
}

/* main */
main {
  grid-area: main;
  overflow-y: scroll;
  height: 94vh;
}

main.full_height {
  height: 100vh;
}

section.localHeader {
  margin: 15px 40px 0;
}

section.localHeader h2 {
  font-size: 24px;
  font-weight: bold;
}

section.portal {
  margin: 120px auto 0;
  padding: 40px 80px;
  border-radius: 10px;
  box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
  width: fit-content;
  min-width: 320px;
}

section.portal h2 {
  font-size: 24px;
  font-weight: bold;
}

section.portal form {
  margin-top: 20px;
}

section.portal ul {
  display: flex;
  justify-content: center;
}

section.portal li {
  margin-right: 10px;
  padding: 20px;
  background: #fff;
  border-radius: 20px;
}

section.portal li:hover {
  transition: .3s all ease;
  box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
}
/*
section.portal li:not(:last-child) {
  margin-right: 10px;
}
*/
section.portal li img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

section.portal li figcaption {
  text-align: center;
  font-weight: bold;
}

section.portal dt:not(:first-child) {
  margin-top: 20px;
}

section.portal dd {
  margin-top: 5px;
}

section.portal p {
  margin-top: 5px;
}

section.portal p a {
  text-decoration: underline;
}

ul.flash {
  margin: 40px 40px 0;
  width: 50%;
}

ul.flash li {
  margin-top: 10px;
  padding: 5px;
  border-radius: 5px;
  color: #fff;
}

ul.flash li.error {
  background-color: #e09e9e;
}

ul.flash li.success {
  background-color: #66CC99;
}

/* list */
section.listMenu {
  margin: 20px 40px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
}

section.listMenu .filter {
  display: flex;
  font-size: 12px;
  align-items: center;
  width: fit-content;
  margin-right: 40px;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #B5B5B6;
  border-radius: 100px;
  fill: #727171;
  cursor: pointer;
  box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
}

section.listMenu .filter:hover {
  transition: .3s all ease;
  box-shadow: none;
}

section.listMenu .pagination_head {
  display: flex;
  justify-content: center;
  align-items: center;
}

section.listMenu .pagination_head a {
  width: 30px;
  height: 30px;
  border: 1px solid #727171;
  border-radius: 5px;
  background-color: #fff;
  margin: 0 10px;
}

section.listMenu .pagination_head a:hover {
  transition: .3s all ease;
  background: #EB7C00;
}

section.listMenu > p {
  font-size: 18px;
  width: 20%;
  text-align: right;
}

section.filterDetail {
  display: none;
  opacity: 0;
  margin: 0px 40px 0;
  padding: 20px;
  background: #fff;
  border: 1px solid #B5B5B6;
  border-radius: 10px;
}

section.filterDetail.active {
  transition: .3s all ease;
  display: block;
  opacity: 1;
}

section.filterDetail form > p {
  margin-top: 10px;
  font-weight: bold;
  padding-bottom: 10px;
  border-bottom: 1px solid #727171;
}
section.filterDetail form > p:not(:first-child) {
  margin-top: 40px;
}

section.filterDetail form dl {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

section.filterDetail form dt {
  display: flex;
  align-items: center;
  margin-top: 10px;
  width: 15%;
}

section.filterDetail form dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 10px;
  width: 85%;
}

section.filterDetail .btnWrapper {
  margin-top: 40px;
}

section.filterDetail .btnWrapper.flex-row {
  display: flex;
  flex-direction: row;
}

section.filterDetail .btnWrapper.flex-row a:nth-child(n+2) {
  margin-left: 5px;
}

section.filterEasy {
  margin: 10px 40px 0;
}

section.filterEasy form {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

section.filterEasy form input {
  margin-right: 10px;
}

.shadow {
  box-shadow: 2px 0px 30px 0px rgb(0 0 0 / 10%);
}

.icon-common {
  display: block;
  height: 20px;
  width: 20px;
  padding: 5px;
  border-radius: 100px;
  cursor: pointer;
}

.icon-common.disabled {
  opacity: 0.3;
  cursor: default;
}

.icon-common:hover {
  background-color: #DCDDDD;
}

.icon-common.disabled:hover {
  background-color: transparent;
}

.hover_button {
  display: none;
  margin: 0;
  position: absolute;
  right: 0;
  top: 0;
}

.hover_button_parent {
  position: relative;
}

.hover_button_parent:hover .hover_button {
  display: block;
}

.hintParent {
  position: relative;
}

.hint {
  display: none;
  position: absolute;
  width: 400px;
  top: -50%;
  background-color: #DCDDDD;
  padding: 7px;
  border-radius: 100px;
  font-size: 12px;
  z-index: 10;
}

.hint.dietsMedicine {
  width: auto;
  right: -45px;
}

.hintPointer:hover + .hint {
  display: block;
}

section.simpleFilter {
  padding-bottom: 10px;
  display: none;
}

section.simpleFilter.active {
  display: inherit;
}

section.simpleFilter p {
  font-weight: bold;
}

section.simpleFilter div {
  margin-top: 10px;
  display: flex;
}

section.normalList {
  background: #fff;
  margin: 40px 40px 0;
  border: 1px solid #B5B5B6;
  border-radius: 10px;
  display: grid;
}

@media only screen and (max-width: 600px) {
  section.normalList {
    margin: 10px 10px 0;
  }
}

section.normalList table {
  width: calc(100% - 40px);
  margin: 20px;
  white-space: nowrap;
  overflow: scroll;
  display: block;
  padding-bottom: 30px;
}

section.normalList thead,
section.normalList tbody  {
  width: 100%;
}

section.normalList thead {
  font-weight: bold;
}

section.normalList thead tr {
  border-bottom: 2px solid #B5B5B6;
}

section.normalList tbody tr {
  border-bottom: 1px solid #B5B5B6;
}

section.normalList th,
section.normalList td {
  padding: 7px 10px;
}

section.normalList th.narrow,
section.normalList td.narrow {
  padding: 7px 3px;
}

section.normalList td a {
  width: 100%;
}

section.normalList td a.name {
  display: block;
  padding: 5px;
}
section.normalList td.over_flow {
  max-width: 300px;
  overflow-x: scroll;
}

section.normalList td a.name:hover {
  transition: .3s all ease;
  background: #66CC99;
  color: #fff;
  border-radius: 100px;
}

.simpleList__container {
  display: flex;
  margin-left: 20px;
  flex-wrap: wrap;
  padding: 5% 0;
}

.simpleList {
  margin: 20px 40px 0;
  padding: 30px;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 2px 0px 10px 0px rgb(0 0 0 / 15%);
}

.simpleList.narrow {
  padding: 15px;
}

.simpleList.simpleList-block {
  margin: 20px;
  display: block;
  width: 350px;
}

.simpleList.simpleList-block-large {
  margin: 20px;
  display: block;
  width: 700px;
}

.simpleList.simpleList-block-harlf {
  margin: 10px;
  display: block;
  width: 42%;
}

.simpleList h3 {
  font-size: 30px;
  margin-bottom: 10px;
  font-weight: bold;
}

.simpleList h4 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: bold;
}

.simpleList .simpleList__head {
  border-bottom: 1px solid #E2E2E2;
  margin-bottom: 15px;
}

.simpleList .simpleList__scroll {
  max-height: 75vh;
  overflow-y: scroll;
  display: block;
  border: 1px solid #E2E2E2;
}

.simpleList .simpleList__flex {
  display: flex;
  align-items: baseline;
}

.simpleList .simpleList__flex > *:not(:nth-child(1)) {
  margin-left: 40px;
}

.simpleList table {
  margin-bottom: 30px;
}

.simpleList thead tr:not(:last-of-type) {
  border-bottom: none;
}
.simpleList thead .large {
  font-size: 26px;
  display: block;
  margin-top: 30px;
  margin-bottom: 10px;
}

.simpleList tr {
  border-bottom: 1px solid #E2E2E2;
}
.simpleList th {
  text-align: left;
  font-weight: bold;
  padding-left: 10px;
}
.simpleList td {
  padding: 15px 20px 10px 10px;
}

.simpleList .semi-small {
  font-size: 14px;
}

.simpleList .small {
  font-size: 12px;
}
.simpleList input[type="checkbox"] {
  display: block;
  scale: 1.5;
  cursor: pointer;
}
.simpleList input[type="checkbox"].toggle-switch {
  display: none;
}
section.pagination {
  margin-top: 20px;
}

section.pagination ul {
  display: flex;
  justify-content: center;
}

section.pagination li.page {
  display: flex;
  margin: 0 3px;
  justify-content: center;
  align-items: center;
  background: #fff;
  width: 30px;
  height: 30px;
  border: 1px solid #727171;
  border-radius: 5px;
}

section.pagination li.page:not(.dots):hover {
  transition: .3s all ease;
  background: #EB7C00;
}

section.pagination li.page a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
}

section.pagination li.page:not(.dots):hover a {
  transition: .3s all ease;
  color: #fff;
}

section.pagination li.page.active {
  pointer-events: none;
  background: #727171;
}

section.pagination li.page.active a {
  color: #fff;
}

section.pagination li img {
  width: 30px;
}

section.pagination li:hover img {
  transition: .3s all ease;
  opacity: .4;
}

/* form */
section.form {
  margin: 40px 40px 0;
}

section.form form {
  display: flex;
  flex-wrap: wrap;
}

section.form dl {
  width: 90%;
}

section.form dt {
  font-weight: bold;
}

section.form dt:not(:first-child) {
  margin-top: 40px;
}

section.form dd {
  margin-top: 10px;
  word-break: keep-all;
}

section.form .btnWrapper {
  width: 100%;
}

#orderList div.order {
  display: flex;
  align-items: center;
  justify-content: left;
}

#orderList div.order .order_container {
  padding: 10px;
  border-radius: 10px;
  background-color: #CFECE2;
  margin: 30px 0;
}

#orderList div.order div.discount {
  display: flex;
  align-items: center;
}

#orderList div.order div.discount ul.dicsount_list {
  display: flex;
}

#orderList div.order div.discount li.discount_item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 10px;
  margin-right: 14px;
  border-radius: 100px;
  background-color: #fff;
  border: 1px solid rgba(0,0,0,0.1);
  position: relative;
}

#orderList div.order div.discount li.discount_item.restriction {
  background-color: #f3ffaf;
}

#orderList div.order div.discount li.discount_item:not(:last-of-type)::after {
  content: '▶';
  font-size: 12px;
  position: absolute;
  right: -14px;
}

#orderList div.order div.discount li.discount_item span {
  cursor: pointer;
  padding: 3 7px;
  border-radius: 100px;
}

#orderList div.order div.discount li.discount_item span:hover {
  background-color: rgba(0,0,0,.2);
}

section.form table.sales-add tbody tr td {
    padding: 5px;
}
section.form table.sales-add .title {
    font-weight: bold;
    font-size: 18px;
    width: 6rem;
}
section.form table.sales-add .sales-date {
    margin-top: 10px;
    min-width: 10rem;
}
section.form table.sales-add .user {
    margin-top: 10px;
    min-width: 12rem;
}
section.form table.sales-add .clinic_id {
    margin-top: 10px;
    min-width: 7rem;
}
section.form table.sales-add .amount {
    margin-top: 10px;
    min-width: 6rem;
}

section.form table.sales-breakdown-add {
    margin-top: 1.5rem;
    width: 850px;
}
section.form table.sales-breakdown-add td {
    padding: 5px;
}
section.form table.sales-breakdown-add .title {
    font-weight: bold;
    font-size: 18px;
    background-color: rgb(240, 222, 140);
}
section.form table.sales-breakdown-add .seq {
    width: 2rem;
}
section.form table.sales-breakdown-add .product,
section.form table.sales-breakdown-add .product input[type="text"] {
    min-width: 16rem;
}
section.form table.sales-breakdown-add .quantity {
    min-width: 4rem;
    width: 4rem;
}
section.form table.sales-breakdown-add .unit {
    width: 2rem;
    font-size: 70%;
}
section.form table.sales-breakdown-add .multiple {
    width: 1rem;
}
section.form table.sales-breakdown-add .unit-price {
    width: 7rem;
}
section.form table.sales-breakdown-add .yen {
    width: 3rem;
}
section.form table.sales-breakdown-add .total {
    width: 7rem;
    min-width: 0rem;
    display: inline-block;
}
section.form table.sales-breakdown-add .total input[type="number"] {
    width: 7rem;
    min-width: 0rem;
}

/* 多階層プルダウン */
.multiPullDown {
    position: relative;
}
.multiPullDown_content {
  position: absolute;
}
.multiPullDown ul {
  overflow-x: hidden;
}
.multiPullDown li {
    background-color: #fff;
    padding: 10px 7px;
    width: 100%;
    cursor: pointer;
}
.multiPullDown li:hover {
    background-color: #cccccc;
}

.multiPullDown ul > li:nth-child(1) {
  cursor: auto;
  background-color: #fff;
  font-weight: bold;
}

/* orderEdit時にbreakdownが2つ以上ある場合はsetの選択は不可 */
tbody.orderEdit:not([data-seq="1"]) tr.salesMenusItem .multiPullDown li[data-type="product_set"] {
  pointer-events: none;
  background-color: #ABABAB;
  color: #595757;
  cursor: not-allowed !important;
}

.multiPullDown ul.first_level {
    display: none;
    width: 55rem;
    top: -50px;
    height: 20rem;
    overflow-y: scroll;
    position: relative;
    background-color: #fff;
}
.multiPullDown.active ul.first_level {
    display: block;
    z-index: 100;
    box-shadow: 2px 0px 30px 0px rgb(0 0 0 / 25%);
}
.multiPullDown ul.secound_level {
    display: block;
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 15rem;
    top: 0px;
    width: 40rem;
    height: 20rem;
    overflow-y: scroll;
    z-index: 1;
    background-color: #fff;
}

.multiPullDown ul.secound_level li {
  position: relative;
}


.multiPullDown ul.first_level > li:hover ul.secound_level {
    visibility: visible;
    opacity: 1;
    box-shadow: 2px 0px 30px 0px rgb(0 0 0 / 25%);
}
.multiPullDown ul.third_level {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 19rem;
    width: 20rem;
    height: 20rem;
    top: 0px;
    z-index: 2;
    overflow-y: scroll;
}

.multiPullDown ul.secound_level > li:hover ul.third_level {
    visibility: visible;
    opacity: 1;
    box-shadow: 2px 0px 30px 0px rgb(0 0 0 / 25%);
}

.multiForm {
    padding: 20px;
    background: #FFFFFF;
    border-radius: 10px;
    text-align: center;
}
.multiForm__title {
  display: flex;
  align-items: baseline;
}
.multiForm__list {
  width: 90%;
}
.multiForm__item {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
}
.multiForm__item select {
    width: 50%;
}
.multiForm__item input {
  min-width: 100px;
  width: 100px;
}
.multiForm__item .multiForm__item__delete{
    width: 30px;
    height: 30px;
    font-size: 1.5em;
    background: gray;
    color: #FFFFFF;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    margin-left: 20px;
    border-radius: 10px;
}
.multiForm__add {
  display: flex;
}
.multiForm__add select {
  min-width: 100px;
  padding: 0;
}

.multiTagSelect .multiTagSelect__controller {
  display: flex;
  align-items: baseline;
}
.multiTagSelect .multiTagSelect__selected {
  margin: 5px 0 10px;
  padding: 10px 20px;
  background-color: #fff;
  border-radius: 10px;
}
.multiTagSelect .multiTagSelect__selectedList {
  display: inline-block;
}
.multiTagSelect__selectedList:not(:empty) + .multiTagSelect__selected_message {
  display: none;
}
.multiTagSelect .multiTagSelect__selectedItem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 10px 0;
  padding: 5px 10px;
  border-radius: 100px;
  background-color: #f3ffaf;
  border: 1px solid rgba(0,0,0,0.1);
  position: relative;
}
.multiTagSelect .multiTagSelect__selectedItem_delete {
  cursor: pointer;
  padding: 3 7px;
  border-radius: 100px;
}

section.form table.sales-payments-add-header {
    margin-top: 1.5rem;
    width: 820px;
}
section.form table.sales-payments-add-header .title {
    font-weight: bold;
    font-size: 18px;
    background-color: rgb(240, 222, 140);
    padding: 5px;
}
section.form table.sales-payments-add-header .title.cancel {
    background-color: rgba(239, 156, 141, 0.5);
}
section.form table.sales-payments-add-header .expand {
    font-weight: bold;
    font-size: 18px;
    background-color: rgb(240, 222, 140);
    padding: 5px;
    width: 1.5rem;
}
section.form div.sales-payments-add {
    width: 820px;
    display: block;
    margin-bottom: 100px;
}
section.form div.sales-payments-add table td {
    padding: 5px;
}
section.form div.sales-payments-add table thead tr td.payment_method {
    width: 100%;
}
section.form div.sales-payments-add .seq {
    width: 2rem;
}
section.form div.sales-payments-add .payment_date {
    min-width: 8rem;
}
section.form div.sales-payments-add .payment_user_id {
    min-width: 8rem;
}
section.form div.sales-payments-add .payment_amount {
    min-width: 7rem;
    width: 7rem;
}
section.form div.sales-payments-add .payment_method_id {
    min-width: 8rem;
}
section.form div.sales-payments-add .clinic_id {
    min-width: 7rem;
}

p.plusBtn {
  margin-top: 20px;
}


p.plusBtn img {
  width: 24px;
}

section.patient {
    display: flex;
    height: 8vh;
}

section.patient .tag {
  display: flex;
  flex-wrap: wrap;
  text-align: left;
  margin: 15px 20px 0;
}

section.patient .profileUpdated {
  display: flex;
  color:white;
  background-color: black;
  margin: 15px 20px 10px;
  padding: 5px;
  border-radius: 50px;
  font-size: 10pt;
}

.update_profile {
  color: orange;
  padding: 5px;
}

section.tabDetail ul.tabMenus {
  display: flex;
  align-items: flex-end;
  margin-left: 40px;
  margin-bottom: 10px;
  height: 5vh;
}
section.tabDetail ul.tabMenus li {
  position: relative;
  padding: 5px 10px;
  font-weight: bold;
  background: #DCDDDD;
  border-radius: 5px;
  margin: 0 1px;
  cursor: pointer;
}

section.tabDetail ul.tabMenus li:not(.active):hover {
  transition: .3s all ease;
  opacity: .6;
}

section.tabDetail ul.tabMenus li.active {
  border-bottom: none;
  transition: .3s background ease;
  background: #fff;
}

section.tabDetail ul.tabMenus li.active::after {
  content: "";
  display: block;
  bottom: -1;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: 1;
}

section.tabDetail ul.tabMenus li span {
  font-size: 10px;
  border: 1px solid #f15353;
  border-radius: 100px;
  padding: 2px;
  color: #f15353;
  white-space: nowrap;
}

section.tabDetail > div {
  display: none;
  height: 83vh;
  overflow: scroll;
  overflow-x: hidden;
  border-bottom: 1px solid #727272;
}

section.tabDetail > div.active {
  display: block;
}

section.tabDetail > div.recordings,
section.tabDetail > div.sales {
  height: auto;
  overflow: auto;
}

section.tabDetail > div > * {
  padding-left: 40px;
}

section.tabDetail div.detail ul.chargeList {
  display: flex;
  margin-bottom: 40px;
}

section.tabDetail div.detail ul.chargeList li {
  margin-right: 10px;
}

section.tabDetail div.detail ul.chargeList li span {
  padding: 5px;
  background: #fff;
  border: 2px solid #727171;
  border-radius: 10px;
}

section.tabDetail div.detail dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

section.tabDetail div.detail dt:not(:first-child),
section.tabDetail div.detail dd:not(:nth-child(2)) {
  margin-top: 20px;
}

section.tabDetail div.detail dt {
  width: 20%;
  font-weight: bold;
}

section.tabDetail div.detail dd {
  width: 80%;
}
section.tabDetail div.detail form {
  margin-top: 40px;
}
section.tabDetail div.detail form.hover_button {
  margin: 0;
}
section.tabDetail div.detail .hover_button .icon-common {
  height: 15px;
  width: 15px;
}

section.tabDetail div.detail dl.serviceList {
  flex-direction: column;
}

section.tabDetail div.detail dl.serviceList dd {
  margin-top: 20px;
}

section.tabDetail div.detail dl.serviceList .service-term input[type="date"],
section.tabDetail div.detail dl.serviceList .medicine-term input[type="date"]{
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

section.tabDetail div.detail dl.serviceList .breakdown-term .btn {
  display: inline-block;
  min-width: 50px;
  margin-left: 20px;
}

section.tabDetail div.detail dl.serviceList .breakdown-term input[type="date"]{
  width: 140px;
  min-width: 140px;
  max-width: 140px;
}

.consumption-table th,
.consumption-table td {
  padding: 0.5rem;
}

.consumption-table td.center {
  text-align: center;
}

.consumption-table tbody tr {
  cursor: pointer;
}

.consumption-table tbody tr.hasDetail:hover {
  opacity: 0.7;
}

.consumption-table tbody tr.noDetail {
  cursor: auto;
}

.consumption-table tbody tr.list {
  background-color: #eaf0ff;
  border-bottom: 1px solid #fff;
}

.consumption-table tbody tr.detail {
  font-size: 14px;
  background-color: #F7F7F7;
  border-bottom: 1px solid #fff;
}

.consumption-table .detail {
  display: none;
}

.consumption-table .detail.active {
  display: table-row;
}

.consumption-table tbody tr.noDetail td.expand  {
  opacity: 0.1;
}

section.tabDetail div.detail div.detailBtn {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}

section.tabDetail div.detail div.detailBtn > * {
  margin: 30px 10px;
}

section.tabDetail div.documentList form.protect-form {
  margin-top: 0px !important;
}

section.tabDetail div.documentList form.protect-form .iconMenu {
  display: flex;
  justify-content: flex-start;
  margin-top: -15px;
}

section.tabDetail div.documentList form.protect-form .iconMenu img {
  width: auto;
}

section.tabDetail div.documentList ul {
  display: flex;
  flex-wrap: wrap;
}

section.tabDetail div.documentList li {
  position: relative;
  width: calc(25% - 40px);
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

section.tabDetail div.documentList li p {
  margin-top: 10px;
  font-weight: bold;
}

section.tabDetail div.documentList li p img{
  width: 14px;
  vertical-align: bottom;
}

section.tabDetail div.documentList .iconMenu {
  display: flex;
  justify-content: flex-end;
}

section.tabDetail div.documentList .passcodeInput {
    display: flex;
    justify-content: center;
  }

section.tabDetail div.documentList .passcodeInput img {
  width: auto;
}

section.tabDetail div.documentList .cover {
  position: absolute;
  width: 100%;
  height: 90%;
  opacity: 0.5;
  margin-bottom: 28px;
}

section.tabDetail div.documentList .cover.selected {
  background: #66CC99;
}

/** patient detail tab: sales **/
section.tabDetail div.detail .sales-detail-list-header {
  display: flex;
  justify-content: flex-start;
  align-items: flex-end;
}

section.tabDetail div.detail .sales-detail-list-header p.title {
    font-size: 16px;
    font-weight: bold;
    margin: 30px 0 10px;
    margin-bottom: 0.5rem;
    border: none;
}
section.tabDetail div.detail ul.sales-summary dt {
    width: 830px
}
section.tabDetail div.detail ul.sales-summary dd {
    width: auto;
}

section.tabDetail div.detail div.scroll_sales {
  height: calc(83vh - 100px);
}

section.tabDetail div.detail table.sales-summary-table {
    border: none;
    border-radius: 10px;
    box-shadow: 2px 0px 30px 0px rgb(0 0 0 / 10%);
    border-collapse: collapse;
    width: max-content;
}
section.tabDetail div.detail table.sales-summary-table thead tr th {
    padding: 0.5rem 1rem 0;
    text-align: left;
    vertical-align: middle;
}
section.tabDetail div.detail table.sales-summary-table thead tr th.unpaid {
    width: 10rem;
}
section.tabDetail div.detail table.sales-summary-table thead tr th.total-amount {
    width: 15rem;
}
section.tabDetail div.detail table.sales-summary-table thead tr th.sales-count {
    width: 10rem;
}
section.tabDetail div.detail table.sales-summary-table tbody td {
    padding: 0.5rem 1rem;
    vertical-align: middle;
    font-weight: normal;
}
section.tabDetail div.detail .btnWrapper.center{
    margin-left: 200px;
}

section.tabDetail div.detail ul.sales-detail-list {
    margin-top: 1.5rem;
}
section.tabDetail div.detail div.saleBox {
    border-collapse: collapse;
    width: max-content;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
    background-color: #fff;
}
section.tabDetail div.detail div.saleBox div.orderBox {
  background-color: #CFECE2;
  padding: 10px 30px;
  margin: 15px 0;
  border-radius: 10px;
}
section.tabDetail div.detail div.saleBox table.sales-detail th,
section.tabDetail div.detail div.saleBox table.sales-detail td {
    font-size: 16px;
}
section.tabDetail div.detail div.saleBox a.btn {
  margin-bottom: 0;
}
section.tabDetail div.detail div.saleBox th {
    padding: 0 0.3rem 0.1rem;
    text-align: left;
    vertical-align: middle;
    font-weight: bold;
}
section.tabDetail div.detail div.saleBox th.date {
    width: 6rem;
}
section.tabDetail div.detail div.saleBox th.clinic {
    width: 5rem;
}
section.tabDetail div.detail div.saleBox th.sales-person {
    width: 10rem;
}
section.tabDetail div.detail div.saleBox th.total {
    width: 8rem;
}
section.tabDetail div.detail div.saleBox th.breakdown {
    width: 13rem;
}
section.tabDetail div.detail div.saleBox th.quantity {
    width: 6rem;
}
section.tabDetail div.detail div.saleBox th.amount {
    width: 8rem;
}
section.tabDetail div.detail div.saleBox th.payer {
    width: 8rem;
}
section.tabDetail div.detail div.saleBox th.amount-of-payment {
    width: 8rem;
}
section.tabDetail div.detail div.saleBox th.unpaid-sales {
    width: 8rem;
}
section.tabDetail div.detail div.saleBox th.payment-method {
    width: 12rem;
}
section.tabDetail div.detail div.saleBox td {
    padding: 0.3rem;
    vertical-align: middle;
    font-size: 14px;
}
section.tabDetail div.detail table.sales-summary-table td.minus,
section.tabDetail div.detail div.saleBox td.minus {
    color: #f15353;
}
section.tabDetail div.detail div.saleBox div.memo {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
section.tabDetail div.detail div.saleBox div.memo form {
    margin-top: 0;
    display: flex;
}
section.tabDetail div.detail div.saleBox div.memo p {
    font-size: 16px;
    font-size: 16px;
    font-weight: bold;
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}
section.tabDetail div.detail div.saleBox div.memo textarea {
    width: 70%;
    height: 2rem;
}
section.tabDetail div.detail div.saleBox .payment_actions {
    display: flex;
    align-items: flex-end;
}
section.tabDetail div.detail div.saleBox table.payment {
    border: none;
    width: max-content;
}
section.tabDetail div.detail div.saleBox thead tr {
    border-bottom: 2px solid #bbbbbb;
}
section.tabDetail div.detail div.saleBox tbody tr {
    background-color: #f7f7f7;
}
section.tabDetail div.detail div.saleBox tbody tr:nth-child(odd) {
    background-color: #eeeeee;
}
section.tabDetail div.detail div.saleBox table.sales-detail tbody tr {
    background-color: #eaf0ff;
}
section.tabDetail div.detail div.saleBox table.payment td {
    padding: 0.5rem 0.3rem;
    height: 1rem;
    vertical-align: middle;
}
section.tabDetail div.detail div.saleBox div.btnWrapper {
  display: flex;
  margin-top: 0;
  margin-left: 10px;
}
section.tabDetail div.detail div.saleBox div.btnWrapper a.btn {
  margin: 0;
}

section.childTabDetail {
  margin: 40px 40px 0;
}

section.childTabDetail ul.childTabMenus {
  display: flex;
  align-items: flex-end;
}
section.childTabDetail ul.childTabMenus li {
  position: relative;
  padding: 5px 10px;
  font-weight: bold;
  background: #DCDDDD;
  border-radius: 5px 5px 0 0;
}

section.childTabDetail ul.childTabMenus li:last-child {
  margin-left: auto;
  background: #66CC99;
}

section.childTabDetail ul.childTabMenus li:last-child.active {
  background: #EB7C00;
}

section.childTabDetail ul.childTabMenus li:last-child:after {
  content: "";
  display: block;
  bottom: -1;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: 1;
}

section.childTabDetail ul.childTabMenus  li:last-child a {
  display: block;
  width: 20px;
  height: 16px;
}

section.childTabDetail ul.childTabMenus li:not(.active):hover {
  transition: .3s all ease;
  opacity: .6;
}

section.childTabDetail ul.childTabMenus li:not(:last-child).active {
  border: 1px solid #727171;
  border-bottom: none;
  transition: .3s background ease;
  background: #fff;
  padding: 10px;
}

section.childTabDetail ul.childTabMenus li:not(:last-child).active::after {
  content: "";
  display: block;
  bottom: -1;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: 1;
}

section.childTabDetail > div {
  display: none;
  padding: 40px;
  background: #fff;
  border: 1px solid #727171;
}

section.childTabDetail > div.active {
  display: block;
}

section.childTabDetail div.detail ul.chargeList {
  display: flex;
  margin-bottom: 40px;
}

section.childTabDetail div.detail ul.chargeList li {
  margin-right: 10px;
}

section.childTabDetail div.detail ul.chargeList li span {
  padding: 5px;
  background: #fff;
  border: 2px solid #727171;
  border-radius: 10px;
}

section.childTabDetail div.detail dl {
  display: flex;
  flex-wrap: wrap;
}

section.childTabDetail div.detail dt:not(:first-child),
section.childTabDetail div.detail dd:not(:nth-child(2)) {
  margin-top: 20px;
}

section.childTabDetail div.detail dt {
  width: 20%;
  font-weight: bold;
}

section.childTabDetail div.detail dd {
  width: 80%;
}
section.childTabDetail div.detail form {
  margin-top: 40px;
}

section.childTabDetail div.detail dl.serviceList {
  flex-direction: column;
}

section.childTabDetail div.detail dl.serviceList dd {
  margin-top: 20px;
}

section.childTabDetail div.detail div.detailBtn {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}

section.childTabDetail div.detail div.detailBtn > * {
  margin: 30px 10px;
}

section.childTabDetail div.documentList form.protect-form {
  margin-top: 0px !important;
}

section.childTabDetail div.documentList form.protect-form .iconMenu {
  display: flex;
  justify-content: flex-start;
  margin-top: -15px;
}

section.childTabDetail div.documentList form.protect-form .iconMenu img {
  width: auto;
}

section.childTabDetail div.documentList ul {
  display: flex;
  flex-wrap: wrap;
}

section.childTabDetail div.documentList li {
  position: relative;
  width: calc(25% - 40px);
  margin: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

section.childTabDetail div.documentList li p {
  margin-top: 10px;
  font-weight: bold;
}

section.childTabDetail div.documentList li p img{
  width: 14px;
  vertical-align: bottom;
}

section.childTabDetail div.documentList .iconMenu {
  display: flex;
  justify-content: flex-end;
}

section.childTabDetail div.documentList .passcodeInput {
    display: flex;
    justify-content: center;
  }

section.childTabDetail div.documentList .passcodeInput img {
  width: auto;
}

section.childTabDetail div.documentList .cover {
  position: absolute;
  width: 100%;
  height: 90%;
  opacity: 0.5;
  margin-bottom: 28px;
}

section.childTabDetail div.documentList .cover.selected {
  background: #66CC99;
}

.lum-lightbox-inner {
  overflow: scroll;
}
.lum-lightbox img {
  width: initial;
}

section.questionList {
  margin: 40px 40px 0;
}

section.tabDetail > div .recodings {
  display: flex;
  justify-content: space-between;
  padding-left: 0;
}

.recordings_visible_actions {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.recodings_main {
  width: 70%;
}

.recodings_main.full {
  width: 95%;
}

.recodings_main > * {
  padding-left: 20px;
}

.recordings_booked {
  width: 29%;
  display: none;
}

.recordings_booked.active {
  display: block;
}

.recording_breakdowns {
  width: 29%;
  display: none;
}

.recording_breakdowns.active {
  display: block;
}

.recording_breakdowns h2 {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.recording_breakdowns h3 {
  font-weight: bold;
  margin-top: 20px;
}

.recording_breakdowns .example {
  font-size: .8rem;
}

.recording_breakdowns .term {
  font-size: .8rem;
  margin-top: 5px;
}

.recording_breakdowns ul {
  padding: 0 5px 10px;
}

.recording_breakdowns li {
  height: 16px;
  padding: 10px 0;
}

.recording_breakdowns .breakdown_item {
  border-radius: 51px;
  background: white;
  padding: 5px 10px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  width: fit-content;
  max-width: 280px;
  overflow-x: scroll;
  overflow-y: hidden;
}

.recording_breakdowns .breakdown_item::-webkit-scrollbar{
  display: none;
}

.recording_breakdowns .breakdown_item:hover {
  background-color: #DCDDDD;
}

.scroll_recordings_main {
  height: calc(87vh - 130px);
  min-height: 50%;
}

.scroll_recordings_main li .consumption-item {
  position: relative;
  width: fit-content;
  font-size: 12px;
  padding: 5px 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
  margin-left: 50px;
  border-radius: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  -ms-border-radius: 9px;
  -o-border-radius: 9px;
}

.scroll_recordings_main li .consumption-item .delete {
  display: none;
  position: absolute;
  right: -25px;
}

.scroll_recordings_main li .consumption-item:hover .delete {
  display: inline;
}

.scroll_recordings_main li .consumption-item::before {
  content: "";
  width: 15px;
  height: 15px;
  display: block;
  background-image: url(/static/img/child.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: -20px;
  bottom: 10px;
}

.scroll_recordings_main li.noText .consumption-item::before {
  background-image: none;
}

.consumption-inputs-header {
  display: none;
  width: 560px;
  padding: 0 10px;
  margin-top: 10px;
  align-items: center;
}

.consumption-inputs-header.active {
  display: flex;
}

.consumption-inputs-header .product-name {
  margin-left: 30px;
  margin-right: 70px;
}

.consumption-inputs-header .quantity {
  margin-right: 70px;
}

.consumption-inputs-header .date {
  margin-right: 90px;
}

.consumption-inputs {
  width: 560px;
  background: #EAF0FF;
  padding: 10px;
  margin-top: 5px;
  display: flex;
  align-items: center;
}

.consumption-inputs .product-name {
  width: 140px;
  max-width: 45%;
  margin-right: 10px;
  white-space: nowrap;
  overflow-x: scroll;
}

.consumption-inputs .product-name::-webkit-scrollbar{
  display: none;
}

.consumption-inputs .quantity {
  width: 50px;
  min-width: 50px;
  max-width: 50px;
}

.consumption-inputs .unit {
  white-space: nowrap;
  width: fit-content;
  max-width: 50px;
  margin-right: 10px;
}

.consumption-inputs .date {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  margin-right: 10px;
}

.consumption-inputs .clinic {
    width: 140px;
    min-width: 140px;
    max-width: 140px;
    margin-right: 10px;
}

.consumption-inputs .user {
  width: 140px;
  min-width: 140px;
  max-width: 140px;
  margin-right: 10px;
}

.consumption-inputs .delete {
  height: 20px;
  width: 20px;
  display: inline-block;
  margin-right: 10px;
}

.scroll_recordings_booked {
  height: calc(87vh - 55px);
  padding-left: 0;
  border-left: 1px solid #727272;
  border-bottom: none;
}

.scroll_recordings_booked .consumption-item {
  width: fit-content;
  margin-top: 5px;
  padding: 5px;
  display: flex;
  align-items: center;
  margin-left: 10px;
  font-size: 12px;
  border-radius: 9px;
  -webkit-border-radius: 9px;
  -moz-border-radius: 9px;
  -ms-border-radius: 9px;
  -o-border-radius: 9px;
}

.scroll_recordings_booked .consumption-item .name {
  width: fit-content;
  max-width: 80px;
  white-space:nowrap;
  overflow-x: scroll;
}

.scroll_recordings_booked .consumption-item .name::-webkit-scrollbar {
  display: none;
}

.scroll_recordings_booked .consumption-item .user {
  width: fit-content;
  max-width: 110px;
  white-space: nowrap;
  overflow-x: scroll;
}

.scroll_recordings_booked .consumption-item .user::-webkit-scrollbar {
  display: none;
}

li.freeBox {
  position: relative;
}

li.freeBox.withPop {
  display: flex;
}

li.freeBox:not(:first-child) {
  margin: 10px 0;
}

div.recordings_booked li.freeBox.withPop {
  display: block;
  margin-top: 15px;
  padding-left: 5px;
}

div.recordings_booked dl.pop {
  display: flex;
  align-items: baseline;
}

div.recordings_booked dl.pop dt {
  font-size: 12px;
}

li.freeBox > p {
  margin-top: 20px;
  padding: 5px 10px;
  border: 1px solid #727171;
  border-radius: 10px 10px 0 0;
  width: fit-content;
  background: #fff;
}

li.freeBox > .pop {
  width: 20%;
}

div.recordings_booked li.freeBox > .pop {
  width: fit-content;
}

li.freeBox > .pop dt {
  border: none;
  padding: 5px;
  background: #66CC99;
  color: #fff;
  border-radius: 10px;
  display: inline-block;
  font-size: 14px;
  margin-right: 10px;
}

li.freeBox > .pop dd {
  margin-top: 5px;
  font-size: 12px;
}

li.freeBox .content {
  display: flex;
  flex-direction: column;
  width: 80%;
}

li.freeBox div.message {
  background: #fff;
  padding: 10px 20px;
  width: 80%;
  border-radius: 10px;
}

li.freeBox.noBorder div.message {
  border-radius: 10px;
  box-shadow: 2px 0px 30px 0px rgba(0,0,0,0.1);
}

li.freeBox.noBorder.withPop .message {
  display: flex;
  flex-wrap: wrap;
  flex-flow: column;
}

li.freeBox.noBorder.withPop .message:hover {
  background-color: #f7f7f7;
}

li.freeBox.noBorder.withPop.noText .message {
  display: none;
}

li.freeBox.noBorder.withPop .freeBox_message_actions {
  position: absolute;
  top: 0%;
  right: 10%;
  width: auto;
  display: none;
}

li.freeBox.noBorder.withPop:hover .freeBox_message_actions {
  display: flex;
  padding: 2px 16px;
}

li.freeBox.noBorder.withPop.noText:hover .freeBox_message_actions {
  display: none;
}

li.freeBox.noBorder.withPop > div p {
  width: fit-content;
  position: relative;
  margin-right: 10px;
  overflow-wrap: anywhere;
  font-size: 14px;
  line-height: 1.3rem
}

li.freeBox.noBorder.withPop div.non-protect-image {
    position: relative;
}

li.freeBox.noBorder.withPop div.protect-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

li.freeBox.noBorder.withPop > div p span.passcodeIcon {
    position: absolute;
    left: 5%;
    top: 10%;
}

li.freeBox.noBorder.withPop > div p span.passcodeIcon.hide {
    display: none;
}

li.freeBox.noBorder.withPop > div p span.passcodeIcon input {
    width: 85px;
    min-width: 85px;
}

li.freeBox.noBorder.withPop > div p span.passcodeIcon img {
    width: auto;
}

li.freeBox.noBorder > div a.cover {
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
}

li.freeBox > div dl {
  display: flex;
  flex-wrap: wrap;
}

li.freeBox > div dt:not(:first-child),
li.freeBox > div dd:not(:nth-child(2)) {
  margin-top: 10px;
}

li.freeBox > div dt {
  width: 20%;
  font-weight: bold;
}

li.freeBox > div dd {
  width: 80%;
}

li.freeBox .recording {
  display: none;
  padding: 5px;
  width: 85%;
  margin-top: 10px;
  align-items: center;
}

li.freeBox .recording.active {
  display: flex;
}

li.freeBox .recording .btnWrapper {
  margin: 0;
}

.addBtn {
  margin-top: 10px;
}

.closeBtn {
  width: 24px;
  vertical-align: middle;
}

.addBtn img {
  width: 16px;
}

.recordings .freeFormBox {
  display: block;
  margin: 10px 0;
}

.tabDetail.history thead tr {
  background-color: #eaf0ff;
  border-bottom: 2px solid #bbbbbb;
}

.tabDetail.history tbody tr {
  background-color: #f7f7f7;
  cursor: pointer;
}

.tabDetail.history tbody tr:nth-child(odd) {
  background-color: #eeeeee;
}

.tabDetail.history tbody tr:hover {
  background-color: #dddddd;
}

.tabDetail.history td,
.tabDetail.history th {
  padding: 0.5rem;
  vertical-align: middle;
  font-size: 14px;
}

.tabDetail.history th {
  padding: 10px 5px;
  font-weight: bold;
}

.tabDetail.history th.history_info{
  width: 10%;
}

.tabDetail.history th.history_category{
  width: 13%;
}

.tabDetail.history td {

}

.tabDetail.history td.center {
  text-align: center;
}

.tabDetail.history td .content_diff__content {
  display: none;
  margin-top: 10px;
}

.tabDetail.history tr.active td .content_diff__content {
  display: block;
  background-color: rgba(0,0,0,.05);
  padding: 10px;
}

span.staffMemo {
  color:#f15353;
}

section.calendar {
  margin: 40px 40px 0;
  position: relative;
}

section.calendar .calendarClinic {
  display: flex;
  margin-bottom: 10px;
}

section.calendar .calendarClinic .clinic {
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
}
section.calendar .calendarClinic .active {
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

section.calendar .calendarMenu {
  display: flex;
}

section.calendar .calendarMenu h2 {
  font-size: 24px;
  font-weight: bold;
}

section.calendar .calendarMenu h2 input {
  border: none;
  font-size: 24px;
  font-weight: bold;
  min-width: inherit;
  width: 120px;
  padding: 0;
  background: transparent;
}

section.calendar .calendarMenu img {
  width: 32px;
}

section.calendar .calendarFilter {
  position: absolute;
  top: 3px;
  right: 20px;
}

section.calendar .calendarFilter select {
  border-radius: 5px 5px 0 0;
  border-bottom: none;
  min-width: 80px;
}

section.calendar .calendarContent {
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
  padding: 20px;
}

section.calendar .calendarContent .columns {
  display: flex;
  overflow-x: scroll;
}

section.calendar .calendarContent .columns > * {
  flex: 0 0 auto;
}

section.calendar .calendarContent .times ul {
  text-align: right;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  min-width: 60px;
}

section.calendar .calendarContent .times li {
  color: #B5B5B6;
  font-size: 13px;
  height: 40px;
  line-height: 17px;
  padding-right: 10px;
}

section.calendar .calendarContent .borders ul {
  width: 0px;
  display: flex;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  position: static;
}

section.calendar .calendarContent .borders li {
  height: 40px;
  position: static;
  width: 0px;
}

section.calendar .calendarContent .borders li::before {
  position: absolute;
  content: "";
  left: 50px;
  height: 1px;
  width: calc(100% - 72px);
  border-top: 1px solid #727171;
}

section.calendar .calendarContent .rows {
  width: 100%;
  position: relative;
}

section.calendar .calendarContent .rows::before {
  content: "";
  position: absolute;
  top: 40px;
  left: -1px;
  height: calc(100% - 40px);
  border-left: 1px solid #727171;
}

section.calendar .calendarContent .rows:last-child::after {
  content: "";
  position: absolute;
  top: 40px;
  right: 0;
  height: calc(100% - 40px);
  border-right: 1px solid #727171;
}

section.calendar .calendarContent .day {
  width: 100%;
  text-align: center;
}

section.calendar .calendarContent .day  p:first-child {
  font-size: 14px;
  margin-bottom: 10px;
}

section.calendar .calendarContent .day  p:nth-child(2) {
  font-size: 24px;
  width: 40px;
  height: 40px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  margin-bottom: 5px;
}

section.calendar .calendarContent .day.sunday {
  color: #f15353;
}

section.calendar .calendarContent .day p.active {
  background: #727171;
  color: #fff;
}

section.calendar .calendarContent .shift {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  text-align: left;
}

section.calendar .calendarContent .memo textarea {
  width: 100%;
  height: 80px;
  border: 1px solid #B5B5B6;
  background: rgb(238, 254, 255);
}

section.calendar .calendarContent .rooms {
  display: flex;
  width: 100%;
}

section.calendar .calendarContent .rooms li {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
  position: relative;
  overflow: initial;
}

section.calendar .calendarContent .rooms li > p {
  background: #727171;
  border: 1px solid #fff;
  box-sizing: border-box;
  width: 100%;
  color: #fff;
  padding: 5px;
  font-size: 13px;
}

section.calendar .calendarContent .rooms .schedules {
  position: relative;
  height: calc( 40px * 12 );
}

section.calendar .calendarContent .reservation {
  border-radius: 5px;
  position: absolute;
  padding: 5px;
  box-sizing: border-box;
  border: 1px solid #fff;
}

section.calendar .calendarContent .reservation:hover {
  transition: .3s all ease;
  opacity: .8;
}


section.calendar .calendarContent .reservation p{
  font-size: 9px;
  color: #fff;
  margin-bottom: 5px;
}
section.calendar .calendarContent .reservation p:first-child{
  font-weight: bold;
}
section.calendar .calendarContent .reservation p span.brandBadge{
  border: 1px solid #fff;
  line-height: 17px;
  padding: 0 3px;
  margin-right: 5px;
}

section.calendar .restrictionWeek {
    display: flex;
    margin-left: 300px;
}
section.calendar .restrictionWeek li {
    display: flex;width: 50px;
}

section.calendar .restrictionsContent ul {
  width: 100%;
  display: flex;
}

section.calendar .restrictionsContent li {
  width: calc( 100% / 7 );
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 10px 0;
  background: #fff;
  margin: 2px;
}

section.calendar .restrictionsContent li p {
  width: 100%;
  text-align: center;
}

section.calendar .restrictionsContent li.sunday p {
  color: #f15353;
}

section.calendar .restrictionsContent li p:first-child {
  font-weight: bold;
  font-size: 18px;
  line-height: 24px;
}

section.calendar .restrictionsContent li.disabled p:first-child {
  color: #DCDDDD;
}

section.room .roomClinic {
  display: flex;
  margin: 20px 0 -20px 40px;
}

section.room .roomClinic .clinic {
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
}
section.room .roomClinic .active {
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

section.option .optionClinic {
  display: flex;
  margin: 20px 0 -20px 40px;
}

section.option .optionClinic .clinic {
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
}
section.option .optionClinic .active {
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

section.csv {
  margin: 40px 40px 0;
  background: #fff;
  margin: 40px 40px 0;
  border: 1px solid #B5B5B6;
  border-radius: 10px;
}

section.csv h2 {
  font-size: 24px;
  font-weight: bold;
  margin: 20px;
}

section.csv form {
  margin: 20px;
}

section.csvClinic .csvClinic {
  display: flex;
  margin: 20px 0 -20px 40px;
}

section.csvClinic .csvClinic .clinic {
  display: inline-block;
  margin: 0 10px 5px 0;
  padding: 5px 10px;
  background: #fff;
  border: 1px solid #727171;
  border-radius: 20px;
}
section.csvClinic .csvClinic .active {
  background: #66CC99;
  color: #fff;
  border: 1px solid #66CC99;
}

.application header {
  background: #fff;
  color: #727171;
  border-bottom: 1px solid #727171;
  box-shadow: 7px 0px 20px 0px rgba(0,0,0,0.2);
}

.application header h1 {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.application header p img {
  width: 80px;
}

.application .form dl {
  width: 100%;
}

.application .form dl:not(:last-child) {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #727171;
}

span.brandBadge {
  border: 1px solid #727171;
  padding: 3px;
  border-radius: 5px;
}

.no-spin::-webkit-inner-spin-button,
.no-spin::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}

.input-sm {
    min-width: 20px !important;
}

dialog.uuid-change {
  width: 20rem;
  padding: 30px 40px;
}
dialog.uuid-change .title {
  font-size:24px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0;
}
dialog.uuid-change .body {
    line-height: 1.5rem;
}
dialog.uuid-change .buttons {
    margin-top: 30px;
    text-align: center;
}
dialog.uuid-change a#accept {
    margin-right: 15px;
}
dialog.uuid-change a#cancel {
    margin-left: 15px;
}

.bulk-regist {
    margin-top: -48px;
    display: flex;
    justify-content: flex-end;
}


.questionnaire_printlayout {
  width: 640px;
  height: 849px;
  padding: 10px;
  border: 1px solid #eee;
  margin-left: 0;
  overflow-y: scroll;
}

.questionnaire_printlayout table {
  width: 100%;
  font-size: 14px;
  word-break: break-all;
}

.questionnaire_printlayout table th,
.questionnaire_printlayout table td {
  border: 1px solid #000;
  padding: 5px;
  font-size: 12px;
}

.questionnaire_printlayout table th {
  font-size: 11px;
}

.questionnaire_printlayout table.q-personal th {
  padding: 5px;
  text-align: center;
  width: 80px;
}

.questionnaire_printlayout table.q-personal tr td {
  max-width: 250px;
}

.questionnaire_printlayout table.q-personal-value {
  margin-bottom: 20px;
}

.questionnaire_printlayout table.q-personal-value th {
  width: 84px;
}

.questionnaire_printlayout table.q-personal-value th.wide {
  width: 90px;
}

.questionnaire_printlayout table.q-personal-value td {
  text-align: right;
}

.questionnaire_printlayout table.q-main th {
  text-align: left;
  width: 15%;
}

.diet-title {
  display: flex;
  background-color: #F2F2F2;
  border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;
  -moz-border-radius: 10px 10px 0 0;
  -ms-border-radius: 10px 10px 0 0;
  -o-border-radius: 10px 10px 0 0;
  padding: 5px 5px 5px 10px;
  height: 33px;
  width: 100%;
  box-sizing: border-box;
}

.diet-title > span {
  font-size: 16px;
  font-weight: bold;
  line-height: 23px;
  letter-spacing: 0em;
  text-align: left;
  padding: 0;
}

.diet-title > a {
  padding: 0 5px 0 5px;
  width: 23px;
  height: 23px;
  border-radius: 100px;
  cursor: pointer;
}

.diet-title > a:hover {
  opacity: 0.8;
}

.diet-title .prescription-button {
  background-color: #1A73E8;
  display: flex;
  justify-content: space-around;
  margin: 0 0 0 10px;
  padding: 0 5px 0 5px;
  height: 23px;
  width: 100px;
  cursor: pointer;
  border-radius: 100px;
  -webkit-border-radius: 100px;
  -moz-border-radius: 100px;
  -ms-border-radius: 100px;
  -o-border-radius: 100px;
}

.diet-title .prescription-button:hover{
  opacity: 0.8;
}

.diet-title .prescription-button span {
  color: white;
  line-height: 23px;
}

.diet-title .prescription-button svg {
  fill: #fff;
}

div.diet-changes-summary {
  display: flex;
  padding-bottom: 2px;
}

div.diet-changes-summary > div {
  display: block;
  padding: 10px;
  color: white;
  width: 100px;
  opacity: 0.3;
}

div.diet-changes-summary > div.active {
  opacity: 1;
}

div.diet-changes-summary > div.weight {
  background: #1A73E8;
  border-radius: 8px 0px 0px 0px;
  -webkit-border-radius: 8px 0px 0px 0px;
  -moz-border-radius: 8px 0px 0px 0px;
  -ms-border-radius: 8px 0px 0px 0px;
  -o-border-radius: 8px 0px 0px 0px;
}

div.diet-changes-summary > div.body-fat-percentage {
  background: #D93025;
}

div.diet-changes-summary > div.muscle-mass {
  background: #F9AB00;
}

div.diet-changes-summary > div.bmi {
  background: #1E8E3E;
}

div.diet-changes-summary > div p {
  font-size: 12px;
  padding: 5px;
}

div.diet-changes-summary > div > div {
  display: flex;
  font-size: 20px;
  padding: 5px 5px 0 5px;
}

div.diet-changes-summary > div > div > img{
  margin-left: 10px;
  width: 21px;
  height: 21px;
}

div.diets section.diet-changes-container {
  max-width: 100%;
  background: #fff;
  margin: 0 40px 0 40px;
  padding-left: 0;
  border: 1px solid #B5B5B6;
  display: grid;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
}

section.diet-changes-chart {
  display: none;
  margin: 5px;
}

section.diet-changes-chart.active {
  display: block;
}

section.normalList.diet-changes {
  padding-bottom: 0;
  margin-bottom: 5px;
  margin: 5px 10px 10px 10px;
}

.normalList.diet-changes table {
  padding-bottom: 0;
  margin: 20px 5px 0;
  width: 100%;
  font-size: 0.9rem;
}

.normalList.diet-changes thead td {
  width: fit-content;
  padding: 7px 5px;
}

.normalList.diet-changes thead td:not(:first-child) {
  text-align: center;
  vertical-align: middle;
}

.normalList.diet-changes thead tr:nth-child(2) td:not(:first-child) {
  background-color: #EBEFF3;
}

.normalList.diet-changes tbody td {
  text-align: center;
  vertical-align: middle;
}

.normalList.dose table {
  padding-bottom: 0;
  margin-bottom: 5px;
}

.normalList.dose thead td:not(:first-child) {
  width: 120px;
  text-align: center;
  vertical-align: middle;
}

.normalList.dose thead tr:not(:first-child) td:not(:first-child) {
  background-color: #EBEFF3;
}

.normalList.dose tbody tr td {
  height: 30px;
}

.normalList.dose .dose-table-drug-name {
  position: relative;
}

.normalList.dose .multiple-add-checkbox {
  display: none;
  position: absolute;
  left: -22px;
  top: 0px;
  transform: scale(1.4);
  -webkit-transform: scale(1.4);
  -moz-transform: scale(1.4);
  -ms-transform: scale(1.4);
  -o-transform: scale(1.4);
}

.normalList.dose .multiple-add-checkbox.active {
  display: inline;
  cursor: pointer;
}

.normalList.dose .multiple-add-checkbox + label {
  cursor: pointer;
  display: inline;
  margin: 0;
  padding: 0;
  color: #727171;
  background: #fff;
  border: none;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
}

.normalList.dose .multiple-add-checkbox:hover + label {
  cursor: pointer;
  opacity: 1;
  color: #727171;
  background: #fff;
  border: none;
}

.dose-create-modal thead td{
  text-align: center;
  vertical-align: middle;
}

.dose-create-modal table {
  margin-top: 20px;
}

.dose-create-modal tbody td {
  padding: 5px;
}

.dose-create-modal tbody td:nth-child(2) select {
  width: 170px;
  min-width: 170px;
}

.dose-create-modal tbody td:nth-child(n+3) input {
  width: 50px;
  min-width: 50px;
  text-align: right;
}

.dose-create-modal tbody td.days {
  padding-left: 10px;
}

.dose-create-modal tbody td.days input,
.dose-create-modal tbody td.amount input {
  width: 55px;
  min-width: 55px;
}

.dose-create-modal tbody td.type select {
  width: 70px;
  min-width: 70px;
}

.dose-create-modal tbody td span {
  font-size: 12px;
}

.dose-edit-modal thead td{
  text-align: center;
  vertical-align: middle;
}

.dose-edit-modal table {
  margin-top: 20px;
}

.dose-edit-modal tbody td {
  padding: 5px;
}

.dose-edit-modal tbody td:nth-child(1) select {
  width: 170px;
  min-width: 170px;
}

.dose-edit-modal tbody td:nth-child(n+2) input {
  width: 60px;
  min-width: 60px;
  text-align: right;
}

.dose-edit-modal tbody td.type select {
  width: 70px;
  min-width: 70px;
}

.normalList.life td {
  text-align: center;
  vertical-align: middle;
  font-size: 12px;
  padding: 5px;
}

.normalList.life .hintPointer img {
  display: none;
  position: absolute;
  top: 0px;
  right: -20px;
}

.normalList.life .hintPointer.active img {
  display: inline;
}

.normalList.life .hintPointer + .hint {
  width: 200px;
  white-space: normal;
  text-align: left;
  top: -20px;
  left: 80px;
  background-color: #e0edff;
  padding: 7px;
  border: 1px solid transparent;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
}

.diet-note-detail-container {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
}

.diet-note-detail-container section {
  display: block;
  margin: 40px 0 0 0;
  padding-left: 0;
  width: 520px;
}

.diet-note-detail-container section:nth-child(2) {
  margin: 40px 40px 0 10px;
}

@media screen and (max-width:1220px) {
  .diet-note-detail-container section:nth-child(2) {
    margin: 40px 40px 0 0;
  }
}

.diet-note-tab-titles {
  display: flex;
  align-items: flex-end;
  overflow-x: scroll;
  margin: 20px 20px 0 20px;
}

.diet-note-tab-titles li {
  font-size: 14px;
  display: block;
  min-width: 100px;
  position: relative;
  padding: 5px 10px;
  font-weight: bold;
  background: #DCDDDD;
  cursor: pointer;
  border: 1px solid #727171;
  border-radius: 5px 5px 0px 0px;
  -webkit-border-radius: 5px 5px 0px 0px;
  -moz-border-radius: 5px 5px 0px 0px;
  -ms-border-radius: 5px 5px 0px 0px;
  -o-border-radius: 5px 5px 0px 0px;
}

.diet-note-tab-titles li:not(.active):hover {
  opacity: 0.6;
  transition: 0.3s all ease;
  -webkit-transition: 0.3s all ease;
  -moz-transition: 0.3s all ease;
  -ms-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
}

.diet-note-tab-titles li.active {
  background: #fff;
  border: 1px solid #727171;
  transition: 0.3s background ease;
  -webkit-transition: 0.3s background ease;
  -moz-transition: 0.3s background ease;
  -ms-transition: 0.3s background ease;
  -o-transition: 0.3s background ease;
}

.diet-note-tab-titles li.active::after {
  content: "";
  display: block;
  bottom: -1;
  left: 0;
  position: absolute;
  width: 100%;
  height: 1px;
  background: #fff;
  z-index: 1;
}

.diet-note-tab-detail {
  display: none;
  background:#fff;
  border:1px solid #B5B5B6;
  padding-bottom: 15px;
  margin: 0 20px 10px 20px;
  border: 1px solid #727171;
  border-radius: 0px 8px 8px 8px;
  -webkit-border-radius: 0px 8px 8px 8px;
  -moz-border-radius: 0px 8px 8px 8px;
  -ms-border-radius: 0px 8px 8px 8px;
  -o-border-radius: 0px 8px 8px 8px;
}

.diet-note-tab-detail.active {
  display: grid;
}

.diet-note-tab-detail .diet-note-header {
  display: flex;
  padding: 5px;
  height: 20px;
}

.diet-note-tab-detail .diet-note-header span {
  font-weight: 400;
  font-size: 11px;
  line-height: 20px;
  color: #727171;
}

.diet-note-tab-detail .diet-note-content {
  padding: 5px;
}

section.diet-detail table {
  padding: 0;
  margin: 20px 20px 0 20px
}

section.diet-detail td {
  text-align: center;
  vertical-align: middle;
}

section.diet-detail tbody td:first-child {
  background-color: #EBEFF3;
}

.diet-edit-modal dd div.term {
  display: flex;
  justify-content: center;
  align-items: center;
}

.lockout > span {
  font-weight: bold;
  color: #f15353;
}

.lockout > .btnWrapper {
  margin-bottom: 25px;
}

section.report table {
  padding: 20px;
  font-size: 15px;
  overflow-y: scroll;
  overflow-x: scroll;
  display: block;
  height: 75vh;
  width: 75vw;
  border: 3px solid #fff;
}
section.report table th,
section.report table td {
  padding: 6px 15px;
  border: 1px solid #ababab;
}
section.report table td {
  text-align: right;
}

section.normalList.sale-summary {
  margin-top: 10px;
}

section.normalList .sale-user-filter {
  margin: 10px 20px 0;
}

section.normalList .sale-user-filter select {
  min-width: 200px;
  width: 200px;
}

section.normalList table.sale-summary {
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  display: block;
  height: fit-content;
}

section.normalList table.sale-summary input.target-month {
  min-width: 110px;
  width: 110px;
}

section.normalList table.sale-summary td:nth-child(n+2) {
  text-align: center;
}

section.normalList table.sale-summary span.goal-value {
  display: none;
}

section.normalList table.sale-summary span.goal-value.active {
  display: inline-block;
}

section.normalList table.sale-summary input.goal-input {
  display: none;
}

section.normalList table.sale-summary input.goal-input.active {
  display: inline-block;
}

section.normalList table.sale-summary input.goal-input {
  min-width: 110px;
  width: 110px;
}

section.normalList table.sale-summary td.goal div {
  display: flex;
  align-items: center;
  justify-content: center;
}

section.normalList table.sale-summary td.goal .icon-common {
  display: none;
  height: 20px;
  width: 20px;
}

section.normalList table.sale-summary td.goal .icon-common.active {
  display: inline-block;
}

section.normalList table.sale-detail {
  font-size: 15px;
  overflow-y: scroll;
  overflow-x: scroll;
  display: block;
  height: 46vh;
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

section.normalList table.sale-detail thead td:nth-child(n+2) {
  text-align: center;
}

section.normalList table.sale-detail tbody td:nth-child(n+2) {
  text-align: right;
}

/*
マニュアル
*/
section.manual {
  margin: 20px 50px;
  padding: 0 40px 100px;
  overflow-y: scroll;
  max-height: -webkit-fill-available;
  background-color: #fff;
}
section.manual h2 {
  font-size: 28px;
  font-weight: bold;
  margin: 40px 0 20px;
}

section.manual h3 {
  font-size: 25px;
  font-weight: bold;
  margin: 35px 0 7px;
}

section.manual h4 {
  font-size: 20px;
  font-weight: bold;
  margin: 20px 0 5px;
}
section.manual p {
  font-size: 16px;
}
section.manual p.small {
font-size: 14px;
}
section.manual ul,
section.manual ol {
  margin: 10px 0;
  list-style: auto;
  text-indent: -1em;
  padding-left: 2em;
  list-style-position: inside;
}
section.manual ul {
  list-style: disc;
}
section.manual ol {
  list-style: auto;
}
section.manual p,
section.manual li {
  margin: 10px 0;
  line-height: 1.5;
}
section.manual li {
  padding-left: 1.5em;
}
section.manual img {
  width: 1em;
}
section.manual picture img {
width: 100%;
}
section.manual a {
  text-decoration: underline;
}
section.manual b,
section.manual strong {
  font-weight: bold;
}
section.manual .red {
color: red;
}
section.manual .marker-yellow {
  background: linear-gradient(transparent 75%, #ffff7f 75%);
}
section.manual .container {
padding: 5px 10px;
border: 1px solid rgba(0,0,0,0.3);
border-radius: 10px;
margin-bottom: 10px;
}
section.manual .sale_order_green {
margin: 0 5px;
padding: 5px;
background-color: #CFECE2;
border-radius: 5px;
}
section.manual .sale_order_add {
margin: 0 5px;
padding: 5px;
background-color: #CFECE2;
border-radius: 100px;
}
section.manual .sale_discount {
margin: 0 5px;
padding: 3px 10px;
border-radius: 100px;
border: 1px solid rgba(0,0,0,0.3);
}
section.manual .sale_discount.yellow {
background-color: #f3ffaf;
}
section.manual .sale_discount.white {
background-color: #fff;
}

/* call */
main#call .incoming::before,
main#call .outgoing::before,
main#call .realTime__dashbord-memo::before {
  content: '';
  display: inline-block;
  width: 25px;
  height: 25px;
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
main#call .incoming::before {
  background-image: url(/static/img/incoming.svg);
}
main#call .outgoing::before {
  background-image: url(/static/img/outgoing.svg);
}
main#call .realTime__dashbord-memo::before {
  background-image: url(/static/img/pin.svg);
}
main#call section.realTime {
  background-color: #E0FFE8;
  margin: 20px;
  padding: 20px;
  display: block;
}
main#call h2 {
  padding: 5px 15px;
  border-radius: 100px;
  display: inline-block;
}
main#call section.realTime h2 {
  background-color: #fff;
}
main#call .realTime__dashbord-body {
  background-color: rgba(255,255,255,.7);
  margin: 10px 0;
  padding: 15px 20px;
  border-radius: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 650px;
}
main#call .realTime__dashbord-content {
  width: 100%;
}
main#call .realTime__dashbord-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
}
main#call .realTime__dashbord-info-patient {
  display: flex;
  align-items: end;
}
main#call p.realTime__dashbord-info--name {
  color: #0D5F22;
  font-size: 28px;
  font-weight: bold;
  margin-right: 15px;
}
main#call p.realTime__dashbord-info--name a {
  color: #0D5F22;
}
main#call .realTime__dashbord-info--phone {
  color: #0D5F22;
  font-size: 24px;
  font-weight: bold;
  margin-right: 15px;
}
main#call .realTime__dashbord-info-detail {
  display: flex;
  align-items: center;
  margin-right: 30px;
}
main#call .realTime__dashbord-info-detail-content {
  margin-left: 10px;
  font-size: 14px;
}
main#call .realTime__dashbord-memo {
  margin-top: 20px;
  background-color: #EEEEEE;
  padding: 7px;
  border-radius: 100px;
}
main#call .realTime__dashbord-close {
  cursor: pointer;
}
main#call .realTime__dashbord-body + .no_connection {
  display: none;
}


main#call .realTime__dashbord-body.new {
  animation: flash 3s linear;
}
@keyframes flash {
	0%, 33%, 66%, 100% {
		background: none;
	}
  16%, 50%, 83%{
		background: #B8F7C9;
	}
}


main#call section.history {
  padding: 20px;
  display: block;
}
main#call section.history h2 {
  background-color: #DCDDDD;
}
main#call section.history table {
  width: 65vw;
}
main#call section.history .memo span {
  max-width: 250px;
  overflow-x: scroll;
  display: block;
}

.closingCheck {
  padding: 30px;
}
.closingCheck dt {
  font-weight: bold;
}
.closingCheck h3 {
  font-size: 26px;
  font-weight: bold;
}
.closingCheck .closingCheck__container {
  display: flex;
  align-items: flex-start;
  flex-wrap: nowrap;
  margin-top: 30px;
}
.closingCheck .closingCheck__total {
  font-size: 24px;
  font-weight: bold;
  margin: 10px 0;
  border-bottom: 1px solid #E2E2E2;
}
.closingCheck .closingCheck__cashRegister {
  width: 30%;
}
.closingCheck .closingCheck__cashRegister-list {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
}
.closingCheck .closingCheck__cashRegister-list dt {
  width: 30%;
  margin-top: 10px !important;
}
.closingCheck .closingCheck__cashRegister-list dd {
  width: 50%;
  margin: 10px 0 0;
}
.closingCheck .closingCheck__cashRegister-list dd input {
  min-width: auto;
  width: 100%;
}
.closingCheck .closingCheck__payment-list {
  display: flex;
  align-items: flex-start;
  padding-left: 10px;
}
.closingCheck .closingCheck__payment-item {
  margin-right: 20px;
}
.closingCheck .closingCheck__payment-head {
  display: flex;
  align-items: center;
}
.closingCheck .closingCheck__payment-btn {
  font-size: 12px;
  margin-left: 10px;
  padding: 5px 10px;
  border-radius: 100px;
  border: 1px solid #E2E2E2;
}
.closingCheck .closingCheck__total-input-container {
  display: flex;
  align-items: center;
}
.closingCheck .closingCheck__total-input-container.hidden {
  display: none;
}
.closingCheck .closingCheck__payment-diff-type.hidden + .closingCheck__payment-diff-amount{
  display: none;
}
.closingCheck .closingCheck__accounting {
  margin: 20px 0;
}
.closingCheck .closingCheck__accounting dl {
  display: flex;
  flex-wrap: wrap;
}
.closingCheck .closingCheck__accounting dt {
  width: 20%;
}
.closingCheck .closingCheck__accounting dd {
  width: 80%;
}
.closingCheck .submit__confirm {
  display: flex;
  align-items: center;
}
.closingCheck .submit__confirm input[type="checkbox"] {
  display: block;
  scale: 1.5;
  margin: 10px;
}

.stock-chart {
  padding-bottom: 10px;
}
.stock-chart_summary {
  display: flex;
}
.stock-chart_summary_content {
  cursor: pointer;
  display: block;
  padding: 10px;
  color: white;
  opacity: 0.3;
  min-width: 100px;
}
.stock-chart_summary_content.active {
  opacity: 1;
}
.stock-chart_summary_content.amount {
  background-color: #1A73E8;
}
.stock-chart_summary_content.consume {
  background-color: #D93025;
}
.stock-chart_summary_content.asset_total {
  background-color: #F9AB00;
}
.stock-chart_summary_content dt {
  font-size: 12px;
}
.stock-chart_summary_content dd {
  font-size: 20px;
  font-weight: bold;
}
