/* @import url(//spoqa.github.io/spoqa-han-sans/css/SpoqaHanSans-kr.css); */
html, body {
  height: 100%;
}

/* font */
body {
  font-family: 'Nanum Gothic', sans-serif;
}

/* focus none on button of chrome defualt setting */
button:focus {
  outline:0 !important;
}

input.input-error {
  background-color: rgba(255, 12, 85, 0.1);
}

textarea {
  resize: vertical;
}

.label-pink {
  background-color: pink;
}
.label-white {
  background-color: rgba(200,200,200,0.1);
  border: 1px solid rgba(200,200,200,0.2);
  color: gray;
  cursor: pointer;
}
ul * {
  list-style: none;
}

/* login page */
/* gradient background color red to orange and yellow */
#login-body {
  height: 100%;
  background: linear-gradient(to top right, rgb(60, 118, 61), rgba(223, 240, 116));
}
#loginpage {
  padding-top: 1%;
}
/* logo img */
#headerbox img{
  margin: 0 35% 5%;
  max-width: 50%;
  height: auto;
  display: block;
}
#loginbox {
  padding: 6% 70px 3%;
  background-color: white;
  box-shadow: 2px 6px 20px 4px rgba(0,0,0,0.2);
}
#logintext {
  color: rgba(255,140,85,0.8);
  font-size: 20px;
}
#loginbox input::placeholder {
  color: rgba(0,0,0,0.3);
  font-size: 11px;
}
/* login button style */
#loginbox button {
  color: rgba(0,0,0,0.5);
  font-weight: bold;
}
#loginbox button:hover {
  background-color: rgba(255,140,85,0.3);
  border-color: white;
  transition: 0.5s;
  color: white;
}
/* forgot password link to gray color */
#forgotpwd a:link {
  color: rgba(0,0,0,0.5);
  font-size: 11px;
  transition: 0.5s;
}
#forgotpwd a:hover {
  color: rgba(20,30,100,0.6);
}
#signinbox {
  margin-top: 3%;
  color: rgba(255,255,255,0.8);
}
/* change color of button for modal*/
#signinbox button {
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  margin-top: -5px;
  background-color: inherit;
  color: rgba(255,255,255,0.3);
  transition: 0.5s;
}
#signinbox button:hover {
  border: 3px solid rgba(255,255,255,0.8);
  color: rgba(255,255,255,0.8);
  transition: 0.5s;
}
#errormsg {
   font-size: 14px !important;
}

/* signform */
#signupModal .modal-header{
  font-size: 20px;
  color: gray;
  padding: 40px 50px;
}
#signupModal .modal-header span{
  font-size: 30px;
}
#signupModal .modal-body {
  padding: 40px 50px;
  margin-bottom: 80px;
}
#signupModal .modal-body label {
  color: gray;
}
#signupbtn {
  margin: 40px 0;
  transition: .6s;
}
#signupbtn:hover {
  transition: .6s;
}




#topnav {
  font-size: 0.9em;
  background-color: rgb(223, 240, 216);
}
#topnav .loginid {
  font-weight: bold;
}
#uncheckedBox {
  color: gray;
  padding: 10px 15px;
  float:left;
}
#uncheckedList {
  width: 340px;
  font-size: 11px;
}
#uncheckedIcon {
  font-size: 20px;
  cursor: pointer;
}
#uncheckedCounter {
  cursor: pointer;
  font-size: 9px;
  position: relative;
  left: -13px;
  bottom: -6px;
}
#uncheckedList a {
  cursor: pointer;
}



/* sidenav page */
#sidenav {
  padding: 0 15px 0 8px;
  position: -webkit-sticky;
  position: sticky;
  top: 20px;
  height: 800px;
  overflow-y: scroll;
  overflow-x: hidden;
}
@media screen and (min-width: 992px) {
  #sidenav {
      /* -ms-overflow-style: none;
      overflow: -moz-scrollbars-none; */
  }
  #sidenav::-webkit-scrollbar {
      /* display: none; */
      width: 2px;
      height: 0;
  }
  #sidenav::-webkit-scrollbar-button {
      background: #eee;
      display: none;
  }
  #sidenav::-webkit-scrollbar-track-piece {
      background: #eee;
  }
  #sidenav::-webkit-scrollbar-thumb {
      background: rgba(255, 12, 85, 0.2);
  }​

}
@media screen and (max-width: 992px) {
  #sidenav {
    position: relative;
    height: 230px;
    margin-bottom: 40px;
  }
}

.branch-title-box {
  border-bottom:2px double rgba(100,100,100,0.1);
  padding-bottom:4px;
  margin-bottom:4px;
}

.branch-list .branch-option,
.branch-title {
  color: rgba(0,0,0,0.2);
  font-size: 12px;
  font-weight: bold;
  transition: 0.3s;
  border: 1px solid rgba(0,0,0,0.1);
  padding: 1px 3px;
  border-radius: 4px;
}
.branch-list .branch-option {
  cursor: pointer;
  transition: 0.3s;
}
.branch-list .branch-option:hover {
  background-color: rgba(100,100,100,0.1);
  transition: 0.3s;
}
.branch-list .branch-option.active {
  color: rgba(0,0,0,0.7);
  transition: 0.3s;
  border-color: rgba(0,0,0,0.4);
}

