﻿/* 首頁CSS Default.aspx */


/* Section with background image */
section.with-bg {
    /*background-image: url('/Images/section-bg.jpg');*/
    background-position: center;
    background-size: cover;
    margin-top: 40px;
    padding-top: 60px;
    padding-bottom: 30px;
}

    section.with-bg h1 {
        position: absolute;
        top: -90px;
    }

/* Link */
.section-link .image-box {
    margin-bottom: 30px;
}

.product-separator {
    background-color: #891C21;
    color: #fff;
    padding: 15px 0;
    margin: 0 auto;
}

.section-home-link {
    padding: 30px 0;
}

    .section-home-link .links {
        position: relative;
        margin-bottom: 15px;
    }

    .section-home-link .title {
        position: absolute;
        padding-top: 10px;
        margin: 0;
        width: 40%;
    }

    .section-home-link .slick-slider {
        padding-top: 35px;
    }

    .section-home-link .slick-dots {
        counter-reset: dots;
        position: absolute;
        top: 3px;
        right: 0;
        bottom: auto;
        width: 60%;
        text-align: right;
        list-style: none;
        padding-inline-start: unset;
        display: flex;
        justify-content: flex-end;
    }

        .section-home-link .slick-dots > li {
            display: inline-block;
            color: #ddd;
            border-bottom: 2px solid #ddd;
            padding: 0 8px;
            font-weight: bold;
            margin-left: 0px;
        }

            .section-home-link .slick-dots > li button {
                all: unset;
                font-size: 12px;
                counter-increment: dots;
                content: counter(dots);
            }

        .section-home-link .slick-dots > .slick-active {
            border-color: #C82C6C;
        }

            .section-home-link .slick-dots > .slick-active button {
                color: #C82C6C;
            }

.section-news:not(.not) {
    background-color: rgba(183, 183, 183, 0.5);
    overflow: hidden;
    padding: 40px 15px;
}

.section-news.not {
    padding: 40px 15% 20px;
}

    .section-news.not .container-fluid {
        display: none;
    }

.section-news .image-box {
    background-color: #fff;
}

    .section-news .image-box .body {
        padding: 15px;
    }

    .section-news .image-box .title, .section-news .image-box p {
        color: #333;
    }

.section-news .body p:last-child {
    margin-bottom: 0;
}

.section-news .slick-slide {
    margin: 0 30px;
    opacity: 0.5;
}

    .section-news .slick-slide.slick-current {
        opacity: 1;
    }

.section-news .slick-prev {
    position: absolute;
    top: calc(50% - 12px);
    right: calc(100% - 30px);
    z-index: 1;
}

.section-news .slick-next {
    position: absolute;
    top: calc(50% - 12px);
    left: calc(100% - 30px);
    z-index: 1;
}

.with-aside .section-banner {
    padding: 0;
}

.section-links {
    background-image: url(/Images/links-bg.png);
    background-position: center;
    padding: 40px 0 20px;
    border-bottom: 1px solid #ddd;
}

.section-link {
    background: url(/Images/links-bg.png) center center;
    padding: 40px 0 20px;
    border-bottom: 1px solid #ddd;
}

@media (max-width:767px) {
    .section-news .navigation-prev .point {
        text-align: left;
    }

    .section-news .navigation-next .point {
        text-align: right;
    }
}

@media (min-width:768px) {
    .section-news:not(.not) {
        padding: 40px 0px;
    }

    .section-news .slick-prev {
        right: calc(100% - 60px);
    }

    .section-news .slick-next {
        left: calc(100% - 60px);
    }

    .section-news .slick-slide {
        margin: 10px 30px;
    }
}

@media (min-width:992px) {

    .section-news .slick-prev {
        right: calc(100% - 90px);
    }

    .section-news .slick-next {
        left: calc(100% - 90px);
    }
}

@media (min-width:1200px) {
    .section-news .slick-prev {
        right: calc(100% - 112px);
    }

    .section-news .slick-next {
        left: calc(100% - 112px);
    }
}
