﻿/* Common */
.border-top-dashed {
    border-top: 1px dashed #ced4da;
}

.section-breadcrumb {
    background-color: #fbfbfb;
}

#alert {
    position: fixed;
    width: calc(100% - 30px);
    top: 15px;
    left: 15px;
    z-index: 1050;
}

    #alert p {
        margin-bottom: 0;
    }

/* Title */
.section-title {
    padding-bottom: 2vh;
    background-color: #fbfbfb;
    border-bottom: 1px solid #dbdbdb;
}

    .section-title h1 {
        font-size: 22px;
    }

    .section-title .address {
        font-size: 18px;
    }

    .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: '|';
            margin: 0 0.5em;
        }

.oprice {
    display: inline-block;
    position: relative;
    color: #999999;
    margin-bottom: 5px
}

    .oprice:before, .oprice:after {
        position: absolute;
        top: calc(50% - 1px);
        left: 0;
        content: ' ';
        height: 1px;
        width: 100%;
        background-color: #cc0000;
        animation: flash 3s ease 0s infinite;
    }

    .oprice:before {
        transform: rotate(10deg);
    }

    .oprice:after {
        transform: rotate(-15deg);
    }

.cut {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px
}

    .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;
    }

@keyframes flash {
    0%, 50%, 100% {
        opacity: 1;
    }

    25%, 75% {
        opacity: 0;
    }
}

.section-title .parking {
    display: inline-block;
    color: #999999;
    font-size: 15px;
    margin-bottom: 5px;
}

/* Basic */
.section-basic {
    padding: 15px 0;
}

    .section-basic .name {
        color: #9fa0a0;
    }

    .section-basic .btn-outline-secondary {
        border-color: #dee2e6;
    }

    .section-basic .favorite.delete i {
        color: #e63349;
    }

    .section-basic .agent .profile i {
        color: #dee2e6;
        font-size: 50px;
    }

    .section-basic .agent .profile img {
        width: 50px;
        height: 50px;
    }

    .section-basic .agent .name {
        color: #333333;
        font-size: 20px;
    }

    .section-basic .agent .job {
        color: #008800;
        font-size: 14px;
    }

    .section-basic .agent .phone a {
        color: #000000;
    }

.qrcode-tel img,
.qrcode-url img {
    margin: 0 auto;
}

.section-basic .btn-line {
    color: #6c757d;
    background-color: #ffffff;
    border-color: #dee2e6;
}

    .section-basic .btn-line img {
        width: 22px;
        height: 22px;
        margin-right: 5px;
        filter: invert(46%) sepia(54%) saturate(2833%) hue-rotate(87deg) brightness(97%) contrast(114%);
    }

    .section-basic .btn-line span {
        background-image: url(/Images/line-logo.svg);
        background-position: left center;
        background-repeat: no-repeat;
        background-size: 22px;
        padding-left: 27px;
    }

#qrcode img {
    margin: 0 auto 5px;
    padding: 4px;
    border: 1px solid #cccccc;
}

/* 格局 */
ul.pattern > li {
    display: inline-block;
}

    ul.pattern > li:after {
        content: '/';
        margin-left: 0.25em;
    }

    ul.pattern > li:last-of-type:after {
        content: '';
    }

/* Prevent slick slider show all items when first time loaded. */
.visibility-hidden {
    visibility: hidden;
}

.slick-initialized {
    visibility: visible;
}

/* Picture */
.section-basic .slick-slider .slick-arrow {
    color: #ffffff;
    font-size: 40px;
    line-height: 1.0;
    padding: 0 10px;
    position: absolute;
    top: calc(50% - 21px);
    left: 0;
    z-index: 1;
    opacity: 0.7;
    text-shadow: 0px 0px 3px rgba(0, 0, 0, 0.5), 0px 0px 6px rgba(0, 0, 0, 0.1);
}

    .section-basic .slick-slider .slick-arrow:hover {
        color: #ffffff;
        opacity: 0.9;
    }

    .section-basic .slick-slider .slick-arrow.slick-next {
        right: 0;
        left: unset;
    }

    .section-basic .slick-slider .slick-arrow.slick-disabled {
        opacity: 0.5;
    }