#sidenav .tooltip.top .tooltip-inner {
  background-color: rgba(255, 12, 85, 0.8);
}
#sidenav .tooltip.top .tooltip-arrow {
  border-top-color: rgba(255, 12, 85, 0.8);
}

  .table-wrap {
    font-size: 0.85em;
  }
  .table-wrap td {
    /* text-align: center; */
  }
  .customers tbody td {
    font-size: 11px;
    padding: 3px 1px !important;
    cursor: pointer;
  }
  .customers tbody td:nth-child(1) {
    width: 28px;
    font-size: 12px;
  }
  .customers tbody td:nth-child(2) {
    min-width: 70px;
    /* width: 84px; */
  }
  .customers tbody td span.label {
    /* padding: 0 4px 1px; */
  }
  /* 고객타입 */
  .customers tbody tr[data-type="vip"] {
    border-right: 4px solid #337ab7 !important;
  }
  .customers tbody tr[data-type="special"] {
    border-right: 4px solid #d9534f !important;
  }
  .customers tbody tr[data-contrycode="해외"] {
    background: linear-gradient(to right, rgba(220,10,30,0.2) , white, white, white);
  }

  /* 관리상태별 */
  /* [관리전, 연락함, 관리중, 관리완료] */
  .customers tbody tr:hover{
    font-weight: bold;
  }
  /* 관리전 */
  .customers tbody tr[data-submitstate="관리전"] {
    opacity: 0.5;
  }
  /* 관리전 연락아이콘 */
  .customers tbody tr[data-submitstate="관리전"] td:nth-child(1) {
    opacity: 0.1;
  }
  .customers tbody tr[data-submitstate="관리전"] td:nth-child(1):hover {
    opacity: 1;
    transition: opacity 0.3s;
    cursor: pointer;
  }
  .customers tbody tr[data-submitstate="관리전"] td:nth-child(1):hover i.fa-phone{
    color: DodgerBlue;
  }
  .customers tbody tr[data-submitstate="관리전"] td:nth-child(1):hover i.fa-trash{
    color: rgba(255,20,20,0.8);
  }
  .customers tbody tr[data-submitstate="관리중"] td:nth-child(1) i.fa-phone,
  .customers tbody tr[data-submitstate="관리완료"] td:nth-child(1) i.fa-phone {
    display: none;
  }
  .customers tbody tr[data-submitstate="관리중"] td:nth-child(1) i,
  .customers tbody tr[data-submitstate="관리완료"] td:nth-child(1) i {
    opacity: 0.5;
  }
  .customers tbody tr[data-submitstate="관리중"] td:nth-child(1):hover i.fa-phone,
  .customers tbody tr[data-submitstate="관리완료"] td:nth-child(1):hover i.fa-phone {
    opacity: 1 !important;
    color: rgb(255,20,20);
  }
  .customers tbody .fa-bell {
    color: rgb(242, 141, 7);
  }

  /* 연락함 */
  .customers tbody tr[data-submitstate="연락함"] {
    color: skyblue;
  }

  /* 관리중 */
  .customers tbody tr[data-submitstate="관리중"] {
    font-weight: bold;
  }

  .customers tbody tr[data-submitstate="관리중"] td:nth-child(2) {
    color: green;
  }
  /* 관리완료 */
  .customers tbody tr[data-submitstate="관리완료"] {
    opacity: 0.3;
    text-decoration: line-through;
  }

  .sendTruck {
    color: orange;
    font-size: 15px;
  }

  .tr-day {
    background-color: rgba(10,10,10,0.07);
    border-bottom: 2px solid rgba(0,0,0,0.1);
    text-align: right;
    border-radius: 10px !important;
    color: rgba(0,0,0,0.5);
    font-weight: 600;
    cursor: pointer;
  }
  .tr-day:hover {
    background-color: rgba(10,10,10,0.2);
    transition: .5s;
    color: rgba(0,0,0,0.8);
  }
  .tr-today {
    background-color: rgba(240,10,10,0.1);
  }
  .tr-today:hover {
    background-color: rgba(240,10,10,0.2);
    transition: .5s;
    color: rgba(0,0,0,0.8);
  }

  .circle {
    width: 6px;
    height: 6px;
    border-radius: 5px;
    display: inline-block;
  }
  .circle:hover {
    transition: .3s;
    opacity: 0.6;
    cursor: pointer;
  }
  .circle[data-problem="false"] {
    display: none;
  }
  .circle[data-difficult="false"] {
    display: none;
  }
  .circle[data-comment="false"] {
    display: none;
  }
  .circle-orange {
    background-color: orange;
  }
  .circle-red {
    background-color: red;
  }
  .circle-green {
    background-color: green;
  }

  .submittedToday {
    color: green;
    font-weight: 700;
  }

