@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Poppins:wght@700&family=Roboto:wght@700&display=swap");
#menu-1 {
  margin: 0;
  padding: 5px 0;
}

#top_header {
  display: flex;
  width: 100%;
  position: fixed;
  z-index: 98;
  background: #fff;
}
#top_header .center {
  max-width: 1240px;
  margin: auto;
  display: flex;
  width: 100%;
  justify-content: center;
}
#top_header .site-branding {
  display: flex;
  align-items: center;
  justify-content: center;
}
#top_header .site-branding img {
  display: block;
  max-height: 50px;
  width: auto;
}
#top_header #site-navigation {
  width: 84%;
  list-style-type: none;
  text-align: right;
  transform: translate(0, 0);
  transition: 0.3s;
}
#top_header #site-navigation li.menu-item-has-children {
  position: relative;
}
#top_header #site-navigation li.menu-item-has-children a:hover + ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0px);
}
#top_header #site-navigation li.menu-item-has-children .sub-menu:hover {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0px);
}
#top_header #site-navigation li.menu-item-has-children .sub-menu:hover .sub-menu {
  transform: translate(100%, 0);
}
#top_header #site-navigation li.menu-item-has-children .sub-menu {
  visibility: hidden;
  opacity: 0;
  top: 100%;
  left: 0;
  position: absolute;
  text-align: left;
  -webkit-box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 10px -2px rgba(0, 0, 0, 0.1);
  padding-left: 0;
  margin-left: 0px;
  -webkit-transition: 0.2s 0s;
  -o-transition: 0.2s 0s;
  transition: 0.2s 0s;
  background: rgba(255, 255, 255, 0.94);
  transform: translate(0, 10px);
}
#top_header #site-navigation li.menu-item-has-children .sub-menu li a {
  height: auto;
}
#top_header #site-navigation li.menu-item-has-children .sub-menu .sub-menu {
  top: 0;
  transform: translate(100%, 10px);
}
#top_header #site-navigation li {
  display: inline-block;
}
#top_header #site-navigation li > a {
  padding: 10px 20px;
  font-size: 16px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  color: var(--meun_color);
}
#top_header button.menu-toggle {
  display: none;
}

#site-navigation {
  z-index: 90;
}

#top_header.mb_open #site-navigation {
  transform: translate(0, 0);
}

@media (max-width: 768px) {
  #menu_toggle {
    display: block;
  }
  .menu-toggle {
    width: 30px;
    position: relative;
    background: none;
    border: 0px;
    width: 20px;
    height: 18px;
    padding: 0;
    transition: 0.3s;
  }
  .menu-toggle:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #333;
  }
  .menu-toggle:after {
    bottom: 0;
    left: 0;
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background: #333;
  }
  .menu-toggle .sep {
    background: none;
    width: 100%;
    height: 2px;
    background: #333;
  }
  #top_header button.menu-toggle {
    display: block;
    right: 0px;
    position: absolute;
    top: 15px;
    z-index: 100;
  }
  #top_header {
    box-sizing: border-box;
  }
  #top_header #site-navigation {
    transform: translate(100%, 0);
    position: fixed;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
  }
  #top_header #site-navigation ul {
    padding: 0;
    margin: 0;
  }
  #top_header #site-navigation ul li {
    display: block;
  }
  #top_header {
    height: 50px;
    padding: 0 15px;
  }
  #top_header .center {
    position: relative;
    margin: 0;
  }
  #top_header #site-navigation {
    background: #eee;
    padding-top: 80px;
  }
  #top_header .center {
    justify-content: flex-start;
  }
  #top_header .site-branding img {
    max-height: 35px;
  }
  .site-header.mb_open .menu-toggle {
    transform: rotate(45deg);
  }
  .site-header.mb_open .menu-toggle::before {
    transform: rotate(90deg) translate(8px, 0px);
  }
  .site-header.mb_open .menu-toggle::after {
    opacity: 0;
  }
}
body {
  margin: 0;
  font-family: "Noto Sans TC", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

a {
  text-decoration: none;
}

#page_tpl {
  min-height: 80vh;
  padding: 15px;
  box-sizing: border-box;
}

#page_footer {
  background: #333;
  padding-top: 8px;
  padding-bottom: 8px;
}
#page_footer .inner_box {
  text-align: center;
  font-size: 12px;
  color: #fff;
}

body {
  background: #F9FAFC;
}

.error_msg {
  max-width: 350px;
  margin: 30px auto;
  background: #fbd0d0;
  padding: 0px 20px;
  display: flex;
  align-items: center;
  border-radius: 10px;
  color: #000;
}
.error_msg .lt {
  padding: 5px 0;
  line-height: 1.5;
}

