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

.b-partners-link
    {
    float: right;
    margin-left: 10px;
    line-height: 34px;
    }
    
.b-offers-list_controls
    {
    margin-bottom: 5px;
    }
    
    .b-data-item_action,
    .b-data-item_list-tpl-action
        {
        display: none;
        }
    
    .b-offers-list_controls select
        {
        display: inline-block;
        margin: 0 15px 0 2px;
        width: 120px;
        height: 30px;
        line-height: 15px;
        }
        
        .b-offers-list_controls select.data-period
            {   
            margin-right: 0;
            }
        
        .b-offers-list_controls select.offer-partner
            {   
            width: 220px;
            }
        
        .b-offers-list_controls select.offer-category,
        .b-offers-list_controls select.offer-subcategory
            {
            width: 200px;
            }
            
        .b-offers-list_controls select.order-status
            {
            width: 120px;
            }
            
        .b-offers-list_controls select.order-orders,
        .b-offers-list_controls select.order-clicks
            {
            width: 70px;
            }
            
        .b-offers-list_controls-subcategory
            {
            display: none;
            }

.b-offers-list_controls.total-info
    {
    height: 28px;
    border-bottom: solid 1px #ccc;
    }
            
.b-filters
    {
    position: relative;
    margin-bottom: 5px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-top: solid 1px #ccc;
    border-bottom: solid 1px #ccc;
    min-height: 46px;
    }
    
    .b-filters .btn.apply
        {
        position: absolute;
        bottom: 5px;
        right: 0;
        }
        
    .b-data-item_list.orders-list .b-filters .btn.apply
        {
        position: static;
        float: right;
        margin-left: 10px;
        }

.b-filters__show,
.b-filters-sites-zones__show
    {
    display: inline-block;
    margin-top: 4px;
    color: #337ab7;
    border-bottom: 1px #337ab7 dashed;
    cursor: pointer;
    }
    
    .b-filters input[type="checkbox"]
        {
        vertical-align: -2px;
        }
    
    .b-filters__items,
    .b-filters_sites-zones
        {
        display: none;
        margin-top: 10px;
        }
    
    .b-filters__current
        {
        
        }
        
    .b-filters__current span,
    .b-filters__items span
        {
        display: inline-block;
        font-weight: bold;
        min-width: 80px;
        }
        
    .b-filters .form-group
        {
        display: inline-block;
        margin-bottom: 4px;
        min-width: 100px;
        }
    
    .b-filters select.form-control.data-category,
    .b-filters select.form-control.data-subcategory
        {
        display: inline-block;
        width: 200px;
        }


    .b-filters .add-filter
        {
        float: left;
        margin-bottom: 8px;
        }

/* Фильтры стран-зон */
.b-filters_sites-zones
        {
        /*display: flex;*/
        margin-bottom: 38px;
        }
        
        .b-filters_site-wrap
            {
            float: left;
            padding-right: 5px;
            width: 50%;
            }
            
        .b-filters_zone-wrap
            {
            float: right;
            padding-left: 5px;
            width: 50%;
            }
        
    .b-filters_geo,
    .b-filters_site,
    .b-filters_zone
        {
        float: left;
        width: 100%;
        border: 1px solid #CCC;
        border-radius: 4px;
        padding: 4px 6px 0;
        }
        
        .b-filters_geo
            {
            width: 585px;
            }
        
    .b-filters_zone
        {
        /*display: none;*/
        margin-right: 0;
        }
    
    .b-filters_site .form-group,
    .b-filters_zone .form-group
        {
        display: block;
        }
        
    .b-filters_sites-zones .filters-select
        {
        float: left;
        padding-right: 3px;
        width: 50%;
        height: 200px;
        }
        
    .b-filters_sites-zones .filters-values
        {
        float: right;
        padding-left: 3px;
        width: 50%;
        height: 200px;
        }
    
    .b-filters_sites-zones .filters-select .filter
        {
        margin-bottom: 8px;
        }
        
    .b-filters_sites-zones .filters-select div
        {
        display: inline-block;
        width: 100%;
        border: 1px solid #CCCCCC;
        border-radius: 4px;
        }    
        
    .b-filters_sites-zones .list-filter
        {
        padding-left: 4px;
        height: 150px;
        overflow-x: hidden;
        overflow-y: scroll;
        }
        
        .b-filters_sites-zones .list-filter li
            {
            white-space: nowrap;
            }
            
            .b-filters_sites-zones .list-filter label,
            .b-filters_sites-zones .values-string-list label
                {
                font-weight: normal;
                }
        
    .b-filters_sites-zones .values-string-list
        {
        padding: 2px 6px;
        height: 194px;
        min-height: 34px;
        border: 1px solid #CCCCCC;
        border-radius: 4px;
        overflow-y: scroll;
        }
        
    .b-template-zones-list
        {
        display: none;
        }
        
        
