/*validate*/
input.error { border: 1px solid red; }
label.error, label.error, .help-block {
  color: #BB0A19;
}
.fileUpload {
    position: relative;
    overflow: hidden;
    margin: 7px;
}
.fileUpload input.upload {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    filter: alpha(opacity=0);
}
#uploadFile{
    border-radius: 0;
    /*box-shadow: none;*/
    width: 50%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #d2d6de;

}
.index-body{
   min-height:500px;
}
.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

/* Tabs panel */
.tabbable-panel {
  border:1px solid #eee;
  padding: 10px;
}

/* Default mode */
.tabbable-line > .nav-tabs {
  border: none;
  margin: 0px;
}
.tabbable-line > .nav-tabs > li {
  margin-right: 2px;
}
.tabbable-line > .nav-tabs > li > a {
  border: 0;
  margin-right: 0;
  color: #737373;
}
.tabbable-line > .nav-tabs > li > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open, .tabbable-line > .nav-tabs > li:hover {
  border-bottom: 4px solid #fbcdcf;
}
.tabbable-line > .nav-tabs > li.open > a, .tabbable-line > .nav-tabs > li:hover > a {
  border: 0;
  background: none !important;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.open > a > i, .tabbable-line > .nav-tabs > li:hover > a > i {
  color: #a6a6a6;
}
.tabbable-line > .nav-tabs > li.open .dropdown-menu, .tabbable-line > .nav-tabs > li:hover .dropdown-menu {
  margin-top: 0px;
}
.tabbable-line > .nav-tabs > li.active {
  border-bottom: 4px solid #f3565d;
  position: relative;
}
.tabbable-line > .nav-tabs > li.active > a {
  border: 0;
  color: #333333;
}
.tabbable-line > .nav-tabs > li.active > a > i {
  color: #404040;
}
.tabbable-line > .tab-content {
  margin-top: -3px;
  background-color: #fff;
  border: 0;
  border-top: 1px solid #eee;
  padding: 15px 0;
}
.portlet .tabbable-line > .tab-content {
  padding-bottom: 0;
}

/* Below tabs mode */

.tabbable-line.tabs-below > .nav-tabs > li {
  border-top: 4px solid transparent;
}
.tabbable-line.tabs-below > .nav-tabs > li > a {
  margin-top: 0;
}
.tabbable-line.tabs-below > .nav-tabs > li:hover {
  border-bottom: 0;
  border-top: 4px solid #fbcdcf;
}
.tabbable-line.tabs-below > .nav-tabs > li.active {
  margin-bottom: -2px;
  border-bottom: 0;
  border-top: 4px solid #f3565d;
}
.tabbable-line.tabs-below > .tab-content {
  margin-top: -10px;
  border-top: 0;
  border-bottom: 1px solid #eee;
  padding-bottom: 15px;
}

/* 人員選擇區域 */
  .select2-container {
      width: 100% !important;
      height: 40px;
      line-height: 40px;
      padding: 0;
  }
  .select2-container--default .select2-selection--single {
      height: 40px;
      line-height: 40px;
  }
  .select2-container--default .select2-selection--single .select2-selection__rendered {
      height: 36px;
      line-height: 36px;
  }
  .select2-container--default .select2-selection--single .select2-selection__arrow {
      height: 36px;
      line-height: 36px;
  }
  #group {
      height: 40px;
      line-height: 40px;
  }
  .select2-container--default .select2-search--dropdown .select2-search__field {
      height: 28px;
      line-height: 28px;
  }
  /* /人員選擇區域 */
  .number-input {
      width:100px !important;
  }

/* rwd table */
@media screen and (max-width: 600px) {
    .rwdtable {
        border: 0;
    }
                            
    .rwdtable caption {
            font-size: 1.3em;
        }
            
    .rwdtable thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }
                            
    .rwdtable tr {
            /*background-color: lightgrey;*/
            border: 3px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }
                            
    .rwdtable td {
            border: none;
            color: #000;
            /* border-bottom: 1px solid #ddd; */
            display: block;
            font-size: .8em;
            text-align: center;
        }
                                
    .rwdtable td:before {
                color: black;
                content: attr(data-label);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }
                                
    .rwdtable td:last-child {
                border-bottom: 0;
            }
}

/* rwd table2 */
.rwd-ol {
  width: 90%;
}
.rwd-ol *{
  padding: 0;
  margin: 0;
  list-style: none;
  box-sizing: border-box;
}
.rwd-ol ul{
  width: 95%;
  display: block;
  margin: 1em auto;
  border-collapse: collapse;
}
.rwd-ol .thead{display: table-header-group;}
.rwd-ol .tr{display: table-row;}
.rwd-ol .tbody{display: table-row-group;}
.rwd-ol .thead li,.rwd-ol .tr li{
  display: table-cell;
  padding: 5px;
  border: 1px solid #aaa;
}
.rwd-ol .thead li{
  text-align: center;
  font-weight: bold;
  background: #e6f9ff;
}
.rwd-ol ol:nth-child(even){
  background: rgba(#6cffd1,.2);
}

@media only screen and (max-width:768px){
  .rwd-ol .thead{
    display: none;
  }
  .rwd-ol .tr{
    display: block;
    border: #ddd 1px solid;
    margin-bottom: 5px;
  }
  .rwd-ol .tr li{
    display: inline-block;
    width: 100%;
    border: none;
  }
  .rwd-ol .tr li:before{
    content: attr(data-title);
    display: inline-block;
    width: auto;
    min-width: 20%;
    font-weight: 900;
    padding-right: 1rem;
  }
}
