@import "../public/hansSetting.less";

@mobile-img-padding-bottom: 8.1vmin;

@media (max-width: 991.98px){
    .title-block {
        padding: 0 0 2rem 0 !important;
        .titleImage{
            padding-bottom: @mobile-img-padding-bottom;
        }
        .jumpMenu {
            top: auto !important;
            bottom: @mobile-img-padding-bottom - 1.8vmin;
            .detail{
                right: 0;
                color: @deep_support_color_2 !important;
                padding: 1rem !important;
            }
        }
        .head {
            border: 0 !important;
            padding: 5.4vmin 14.4vmin !important;
            [class*="col-"] {
                padding: 0 !important;
            }
            .contentTitle {
                font-size: @mobile-font-size-lg !important;
            }
            .desc {
                position: static !important;
                font-size: @mobile-font-size-sm !important;
                letter-spacing: 0.4vmin !important;
                line-height: @mobile-font-size-llg !important;
            }
            .share {
                margin-top: 1.8vmin;
                a {
                    padding-right: 1.8vmin;
                }
            }
        }
        .title-subject{
            padding: 0px;
            border-top: 1px solid @deep_support_color_2;
            margin-top: 1rem;
            .tours {
                margin-top: 4rem !important;
                table {
                    font-size: @mobile-font-size-sm !important;
                }
            }
        }
        .tagList {
            padding: 0 9vmin !important;
        }
    }
    .notice-block, .content-block {
        padding-top: 2em !important;
        .content {
            .detail {
                padding: 7.2vmin 9vmin 0 9vmin !important;
            }
        }
    }
    .notice-block {
        .ship a span {
            margin: 3.6vmin 0;
            padding: 0 @mobile-font-size-lg*2 !important;
            letter-spacing: 5px !important;
            //-webkit-line-clamp: 2 !important;
        }
    }

    .tempModule {
        padding-top: 2em !important;
        & > .content {
            .moduleTemp {
                max-height: 150vh;
                overflow: hidden;
            }

            .tempControlBtn {
                color: @standard_color;
                font-size: @mobile-font-size-ml;
                background-color: @deep_support_color;
                padding: 0.9vmin 0;

                div {
                    padding: 0 9vmin;
                }
            }

            &.showTemp {
                .moduleTemp {
                    max-height: none !important;
                }
            }
        }
    }
    .title-block > .row {
        .tours, .tags {
            padding: 0 15px 0 15px !important;
        }
    }
    table tr {
        font-size: 0.9em;
        th {
            padding: 5px !important;
        }
    }
    .news, .blog {
        .content-block {
            .content {
                .title {
                    border: 0;
                    color: @standard_color;
                    font-size: 4.5vmin;
                    padding: 7.2vmin 9vmin 5.4vmin !important;
                    letter-spacing: 0.9vmin;
                    .date {
                        font-size: 3.6vmin;
                        color: @standard_color;
                        font-weight: lighter;
                        display: block !important;
                    }
                }
                .detail{
                    font-size: 3.6vmin;
                    letter-spacing: 0.4vmin;
                    padding-left: 0;
                    padding-bottom: 2em;
                    padding-right: 1em;
                }
            }
        }
    }
    .content-block, .notice-block {
        .detail img {
            width: 100% !important;
        }
    }
}

body {
    color: @deep_font_color;
}
.headerImage {
    width: 100%;
}
.jumpMenu{
    position: absolute;
    top: -2rem;
    .detail{
        display: inline;
        position: absolute;
        right: 0;
        padding-right: 15px;
        letter-spacing: 1px;
        font-size: 0.8rem;
        color: @deep_support_color_2;
        div {
            display: inline;
        }
        a {
            color: @deep_support_color_2;
            font-weight: bolder;
            font-family: 微軟正黑體;
        }
    }
}