.section-basic .slider-for {
    margin-bottom: 5px;
}

    .section-basic .slider-for .slick-arrow {
        font-size: 40px;
        top: calc(50% - 24px);
    }

    .section-basic .slider-for .slick-slide a {
        cursor: zoom-in;
    }

.section-basic .slider-nav .slick-track {
    margin-left: 0;
}

.section-basic .slider-nav .slick-arrow {
    font-size: 30px;
    top: calc(50% - 20px);
}

.section-basic .slider-nav .slick-slide {
    margin: 0 5px;
}

.section-basic .slider-nav .slick-current a {
    position: relative;
}

    .section-basic .slider-nav .slick-current a:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100%;
        border: 2px solid #008800;
    }

.section-other .col a {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.slick-dots {
    margin-bottom: 0;
    padding-left: 0;
    list-style: none;
    text-align: center;
    position: absolute;
    bottom: 20px;
    width: 100%;
}

    .slick-dots li {
        display: inline-block;
    }

        .slick-dots li + li {
            margin-left: 10px;
        }

        .slick-dots li button {
            font-size: 0px;
            line-height: 0;
            width: 10px;
            height: 10px;
            padding: 0;
            border: 0;
            border-radius: 100%;
            outline: none;
            background-color: #ffffff;
            opacity: 0.8;
        }

            .slick-dots li button:hover,
            .slick-dots li button:focus {
                opacity: 1;
            }

        .slick-dots li.slick-active button {
            background-color: #008800;
            opacity: 1;
        }

/* 格局圖 */
.pictures .pattern {
    width: 15.4%;
    margin-right: 10px;
}

    .pictures .pattern a {
        display: inline-block;
        position: relative;
        cursor: zoom-in;
    }

    .pictures .pattern .title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        color: #ffffff;
        font-size: 12px;
        text-align: center;
        padding: 2px 0;
        background-color: rgba(0, 0, 0, 0.3);
    }

.pictures .other {
    width: calc(84.6% - 10px);
}

    .pictures .other > div {
        margin: 0 -5px;
    }

/* Detail */
.section-detail {
    padding: 15px 0;
}

    .section-detail .subtitle {
        color: #008800;
    }

    .section-detail .name {
        color: #9fa0a0;
        width: 90px;
    }

    .section-detail .accordion a.card-header {
        color: #008800;
    }

        .section-detail .accordion a.card-header:after {
            color: #999999;
            padding: 0 0.5em;
        }

        .section-detail .accordion a.card-header:not(.collapsed):after {
            font-family: 'FontAwesome';
            content: '\f106';
        }

        .section-detail .accordion a.card-header.collapsed:after {
            font-family: 'FontAwesome';
            content: '\f107';
        }

    .section-detail .photo-swipe .img {
        cursor: pointer;
    }

#collapsePicture .item {
    position: relative;
    margin-bottom: 0.5rem;
}

    #collapsePicture .item .title {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        color: #ffffff;
        text-align: center;
        padding: 2px 0;
        background-color: rgba(0, 0, 0, 0.3);
    }

ul.tags > li {
    display: inline-block;
    color: #339933;
    font-size: 15px;
    line-height: 1.0;
    padding: 0.4em;
    margin: 0 2px 5px 0;
    border-radius: 3px;
    background-color: #d9f2d9;
}

#collapseCadaster .card-body > .row,
#collapseNear .card-body > .row {
    position: relative;
}

    #collapseCadaster .card-body > .row:after,
    #collapseNear .card-body > .row:after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 1px;
        background-color: #dee2e6;
    }

.nears > *:last-child {
    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
    max-width: 100%;
}

.section-contents .container {
    padding-top: 0;
    padding-bottom: 0;
}

/* 分享 */
#share .share a {
    font-size: 13px;
    text-align: center;
    margin-right: 5px;
    line-height: 1.0;
}

    #share .share a:last-child {
        margin-right: 0;
    }

    #share .share a i, #share .share a img {
        display: inline-flex;
        color: #777777;
        font-size: 20px;
        width: 50px;
        height: 50px;
        align-items: center;
        justify-content: center;
        margin-bottom: 5px;
        border: 1px solid #dee2e6;
        border-radius: 100%;
        background-size: 30px;
        background-position: center;
        background-repeat: no-repeat;
    }

    #share .share a.line i {
        background-color: #00B900;
        background-image: url('/Images/line-logo.svg');
    }

    #share .share a.twitter i {
        font-size: 25px;
        color: #ffffff;
        background-color: #1DA1F2;
    }

