body {
    font-size: 14px;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}
span.label {
    margin-right: 4px;
}

#side-menu {
    font-size: 16px;
}
#side-menu .sm-sub>ul>li>a {
    font-size: 14px;
}

#side-menu .sm-sub>ul>li>a .label {
    position: absolute;
    top: 15px;
    right: 12px;
}

#products-list.table>tbody>tr>td,
#products-list.table>tbody>tr>th,
#products-list.table>tfoot>tr>td,
#products-list.table>tfoot>tr>th,
#products-list.table>thead>tr>td,
#products-list.table>thead>tr>th {
    padding: 4px;
    vertical-align:middle;
}

#products-list img {
    width: 80px;
    float: left;
}

.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
    background-color: #f6f6f6;
}



.dropzone .dz-preview .dz-image {
    border-radius: 5px;
}
.dropzone {
    min-height: inherit;
}
.dropzone .dz-message {
    margin: 0px;
}
#image-dropzone-panel {
    border-radius: 10px;
    border-width: 3px;
    border-style: dashed;
    border-color: #aaa;
    padding: 5px;
}
#image-dropzone-panel:hover {
    border-color: #333;
}
#image-dropzone-panel .dz-image-preview,
#image-dropzone-panel .dz-image,
#image-dropzone-panel .dz-image > img,
#image-dropzone-panel .dz-message {
    margin: 0px;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
#image-dropzone-panel .dz-filename {
    display: none;
}
#image-panel {
    padding-top: 14px;
}

/*Image remove button*/
#image-panel .exist-image {
    position: relative;
}
#image-panel .exist-image button.close {
    width: 30px;
    height: 30px;
    position: absolute;
    right: 4px;
    top: -12px;
    border: solid 2px #444;
    border-radius: 30px;
    box-sizing: content-box;
    line-height: 30px;
    background-color: #fff;
    color: #222;
    font-weight: bold;
    opacity: 1;
    background: #F5F5F5;
}
#image-panel .exist-image button.close:hover {
    color: #000;
    border-color: #000;
}
#image-panel .product-cover {
    border: solid 2px #ee7777;
    overflow: visible;
}
#image-panel .product-cover:before {
    content: '封面圖片';
    position: absolute;
    top: -26px;
    font-size: 1.2em;
    color: #ee7777;
}
.page-header .btn {
    margin: 3px;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #ccc;
}
::-moz-placeholder { /* Firefox 19+ */
    color: #ccc;
}
:-ms-input-placeholder { /* IE 10+ */
    color: #ccc;
}
:-moz-placeholder { /* Firefox 18- */
    color: #ccc;
}

.table>tbody>tr>td, .table>tbody>tr>th, .table>tfoot>tr>td, .table>tfoot>tr>th, .table>thead>tr>td, .table>thead>tr>th {
    padding: 2px;
}

/* spec table */
#style-type .table>tbody>tr>td,
#style-type .table>tbody>tr>th,
#style-type .table>tfoot>tr>td,
#style-type .table>tfoot>tr>th,
#style-type .table>thead>tr>td,
#style-type .table>thead>tr>th {
    padding: 2px;
}
#style-type .table .price-cell {
    min-width: 60px;
    max-width: 84px;
}
#style-type .table .md-cell {
    min-width: 84px;
}
#style-type .table,
#style-type .table td,
#style-type .table th {
    border: 1px solid #eee;
}
#style-type input {
    width: 100%;
}
#style-type input.input-stock {
    min-width: 36px;
}

