﻿/* 整個內容方塊 */
.index底部捷徑列8 {
    /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the whole block, change the number.*/
}

    /* 內容方塊標題 */
    .index底部捷徑列8 .blockTitle {
        text-align: center;
    }

        .index底部捷徑列8 .blockTitle h2 {
        }

    /* 捷徑容器，每個捷徑都放在裡面 */
    .index底部捷徑列8 .loopElementList {
        /*height : 300px;   --- if simpleBar (i.e. scroll bar) is set on the content, change the number.*/
    }

    .index底部捷徑列8 .elementContainer {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
        align-items: flex-start;
        padding: var(--r-container-padding, 1em);
    }

    .index底部捷徑列8 .eachShortcut {
        display: block;
        position: relative;
        border-radius: 10px;
        overflow: hidden;
        margin: 0.5rem;
    }

    .index底部捷徑列8 .innerShell {
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
        transition: all .5s;
    }

    .index底部捷徑列8 .eachShortcut:hover .innerShell,
    .index底部捷徑列8 .eachShortcut:focus .innerShell {
        transform: scale(1.2);
    }

    .index底部捷徑列8 .innerShell::before {
        content: "";
        display: none;
        height: 100%;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background-color: rgba(52, 73, 94, 0.2);
    }

    .index底部捷徑列8 .eachShortcut:hover .innerShell:before,
    .index底部捷徑列8 .eachShortcut:focus .innerShell:before {
        display: block;
    }

    .index底部捷徑列8 .heading.hideText
    {
        display : none;
    }

    .index底部捷徑列8 .heading {
        display : none;
        position: absolute;
        bottom: 10%;
        left: 10%;
        color: #ffffff;
        background: linear-gradient(135deg, rgba(109,179,242,1) 0%,rgba(84,163,238,1) 50%,rgba(54,144,240,1) 51%,rgba(30,105,222,1) 100%);
        text-shadow: 0 0 3px #808080;
        font-weight: 600;
        font-size: 1rem;
        padding: 0.2em;
        transition: all .5s;
    }

    .index底部捷徑列8 .eachShortcut:hover .heading {
        background: linear-gradient(135deg, rgba(167,207,223,1) 0%,rgba(35,83,138,1) 100%);
    }

@media (max-width: 480px) {
    .index底部捷徑列8 .eachShortcut {
        width: 160px;
        height: 64px;
    }
    .index底部捷徑列8 .heading
    {
      font-size : 0.8em;
    }
}

@media (min-width: 481px) and (max-width: 767px) {
    .index底部捷徑列8 .eachShortcut {
        width: 250px;
        height: 100px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index底部捷徑列8 .eachShortcut {
        width: 250px;
        height: 100px;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index底部捷徑列8 .eachShortcut {
        width: 250px;
        height: 100px;
    }
}

@media (min-width: 1200px) {
    .index底部捷徑列8 .eachShortcut {
        width: 250px;
        height: 100px;
    }
}
