/* Scss Document */
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.t_underline {
  text-decoration: underline;
  cursor: pointer;
}

::placeholder {
  color: #ced4da !important;
  font-size: .7rem;
  opacity: 1;
  /* Firefox */
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  font-size: .7rem;
  color: #ced4da !important;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ced4da !important;
  font-size: .7rem;
}

/* overwrite */
body {
  font-size: .7rem;
  color: #495057;
  background-color: #131A22;
}

.page-item {
  cursor: pointer;
}

.page-item.active .page-link {
  background-color: #0976B4;
}

.page-item .page-link {
  color: #0976B4;
}

.bg-dark {
  background-color: #232F3E !important;
}

footer {
  background-color: #131A22;
  color: #565A5E;
  padding: 1rem;
}

footer .copy {
  text-align: center;
}

.container-fluid {
  padding-left: 0.1rem;
  padding-right: 0.1rem;
  background-color: white;
}

.min_height {
  min-height: 800px;
}

.col,
.col-sm,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11 {
  padding-left: .3rem;
  padding-right: .3rem;
}

.bg_lightgray {
  background-color: #f7fbff;
}

.form-control:disabled {
  background-color: #fff9f9 !important;
}

.form-control[readonly] {
  background-color: #FFFFFF;
}

.row {
  margin-left: -0.1rem;
  margin-right: -0.1rem;
}

.row .sub_nav {
  padding: .5rem;
  background-color: #F0F3F5;
}

.nav_custom.nav-tabs {
  border-bottom: 0;
}

.nav_custom.nav-tabs .nav-link.active {
  background-color: #F0F3F5;
  border-bottom-color: #F0F3F5;
}

#schedule_area {
  border-bottom: 1px solid #ced4da;
  padding: 1rem;
  display: none;
}

#cal_area {
  background-color: #FFFFFF;
  padding-bottom: 2rem;
}

#loading_box {
  width: 100px;
  margin-left: auto;
  margin-right: auto;
  padding-top: 20%;
}

.initial_title {
  line-height: 1.7rem;
  font-weight: bold;
}

.f_red {
  color: #DC3545;
}

.sort_btn {
  cursor: pointer;
  color: #0976B4;
  font-size: medium;
}

.fa-sort-up {
  vertical-align: middle;
}

.cal_add {
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  line-height: 1rem !important;
  padding-left: .2rem;
  padding-right: .2rem;
  display: inline-block;
  font-size: .7rem;
}

.btn_type {
  color: #FFFFFF;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  line-height: 1.5rem !important;
  padding-left: .5rem;
  padding-right: .5rem;
  display: inline-block;
}

.type_new {
  background-color: #DC3545;
}

.type_cnt {
  background-color: #66ccff;
}

#search_result_msg {
  display: none;
}

.subject_alert {
  margin-bottom: 0;
}

.subject_alert h2 {
  font-size: .8rem;
  font-weight: bold;
}

.subject_alert .sales_lists#search_number {
  margin-bottom: .5rem;
}

.btn-primary {
  background-color: #0976B4;
  border-color: #0976B4;
}

.btn-outline-primary {
  border-color: #0976B4;
  color: #0976B4;
}

.btn-outline-primary:hover {
  background-color: #0976B4;
  color: #FFFFFF;
}

.btn-light {
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  border: 1px solid #ced4da;
  color: #495057;
  background-color: #F0F3F5;
}

.btn-light:hover {
  color: #FFFFFF;
  text-decoration: none !important;
  background-color: #343A40;
}

.btn-outline-light {
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  border: 1px solid #495057;
  color: #495057;
  background-color: #FFFFFF;
}

.btn-outline-light:hover {
  color: #FFFFFF;
  text-decoration: none !important;
  background-color: #495057;
}

#tag_area .tag {
  display: inline-block;
  background-color: #0976B4;
  color: #FFFFFF;
  line-height: 1.7rem;
  padding-left: .3rem;
  padding-right: .3rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  margin-right: .3rem;
}

#tag_area .tag_times {
  cursor: pointer;
  margin-left: .3rem;
}

