html {
  height:100%;
  -ms-overflow-style: -ms-autohiding-scrollbar;
}
body {
  min-height:100%;
  margin:0;
  padding:0;
  position:relative;
  padding-top: 70px; /* navbar fix to top 預留空間 */
}
@media (min-width: 768px) {
  body {
    padding-top: 90px; /* navbar fix to top 預留空間 */
  }
}
main {
  padding-top: 10px;
  padding-bottom:100px;
  }
footer.footer {
  position:absolute;
  bottom:0;
  width:100%;
  height:80px;
  background-color: #1eaeaf;
}
address {
  margin: 0;
}

/* input form */
input:focus {
  box-shadow:none;
  -webkit-box-shadow: none;
  outline:none;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  box-shadow:0 0 0 50px white inset;
  -webkit-text-fill-color: #777;
}
table>tbody>tr>td>span>input,
table>tbody>tr>td>p>input,
table>tbody>tr>td>div>input {
  border: 1px solid #ddd;
  line-height: 20px;
  padding: 2px 5px;
  height: 26px;
}

.form-control {
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
.form-control:focus {
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.input-group-addon:not(:first-child):not(:last-child){
  border-left: 0;
  border-right: 0;
}

/* input form placeholder */
.form-control::-webkit-input-placeholder { /* Chrome */
  color: #999;
  transition: opacity 250ms ease-in-out;
}
.form-control:focus::-webkit-input-placeholder {
  opacity: 0.5;
}
.form-control:-ms-input-placeholder { /* IE 10+ */
  color: #999;
  transition: opacity 250ms ease-in-out;
}
.form-control:focus:-ms-input-placeholder {
  opacity: 0.5;
}
.form-control::-moz-placeholder { /* Firefox 19+ */
  color: #999;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
.form-control:focus::-moz-placeholder {
  opacity: 0.5;
}
.form-control:-moz-placeholder { /* Firefox 4 - 18 */
  color: #999;
  opacity: 1;
  transition: opacity 250ms ease-in-out;
}
.form-control:focus:-moz-placeholder {
  opacity: 0.5;
}

/* search */
.input-search > .form-control {
  border-left: 0;
}
.input-search > .form-control:focus {
  border-color: #ccc;
}
.input-search > .input-group-addon{
  background-color: #fff;
  padding-right: 0;
}
/* search dropdown */
ul.list-search > li >a {
  display: block;
  padding: 3px 20px;
  clear: both;
  font-weight: normal;
  line-height: 1.42857143;
  color: #404040;
  white-space: nowrap;
}
@media (max-width: 767px) {
  ul.list-search > li >a {
    padding: 10px 20px;
    border-bottom: 1px solid #eee;
  }
}
.list-search {
  position: absolute;
  top: 34px;
  left: 0;
  z-index: 1000;
  width: 100%;
  min-width: 160px;
  padding: 5px 0;
  margin: 0;
  list-style: none;
  font-size: 14px;
  text-align: left;
  background-color: #fff;
  border: 0;
  border-radius: 0 0 4px 4px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  -webkit-background-clip: padding-box;
          background-clip: padding-box;
}

/* navbar */

/* 隱藏navbar效果
.navbar {
  -webkit-transition: top 0.5s ease-in-out;
  transition: top 0.5s ease-in-out;
}
.nav-up {top: -420px;}
 */

.navbar-default {
  font-size: 16px;
  letter-spacing: 2px;
  border: 0;
  border-radius: 0;
  width: 100%;
  border-bottom: 2px solid #1eaeaf;
}
.navbar-default .navbar-text,
.navbar-default .navbar-nav > li > a {
  color: #1eaeaf;
  background: transparent;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus {
  color: #178383;
  background: transparent;
}
.navbar-nav > li {
  text-align: center;
  line-height:44px;
}
.navbar-nav > li > a {
  padding: 12px 20px;
}
.navbar-brand {
  letter-spacing: 0px;
  font-size: 20px;
  padding: 15px;
  line-height: 20px;
  height: 50px;
}
.navbar-collapse {
  border: 0;
  -webkit-box-shadow: none;
          box-shadow: none;
}
@media (min-width: 768px) {
  .navbar-nav > li {
    height: 70px;
    text-align: center;
    line-height:70px;
  } 
  .navbar-nav > li > button {
    margin: 0 15px 0 10px;
  }
  .navbar-nav > li > a {
    padding: 25px 10px;
  }
  .navbar-brand {
    padding: 25px 15px;
    height: 70px;
  }
}
@media (min-width: 992px) {
  .navbar-nav > li > button {
    margin: 0 15px;
  }
  .navbar-nav > li > a {
    padding: 25px 15px;
  }
}

/* navbar toggle */
.navbar-toggle {
  margin: 9px 10px 9px 0;
  border: none;
  background: transparent !important;
}
.navbar-toggle:hover {
  background: transparent !important;
}
.navbar-toggle .icon-bar {
  width: 22px;
  transition: all 0.2s;
}
.navbar-toggle .top-bar {
  transform: rotate(45deg);
  transform-origin: 10% 10%;
}
.navbar-toggle .middle-bar {
  opacity: 0;
}
.navbar-toggle .bottom-bar {
  transform: rotate(-45deg);
  transform-origin: 10% 90%;
}
.navbar-toggle.collapsed .top-bar {
  transform: rotate(0);
}
.navbar-toggle.collapsed .middle-bar {
  opacity: 1;
}
.navbar-toggle.collapsed .bottom-bar {
  transform: rotate(0);
}

/* navbar dropdown */
.navbar-nav .open .dropdown-menu {
  border: 2px solid #1eaeaf;
  border-top: 0;
  box-shadow: none;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  font-size: 15px;
  letter-spacing: 1px;
}
@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background-color: transparent;
    border: 0;
    box-shadow: none;
  }
  .navbar-default .navbar-nav > li > a {
    text-align: center;
  }
  .navbar-default .navbar-nav .open .dropdown-menu > li > a {
    padding: 5px;
    margin: auto 20px;
    text-align: center;
  }
 }

 .li-currentuser {
  display: block;
  padding: 3px 15px 8px;
  font-size: 14px;
  line-height: 1.42857143;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .li-currentuser {
    padding: 5px 15px 10px;
  }
}
.li-currentuser > p {
  border-radius: 12px;
  padding: 2px 8px;
  margin: 0 auto;
  background-color: #1eaeaf;
  color: #fff;
  display: table;
}

/* button */
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: 0;
  outline-offset: 0;
}
.btn:active,
.btn.active {
  outline: 0;
  background-image: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}
.btn-group.open .dropdown-toggle {
  -webkit-box-shadow: none;
  box-shadow: none;
}

/* button icon */
.btn-default >i.icon {
  font-size: 18px;
  vertical-align: top;
  line-height: 20px;
}

/* button usericon */
.btn-usericon {
  color: #fff;
  background-color: #1eaeaf;
  border-color: #1eaeaf;
  padding: 0;
  width: 36px;
  height: 36px;
  overflow: hidden;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%; 
}
.btn-usericon:focus,
.btn-usericon.focus,
.btn-usericon:hover {
  color: #fff;
  background-color: #178383;
  border-color: #178383;
}
.btn-usericon:active,
.btn-usericon.active,
.open > .dropdown-toggle.btn-usericon {
  color: #1eaeaf;
  background-color: #eee;
  border-color: #eee;
}
.btn-usericon:active:hover,
.btn-usericon.active:hover,
.open > .dropdown-toggle.btn-usericon:hover,
.btn-usericon:active:focus,
.btn-usericon.active:focus,
.open > .dropdown-toggle.btn-usericon:focus,
.btn-usericon:active.focus,
.btn-usericon.active.focus,
.open > .dropdown-toggle.btn-usericon.focus {
  color: #1eaeaf;
  background-color: #ddd;
  border-color: #ddd;
}
.btn-usericon:active,
.btn-usericon.active,
.open > .dropdown-toggle.btn-usericon {
  background-image: none;
}
.btn-usericon.disabled:hover,
.btn-usericon[disabled]:hover,
fieldset[disabled] .btn-usericon:hover,
.btn-usericon.disabled:focus,
.btn-usericon[disabled]:focus,
fieldset[disabled] .btn-usericon:focus,
.btn-usericon.disabled.focus,
.btn-usericon[disabled].focus,
fieldset[disabled] .btn-usericon.focus {
  background-color: transparent;
  color: #fff;  
}
.btn-usericon .badge {
  color: #fff;
  background-color: #333;
}
.btn-usericon >div.icon {
  font-size: 28px;
  line-height: 10px;
  vertical-align: bottom;
  margin: 0 3px;
}
.btn-usericon >div.glyphicon {
  position: static;
}

/* select */
.select_white {
  width: 100%;
  height: 34px;
  overflow: hidden;
  background-color:transparent;
  border: 1px solid #ccc;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  float:left;
}
.select_white select {
  background: #fff;
  width: 100%;
  color:#666;
  border: 0;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  height: 100%;
  /* -webkit-appearance: none; */
}
.select_white select:hover,
.select_white select:focus {
  outline: none;
  background-color: #fff;
  color: #333;
}
/* bootstrap select */
.btn-group.bootstrap-select > .btn {
  border-right: 0;
}

/* table */
.table>thead>tr>th {
  font-size: 10px;
  text-transform: uppercase;
  color: #9a9a9a;
  font-weight: normal;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  vertical-align: middle;
}
.table-hover > tbody > tr:hover {
  cursor: pointer;
}
.text-normal > .table > thead > tr > th,
.text-normal > .table > tbody > tr > th,
.text-normal > .table > tfoot > tr > th,
.text-normal > .table > thead > tr > td,
.text-normal > .table > tbody > tr > td,
.text-normal > .table > tfoot > tr > td {
  white-space: normal;
}
.modal-body > .table,
.modal-body > .table-responsive > .table {
  margin: 0;
}
@media screen and (max-width: 767px) {
  .table-responsive {
    border: 0;
    margin: 0;
  }
}

/* table responsive border */
.table-r-border {
  padding: 10px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin-bottom: 30px;
}
.table-r-border > .table,
.table-r-border > .table-responsive > .table {
  margin: 0;
}

/* session */
.session-title {
  background-color: transparent;
  border-color: transparent;
}
.session-title > input {
  color: rgba(0,0,0,.7);
  background-color: transparent;
  font-size: 24px;
  border: 0;
}
.session-title > hr {
  margin: 9px 0;
  border-color: #1eaeaf;
}
.session-title > p {
  font-size: 13px;
  color: #1eaeaf;
  text-align: center;
  margin: 0;
}
.session-list {
  background-color: #fff;
  border: 1px solid #1eaeaf;
  border-left-width: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 0;
  margin: 0 auto 20px;
  padding: 10px 0;
}
.session-list:hover {
  background-color: rgba(30,174,175,.05);
  cursor: pointer;
}
h4.session-color {
  color: #1eaeaf;
}

/* dropdown */
/*
div.dropdown > ul.dropdown-menu > label {
  margin: 0;
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid #eee;
  font-size: 10px; 
  text-transform: uppercase; 
  color: #9a9a9a;
  font-weight: normal;
}
*/

/* grid view */
.grid-view {
  border-radius: 5px;
  border: 1px solid #ccc;
  background-color: #fff;
  margin-bottom: 30px;
  padding-bottom: 10px;
}
.grid-view:hover {
  -webkit-transition:box-shadow 0.2s ease;
  -moz-transition:box-shadow 0.2s ease;
  -ms-transition:box-shadow 0.2s ease;
  -o-transition:box-shadow 0.2s ease;
  transition:box-shadow 0.2s ease;
  -webkit-box-shadow:rgba(0,0,0,.2) 0px 12px 20px 0px;
  -moz-box-shadow:rgba(0,0,0,.2) 0px 12px 20px 0px;
  box-shadow:rgba(0,0,0,.2) 0px 12px 20px 0px;
}
/*
div.form {
        height: 100%;
        float: left;
      }
p.title {
  font-size: 10px;
  text-transform: uppercase;
  color: #9a9a9a;
  font-weight: normal;
  margin-bottom: 0px;
}
p.text {
  overflow: auto;
  font-size: 12px;
}
span.category {
  color: #999;
  font-size: 12px;
}
.img-fabric {
  height: 200px;
  width: 270px;
  background: url('../img/no-image.svg') no-repeat center center;
  background-size: 100% auto;
}
*/

/* chart */
h4.list-title {
  text-transform:capitalize;
}
.ct-chart {
  margin: 35px auto;
  max-height: 310px;
  text-align: center;
}
.ct-label {
  fill: #fff !important;
  color: #fff !important;
  font-size: 12px !important;
}
.chart-table {
  padding: 0 15px;
  max-height: 210px;
  overflow: auto;
}
@media (min-width: 768px) {
  .chart-table {
    padding: 0 15px;
    max-height: 400px;
    overflow: auto;
  }
}
.chart-table > table {
  margin: 0;
}

.outer-wrapper {
  display: flex;
  flex-direction: row;
}
.ct-outer {
  margin: 0 auto;
  max-width: 360px;
  max-height: 310px;
  display: flex;
  flex-direction: column;
}
.ct-body {
  flex: 1 1 auto;
  overflow: auto;
}
/* 清除浮動產生空間 */
@media (max-width: 991px) {
  .col-sm-12-nofloat {
    float: none !important;
  }
}

/* panel */
.panel > textarea.form-control,
.panel > a.form-control {
  border: 0;
  border-radius: 0;
}
.panel > a.form-control {
  border-bottom-right-radius: 4px;
  border-bottom-left-radius: 4px;
}

/* panel list */
.panel-list {
  border-color: #c8f0f1;
}
.panel-list > .panel-heading {
  color: #1eaeaf;
  background-color: #dff5f3;
  border-color: #c8f0f1;
}
.panel-list > .panel-heading + .panel-collapse > .panel-body {
  border-top-color: #c8f0f1;
}
.panel-list > .panel-heading .badge {
  color: #dff5f3;
  background-color: #1eaeaf;
}
.panel-list > .panel-footer + .panel-collapse > .panel-body {
  border-bottom-color: #c8f0f1
}