.title-block {
    padding: 0 0 2rem 0;
    >.row {
        .head {
            border-left: @title-border-width @standard_color solid;
            .contentTitle {
                color: @standard_color;
                font-weight: bolder;
                letter-spacing: 2px;
                font-size: 1.7em;
                padding-right: 3rem;
                margin-bottom: 1rem;
            }
            .desc{
                .share{
                    margin-bottom: 1rem;
                }
                margin-top: 1rem;
                color: @deep_font_color;
                position: absolute;
                bottom: 0;
                line-height: 1.5em;
                text-align: justify;
                font-size: 1rem;
                padding-right: 3rem;
            }
        }
        .tours{
            margin-top: 2rem;
            padding: 0 15px 0 0;
            .title{
                color: @standard_color;
                border-left: @title-border-width @standard_color solid;
                padding-left: 15px;
                font-size: 1.3rem;
                font-weight: bolder;
                height: 3rem;
                display: flex;
                align-items: center;

            }
            table {
                margin-top: 2rem;
                background-color: @deep_bg_color;
                width: 100%;
                color: @deep_font_color;
                font-size: 0.8em;
                text-align: center;
                .header{
                    background-color: @standard_color;
                }
                th, td {
                    padding: 10px;
                }
                .showReserveBtn {
                    &:hover {
                        text-decoration: underline;
                        cursor: pointer;
                    }
                    &[disabled] {
                        text-decoration: none;
                        cursor: no-drop;
                        color: black;
                    }
                }
            }
        }
        .tags {
            margin-top: 2rem;
            padding: 0 15px 0 0;
            .title {
                color: @standard_color;
                border-left: @title-border-width @standard_color solid;
                padding-left: 15px;
                font-size: 1.3rem;
                font-weight: bolder;
                height: 3rem;
                display: flex;
                align-items: center;

            }
            .tagList {
                text-align: justify;
                margin-top: 2rem;
                .tag {
                    margin-bottom: 1rem;
                    img {
                        height: 1.3rem;
                        line-height: 1.7rem;
                        max-width: 100%;
                        margin-bottom: 0.6rem;
                    }
                }
            }
        }
    }
}

.notice-block {
    background-color: @deep_support_color;
    padding-top: 4em;
    .content {
        .title {
            border: 0 solid @standard_color;
            border-left-width: @title-border-width;
            color: @standard_color;
            padding: 11px 20px;
            letter-spacing: 5px;
            font-size: 1.3rem;
            font-weight: bolder;
        }
        .detail {
            padding: 2em;
            color: @deep_font_color;
            text-align: justify;
        }
        .ship {
            padding: 1em;
            .shipTitle{
                color: @deep_font_color;
                margin-left: 15px;
                font-size: 0.8em;
            }
            a{
                margin: 10px;
                display: block;
                background-color: @deep_bg_color;
                &:hover {
                    color: @standard_color;
                    text-decoration: unset;
                    opacity:0.8;
                }
                img {
                    width: 100%;
                }
                span {
                    padding: 0 46px;
                    letter-spacing: 5px;
                    color: @standard_color;
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    //-webkit-line-clamp: 1;
                }
            }
        }
    }
}

.content-block {
    background-color: @deep_bg_color;
    .content {
        .title {
            border: 0 solid @standard_color;
            border-left-width: @title-border-width;
            color: @standard_color;
            padding: 11px 20px;
            letter-spacing: 5px;
            font-size: 1.3rem;
            font-weight: bolder;
        }
        .detail {
            padding: 2em;
            color: @deep_font_color;
            text-align: justify;
            img {
                max-width: 100%;
            }
        }
    }
}

.tempModule {
    padding-top: 4em;
    .title {
        border: 0 solid @standard_color;
        border-left-width: @title-border-width;
        color: @standard_color;
        padding: 11px 20px;
        letter-spacing: 5px;
        font-size: 1.3rem;
        font-weight: bolder;
    }
    background-color: @deep_support_color;
}