body,
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6
{
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

.wrapper
{
    overflow: visible;
}

.sidebar-mini.sidebar-collapse .main-header .navbar,
.sidebar-mini.sidebar-collapse .content-wrapper,
.sidebar-mini.sidebar-collapse .right-side,
.sidebar-mini.sidebar-collapse .main-footer{
    margin-left: 0 !important;
}

.sidebar-mini.sidebar-collapse .main-header .logo,
.sidebar-mini.sidebar-collapse .main-sidebar{
    width: 0px !important;
    padding: 0;
}

.main-header .sidebar-toggle
{
    font-family: Font Awesome\ 5 Free;
    margin-top: 3px;
}

.content-header
{
    border-bottom: 2px solid #1E282C;
}

.sidebar-mini .main-header .navbar 
{
    text-align: center;
}

.sidebar-mini .main-header .navbar .logo
{
    width: auto !important;
    float: none;
    display: inline-block;
    margin-top: -3px;
    margin-bottom: -2px;
}

.skin-black-light .main-header
{
    background-color: #fff;
}

.navbar-custom-menu-reports>.navbar-nav>li>.dropdown-menu
{
    right: auto;
    left: 0;
}

.main-sidebar .sidebar
{
    padding-top: 20px;
}

.main-sidebar .sidebar iframe
{
    margin: 20px auto !important;
    display: block;
    width: 90%;
}

.btn-image{
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.checkbox, .radio
{
    padding-top: 10px;
    padding-bottom: 10px;
}

.form-group .list-inline
{
    margin-left: -2px;
}

.form-group .list-inline .year,
.form-group .list-inline .month,
.form-group .list-inline .day,
.form-group .list-inline .hour,
.form-group .list-inline .minute
{
    padding-left: 2px;
    padding-right: 2px;
}

.form-group .list-inline .year
{
    max-width: 150px;
}

.form-group .list-inline .month,
.form-group .list-inline .day
{
    max-width: 120px;
}

.form-group .list-inline .hour,
.form-group .list-inline .minute
{
    max-width: 100px;
}

.form-group .list-inline .hour
{
    margin-left: 10px;
}

.form-group.date .hour,
.form-group.date .minute
{
    display: none;
}

/* bs */
.tab-contents > .nav-tabs,
.content > .nav-tabs {
    border-bottom: 3px solid #605CA8;
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 15px;
    padding-right: 15px;
}

.tab-contents > .nav-tabs > li,
.content>.nav-tabs>li
{
    margin-bottom: -1px;
}

.tab-contents>.nav-tabs>li>a,
.tab-contents>.nav-tabs>li>a:hover,
.content>.nav-tabs>li>a,
.content>.nav-tabs>li>a:hover
{
    background: #fff;
    color: inherit;
    border: 1px solid #605CA8;
    margin-right: 3px;
}

.tab-contents>.nav-tabs>li.active>a,
.tab-contents>.nav-tabs>li.active>a:focus,
.tab-contents>.nav-tabs>li.active>a:hover,
.content>.nav-tabs>li.active>a,
.content>.nav-tabs>li.active>a:focus,
.content>.nav-tabs>li.active>a:hover
{
    background: #605CA8;
    color: #fff;
}


.panel,
.panel-heading,
.panel-body
{
    border-radius: 0;
}

.panel .dl-horizontal
{
    word-wrap: break-word;
    word-break: break-all;
}

.panel .dl-horizontal dt
{
    width: 120px;
    text-align: left;
}

.panel .dl-horizontal dd
{
    margin-left: 130px;
    margin-bottom: 15px;
}

.paginator-sorts{
    font-size: 75%;
    white-space: nowrap;
    display: inline-block;
}

.content-wrapper .content
{
    padding-bottom: 150px;
}

.content-wrapper .content .nav-pills,
.content-wrapper .content .nav-tabs{
    margin-bottom: 20px;
}

.content-header h1{
    font-size: 130%;
}

.content-header h1 .btn
{
    position: relative;
    top: -7px;
    margin-bottom: -9px;
    line-height: 1;
    padding: 8px 20px;
}

.content-header{
    padding-bottom: 15px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 5px;
}

.content-header>.breadcrumb{
    top: 10px;
}

.col-xs-12 .form-control.selectize-control{
    margin-bottom: -5px;
}

.btn-current-status
{
    font-size: 130%;
    margin-bottom: 15px;
    font-weight: 700;
}

@media (min-width: 992px)
{
    .modal-lg
    {
        width: 90%;
    }
}

@media (max-width: 767px) {
  .table-responsive .dropdown-menu,
  .table-responsive .dropdown-toggle {
        position: static !important;
  }
}

@media (min-width: 768px) {
    .table-responsive {
        overflow: visible;
    }
}

.content .form-inline .form-group
{
    margin-right: 10px;
}

.content .form-inline .form-group label
{
    margin-right: 4px;
}

.content .form-inline .row
{
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 20px;
}

.content .form-inline .row > .col-xs-6:first-child,
.content .form-inline .row > .col-xs-12:first-child
{
    padding-left: 0;
}

/**
*
    Layout
*/

.overlay{
    z-index: 10000;
}

.ui-information{
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
}

.ui-information .ui-meta{
    margin: 5px 0;
    color: #999;
}

body .dropzone{
    min-height: 0;
    border: 1px dotted rgba(0,0,0,0.3);
    background: #f9f9f9;
    padding: 10px 20px;
}

body .dropzone-plain{
    background: transparent;
    border: none;
    padding: 0;
}

body .dropzone .dz-message {
    text-align: left;
    margin: 1em 0;
    font-size: 130%;
    font-weight: 700;
}

body .dropzone-plain .dz-default{
    min-height: 150px;
    
    line-height: 2;
    height: 200px;
    position: relative;
    
    border: 1px dotted rgba(0,0,0,0.3);
    background: #f9f9f9;
    padding: 10px 20px;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    overflow: hidden;
}

body .dropzone-plain .dz-default input
{
    position: absolute;
    top: 0;
    left:0;
    width: 100%;
    height: 100%;
}

/* page */
.charts
{
    border: 2px solid #605CA8;
    box-shadow: 2px 3px 4px rgba(0,0,0,0.1);
    border-radius: 0;
}

.charts .nav
{
    background: #605CA8;
    color: #fff;
    border-radius: 0;
    padding: 5px 0 0 0;
}

.charts .nav.nav-tabs
{
    margin-bottom: 5px;
    border-bottom-width: 1px;
}

.charts>.nav-tabs>li.header,
.charts>.nav-tabs>li>a,
.charts>.nav-tabs>li>a:hover
{
    color: #fff;
}

.charts>.nav-tabs>li.active
{
    border-top-color: #ccc;
}

.charts .graph-legend
{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.charts .graph-legend li
{
    display: inline-block;
    padding-right: 15px;
}

.charts .graph-legend li span
{
    display: inline-block;
    width: 14px;
    height: 12px;
    margin-right: 7px;
}

.box.box-default
{
    border: 3px solid #605CA8;
}

.box-default .box-header
{
    background: #605CA8;
    color: #fff;
}

.box-default .box-header .box-tools a
{
    color: #fff;
    font-size: 144%;
    padding-left: 10px;
    display: inline-block;
}

.box ul,
.box ol
{
    padding: 5px 15px;
    list-style-position: inside;
}

.box li
{
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 10px;
    font-size: 110%;
    line-height: 2;
}

.box li img
{
    display: inline-block;
    margin: 10px 0;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th
{
    vertical-align: middle;
}

.table-summary>thead>tr>th,
.table-summary>tbody>tr>td,
.table-report>thead>tr>th,
.table-report>tbody>tr>td
{
    border-right: 1px solid #cccccc;
    border-color: #777;
}

.table-report>thead>tr>th:last-child,
.table-report>tbody>tr>td:last-child
{
    border-right: 0;
}

.table-summary thead th
{
    font-weight: 400;
}

.table-report .with-border
{
    border: 1px solid #777;
}

.table-report .with-border-r
{
    border-right: 1px solid #777;
}

.table-report .with-border-b
{
    border-bottom: 2px solid #777;
}

.table-report .g-00
{
    background-color: #FFF0CE;
}

.table-summary .g-01,
.table-summary .g-02,
.table-summary .g-03,
.table-report .g-01,
.table-report .g-02,
.table-report .g-03
{
    background-color: #D9EAD3;
}

.table-summary .g-04,
.table-report .g-04
{
    background-color: #F9CB9C;
}

.table-summary .g-05,
.table-report .g-05
{
    background-color: #FFFF00;
    color: #FF0000;
}

.table-summary .g-06,
.table-report .g-06
{
    background-color: #EDEEEF;
}

.table-summary .g-07,
.table-report .g-07
{
    background-color: #D7E8D3;
}

.table-lines .g-alert,
.table-report .g-alert
{
    background-color: #FCE8B2;
}

.table-report .s-01
{
    background-color: #FFF2CC;
}

.table-report .s-02
{
    background-color: #FCE5CD;
}

.table-report .s-03
{
    background-color: #FFFF00;
}

.table-report>thead>tr>th
{
    background: #908CC8;
    color: #fff;
    border-right: 1px solid #aaa;
}

.table-summary>thead>tr>th
{
    border-bottom: 0;
}

.table-editable td[contenteditable="true"]
{
    background: #f9f9ff;
}


.table-report>thead>tr>th a
{
    color: #fff;
}

.box-body.no-padding > .table-responsive > .table,
.box-body.no-padding > .table
{
    margin-bottom: 0;
}

.table-report .td-product-name,
.table-report .field-product
{
    width: 210px;
}

.table-report.table-sticky-hover .td-product-name
{
    width: 214px;
}

.table-summary .td-field-name,
.table-report .td-field-name
{
    width: 123px;
}

.table-report .td-date-value
{
    width: 101px;
}

.table-report .field-name
{
    font-size: 90%;
}
.table-report .field-value
{
    font-size: 90%;
    text-align: right;
}

.table-detail>thead>tr>th,
.table-detail>tbody>tr>td,
.table-detail>tfoot>tr>td,
.table-report .field-name,
.table-report .field-value
{
    padding-top: 3px;
    padding-bottom: 1px;
    padding-right: 4px;
    vertical-align: middle;
}

.table-report .field-sku
{
    font-size: 80%;
}


.table-report .field-name-search_ranking
{
    font-size: 95%;
}

.table-report .field-name-ad_expenses,
.table-report .field-name-other_expenses,
.table-report .field-name-ranking,
.table-report .field-name-benchmark_ranking
{
    font-size: 90%;
}

.table-report .field-name-profit,
.table-report .field-name-profit_ratio
{
    font-size: 105%;
}

.table-report .field-name-profit.sm,
.table-report .field-name-profit_ratio.sm
{
    font-size: 105%;
}

.table .field-name-ad_expenses .field-value
{
    font-weight: 700;
    color: #ff3333;
}

.table .field-name-profit .field-value,
.table .field-name-profit_ratio .field-value
{
    font-weight: 700;
}

.table-report .sort-highlight
{
    background: #FFFF99;
}

.table-sticky
{
    display: block;
    position: relative;
    overflow: scroll;
    width: calc(100vw - 3.0rem);
    height: calc(75vh);
    border-collapse: collapse;
    font-size: 0;
}

.table-sticky thead,
.table-sticky tbody
{
    display: block;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

.table-sticky th,
.table-sticky td 
{
    display: inline-block;
    width: 8.0rem;
    background: #fff;
    font-size: 1.0rem;
}

.table-sticky tbody th 
{
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    z-index: 1;
}

.table-sticky thead 
{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2;
}

.table-sticky thead th.blank 
{
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 3;
}


.table-lines
{
    font-size: 85%;
}

.table-lines thead
{
    font-size: 90%;
}

.table-lines td small
{
    font-size: 100%;
}

.table-lines>thead>tr>th,
.table-lines>tbody>tr>td
{
    border-right: 1px solid #cccccc;
    border-color: #777;
}

.table-lines>thead>tr>th:last-child,
.table-lines>tbody>tr>td:last-child
{
    border-right: 0;
}

.table-detail
{
    max-width: none;
    table-layout: fixed;
}

.table-detail thead th,
.table-detail tfoot td
{
    background: #103B61;
    color: #fff;
}

.table-detail>thead>tr>th,
.table-detail>tbody>tr>td
{
    font-weight: 400;
    width: 60px;
}

.table-detail>thead>tr>th,
.table-detail>tbody>tr>td,
.table-detail>tfoot>tr>td
{
    padding-left: 4px;
}

.table-detail .field-date
{
    width: 60px;
}

.table-detail .field-name-sales,
.table-detail .field-name-search_ranking,
.table-detail .field-name-search_raw_ranking,
.table-detail .field-name-ad_expenses,
.table-detail .field-name-profit,
.table-detail .field-name-sum_profit,
.table-detail .field-name-debt
{
    width: 90px;
}

.table-detail .field-name-click_count,
.table-detail .field-name-cpc,
.table-detail .field-name-days_until_soldout,
.table-detail .field-name-is_fba,
.table-detail .field-name-days_until_fba_soldout
{
    width: 40px;
}

.table-detail .field-name-memo
{
    width: 160px;
}

.table-detail thead th.empty,
.table-detail tbody td.empty
{
    width: auto;
}

.table-detail thead th.field-name-ad_expenses,
.table-detail thead th.field-name-impression,
.table-detail thead th.field-name-cpc,
.table-detail thead th.field-name-ad_expenses_copy,
.table-detail thead th.field-name-acos
{
    background: #FF3333;
}

.table-detail thead th.field-name-profit,
.table-detail thead th.field-name-profit_ratio,
.table-detail thead th.field-name-sum_profit
{
    background: #FFFF00;
    color: #ff3333;
}

.table-detail tbody td.field-date
{
    background: #FE962C;
    color: #fff;
}

.table-detail tbody td.field-name-ad_expenses,
.table-detail tbody td.field-name-ad_expenses_copy
{
    background: #F3CBCB;
    color: #ff3333;
}

.table-detail tbody td.field-name-impression,
.table-detail tbody td.field-name-cpc,
.table-detail tbody td.field-name-acos
{
    background: #F3CBCB;
}

.table-detail tbody td.field-name-profit,
.table-detail tbody td.field-name-profit_ratio,
.table-detail tbody td.field-name-sum_profit
{
    font-weight: 600;
    background: #FFF1CD;
}




.box .dropdown .dropdown-menu
{
    padding: 5px 0;
}

.box .dropdown .dropdown-menu li
{
    margin-bottom: 0;
    border-bottom: 0;
    padding-bottom: 0;
}

.box-header .box-title form
{
    font-size: 80%;
    font-weight: 400;
    margin-left: 40px;
    margin-top: -4px;
    margin-bottom: -4px;
}

.box-header .box-title form .form-group label
{
    position: relative;
    top: 2px;
    font-weight: 400;
}

.box-header .box-title form .dropdown
{
    display: inline-block;
}

.box-header .box-title form .dropdown-menu
{
    margin: 8px 0 0 0;
    padding: 0;
    border-radius: 0;
    font-size: 85%;
}

.box-header .box-title form .dropdown-menu li
{
    margin-bottom: 0;
    padding-top: 10px;
}

.box-header .box-title form,
.box-header .box-tools form
{
    display: inline-block;
    position: relative;
    top: -3px;
}

.box-header .box-title .form-inline .form-control,
.box-header .box-tools .form-inline .form-control
{
    padding: 5px 12px;
    height: auto;
}

.box-default .box-header .box-title a.btn-default,
.box-header .box-title .btn-default,
.box-default .box-header .box-tools a.btn-default,
.box-header .box-tools .btn-default
{
    font-size: 100%;
    color: #444;
}

.box-header .box-title .btn
{
    font-size: 100%;
    padding-top: 4px;
    padding-bottom: 4px;
    border-color: #fff !important;
}


.table-orders>thead>tr>th,
.table-orders>tbody>tr>td,
.table-orders>tfoot>tr>td,
.table-requests>thead>tr>th,
.table-requests>tbody>tr>td,
.table-requests>tfoot>tr>td
{
    padding-top: 4px;
    padding-bottom: 4px;
    padding-right: 4px;
    vertical-align: middle; 
}

.table-requests tr.is-duplicated,
.table-requests tr.is-duplicated>td
{
    background: #1E282C;
    color: #ccc;
}

.table-requests>thead>tr>th>input[type="checkbox"],
.table-requests>tbody>tr>td>input[type="checkbox"]
{
    top: 3px;
    position: relative;
    margin-top: 0;
}

.table-requests td .invalid
{
    display: inline-block;
    color: #daad3b;
}

.table-requests td
{
    word-wrap: break-word;
    word-break: break-all;
}

.table-requests td .field-remarks
{
    max-height: 60px;
    overflow: auto; 
    word-wrap: break-word;
    word-break: break-all;
}

.table-requests .font-sm
{
    font-size: 80%;
}