﻿/* 整個內容方塊 */
.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 .blockContent
{
   padding: 0 5% 25px 5%;
}

/*單一比賽*/
    .index學生成就10 .eachCompetition {
        
        
    }

    .index學生成就10 .innerShell {
        border-bottom: var(--r-el-border-bottom, solid 1px #dddddd);
        padding: var(--r-el-padding, 1rem);
        display: block;
        position: relative;
    }

.index學生成就10 .row
{
    display : flex;
    flex-direction : row;
    justify-content : flex-start;
    align-items : baseline;
    margin-bottom : 1rem;
}

    /*日期*/
    .index學生成就10 .date {
        font-size: var(--r-smaller-font, 0.8rem);
        flex-grow: 0;
        flex-shrink: 0;
        width: 7rem;
        padding-right: var(--r-hori-gap, 2em);
    }

        /*標題*/
    .index學生成就10 .heading {
        font-weight: var(--r-heading-font-weight, 700);
        font-size: var(--r-heading-font-size, 1.2em);
        flex-grow: 1;
        flex-shrink: 1;
    }

        /*詳情*/
    .index學生成就10 .details {
        margin: 0 0 0.5em 0;
    }

    .index學生成就10 .details:empty {
        display:none;
    }

    /*所有獎項的容器*/
    .index學生成就10 .eachAward {
        margin: 0 0 1em 0;
    }

    /*獎項名稱*/
    .index學生成就10 .award {
    }

    .index學生成就10 .allWinners {
        padding-left : 1rem;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content : flex-start;
        align-items : flex-start;
        align-content : flex-start;
    }

    /*得獎人*/
    .index學生成就10 .winner {
        font-size: var(--r-smaller-font, 0.8rem);
        padding : 5px 10px;
    }

    .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;
    }

@media (max-width:480px) {
    .index學生成就10 .row {
        display: block;
    }

    .index學生成就10 .date {
        padding-right: 0;
    }
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
    .index學生成就10 .loopElementList {
        height : auto;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+6) {
            display: block;
        }
    .index學生成就10 .loopElementList {
        height : auto;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
    .index學生成就10 .loopElementList {
        height : auto;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index學生成就10 .eachCompetition {
        display: none;
    }

        .index學生成就10 .eachCompetition:nth-child(-n+8) {
            display: block;
        }
  
  .index學生成就10 .row
  {
     display : block; 
  }
}

@media (min-width: 1200px) and (max-width:1919px) {
    
  .index學生成就10 .row
  {
     display : block; 
  }
}

@media (min-width: 1920px) {
}