#app_layer1 {
  min-height: calc(100vh - 80px);
  padding: 100px 15px 15px;
  background: #345169;
  color: #fff;
}
#app_layer1 #place_slk {
  max-width: 350px;
  margin: 10% auto 0;
  padding: 15px 25px 20px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 7.7982px 17.3293px rgba(0, 157, 181, 0.07);
}
#app_layer1 h4 {
  font-weight: 500;
  letter-spacing: 1px;
  color: #000;
}
#app_layer1 select {
  font-size: 16px;
  color: #333;
}
#app_layer1 select:focus {
  border-color: #999;
}
#app_layer1 button {
  background: #009db5;
  border: 1px solid #009db5;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
  font-weight: 400;
}
#app_layer1 button:hover {
  background: #028da2;
}

.form-select {
  outline: none;
  --ct-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
  display: block;
  width: 100%;
  padding: 0.5rem 2.31rem 0.5rem 0.77rem;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ct-body-color);
  appearance: none;
  background-color: var(--ct-secondary-bg);
  background-image: var(--ct-form-select-bg-img), var(--ct-form-select-bg-icon, none);
  background-repeat: no-repeat;
  background-position: right 0.77rem center;
  background-size: 14px 10px;
  border: #ced4da 1px solid;
  border-radius: 0.3rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  margin-bottom: 1.5rem;
}

#place_data {
  max-width: 1400px;
  margin: 0px auto;
}

#tanks_app .inner {
  display: flex;
  
  justify-content: center;
  gap: 15px;
}
#tanks_app .inner .tank_unit {
  /* width: calc(33.333% - 10px); */
  max-width: 350px;;
  padding: 10px 10px 20px;
  box-sizing: border-box;
  text-align: center;
  margin-bottom: 30px;
  width: 100%;;
}
#tanks_app .inner .tank_unit .tank {
  background-image: url(/wp-content/uploads/2025/02/tank_blue_0.png);
  background-size: cover;
  background-position: center;
}
#tanks_app .inner .tank_unit .tank.dark {
  background-image: url(/wp-content/uploads/2025/02/tank_gray_0.png);
}
#tanks_app .inner .tank_unit img {
  width: 100%;
  opacity: 0;
}
#tanks_app .inner .pump {
  margin-bottom: 15px;
  display: flex;
  justify-content: center;
  width: 100%;
}
#tanks_app .inner .pump .unit {
  background-image: url(/wp-content/uploads/2025/02/motor_gray_0.png);
  background-size: 90% auto;
  background-position: center;
  background-repeat: no-repeat;
  width: 33.333%;
}
#tanks_app .inner .pump .unit.red {
  background-image: url(/wp-content/uploads/2025/02/motor_red_0.png);
}
#tanks_app .inner .pump .unit.blue {
  background-image: url(/wp-content/uploads/2025/02/motor_blue_0.png);
}
#tanks_app .inner .pump .unit img {
  opacity: 0;
  display: block;
  max-width: 80px;
}
#tanks_app .inner .info {
  text-align: center;
  margin-bottom: 15px;
  position: relative;
}
#tanks_app .inner .info:before {
  position: absolute;
  width: 100%;
  left: 0;
  top: 0;
}
#tanks_app .inner .action {
  display: block;
  background: #009db5;
  border: 1px solid #009db5;
  color: #fff;
  padding: 6px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
  font-weight: 400;
}
#tanks_app .inner .action:hover {
  background: #028da2;
}

.status_enable .info {
  color: #39efee;
}

.status_disable .info {
  color: #e81313;
}

.status_none .info {
  color: transparent;
}
.status_none .info:before {
  color: #c5c4c4;
  text-align: center;
  content: "未連線";
}


.status_none  .pump,
.status_none .action.button{
  display: none ! important;
}


#tanks_app .inner .tank_unit.status_none .tank {
  filter: grayscale(1);
}



@media (max-width: 600px) {
  #tanks_app .inner .tank_unit {
    width: calc(33% - 0px);
  }
}
#login_form {
  max-width: 350px;
  margin: 3% auto 20px;
  padding: 15px 25px 20px;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0px 7.7982px 17.3293px rgba(0, 157, 181, 0.07);
  color: #333;
}
#login_form form label {
  display: block;
}
#login_form form .fbox {
  margin-bottom: 15px;
}
#login_form form .fbox label {
  font-size: 0.8125rem;
  line-height: 1.125rem;
  margin-bottom: 3px;
}
#login_form form .fbox input {
  display: block;
  width: calc(100% - 50px);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  outline: none;
  font-weight: 500;
  font-size: 15px;
  line-height: 1;
  background-color: #fcfcfc;
  border-radius: 0.375rem;
  height: 2.5rem;
  padding-inline-start: 0.75rem;
  padding-inline-end: 0.75rem;
  border: 1px solid #dbdfe9;
  color: #4b5675;
}
#login_form form button {
  background: #009db5;
  border: 1px solid #009db5;
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
  font-weight: 400;
}
#login_form form button:hover {
  background: #028da2;
}

