.page {
    background-color: #f7f7f7;
}
.move-top {
    margin-top: -40px;
}
.font-serif {
    font-family: 'Noto Serif TC', serif;
}
.top-bg {
    /* position: absolute;
    top: 0;
    left: 0; */
    width: 100%;
    height: 120px;
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    background-color: #e0ede4;
    position: relative;
}
.top-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/texture/1.jpg');
    opacity: 0.4;
    mix-blend-mode: multiply;
}
.title-wrapper {
    padding-bottom: 28px;
    margin-bottom: 48px;
    border-bottom: 1px solid #b1d3bb;
    position: relative;
}
.title-wrapper::after {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 14px 16px 0 16px;
    border-color: #b1d3bb transparent transparent transparent;
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
}
.title-wrapper .imgbox {
    position: relative;
    padding: 5px;
}
.title-wrapper .imgbox::before {
    content: "";
    width: 100px;
    height: 1px;
    position: absolute;
    top: -4px;
    left: -4px;
    background-color: #8b9b90;
    opacity: 0.4;
}
.title-wrapper .imgbox::after {
    content: "";
    width: 1px;
    height: 100px;
    position: absolute;
    top: -4px;
    left: -4px;
    background-color: #8b9b90;
    opacity: 0.4;
}
.title-wrapper .textbox {
    padding: 0 10px;
}
.title-wrapper .textbox p {
    margin-bottom: 0;
}
.timeline-title {
    font-size: 26px;
    font-weight: 600;
    font-family: 'Noto Serif TC', serif;
    position: relative;
    margin-bottom: 32px;
}
.timeline {
    position: relative;
}
.timeline::before {
    content: "";
    background: #c2d5d3;
    width: 3px;
    height: 95%;
    position: absolute;
    top: 32px;
}
.timeline-item {
    width: 100%;
    margin-bottom: 70px;
}
.timeline-item::after {
    content: "";
    display: block;
    clear: both;
}

.timeline-content {
    position: relative;
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 25px 0px rgb(0 0 0 / 20%);
    margin-left: 32px;
}

.timeline-content::after {
    content: "";
    position: absolute;
    border-style: solid;
    width: 0;
    height: 0;
    top: 30px;
    left: -15px;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff transparent transparent;
}

.timeline-icon {
    width: 20px;
    height: 20px;
    background: #83bf95;
    border-radius: 50%;
    position: absolute;
    left: -8px;
    margin-top: 32px;
}
.timeline-icon::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: calc(100% + 8px);
    height: calc(100% + 8px);
    border-radius: 50%;
    border: 1px solid rgb(131 191 149 / 60%);
}
.timeline-card .text-box {
    padding: 16px 14px;
}

.timeline-card .text-box .desc {
    font-size: 17px;
    line-height: 25px;
    color: #212121;
}
.timeline-img {
    width: 100%;
    padding-top: calc(100% * 6 / 9);
    position: relative;
    display: block;
}
.timeline-img .overlay-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
    height: 100%;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
}
.timeline-img .overlay-icon img {
    text-shadow: 0 0 16px rgb(0 0 0 / 80%);
    width: 80px;
    position: absolute;
    bottom: 10px;
    right: 0;

}
.date {
    color: #bd8c5a;
    font-family: 'Roboto',sans-serif;
    font-weight: 500;
    font-size: 20px;
    letter-spacing: -0.4px;
}

@media screen and (max-width: 1025px) {
    .timeline-title {
        font-size: 32px;
        margin-bottom: 48px;
    }
    .timeline::before {
        left: 50px;
    }

    .timeline .timeline-icon {
        left: 40px;
    }

    .timeline .timeline-content {
        max-width: 100%;
        width: auto;
        margin-left: 80px;
    }
    .top-bg {
        height: 200px;
    }
    .move-top {
        margin-top: -120px;
    }

}
@media (max-width: 992px) {
    .top-bg {
        height: 160px;
    }
}
@media (max-width: 430px) {
    .top-bg {
        width: 100%;
        height: 120px;
    }
    .timeline::before {
        left: 9px;
        width: 2px;
    }
    .timeline .timeline-icon {
        width: 14px;
        height: 14px;
        left: 2px;
    }
    .timeline .timeline-content {
        margin-left: 30px;
    }
    .timeline-title {
        font-size: 30px;
        margin-bottom: 32px;
    }
    .move-top {
        margin-top: -90px;
    }
}
@media (max-width: 321px) {
    .timeline-title {
        font-size: 24px;
        margin-bottom: 28px;
    }
    .timeline-card .text-box .desc {
        font-size: 14px;
        line-height: 22px;
    }
}



.page-search-wrapper {
    margin-bottom: 16px;
}

.page-search-wrapper input {
    width: 77%;
    padding: 8px;
}

.page-search-wrapper button {
    width: 23%;
    border-radius: 0 4px 4px 0;
}

.side-left-col {
    position: absolute;
    top: 66px;
    left: 0;
    width: 420px;
    background: rgb(27, 28, 29);
    background: linear-gradient(90deg, rgba(27, 28, 29, 0.7) 0%, rgba(17, 17, 19, 0.8) 85%);
    padding: 24px 16px;
    padding-top: 32px;
    color: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 2px 2px 28px -1px rgba(163, 27, 27, 0.3);
    display: flex;
    flex-direction: column;
    max-height: 85%;

}

.side-left-col .house-name {
    margin: 0;
    font-size: 24px;
    line-height: 27px;
    font-weight: 900;
    letter-spacing: 1.4px;
}

.side-left-col .house-addr {
    margin: 12px 0;
    font-size: 17px;
    color: #909090;
}

