/*****************************************************************************
 *
 * Copyright 2018 Wenzen Workshop.
 * Last Edit: 2018.08.29.
 *
 ****************************************************************************/

@import url('https://fonts.googleapis.com/earlyaccess/notosanstc.css');

* {
  box-sizing: border-box; 
}

html, body {
  padding: 0;
  margin: 0;
  height: 100%;
  width: 100%;
  font-family: 'Noto Sans TC', sans-serif;
  font-weight: 300;
  background: rgb(235, 240, 240);
  color: rgb(85, 90, 105);
}

.header {
  position: fixed;
  width: 100%;
  height: 56px;  /* 56px 並無可靠計算 */
  background: rgb(255, 255, 255);
  border-bottom: 1px solid rgb(230, 230, 230);
  color: rgb(0, 220, 220);
  text-align: center;
  z-index: 1000; 
}

.header-back {
  position: absolute;
  display: table;
  margin-top: 16px;
  color: #0A81FF;
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  z-index: 1;
}

.header_title {
  margin: 0;
  padding-top: 16px;
  font-weight: 500;
  font-size: 18px;
  letter-spacing: 0.5px;
}

.overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1200;
}

.notice {
  position: fixed;
  top: calc((100vh - 180px) / 2);
  left: calc((100vw - 320px) / 2);
  width: 320px;
  height: 180px;
  border: 1px solid rgb(230, 230, 230);
  border-radius: 3px;
  background-color: rgb(255, 255, 255);
  z-index: 1500;
}

.noticeText {
  position: fixed;
  top: calc((100vh - 24px) / 2);
  left: calc((100vw - 320px) / 2);
  width: 320px;
  height: 24px;
  text-align: center;
  font-weight: 500;
  z-index: 1600;
}

.noticeCancel, .noticeSuccess {
  position: relative;
  float: right;
  margin-top: 140px;
  margin-right: 30px;
  font-size: 14px;
  font-weight: 400;
  color: rgb(65, 140, 255);
  cursor: pointer;
  z-index: 1600;
}

.main, .showData {
  position: relative;
  padding-top: 56px;
  padding-bottom: 108px;
  width: 100vw;
  left: 0vw;
}

.list {
  margin: 12px 4vw;
  height: 50px;
  border: 1px solid rgb(230, 230, 230);
  border-radius: 30px;
  box-shadow: 0px 4px 4px rgba(230, 230, 230, 0.6);
  font-weight: 400;
  letter-spacing: 0.5px;
  background: rgb(255, 255, 255);
}

.list:hover {
  border: 1px solid rgb(200, 200, 200);
  box-shadow: 0px 4px 4px rgba(200, 200, 200, 0.6);
}

.text {
  float: left;
  height: 24px;
  margin-left: 20px;
  margin-top: 13px;
  font-size: 16px;
  cursor: pointer;
}

.main .text {
  width: calc(90vw - 60px);
}

.showData .text {
  width: calc(90vw - 165.11px);
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.showData .text::-webkit-scrollbar {
  width: 0px;
  height: 3px;
  background: rgb(255, 255, 255);
}

.showData .text::-webkit-scrollbar-thumb {
  background-color: rgb(65, 140, 255);
}

.action {
  float: right;
  height: 20px;
  width: 20px;
  margin-top: 15px;
  cursor: pointer;
}

.delete {
  margin-right: 20px;
  background: url("../img/delete.svg");
  background-size: cover;
}

.other {
  margin-right: 20px;
  border: 2px solid rgb(255, 255, 255);
  background: url("../img/other.svg");
  background-size: cover;
}

.done {
  margin-right: 5px;
  border: 2px solid rgb(200, 200, 200);
  border-radius: 200px;
}

.time {
  float: right;
  height: 20px;
  margin-right: 10px;
  margin-top: 15px;
  font-size: 14px;
  color: rgb(180, 180, 180);
}

.nodata {
  position: fixed;
  top: calc((100vh - 72px) / 2);
  width: 100vw;
  text-align: center;
  font-size: 24px;
  font-weight: 500;
  color: rgb(180, 180, 180);
}

#add, #back {
  position: fixed;
  bottom: 58px;  /* 58px 並無可靠計算 */
  right: 4vw;
  width: 50px;
  height: 50px;
  border-radius: 200px;
  box-shadow: 0px 4px 4px rgba(200, 200, 200, 0.6);
  cursor: pointer;
}

#add {
  background: url("../img/add.svg");
  background-size: cover;
}

#back {
  background: url("../img/back.svg");
  background-size: cover;
}

#add:hover, #back:hover {
  box-shadow: none;
}

.otherAction {
  position: fixed;
  bottom: -12px;
  left: 10vw;
  width: 80vw;
  height: 50px;
  border-radius: 10px;
  border: 1px solid rgb(230, 230, 230);
  background: rgb(255, 255, 255);
  z-index: 1500;
}

.Del, .Modify {
  height: 27px;
  width: 70px;
  margin: 11.5px calc((40vw - 70px - 1px) / 2);
  cursor: pointer;
}

.Del {
  float: left;
}

.Modify {
  float: right;
}

.DelIcon, .ModifyIcon {
  float: left;
  border: 5px solid rgb(255, 255, 255);
  border-radius: 200px;
  height: 27px;
  width: 27px;
}

.DelIcon {
  background: url("../img/delete.svg");
  background-size: cover;
}