#tower_app {
  max-width: 400px;
  margin: auto;
  text-align: center;
  padding-bottom: 50px;
}
#tower_app .back_top {
  text-align: left;
}
#tower_app .back_top a {
  color: #009db5;
  border: 1px solid #009db5;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
}
#tower_app .info {
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}
#tower_app .info .num {
  padding: 0 0px 0 15px;
  color: #009db5;
  font-weight: bold;
  font-size: 25px;
}
#tower_app .pump {
  display: flex;
  justify-content: center;
  padding: 30px 15px 10px;
  max-width: 220px;
  margin-left: auto;
  margin-right: auto;
}
#tower_app .pump .unit {
  width: 33.33%;
}
#tower_app .pump img {
  max-width: 60px;
}
#tower_app .action {
  padding: 20px 15px;
}
#tower_app .action #ex_enable {
  margin: 0 15px;
  max-width: 130px;
  color: #fff;
  border: 1px solid #009db5;
  background:#009db5;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  letter-spacing: 1px;
  font-weight: 400;
  display: block;
  text-decoration: none;
  margin: auto auto 20px;  
  opacity: 0.6;
}


#tower_app .action #ex_enable.on{
  opacity: 1;
  filter: grayscale(0%);
}
#tower_app .action #ex_enable.off{
  filter: grayscale(100%);
}

#tower_app .action #ex_enable:hover{
  opacity: 1;
}





#tower_app .action #ex_disable{
  margin: 0 auto;
  max-width: 130px;
  color: #fff;
  border:1px solid #da3939;
  background: #da3939;
  color: #fff;
  opacity: 0.6;
  padding: 5px 12px;
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
  font-weight: 400;
  display: block;
  width: 100%;;
}

#tower_app .action #ex_disable.on{
  opacity: 1;
}

#tower_app .action #ex_disable.off{
  filter: grayscale(100%);
}

#tower_app .action #ex_disable:hover{
  background: #da3939;
  filter: grayscale(0%);
  color: #fff;
  opacity: 1;
}


#tower_app .action #ex_autoplay{
  border:1px solid #12b500;
  color: #12b500;
}

#tower_app .action #ex_autoplay:hover{
  background: #12b500;
  color: #fff;
}




#tower_app .action .btn:hover {
  background: #028da2;
  color: #fff;
}

#tower_app .pump .unit.red {
  background-image: url(/wp-content/uploads/2025/02/motor_red_0.png);
}
#tower_app .pump .unit.blue {
  background-image: url(/wp-content/uploads/2025/02/motor_blue_0.png);
}

.sv_tll{
  margin: 0;
  text-align: center;
  font-size: 24px;
  letter-spacing: 3px;
  font-weight: 400;
}

@media (max-width: 668px) {



  #tanks_app .inner{
    gap: 0px;
  }
  #tanks_app .inner .tank_unit{
    padding: 10px 5px 20px;
  }
  #tanks_app .inner .pump .unit{
    width: 33.333%;
  }
  #tanks_app .inner .action{
    padding: 6px 6px;
    display: inline-block;
  }
  #place_data{
    margin:0px auto 20px;
  }
  #tanks_app .inner .tank_unit{
    padding: 10px 5px 0px;
  }

  #tanks_app .inner .tank_unit .tank{
    background-size: auto 100%;;
    background-repeat: no-repeat;
  }
  #tanks_app .inner .info{
    margin-bottom: 0;;
  }
  #tanks_app .inner .tank_unit img{
    max-width: 50px;
  }
  #app_layer1{
    padding: 80px 15px 15px;
  }
}

@media (max-width: 450px) {
  #tanks_app .inner {
    display: flex;
    flex-wrap: wrap;
  }
}


#other_setting{
  background: #333;
  padding: 8px 15px 15px;
  display: inline-block;
  margin-left: 10px;
  border-radius: 10px;
  box-shadow: 0 0 2px #f4f4f4;
  min-width: 280px;
}


.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #3bc035;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.ib{
  display: flex;
  align-items: center;padding-top:10px;
}
.ib input{ font-size:18px;margin-right:10px;}
.sout{
  
}

#other_setting .ibx{ 
  display: flex; 
  align-items: center;
}
#other_setting .sout{
  margin-left:10px;
}

#time_setting{
  color:#009db5;
}
#time_setting:hover{
  color:#17e0ff;
}

.timeb input,
.timeb select{
  height:34px;
  box-sizing: border-box;
}
.timeb .sep{ 
  margin-right:10px;
  height:34px;
}

#time_setting_content{
  display: flex;
  align-items: center;
}
#time_setting{
  display: block;
  margin-bottom: 8px;;
}

#time_setting{
  position: relative;
}
#time_setting svg{
  position: relative;
  left: 10px;
  top: 1px;
}
#time_setting svg{
  transform: rotate(180deg);
}
.hide #time_setting svg{
  transform: rotate(0deg);
}
.hide #time_setting_content{
  display: none;
}

/*# sourceMappingURL=style.css.map */