/*Dashboard Stats Component*/
.fa, .fas {
    font-weight: 900;
}
.fa-fw {
    text-align: center;
    width: 1.25em;
}
.fa, .fab, .fal, .far, .fas {
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}
.widget-stats .stats-progress {
    background: rgba(0,0,0,.5);
    height: 2px;
    margin: 0 0 15px;
    border-radius: 3px;
}
.progress {
    box-shadow: none;
    background: #e2e7eb;
}
.progress {
    display: -ms-flexbox;
    display: flex;
    height: 2rem;
    overflow: hidden;
    font-size: .75rem;
    background-color: #e9ecef;
    border-radius: .25rem;
}
.widget-stats .stats-icon.stats-icon-lg {
    font-size: 128px;
    top: 15px;
    right: 0;
    color: #fff;
    width: 128px;
    height: 50px;
    line-height: 50px;
    text-shadow: 3px 7px rgba(0,0,0,.25);
}
.widget-stats .stats-icon {
    font-size: 42px;
    height: 56px;
    width: 56px;
    text-align: center;
    line-height: 56px;
    margin-left: 15px;
    color: #000;
    position: absolute;
    right: 15px;
    top: 15px;
    opacity: .15;
}
.widget {
    overflow: hidden;
    margin-bottom: 20px;
    background: #fff;
    color: inherit;
    padding: 0;
    border-radius: 0;
}
.widget-stats .stats-content, .widget-stats .stats-icon.stats-icon-lg i {
    position: relative;
}
.widget.widget-stats {
    position: relative;
    color: #fff;
    padding: 15px;
    border-radius: 3px;
}
.widget-stats .stats-number {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}
.widget-stats .stats-progress .progress-bar {
    background: #fff;
    border-radius: 0 3px 3px 0;
}
.widget-stats .stats-desc {
    margin: -5px 0 -3px;
    font-weight: 300;
}
.widget-stats .stats-desc, .widget-stats .stats-title {
    color: #fff;
    color: rgba(255,255,255,.7);
}
.widget-stats .stats-desc, .widget-stats .stats-title {
    color: #fff;
    color: rgba(255,255,255,.7);
}