.badge-yellow {
  margin-left: 2px;
  background-color: red !important;
}

.managerbox #counter{
 margin-top: 30px;
}
.managerbox .label {
  margin-bottom: 12px;
}

.option-list {
  margin-bottom: 10px;
}
.option-list span {
  font-size: 11px;
  color: lightgray;
  cursor: pointer;
  word-break: keep-all;
}
.option-list span.active {
  font-weight: bold;
  opacity: 0.8;
  transition: 0.3s;
}

.option-list span[data-type="관리전"].active {
  color: rgb(50, 50, 50);
  text-shadow: 0 0 3px rgba(50, 50, 50, 0.4);
}
.option-list span[data-type="관리중"].active {
  color: rgb(47, 119, 65);
  text-shadow: 0 0 3px rgba(47, 119, 65, 0.4);
}
.option-list span[data-type="연락함"].active {
  color: skyblue;
  text-shadow: 0 0 3px rgba(0,0,150,0.1);
}
.option-list span[data-type="관리완료"].active {
  color: rgb(50, 50, 90);
  text-shadow: 0 0 3px rgba(0,0,150,0.1);
  text-decoration: line-through;
}
.option-list span[data-name="problem"].active {
  color: rgb(255, 121, 12);
  text-shadow: 0 0 3px rgba(255, 121, 12, 0.4);
}
.option-list span[data-name="difficult"].active {
  color: rgb(255, 10, 55);
  text-shadow: 0 0 3px rgba(255, 10, 55, 0.4);
}
.option-list span[data-name="KR"].active {
  color: rgb(32, 61, 200);
  text-shadow: 0 0 3px rgba(32, 61, 200, 0.4);
}
.option-list span[data-name="JP"].active {
  color: rgb(255, 10, 55);
  text-shadow: 0 0 3px rgba(255, 10, 55, 0.4);
}
.option-list span[data-name="vip"].active {
  color: rgb(32, 61, 200);
  text-shadow: 0 0 3px rgba(32, 61, 200, 0.4);
}
.option-list span[data-name="special"].active {
  color: rgba(220, 10, 55, 0.8);
  text-shadow: 0 0 3px rgba(255, 10, 55, 0.3);
}


/* ====================== */
/* ====== 네임박스 ====== */
/* ===================== */
.namebox {
  display: inline-block;
  margin: 12px auto;
  border-radius: 5px;
  border: 1px solid rgba(0,0,0,0.1);
  font-size: 2.5em;
  text-align: center;
  box-shadow: 1px 1px 8px 2px rgba(200,200,200,0.2);
  vertical-align: top;
  padding: 0 13px 3px;
  color: rgba(66, 188, 244,0.9);
}
.namebox-sm {
  height: auto;
  margin: 0;
  padding: 1px 5px;
  font-size: 1.1em;
  font-weight: 600;
}
.namebox-mini {
  background-color: white;
  height: auto;
  margin: 0;
  padding: 1px 3px;
  font-size: 12px;
  font-weight: 600;
}
.namebox a:hover {
  color: rgba(100, 100, 200,0.9);
  transition: 0.5s;
}

.managerbox button{
  margin: 10px 0;
  box-shadow: 1px 1px 3px 1px rgba(200,200,200,0.2);
  color: gray;
}
.managerbox button:hover{
  background-color: rgba(66, 203, 244,0.1);
  transition: 0.3s;
}

/* 시작고객 모달 */
@media screen and (min-width: 800px) {
  #newcustomerModal .modal-dialog {
    width: 50%;
  }
}
#newcustomerModal table th {
  word-break: keep-all;
}
#newcustomerModal table span .red{
  background-color: rgba(193, 15, 15,0.7);
}
#newcustomerModal .modal-header {
  background-color: black;
  color: white;
  font-weight: bold;
}
#newcustomerModal .small {
  color: rgba(0,0,0,0.3);
}






a:hover, a:focus {
    color: #2A6496;
    text-decoration: none;
}

.daySeparator {
  background-color: rgba(0,0,0,0.1);
}

.customer-row {
  cursor: pointer;
}
.customer-row:hover {
  color: orange;
  transition: 0.2s;
}


/* if you didn't contact it is appear with hovering on (0 관리전) */
/* unsubmitted and not contacted */
tr.unsubmitted {
  color: rgba(0,0,0,0.2);
}
tr.unsubmitted:hover{
  color: rgba(0,0,0,0.4);
}
tr.unsubmitted i{
  color: rgba(0,0,0,0);
}
tr.unsubmitted:hover i{
  color: rgba(0,0,0,0.2);
  transition: 0.3s;
}

/* unsubmitted and contacted */
tr.contacted {
  color: rgba(66, 188, 244,0.6);
  transition: 0.3s;
}
tr.contacted:hover {
  color: rgba(66, 188, 244,0.9);
  transition: 0.3s;
}
tr.contacted i{
  color: rgba(66, 188, 244,0.2);
  transition: 0.3s;
}
tr.contacted:hover i{
  color: rgba(66, 188, 244,0.6);
  transition: 0.3s;
}

