﻿.container {
    width: 100%;
    padding-bottom: 0;
}

.container_Top {
    display: none;
}

.middleL {
    display: none;
}

.Title_L {
    display: none;
}

.container {
    width: 100%;
}

.middleC {
    width: 100%;
}

.index_top {
    width: 77rem;
    text-align: center;
    margin: 2rem auto;
}

.carousel {
    display: inline-block;
    vertical-align: top;
}

.Index_banner {
    width: 730px;
    height: 370px;
    position: relative;
}

    .Index_banner div {
        position: absolute;
        width: 100%;
        height: 100%;
        background-size: cover;
        opacity: 0;
    }

    .Index_banner div {
        -webkit-animation: round 9s infinite;
        animation: round 9s infinite;
    }

/*設定動畫週期*/
@-webkit-keyframes round {
    0% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    10% {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    30% {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    40% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    100% {
        opacity: 0;
        filter: alpha(opacity=0);
    }
}

@keyframes round {
    0% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    10% {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    30% {
        opacity: 1;
        filter: alpha(opacity=100);
    }

    40% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    100% {
        opacity: 0;
        filter: alpha(opacity=0);
    }
}

/*每張圖片進場時間相隔3秒*/
.Index_banner div:nth-child(1) {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.Index_banner div:nth-child(2) {
    -webkit-animation-delay: 3s;
    animation-delay: 3s;
}

.Index_banner div:nth-child(3) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}

.buttons {
    display: inline-block;
}

    .buttons > div {
        width: 25rem;
        text-align: center;
    }

        .buttons > div > a {
            display: inline-block;
            margin: 1rem;
        }


.new_div {
    background: url(../images/Templates/index_newBG.png) no-repeat top center;
    border-bottom: 2px #c9c9ca solid;
    min-height: 200px;
    padding-top: 5rem;
}

    .new_div > div {
        background-color: #f7f7f7;
        border-bottom: 8px #ffffff solid;
        padding-top: 1rem;
        padding-bottom: 5rem;
    }

        .new_div > div > div {
            width: 60rem;
            margin: 0 auto;
        }

.index_Title {
    background: url(../images/Templates/Items_R.png) no-repeat left;
}

    .index_Title > h2 {
        font-size: 1.9rem;
        font-weight: bold;
        color: #512564;
        margin-left: 3rem;
    }

.Ptitle {
    margin-top: 1rem;
}

.new_more {
    margin-top: 1.5rem;
    text-align: right;
    margin-right: 0.2rem;
}

    .new_more > a:link, .new_more > a:visited {
        border: 2px solid #6f6f6f;
        padding: 0.2rem 0.5rem;
        border-radius: 5px;
        color: #6f6f6f;
    }

.link_div > div {
    width: 60rem;
    margin: 3rem auto;
    margin-bottom: 1rem;
}

.Index_Link {
    padding: 1.5rem .5rem 2.5rem .5rem;
    text-align: center;
}

    .Index_Link > .boxstop {
        display: inline-block;
        margin-bottom: 1.5rem;
    }

    .Index_Link a:link > img {
        padding-right: 1rem;
        padding-left: 1rem;
        transition: all .1s ease-out;
    }

    .Index_Link a:hover > img {
        filter: drop-shadow(1px 1px 3px #808080);
    }

    .Index_Link > a > img {
        vertical-align: middle;
    }

@media screen and (max-width:1300px) {
    .carousel {
        width: 100%;
    }

    .Index_banner {
        width: 100%;
        height: 430px;
    }

        .Index_banner img {
            max-width: 100%;
        }


    .index_top {
        width: 98%;
    }

    .new_div > div > div {
        width: 98%;
    }

    .index_Title {
        width: 98%;
    }

    .link_div > div {
        width: 98%;
    }
}


@media screen and (max-width:768px) {
    .Index_banner {
        height: 50vw;
    }
}

@media screen and (max-width:599px) {
    .buttons > div {
        width: 100%;
    }
}
