/* Таблица стилей к странице статистики фида */

.b-content__work
    {
    padding-top: 100px;
    background: #FFFFFF;
    }

.b-content__work.inner
    {
    max-width: 1240px;
    margin: 0 auto;
    }
    
.b-content__work.inner input[type="checkbox"]
    {
    vertical-align: -2px;
    cursor: pointer;
    }

.b-content__work .wrapp
    {
    position: relative;
    }
    
.b-content__work.error .wrapp
    {
    margin: 100px auto;
    min-height: 300px;
    text-align: center;
    }
    
.b-clear
    {
    clear: both;
    }

#period-stats,
#campaign-stats,
#report-cats,
#viewid-stats
    {
    display: none;
    }
    
.b-content__title
    {
    padding: 85px 0 25px;
    height: 260px;
    background-color: #EAEFF1;
    }
    
    .b-content__title picture
        {
        display: block;
        margin: 0 auto;
        width: 90px;
        margin-bottom: 5px;
        }
    
        .b-content__title picture img
            {
            height: 90px;
            width: 90px;
            object-fit: cover;
            border-radius: 50%;
            }
            
        .b-content__title p.lead
            {
            margin-bottom: 5px;
            text-align: center;
            }
            
        .b-content__title-settings
            {
            text-align: center;
            }
            
        .b-content__title-settings .annotation
            {
            color : #0071BC;
            }
            
        .b-content__title-settings .annotation:hover
            {
            color : #177FC5;
            }
            
        .b-content__title-settings .annotation:first-child
            {
            margin-right: 30px;
            }

input[type="checkbox"]
    {
    vertical-align: -2px;
    }

.form-group .form-control
    {
    font-family: monospace;
    }
            
.form-group select.form-control
    {
    height: 34px;
    line-height: 14px;
    padding-right: 15px;
    border-color: #BDCED4;
    background: url(../img/icon-open-accordeon.svg) right 4px center no-repeat;
    background-size: 10px;
    cursor: pointer;
    }
     
.b-feeds-stat_data-loading
    {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #FFF url(../img/gif-load.gif) center 200px no-repeat;
    opacity: 0.5;
    z-index: 10;
    }
    
.b-feeds-stat_controls
    {
    margin-bottom: 25px;
    height: 34px;
    }
    
    .b-feeds-stat_controls-report
        {
        float: left;
        }
    
    .b-feeds-stat_controls-period
        {
        float: right;
        margin-top: 2px;
        }
        
        .b-feeds-stat_controls input.date-value
            {
            width: 100px;
            }
            
        .b-feeds-stat_controls select
            {
            display: inline-block;
            margin: 0 15px 0 2px;
            width: 120px;
            height: 30px;
            line-height: 15px;
            }    
            
        .b-feeds-stat_controls .stat-period
            {
            width: 135px;
            }

    
.chart-graph-stat-info,
.chart-graph-stat-error,
.chart-graph-stat-loading
    {
    display: none;
    padding-top: 160px;
    height: 370px;
    text-align: center;
    }
    
#chart-graph-stat
    {
    height: 370px;
    }
    