.ModifyIcon {
  background: url("../img/modify.svg");
  background-size: cover;
}

.DelText, .ModifyText {
  float: right;
  font-size: 18px;
}

.addData {
  position: relative;
  padding-top: 76px;  /* 76px 並無可靠計算 */
  padding-bottom: 46px;
  width: 100%;
  left: 100vw;
}

.addData input {
  margin: 10px 5vw;
  padding: 0px 10px;
  width: 90vw;
  height: 40px;
  font-family: 'Noto Sans TC', sans-serif;
  font-size: 16px;
  border-style: none;
  outline: none;
}

.addData input:hover {
  border-width: 1px;
  border-style: none none solid none;
  border-color: rgb(65, 140, 255);
}

.addData .tags {
  margin: 0px 5vw 20px;
  font-size: 16px;
  background: rgb(255, 255, 255);
}

.addData .tags li {
  padding: 5px 0;
  cursor: pointer;
}

.addData .tags .tags1 {
  color: rgb(255, 0, 0);
}

.addData .tags .tags2 {
  color: rgb(255, 165, 0);
}

.addData .tags .tags3 {
  color: rgb(65, 140, 255);
}

.addData .tags .tags4 {
  color: rgb(0, 255, 0);
}

.addData .tags .tags5 {
  color: rgb(200, 115, 35);
}

.addData .tags .tags6 {
  color: rgb(0, 220, 220);
}

.addData .tags .tags7 {
  color: rgb(85, 0, 255);
}

.addData .tags span {
  color: rgb(85, 90, 105);
}

.addData .selectTime {
  margin: 10px 5vw;
  padding: 10px;
  width: 90vw;
  height: 174px;
  text-align: center;
  background: rgb(255, 255, 255);
}

.selectHour, .selectMin, .selectAm_pm {
  float: left;
}

.selectHour div, .selectMin div {
  margin: 7px calc((30vw - 20px / 3 - 25.69px) / 2);
  font-size: 24px;
}

.selectAm_pm div {
  margin: 7px calc((30vw - 20px / 3 - 48px) / 2);
  font-size: 24px;
}

#hourAdd, #hourSubtract, #minAdd, #minSubtract, #am_pmAdd, #am_pmSubtract {
  cursor: pointer;
}

.addData .selectDate {
  margin: 20px 5vw 10px;
  width: 90vw;
  background: rgb(255, 255, 255);
}

.addData .selectDate .title {
  padding: 50px 25px;
  height: 149px;
  text-align: center;
  background: rgb(65, 140, 255);
}

.addData .selectDate .title ul {
  margin: 0;
  padding: 0;
  color: rgb(255, 255, 255);
  letter-spacing: 3px;
  list-style-type: none;
}

.addData .selectDate .title #prev {
  float: left;
  padding: 12.5px 0px;
  cursor: pointer;
}

.addData .selectDate .title #next {
  float: right;
  padding: 12.5px 0px;
  cursor: pointer;
}

.addData .selectDate .title #calendar-month {
  font-size: 20px;
}

.addData .selectDate .title #calendar-year {
  font-size: 14px;
}

.addData .selectDate .body .week {
  margin: 0;
  padding: 8px 0px;
  height: 40px;
  background-color: rgb(220, 220, 220);
}

.addData .selectDate .body .week li {
  float: left;
  width: calc(90vw / 7);
  color: rgb(100, 100, 100);
  text-align: center;
  list-style-type: none;
}

.addData .selectDate .body .calendar-day {
  margin: 0;
  padding: 10px 0px 0px;  /* 10px 並無可靠計算 */
}

.addData .selectDate .body .calendar-day li {
  display: inline-block;
  margin-bottom: 10px;  /* 10px 並無可靠計算 */
  width: calc(90vw / 7);
  font-size: 14px;
  font-weight: 400;
  text-align: center;
  list-style-type: none;
}

.addData .selectDate .body .calendar-day .dayPrev {
  color: rgb(200, 200, 200);
  cursor: pointer;
}

.addData .selectDate .body .calendar-day .dayNext {
  color: rgb(120, 120, 120);
  cursor: pointer;
}

.addData .selectDate .body .calendar-day .dayNow {
  color: rgb(255, 255, 255);
  background: rgb(65, 140, 255);
  cursor: pointer;
}

.addData .addDataAction {
  margin: 40px auto;
  width: 240px;
  height: 70px;
}

.addData .addDataAction .cancel {
  float: left;
  cursor: pointer;
}

.addData .addDataAction .cancelIcon {
  width: 50px;
  height: 50px;
  box-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
  border-radius: 200px;
  background: url("../img/cancel.svg");
  background-size: cover;
}

.addData .addDataAction .cancelIcon:hover {
  box-shadow: none;
}

.addData .addDataAction .cancelText {
  padding-top: 2px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: rgb(255, 0, 0);
}

.addData .addDataAction .success {
  float: right;
  cursor: pointer;
}

.addData .addDataAction .successIcon {
  width: 50px;
  height: 50px;
  box-shadow: 0px 1.5px 1.5px rgba(0, 0, 0, 0.5);
  border-radius: 200px;
  background: url("../img/success.svg");
  background-size: cover;
}

.addData .addDataAction .successIcon:hover {
  box-shadow: none;
}

.addData .addDataAction .successText {
  padding-top: 2px;
  font-size: 12px;
  font-weight: 400;
  text-align: center;
  color: rgb(10, 210, 0);
}