/**
 * Copyright (C) GOYOURLIFE INC. - All Rights Reserved.
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 * Proprietary and confidential.
 * Written by Doris Wang <doris.wang@goyourlife.com>, July 2020.
 * 
 * @author Doris Wang <doris.wang@goyourlife.com>
 * @link http://www.goyourlife.com
 * @copyright Copyright &copy; 2020 GOYOURLIFE INC.
 */
 
.tab {
  display: none;
}

label {
  width: 111px;
  height: 21px;
}

.link-top {
  width: 100%;
  height: 1px;
  opacity: 1;
  background-color: #6e6e6e;
}
.add {
  background-color: #1db3aa !important;
}
input {
  border-radius: 5px;
  border-width: 1px;
  height: 31px;
  border: 1px solid #c2c2c2;
}
textarea {
  border-radius: 5px;
  border-width: 1px;
  border: 1px solid #c2c2c2;
}

input:focus {
  outline: none;
}

#addDataForm input:read-only {
  border: none;
  background-color: white;
}

input.success {
  border-color: #1db3aa;
  border-width: 2px;
}

input.invalid {
  border-color: #e12e4b;
  border-width: 2px;
}

.step_button_edit {
  /* width: 92px; */
  /* height: 32px; */
  border-radius: 3px;
  border: #ffffff;
  opacity: 1;
  color: white;
  font-size: 12px;

  padding: 6px 23px;
  background-size: 13px;
  background-position: 5px;
  background-repeat: no-repeat;
}

#add_step_edit_button {
  background-color: #1db3aa;
}

#edit_step_edit_button {
  background-color: #feb600;
}

#cancel_step_edit_button {
  background-color: #999999;
}

#confirm_step_edit_button {
  background-color: #cc3433;
}

#mail_button {
  /* width: 118px; */
  background-color: #feb600;
}

.step_button {
  /* background: #cc3433 0% 0% no-repeat padding-box; */
  width: 198px;
  height: 46px;
  border-radius: 5px;
  opacity: 1;
  background-color: #cc3433;
  color: #ffffff;
  border: none;
  /* padding: 10px 20px; 
    padding: 28px 18px 13px;
*/
  font-size: 17px;
  cursor: pointer;
}

.station_button {
  font-size: 16px;
  width: 99px;
  height: 39px;
  border-radius: 5px;
  background-color: #cc3433;
  color: #ffffff;
  cursor: pointer;
  border: none;
}

#previewBtn {
  background-color: #999999;
}

.step_button:hover {
  opacity: 0.8;
}

#prevBtn {
  background-color: #999999;
}

/* Make circles that indicate the steps of the form: */
.stepwizard {
  display: table;
  text-align: center;
  width: 696px;
  left: 96px;
  position: relative;
}

#step_row {
  margin-top: 40px;
  display: table-row;
}

.step_single {
  text-align: center;
  display: table-cell;
  position: relative;
}

.step {
  vertical-align: middle;
  /* padding: 7px 0; */
  width: 40px;
  height: 40px;
  font-size: 18px;
  line-height: 1.428571429;
  border-radius: 50%;
  background-color: #2f406b;
  text-align: center;
  /* opacity: 0.5; */
  display: table-cell;
  /* position: relative; */
  border: none;
  color: #ffffff;
  font-weight: 900;
}

.step-last {
  width: 40px;
  height: 40px;

  vertical-align: middle;
  /* padding: 7px 0; */

  font-size: 18px;
  line-height: 1.428571429;
  border-radius: 50%;
  background-color: #2f406b;
  text-align: center;
  /* opacity: 0.5; */
  display: table-cell;
  /* position: relative; */
  border: none;
  color: #ffffff;
  font-weight: 900;
}

.step_text {
  font-size: 14px;
  text-align: left;
  margin: -3px;
  margin-top: 5px;
  color: #2f406b;
  font-weight: 900;
}

.step_text.active {
  color: #e12e4b;
}

.step_text.finish {
  color: #e12e4b;
}

.step::after {
  top: 18px;
  bottom: 0;
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  background-color: #2f406b;
}

.step.active::after {
  top: 18px;
  bottom: 0;
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  background-color: #de374b;
}

.step.finish::after {
  top: 18px;
  bottom: 0;
  position: absolute;
  content: '';
  width: 100%;
  height: 4px;
  background-color: #de374b;
}

.step.active {
  /* background-color: #2f406b; */
  background-color: #e12e4b;
  opacity: 1;
}

/* Mark the steps that are finished and valid: */
.step-last.finish {
  background-color: #e12e4b;
}

.step-last.active {
  background-color: #e12e4b;
}

.step.finish {
  background-color: #e12e4b;
}

.ui-dialog > .ui-widget-header {
  background: #20356a;
  border: none;
  margin: 0px;
  color: white;
}
.ui-dialog .ui-dialog-content {
  position: relative;
  border: 0;
  padding: 0em 0em !important;
  background: none;
  overflow: auto;
  background-color: white;
}
.ui-dialog {
  padding: 0px !important;
}
.ui-dialog .ui-dialog-titlebar {
  padding: 0.8em 1em !important;
  position: relative;
}
.ui-widget-content {
  border: none !important;
}

.stationtable {
  width: 99.8%;
  table-layout: fixed;
  border-spacing: 0px;
  border-collapse: collapse;
}
.stationtable tbody {
  cursor: pointer;
  font-size: 14px;
}
.stationtable td {
  height: 56px;
  text-align: center;
  /* border: 1px solid #EEE; */
}
.stationtable thead tr th,
.stationtable thead tr td {
  position: sticky;
  top: 0px;
  background-color: #3f4a68;
  text-decoration: none;
  font-family: 'Noto Sans TC', sans-serif;
  letter-spacing: 0.5;
  color: white;
  line-height: 14px;
}
.stationtable tr:nth-child(odd) {
  background-color: #eeeeee;
}
.stationtable tr:hover {
  background-color: #f4af00 !important;
}
.stopNameFocus {
  background-color: #f4af00 !important;
}
.addDialogTeach {
  text-align: center;
  position: absolute;
  top: 85%;
  /* width: 30%; */
  color: white;
  z-index: 1;
  left: 50%;
  transform: translate(-50%, -50%);
}
.teachTextDisplay {
  padding: 10px 30px 10px 30px;
  border-radius: 4px;
  background-color: black;
  opacity: 0.7;
}
.dialogText {
  border-bottom: #121d39 2px solid;
  margin-bottom: 20px;
  font-size: 18px;
  font-weight: 800;
  width: 80%;
}
