﻿/* 整個內容方塊 */
.index學生成就10 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
    
    
}

    /* 內容方塊標題 */
    .index學生成就10 .blockTitle {
        text-align: center;
    }

        .index學生成就10 .blockTitle h2 {
        }

        /* 內容方塊標題超連結 */
        .index學生成就10 .blockTitle a {
        }

    /* 比賽容器，每個比賽都放在裡面 */
    .index學生成就10 .loopElementList {
        height : 600px;   /*--- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index學生成就10 .elementContainer {
        padding: var(--r-container-padding, 1em);
    }


/*單一比賽*/
    .index學生成就10 .eachCompetition {
        
        
    }
    .index學生成就10 .eachCompetition:nth-child(odd){}
    .index學生成就10 .eachCompetition:nth-child(even)
    {
       background-color : rgba(255,255,255,0.2);
    }

    .index學生成就10 .innerShell {
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
    }

    .index學生成就10 .hasPic .thumbContainer {
        flex-grow: 0;
        flex-shrink: 0;
    }

    .index學生成就10 .noPic .thumbContainer {
        display: none;
    }

    /*圖片*/
    .index學生成就10 .themePic {
        max-width: 100%;
        height: auto;
    }

    /*右方*/
    .index學生成就10 .right {
        flex-grow: 1;
        flex-shrink: 1;
        padding-left: var(--r-hori-gap, 2em);
    }

    .index學生成就10 .noPic .right {
        padding-left : 0;
    }

        /*日期*/
        .index學生成就10 .date {
            font-size: var(--r-smaller-font, 0.8rem);
        }

    /*標題*/
    .index學生成就10 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
    }

    .index學生成就10 .eachCompetition .link {
        position: absolute;
        z-index: 1;
        top: 0;
        right: 0;
        left: 0;
        bottom: 0;
    }

    .index學生成就10 .more {
        text-align: right;
        font-weight: 700;
        font-size: 1.5em;
        margin-right: 2em;
        font-style: italic;
        line-height: 2;
        color : brown;
    }

@media (max-width: 480px) {
    .index學生成就10 .innerShell{
        display : block;
    }
    .index學生成就10 .right {
        padding-left: 0;
    }
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index學生成就10 .hasPic .thumbContainer {
        flex-basis: 50%;
        max-width: 200px;
    }

    .index學生成就10 .hasPic .right {
        flex-basis: 50%;
    }
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index學生成就10 .hasPic .thumbContainer {
        flex-basis: 35%;
        max-width: 340px;
    }

    .index學生成就10 .hasPic .right {
        flex-basis: 65%;
    }
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index學生成就10 .hasPic .thumbContainer {
        flex-basis: 30%;
        max-width: 340px;
    }

    .index學生成就10 .hasPic .right {
        flex-basis: 70%;
    }
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index學生成就10 .hasPic .thumbContainer {
        flex-basis: 30%;
        max-width: 360px;
    }

    .index學生成就10 .hasPic .right {
        flex-basis: 70%;
    }
}

@media (min-width: 1920px) {
    .index學生成就10 .hasPic .thumbContainer {
        flex-basis: 20%;
        max-width: 400px;
    }

    .index學生成就10 .hasPic .right {
        flex-basis: 80%;
    }
}