.b-table_wrapp.report
    {
    display: none;
    margin-top: 30px;
    }
    
    .table.table-striped.admin.common
        {
        font-family: monospace;
        }
    
    .table.table-striped.admin.transactions
        {
        font-size: 13px;
        }
        
    .table.table-striped.admin.transactions thead
        {
        color: #337ab7;
        line-height: 14px;
        font-weight: bold;
        }
        
    table.table-striped.admin.transactions tbody
        {
        font-size: 12px;
        }
        
        /* Фильтрация строк в таблице transactions */
        table.table-striped.admin.transactions .transaction-item,
        table.table-striped.admin.transactions .total-orders
            {
            display: none;
            }
            
        table.table-striped.admin.transactions.all .transaction-item,
        table.table-striped.admin.transactions.approved .transaction-item.approved,
        table.table-striped.admin.transactions.confirmed .transaction-item.confirmed,
        table.table-striped.admin.transactions.rejected .transaction-item.rejected,
        table.table-striped.admin.transactions.all .total-orders.all,
        table.table-striped.admin.transactions.approved .total-orders.approved,
        table.table-striped.admin.transactions.confirmed .total-orders.confirmed,
        table.table-striped.admin.transactions.rejected .total-orders.rejected
            {
            display: table-row;
            }
            
        table.table-striped.admin.transactions .transaction-item.approved td.OrderID a
            {
            color: #009444;
            }
            
        table.table-striped.admin.transactions .transaction-item.confirmed td.OrderID a
            {
            color: #337AB7;
            }
            
        table.table-striped.admin.transactions .transaction-item.rejected td.OrderID a
            {
            color: #D9534F;
            }
        
    .table.table-striped.admin thead.metric.sortable tr b
        {
        cursor: pointer;
        }
        
        .table.table-striped.admin thead.metric.sortable tr b.not-sorted
            {
            cursor: default;
            }
        
    .table.table-striped.admin.common thead.metric.sortable tr b.selected
        {
        color: #2CA02C;
        }
        
        
    .table.table-striped.admin.common thead.metric.sortable tr span
        {
        display: inline-block;
        border-bottom: 2px solid red;
        }
    
    .table.table-striped.admin.transactions thead tr th.ViewID,
    .table.table-striped.admin.transactions thead tr th.OrderSum,
    .table.table-striped.admin.transactions thead tr th.AdMoney
        {
        width: 1px;
        }
        
    .table.table-striped.admin.transactions thead tr th.OrderSum,
    .table.table-striped.admin.transactions thead tr th.AdMoney
        {
        text-align: right;
        }
        
    .table.table-striped.admin.viewid thead tr th,
    .table.table-striped.admin.transactions.viewid thead tr th.OrderSum
        {
        width: 1px;
        }
        
    .table.table-striped.admin.transactions.viewid thead tr th.Basket
        {
        width: 550px;
        }
        
    .table.table-striped.admin.transactions tbody tr td.StartTime span,
    .table.table-striped.admin.transactions tbody tr td.EndTime span,
    .table.table-striped.admin.transactions tbody tr td span.order-id
        {
        white-space: nowrap;
        }
        
        
    /* .b-basket-content */
    .table.table-striped.admin.transactions thead tr th.status,
    .table.table-striped.admin.transactions thead tr th.period
        {
        width: 1px;
        }
        
    .table.table-striped.admin thead tr th.Timestamp
        {
        width: 1px;
        line-height: 14px;
        }
        
    .table.table-striped.admin tbody td.Timestamp
        {
        line-height: 13px;
        }
        
        .table.table-striped.admin tbody td.Timestamp span
            {
            white-space: nowrap;
            }
        
    .table.table-striped.admin thead tr th.Basket
        {
        line-height: 14px;
        }
        
        .table.table-striped.admin thead tr th.Basket .basket-link,
        .table.table-striped.admin thead tr th.Basket .quantity,
        .table.table-striped.admin thead tr th.Basket .price
            {
            display: inline-block;
            }
        
        .table.table-striped.admin thead tr th.Basket .basket-link
            {
            width: 470px;
            }
            
        .table.table-striped.admin.viewid thead tr th.Basket .basket-link
            {
            width: 440px;
            }
            
        .table.table-striped.admin.viewid thead tr th.Basket .quantity,
        .table.table-striped.admin.viewid thead tr th.Basket .price
            {
            text-align: center;
            width: 50px;
            }    
            
        .table.table-striped.admin thead tr th.Basket .quantity
            {
            text-align: left;
            width: 55px;
            }
            
        .table.table-striped.admin thead tr th.Basket .price
            {
            text-align: right;
            width: 45px;
            }
        
    .table.table-striped.admin td.Basket
        {
        padding: 2px;
        }
        
    .table.table-striped.admin.transactions td.status
        {
        text-align: center;
        }
    
    .table.table-striped.admin.transactions td.OrderSum
        {
        font-weight: bold;
        text-align: right;
        white-space: nowrap;
        }
        
    .table.table-striped.admin.transactions td.AdMoney
        {
        text-align: right;
        white-space: nowrap;
        }
        
    .table.table-striped.admin.transactions td.Pages
        {
        text-align: center;
        }
        
    .table.table-striped.admin.transactions tbody tr.total-orders
        {
        font-weight: bold;
        font-size: 13px;
        }
     
    .table.table-striped.admin.common tbody tr.total
        {
        font-weight: bold;
        }
    
    .table.table-striped thead tr th.period b:after
        {
        content: " / ";
        }
    .table.table-striped thead tr th.period b:last-child:after
        {
        content: "";
        }
        
    
    .b-basket-content
        {
        margin: 4px;
        padding: 2px;
        font-size: 12px;
        line-height: 14px;
        }
        
        .b-basket-content .basket-link
            {
            display: inline-block;
            width: 470px;
            }
            
            table.viewid .b-basket-content table
                {
                width: 100%;
                }

            table.viewid .b-basket-content .basket-link
                {
                display: inline-block;
                width: 440px;
                font-size: 11px;
                font-weight: bold;
                }
            
            .b-basket-content .view-id-url
                {
                display: inline-block;
                width: 450px;
                margin-bottom: 4px;
                word-break: break-word;
                }
                
            table.viewid .b-basket-content .quantity
                {
                width: 50px;
                text-align: center;
                }
            
        .b-basket-content .quantity
            {
            display: inline-block;
            width: 55px;
            text-align: center;
            }
            
        .b-basket-content .price
            {
            display: inline-block;
            width: 70px;
            text-align: right;
            }
            
            table.viewid .b-basket-content .price
                {
                width: 60px;
                white-space: nowrap;
                text-align: right;
                }
        
    
    .table.table-striped.admin thead.metric tr b .arrow
        {
        display: none;
        }

    .table.table-striped.admin thead.metric.sortable tr b.selected .arrow.asc,
    .table.table-striped.admin thead.metric.sortable tr b.selected.desc .arrow.desc
        {
        display: inline;
        }

    .table.table-striped.admin thead.metric.sortable tr b.selected .arrow.desc,
    .table.table-striped.admin thead.metric.sortable tr b.selected.desc .arrow.asc
        {
        display: none;
        }
        
    .table.table-striped.admin.transactions tbody td.URL .cat
        {
        max-width: 450px;
        display: inline-block;
        word-wrap: break-word;
        }
    

