.rooms-list {
    margin: 30px;
}

.rooms-list .item {
    width: calc(100% / 4);
    padding: 0 13px;
    margin-bottom: 60px;
}

.rooms-list .item:nth-child(4n+1) {
    clear: left;
}

.rooms-list .item a {
    max-width: 340px;
    margin: 0 auto;
}

.rooms-list .pic {
    position: relative;
    overflow: hidden;
}

.rooms-list a:before {
    content: '';
    display: block;
    width: 55px;
    height: 57px;
    background: url(../../images/common/rooms/hover.png);
    position: absolute;
    right: 15px;
    top: -45px;
    z-index: 1;
    opacity: 0;
}

.rooms-list a:hover:before {
    opacity: 1;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.rooms-list .txt {
    padding: 5px 0;
    background: #fff;
    border-bottom: 3px solid #6DC9C9;
    /*  min-height: 55px;*/
    min-height: 26px;
}

.rooms-list li:nth-child(even) .txt {
    border-color: #ffd000;
}

.rooms-list .name {
    color: #FFF;
    font-size: 16px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    width: 100%;
    height: 28px;
    bottom: 0;
    padding: 5px 0;
}

.rooms-list a:hover .name {
    height: 100%;
    padding-top: 35%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    transition: all 200ms linear;
}

.rooms-list .price .title,
.price .tag {
    /*    display: block;*/
    font-size: 15px;
    margin-right: 10px;
}

.thumbnails .price {
    margin-top: 30px;
    border-top: 1.5px dashed #e2a900;
    padding-top: 15px;
}

.rooms-list .price,
.thumbnails .price li {
    width: 100%;
    display: inline-block;
    text-align: center;
}

.thumbnails .price li {
    padding: 8px 0;
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    -webkit-border-radius: 18px;
    -moz-border-radius: 18px;
    border-radius: 18px;
    width: 30%;
    margin:5px 5px;
}

.thumbnails .price li .tag {
    display: block;
    margin-right: 0;
}

.thumbnails .price li.c1 {
    background: #87c24b;
}

.thumbnails .price li.c2 {
    background: #87c24b;
}

.thumbnails .price li.c3 {
    background: #ffbc33;
}

.thumbnails .price li.c4 {
    background: #9bde88;
}

.thumbnails .price li.c5 {
    background: rgb(255,179,153);
}

.rooms-list + .btn-box {
    padding-top: 20px;
}

.gallery {
    margin-bottom: 60px;
}

.stage {
    float: left;
    width: 61%;
    border: 10px solid #fff;
    box-shadow: 3px 3px 8px rgba(0%, 0%, 0%, 0.3);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.thumbnails,
.rooms-detail .title {
    float: right;
    width: 37%;
    padding: 0 3.2%;
    box-sizing: border-box;
}

.rooms-detail .title {
    color: #333;
    font-size: 21px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    min-height: 70px;
}

.rooms-detail .title:before {
    content: "";
    display: block;
    background: #B2A5DC;
    color: #fff;
    letter-spacing: 0;
    width: 24px;
    height: 24px;
    line-height: 22px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 20px;
    margin: 0 auto 10px;
}

.thumbnails ul {
    margin: -2% -1% 0;
}

.thumbnails ul li {
    width: 50%;
    padding: 2% 1% 0;
}

.thumbnails a {
    position: relative;
    opacity: .6;
}

.thumbnails a:hover,
.thumbnails li.active a {
    opacity: 1;
}

.gallery-control {
    display: none;
}

.detail-title {
    font-size: 15px;
    font-weight: bold;
    position: relative;
    padding: 0px 10px 4px 30px;
    letter-spacing: 1px;
    background: #fffde0;
    border: solid #e0da85;
    border-width: 1px 0 0 0;
}

.detail-title span {
}

.detail-title b {
    font-size: 25px;
    color: #8db537;
    margin-right: 5px;
}

.rooms-detail .editor {
    padding: 30px;
}

.gallery.rooms2 .stage {
    padding: 0 15px;
    box-sizing: border-box;
    margin: 0 auto;
    text-align: center;
    float: none;
}

.rooms-list.rooms2 .name {
    padding: 0 15px;
    box-sizing: border-box;
}

.rooms-list.rooms2 .description {
    font-size: 14px;
    color: #878787;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media screen and (max-width: 1280px) {
    .thumbnails .price {
        margin-top: 15px;
    }
}

@media screen and (max-width: 1160px) {
    .products-list .item {
        width: 33.33%;
    }
    .products-list .item:nth-child(4n+1) {
        border-left-width: 1px;
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        border-left-width: 0;
        clear: left;
    }
    .thumbnails .price li {
        width: 50%;
    }
}

@media screen and (max-width: 1000px) {
    .stage,
    .thumbnails,
    .rooms-detail .title {
        float: none;
        width: auto;
        padding: 0;
    }
    .stage {
        max-width: 860px;
        margin: 20px auto 30px;
    }
    .thumbnails ul {
        margin: -6px -3px 0;
    }
    .thumbnails ul li {
        width: 16.66%;
        padding: 6px 3px 0;
        text-align: center;
    }
    .rooms-detail .editor {
        padding: 30px 0;
    }
    .thumbnails .price li {
        font-size: 16px;
        font-weight: bold;
        color: #fff;
        width: inherit;
        padding: 8px 15px;
    }
}

@media screen and (max-width: 450px) {
    .products-list .item {
        width: auto;
        float: none;
        margin-bottom: 40px;
    }
    .products-list .item:nth-child(n) {
        border: 0;
        clear: none;
    }
    .products-list .name,
    .products-list .description {
        height: auto;
    }
    .products-list .description {
        max-height: 55px;
    }
    .thumbnails ul {
        display: none;
    }
    .thumbnails .price {
        display: block;
        margin-bottom: 15px;
    }
    .thumbnails .price li {
        width: 100%;
        display: block;
        padding: 0;
    }
    .price .tag {
        display: inline-block;
        margin-right: 10px;
    }
    .gallery-control {
        display: block;
        font-size: 18px;
        line-height: 40px;
        text-align: right;
    }
    .gallery-control .btn {
        color: #7A3D7A;
        width: 40px;
        height: 40px;
        font-size: 30px;
        text-align: center;
    }
    .gallery-control .page-control {
        float: left;
        padding: 0 5px;
        color: #aaa;
    }
    .gallery-control .page-control .current {
        font-size: 30px;
        color: #fbad18;
    }
}

@media screen and (max-width: 1200px) {
    /* .rooms-list .item {
        width: calc(100% / 2);
    }
    .products-list .item:nth-child(4n+1) {
        clear: none;
    }
    .products-list .item:nth-child(3n+1) {
        clear: none;
    }
    .products-list .item:nth-child(2n+1) {
        clear: left;
    } */
    .rooms-list .item {
        width: calc(100% / 2);
    }
    .rooms-list .item:nth-child(4n+1) {
        clear: none;
    }
    .rooms-list .item:nth-child(2n+1) {
        clear: left;
    }
}

@media screen and (max-width: 650px) {
    .rooms-list .item {
        width: 100%;
    }
}
