/* Таблица стилей к странице рекламных кампаний */

.b-content__work
    {
    margin: 0 auto;
    padding-top: 75px;
    max-width: 1240px;
    }
    
    .b-content__work.error .wrapp
        {
        margin: 100px auto;
        min-height: 300px;
        text-align: center;
        }
 
.form-group .form-control
    {
    font-family: monospace;
    }

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

.b-left
    {
    float: left;
    padding-right: 5px;
    width: 50%;
    }
    
.b-right
    {
    float: right;
    padding-left: 5px;
    width: 50%;
    }

table.campaigns tbody tr td.stat {
    font-family: monospace;
    white-space: nowrap;
    text-align: right;
}

    table.campaigns tbody tr td.stat.load-target {
        font-style: italic;
    }
    
.form-group.title
    {
    font-size: 16px;
    }
    
.form-group.url .value-show,
.form-group.tracking_pixels .value-show div.url
    {
    padding: 5px;
    line-height: 15px;
    font-family: monospace;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    word-wrap: break-word;
    }
    
    .form-group.tracking_pixels .value-show div.url
        {
        line-height: 15px;
        margin-bottom: 4px;
        }


.form-group label.select-item.disabled
    {
    color: #BCBCBC;
    }
    
.form-group .value-show span
    {
    font-size: 13px;
    color: #000000;
    }
    
    .form-group .value-show b
        {
        color: #23527c;
        }


.panel-heading h1
    {
    display: inline-block;
    }
    
.form-control.date-value,
.form-control.price,
.form-control.money-limit-total,
.form-control.limit
    {
    display: inline;
    }
    
        .form-control.date-value
            {
            width: 110px;
            }
    
        .form-control.price,
        .form-control.money-limit-total
            {
            width: 100px;
            }
            
        .form-control.limit
            {
            width: 70px;
            margin-bottom: 4px;
            }
            
            .form-group.campaign-money-limit .form-control.limit
                {
                width: 100px;
                }
    
.form-group label:first-child
    {
    margin-right: 10px;
    }
    
.form-group label.select-item
    {
    font-weight: normal;
    }
    
.form-group .campaign-visitor-limit
    {
    float: left;
    width: 240px;
    }

.form-group .tracking_pixels_item label
    {
    font-weight: normal;
    }
    
.form-group .tracking_pixels_urls .url-item
    {
    margin-bottom: 4px;
    padding-right: 20px;
    height: 34px;
    }
    
.form-group .tracking_pixels_urls input
    {
    float: left;
    width: 100%;
    }
 
table.campaigns tbody tr.disabled
    {
    opacity: 0.5;
    }
            
table.campaign-banners thead tr th {
    text-align: right;
}
            
table.campaign-banners tbody tr td {
    font-size: 12px;
    font-family: monospace;
    white-space: nowrap;
    text-align: right;
}

    table.campaign-banners tbody tr td.stat.load-target {
        font-style: italic;
    }

    table.campaign-banners tbody tr td span.banner-preview
        {
        display: inline-block;
        width: 48px;
        height: 48px;
        cursor: pointer;
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        }

.b-popup__window.preview {
    width: auto;
    min-width: 380px;
    overflow: hidden;
}

.b-popup-message
    {
    display: none;
    position: absolute;
    top: 140px;
    left: 25px;
    width: 330px;
    color: #D93025;
    text-align: center;
    border-radius: 4px;
    font-weight: bold;
    }

.b-popup-content {
    min-height: 300px;
    max-height: 800px;
    padding: 10px;
}
    
    .b-popup-content h2
        {
        color: #000000;
        }
        
        .b-popup-content h2 b
            {
            color: #39B54A;
            }
            
        .b-popup-content h2 span
            {
            font-family: 'RalewayRegular', sans-serif;
            }
    

.b-popup__window.preview .banner-img {
    text-align: center;
}
        
textarea#campaign-stat,
textarea#campaign-stat-total,
textarea#campaign-stat-cats
    {
    display: none;
    }
    
.chart-graph-stat-info,
.chart-graph-stat-error
    {
    display: none;
    padding-top: 160px;
    height: 370px;
    text-align: center;
    }
    
#chart-graph-stat
    {
    height: 370px;
    }
    
    
/*
    #table-stat
*/
.b-table_wrapp.report
    {
    display: none;
    margin-top: 30px;
    }
    
    .table.table-striped
        {
        font-family: monospace;
        }
        
        .table.table-striped thead.sortable tr b
            {
            cursor: pointer;
            }

            .table.table-striped thead.sortable tr b.not-sorted
                {
                cursor: default;
                }
        
            .table.table-striped thead.sortable tr b.selected
                {
                color: #2CA02C;
                }
        
            .table.table-striped thead.sortable tr span
                {
                display: inline-block;
                border-bottom: 2px solid red;
                }
    
        .table.table-striped thead tr b .arrow
            {
            display: none;
            }

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

        .table.table-striped thead.sortable tr b.selected .arrow.desc,
        .table.table-striped thead.sortable tr b.selected.desc .arrow.asc
            {
            display: none;
            }
            
        .table.table-striped tbody tr.total
            {
            font-weight: bold;
            }
        
    