﻿.index圖片播放器1 {
    --slide-height: 30vw; /*Set height here*/
    --caption-rectengle-bg-color: rgba(245, 191, 66, 0.75);
    --details-rectengle-bg-color: rgba(255, 255, 255, 0.75);
    --border-color : #015d6b;

    width: 100%; /* Set width here */
    margin: 0 auto;
    box-sizing: border-box;
    
}

    .index圖片播放器1 .blockContent, .index圖片播放器1 .loopElementList, .index圖片播放器1 .elementContainer {
    }

    .index圖片播放器1 .blockContent
    {
       border-top : solid 2px var(--border-color);
    }

    .index圖片播放器1 .oneSlide {
        display: block;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center center;
        height: var(--slide-height); /* Set height here */
        position: relative;
    }

    .index圖片播放器1 .textBox {
        position: absolute;
        left: 0;
        bottom: 1em;
        display: flex;
        flex-direction: column;
    }

    .index圖片播放器1 .captionRectengle {
        background-color: var(--caption-rectengle-bg-color);
        padding : 0.5em;
        display : inline-block;
    }

    .index圖片播放器1 .captionText {
        font-weight : bold;
    }

    .index圖片播放器1 .detailsRectengle {
        background-color: var(--details-rectengle-bg-color);
        padding: 0.5em;
        display: inline-block;
    }

    .index圖片播放器1 .detailsText {
    }

    .index圖片播放器1 .captionRectengle:has(.captionText:empty),
    .index圖片播放器1 .detailsRectengle:has(.detailsText:empty) {
        display: none;
    }

    .index圖片播放器1 .slick-active .captionRectengle,
    .index圖片播放器1 .slick-active .detailsRectengle {
        animation: pp-style10-scaleUp 0.5s cubic-bezier(0.250, 0.460, 0.450, 0.940) both;
    }

@keyframes pp-style10-scaleUp {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}



/* 左右箭咀 */
.index圖片播放器1 .slick-prev,
.index圖片播放器1 .slick-next {
    width: 50px; /* 箭咀大小 */
    height: 50px; /* 箭咀大小 */
    z-index: 1;
}

    .index圖片播放器1 .slick-prev:before,
    .index圖片播放器1 .slick-next:before {
        font-size: 50px; /* 箭咀大小 */
        opacity: .75;
        color: white;
    }

.index圖片播放器1 .slick-prev {
    left: 25px;
}

.index圖片播放器1 .slick-next {
    right: 25px;
}

/* ================================================================================== */

/* Slider */
.index圖片播放器1 .slick-loading .slick-list {
    background: #fff url('/App_Ecmascript/slick/ajax-loader.gif') center center no-repeat;
}

/* Icons */
@font-face {
    font-family: 'slick';
    font-weight: normal;
    font-style: normal;
    src: url('/App_Ecmascript/slick/fonts/slick.eot');
    src: url('/App_Ecmascript/slick/fonts/slick.eot?#iefix') format('embedded-opentype'), url('/App_Ecmascript/slick/fonts/slick.woff') format('woff'), url('/App_Ecmascript/slick/fonts/slick.ttf') format('truetype'), url('/App_Ecmascript/slick/fonts/slick.svg#slick') format('svg');
}