.text-primary {
  color: #0976B4 !important;
}

.office_check_box {
  margin-top: .5rem;
  padding: .5rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
}

a {
  color: #0976B4;
}

a.btn-light:hover {
  color: #FFFFFF !important;
}

a.app_link {
  color: #495057;
  text-decoration: none;
}

dl dt {
  font-size: x-small;
}

dl dd {
  margin-bottom: .5rem;
}

.table {
  color: #495057;
}

.table thead th {
  font-weight: normal;
  font-size: .7rem;
  border-bottom: 0px;
  border-top: 0px;
  color: #9A9A9A;
}

.table thead th.cat {
  font-weight: bold;
  color: #495057;
}

.table tr.result {
  border-top: 2px solid #ced4da;
  background-color: #F0F3F5;
}

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

.table td.confirmed {
  font-weight: bold;
  color: #DC3545;
}

.table td.ranking ul {
  list-style: none;
}

.table td.ranking li {
  line-height: 2rem;
}

.dropdown-item {
  font-size: small;
}

.input-group-text {
  font-size: .5rem;
  padding-top: .3rem;
  padding-bottom: .3rem;
}

.flatpickr {
  min-width: 100px !important;
}

.form-control-sm, .btn-sm {
  font-size: .7rem;
}

.subject {
  padding: .3rem;
  font-size: .6rem;
  border-radius: .25rem;
}

.item {
  padding-top: .3rem;
  padding-bottom: .3rem;
  margin-bottom: .3rem;
}

.badge {
  font-size: .7rem;
}

