﻿
/* 所有文件類別容器 */
.allCategory
{
    border : none 0;
    margin-top: 20px;
    box-sizing : border-box;
}

/* 單一文件類別 */
.eachCategory {
    box-sizing: border-box;
    width: 100%;
    position: relative;
    margin-bottom: 2rem;
}

    .eachCategory h2
    {
        margin : 0 0 7px 0;
    }

    .eachCategory .eachCategory {
        padding-left: 2rem;
    }

/* 單一文件 */
.eachDocument {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 10px;
    border-bottom: solid 1px #dddddd;
    position: relative;
}

    .eachDocument > a
    {
        display : block;
        flex-grow : 5;
        flex-shrink : 1;
    }

    .thumbNail {
        margin-right: 1rem;
    }

    .documentName
    {
        font-weight: 700;
        flex-basis : 50%;
    }

.documentDate {
    display: block;
    font-size: 0.8rem;
    margin-left: 1rem;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: 50%;
}

.documentDescription {
    line-height: 2rem;
    flex-grow: 1;
    flex-shrink: 1;
}