tr.submitted {
  color: rgba(0,0,0,0.9);
  font-weight: bold;
}
tr.submitted:hover {
  color: rgba(255,100,0,0.9);
}
tr.submitted i.glyphicon-earphone{
  display: none;
}
tr.submitted i.glyphicon-earphone{
  display: none;
}

*.unselectable {
   -moz-user-select: none;
   -khtml-user-select: none;
   -webkit-user-select: none;
   -ms-user-select: none;
    user-select: none;
 }



/* customerlist page */
#total {
  height:390px;
  overflow-y: auto;
}
  #totalTable {
    font-size: 12px;
    width: 100%;
  }

  #totalTable th {
    word-break: keep-all;
    text-align: center;
    color: rgba(25,0,0,0.3);
  }
  #totalTable tbody tr {
    text-align: center;
    cursor: pointer;
  }
  #totalTable tbody tr:hover {
    font-weight: 800;
  }
  #totalTable tbody tr.selected {
    background-color: rgba(252, 126, 126,0.1);
    border-bottom: 2px solid rgba(252, 126, 126,0.1);
    -moz-animation-duration: 0.4s;
    -webkit-animation-duration: 0.4s;
    animation-duration: 0.4s;
    -moz-animation-name: active;
    -webkit-animation-name: active;
    animation-name: active;
  }
  .list-btn {
    background-color: white;
    border: 1px solid lightgray;
    margin-bottom: 15px;
    width: 70px;
    height: 35px;
    color: gray;
  }
  .list-btn-sm {
    width: 40px;
    height: 35px;
  }
  .list-all-btn {
    font-size: 12px;
  }
  .select-add-btn {
    margin-top: 10px;
  }
  .list-btn span {
    color: gray;
    font-size: 15px;
    display: inline-block;
    position: relative;
    transition: 0.5s;
  }
  .list-btn span:after {
    content: "추가";
    font-size: 12px;
    position: absolute;
    opacity: 0;
    top: 1px;
    right: -20px;
    transition: 0.5s;
  }
  .list-btn:hover span {
    padding-right: 30px;
  }
  .list-btn:hover span:after {
    opacity: 1;
    right: 0;
  }

  .item-delete-btn {
    float: right;
    opacity: 0.5;
    cursor: pointer;
    font-size: 11px !important;
    padding-top: 5px;
    transition: transform 0.3s;
  }
  .item-delete-btn:hover {
    transform: translateX(30%);
    opacity: 0.7;
    transition: transform 0.3s;
  }

  .selected-box,
  .added-box {
    border: 1px solid lightgray;
    border-radius: 3px;
    background-color: rgba(200,200,200,0.1);
    min-height: 100px;
    padding: 10px 10px 30px;
  }
  span.added-list {
    font-weight: bold;
    font-size: 12px;
    border: 1px solid lightgray;
    padding: 2px 5px;
    border-radius: 3px;
  }
  li.list-sperator {
    border-top: 1px solid rgba(200,200,200,0.5);
    margin-top: 10px;
    padding-top: 10px;
  }


  .selected-box li {
    border-bottom: 1px solid rgba(200,200,200,0.3);
  }
  .selected-item {
    font-size: 12px;
    min-width: 75px;
    display: inline-block;
  }


  @keyframes active {
    0%   {height: 33px;}
    30%  {height: 37px; background-color: rgba(252, 126, 126,0.2);}
    100% {height: 33px;}
  }

  .graytr {
    color: rgba(0,0,50,0.3);
    background-color: rgba(250,250,250,0.3);
  }
  .yellowtr {
    color: rgba(0,0,50,0.3);
    background-color: rgba(200,200,0,0.02);
  }





/* paymentinfo pg */
.vertical-center {
  min-height: 100%;  /* Fallback for browsers do NOT support vh unit */
  min-height: 100vh;
  border: 1px solid red;
}
.glyphicon-menu-down {
  font-size: 15px;
}

.paymentinfo button {
  font-weight: bold;
  box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.1);
}

.paymentinfo button:hover {
  background-color: white;
  color: orange;
  transition: 0.2s;
}
.paymentinfo .notpayed {
  background-color: rgba(255,0,0,0.08);
}

#periodtext {
  margin: 0;
  padding: 0;
  font-size: 5px;
  color: lightgray;
}
#period {
  width: 100%;
  height: 2px;
  background-color: rgba(0,0,0,0.1);
  margin-bottom: 1%;
}
#datebar {
  height: 2px;
  background-color: rgba(255,165,0, 0.8);
}

/* customerdiet.php */
.loadingIcon {
  font-size: 30px !important;
  -moz-animation: spin 1s linear infinite;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  color: gray;
}
@-moz-keyframes spin { 100% { -moz-transform: rotate(360deg); } }
@-webkit-keyframes spin { 100% { -webkit-transform: rotate(360deg); } }
@keyframes spin { 100% { -webkit-transform: rotate(360deg); transform:rotate(360deg); } }


