﻿[v-cloak] {
    display: none;
}

#waterImageryChanges {
    font-size: 16px;
    min-width: 365px;
}

ul li {
    list-style: disc;
    margin: 20px 0;
}

img {
    width: 100%;
    height: 100%;
}

button {
    border: 0;
    margin: 0 5px;
    cursor: pointer;
}

.breadcrumb {
    margin: 2% 0 0 5%;
}

.gif, .video__section video {
    width: 80%;
    margin-left: 3%;
}

.hushan-video {
    width: 90%;
    margin: 0 0 0 -2%;
}

.compare__section {
    margin-bottom: 5%;
}

ul button {
    margin-top: 10px;
    min-width: 90px;
}

.intro, .compare__container, .compare__video {
    max-width: 90%;
    margin: 0 auto;
    letter-spacing: 0.5px;
}

.intro, .compare, .compare-video {
    padding: 2% 0;
}

.intro__title, .compare__title {
    display: flex;
    align-items: center;
    width: 40%;
    padding: 15px 10px 10px;
    border-bottom: 2px solid #1A82D9;
    margin-left: 15px;
    font-size: 18px;
    font-weight: bold;
    color: #1A82D9;
}

    .intro__title img, .compare__title img {
        width: 8%;
        padding-bottom: 5px;
    }

.card__container {
    display: flex;
    flex-wrap: wrap;
}

.intro .card {
    width: 31%;
    box-shadow: 0px 0px 6px #00000029;
    border-radius: 6px;
    padding: 10px 10px 20px;
    margin: 10px;
    min-height: 500px;
    cursor: pointer;
}

.card img {
    height: 60%;
    object-fit: cover;
}

.card__title {
    font-weight: bold;
    font-size: 18px;
    margin: 10px 0;
}

.card__content {
    line-height: 1.5;
    margin-top: 0;
}

.compare__section:nth-child(2n+1) {
    background-color: #F0F9FF;
    background-image: url('../../../../../Content/Images/背景雲朵.svg');
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: contain;
}

.compare__container {
    position: relative;
    padding-top: 3%;
}

.compare__content {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
}

.compare__images {
    display: flex;
    flex-wrap: wrap;
    margin: 0 2% 2%;
    width: 56%;
}

.image {
    position: relative;
    width: 50%;
}

.compare__select {
    margin: 20px 0;
}

    .compare__select:first-child {
        margin-top: 0;
    }

    .compare__select .active {
        background-color: #1A82D9;
        color: white;
    }

.serial-number {
    position: absolute;
    top: 0px;
    right: 10px;
}

.number-style {
    width: 30px;
    height: 30px;
    background-color: white;
    color: #1A82D9;
    border-radius: 3px;
    font-weight: bold;
    text-align: center;
    align-content: center;
    box-shadow: 0px 0px 3px #00000029;
}

.compare__gif {
    width: 42%;
    margin-left: 2%;
    margin-bottom: 8%;
    z-index: 1;
    position: relative;
}

.compare__description {
    display: flex;
    margin-bottom: 10px;
    align-items: center;
}

button {
    margin-left: 15px;
    padding: 5px 8px;
    border-radius: 5px;
    border: 1px solid #1A82D9;
    box-shadow: 0px 0px 5px #00000029;
    text-align: center;
    align-content: center;
    background-color: white;
    color: #1A82D9;
}

    button:active {
        background-color: #1A82D9;
        color: white;
    }

/* 屏東大潮州 image comparison startregion */
.img-comp-container {
    position: relative;
    margin-left: 3%;
    height: 400px; /*should be the same height as the images*/
}

.img-comp-img {
    position: absolute;
    width: auto;
    height: auto;
    overflow: hidden;
}

    .img-comp-img img {
        width: 850px;
        height: 400px;
        display: block;
        vertical-align: middle;
    }

.img-comp-slider {
    position: absolute;
    z-index: 9;
    cursor: ew-resize;
    width: 40px;
    height: 40px;
    background-color: #2196F3; /*set the appearance of the slider:*/
    opacity: 0.7;
    border-radius: 50%;
}
/* image comparison endregion*/
.tag-left {
    position: absolute;
    bottom: 0;
    left: 10px;
    width: 15%;
}