/* Related */
.section-related .slick-slider {
    padding: 0 15px;
}

    .section-related .slick-slider .slick-arrow {
        color: #aaaaaa;
        font-size: 40px;
        line-height: 1.0;
        position: absolute;
        top: calc(50% - 21px);
        left: 0;
        z-index: 1;
        opacity: 0.7;
    }

        .section-related .slick-slider .slick-arrow:hover {
            opacity: 0.9;
        }

        .section-related .slick-slider .slick-arrow.slick-prev {
            padding-right: 10px;
        }

        .section-related .slick-slider .slick-arrow.slick-next {
            right: 0;
            left: unset;
            padding-left: 10px;
        }

        .section-related .slick-slider .slick-arrow.slick-disabled {
            opacity: 0.5;
        }

.section-related .slick-slide {
    margin: 0 10px;
}

.section-related .card-text {
    font-size: 14px;
}

    .section-related .card-text ul > li {
        display: inline-block;
    }

        .section-related .card-text ul > li:after {
            content: '/';
            color: #cccccc;
            margin-left: 0.25em;
        }

        .section-related .card-text ul > li:last-child:after {
            content: '';
            margin-left: 0.25em;
        }

#map {
    width: 100%;
    height: 350px;
    border: 1px solid #dee2e6;
}

.ol-init {
    width: 27px;
    height: 43px;
    background-image: url("https://maps.gstatic.com/mapfiles/api-3/images/spotlight-poi2_hdpi.png");
    /*background-position: 0 -18px;*/
    background-repeat: no-repeat;
    background-size: 27px;
    margin-left: -13px;
    margin-top: -60px;
}

@media (max-width:767px) {
    .fix-feature {
        bottom: 105px;
    }

    .section-scrollspy {
        bottom: 55px;
        top: auto;
        border-bottom: none;
        font-size: 18px;
    }

        .section-scrollspy.show {
            top: auto;
            bottom: 55px;
        }

        .section-scrollspy a.call-phone {
            color: #fff;
            background: #ff9f00;
            background: -webkit-gradient(linear, left top, left bottom, from(#ff5a00), to(#ff9f00));
            background: -o-linear-gradient(top, #ff5a00 0%, #ff9f00 100%);
            background: linear-gradient(to bottom, #ff5a00 0%, #ff9f00 100%)
        }

            .section-scrollspy a.call-phone:hover {
                color: #fff;
                background: #ff5a00;
                background: -webkit-gradient(linear, left top, left bottom, from(#ff7326), to(#ffad26));
                background: -o-linear-gradient(top, #ff7326 0%, #ffad26 100%);
                background: linear-gradient(to bottom, #ff7326 0%, #ffad26 100%)
            }

        .section-scrollspy a.consult {
            color: #fff;
            background: -webkit-gradient(linear, left top, left bottom, from(#ab111b), to(#f73131));
            background: -o-linear-gradient(top, #ab111b 0%, #f73131 100%);
            background: linear-gradient(to bottom, #ab111b 0%, #f73131 100%)
        }

            .section-scrollspy a.consult:hover {
                color: #fff;
                background: -webkit-gradient(linear, left top, left bottom, from(#b8353d), to(#f85050));
                background: -o-linear-gradient(top, #b8353d 0%, #f85050 100%);
                background: linear-gradient(to bottom, #b8353d 0%, #f85050 100%)
            }
}

@media (min-width: 576px) {

    #alert {
        width: 300px;
        top: 15px;
        left: calc(50% - 150px);
    }
}

@media (min-width: 768px) {

    .pictures .pattern {
        width: 23.5%;
    }

    .pictures .other {
        width: calc(76.5% - 10px);
    }
}

@media (min-width: 992px) {

    .pictures .pattern {
        width: 18.5%;
    }

    .pictures .other {
        width: calc(81.5% - 10px);
    }
}

@media (min-width: 1200px) {

    .pictures .pattern {
        width: 13%;
    }

    .pictures .other {
        width: calc(87% - 10px);
    }
}
