@charset "utf-8";

/* CSS Document */
body {
    background-image: url(/assets/images/house-product-banner.png);
    background-repeat: no-repeat;
    background-size: auto 250px;
    background-position: top right;
}

.information-image {
    height: 400px;
    margin-top: 0px;
    text-align: center;
}

.title {
    color: #2d2d2d;
    padding-top: 100px;
    text-align: left;
}

.information-image h1 {
    font-size: 2.3em;
    text-align: left;
    color: #ff5a5a;
}

.information-image h2 {
    margin-top: 20px;
    font-size: 1.3em;
    line-height: 30px;
}

.online-shopping {
    padding: 110px 0;
}

.online-item {
    display: none;
}

/*住火商品說明頁*/

.house-step {
    position: relative;
    height: 450px;
    margin-bottom: 50px;
}

.house-step-bg {
    width: 1140px;
    height: 247px;
    background-image: url(/assets/images/house-step.png);
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0;
}

.break {
    display: block;
}

.house-block {
    background-color: #ff5a5a;
    color: #fff;
    text-align: center;
    display: block;
    padding: 15px;
    width: 200px;
    border-radius: 5px;
    line-height: 20px;
    position: absolute;
}

.house-block:hover {
    color: #fff;
}

.house-block:after {
    content: '';
    display: block;
    width: 1px;
    height: 100px;
    border-right: dashed 2px #ff5a5a;
    position: absolute;
    left: 49%;
    z-index: -1;
}

.house-block.bottom-line:after {
    top: -100px;
}

.block01 {
    top: -80px;
    left: 100px;
}

.block02 {
    top: -120px;
    left: 390px;
}

.block03 {
    top: -80px;
    left: 680px;
}

.block04 {
    top: calc(100% - 160px);
    left: 210px;
}

.block05 {
    top: calc(100% - 100px);
    left: 520px;
}

.block06 {
    top: calc(100% - 160px);
    left: 805px;
}

.product-wrapper .house-title,
.house-wrapper .house-title {
    font-size: 24px;
    font-weight: 700;
    margin: 50px auto;
    text-align: center;
}

.product-wrapper .house-title:after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background-color: #ff5a5a;
    margin: 10px auto 0;
}

.house-text p {
    font-size: 18px;
    line-height: 35px;
}

.house-text p i {
    margin-right: 5px;
}

.question {
    margin-top: 15px;
}

.pink-text {
    color: #ff5a5a;
}

.m-t-50 {
    margin-bottom: 30px;
}

.pink-bg {
    background-color: #fff6df;
    position: relative;
}

.pink-bg>span {
    display: block;
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
}

.fire-icon {
    background-image: url(/assets/images/firedistinguish.png);
    width: 120px;
    height: 120px;
    top: -30px;
    left: 50px;
}

.house-fire-icon {
    background-image: url(/assets/images/house-index-fire.png);
    width: 150px;
    height: 150px;
    top: 82%;
    left: 87%;
}

.pink-bg.house-wrapper {
    padding: 50px 0;
    margin: 50px 0;
}

.house-card {
    border: dashed 1px #ff5a5a;
    width: 90%;
    margin: auto;
    border-radius: 15px;
    font-size: 18px;
    line-height: 30px;
}

.house-card-title {
    padding: 15px;
    background-color: #ff5a5a;
    color: #fff;
    text-align: center;
    border-radius: 15px 15px 0 0;
}

.house-detail {
    padding: 3px 20px;
}

.house-detail p {
    display: inline-block;
    width: 45%;
}

.house-detail>p:last-child {
    margin-right: 0;
    text-align: right;
}

.house-card:focus,
.house-card:active,
.slick-initialized:focus {
    outline: none;
}

.slick-prev:before,
.slick-next:before {
    color: #ff5a5a;
}

.source {
    text-align: center;
    margin-top: 50px;
}

.product-table thead tr {
    background-color: #ff5a5a;
    color: #fff;
}

.product-table tr td,
.product-table thead tr {
    text-align: center;
    border: solid 1px #e2e2e2;
}

.product-table thead tr th {
    border: solid 1px #fff;
}

.product-table .fa-question-circle {
    margin-left: 5px;
    cursor: pointer;
}

.house-modal-title {
    display: none;
    text-align: left;
    line-height: 30px;
}

.house-modal-title.showup {
    display: block;
}

#houseModal,
#priceModal {
    padding: 0 !important;
}