.widget-stats .stats-title {
    position: relative;
    margin: 0 0 2px;
    font-size: 12px;
}
.bg-gradient-teal {
    background: #34babb!important;
    background: -moz-linear-gradient(-45deg,rgba(52,186,187,1) 0,rgba(0,172,172,1) 100%)!important;
    background: -webkit-linear-gradient(-45deg,rgba(52,186,187,1) 0,rgba(0,172,172,1) 100%)!important;
    background: linear-gradient(135deg,rgba(52,186,187,1) 0,rgba(0,172,172,1) 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#34babb', endColorstr='#00acac', GradientType=1 )!important;
}
.bg-gradient-blue {
    background: -moz-linear-gradient(-45deg,rgba(81,136,218,1) 0,rgba(52,135,226,1) 100%)!important;
    background: -webkit-linear-gradient(-45deg,rgba(81,136,218,1) 0,rgba(52,135,226,1) 100%)!important;
    background: linear-gradient(135deg,rgba(81,136,218,1) 0,rgba(52,135,226,1) 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5188da', endColorstr='#3487e2', GradientType=1 )!important;
}
.bg-gradient-purple {
    background: #8457f3!important;
    background: -moz-linear-gradient(-45deg,rgba(132,87,243,1) 0,rgba(114,124,182,1) 100%)!important;
    background: -webkit-linear-gradient(-45deg,rgba(132,87,243,1) 0,rgba(114,124,182,1) 100%)!important;
    background: linear-gradient(135deg,rgba(132,87,243,1) 0,rgba(114,124,182,1) 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#8457f3', endColorstr='#727cb6', GradientType=1 )!important;
}
.bg-gradient-black {
    background: #586169!important;
    background: -moz-linear-gradient(-45deg,rgba(88,97,105,1) 0,rgba(45,53,60,1) 100%)!important;
    background: -webkit-linear-gradient(-45deg,rgba(88,97,105,1) 0,rgba(45,53,60,1) 100%)!important;
    background: linear-gradient(135deg,rgba(88,97,105,1) 0,rgba(45,53,60,1) 100%)!important;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#586169', endColorstr='#2d353c', GradientType=1 )!important;
}

.btn-fslol, .bg-fslol {
    background-color: #00B8AA;
    color: #fff;
}
.btn-offline, .bg-offline {
    background-color: #999;
    color: #fff;
}
.btn-other, .bg-other {
    background-color: #bbb;
    color: #fff;
}
.btn-shopee, .bg-shopee {
    background-color: #ff541e;
    color: #fff;
}
.btn-shopline, .bg-shopline {
    background-color: #041536;
    color: #fff;
}
.btn-ruten, .bg-ruten {
    background-color: #F29100;
    color: #fff;
}
.btn-taobao, .bg-taobao {
    background-color: #EB560A;
    color: #fff;
}
.btn-momo, .bg-momo {
    background-color: #E4217F;
    color: #fff;
}
.btn-momo_mall, .bg-momo_mall {
    background-color: #E4217F;
    color: #fff;
}
.btn-momo_store, .bg-momo_store {
    background-color: #2E4378;
    color: #fff;
}
.btn-rakuten, .bg-rakuten {
    background-color: #bf0000;
    color: #fff;
}
.btn-pchome, .bg-pchome {
    background-color: #0190EB;
    color: #fff;
}
.btn-friday, .bg-friday {
    background-color: #F34F59;
    color: #fff;
}
.btn-coupang, .bg-coupang {
    background-color: #50A3D9;
    color: #fff;
}
.btn-infini, .bg-infini {
    background-color: #F94540;
    color: #fff;
}
.btn-iopen_mall, .bg-iopen_mall {
    background-color: #034A28;
    color: #fff;
}
.btn-books, .bg-books {
    background-color: #90C31F;
    color: #fff;
}
.btn-etmall, .bg-etmall {
    background-color: #d70036;
    color: #fff;
}
.btn-umall, .bg-umall {
    background-color: #FFC5C8;
    color: #fff;
}
.btn-yahoo_scm, .bg-yahoo_scm {
    background-color: #6001D2;
    color: #fff;
}
.btn-yahoo, .bg-yahoo {
    background-color: #6001D2;
    color: #fff;
}
.btn-yahoo_sm, .bg-yahoo_sm {
    background-color: #9958F7;
    color: #fff;
}
.btn-yahoo_bid, .bg-yahoo_bid {
    background-color: #FFD953;
    color: #fff;
}
.btn-facebook, .bg-facebook {
    background-color: #1876F2;
    color: #fff;
}
.btn-shopdc, .bg-shopdc {
    background-color: #018CAE;
    color: #fff;
}
.btn-google, .bg-google {
    background-color: #1A6FE2;
    color: #fff;
}
.btn-affiliates, .bg-affiliates {
    background-color: #00A8F5;
    color: #fff;
}

.label-red {
    background-color: red;
    color: #fff;
}

#header .logo {
  position: fixed;
}
#header .top-search {
  width: 100%;
  position: fixed;
  margin-left: 80px;
}
@media (min-width: 1280px) {
  #header .top-search {
    margin-left: 270px;
  }
}

.functions .btn {
    margin-bottom: 3px;
}

.table>tbody>tr>td:last-child, .table>tbody>tr>th:last-child, .table>tfoot>tr>td:last-child, .table>tfoot>tr>th:last-child, .table>thead>tr>td:last-child, .table>thead>tr>th:last-child {
    padding-right: 10px;
}
.table>tbody>tr>td:first-child, .table>tbody>tr>th:first-child, .table>tfoot>tr>td:first-child, .table>tfoot>tr>th:first-child, .table>thead>tr>td:first-child, .table>thead>tr>th:first-child {
    padding-left: 10px;
}

.form-group .bootstrap-tagsinput .tag {
    margin-bottom: 2px;
}

.page-header h3 {
    font-size: 20px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: Lato, arial, sans-serif, "Microsoft Jhenghei", 微軟正黑體, Montserrat, Helvetica, Arial, sans-serif;
}

div.bootstrap-tagsinput {
    width: 100%;
}

div.note-editor.panel.panel-default{
    overflow: visible;
}

.form-control {
    color: black;
}

.style-type-0, .style-type-1, .style-type-2, .style-type-3, .style-type-4 {
    display: none;
}
label.btn.stock-switch {
    opacity: 0.3;
}

#l-forget-password {
    font-size: 1.2em;
    padding: 6px 20px;
}

