﻿/* 整個內容方塊 */
.index通告6 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
}

    /* 內容方塊標題 */
    .index通告6 .blockTitle {
      text-align : center;
      background: linear-gradient(135deg, #299a0b 0%,#299a0b 100%); 
      padding : 5px 0;
    }

        /* 內容方塊標題超連結 */
        .index通告6 .blockTitle a {
          color : #FFFFFF;
          text-shadow: 1px 1px #000000;
        }

    /* 通告容器，每個通告都放在裡面 */
    .index通告6 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

/*單一通告*/
.index通告6 .eachNotice {
    border-bottom: solid 1px #dddddd;
    padding: 1rem;
    display : flex;
    flex-direction : row;
    flex-wrap : nowrap;
    justify-content : flex-start;
    align-items : flex-start;
}

/*日期*/
.index通告6 .date
{
    font-size: 0.8rem;
    flex-grow : 0;
    flex-shrink : 0;
    padding-right : 2rem;
    width : 8rem;
}

/*標題文字*/
.index通告6 .headingLink
{
    font-weight: 700;
    flex-grow: 1;
    flex-shrink: 1;
    flex-basis: calc(100% - 6rem);
}

/*通告編號*/
    .index通告6 .noticeNo {
        font-size: 0.8rem;
    }

.index通告6 .more
{
  font-size : 1.5em;
  text-align : right;
  padding: 1em;
}

@media (max-width: 480px) {
    /* 只顯示頭 6 個通告 */
    .index通告6 .eachNotice
    {
        display : none;
    }
    .index通告6 .eachNotice:nth-child(-n+6)
    {
        display : block;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    /* 只顯示頭 6 個通告 */
    .index通告6 .eachNotice
    {
        display : none;
    }
    .index通告6 .eachNotice:nth-child(-n+6)
    {
        display : flex;
    }
}
@media (min-width: 768px) and (max-width: 979px) {
    /* 只顯示頭 6 個通告 */
    .index通告6 .eachNotice
    {
        display : none;
    }
    .index通告6 .eachNotice:nth-child(-n+6)
    {
        display : block;
    }
}
@media (min-width: 980px) and (max-width:1199px) {
    /* 只顯示頭 8 個通告 */
    .index通告6 .eachNotice
    {
        display : none;
    }
    .index通告6 .eachNotice:nth-child(-n+8)
    {
        display : flex;
    }
}
@media (min-width: 1200px) and (max-width:1919px) {
}

@media (min-width: 1920px) {
}
