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

.btn.btn-primary.save-folders
    {
    display: block;
    position: absolute;
    bottom: 4px;
    width: 112px;
    }

.b-list {
    padding: 4px;
    width: 135px;
    height: calc(100vh - 40px);
    background-color: #F8F9FA;
}

.b-list_folders {
    display: none;
    margin: 8px 0 4px 0;
    height: calc(100vh - 140px);
    overflow-y:auto;
}

.b-list_folders-item
    {
    position: relative;
    margin-bottom: 2px;
    background-color: #E6E7E8;
    cursor: pointer;
    }
    
    .b-list_folders-item b
        {
        position: absolute;
        right: 0;
        width: 16px;
        font-size: 12px;
        line-height: 22px;
        color: #fff;
        background-color: #009444;
        text-align: center;
        }
    
    .b-list_folders-item.active
        {
        font-weight: bold;
        color: #333 !important;
        /*opacity: 1 !important;*/
        }
        
    /*.b-list_folders.new .b-list_folders-item.viewed*/
    .b-list_folders-item.viewed 
        {
        color: #9FA0A0;
        /*opacity: 0.45;*/
        }

.b-preview
    {
    padding: 0px;
    height: calc(100vh - 40px);
    overflow:auto;
    }
    
    .b-preview_inner
        {
        display: none;
        }
        
        .b-preview_inner.active
            {
            display: block;
            }
    
    .b-loading {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        width: 100%;
        background-image: url(../img/loading.gif);
        background-position: center center;
        background-repeat: no-repeat;
        background-color: #FFF;
        z-index: 9999;
    }
    
    .b-folder-content .sorted
        {
        margin-left: -10px;
        margin-right: 20px;
        }
        
    .b-folder-content .not-sorted
        {
        margin-left: -20px;
        }
        
    
.b-foto {
    padding: 4px;
    
}

        

    .b-foto_inner {
        position: relative;
        border: 1px solid #8D9094;
        border-radius: 4px;
        overflow: hidden;
        cursor: pointer;
    }
        .b-foto_inner.selected {
            border-width: 4px;
        }
        
        .b-folder-content.has-selected .b-foto_inner.paired {
            cursor: default;
            opacity: 0.5;
        }
        
        .b-foto_img {
            width: 100%;
        }
        
        .b-foto_number {
            display: none;
            position: absolute;
            top: 2px;
            left: 2px;
            height: 20px;
            width: 20px;
            color: #FFF;
            text-align: center;
            background-color: #0069d9;
            border-radius: 4px;
        }
    
        .b-foto_inner.selected .b-foto_number {
            display: block;
        }
            