.side-sticky{
    position:sticky;
    position:-webkit-sticky;
    top:0px;
}

.autocomplete {
  position: relative;
  display: inline-block;
  width: 100%
}
.autocomplete-items {
  position: absolute;
  border: 1px solid #d4d4d4;
  border-bottom: none;
  border-top: none;
  z-index: 99;
  /*position the autocomplete items to be the same width as the container:*/
  top: 100%;
  left: 0;
  right: 0;
}
.autocomplete-items div {
  padding: 10px;
  cursor: pointer;
  background-color: #fff;
  border-bottom: 1px solid #d4d4d4;
}
.autocomplete-items div:hover {
  /*when hovering an item:*/
  background-color: #e9e9e9;
}
.autocomplete-active {
  /*when navigating through the items using the arrow keys:*/
  background-color: #4285f4 !important;
  color: #ffffff;
}
.grayscale{
    filter: grayscale(100%);
}
.shadow-ci{
    box-shadow: 2px 3px 6px rgba(96, 96, 96, 0.4) ;
}
.shadow-primary{
    box-shadow: 2px 3px 6px rgba(96, 96, 96, 0.4) ;
}
.shadow-success{
    box-shadow: 2px 3px 6px rgba(96, 96, 96, 0.4) ;
}
.shadow-danger{
    box-shadow: 2px 3px 6px rgba(96, 96, 96, 0.4) ;
}
.shadow-default{
    box-shadow: 2px 3px 6px #ccc;
}


*{font-family: sans-serif,'Noto Sans TC','Microsoft JhengHei';}
html, body {
    min-height: 100% !important;
    height: 100%;
}
body, table, p, div{
  font-size:16px;
}

@media (max-width: 1000px) {
    .container, ul {
      font-size:12px;
    }

body, table, p, div{
  font-size:14px;
}


#mytitle{
    margin-top: 40px;
    margin-left: -10px;
    font-size: 16px;
}
}

body, table, p, div, h1, h2, h3, h4, h5, h6{
  color:#222;
}

.object-fit-contain {
  width: 100%;
  height: 100%;
  object-fit: contain; /*magic*/
}

.navbar-default, #page-wrapper{
  border:0px;
}
.fa-blank{
    visibility:hidden !important;
}

a, a:hover{
  color:#4285f4;
  cursor:pointer;
  text-decoration:none;
}
a:visited{
  //color:#8d3af8;
}

a.text, span.text {
  color:#222;
}
.text-bold{
    font-weight: 900;
}
.text-unbold{
    font-weight: 400;
}
.text-larger {
  font-size: 125%;
}
.smaller {
  font-size: 70%;
}
.text-link{
    color:#4285f4;
}
.text-ci{
    color:#ff8d1a;
}
.text-right{
    text-align:right;
}
.badge{
    font-weight:400 !important;
}
hidden{
    display:none;
}
.cursor-pointer{
    cursor:pointer;
}

.pagination>.active>a, .pagination>.active>a:focus, .pagination>.active>a:hover, .pagination>.active>span, .pagination>.active>span:focus, .pagination>.active>span:hover
{
    background-color:#4285f4 ;
    border-color:#4285f4 ;
}


.pagination>li>a, .pagination>li>span
, .text-primary, a.text-primary:hover, a.text-primary:focus{
    color:#4285f4;
}
.text-success, .btn-success.btn-outline{
    color:#28a745 !important;
}
.text-danger{
    color:#dc3545 !important;
}

.btn-primary, .btn-primary:hover, .panel-primary>.panel-heading{
    background-color: #4285f4;
    border-color: #4285f4 !important;
    outline-color: #4285f4 !important;
}
.panel-primary{
    border-color: #4285f4 !important;
}
.label-primary{
    background-color: #4285f4;
}

.btn-outline{
    //color:#4285f4 !important;
    background-color: #ffffff;
}
.btn-outline:hover{
    color: #4285f4 !important;
    background-color:#ffffff !important;
}

.btn-code{
    border:1px #ccc solid;
    margin:2px;
    padding:3px 7px;
}

.form-control:focus{
    border-color:#4285f4  !important ;
    box-shadow: 0 0 1px #4285f4;
}
.form-control{
    color: #4285f4;
}

.form-label-sm label{
    font-weight:400;font-size:1em;color:#666;
}

.topbar-nav a, .topbar-nav fa{
  color:#666666;
}
.sidebar-nav a, .sidebar-nav fa{
  color:#666666;
}
.nav-kw{
    width:100%;
    padding-top:2rem;
}
.nav-kw a{
}