.status-box {
    margin: 0 10px;
}

.status-box__inner {

    display: flex;
}

.side-left-col .status-box .item {
    background: linear-gradient(90deg, rgba(53, 53, 53, 0.801) 0%, rgba(52, 52, 52, 0.486) 65%);
    padding: 12px 18px;
    margin-right: 10px;
    border-radius: 8px;
    box-shadow: 0 0 18px 0 rgb(0 0 0 / 30%);
}

.side-left-col .item .item-label {
    color: #acacac;
}

.side-left-col .item .item-content {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
}

.side-left-col .top-box {
    flex-grow: 1;
}

.side-left-col .tool-box {
    flex-grow: 2;
    margin-top: 16px;
    max-height: 550px;
    overflow-y: auto;
    overflow-x: hidden;
}

.side-left-col .tool-box::-webkit-scrollbar {
    -webkit-appearance: none;
}

.side-left-col .tool-box::-webkit-scrollbar:vertical {
    width: 6px;
}

.side-left-col .tool-box::-webkit-scrollbar-thumb {
    background-color: rgba(136, 136, 136, 0.767);
    border-radius: 6px;
}

.side-left-col .tool-box::-webkit-scrollbar-track {
    background-color: rgba(12, 12, 12, 0.288);
    border-radius: 6px;
}

.side-tool-btn {
    width: 90%;
    font-weight: 500;
    padding: 8px;
    color: rgb(218, 218, 218);
    text-align: left;
    letter-spacing: 0.4px;
    display: block;
    transition: all 0.3s;
    background-color: rgba(78, 78, 78, 0.404);
    line-height: 22px;
    position: relative;
}

.side-tool-btn .icon i {
    color: #c1995e;
    font-size: 24px;
    line-height: 20px;
}

.side-tool-btn .fa-search:before {
    margin-left: .2em;
    margin-right: .2em;
}

.side-tool-btn span {
    display: block;
}

.side-tool-btn .hinttext {
    font-size: 16px;
    display: block;
    text-align: center;
    padding: 6px 8px;
    border-radius: 4px;
    background-color: rgb(121 141 120);
    font-weight: 400;
    color: #fff;
    line-height: 16px;
    transition: all 0.5s;
    flex: 1 1 100%;
    margin-top: 6px;
}
.side-tool-btn .hinttext i {
    font-size: 20px;
}

.btn.side-tool-btn:active,
.btn.side-tool-btn:active:focus,
.btn.side-tool-btn:focus,
.btn.side-tool-btn:focus-visible,
.btn.side-tool-btn:focus-within {
    outline: none;
    color: #fff;
    /* box-shadow: 0 0 28px -2px rgba(153, 14, 14, 0.7); */
}

.side-left-col .tool-box .item {
    padding: 4px 0;
}


.tablet-bottom-row {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow-x: scroll;
}

.tablet-bottom-row .tool-box {
    display: flex;
}

.tablet-bottom-row .tool-box .item {
    min-width: 40%;
    padding: 24px 16px;
}

.tablet-bottom-row .tool-box .side-tool-btn {
    /* display: flex;
    flex-wrap: wrap; */
    width: 100%;
    background-color: #becfb9;
    color: #212121;
    border-radius: 4px;
    box-shadow: 0 0 16px -5px rgb(0 0 0 / 30%);
    transition: all 0.3s;
}

.side-tool-btn .imgbox {
    width: 120px;
    flex-shrink: 0;
}
.side-tool-btn .textbox {
    flex-grow: 1;
    white-space: initial;
    padding: 6px 8px;
    flex-basis: 0;
    min-width: 0;
    background-color: rgb(255 255 255 / 30%);
}
.side-tool-btn h5 {
    color: #212121;
    font-weight: 500;
    /* margin-bottom: 10px; */
    margin-bottom: 0;
    font-size: 20px;
    /* line-height: 28px; */
    font-family: 'Noto Serif TC', serif;
    display: block;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}
.side-tool-btn .info {
    font-size: 16px;
    line-height: 24px;
    opacity: 0.8;
    margin-bottom: 0;
    margin-top: 10px;
}

@media (max-width: 1025px) {
    .main-img {
        height: 150px;
    }

    .side-left-col.tablet-top-row {
        display: block;

        width: 500px;

    }

    .side-left-col .tool-box {
        display: none;
    }
    .back-search {
        bottom: 20%;
    }

    .side-tool-btn:hover {
        transform: translateX(0);
    }

    .side-tool-btn:hover .smtext {
        transform: translateX(0);
    }

    .page-search-wrapper {
        width: 100%;

    }

}

@media (max-width: 992px) {
    .tablet-bottom-row .tool-box .item {
        min-width: 45%;
    }
}

@media (max-width: 769px) {
    .tablet-bottom-row .tool-box .item {
        min-width: 47%;
    }
}
@media (max-width: 600px) {
    .tablet-bottom-row .tool-box .item {
        min-width: 70%;
    }
}

@media (max-width: 415px) {
    
    .tablet-bottom-row .tool-box .item {
        padding: 16px 10px;
        min-width: 90%;
    }

}


@media (max-width: 361px) {
    .side-tool-btn .imgbox {
        width: 90px;
    }

}
@media (max-width: 321px) {
    .side-tool-btn .imgbox {
        width: 80px;
    }
    .side-tool-btn .hinttext {
        font-size: 14px;
        padding: 4px 8px;
    }
    .side-tool-btn h5 {
        font-size: 18px;
    }
    .side-tool-btn .info {
        font-size: 14px;
        line-height: 18px;
    }
}
