@import "../public/hansSetting.less";

@date-font-size:1.5rem;

@media (max-width: 991.98px){
    .keySearchBar {
        padding-right: 15px;
    }
    .searchTemp {
        .searchIcon {
            background-color: @standard_color;
        }
    }
    .list-title {
        background-color: unset !important;
        color: @deep_font_color;
        padding: 1rem 0 0 !important;
        .main {
            padding: 8px 0 !important;
            border-left-width: 0px !important;
            .chinese {
                padding-right: 0 !important;
                letter-spacing: 5px !important;
                font-size: 1.3rem !important;;
                font-weight: bolder !important;;
            }
        }
    }
    .list-content {
        .content-width {
            padding:0 14.4vmin;
        }
        > div {
            padding: 2rem 0 !important
        }
        .itemImage{
            padding-bottom: 2.7vmin;
        }
        .itemTitle {
            color: @standard_color;
            font-size: @mobile-font-size-ml;
            padding: 1.8vmin 0;
            letter-spacing: 0.2vmin;
            font-weight: bolder;
            .date {
                font-size: @mobile-font-size-sm;
                color: @standard_color;
                font-weight: lighter;
            }
        }
        .listImg {
            padding-top: 3.6vmin;
            padding-bottom: 1.8vmin;
        }
        .itemDesc {
            font-size: @mobile-font-size-sm;
            letter-spacing: 0.4vmin;
            padding-left: 0;
            padding-bottom: 2em;
            padding-right: 1em;
            span {
                -webkit-line-clamp: 3 !important;
                line-height: 4.5vmin !important;
            }
        }
        .itemMore {
            margin: 0 !important;
            position: absolute;
            bottom: 1.8vmin;
            right: 3.6vmin;
        }
    }
    .tourCondition > .content-width {
        padding: 0 3.6vmin !important;
        .searchCondition {
            padding-bottom: 3.6vmin !important;
            label, select, option, button {
                font-size: @mobile-font-size-ml !important;
            }
        }
    }
    .list-schedule-content table {
        font-size: @mobile-font-size-sm !important;
        th {
           padding: 5px !important;
        }
    }
    table.mobile {
        background-color: @deep_bg_color !important;
    }
}

@media (min-width: 992px) {
    .searchCondition.button{
        padding-left: 3rem !important;
    }
}

body {
    color: @deep_font_color;
}
.headerImage {
    width: 100%;
}
.list-title {
    background-color: @standard_deep_color;
    padding: 1rem 0;
    .main {
        border: 0 solid @deep_font_color;
        border-left-width: @title-border-width;
        color: @deep_font_color;
        font-weight: bolder;
        height: 3rem;
        padding: 8px 25px;
    }
    .chinese {
        font-size: 1.4rem;
        letter-spacing: 7px;
    }
    .english {
        font-size: 1rem;
    }
    &.mobile{
        padding: 1rem 0;
        border-bottom: 1px @deep_support_color_2 solid;
        margin-top: 6rem;
        .main {
            display: flex;
            justify-content: end;
        }
        span {
            color: @deep_support_color_2;
        }
    }
}

.keySearchBar {
    margin-top: 2rem;
    .topKeyDiv {
        padding: 1rem 0 1rem 1rem;
        a {
            color: @standard_color;
            &:hover {
                text-decoration: underline;
            }
        }
    }
}

.tagList {
    &.searchCondition{
        padding: 2rem 0.5rem !important;
        margin-top: 2rem;
        border-top: 1px solid @standard_color;
        div {
            padding: 0 1rem;
        }
    }
    padding-bottom: 1.5rem;
    img.tag {
        height: 1.3rem;
        line-height: 1.7rem;
        max-width: 100%;
        padding-right: 0.5rem;
    }
}

.list-content {
    .content-width > .row{
        margin: 4rem 0;
    }
    .itemFocus {
        img {
            width: 80%;
        }
        .date {
            height: @date-font-size *3;
            border: 0 @standard_color solid;
            border-left-width: @title-border-width;
            padding-left: 1rem;
            color: @standard_color;
            font-weight: bolder;
            font-size: @date-font-size;
            line-height: @date-font-size;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
    }
    .itemArea-top {
        padding-bottom: 1rem;
        border: 0 @standard_color solid;
        border-bottom-width: 1px;
        .itemTitle {
            font-weight: bolder;
            font-size: 1.2rem;
            color: @standard_color;
        }
        .shareBtn {
            position: absolute;
            right: 0;
        }
    }
    .itemArea-down {
        margin-top: 1rem;
    }
    .itemDesc span {
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        line-height: 1.6rem;
        font-weight: lighter;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        box-sizing: border-box;
        text-align: justify;
    }
    .itemMore {
        margin-top: 10px;
        display: flex;
        justify-content: flex-end;
        font-size: 0.5rem;
        letter-spacing: 2px;
        text-decoration: none;
        color: @standard_color;
        cursor: pointer;
    }
}
.list-pageBar {
    padding: 2rem 0;
    ul, .VuePagination__count {
        margin: 0;
    }
    .page-item .page-link{
        background-color: #79868d;
        color: white;
        border: 0;
        &:disabled {
            background-color: #79868d;
            color: white;
        }
        &.active {
            background-color: @standard_color !important;
        }
    }
}

.tourCondition {
    margin-top: 3rem;
    .clearBtn {
        margin-left: 1rem;
    }
    > .content-width {
        margin: 0;
        padding-left: 33px;
        > div {
            padding: 0;
        }
    }
}

.list-schedule-content {
    margin-top: 2rem;
    .title {
        border: 0 solid @standard_color;
        border-left-width: @title-border-width;
        height: 3em;
        color: @standard_color;
        padding: 11px 20px;
        letter-spacing: 5px;
        font-size: 1.3rem;
        font-weight: bolder;
    }
    table {
        margin: 2rem 0;
        background-color: @deep_support_color;
        width: 100%;
        color: @deep_font_color;
        font-size: 0.8em;
        text-align: center;
        .header{
            background-color: @standard_color;
        }
        th, td {
            padding: 10px;
        }
        .planLink {
            color: @deep_font_color;
            font-weight: bolder;
            font-size: 1.3rem;
            img {
                padding: 0 0.5rem;
                height: 1.3rem;
                line-height: 1.7rem;
                max-width: 100%;
                margin-top:0.5rem;
            }
        }
        .showReserveBtn {
            color: @standard_color;
            &:hover {
                text-decoration: underline;
                cursor: pointer;
            }
            &[disabled] {
                text-decoration: none;
                cursor: no-drop;
                color: @white_font_color;
            }
        }
    }
}

.no-record {
    margin-top: 1rem;
    p {
        padding-left: 33px;
        color: @white_font_color;
    }
}