.sidebar ul li{border-bottom-width:0px !important;}

.page-header, h1{
  font-size:1.5em; font-weight: 500; margin-top:25px;margin-bottom:15px !important;color:#000;;border-color:#fff;  text-shadow: 0.5px 0.5px #eee;
}
h2{
  font-size:1.2em;
  padding-top:.5rem;
  padding-bottom:1rem;
  font-weight:500;
}
.vcenter-block {
    display: inline-block; vertical-align: middle; float: none;
}
.vcenter {
    vertical-align: middle;
}

.p-title{
    padding:2.5em 0 1.5em 0;
    margin:0px;
    font-weight:600;
    font-size:1em;
}
.p-title .btn{
    font-size:85%;
}

span.btn{
    -webkit-user-select: auto; /* Safari 3.1+ */
    -moz-user-select: auto; /* Firefox 2+ */
    -ms-user-select: auto; /* IE 10+ */
    user-select: auto; /* Standard syntax */
}
.card{
    white-space:nowrap;
    margin-right:10px;
}


table th{font-weight: 500;color:#222; text-shadow: 0px 0px #eee;height:3em;}
.table>thead>tr>th {
    border-bottom: 1.5px solid #333;
}
.table>tfoot {
    border-top: 1.5px solid #333;
}
td span > button{
    padding: 0px 12px 0px 12px !important;
}
.table-no-border tr,.table-no-border td,.table-no-border th,.table-no-border tbody{border:0px !important;}
.table-condensed th, .table-condensed td{padding: 2px !important;height:1.4em;}
.table-vcenter th, .table-vcenter td{vertical-align: middle !important;}
tr.vcenter td{vertical-align: middle !important;}

.tr-off td, .tr-off td a {
    color: #999 !important;
}

.modal-content{padding:15px 15px 5px 15px;box-shadow:0 3px 3px rgba(200,200,200,.5);margin:15px;}
.table-nowrap th, .table-nowrap td{white-space:nowrap;}

.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;
}

.fixed-header {
    position: fixed;
    top: 0px;
    opacity: 1;
    z-index: 99;
    background-color: #fff;
    width: 100%;
}
.bg-fade{
    background-color: #f8f8f8;
}
.bg-th{
    background-color: #ddd;
}
.div-me{
    background-color: #ffffee;
    border: #cccc99 1px solid;
}
.bg-hl-y{
    background-color: #ffffee;
}
.bg-hl-r{
    background-color: #ffeeee;
}
.bg-hl-g{
    background-color: #eeffee;
}
.bg-hl-b{
    background-color: #eeeeff;
}

.bg-none, .bg-none:hover, .bg-none:focus, .bg-none:active, .bg-none:focus-within{
    background-color:rgba(255, 255, 255, 0.0) !important;
    border: none !important;
    outline:none !important;
}
.filter-tag, .recordcount-tag{
    padding:0px 0px 0px 10px;
    margin:0px;
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
    overflow-y: auto;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
.rotate90 {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}
.rotate270 {
    -webkit-transform: rotate(270deg);
    -moz-transform: rotate(270deg);
    -o-transform: rotate(270deg);
    -ms-transform: rotate(270deg);
    transform: rotate(270deg);
}
.text-bold{font-weight:600 !important;}
.text-xbold{font-weight:900 !important;}
.text-small{font-size:85% !important;}
.text-i{font-style: italic; !important;}
.text-code{font-family:Consolas;}
.text-break{word-wrap:break-word !important;overflow-wrap:break-word !important;white-space:normal !important;}
.text-ellipsis{text-overflow:ellipsis !important;}

.border-primary{
    border: 3px #4285f4 solid !important;
}

.full-screen{
    width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;
    position:absolute !important;top:0 !important;left:0 !important;margin:0 !important;overflow: hidden !important;
    z-index:99999;
}

.shink{
    transform: scale(0.8, 0.8);
    -ms-transform: scale(0.8, 0.8); /* IE 9 */
    -webkit-transform: scale(0.8, 0.8); /* Safari and Chrome */
    -o-transform: scale(0.8, 0.8); /* Opera */
    -moz-transform: scale(0.8, 0.8); /* Firefox */
    transform-origin: top left;
}

/******************employee_form_tool***************************/

.li_tool .fa-trash-o{
    display: none;
}
.li_tool:hover .fa-trash-o{
    display: block;
}

.click2copy{
    cursor:pointer;
    border-bottom: 1px dashed #666 !important;
}