.blank {
  height: 200px;
  width: 100%;
}

#medicineCommentTable td {
  font-weight: 400;
}
  #medicineCommentTable td:nth-child(1) {
    width: 80px;
  }
  #medicineCommentTable .tr-medicineComment td:nth-child(2) {
    width: 48px;
  }
  #medicineCommentTable .tr-payhistory {
    background-color: rgba(255, 198, 76, 0.6);
  }
  #medicineCommentTable .tr-refund {
    background-color: rgba(255, 10, 15, 0.2);
  }
  #medicineCommentTable .tr-payhistory td {
    font-weight: 600;
    padding-top: 8px;
    padding-bottom: 8px;
    cursor: pointer;
  }
  #medicineCommentTable .tr-payhistory td:nth-child(1) {
    width: 128;
  }
  #medicineCommentTable .tr-medicineComment {
    background-color: rgba(150, 150, 150, 0.1);
  }
  #medicineCommentTable .tr-sendhistory {
    background-color: rgba(255, 198, 76, 0.2);
  }
  #medicineCommentTable span.label {
    padding: 1px 3px 2px;
    font-weight: 400;
    font-size: 11px;
  }
  span.label-orange {
    background-color: orange;
  }
  span.sendedAmount {
    color: green !important;
    font-weight: bold;
  }
  select.paymentDateSelect {
    padding: 0;
    border: none;
    background-color: rgba(0,0,0,0);
    box-shadow: none;
    color: rgba(0,0,0,0.3);
    font-size: 12px !important;
  }

/* #customerinfo */
#customerinfo[data-contrycode="해외"] {
  background: linear-gradient(to right, rgba(220,10,30,0.2) , white, white, white);
}
#customerinfo[data-type="vip"] {
  border-right: 4px solid #337ab7 !important;
}
#customerinfo[data-type="special"] {
  border-right: 4px solid #d9534f !important;
}


#nameinfo {
  color: #555;
  font-weight: bold;
  font-size: 1em;
  cursor: pointer;
}
#nameinfo:hover {
  color: rgb(43, 63, 96);
  transition: 0.5s;
}


#paycheckbtn {
  padding: 5px 7px;
}
#detailinfo {
  font-size: 0.85em;
  color: gray;
}
#control-btns {
  transform: translateY(-10%);
}
#control-btns > span {
  padding: 2px 5px 2px;
  cursor: pointer;
  font-size: 13px;
  color: lightgray;
}
#control-btns[data-programstate="시작"] #startBtn,
#control-btns[data-programstate="기존"] #startBtn,
#control-btns[data-programstate="연장"] #extendBtn {
  color: orange;
  text-shadow: 0 0 10px orange;
}

#control-btns[data-programstate="정지"] #pauseBtn {
  color: red;
  text-shadow: 0 0 10px red;
}
#control-btns[data-programstate="끝"] #endBtn {
  color: red;
  text-shadow: 0 0 10px red;
}

.notebox {
  border: 1px solid lightgray;
}
  .notebox span.uncounted {
    color: orange;
    opacity: 0.2;
    text-shadow: 0 0 5px orange;
    font-size: 3px !important;
  }
  .notebox span.counted {
    color: green;
    opacity: 0.3;
    text-shadow: 0 0 5px green;
    font-size: 3px !important;
  }
i.i-problem {
  font-size: 14px;
  color: rgba(255,28,55,0.4) !important;
}
i.i-difficult {
  font-size: 14px;
  color: rgba(255,10,55,0.8) !important;
}
i.i-comment {
  font-size: 14px;
  color: rgba(244,212,66,1) !important;
}
.del-btn {
  cursor: pointer;
  box-shadow: 1px 1px 2px rgba(100,100,100,0.3);
}
.del-btn:hover {
  transform: rotate(360deg);
  transition: 0.5s;
}

[data-toggle="tooltip"] {
  cursor: pointer;
}
#customerdiet-page .tooltip.top .tooltip-arrow {
  /* border-top-color: black; */
}
#customerdiet-page .tooltip.top .tooltip-inner {
  /* background-color: black; */
}
#customerdiet,
#restoreTable {
  font-size: 0.8em;
}
#customerdiet th,
#restoreTable th {
  text-align: center;
  font-size: 11px;
  word-break: keep-all;
  padding-left: 1px;
  padding-right: 1px;
}
#customerdiet td,
#restoreTable td {
  font-size: 11px;
  max-width: 150px;
  word-wrap: normal;
  padding-left: 1px;
  padding-right: 1px;
}
#customerdiet .uncounted,
#restoreTable .uncounted {
  background-color: rgba(200,200,200,0.3);
}
#customerdiet tr:nth-child(n+4) td:nth-child(n+2):not(.tooltip-inner){
  opacity: 0.4;
}
#customerdiet tr:nth-child(3) td:nth-child(n+2):not(.tooltip-inner){
  opacity: 0.7;
}
#customerdiet tr:nth-child(2) td:nth-child(n+2):not(.tooltip-inner){
  opacity: 0.9;
}
#customerdiet tr:first-child {
  opacity: 1;
  font-weight: bold;
}
#customerdiet tr td:nth-child(1) {
  font-weight: bold;
}
#restoreTable .restore-btn,
#restoreTable .delete-btn {
  cursor: pointer;
}

