﻿/* 法拍樣式 */
.section-auction {
    padding-bottom: 20px;
}

    .section-auction h1 {
        margin-top: 0px;
        text-align: center;
    }

    /* 分頁器 */
    .section-auction .pagination-container {
        padding-top: 15px;
    }

    /* 搜尋結果列表 */
    .section-auction .list-item {
        border-top: 1px solid #dee2e6;
        border-bottom: 1px solid #dee2e6;
        margin-bottom: -1px;
    }

        .section-auction .list-item .foreclosure {
            color: #666666;
        }

        .section-auction .list-item .address {
            font-size: 1rem;
            margin: 5px 0;
        }

            .section-auction .list-item .address a {
                color: #000000;
            }

        .section-auction .list-item .info {
            margin-bottom: 0;
            padding-left: 0;
            list-style: none;
            font-size: 15px;
        }

        .section-auction .list-item ul > li {
            color: #666666;
            margin: 3px 0;
        }

        .section-auction .list-item .date {
            color: #999999;
        }

        .section-auction .list-item .tag span + span:before {
            content: '/';
            display: inline-block;
            margin-right: 0.5em;
            margin-left: 0.25em;
            font-size: 0.9em;
            color: #cccccc;
        }

        .section-auction .list-item .description {
            color: #999999;
        }

        .section-auction .list-item .price {
            font-size: 22px;
        }

            .section-auction .list-item .price .unit {
                color: #666666;
                font-size: 15px;
            }

        .section-auction .list-item .price-pin {
            color: #999999;
            font-size: 15px;
        }

/* Search */
.section-search .keyword > i {
    position: absolute;
    top: 0;
    left: 15px;
    line-height: 38px;
}

.section-search .keyword > input {
    padding-left: 40px;
}

.section-search.auction .dropdown.select .panel .tool {
    color: #333333;
    border-bottom: 1px solid #dee2e6;
    margin: 0 -10px 10px;
    padding: 0 10px 5px;
}

.section-search.auction .dropdown-menu .panel .btn-group > .btn {
    padding: 5px 8px;
}

.section-search.auction select.form-control {
    background-color: #efefef;
}

    .section-search.auction select.form-control:hover {
        background-color: #dcdddd;
        cursor: pointer;
    }

.section-search.auction .search.desktop {
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.15);
    padding: 30px 30px 25px;
}

nav.sort a {
    margin-right: 1.25em;
}

    nav.sort a.active {
        color: var( --btn-default-bg);
    }

.section-auction .count {
    color: #666666;
}

    .section-auction .count span {
        color: var( --btn-default-bg);
    }

/* mega-dropdown */
.mega-dropdown .dropdown-toggle {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background-color: #efefef;
}

    .mega-dropdown .dropdown-toggle:hover {
        background-color: #dcdddd;
    }

.mega-dropdown .dropdown a::after {
    transition: all ease .3s;
}

.mega-dropdown.dropdown.show a::after {
    transform: rotate(-180deg);
}

.mega-dropdown .dropdown-item {
    padding: 0.5rem 1.5rem;
}

    .mega-dropdown .dropdown-item + .dropdown-item {
        border-top: 1px solid #e9ecef;
    }

.mega-dropdown .dropdown-menu {
    margin-top: 5px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    max-height: calc(100vh - 350px);
    overflow-y: auto;
    overflow-x: hidden;
}

    .mega-dropdown .dropdown-menu .panel {
        background-color: #ffffff;
        border-top: 1px solid #dee2e6;
        padding: 10px;
        width: 600px;
    }

        .mega-dropdown .dropdown-menu .panel:first-child {
            border-top-left-radius: 0.25rem;
            border-top-right-radius: 0.25rem;
            border-top: none;
        }

        .mega-dropdown.dropdown-menu .panel:last-child {
            border-bottom-left-radius: 0.25rem;
            border-bottom-right-radius: 0.25rem;
        }

        .mega-dropdown .dropdown-menu .panel .title {
            color: var( --btn-default-bg);
            padding: 5px 0;
        }

/* Detail */
.section-title h1 {
    font-size: 18px;
    font-weight: normal;
}

.section-title .price {
    font-size: 30px;
}

    .section-title .price .unit {
        color: #666666;
        font-size: 15px;
    }

.section-title .popularity {
    color: #999999;
}

.section-title ul.popularity > li {
    display: inline-block;
}

    .section-title ul.popularity > li + li:before {
        content: '|';
        padding: 0 0.5em;
    }

