#fullLightbox {
    left: 15vw;
    width: 75vw;
    background: #fff;
    max-height: 50vh;
}

@media screen and (min-width: 700px) {
    #fullLightbox {
        height: calc(100vh - 100px);
        width: 40vw;
        max-height: 440px;
        left: 30vw;
        height: calc(100vh - 10vw);
    }
}

@media screen and (min-width: 1000px) {
    #fullLightbox {
        height: calc(100vh - 100px);
        width: 40vw;
        max-height: 440px;
        left: 30vw;
    }
}

.lightbox img {
    max-width: 100%;
}

.popMessage {
    color: #333;
}

.popMessage a {
    color: #0A838A;
    -webkit-box-shadow:#0A838A 0 2px 0 -1px;
    box-shadow: #0A838A 0 2px 0 -1px;
}

.slick-autoplay-toggle {
    position: absolute;
    min-width: 40px;
    height: 30px;
    line-height: 22px;
    min-height: unset;
    top: 5px;
    right: 5px;
    z-index: 10;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

/* 螢幕寬度小於 768px 時縮小按鈕 */
@media screen and (max-width: 768px) {
    .slick-autoplay-toggle {
        min-width: 30px;
        height: 24px;
        padding: 2px 5px;
        font-size: 12px;
        transform: scale(0.85);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .slick-autoplay-toggle svg {
        height: 12px;
    }
    .slick-autoplay-toggle svg rect {
        y: 2; 
    }
}

/* 螢幕寬度小於 480px 時進一步縮小 */
@media screen and (max-width: 480px) {
    .slick-autoplay-toggle {
        min-width: 25px;
        height: 20px;
        padding: 1px 3px;
        font-size: 10.4px;
        transform: scale(0.75);
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .slick-autoplay-toggle svg {
        height: 10px; 
    }
    .slick-autoplay-toggle svg rect {
        y: 1; 
    }
}

#google_translate_element.hide {
    display: none !important;
}