body{background-color: #eaeaea; font-size: 14px !important; font-family: Arial, 'Microsoft JhengHei', 'Heiti TC', '新細明體' !important; padding: 0 !important;}
.noscroll{position: fixed; overflow-y: scroll; width: 100%;}
#wrapper {margin-top: 30px;}
#wrapper.False {margin-top: 10px;}
#page-wrapper {padding: 5px;}
.input-num-right{text-align: right !important;}
.panel-body{padding: 5px !important;}
.spinner {
  margin: 10px auto;
  width: 20px;
  height: 20px;
  position: relative;
}
.help-block{margin: 0 !important;}
.label-disabled{
  border: 1px solid #C7C7C7;
  border-radius: 3px;
  background-color: #E7E7E7;
  color: #676767;
}

label.control-label{margin-right: 3px !important;}
.division {width: 2%;}
.division-1 {width: 10.9%; min-width: 2%;}
.form-horizontal .control-label{
    font-weight: 400 !important;
    font-size: 11px !important;
    margin-right: 5px;
}
.input-sm{
    height: 25px !important;
    padding: 0 3px !important;
}
.label-right{text-align: right !important;}
select.input-sm{
    height: 25px !important;
    padding-top: 3px;
    padding-left: 1px;
}
.btn-sm{
    height: 25px !important;
    padding-top: 4px !important;
}
label{
    margin-bottom: 0 !important;
    font-weight: 500 !important;
    font-size: 12px !important;
    padding-right: 0 !important;
    padding-top: 4px !important;
    padding-left: 5px !important;
}
.input-group-addon{
    font-size: 11px !important;
}
.form-group{
    margin-bottom: 3px !important;
}
.form-horizontal .label-left{text-align: left; margin-right: 0px;}
.col-xs-2{padding: 0 !important;}

label.label-1{width: 2% !important;}     
label.label-2{width: 3% !important;}      
label.label-3{width: 4% !important;}      
label.label-4{width: 6% !important;}
label.label-5{width: 7% !important;}
label.label-6{width: 8% !important;}
label.label-7{width: 9% !important;}
label.label-9{width: 12% !important;}
label.label-10{width: 13% !important;}

.push-1  {width: 1%;}
.push-2  {width: 2%;}
.push-3  {width: 3%; min-width: 2%;}
.push-4  {width: 4%; min-width: 2%;}
.push-5  {width: 5%; min-width: 2%;}
.push-6  {width: 6%; min-width: 2%;}
.push-7  {width: 7%; min-width: 2%;}
.push-8  {width: 8%; min-width: 2%;}
.push-9  {width: 9%; min-width: 2%;}
.push-10 {width: 10%; min-width: 2%;}
.push-11 {width: 11%; min-width: 2%;}
.push-12 {width: 13%; min-width: 2%;}
.push-13 {width: 14%; min-width: 2%;}
.push-14 {width: 15%; min-width: 2%;}
.push-15 {width: 16%; min-width: 2%;}
.push-16 {width: 16%; min-width: 2%;}
.push-17 {width: 17%; min-width: 2%;}
.push-18 {width: 18%; min-width: 2%;}
.push-19 {width: 19%; min-width: 2%;}
.push-20 {width: 20%; min-width: 2%;}
.push-21 {width: 21%; min-width: 2%;}
.push-22 {width: 22%; min-width: 2%;}
.push-23 {width: 23%; min-width: 2%;}



.input-1{padding: 0; width: 4%}   
.input-2{padding: 0; width: 4%}   
.input-group-2{ width: 6% !important;}
.input-3{padding: 0; width: 6.8%;}
.input-4{padding: 0; width: 10%;}
.input-5{padding: 0; width: 16.8%;}
.input-6{padding: 0; width: 37.2%;}
.input-7{padding: 0; width: 43.9%;}
.input-11{padding: 0; width: 93%;}
.input-1-1{padding: 0; width: 13%}
.input-1-2{padding: 0; width: 20%}
.input-1-3{padding: 0; width: 33.8%}
.navbar-nav > li > a {padding-top:5px !important; padding-bottom:5px !important;}
.navbar {
	min-height:20px !important;

}

::-webkit-input-placeholder { /* WebKit browsers */
    color:    #BEBEBE !important;
    font-weight: 700 !important;
}
:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
   color:    #BEBEBE !important;
    font-weight: 700 !important;
   opacity:  1;
}
::-moz-placeholder { /* Mozilla Firefox 19+ */
   color:    #BEBEBE !important;
    font-weight: 700 !important;
   opacity:  1;
}
:-ms-input-placeholder { /* Internet Explorer 10+ */
   color:    #BEBEBE !important;
   font-weight: 700 !important;
}