#houseModal .modal-content,
#priceModal .modal-content {
    width: 100%;
}

#houseModal .modal-header,
#priceModal .modal-header {
    background-color: #ff5a5a;
    border-radius: 20px 20px 0 0;
}

#houseModal .modal-header h5,
#priceModal .modal-header h5 {
    color: #fff;
    font-size: 19px;
}

#houseModal .modal-header .close,
#priceModal .modal-header .close {
    color: #fff;
    border: solid 1px #fff;
}

#houseModal .modal-footer,
#priceModal .modal-footer {
    text-align: center;
    padding: 5px 0 20px;
}

#houseModal .modal-footer .btn-red-line,
#priceModal .modal-footer .btn-red-line {
    margin: auto;
    border: solid 1px #ff5a5a;
    color: #ff5a5a;
}

#priceModal .modal-body {
    overflow-x: scroll;
}

#priceModal table th {
    vertical-align: top;
}

#priceModal table td {
    min-width: 100px;
    vertical-align: top;
}

.pink-bg.house-wrapper .house-title::after {
    display: none;
}

.choose-detail {
    padding: 10px 20px;
}

.col-md-3 .house-card {
    width: 100%;
    min-height: 240px;
}

.clock-icon {
    background-image: url(/assets/images/time.png);
    width: 100px;
    height: 100px;
    top: 30px;
    left: 50px;
}

.calculate {
    margin: 30px 0;
}

.calculate p {
    display: inline-block;
    font-size: 18px;
}

.calculate .dashed-line {
    border: dashed 1px #ff5a5a;
    border-radius: 10px;
    padding: 20px;
}

.calculate .pink-text {
    margin: 0 5px;
}

.claculate-list {
    font-size: 18px;
    line-height: 35px;
}

.check-price {
    text-decoration: underline;
    cursor: pointer;
    text-decoration: underline;
}

p.red-dot::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ff5a5a;
    margin-right: 10px;
}

p.red-dot i {
    margin: 0 10px;
}

.goto-house-step {
    padding: 40px 0 80px;
    margin: 30px 0;
    background-image: url(/assets/images/house-index-green.png);
    background-repeat: no-repeat;
    background-size: 300px auto;
    background-position: bottom right;
    text-align: center;
}

.goto-house-step .red-btn {
    width: 150px;
    padding: 10px 0;
    border-radius: 30px;
    background-color: #ff5a5a;
    color: #fff;
    font-size: 18px;
    display: block;
    margin: 10px auto 0;
}

#fifth .house-card {
    width: 100%;
}

.compare {
    margin: 20px 0;
}

.compare-detail p {
    font-size: 18px;
    line-height: 35px;
}

.discount-img div {
    display: inline-block;
    min-width: 30%;
    text-align: center;
    vertical-align: middle;
}

.discount-img {
    padding: 30px 20px 20px;
}

.discount-icon {
    display: block;
    width: 70px;
    height: 70px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    margin: 20px auto 10px;
    position: relative;
}

.air {
    background-image: url(/assets/images/aircondition.png);
}

.fan {
    background-image: url(/assets/images/fan.png);
}

.wash {
    background-image: url(/assets/images/washmachine.png);
}

.washboard {
    background-image: url(/assets/images/washboard.png);
}

.discount-block .fa-chevron-circle-right {
    font-size: 25px;
}

.on-fire:after {
    position: absolute;
    font-size: 34px;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: "\f7e4";
    display: block;
    color: #ff5a5a;
    left: 55px;
    top: 30px;
}

.slick-dotted.slick-slider.slicker02 {
    margin-bottom: 50px;
}

.found-step {
    margin: 30px 0;
    position: relative;
}

.found-step:before {
    position: absolute;
    width: 1px;
    height: 93%;
    border-right: solid 1px #ff5a5a;
    content: '';
    display: block;
    top: 0;
    left: 24%;
    z-index: -1;
}

.found-step:after {
    position: absolute;
    width: 1px;
    height: calc(100% - 120px);
    border-right: solid 1px #ff5a5a;
    content: '';
    display: block;
    top: 0;
    left: 76%;
    z-index: -1;
}

.found-step .house-card {
    width: 100%;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
    background-color: #fff;
}

.slicker03 .house-card {
    text-align: center;
    width: 100%;
}

.sixth-icon {
    font-size: 50px;
    margin: 20px auto;
}