/* Arrows */
.index圖片播放器1 .slick-prev,
.index圖片播放器1 .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: 50%;
    display: block;
    padding: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    background: transparent;
}

    .index圖片播放器1 .slick-prev:hover,
    .index圖片播放器1 .slick-prev:focus,
    .index圖片播放器1 .slick-next:hover,
    .index圖片播放器1 .slick-next:focus {
        color: transparent;
        outline: none;
        background: transparent;
    }

        .index圖片播放器1 .slick-prev:hover:before,
        .index圖片播放器1 .slick-prev:focus:before,
        .index圖片播放器1 .slick-next:hover:before,
        .index圖片播放器1 .slick-next:focus:before {
            opacity: 1;
        }

    .index圖片播放器1 .slick-prev.slick-disabled:before,
    .index圖片播放器1 .slick-next.slick-disabled:before {
        opacity: .25;
    }

    .index圖片播放器1 .slick-prev:before,
    .index圖片播放器1 .slick-next:before {
        font-family: 'slick';
        line-height: 1;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    .index圖片播放器1 .slick-prev:before {
        content: '←';
    }

    .index圖片播放器1 .slick-next:before {
        content: '→';
    }

/* Dots */
.index圖片播放器1 .slick-dotted.slick-slider {
    margin-bottom: 30px;
}

.index圖片播放器1 .slick-dots {
    position: absolute;
    bottom: 0px;
    display: flex;
    justify-content: flex-end;
    padding: 0;
    margin: 0;
    list-style: none;
    width : 100%;
}

    .index圖片播放器1 .slick-dots li {
        position: relative;
        display: inline-block;
        width: 20px;
        height: 20px;
        margin: 0 5px;
        padding: 0;
        cursor: pointer;
    }

        .index圖片播放器1 .slick-dots li button {
            font-size: 0;
            line-height: 0;
            display: block;
            width: 20px;
            height: 20px;
            padding: 5px;
            cursor: pointer;
            color: transparent;
            border: 0;
            outline: none;
            background: transparent;
        }

            .index圖片播放器1 .slick-dots li button:hover,
            .index圖片播放器1 .slick-dots li button:focus {
                outline: none;
            }

                .index圖片播放器1 .slick-dots li button:hover:before,
                .index圖片播放器1 .slick-dots li button:focus:before {
                    opacity: 1;
                }

            .index圖片播放器1 .slick-dots li button:before {
                font-family: 'slick';
                font-size: 6px;
                line-height: 20px;
                position: absolute;
                top: 0;
                left: 0;
                width: 20px;
                height: 20px;
                content: '•';
                text-align: center;
                opacity: .95;
                color: #FFFFFF;
                -webkit-font-smoothing: antialiased;
                -moz-osx-font-smoothing: grayscale;
            }

        .index圖片播放器1 .slick-dots li.slick-active button:before {
            opacity: .95;
            color: black;
        }

@media (max-width: 767px) {
    .index圖片播放器1 .slick-prev
    .index圖片播放器1 .slick-next,
    .index圖片播放器1 .slick-prev:before,
    .index圖片播放器1 .slick-next:before,
    .index圖片播放器1 .slick-dots li button:before {
        display: none;
    }

    .index圖片播放器1 .textBox {
        font-size: 0.8em;
    }

    .index圖片播放器1 .detailsRectengle {
        display: none;
    }

    .index圖片播放器1 .captionText {
        line-height: 1.5;
        height: 1.9em;
        border: solid 0.2em transparent;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .index圖片播放器1 .textBox {
        font-size: 1em;
    }

    .index圖片播放器1 .captionRectengle {
        
    }

    .index圖片播放器1 .detailsRectengle {
        display: none;
    }

    .index圖片播放器1 .captionText {
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 1;
    }
}

@media (min-width: 980px) and (max-width:1199px) {
    .index圖片播放器1 .textBox {
        font-size: 1.3em;
    }

    .index圖片播放器1 .captionRectengle {

    }

    .index圖片播放器1 .detailsRectengle {

    }

    .index圖片播放器1 .captionText, .index圖片播放器1 .detailsText {
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .index圖片播放器1 .captionText {
        -webkit-line-clamp: 1;
    }

    .index圖片播放器1 .detailsText {
        -webkit-line-clamp: 1;
    }
}

@media (min-width: 1200px) and (max-width:1919px) {
    .index圖片播放器1 .textBox {
        font-size: 1.4em;
    }

    .index圖片播放器1 .captionRectengle {

    }

    .index圖片播放器1 .detailsRectengle {

    }

    .index圖片播放器1 .captionText, .index圖片播放器1 .detailsText {
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .index圖片播放器1 .captionText {
        -webkit-line-clamp: 1;
    }

    .index圖片播放器1 .detailsText {
        -webkit-line-clamp: 1;
    }
}

@media (min-width: 1920px) {
    .index圖片播放器1 .textBox {
      font-size: 1.5em;
    }

    .index圖片播放器1 .captionRectengle {

    }

    .index圖片播放器1 .detailsRectengle {

    }

    .index圖片播放器1 .captionText, .index圖片播放器1 .detailsText {
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
    }

    .index圖片播放器1 .captionText {
        -webkit-line-clamp: 1;
    }

    .index圖片播放器1 .detailsText {
        -webkit-line-clamp: 1;
    }
}