#customerdiet tr[data-paymentid="none"] .payment-report {
  -webkit-animation: blink 2s ease infinite;
  -moz-animation:    blink 2s ease infinite;
  -o-animation:      blink 2s ease infinite;
  animation:         blink 2s ease infinite;
}

@-webkit-keyframes blink {
  0%   { opacity: 1; }
  50%   { opacity: 0.2; }
  100% { opacity: 1; }
}
@-moz-keyframes blink {
  0%   { opacity: 1; }
  50%   { opacity: 0.2; }
  100% { opacity: 1; }
}
@-o-keyframes blink {
  0%   { opacity: 1; }
  50%   { opacity: 0.2; }
  100% { opacity: 1; }
}
@keyframes blink {
  0%   { opacity: 1; }
  50%   { opacity: 0.2; }
  100% { opacity: 1; }
}
#customerdiet tr[data-state="extend"] td:nth-child(5),
#customerdiet tr[data-state="extend"] td:nth-child(6),
#customerdiet tr[data-state="extend"] td:nth-child(7),
#customerdiet tr[data-state="extend"] td:nth-child(8),
#customerdiet tr[data-state="extend"] td:nth-child(10),
#customerdiet tr[data-state="extend"] td:nth-child(11) {
  opacity: 0.1 !important;
}
#customerdiet tr[data-state="pause"] td:nth-child(5),
#customerdiet tr[data-state="pause"] td:nth-child(6),
#customerdiet tr[data-state="pause"] td:nth-child(7),
#customerdiet tr[data-state="pause"] td:nth-child(8),
#customerdiet tr[data-state="pause"] td:nth-child(10),
#customerdiet tr[data-state="pause"] td:nth-child(11) {
  opacity: 0.1 !important;
}
#customerdiet tr[data-state="pauseend"] td:nth-child(5),
#customerdiet tr[data-state="pauseend"] td:nth-child(6),
#customerdiet tr[data-state="pauseend"] td:nth-child(7),
#customerdiet tr[data-state="pauseend"] td:nth-child(8),
#customerdiet tr[data-state="pauseend"] td:nth-child(10),
#customerdiet tr[data-state="pauseend"] td:nth-child(11) {
  opacity: 0.1 !important;
}

span.monthdiv {
  color: rgba(100,100,100,0.05);
  cursor: pointer;
  transition: 0.3s;
}
span.monthdiv:hover {
  color: rgb(255, 160, 58);
  transition: 0.3s;
}
span.monthdiv.active {
  color: rgb(255, 160, 58);
}
span.monthdiv.active:hover {
  opacity: 0.5;
  transition: 0.3s;
}

span.countCheck {
  color: rgba(100,100,100,0.05);
  cursor: pointer;
  transition: 0.3s;
}
span.countCheck:hover {
  color: rgb(53, 157, 255);
  font-size: 14px;
  transition: 0.3s;
}
span.countCheck.active {
  color: rgba(0,0,0,0.8);
}
span.countCheck.active:hover {
  color: rgb(239, 40, 96);
  font-size: 14px;
  transition: 0.3s;
}
.dietTableModule input[name="curweight"] {
  width: 40px !important;
}
span.standardPercentage {
  color: rgb(53, 157, 255);
  border: 1px solid rgb(53, 157, 255);
  padding:  0 3px;
  font-weight: bold;
}
span.warningPercentage {
  color: rgb(239, 40, 96);
  font-weight: bold;
}


#btn-set {
  margin-bottom: 15px;
}
.main-btn {
  width: 100%;
  border: 2px solid #ddd;
  color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  background-color: white;
  font-weight: 800;
  font-size: 13px;
  padding: 5px 0;
  transition: 0.3s;
}
.main-btn:hover {
  padding-right: 10px;
}
.main-btn .fa {
  padding-right: 3px;
}

.h-red[data-submitstate="관리완료"] {
  border-color: rgba(255,28,55,0.4) !important;
  color: rgba(255,28,55,0.4) !important;
}
.h-red[data-submitstate="연락함"] {
  border-color: rgba(66, 164, 244, 0.8) !important;
  color: rgba(66, 164, 244, 0.8) !important;
}
.h-red[data-submitstate="관리완료"]:hover:after {
  content: '취소';
}
.h-red:hover {
  border-color: rgba(255,28,55,0.8) !important;
  background-color: rgba(255,28,55,0.1) !important;
  color: rgba(255,28,55,0.9) !important;
  transition: 0.3s;
}
.h-blue:hover {
  border-color: rgba(66, 164, 244, 0.8) !important;
  background-color: rgba(66, 164, 244, 0.1) !important;
  color: rgba(66, 164, 244, 0.9) !important;
  transition: 0.3s;
}
.h-green:hover {
  border-color: rgba(88, 188, 58, 0.8) !important;
  background-color: rgba(88, 188, 58, 0.1) !important;
  color: rgba(88, 188, 58, 0.9) !important;
  transition: 0.3s;
}
.h-orange:hover {
  border-color: rgba(255, 128, 17, 0.8) !important;
  background-color: rgba(255, 128, 17, 0.1) !important;
  color: rgba(255, 128, 17, 0.9) !important;
  transition: 0.3s;
}

