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

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

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

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

.b-list_folders-item
    {
    position: relative;
    cursor: pointer;
    }
    
    .b-list_folders-item b
        {
        position: absolute;
        font-size: 12px;
        line-height: 22px;
        right: 0;
        }
        
    .b-list_folders-item.viewed
        {
        opacity: 0.45;
        }
        
    .b-list_folders-item.active
        {
        font-weight: bold;
        opacity: 1;
        }

.b-preview
    {
    height: calc(100vh - 40px);
    overflow:auto;
    }
    
    .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;
        height: 300px;
        border: 1px solid #8D9094;
        border-radius: 4px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        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_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;
        }
            