﻿/* Scrollspy */
.scrollspy.show {
    padding-bottom: 44px;
}

    .scrollspy.show > .row {
        position: fixed;
        left: 15px;
        right: 15px;
        top: 60px;
        background-color: #ffffff;
        z-index: 1020;
    }

.scrollspy .dropdown-item {
    padding: 0.25rem 1.5rem;
}

    .scrollspy .dropdown-item.active, .scrollspy .dropdown-item:active {
        color: #ffffff;
    }

h2 {
    font-size: 1.2rem;
    margin-top: 5px;
    margin-bottom: .5rem;
}

h4 {
    font-size: 1rem;
    color: #999999;
}

.section-link .col a {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

/* 自訂標籤 */
.picture .badges {
    position: absolute;
    top: 10px;
    left: -5px;
    line-height: 1.0;
}

    .picture .badges > li + li {
        margin-top: 4px;
    }

    .picture .badges .badge {
        position: relative;
        font-size: 15px;
        padding: 0.4em;
        border-bottom-left-radius: 0;
        box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
    }

        .picture .badges .badge:before {
            content: '';
            width: 0;
            height: 0;
            position: absolute;
            left: 0;
            top: 100%;
            border-style: solid;
            border-width: 0 5px 3px 0;
            border-color: transparent #ff0000 transparent transparent;
        }

    .picture .badges .badge-cut {
        font-size: 12px;
        color: #ffffff;
        background-color: #ff0000;
    }

        .picture .badges .badge-cut:before {
            border-right-color: #dc3545;
        }

    .picture .badges .badge-gold:before {
        border-right-color: #fec84e;
    }

.badge-new {
    color: #fff;
    background-color: #ff615c;
    font-size: 14px;
}

.badge-gold {
    color: #624507;
    background-color: #fec84e;
    background-image: linear-gradient(315deg, #fec84e 0%, #ffdea8 74%);
}

/* 預約 */
.picture .reserve {
    position: absolute;
    right: 45px;
    top: 5px;
    font-size: 14px;
    line-height: 1.0;
    color: rgba(0, 0, 0, 0.9);
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 50rem;
    padding: 7px 10px;
    z-index: 2;
}

    .picture .reserve.delete {
        color: #ffffff;
        background-color: rgba(0, 136, 0, 0.7);
    }

/* 收藏 */
.picture .favorite {
    position: absolute;
    right: 10px;
    top: 5px;
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.0;
    padding: 5px;
    text-shadow: 0 0px 4px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

    .picture .favorite.delete {
        color: #e63349;
        text-shadow: 1px 1px #fff, -1px 1px #fff, 1px -1px #fff, -1px -1px #fff, 1px 1px 5px #555;
    }

    .picture .favorite span {
        font-size: 14px;
    }

.list .btn.favorite.delete i {
    color: #e63349;
}

/* 搜尋結果列表 */
.list .card {
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

    .list .card .picture:before {
        content: "";
        width: 100%;
        height: 70px;
        position: absolute;
        left: 0;
        bottom: 0;
        background: -webkit-gradient(linear,left top,left bottom,color-stop(1%,rgba(0,0,0,0)),color-stop(45%,rgba(0,0,0,0)),to(rgba(0,0,0,.65)));
        background: -o-linear-gradient(top,rgba(0,0,0,0) 1%,rgba(0,0,0,0) 45%,rgba(0,0,0,.65) 100%);
        background: linear-gradient(to bottom,rgba(0,0,0,0) 1%,rgba(0,0,0,0) 45%,rgba(0,0,0,.65) 100%);
    }

    .list .card a.title {
        color: #ffffff;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    }

.list .card-body {
    margin-top: -40px;
}

    .list .card-body .info {
        color: #666666;
        font-size: 15px;
    }

        .list .card-body .info i {
            width: 16px;
            line-height: 1.5;
            text-align: center;
            margin-right: 8px;
        }

        .list .card-body .info ul > li {
            display: inline-block;
            color: #666666;
        }

.list ul.feature > li:after {
    content: '/';
    margin-left: 0.3em;
    font-size: 0.9em;
    color: #cccccc;
}

.list ul.feature > li:last-child:after {
    content: '';
}

.list ul.agent > li:after {
    content: '|';
    color: #cccccc;
    font-size: 0.9em;
    margin-left: 0.4em;
    margin-right: 0.2em;
}

.list ul.agent > li:last-child:after {
    content: '';
}

.list ul.tags > li {
    display: inline-block;
    font-size: 13px;
    line-height: 1.0;
    padding: 0.3em;
    margin: 0 2px 3px 0;
    color: #339933;
    border: 1px solid #339933;
}

.list .price {
    display: inline-block;
    font-size: 22px;
    line-height: 22px;
}

    .list .price .unit {
        color: #666666;
        font-size: 15px;
    }

.list .oprice {
    display: inline-block;
    position: relative;
    color: #999999;
    font-size: 15px;
}

    .list .oprice:before, .list .oprice:after {
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        content: ' ';
        height: 1px;
        width: 100%;
        background-color: #cc0000;
        animation: flash 3s ease 0s infinite;
    }

    .list .oprice:before {
        transform: rotate(10deg);
    }

    .list .oprice:after {
        transform: rotate(-15deg);
    }

.list .cut span {
    display: inline-block;
    padding: 0.25em 0.4em;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    color: #ffffff;
    background-color: #cc0000;
}

.list .parking {
    color: #999999;
    font-size: 13px;
}

/* Scrollspy */
.scrollspy.show {
    padding-bottom: 44px;
}

    .scrollspy.show > .row {
        position: fixed;
        left: 15px;
        right: 15px;
        top: 60px;
        background-color: #ffffff;
        z-index: 1020;
    }

.scrollspy .dropdown-item {
    padding: 0.25rem 1.5rem;
}

    .scrollspy .dropdown-item.active, .scrollspy .dropdown-item:active {
        color: #ffffff;
    }

.adv {
    max-height: 280px;
    min-height: 180px;
}

    .adv + .search {
        margin-top: 0.5rem !important;
    }

@media (min-width: 576px) {

    /* Search (Mobile) */
    #search-mobile .accordion > .card .card-body {
        font-size: 1rem;
    }
}

@media (min-width: 768px) {
    .list > div {
        margin-bottom: -1px;
    }

    .list .card {
        border-right: 0;
        border-left: 0;
        border-radius: 0;
    }

    .list .card-img-top {
        border-bottom-right-radius: calc(0.25rem - 1px);
        border-bottom-left-radius: calc(0.25rem - 1px);
    }

    .list .card .picture:before {
        background: none;
    }

    .list .card a.title {
        color: #000000;
        font-size: 20px;
        line-height: 24px;
        text-shadow: none;
    }

        .list .card a.title:hover {
            color: #008800;
        }

    .list .card-body {
        margin-top: 0;
    }

        .list .card-body .info {
            font-size: 16px;
        }

    .list .parking {
        font-size: 15px;
    }

    .list ul.tags > li {
        font-size: 14px;
    }

    /* 收藏 */
    .picture .favorite {
        color: #666666;
        text-shadow: none;
    }

        .picture .favorite.delete {
            color: #e63349;
            text-shadow: 1px 1px #fff, -1px 1px #fff, 1px -1px #fff, -1px -1px #fff, 1px 1px 5px #555;
        }
}

@media (min-width: 992px) {
}

@media (min-width: 1200px) {
}