::-moz-selection {
       background-color: rgba(255, 99, 132, 0.9);
       color: white;
}
/* Works in Safari */
::selection {
       background-color: rgba(255, 99, 132, 0.9);
       color: white;
}

.main #name {
  font-size: 20px;
  margin-top: 30px;
}
#updateicon {
  font-size: 18px;
  cursor: pointer;
  color: gray;
}
#updateicon:hover {
  color: black;
  transition: 0.3s;
}

#customerinfotable th {
  width: 70px;
  text-align: right;
  padding-right: 15px;
  word-break: keep-all;
}

#manualInput th {
  word-break: keep-all;
}

#manualInput td label {
  width: 110px;
  font-size: 0.85em;
}
#manualInput input {
  margin-right: 3px;
}


#startModal th {
  word-break: keep-all;
}


@media screen and (min-width: 800px) {
  #manualInput .modal-dialog {
    width: 50%;
  }
}
/*
canvas#dietchart.chartjs-render-monitor {
  width: 350px !important;
  margin: auto;
  height: 225px !important;
} */


/* set a shadow and min-size */
.box-notice {
  /* height: 35px; */
  font-weight: bold;
  padding: 7px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 5px;
  box-shadow: 4px 4px 10px 2px rgba(200,200,200,0.1);
  margin-bottom: 15px;
}
.no-margin-bottom {
  margin-bottom: 2px;
}
.box-mini {
  height: 35px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 5px;
  box-shadow: 3px 3px 10px 4px rgba(255,255,255,.15);
  margin-bottom: 7px;
}
.miniInfo {
  font-size: 13px;
  font-weight: 600;
}
.box-sm {
  height: 62px;
  padding: 7px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 5px;
  box-shadow: 4px 4px 20px 2px rgba(100,100,100,0.1);
  margin-bottom: 20px;
}
.box-md {
  height: 120px;
  padding:5px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 5px;
  box-shadow: 4px 4px 20px 2px rgba(100,100,100,0.1);
  margin-bottom: 20px;
  overflow-y: auto;
}
.box-lg {
  height: 300px;
  padding:5px;
  border: 1px solid #999;
  border-radius: 5px;
  box-shadow: 4px 4px 20px 2px rgba(100,100,100,0.1);
  margin-bottom: 20px;
  overflow-y: auto;
}
.commentForm {
  padding: 5px;
  border: 1px solid #FFC107;
  border-radius: 5px;
  box-shadow: 4px 4px 20px 2px rgba(100,100,100,0.1);
}
  .commentForm table * {
    word-break: normal;
  }
  .commentForm table tbody * {
    font-size: 11px;
  }
  .commentForm h4 {
    font-weight: bold;
    font-size: 1em;
  }
  .commentForm p {
    margin-bottom: 4px;
  }
  .commentForm .panel-heading {
    font-size: 0.8em;
    font-weight: bold;
    color: green;
  }
  .commentForm button.btn-problem {
    border: 1px solid rgba(0, 0, 0, 0.3);
    color: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    background-color: white;
    font-weight: 800;
    font-size: 12px;
    padding: 3px 4px;
    box-shadow: none;
    margin-left: 3px;
  }

  .commentForm button.btn-problem[data-problem="1"] {
    border-color: rgba(255,28,55,0.4);
    color: rgba(255,28,55,0.4);
  }
  .noteslist .panel-heading {
    padding: 5px;
    cursor: pointer;
    border: 1px solid rgba(200,200,200,0.5);
    margin-top: 1px;
  }
  .noteslist .panel-heading:hover {
    background-color: rgba(200,200,200,0.1) !important;
  }
  .noteslist .panel-body {
    border: 1px solid rgba(200,200,200,0.5);
    color: black;
    font-size: 10pt;
  }
  .noteslist .comment {
    font-size: 12px;
    margin-top: 10px;
  }
  .bluetext {
    font-weight: 600;
    color: #337ab7e0 !important;
  }
  .graytext {
    color: gray;
  }

#precautions, #comments {
  margin: 0;
  height: 118px;
  padding: 3px;
  overflow-y: auto;
  margin-bottom: 20px;
}
#precautions span, #comments span{
  font-size: 0.8em;
}









.small {
  color: rgb(200,200,200);
}