.container1 > div, .container2 > div, .container3 > div {
  width: 6px;
  height: 6px;
  background-color: #333;

  border-radius: 100%;
  position: absolute;
  -webkit-animation: bouncedelay 1.2s infinite ease-in-out;
  animation: bouncedelay 1.2s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.spinner .spinner-container {
  position: absolute;
  width: 100%;
  height: 100%;
}

.container2 {
  -webkit-transform: rotateZ(45deg);
  transform: rotateZ(45deg);
}

.container3 {
  -webkit-transform: rotateZ(90deg);
  transform: rotateZ(90deg);
}

.circle1 { top: 0; left: 0; }
.circle2 { top: 0; right: 0; }
.circle3 { right: 0; bottom: 0; }
.circle4 { left: 0; bottom: 0; }

.container2 .circle1 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.container3 .circle1 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.container1 .circle2 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.container2 .circle2 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

.container3 .circle2 {
  -webkit-animation-delay: -0.7s;
  animation-delay: -0.7s;
}

.container1 .circle3 {
  -webkit-animation-delay: -0.6s;
  animation-delay: -0.6s;
}

.container2 .circle3 {
  -webkit-animation-delay: -0.5s;
  animation-delay: -0.5s;
}

.container3 .circle3 {
  -webkit-animation-delay: -0.4s;
  animation-delay: -0.4s;
}

.container1 .circle4 {
  -webkit-animation-delay: -0.3s;
  animation-delay: -0.3s;
}

.container2 .circle4 {
  -webkit-animation-delay: -0.2s;
  animation-delay: -0.2s;
}

.container3 .circle4 {
  -webkit-animation-delay: -0.1s;
  animation-delay: -0.1s;
}

@-webkit-keyframes bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0.0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes bouncedelay {
  0%, 80%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 40% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.control-group.warning input {
    color: #555;
    border-color: rgba(255, 0, 0, 0.8);
}


.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    background-color: rgba(0,0,0,0.5); /*dim the background*/
                
}
.spinner {
  margin: 20% auto;
  width: 40px;
  height: 40px;
  position: relative;
  text-align: center;
  -webkit-animation: rotate 2.0s infinite linear;
  animation: rotate 2.0s infinite linear;
}

.dot1, .dot2 {
  width: 60%;
  height: 60%;
  display: inline-block;
  position: absolute;
  top: 0;
  background-color: #fff;
  border-radius: 100%;
  
  -webkit-animation: bounce 2.0s infinite ease-in-out;
  animation: bounce 2.0s infinite ease-in-out;
}

.dot2 {
  top: auto;
  bottom: 0px;
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

@-webkit-keyframes rotate { 100% { -webkit-transform: rotate(360deg) }}
@keyframes rotate { 100% { transform: rotate(360deg); -webkit-transform: rotate(360deg) }}

@-webkit-keyframes bounce {
  0%, 100% { -webkit-transform: scale(0.0) }
  50% { -webkit-transform: scale(1.0) }
}

@keyframes bounce {
  0%, 100% { 
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 50% { 
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
  }
}

.nav > li > button { padding: 5px 5px !important;}

p.tooltips {
  position: relative;
  display: inline;
}
p.tooltips span {
  position: absolute;
  width:140px;
  color: #FFFFFF;
  background: #000000;
  height: 30px;
  line-height: 30px;
  text-align: center;
  /*visibility: hidden;*/
  border-radius: 6px;
}
p.tooltips span:after {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -8px;
  width: 0; height: 0;
  border-bottom: 8px solid #000000;
  border-right: 8px solid transparent;
  border-left: 8px solid transparent;
}
.warning p.tooltips span {
  visibility: visible;
  width: 200px;
  opacity: 0.8;
  top: 10px;
  left: 50%;
  z-index: 999999;
}
.warning p.tooltips span
{
    background: #d43f3a;
}
.warning p.tooltips span:after
{
    border-bottom: 8px solid #d43f3a;
}

.error p.tooltips span {
  visibility: visible;
  width: 200px;
  opacity: 0.8;
  top: 10px;
  left: 50%;
  z-index: 999999;
}
.error p.tooltips span
{
    background: #d43f3a;
}
.error p.tooltips span:after
{
    border-bottom: 8px solid #d43f3a;
}

select::-ms-expand {
  width:12px;
  border:none;
  background:#fff;
}

.ui-jqgrid input{font-size: 16px !important;}
.ui-pg-input{font-size: 12px !important;}

input::-ms-clear{
    display:none;
    width:0; 
    height:0;
}

label.required{color: red;}

.myDropDown {
    /* Size and position */
    position: relative;
    width: 215px;
    height: 30px;
    padding: 5px 23px 5px 23px;

    /* Styles */
    background: #fff;
    border: 1px solid silver;
    cursor: pointer;
    outline: none;
    color: #666;
}

.myDropDown:after {
    content: "";
    width: 0;
    height: 0;
    position: absolute;
    right: 10px;
    top: 50%;
    margin-top: -3px;
    border-width: 6px 6px 0 6px;
    border-style: solid;
    border-color: #ffaa9f transparent;
}

.myDropDown .myDropDownMenu {
    /* Size & position */
    position: absolute;
    top: 100%;
    margin-top: 1px;
    left: -1px;
    right: -1px;
    padding: 0px;
    /* Styles */
    background: white;
    border: inherit;
    border-top: none;
    list-style: none;
    -webkit-transition: all 0.1s ease-out;
    -moz-transition: all 0.1s ease-out;
    -ms-transition: all 0.1s ease-out;
    -o-transition: all 0.1s ease-out;
    transition: all 0.1s ease-out;
    height: 200px;
    overflow-y: scroll;
    /* Hiding */
    opacity: 0;
    pointer-events: none;
}

/* Red lines: the pseudo-elements way */
.myDropDown .myDropDownMenu li:before,
.myDropDown:before {
    content: "";
    width: 4px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 15px;
    /* border: 1px solid #ffaa9f; */
    border-top: none;
    border-bottom: none;
    z-index: 2;
}

.myDropDown .myDropDownMenu li {
    position: relative; /* Enable absolute positioning for checkboxes */
}

.myDropDown .myDropDownMenu li label {
    display: block;
    padding-left: 23px !important;
    border-bottom: 1px dotted #1ccfcf;
    color: #666;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.myDropDown .myDropDownMenu li:last-of-type label {
    border: none;
}

.myDropDown .myDropDownMenu li input /* Checkboxes */ {
    position: absolute;
    display: block;
    right: 10px;
    top: 50%;
    margin-top: -8px;
}

/* Hover state */

.myDropDown .myDropDownMenu li:hover label {
    cursor: pointer;
    background: #f0f0f0;
}

/* Checked state */

.myDropDown .myDropDownMenu li input:checked ~ label {
    font-weight: 700 !important;
}

/* Active state */

.myDropDown.active:after {
    border-width: 0 6px 6px 6px;
}

.myDropDown.active .myDropDownMenu {
    opacity: 1;
    pointer-events: auto;
}

/* No CSS3 support */

.no-opacity       .myDropDown .dropdown,
.no-pointerevents .myDropDown .dropdown {
    display: none;
    opacity: 1; /* If opacity support but no pointer-events support */
    pointer-events: auto; /* If pointer-events support but no pointer-events support */
}

.no-opacity       .myDropDown.active .dropdown,
.no-pointerevents .myDropDown.active .dropdown {
    display: block;
}


.row{margin-left: 0 !important; margin-right: 0 !important;}
.col-xs-12{padding-left: 0px; padding-right: 0px;}
.ui-datepicker-year{color:#000; font-size: 12px;}

.box1{
  display: inline-block;
  width: 99%;
  margin: 3px;
}

.box2{
  display: inline-block;
  width: 49%;
  margin: 3px;
}

.status-box{
  display: inline-block;
  height: 30px;
  width: auto;
  background-color: #fff;
  border: 1px solid #CCC;
  padding-top: 5px;
  padding-left: 5px;
  padding-right: 5px;
  cursor: pointer;
  margin-right: 3px;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.status-box.active{
  background-color: #31b0d5;
  color: #fff;
}

.status-box:hover{ background-color: #F1F1F1;}
.status-box.active:hover{
  background-color: #31b0d5;
  color: #fff;
}

.status-box p{
  text-align: center;
  font-size: 12px;
  margin-bottom: 2px;
}

.SearchStatus{
  overflow: hidden;
  background-color: #F3F3F3;
}

.SearchStatus > .panel-body{
  white-space:nowrap;
  overflow-x:scroll;
}

.panel-body::-webkit-scrollbar {
    width: 7px;
    height: 7px;
}
 
.panel-body::-webkit-scrollbar-track {
  background-color: #fff;
}
 
.panel-body::-webkit-scrollbar-thumb {
  background-color: darkgrey;
  outline: 1px solid slategrey;
}

.panel-body{
  scrollbar-base-color: #C0C0C0;
  scrollbar-3dlight-color: #C0C0C0;
  scrollbar-highlight-color: #fff;
  scrollbar-track-color: #fff;
  scrollbar-arrow-color: #FFF;
  scrollbar-shadow-color: #fff;
  scrollbar-dark-shadow-color: #fff;
}

.list-inline{
  margin-bottom: 5px;
}

.tracking-box{
  display: inline-block;
  height: 47px;
  width: 123px;
  background-color: #fff;
  border: 1px solid #CCC;
  border-radius:10%;
  padding-top: 12px;
  margin-right: 3px;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.tracking-link{
  display: inline-block;
  height: 23px;
  display: inline-block;
  width: 60px;
  border-top: 2px dashed #ccc;
  margin-right: 5px;
}

.tracking-box span{font-size: 12px;}
.tracking-box.success{background-color: #5cb85c; color: #fff;}
.tracking-box.danger{background-color: #d9534f; color: #fff;};

.btn-file-b {
    position: relative;
    overflow: hidden;
}
.btn-file-b 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;
}

.btn-stBtn {
  color: #333;
  background-color: #fff;
  border-color: #ccc;
}
.btn-stBtn:hover,
.btn-stBtn:focus,
.btn-stBtn.focus,
.btn-stBtn:active,
.btn-stBtn.active,
.open > .dropdown-toggle.btn-stBtn {
  color: #333;
  background-color: #e6e6e6;
  border-color: #adadad;
}
.btn-stBtn:active,
.btn-stBtn.active,
.open > .dropdown-toggle.btn-stBtn {
  background-image: none;
}
.btn-stBtn.disabled,
.btn-stBtn[disabled],
fieldset[disabled] .btn-stBtn,
.btn-stBtn.disabled:hover,
.btn-stBtn[disabled]:hover,
fieldset[disabled] .btn-stBtn:hover,
.btn-stBtn.disabled:focus,
.btn-stBtn[disabled]:focus,
fieldset[disabled] .btn-stBtn:focus,
.btn-stBtn.disabled.focus,
.btn-stBtn[disabled].focus,
fieldset[disabled] .btn-stBtn.focus,
.btn-stBtn.disabled:active,
.btn-stBtn[disabled]:active,
fieldset[disabled] .btn-stBtn:active,
.btn-stBtn.disabled.active,
.btn-stBtn[disabled].active,
fieldset[disabled] .btn-stBtn.active {
  background-color: #fff;
  border-color: #ccc;
}
.btn-stBtn .badge {
  color: #fff;
  background-color: #333;
}
.searchOpenClose{
    width: 100px; 
    height: 20px; 
    background-color: rgba(0, 0, 0, 0.5); 
    color: #fff; 
    cursor: pointer;
    position:fixed;
    top:0;
    right:7px;
    padding: 0px 5px;
    border-radius: 5px 5px 5px 5px;
    -moz-border-radius: 5px 5px 5px 5px;
    -webkit-border-radius: 5px 5px 5px 5px;
    border: 0px solid #000000;
    z-index: 999999;
}

.tree {
    min-height: 20px;
    padding: 5px 5px;
    margin-bottom: 20px;
    background-color: #fbfbfb;
    border: 1px solid #999;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05)
}

    .tree li {
        list-style-type: none;
        margin: 0;
        padding: 5px 5px 0 5px;
        position: relative
    }

        .tree li::before, .tree li::after {
            content: '';
            left: -20px;
            position: absolute;
            right: auto
        }

        .tree li::before {
            border-left: 1px solid #999;
            bottom: 50px;
            height: 100%;
            top: 0;
            width: 1px
        }

        .tree li::after {
            border-top: 1px solid #999;
            height: 20px;
            top: 25px;
            width: 25px
        }

        .tree li span {
            -moz-border-radius: 5px;
            -webkit-border-radius: 5px;
            border: 1px solid #999;
            border-radius: 5px;
            display: inline-block;
            padding: 3px 8px;
            text-decoration: none
        }

        .tree li.parent_li > span {
            cursor: pointer
        }

    .tree > ul > li::before, .tree > ul > li::after {
        border: 0
    }

    .tree li:last-child::before {
        height: 30px
    }

    .tree li.parent_li > span:hover, .tree li.parent_li > span:hover + ul li span {
        background: #eee;
        border: 1px solid #94a0b4;
        color: #000
    }