@charset "utf-8";

* {
    margin: 0;
    padding: 0;
}

ul li {
    list-style: none;
}

img {
    border: 0;
}

/* 垂直居中 */
.small-img {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.25rem;
}

.clearfix:before,
.clearfix:after {
    display: table;
    line-height: 0;
    content: "";
}

.magnifier {
    width: 31.25rem;
    position: relative;
}

.magnifier-container {
    width: 31.25rem;
    height: 31.25rem;
    overflow: hidden;
    position: relative;
    border: 0.0625rem solid #ddd;
    border-radius: 0.375rem;
    cursor: crosshair;
    box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08);
}

.move-view {
    width: 6.25rem;
    height: 6.25rem;
    position: absolute;
    background-image: url('../../common/images/roomService/move-box.png');
}

.images-cover {
    height: 100%;
    width: 100%;
    position: relative;
}

.images-cover img {
    position: absolute;
    transition: all 0.2s ease;
}

.magnifier-assembly {
    height: 5.75rem;
    overflow: hidden;
    position: relative;
    padding-left: 1.875rem;
    padding-right: 1.875rem;
    margin-top: 0.625rem;
}

.magnifier-btn {
    position: absolute;
    font-family: "宋体";
    width: 100%;
    top: 50%;
    left: 0;
    margin-top: -2.5rem;
}

.magnifier-btn span {
    line-height: 5rem;
    height: 5rem;
    width: 1.25rem;
    background-color: #6e6e6e;
    color: #fff;
    display: block;
    z-index: 100;
    text-align: center;
    font-size: 1.25rem;
    cursor: pointer;
    border-radius: 0.1875rem;
    user-select: none;
    transition: all ease-in-out 0.3s;
}

.magnifier-btn .magnifier-btn-left {
    float: left;
}

.magnifier-btn .magnifier-btn-right {
    float: right;
}

.magnifier-btn .magnifier-btn-left:hover,
.magnifier-btn .magnifier-btn-right:hover {
    background-color: #00329F;
}

.magnifier-line {
    position: relative;
    overflow: hidden;
    height: 5.75rem;
}

.magnifier-line ul {
    display: block;
    font-size: 0;
    width: 10000%;
    position: absolute;
    left: 0;
    z-index: 100;
}

.magnifier-line li {
    float: left;
    width: 6.25rem;
    cursor: pointer;
}

.small-img {
    height: 4.875rem;
    padding: 0.0625rem;
    margin: 0.3125rem;
    overflow: hidden;
    border: 0.125rem solid #ddd;
    text-align: center;
    transition: all ease-in-out 0.3s;
}

.small-img:hover {
    border-color: #00329F;
    transform: scale(1.05);
}

.small-img img {
    max-width: 100%;
    max-height: 100%;
}

.magnifier-line ul > .active-view .small-img {
    border-color: #00329F;
}

.magnifier-view {
    width: 100%;
    height: 100%;
    position: absolute;
    right: -105%;
    top: 0;
    z-index: 9999;
    background-color: #fff;
    display: none;
    overflow: hidden;
    border-radius: 0.25rem;
}

.magnifier-view img {
    display: block;
}

.animation03 {
    transition: all 0.3s ease-in 0.1s;
    -ms-transition: all 0.3s ease-in 0.1s;
    -moz-transition: all 0.3s ease-in 0.1s;
    -webkit-transition: all 0.3s ease-in 0.1s;
    -o-transition: all 0.3s ease-in 0.1s;
}


@media (max-width: 768px) {
    .magnifier {
        width: 100% !important;
    }

    .magnifier-container {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 3/2 !important;

        .images-cover img {
            top: 0 !important;
            margin-top: 0 !important;
            width: 100% !important;
            height: auto !important;
        }
    }

    .magnifier-assembly {
        padding-left: 1.5625rem !important;
        padding-right: 1.5625rem !important;
    }

    .magnifier-line li {
        width: 5rem !important;
    }

    .small-img {
        height: 3.75rem !important;
    }

    .magnifier-btn span {
        height: 3.75rem !important;
        line-height: 3.75rem !important;
        width: 1.125rem !important;
        font-size: 1rem !important;
    }

    .magnifier-view {
        display: none !important;
    }
}