.tag-right {
    position: absolute;
    bottom: 0;
    right: 30%;
    width: 24%;
}

.drag-tutorial {
    width: 30%;
    text-align: center;
    margin: 5% 0 0 26%;
}

/* 影像比對功能操作 影片 */
section .compare-video {
    margin-left: 2%;
    margin-bottom: 10%;
}

.video__section {
    background-color: #F0F9FF;
    background-image: none;
    padding-bottom: 10%;
}

video {
    border-radius: 6px;
}

#backToTopButton {
    background-image: url('../../../../../Content/Images/Index/icon_回頂端.svg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: fixed;
    bottom: 20px;
    right: 15px;
    width: 60px;
    height: 60px;
    z-index: 2;
    cursor: pointer;
    background-color: #FFB82A;
    border-radius: 5px;
}
@media only screen and (min-width: 1550px) {
    /* 屏東大潮州 img compare */
    .img-comp-container, .img-comp-img img {
        height: 550px;
    }
    .img-comp-img img {
        width: 1400px;
    }
}
@media only screen and (min-width: 1240px) and (max-width: 1380px) {
    /* 屏東大潮州 img compare */
    .img-comp-img img {
        width: 950px;
    }
}
@media only screen and (min-width: 1380px) and (max-width: 1550px) {
    /* 屏東大潮州 img compare */
    .tag-right {
        right: 28%;
    }

    .img-comp-container, .img-comp-img img {
        height: 500px;
    }

    .img-comp-img img {
        width: 1050px;
    }

    .drag-tutorial {
        margin-left: 35%;
    }

    .compare__images {
        width: 65%;
    }
}

    @media only screen and (max-width: 1150px) {

        .drag-tutorial {
            margin-left: 32%;
        }
    }

    @media only screen and (max-width: 900px) {

        .intro__title, .compare__title {
            width: 70%;
        }

        .intro li {
            width: 100%;
        }

        .intro .card {
            width: 45%;
        }

        .compare__content {
            display: block;
        }

        .compare__select {
            margin-left: 3.5%;
        }

        .compare__images {
            width: 100%;
        }

        .image {
            width: 50%;
        }

        .compare__gif {
            width: 95%;
            margin-bottom: 15%;
        }

        .compare__video-intro, #backToTopButton {
            display: block;
        }

        .compare__video button {
            float: right;
            margin-bottom: 15px;
        }

        video {
            width: 95%;
            margin-left: 5%;
        }

        .gif,
        .video__section video,
        .compare__video,
        .hushan-video {
            width: 100%;
            max-width: 100%;
        }

        .video__section .compare__video {
            width: 90%;
        }

        .hushan-video {
            margin-left: 2%;
        }
        /* 屏東大潮州 img compare */
        .img-comp-container, .img-comp-img img {
            height: 300px;
        }

        .img-comp-img img {
            width: 700px;
        }

        .tag-right {
            right: 15%;
        }

        .drag-tutorial {
            width: 40%;
            margin-left: 22%;
        }
    }

    @media only screen and (max-width:700px) {
        /* 屏東大潮州 img compare */
        .img-comp-img img {
            width: 550px;
        }
    }

    @media only screen and (max-width:576px) {
        .intro, .compare__container, .compare__video {
            width: 100%;
        }

        .intro__title {
            width: 90%;
        }

            .intro__title img, .compare__title img {
                width: 12%;
            }

        .intro .card {
            width: 100%;
            min-height: 450px;
        }

        .gif {
            width: 98%;
        }

        .card img {
            height: 60%;
        }

        .compare__section:nth-child(2n) {
            padding-top: 10%;
        }

        .compare__select button {
            margin: 0 5px;
        }

        /* 屏東大潮州 img compare */
        .drag-tutorial {
            width: 45%;
            font-size: 13px;
        }

        .tag-left {
            width: 22%;
        }

        .tag-right {
            width: 35%;
            right: 20%;
        }

        .img-comp-container, .img-comp-img img {
            height: 220px;
        }

        .img-comp-img img {
            width: 330px;
        }
    }