.customer_table {
  border: 1px solid #0976B4;
  padding: .3rem;
  margin-bottom: 1rem;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.customer_table .subject {
  background-color: #b3dcf2;
}

.customer_table.dignity_01 {
  border: 1px solid #b23d20;
}

.customer_table.dignity_01 .subject {
  background-color: #b23d20;
  color: #FFFFFF;
}

.customer_table.dignity_02 {
  border: 1px solid #565a5e;
}

.customer_table.dignity_02 .subject {
  background-color: #565a5e;
  color: #FFFFFF;
}

.list-group.movelog .badge {
  vertical-align: text-top;
  margin-right: 10px;
}

.list-group.movelog .list-group-item.active {
  background-color: #FFF2C1;
  border-color: rgba(0, 0, 0, 0.125);
  color: #495057;
}

.list-group.movelog .list-group-item:hover {
  background-color: #FFF2C1;
}

.list-group.movelog .search_lists a {
  display: block;
  background-color: #FFF2C1;
  border-color: rgba(0, 0, 0, 0.125);
  color: #495057;
  padding: .5rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.movelog_table {
  border: 1px solid #ffb03a;
  padding: .3rem;
  margin-bottom: 1rem;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.movelog_table .subject {
  background-color: #FFF2C1;
}

.appro_table {
  border: 1px solid #0976B4;
  padding: .3rem;
  margin-bottom: 1rem;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.appro_table .appro_box {
  margin-left: 1rem;
  margin-right: 1rem;
  margin-bottom: .5rem;
  background-color: #F0F3F5;
  padding: 1rem;
  border: 1px solid #ced4da;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
}

.appro_table .appro_box p.name {
  font-weight: bold;
  margin-bottom: .3rem;
}

.appro_table .appro_box dl {
  padding: .5rem;
  border: 1px solid #ffb03a;
  background-color: #FFF2C1;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  margin-bottom: .3rem;
}

.appro_table .appro_box dt {
  padding-bottom: .3rem;
  margin-bottom: 0;
}

.appro_table .appro_box dd {
  margin-bottom: 0;
}

.gray_table {
  padding: .3rem;
  margin-bottom: 1rem;
  border: 1px solid #E9ECEF;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.dark_table {
  padding: .3rem;
  margin-bottom: 1rem;
  border: 1px solid #343A40;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.sales_table {
  border: 1px solid #387d04;
  padding: .3rem;
  margin-bottom: 1rem;
  border-bottom-right-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

.sales_table .subject {
  background-color: #d5f7bd;
}

.sales_table .subject th {
  padding: .1rem .5rem;
}

.media_row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #387d04;
  border-left: 1px solid #387d04;
  border-right: 1px solid #387d04;
}

.media_row .fas {
  cursor: pointer;
  color: #ffb03a;
}

.media_row.subject {
  color: #0b2e13;
  background-color: #d5f7bd;
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-left: 1px solid #387d04;
  border-right: 1px solid #387d04;
  border-top: 1px solid #387d04;
}

.media_row.media_category {
  color: #6d6d50;
  background-color: #FFFFDD;
}

.media_row.media_category .media_subject {
  cursor: pointer;
  color: #d5f7bd;
  background-color: #387d04;
  text-decoration: underline;
}

.media_row.media_category .media_result_subject {
  background-color: #387d04;
  color: #d5f7bd;
}

.media_row.media_sub_category {
  display: none;
}

.media_row.media_sub_category .media_sub {
  color: #131A22;
  background-color: #b3dcf2;
}

.media_row .td {
  line-height: 1.5rem;
  padding: 3px 5px;
  text-align: center;
  width: 12.5%;
}

.media_row .td.title {
  width: 20%;
}

.h-1 {
  height: 7rem !important;
}

h3 {
  line-height: 2rem;
  padding-left: 1rem;
  font-size: .8rem;
}

h3.media_category_name {
  padding-left: 0;
}

h3.table_subject {
  border-top-right-radius: .25rem;
  border-top-left-radius: .25rem;
}

h3.green {
  background-color: #387d04;
  color: #d5f7bd;
}

h3.blue {
  background-color: #0976B4;
  color: #b3dcf2;
}

h3.blue2 {
  background-color: #3e78d6;
  color: #b3dcf2;
}

h3.orange {
  background-color: #ffb03a;
  color: #FFF2C1;
}

h3.gray {
  background-color: #E9ECEF;
}

h3.dark {
  background-color: #343A40;
  color: rgba(255, 255, 255, 0.5);
}

h3.dignity_01 {
  background-color: #b23d20;
  color: #FFFFFF;
}

h3.dignity_02 {
  background-color: #565a5e;
  color: #FFFFFF;
}

.sales_btn {
  cursor: pointer;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  border: 1px solid #ced4da;
  padding: .1rem .5rem;
}

.sales_btn:hover {
  text-decoration: none !important;
  background-color: #ced4da;
}

.required_border {
  border: 1px solid #DC3545;
}

.bts {
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  border: 1px solid #ced4da;
  cursor: pointer;
  text-decoration: none;
  vertical-align: baseline;
  padding-top: .1rem;
  padding-bottom: .1rem;
  padding-left: .5rem;
  padding-right: .5rem;
  color: #333333;
  font-size: .6rem;
  background-color: #F0F3F5;
}

.bts:hover {
  color: #FFFFFF;
  text-decoration: none !important;
  background-color: #343A40;
}

.bts:active {
  position: relative;
  top: 1px;
}

.bts.blue {
  border: 1px solid #0976B4;
  color: #0976B4;
  background-color: #FFFFFF;
}

.bts.blue.blink {
  animation: blue_blink_bg 3s;
  -webkit-animation: blue_blink_bg 3s;
  animation-timing-function: ease;
  animation-iteration-count: infinite;
}

.bts.blue:hover {
  color: #FFFFFF;
  background-color: #0976B4;
}

.bts.red {
  border: 1px solid #DC3545;
  color: #DC3545;
  background-color: #FFFFFF;
}

.bts.red:hover {
  background-color: #DC3545;
  color: #FFFFFF;
}

.bts.green {
  border: 1px solid #387d04;
  color: #387d04;
  background-color: #FFFFFF;
}

.bts.green:hover {
  background-color: #387d04;
  color: #FFFFFF;
}

.bts.orange {
  border: 1px solid #ffb03a;
  color: #ffb03a;
  background-color: #FFFFFF;
}

.bts.orange:hover {
  background-color: #ffb03a;
  color: #FFFFFF;
}

/* ##################	to_top ################## */
.to_btn {
  text-align: center;
  cursor: pointer;
  padding: 1rem;
  position: fixed;
  right: 1rem;
  background-color: #000000;
  border-radius: .25rem;
  color: #FFFFFF;
  padding-top: 1rem;
  z-index: 999;
  opacity: 0;
}

.to_btn.to_down {
  top: 3.1rem;
}

.to_btn.to_up {
  bottom: 1rem;
}

/* Base for label styling */
.chk_ctm {
  /* checkbox aspect */
  /* checked mark aspect */
  /* checked mark aspect changes */
  /* disabled checkbox */
  /* accessibility */
  /* hover style just for information */
}

.chk_ctm + label {
  line-height: 1rem;
}

.chk_ctm:not(:checked), .chk_ctm:checked {
  position: absolute;
  left: -9999px;
}

.chk_ctm:not(:checked) + label,
.chk_ctm:checked + label {
  position: relative;
  padding-left: 1.95em;
  cursor: pointer;
}

.chk_ctm:not(:checked) + label:before,
.chk_ctm:checked + label:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 1.25em;
  height: 1.25em;
  border: 2px solid #ccc;
  background: #fff;
  border-radius: 4px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.chk_ctm:not(:checked) + label:after,
.chk_ctm:checked + label:after {
  content: '\2713\0020';
  position: absolute;
  top: .15em;
  left: .22em;
  font-size: 1.3em;
  line-height: 0.8;
  color: #DC3545;
  transition: all .2s;
  font-family: 'Lucida Sans Unicode', 'Arial Unicode MS', Arial;
}

.chk_ctm:not(:checked) + label:after {
  opacity: 0;
  transform: scale(0);
}

.chk_ctm:checked + label:after {
  opacity: 1;
  transform: scale(1);
}

.chk_ctm:disabled:not(:checked) + label:before,
.chk_ctm:disabled:checked + label:before {
  box-shadow: none;
  border-color: #bbb;
  background-color: #ddd;
}

.chk_ctm:disabled:checked + label:after {
  color: #999;
}

.chk_ctm:disabled + label {
  color: #aaa;
}

.chk_ctm:checked:focus + label:before,
.chk_ctm:not(:checked):focus + label:before {
  border: 2px dotted blue;
}

.chk_ctm + label:hover:before {
  border: 2px solid #DC3545 !important;
}

/* ##################	check-group ################## */
div.check_group {
  display: flex;
}

div.check_group input {
  display: none;
}

div.check_group label {
  padding-left: .5rem;
  padding-right: .5rem;
  cursor: pointer;
  text-align: center;
  border: 1px solid #ced4da;
  margin-right: -1px;
  background-color: #F0F3F5;
  color: #9A9A9A;
  height: calc(1.5em + .5rem + 2px);
  line-height: calc(1.5em + .5rem);
  display: inline-block;
  font-size: .7rem;
}

div.check_group label.same_color {
  background-color: #343A40;
  border: 1px solid #343A40;
  color: #FFFFFF;
}

div.check_group label.reverse {
  background-color: #343A40;
  border: 1px solid #343A40;
  color: #FFFFFF;
}

div.check_group label.cl_type {
  background-color: #DC3545 !important;
  border: 1px solid #DC3545 !important;
  color: #FFFFFF !important;
}

div.check_group label.first {
  border-top-left-radius: .25rem;
  border-bottom-left-radius: .25rem;
}

div.check_group label.last {
  border-top-right-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

div.check_group label.single {
  border-radius: .25rem;
}

div.check_group input:checked + label {
  background-color: #343A40;
  border: 1px solid #343A40;
  color: #FFFFFF;
}

div.check_group input:checked + label.reverse {
  border: 1px solid #ced4da;
  background-color: #F0F3F5;
  color: #9A9A9A;
}

div.check_group input:checked + label.cl_type {
  background-color: #66ccff !important;
  border: 1px solid #66ccff !important;
  color: #FFFFFF !important;
}

div.check_group input:checked + label.green_btn {
  background-color: #387d04 !important;
  border: 1px solid #387d04 !important;
  color: #FFFFFF !important;
}

/*CheckBox */
label.ckb_label {
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
  margin-right: -1px;
  cursor: pointer;
  padding-left: .5rem;
  padding-right: .5rem;
  margin-right: .5rem;
  line-height: 1.7rem;
  background-color: #F0F3F5;
  display: inline-block;
  color: #9A9A9A;
  font-size: .7rem;
}

label.break {
  margin-bottom: 1rem;
}

input.ckb {
  display: none;
}

input.ckb:checked + label {
  background-color: #343A40;
  border: 1px solid #343A40;
  color: #FFFFFF;
}

input.idsearch {
  width: 3rem;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.cal_tel {
  color: #0976B4;
}

.cal_email {
  color: #387d04;
}

.not_res {
  color: #cea0ff;
}

.clinic {
  color: #ffb03a;
}

.sns {
  color: #131A22;
}

.same_cus {
  background-color: #FCEAEA !important;
}

.cal_box {
  overflow-x: auto;
}

table.calendar {
  display: flex;
  flex-flow: column;
  padding-left: 1rem;
}

table.calendar tr {
  width: 100%;
  display: table;
  table-layout: fixed;
}

table.calendar tbody {
  flex: 1 1 auto;
  display: block;
  overflow-y: auto;
  overflow-x: hidden;
}

table.calendar tbody tr:nth-child(n+2) td {
  border-top: none;
}

table.calendar thead {
  flex: 0 0 auto;
}

table.calendar thead th {
  color: #495057;
  width: 13%;
  min-width: 180px;
}

table.calendar thead th.monthly_table_subject {
  font-size: 1.2rem;
}

table.calendar thead th.w-1 {
  width: 75px;
  min-width: 50px;
}

table.calendar thead th.today {
  color: #ffb03a;
}

table.calendar thead th.sat {
  color: #387d04;
}

table.calendar thead th.sun {
  color: #DC3545;
}

table.calendar thead th.holiday {
  color: #DC3545;
}

table.calendar thead tr.head_daily {
  background-color: #F0F3F5;
}

table.calendar #to_down,
table.calendar #to_up {
  font-size: 1rem;
  cursor: pointer;
  color: #FFFFFF;
  background-color: #131A22;
  padding: .3rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
}

table.calendar .clinic_bg, table.calendar .week_result {
  background-color: #F0F3F5;
  width: 75px;
  min-width: 50px;
}

table.calendar th {
  text-align: center;
  border: none;
}

table.calendar td {
  border: 1px solid #ced4da;
}

table.calendar td.today {
  background-color: #ffffea;
}

table.calendar td.sat {
  background-color: #f8ffe5;
}

table.calendar td.sun {
  background-color: #fff6f4;
}

table.calendar td.holiday {
  background-color: #fff6f4;
}

table.calendar td.oncontext {
  padding-bottom: 1rem;
  cursor: pointer;
}

table.calendar td .blank_data {
  min-height: 100px;
}

table.calendar div.schedule, table.calendar div.not_schedule, table.calendar div.appointment {
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  border-radius: 2rem;
  padding: .1rem .3rem;
  cursor: pointer;
  margin-bottom: .1rem;
  font-size: .7rem;
}

table.calendar div.schedule .campaign, table.calendar div.not_schedule .campaign, table.calendar div.appointment .campaign {
  color: #eacf00;
}

table.calendar div.schedule .off-1, table.calendar div.not_schedule .off-1, table.calendar div.appointment .off-1 {
  color: #ffb03a;
}

table.calendar div.schedule .off-2, table.calendar div.not_schedule .off-2, table.calendar div.appointment .off-2 {
  color: #000000;
}

table.calendar div.schedule .off-3, table.calendar div.not_schedule .off-3, table.calendar div.appointment .off-3 {
  color: #DC3545;
}

table.calendar div.schedule.mail, table.calendar div.not_schedule.mail, table.calendar div.appointment.mail {
  background-color: #d5f7bd;
}

table.calendar div.schedule.cancel, table.calendar div.not_schedule.cancel, table.calendar div.appointment.cancel {
  background-color: #FCEAEA;
}

table.calendar div.doctor {
  color: #000000;
  background-color: #ffb03a;
  border: 1px solid #e58b04;
}

table.calendar div.doctor:hover {
  background-color: #ffc575;
}

table.calendar div.office {
  color: #000000;
  background-color: #387d04;
  border: 1px solid #99CC00;
}

table.calendar div.office:hover {
  background-color: #c9ea67;
}

table.calendar div.free {
  color: #000000;
  background-color: #ffe0ff;
  border: 1px solid #f2bcf2;
}

table.calendar div.free:hover {
  background-color: #FCEAEA;
}

table.calendar div.nurse {
  color: #000000;
  background-color: #cea0ff;
  border: 1px solid #ae74ed;
}

table.calendar div.nurse:hover {
  background-color: #dbbaff;
}

table.calendar div.clinic {
  background-color: #ffa09b;
  border: 1px solid #e88b8b;
  color: #000000;
}

table.calendar div.clinic:hover {
  background-color: #ffcccc;
}

table.calendar div.partner {
  color: #000000;
  background-color: #66d6ff;
  border: 1px solid #59c0e5;
}

table.calendar div.partner:hover {
  background-color: #93ddff;
}

table.calendar div.msg {
  background-color: #FFCCFF;
  border: 1px solid #f2bcf2;
}

table.calendar div.msg:hover {
  background-color: #ffe0ff;
}

table.calendar div.mvl {
  -webkit-border-radius: 0.24rem;
  -moz-border-radius: 0.24rem;
  border-radius: 0.24rem;
  border: 1px solid #b1b8bf;
  background-color: #FFFFFF;
}

table.calendar div.mvl:hover {
  background-color: #F0F3F5;
}

table.calendar div.blue-line {
  border-bottom-color: #0976B4;
  border-bottom-width: 2px;
}

table.calendar div.new_level {
  border-left-color: #DC3545;
  border-left-width: 5px;
}

table.calendar div.patient {
  border-right-color: #3e78d6;
  border-right-width: 5px;
}

table.calendar div.operation {
  border-right-color: #ffb03a;
  border-right-width: 5px;
}

table.calendar div.start {
    border-right-color: #b3dcf2;
    border-right-width: 5px;
}

table.calendar div.in_judging {
    border-right-color: #99CC00;
    border-right-width: 5px;
}

table.calendar div.patient_end {
  border-right-color: #856404;
  border-right-width: 5px;
}

table.calendar div.fin {
  opacity: .6;
}

table.calendar div.continuous_level {
  border-left-color: #66ccff;
  border-left-width: 5px;
}

table.calendar div.after {
  background-color: #F0F3F5;
}

table.calendar div.t_free {
  background-color: #d4d8db;
}

table.media_table {
  table-layout: fixed;
  margin-bottom: .1rem;
}

table.media_table.main_table {
  border: 2px solid #ced4da;
  margin-bottom: 1rem;
}

table.media_table .media_number {
  text-align: center;
  width: 5rem;
  height: 1.1rem;
  border: none;
}

table.media_table thead tr {
  background-color: #9A9A9A;
}

table.media_table thead tr th {
  color: #FFFFFF;
}

table.media_table th, table.media_table td {
  padding: .2rem .5rem;
  text-align: center;
}

table.media_table tbody .row_down {
  cursor: pointer;
  text-decoration: underline;
}

table.media_table tbody tr {
  font-size: .7rem;
  text-align: center;
}

table.media_table tbody tr.large {
  background-color: #d5f7bd;
}

table.media_table tbody tr.middle {
  display: none;
}

table.media_table tbody tr.small {
  background-color: #FFFFDD;
  display: none;
}

table.media_table tbody td {
  text-align: center;
}

table.media_table tbody td input[name=cost] {
  width: 5rem;
}

.td_subject {
  padding-bottom: 1rem;
  text-align: center;
}

.td_subject h3 {
  font-weight: bold;
  font-size: .8rem;
}

.fin_value {
  margin-left: 1rem;
  max-height: 1rem;
  line-height: 1.7rem;
  color: #9A9A9A;
}

.hide {
  display: none;
}

.search_result {
  display: none;
  margin-bottom: 1rem;
}

.search_result dl {
  padding: 1rem;
  -webkit-border-radius: 0.25rem;
  -moz-border-radius: 0.25rem;
  border-radius: 0.25rem;
  border: 1px solid #ced4da;
}

.search_result dl dt {
  font-size: .8rem;
  margin-bottom: .5rem;
}

.search_result dl dd {
  font-size: .7rem;
  margin-bottom: .5rem;
}

ul.logs {
  padding: 0 2rem;
  list-style: decimal;
}

ul.logs li {
  line-height: 1.5rem;
}

/* ##################	drag_li	################## */
.drag_box .delete_btn {
  color: #DC3545;
  cursor: pointer;
}

.drag_box #sort_area .fa-arrows-alt-v {
  cursor: move;
}

.drag_box #sort_area input, .drag_box #sort_area select {
  margin-top: .5rem;
}

.drag_box #sort_area .sort_target:nth-child(odd) {
  background-color: #F0F3F5;
}

.drag_box #sort_area .sort_target:hover {
  background-color: #d5f7bd;
}

.drag_box #sort_area .row_mst_style {
  line-height: 42px;
}