/* notice.php */
.noticebox {
  margin: 30px 0;
}
.noticebox .col-md-1 {
  padding: 0;
}
.contents textarea {
  border: 2px solid rgba(100,100,100,0.1);
  border-radius: 8px 25px 25px;
  box-shadow: 1px 1px 8px 1px rgba(100,100,100,0.1);
  margin-top: 5px;
  transition: 1s;
  font-weight: bolder;
}
.colorchip {
  display: inline-flex;
  vertical-align: middle;
  margin-left: 30px;
}
.colorchip *{
  width: 0px;
  height: 18px;
  border: 3px solid rgba(230,230,230,0.6);
  border-radius: 10px;
  margin-right: 5px;
  transition: 0.6s;
}
.colorchip-chat {
  display: inline-flex;
  vertical-align: middle;
  margin-bottom: 10px;
}
.colorchip-chat *{
  width: 0px;
  height: 18px;
  border: 3px solid rgba(230,230,230,0.6);
  border-radius: 10px;
  margin-right: 5px;
  transition: 0.6s;
}
#chatInput input {
  border: 2px solid rgba(100,100,100,0.1);
  border-radius: 8px 25px 25px;
  box-shadow: 1px 1px 8px 1px rgba(100,100,100,0.1);
  margin-top: 5px;
  transition: 1s;
  font-weight: bolder;
  padding-top: 20px;
  padding-bottom: 20px;
}


.white {
  background-color: white;
}

.red {
  background-color: rgba(255, 12, 57, 0.3);
}
.colorchip .red:focus {
  background-color: rgba(255, 12, 57, 0.9);
}
.yellow {
  background-color: rgba(252, 201, 35, 0.3);
}
.colorchip .yellow:focus {
  background-color: rgba(252, 201, 35, 0.9);
}
.green {
  background-color: rgba(173, 237, 78, 0.3);
}
.colorchip .green:focus {
  background-color: rgba(173, 237, 78, 0.9);
}
.blue {
  background-color: rgba(43, 189, 242, 0.3);
}
.colorchip .blue:focus {
  background-color: rgba(43, 189, 242, 0.9);
}
.black {
  background-color: rgba(71, 71, 71, 0.3);
}
.colorchip .black:focus{
  background-color: rgba(71, 71, 71, 0.9);
}
#pencilbtn {
  font-size: 14pt;
  color: gray !important;
  cursor: pointer;
  /* margin-right: 30px; */
  position: absolute;
  transform: translate(-130%, 50%);
  z-index: 1;
}

/* noticelist.php */
.notice-wraper {
  max-height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
}
.noticelist h3 {
  font-weight: bold;
  font-size: 14pt;
  margin: 0;
}
.noticelist p {
  font-weight: 600;
  font-size: 9pt;
  color: gray;
}
.nicknamebox{
  display: inline-flex !important;
  padding: 3px 10px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-weight: 600;
  color: rgba(0,100,255,0.4);
  font-size: 1em;
}
.noticelist .contents {
  display: inline-flex;
  height: auto;
  margin: 0 7px;
  margin-bottom: 13px;
  padding: 8px 15px;
  font-weight: 600;
  border: 2px solid rgba(100,100,100,0.1);
  border-radius: 6px 15px 15px;
  box-shadow: 1px 1px 2px 1px rgba(100,100,100,0.1);
  cursor: pointer;
}
.noticelist .chat-time {
  display: inline-flex;
}

.noticelist .contents.mine {
  float: right;

  border-radius: 15px 6px 15px 15px;
}
.noticelist .chat-time.mine {
  float: right;
  margin-top: 11px;
}

.noticelist .chatcon {
  font-weight: 600;
  color: rgb(150,150,150);
}
.noticelist .contents:hover {
  opacity: 0.5;
  transition: 0.3s;
}
.nopadding {
  padding: 0;
}
.link-to-diet {
  cursor: pointer;
}
#chatlist {
  margin-top: 30px;
  border-top: 1px solid lightgray;
  padding-top: 30px;
  max-height: 500px;
  overflow-y: auto;
}
#chatInput {
  margin-top: 30px;
}



.checkable {
  cursor: pointer;
  color: gray;
}

/* paymentinfo */
/* 현금 */
red {
  color: red;
}

/* 카드 */
green {
  color: green;
}
/* 포인트 */
blue {
  color: blue;
}

/* managerinfo */
#search-option input[type="date"] {
  font-weight: bold;
  font-size: 12px;
}
#search-option .form-inline {
  margin: 5px 0;
}

#restoreIcon {
  color: rgb(100,100,100);
  opacity: 0.1;
  cursor: pointer;
  transition: 0.5s;
}
#restoreIcon:hover {
  opacity: 0.5;
  transform: rotate(-90deg);
  transition: 0.5s;
}
#changeManagerBtn {
  font-size: 20px;
  color: rgba(0,0,0,0.1);
  padding-top: 5px;
  padding-bottom: 5px;
  cursor: pointer;
  transition: 0.5s;
}
#changeManagerBtn:hover {
  color: rgba(0,0,0,0.6);
  transform: rotate(-180deg);
  transition: 0.5s;
}
#customerinfotable .updatable-input input{
  width: 100%;
}
#customerinfotable tbody {
  font-size: 12px;
}
