#tab-demo {
  /*width: 350px;*/
  /*height: 200px;*/
}

#tab-demo>ul {
  display: block;
  margin: 0;
  list-style: none;
}

.tab-title {
  list-style: none;
}

#tab-demo>ul>li {
  display: inline-block;
  vertical-align: top;
  font-family: '微軟正黑體';
  margin: 0 -1px -1px 0;
  border: 1px solid #BCBCBC;
  height: 25px;
  line-height: 25px;
  background: #dbe7d1;
  padding: 0 15px;
  list-style: none;
  box-sizing: border-box;
}

#tab-demo>ul>li a {
  color: #000;
  text-decoration: none;
}

#tab-demo>ul>li.active {
  border-bottom: 1px solid #fff;
  background: #cdf0a6;
}

#tab-demo>.tab-inner {
  clear: both;
  color: #000;
  border: 1px #BCBCBC solid;
  border-radius: 10px;
}

.tab-inner {
  padding: 15px;
  /*height: 50px;*/
}


/*switch    turn on---turn off  */
 /* The switch - the box around the slider */
 .switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 21px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.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: 17px;
  width: 17px;
  left: 1px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

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

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

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

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

/* 上傳圖片預覽*/
/*
* Color palette tools
*©2018/1/25 KUI-HAO, LIU Wittens
*
*/
.preview {
  background:#888888;
  width:33%;
  height:auto;
  text-align:center;
}
.preview img{
  height:100%;
  order:1;
  vertical-align : middle;
}