/* ################## sweetalert2	################## */
.delete-cancel-button, .delete-confirm-button {
  padding: .5rem !important;
  font-size: .5rem !important;
}

.delete-title {
  color: #DC3545 !important;
  font-size: 1rem !important;
}

/* ################## toast_box	################## */
#toast_box {
  z-index: 99;
  width: 500px;
  position: fixed;
  top: -100px;
  right: 40%;
  font-size: .875rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
  border-radius: .25rem;
}

#toast_box #toast_box_header {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
  text-align: right;
  padding: .25rem .75rem;
  background-color: #FFFFFF;
  border-bottom: 2px solid #dee2e6;
}

#toast_box #toast_box_msg {
  font-size: 1.2rem;
  padding: 1rem;
  background-color: #FFFFFF;
}

/* ################## modal	################## */
.modal-header {
  padding-top: .5rem;
  padding-bottom: .5rem;
  padding-right: 1.1rem;
  padding-left: .5rem;
}

.modal-footer {
  background-color: #EEEEEE;
}

.modal-body {
  padding: .5rem .5rem;
}

.modal_title {
  font-size: 1rem;
}

/* ################## complaint_table	################## */
.complaint_table {
  max-height: 300px;
  overflow-y: auto;
}

/* ################## pointer	################## */
#toast_box_close,
#change_sche_week,
.new_schedule,
.change_sche_month,
.change_sche_week,
.complaint_edit,
.complaint_del,
.btn,
.set_date,
.flatpickr_clear_value,
.add_elm {
  cursor: pointer;
}

.flatpickr_clear_value {
  color: #9A9A9A;
}

.change_sche_week {
  line-height: 1rem;
}

/* ##################	msgBorderLayer ################## */
.msg_border_layer {
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
  display: inline-block;
  padding: 19px;
  position: fixed;
  top: 100px;
  right: 55%;
  z-index: 99;
  text-align: left;
  background-color: rgba(0, 0, 0, 0.9);
  color: #FFFFFF;
}

/* ##################	tooltip_html_box ################## */
.tooltip_html_box {
  text-align: left;
  font-size: .7rem;
  padding: .5rem 2rem;
}

.tooltip_html_box .final_title {
  margin-bottom: .5rem;
  text-align: center;
  font-size: .8rem;
}

.tooltip_html_box .final_col {
  display: inline-block;
  min-width: 4rem;
  margin-right: 1rem;
}

.tooltip_html_box .final_val {
  display: inline-block;
}
