/* 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;
}

::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: .8rem;
  color: #495057;
  background-color: #131A22;
}

body.bg_white {
  background-color: #FFFFFF;
}

@media print {
  html,
  body {
    overflow-x: visible;
  }
}

h2.page_title {
  text-align: center;
  font-size: 1rem;
  padding-top: .5rem;
  padding-bottom: .5rem;
  background-color: #ced4da;
  margin-bottom: .5rem;
}

h3.page_title {
  font-size: 1rem;
  padding: .2rem;
  margin-bottom: .5rem;
  margin-top: .5rem;
  border-bottom: 1px solid #ced4da;
  box-shadow: 0px 2px 0px -1px #fff;
}

.initial_title {
  font-weight: bold;
}

.page-item {
  cursor: pointer;
}

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

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

.mem_num {
  cursor: pointer;
  color: #0976B4;
}

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

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

footer .copy {
  text-align: center;
}

.change_passwd {
  display: none;
  height: 1.7rem;
  margin-top: .5rem;
  margin-left: .5rem;
}

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

.container-fluid.modal_form {
  padding: 1rem;
}

.min_height {
  min-height: 800px;
}

.text_link {
  cursor: pointer;
  color: #0976B4;
}

.text_link:hover {
  text-decoration: underline;
}

.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;
}

#documents_list img {
  width: 200px;
  display: block;
  margin-bottom: 1rem;
}

#member_images_area span {
  display: inline-block;
  width: 200px;
}

#member_images_area span.img_box {
  position: relative;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

#member_images_area span.nav_box {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: rgba(0, 0, 0, 0.6);
  padding: .5rem .5rem;
  border-bottom-left-radius: .25rem;
  border-bottom-right-radius: .25rem;
}

#member_images_area img {
  vertical-align: top;
  width: 200px;
}

#member_images_area .img_trash {
  color: #FFFFFF;
  cursor: pointer;
  float: left;
}

#member_images_area .img_preview {
  color: #FFFFFF;
  cursor: pointer;
  float: right;
}

#shipping_files_area span, #attachment_area span {
  display: inline-block;
}

#shipping_files_area span.file_box, #attachment_area span.file_box {
  margin-right: 1rem;
}

#shipping_files_area span.nav_box, #attachment_area span.nav_box {
  padding-left: .5rem;
}

#shipping_files_area .img_trash, #attachment_area .img_trash {
  color: #DC3545;
  cursor: pointer;
  float: left;
}

#image_modal_content {
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.4);
}

#image_modal_body {
  text-align: center;
}

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

.f_red {
  color: #DC3545;
}

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

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

.btn {
  cursor: pointer;
}

.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;
}

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

a {
  color: #0976B4;
}

dl dt {
  font-size: .7rem;
}

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

.table {
  color: #495057;
}

.table thead th {
  font-size: .7rem;
  border-bottom: 0px;
  border-top: 0px;
}

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

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

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

.table tbody#result_lists tr:hover {
  background-color: #f2fff2;
}

.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;
}

.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;
}

.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 #b1e026;
  color: #b1e026;
  background-color: #FFFFFF;
}

.bts.green:hover {
  background-color: #b1e026;
  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 {
  font-size: 2rem;
  text-align: center;
  cursor: pointer;
  padding: .5rem 1rem;
  position: fixed;
  right: 2rem;
  background-color: #000000;
  border-radius: .2rem;
  color: #FFFFFF;
  z-index: 999;
  opacity: 0;
}

.to_btn.to_down {
  top: 4rem;
}

.to_btn.to_up {
  bottom: 4rem;
}

/* 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 {
  font-weight: normal;
  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: .2rem;
  border-bottom-left-radius: .2rem;
}

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

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

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: #b1e026 !important;
  border: 1px solid #b1e026 !important;
  color: #343A40 !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;
}

.hide {
  display: none;
}

.search_result {
  padding: 1rem;
  display: none;
}

.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: #F1FFC8;
}

.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: 99999;
  width: 350px;
  position: fixed;
  top: 4rem;
  right: -400px;
  font-size: .875rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: .25rem;
  border-bottom-right-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: #ced4da;
}

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

/* ################## modal	################## */
.modal_title {
  font-size: 1rem;
}

.flatpickr_clear_value {
  color: #9A9A9A;
}

.change_sche_week {
  line-height: 1rem;
}

.modal-body label {
  font-weight: bold;
  font-size: .7rem;
}

.modal-body#memo_body {
  padding: 1rem;
  font-size: 1rem;
}

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