.b-filter__switch {
    display: -ms-flexbox;
    display: -webkit-inline-flex;
    display: inline-flex;
}
        
.display.b-filter__switch {
    max-width: 670px;
  }
  .display.b-filter__switch.metric-cat {
    max-width: none;
  }

    .b-filter__switch-item {
      height: 40px;
      min-width: 75px;
      padding: 0 15px;
      white-space: nowrap;
      text-align: center;
      font-size: 0.7rem;
      line-height: 36px;
      border: 1px solid #E6E6E6;
      border-left: none;
      background-color: #FFFFFF;
      color: #383838;
      cursor: pointer;
      transition: color 0.2s ease, background-color 0.2s ease;
    }
      .b-filter__switch-item:first-child {
        border-radius: 5px 0 0 5px;
        border: 1px solid #E6E6E6;
      }
      .b-filter__switch-item:last-child {
        border-radius: 0 5px 5px 0;
        border: 1px solid #E6E6E6;
        border-left: none;
      }
      .m-filter__switch-item_active.b-filter__switch-item {
        background-color: #E6E6E6;
      }
      
      
      .b-filter__switch-item
        {
        padding: 0;
        }
        
      .b-filter__switch-item a
        {
        display: inline-block;
        height: 100%;
        width: 100%;
        padding: 0 15px;
        color: #383838;
        }
        .b-filter__switch-item a:hover
          {
          text-decoration: none;
          }
          
    .b-filter__switch.category-orders
        {
        margin-top: -15px;
        }
        
        .b-filter__switch.category-orders .b-filter__switch-item
            {
            display: inline-block;
            padding: 0 5px;
            }
        
        .b-filter__switch.category-orders .b-filter__switch-item.approved
            {
            color: #009444;
            }
            
        .b-filter__switch.category-orders .b-filter__switch-item.confirmed
            {
            color: #337AB7;
            }
            
        .b-filter__switch.category-orders .b-filter__switch-item.rejected
            {
            color: #D9534F;
            }
        
          
.click-history-info
    {
    height: 400px;
    padding-top: 200px;
    text-align: center;
    }
    
.b-orders_controls
    {
    margin-bottom: 10px;
    }
    
    .b-orders_controls a.btn.btn-primary.approve
        {
        border-color: #009444;
        background-color: #009444;
        }
    
        
#table2excel
    {
    display: none;
    }
    
.b-export-xls
    {
    margin: -10px 0 10px 0;
    height: 30px;
    clear: both;
    }
    
    button#btnExport {
        float: right;
        padding: 4px 12px;
        color: #fff;
        border-radius: 4px;
        background-color: #337ab7;
        border-color: #2e6da4;
        border: 0;
    }
    
    
.b-popup-content
    {
    padding: 10px;
    }
    
    .b-popup-content h2
        {
        margin-top: 10px;
        margin-bottom: 10px;
        text-align: center;
        font-size: 16px;
        color: #337ab7;
        }
    
    .b-popup-content textarea.b-popup-comment
        {
        padding: 10px;
        margin-bottom: 5px;
        width: 100%;
        background-color: #FFFFFF;
        border: 1px solid #CCCCCC;
        border-radius: 4px;
        resize: none;
        }
        
.b-order-status
    {
    margin-bottom: 15px;
    }
    
    .b-order-status_status span
        {
        font-weight: bold;
        }
    
    .b-order-status_status span.confirmed
        {
        color: #337ab7;
        }
    
    .b-order-status_status span.rejected
        {
        color: #D9534F;
        }
        
    .b-order-status_comment-inner   
        {
        padding: 5px 10px;
        width: 100%;
        height: 72px;
        border: 1px solid #CCCCCC;
        border-radius: 4px;
        resize: none;
        }