.notice {
    text-align: left;
    width: 85%;
    margin: 20px auto;
}

.footer-img img {
    width: 100%;
}

.goto-top {
    font-size: 30px;
    position: fixed;
    left: calc(100% - 50px);
    bottom: 30px;
    color: #b9b9b9;
    cursor: pointer;
    display: none;
}

.house-count {
    margin-bottom: 20px;
}

.house-count .count {
    margin-left: 10px;
}

.step-wrapper {
    width: 95%;
}

.step-wrapper .bg-pink {
    background-color: #ff5a5a;
    color: #fff;
}

@media(max-width:1200px) {
    .house-step-bg {
        display: none;
    }

    .house-step {
        height: inherit;
        text-align: center;
    }

    .house-block {
        position: inherit;
        top: 0;
        left: 0;
        display: inline-block;
        width: 31%;
        background-color: #fff;
        color: #2d2d2d;
        box-shadow: 0 2px 5px rgba(134, 134, 134, 0.3);
        margin-bottom: 5px;
    }

    .house-block:hover {
        color: fff;
        background-color: #ff5a5a;
    }

    .house-block:after {
        display: none;
    }

    .house-fire-icon {
        left: calc(100% - 170px);
    }

    .discount-img div {
        min-width: 80px;
    }
}

@media(max-width:992px) {
    .title {
        padding-top: 110px;
    }

    .product-table tr td.title-type {
        padding-right: 35px;
        position: relative;
        text-align: left;
    }

    .product-table tr td.title-type i {
        position: absolute;
        left: calc(100% - 30px);
        top: 12px;
    }

    .col-md-3 .house-card {
        min-height: 322px;
    }

    .calculate p {
        display: block;
        width: 100%;
        text-align: center;
    }

    .calculate .pink-text {
        margin: 10px auto;
    }

    .discount-img div {
        min-width: 30%;
    }

    .slicker02 .choose-detail p {
        text-align: center;
    }
}

@media(max-width:767px) {
    body {
        background-size: auto 200px;
    }

    .information-image {
        height: 300px;
    }

    .information-image h1 {
        font-size: 1.7em;
    }

    .information-image h2 {
        font-size: 17px;
    }

    .house-block {
        width: 48%;
    }

    .product-wrapper .house-title,
    .house-wrapper .house-title {
        margin-bottom: 20px;
    }

    .house-text p,
    .choose-detail,
    .calculate p,
    .claculate-list,
    .compare-detail p,
    .found-step .house-card {
        font-size: 16px;
    }

    .compare-detail {
        margin-bottom: 20px;
    }

    .pink-bg>span.house-fire-icon {
        display: none;
    }

    .slick-prev {
        left: -10px;
    }

    .slick-next {
        right: -10px;
    }

    .clock-icon {
        top: -10px;
        left: 10px;
    }

    .col-md-3 .house-card {
        min-height: inherit;
        margin-bottom: 20px;
    }

    .goto-house-step {
        padding: 0 0 80px;
        background-size: 200px auto;
    }

    #fifth .house-card {
        margin-bottom: 20px;
    }

    .discount-img {
        padding: 0;
        text-align: center;
    }

    .discount-img div {
        width: 80px;
        min-width: inherit;
    }

    .choose-detail {
        padding: 10px;
    }

    .found-step:before {
        left: 50%;
        height: 48%;
    }

    .found-step:after {
        left: 50%;
        top: 55%;
        height: 40%;
    }

    .product-table thead {
        display: none;
    }

    .product-table tbody td {
        display: block;
        width: 100%;
        text-align: left;
    }

    .product-table tbody td::before {
        color: #929292;
        display: inline-block;
        margin-right: 8px;
    }

    .product-table tbody td.title-item {
        background-color: #ff5a5a;
        color: #Fff;
        text-align: center;
    }

    .product-table tbody td.title-item::before {
        content: '承保項目 -';
        color: #fff;
    }

    .title-type::before {
        content: '險種';
    }

    .title-fire::before {
        content: '住宅火災';
    }

    .title-green::before {
        content: '泰安綠能居家';
    }

    .title-fun::before {
        content: '泰安FUN心動產';
    }

    .product-table tr td.title-type i {
        position: relative;
        left: inherit;
        top: inherit;
    }

    .product-table tbody td.m-hide {
        display: none;
    }

    .fire-icon {
        width: 100px;
        left: 20px;
    }
}