.section-detail h3 {
    padding-bottom: 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-weight: bold;
    color: #299bb1;
}


.section-detail .no {
    width: 35px;
    text-align: right;
}

.section-detail .other {
    color: #6c757d;
}

.section-detail .more-links a {
    display: block;
    margin-top: 10px;
}

    .section-detail .more-links a:not(:hover) {
        color: #6c757d;
    }

/* Basic */
.section-basic {
    font-size: 0.875rem;
    padding: 2.5vh 0;
}

    .section-basic .highlight {
        font-size: 1.25em;
        font-weight: bold;
    }

    .section-basic .title {
        color: #999999;
    }

    .section-basic .date {
        color: #D63D00;
    }

    .section-basic .total-pin {
        color: #8B0000;
    }

    .section-basic .btn-outline-secondary {
        border-color: #dee2e6;
    }

    .section-basic .agent {
        margin: 20px 0;
    }

        .section-basic .agent .is-agent {
            font-weight: bold;
            color: var(--btn-default-bg);
            font-size: 0.8em;
        }

        .section-basic .agent .name {
            font-size: 20px;
            font-weight: bold;
            margin-bottom: 5px;
        }

        .section-basic .agent .title {
            width: 90px;
            margin-bottom: 0;
        }

    .section-basic .agent-infos {
        padding-right: 15px;
        padding-left: 15px;
    }

    .section-basic .agent-info {
        margin-bottom: 5px;
    }

    .section-basic .contact {
        margin-bottom: 5px;
    }

        .section-basic .contact .mobile {
            margin-bottom: 5px;
        }

        .section-basic .contact a.line {
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: #06C755;
            border-radius: 0.25rem;
            font-weight: bold;
            text-align: center;
            color: #ffffff;
        }

            .section-basic .contact a.line:hover {
                background-color: #06C755;
                color: rgba(255, 255, 255, 0.9);
            }

        .section-basic .contact .line img {
            width: 25px;
            height: 25px;
            margin-right: 5px;
        }

        .section-basic .contact .link {
            background: linear-gradient(to bottom, #ff7326 0%, #ffad26 100%);
            color: #fff;
            font-weight: bold;
        }

        .section-basic .contact .booking {
            background: linear-gradient(to bottom, #b8353d 0%, #f85050 100%);
            color: #fff;
            font-weight: bold;
        }

            .section-basic .contact .booking:hover {
                background: linear-gradient(to bottom, #b8353d 0%, #f85050 100%);
                color: #fff;
            }



/* 點交狀態 */
.bid-check-state > span {
    display: inline-block;
    font-size: 15px;
    padding: 0.4em;
    line-height: 1.0;
    color: #7c5e1d;
    background-color: #F6EDD9;
    border-radius: 3px;
}
    /* 通訊投標 */
    .bid-check-state > span.mail {
        color: #808080;
        background-color: #efefef;
    }

    .bid-check-state > span.check {
        color: #006ab2;
        background-color: #e6f5ff;
    }

        /* 不點交 */
        .bid-check-state > span.check.check-2 {
            color: #dc3545;
            background-color: #ffe6e6;
        }

        /* 部分點交 */
        .bid-check-state > span.check.check-3 {
            color: #339933;
            background-color: #d9f2d9;
        }

/* 拍賣狀態 */
.bid-check-state > .state {
    color: #808080;
    background-color: #efefef;
}

    .bid-check-state > .state.stop {
        color: #006ab2;
        background-color: #e6f5ff;
    }

    .bid-check-state > .state.onbind {
        color: #ff9933;
        background-color: #fff5cc;
    }

    .bid-check-state > .state.lost {
        color: #993399;
        background-color: #f2d9f2;
    }

    .bid-check-state > .state.ok {
        color: #dc3545;
        background-color: #ffe6e6;
    }

@media (min-width: 576px) {

    .section-auction .list-item .price,
    .section-auction .list-item .price-pin {
        display: block;
    }

    .section-basic, .section-detail {
        font-size: 1rem;
    }

        .section-detail .no {
            width: 40px;
        }
}

@media (min-width: 768px) {

    .section-auction .list-item .address {
        font-size: 1.25rem;
    }

    .section-auction .list-item .info {
        font-size: 1rem;
    }
}

@media (min-width: 992px) {

    .section-search.auction {
        padding: 15px 0 30px;
        background-color: #ffe9cf;
    }
}

@media (min-width: 1200px) {
}
