body {
  font-family: "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

section {
  position: relative;
  margin: auto;
  width: 90%;
  /* max-width: 920px; */
}

table {
  width: 100%;
}
table th {
    font-weight: 500;
    text-align: left;
    background: #f3f1e9;
}
table td {
    background: #f9f8f4;
    outline: none;
}
table th, table td {
    padding: 15px 15px;
    border: 2px solid #fff;
    vertical-align: middle;
}


input[type=text], input[type=email], input[type=tel], input[type=number], input[type=password], input[type=date], textarea {
    display: inline-block;
    width: 90%;
    padding: 15px 15px;
    background-color: #fff;
    border: 1px solid rgba(181, 171, 148, 0.375);
    font-size: 1.5rem;
    -webkit-transition: all 0.45s ease-in-out;
    transition: all 0.45s ease-in-out;
}

a.button, button {
    padding: 15px 30px;
    display: inline-block;
    outline: none;
    background: #fff;
    border: 1px solid #0061a1;
    font-size: 1rem;
    font-weight: 500;
    color: #0061a1;
    line-height: 1.6;
    vertical-align: middle;
    -webkit-transition: all .2s;
    transition: all .2s;
    border-radius: 50vh;
    position: relative;
    padding-right: 45px;
}
a.button:hover, button:hover {
    background: #0061a1;
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}
a.button:active, button:active {
    background: #005288;
}

a.button::after, button::after {
    content: "chevron_right";
    display: inline-block;
    position: relative;
    top: -.1em;
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    line-height: 1;
    letter-spacing: normal;
    vertical-align: middle;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    font-feature-settings: 'liga';
    position: absolute;
    top: auto;
    right: 15px;
    margin: auto;
    line-height: 1.6;
    -webkit-transition: all .3s;
    transition: all .3s;
}
a.button:hover::after, button:hover::after {
    right: 9.375px;
}

a.button:disabled, button:disabled {
  background: #bbb;
  color: white;
  border: #bbb;
}

a.button.cross::after, button.cross::after {
  content: "\00d7";
}
a.button.cross:hover, button.cross:hover {
  border: 1px solid #aa070c;
  background: #aa070c;
}
a.button.cross:active, button.cross:active {
  border: 1px solid #aa070c;
  background: #810408;
}

@media (max-width: 575px) {
  th, td {
    display: block;
    width: auto;
  }
}

section.price {
  background: #f9f8f4;
  font-size: 1.5rem;
  font-weight: 600;
  margin: 2rem auto;
  padding: 1rem;
  text-align: center;
}

#load.loaded {
  color: green;
}

#load.error {
  color: red;
}

#firebaseui-auth-container {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
    display: none;
    padding-top: 25vh;
    background-color: #ddd;
    text-align: center;
}

#firebaseui-auth-container.show {
  display: block;
}

select {
  font-size: 1em;
}

/*
 * Interaction styles
 */
td.editable:hover {
  background-color: #f7f0d7;
}

#drop_zone {
  border: solid 1px black;
  padding: 1em;
}
#drop_zone.dragover {
  background-color: #0061a1;
  color: white;
}

/* for coloring the fields in the sequencing page */
tr.bb > th {
  background-color: #2e455e;
  color: white;
}

table tr.grey-out td,
table td.grey-out {
  background: white;
  color: #ddd;
}
table tr.grey-out td > button {
  border: 0 solid;
  color: #ddd;
}

table tr.light-blue td,
table td.light-blue {
  background: #b3deff;
}
table tr.light-blue td > button {
  border: 0 solid;
}
table tr.light-green td,
table td.light-green {
  background: #b3ffde;
}
table tr.light-green td > button {
  border: 0 solid;
}
table tr.light-red td,
table td.light-red {
  background: #ffb3de;
}
table tr.light-red td > button {
  border: 0 solid;
}

/* https://css-tricks.com/position-sticky-and-table-headers/ */
th {
  position: sticky;
  top: 0;
}

.menu-overlay {
  background: rgba(0,0,0,0.3);
  height: 100vh;
  left: 0;
  position: fixed;
  display: grid;
  text-align: center;
  top: 0;
  width: 100vw;
}
.menu-overlay > button {
  font-size: 3vh;
  border-radius: 0;
}
@media only screen and (max-width: 600px) {
  #account-div {
    display: none;
  }
}
.document-edit-div {
  position: fixed;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10vh;
  background: white;
  z-index: 1;
  overflow: auto;
}
.document-edit-div > textarea {
  height: 60vh;
}

/* for orders-table */
#orders-table {
  width: 2000px;
}

#orders-table > tr > th:first-child, #orders-table > tr > td:first-child {
  position: sticky;
  left: 0;
}
#orders-table > tr > th:last-child, #orders-table > tr > td:last-child {
  position: sticky;
  right: 0;
}

.toasts-enter-active, .toasts-leave-active {
  transition: all 0.2s;
}
.toasts-enter-to, .toasts-leave {
  height: 2em;
}
.toasts-enter, .toasts-leave-to {
  height: 0;
  opacity: 0;
  transform: scale(0.9);
}