.b-export-xls
    {
    height: 30px;
    clear: both;
    }
        
.b-pager
    {
    
    }
    
    .b-pager.state-loading
        {
        opacity: 0.5;
        }
    
    .b-pager li
        {
        display: inline-block;
        margin-left: -1px;
        width: 33px;
        height: 34px;
        line-height: 32px;
        text-align: center;
        border: 1px #DDDDDD solid;
        color: #666666;
        cursor: pointer;
        background-color: #FAFAFA;
        }
        
        .b-pager li.not-active
            {
            cursor: default;
            }
        
        .b-pager li.current
            {
            background-color: #447CB5;
            border-color: #447CB5;
            color: #FFF;
            cursor: default;
            }

.b-pager__items
    {
    float: right;
    }
            
.b-pager__step
    {
    float: left;
    }
    
    .b-pager__step select
        {
        display: inline-block;
        width: 50px;
        height: 24px;
        padding: 0 15px 0 6px;
        }
        
.b-pager__info
    {
    float: left;
    margin-left: 50px;
    line-height: 22px;
    }
            
.table-data-loading
    {
    position: relative;
    margin-bottom: -500px;
    width: 100%;
    height: 500px;
    background: url(../img/ajax-loader-transp.gif) center center no-repeat;
    z-index: 2;
    }

.b-offers-list_controls input.date-value {
    width: 100px;
}

.b-offers-list_controls .partners-status {
    float: right;
}

.b-offers-list_controls .order-period {
    width: 135px;
}
            
.panel-body.active table tbody tr.disabled
    {
    display: none !important;
    }

.panel-body.disabled table tbody tr
    {
    display: none;
    }
    
    .panel-body.disabled table tbody tr.disabled
        {
        display: table-row;
        }
        
.b-offers-list_disabled-count
    {
    display: none;
    color: #A0A0A0;
    }
   
.b-offers-list_controls-period
    {
    float: right;
    }
    
table.offers thead tr th.is-br
    {
    font-size: 13px;
    line-height: 14px;
    }

table.offers tbody tr td .offer-info
    {
    font-size: 12px;
    }
    
table.offers tbody tr td.stat
    {
    font-size: 12px;
    font-family: monospace;
    }
    
table.offers thead tr th input.select-all,
table.offers tbody tr td input.is-active
    {
    vertical-align: -2px;
    margin-right: 2px;
    }
    
table.offers thead tr th span[data-sort="id"] 
    {
    margin-left: 4px;
    }
    

/* Таблица стилей к странице списка объявлений */

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

table.adds td .title
    {
    font-weight: bold;
    }

table.adds td .price
    {
    color: #337ab7;
    }

table.adds td .link-offer
    {
    font-size: 12px;
    font-weight: bold;
    color: #337ab7;
    }

table.adds tbody tr td.stat
    {
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
    }

table.table-striped.adds td.stat span
    {
    font-weight: normal;
    }
    