.img-wrapper {
    overflow-x: hidden;
    overflow-y: hidden;
    white-space: nowrap;
}

.img-wrapper .slide {
    border: 0px dashed pink;
    width: auto;
    height: auto;
    line-height: auto;
    display: inline-block;
    vertical-align: top;
}

.img-wrapper .slide img {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
    padding: 5px;
}

@media only screen and (min-width: 993px) {
    .img-wrapper .slide {
        height: 300px;
        line-height: 300px;
    }
}

.news-background {
    margin-top: -50px;
    position: relative;
    top: 50px;
    left: 0px;
    z-index: -1;
    /* Background pattern from Toptal Subtle Patterns */
    background-image: url("/files/news/images/news-background.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    height: 350px;
    width: 100%;
}

#parent {
    position: relative;
    /* border: 1px dashed pink; */
    border-radius: 8px;
}

#child {
    position: relative;
    text-align: left;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* background-color: #ffffff; */
    /* border: 1px solid #ddd; */
    /* border-radius: 8px; */
}

@media only screen and (min-width: 993px) {
    #parent {
        height: 140px;
    }

    #child {
        top: 50%;
        left: 0;
        transform: translateY(-50%);
        box-shadow: none;
    }
}

/* 固定圖片 */
#parent img.left {
    position: relative;
    float: left;
    top: 0px;
    left: 0px;
    width: 100px;
    height: auto;
    border-radius: 8px;
    /* border: 1px dashed blue; */
    margin-right: 10px;
}

.responsive-video {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
}
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