#form-panel .toggle-switch {
    padding: 7px 3px;
}

div.form-group.has-error > div.chosen-container > a {
    border-color: #f55a4e;
}

#sync-setting.table>tbody>tr>td,
#sync-setting.table>tbody>tr>th,
#sync-setting.table>tfoot>tr>td,
#sync-setting.table>tfoot>tr>th,
#sync-setting.table>thead>tr>td,
#sync-setting.table>thead>tr>th {
    padding: 3px;
    line-height: 20px;
    vertical-align: middle;
}
#sync-setting.table p {
    margin: 0px;
}
#sync-setting.table>tbody>tr>td:first-child,
#sync-setting.table>tbody>tr>th:first-child,
#sync-setting.table>tfoot>tr>td:first-child,
#sync-setting.table>tfoot>tr>th:first-child,
#sync-setting.table>thead>tr>td:first-child,
#sync-setting.table>thead>tr>th:first-child {
    padding: 6px;
}
#sync-setting .form-group {
    margin-bottom: 10px;
}
#sync-setting .chosen-container-single .chosen-single abbr {
    top: 50%;
    margin-top: -6px;
}
#sync-setting .chosen-container-single .chosen-single div b {
    background-position-y: 6px;
}
#sync-setting .chosen-container-single .chosen-single {
    max-width: 300px;
}

#list-table img.avatar {
    height: 24px;
    margin-right: 6px;
    border-radius: 50%;
}
#list-table img.product:hover {
    border: 1px solid #ddd;
}

.table>tbody>tr>td, .table>tbody>tr>th,
.table>tfoot>tr>td, .table>tfoot>tr>th,
.table>thead>tr>td, .table>thead>tr>th {
    padding-bottom: 2px;
}
#user-info-tab {
    min-height: 600px;
}

#user-order-list > .table tbody>tr:last-child>td {
     padding-bottom: 0px;
}

.sweet-alert .lead {
    font-size: 18px;
}
.sweet-alert h2 {
    font-size: 20px;
}

/* 修正 tagsinput 輸入中文自動展開問題 */
div.bootstrap-tagsinput input {
    min-width: 200px;
}

/* 修正 search input layout */
#data-table-header .actionBar {
    text-align: inherit;
}
.bootgrid-footer, .bootgrid-header {
     margin: 0px;
}
.row.order-item-row {
    border-bottom: 1px solid #eee;
    padding-bottom: 3px;
}

.page-header {
    padding: 0px;
    margin: 0 0 10px 0;
}
.page-header > div {
    padding: 0px;
}

.table  >tbody > tr > td.product-functions {
    padding: 6px 0px;
}
.product-functions > div.row {
    margin-left: -8px;
    margin-right: -8px;
}
.product-functions > div.row > div {
    padding-left: 0px;
    padding-right: 0px;
}

#product-attribute-table.table>tbody>tr>td,
#product-attribute-table.table>tbody>tr>th,
#product-attribute-table.table>tfoot>tr>td,
#product-attribute-table.table>tfoot>tr>th {
    padding-left: 6px;
    padding-bottom: 6px;
}

#product-stats-dashboard .poi-percent:after {
    content: '';
}

.tagify.form-control {
    padding: 0px;
}
.tagify {
    width: 100%;
}

.form-control.input-specX, .form-control.input-specY {
    height: auto;
}
.form-control {
    padding: 6px;
}

#spec-y-image-panel .fileinput {
    padding-right: 16px;
}

.sort-icon {
    color: #bbb;
    margin-left: 3px;
}

#data-table {
    border: 1px solid #ddd;
}
#data-table.table tbody>tr:last-child>td {
    padding-bottom: 0px;
}

.side-menu > li > a > .zmdi.module-disabled {
    background-color: transparent;
}

i.zmdi.zmdi-long-arrow-tab {
    width: 10px;
}

.table tbody>tr:last-child>td {
    padding-bottom: 2px;
}

td.buyer-info > button.btn {
    margin-bottom: 3px;
}