html, body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}
body {
    font-family: Helvetica, Arial, sans-serif;
    font-size: 14px;
    color:#000000;
}
html, body, div, iframe, img, p, dl, li, canvas {
    outline: 0;
    vertical-align: baseline;
}
#car360 {
    background-image: url(bg_v2.jpg);
    background-size: cover;
    background-position: center center;
    width: 100%;
    height: 100%;
}
#car360 > div {
    position: absolute;
}

/* go pano */
#car2pano {
    right: 1rem;
    top: 50%;
    margin-top: -4rem;
    width: 5rem;
    height: 3rem;
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
    z-index: 90;
}
#car2pano img {
    width: 5rem;
    height: 3rem;
}
#car2pano p {
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1.2rem;
    line-height: 1.2rem;
    text-align: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.35);
}

/* btn_param */
#btn_param {
    right: 2rem;
    top: 50%;
    margin-top: 1rem;
    width: 3rem;
    height: 3rem;
    background-color: rgba(32, 32, 64, 0.85);
    border-radius: 1.5rem;
    text-align: center;
    line-height: 3rem;
    cursor: pointer;
    z-index: 90;
}
#btn_param i {
    font-size: 1.5rem;
    color: #fff;
}

/* rotate */
#car_rotate {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 80;
}
#car_rotate #spritespin {
    margin: 0 auto;
    transform: translateZ(0);
    overflow: hidden;
}
/* progress */
.spritespin-progress {
    position: absolute;
    width: 60% !important;
    left: 20%;
    top: 45% !important;
}
.spritespin-progress-label {color: grey;}
.spritespin-progress-bar {background-color: grey; height: 1px;}

/* color */
#car_color {
    bottom: 1rem;
    left: 50%;
    height: 2rem;
    z-index: 90;
    display: flex;
    justify-content: center;
    align-items: center;
}
#car_color div {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 1.5rem;
    display: table-cell;
    margin: 0 0.75rem;
    float: left;
    cursor: pointer;
    position: relative;
    right: 50%;
    box-sizing: border-box;
}
#car_color div.selected { border: 0.25rem solid #cccccc; }
#car_color > div > img {
    display: block;
    width: 100%;
    height: 100%;
}

/* pano */
#pano {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 99;
    width:100%;
    height:100%;
}

/* detail */
.detail {
    display: none;
    position: absolute;
    top: 50%;
    left: 1rem;
    z-index: 1000;
    width: 43rem;
    height: auto;
    margin-top: -15rem;
    padding: 0;
    background-color: rgba(6, 17, 40, 0.9);
    border-radius: 0.25rem;
    padding: 0.25rem;
}
.layui-tab-title {
    width: 8.5rem;
    float: left;
    border: 0 none;

}
.layui-tab-content {
    width: 34.5rem;
    float: left;
    padding: 0;
    background-color: rgba(0, 0, 0, 0.75);
}


.layui-tab-title li {  
    display: block; /* 仍保持为块级 */  
    line-height: 2rem;  
    margin: 0;  
    padding: 0;  
    color: #868686;  
    text-align: right;  
    padding-right: 0.75rem;  

} 

.layui-tab-title li:not(:last-child) {
    border-bottom: 1px #235 solid;
}
.layui-tab-title li.layui-this {
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.4);
}
.layui-tab-title .layui-this:after {
    content: "";
    width: 100%;
    height: 0;
    border: 0 none;
    border-radius: 0;
}
.layui-tab-content .layui-tab-item {
    height: auto;
    min-height: 17rem;
    padding: 0 0.5rem;
    color: #fff;
}
.layui-tab-content .layui-tab-item p {
    line-height: 2rem;
}
.layui-tab-content .layui-tab-item img {
    max-width: 33.5rem;
}
.layui-tab-item .head,
.layui-tab-item ul {
    border-bottom: 1px #F32735 solid;
    margin-bottom: 0.5rem;
    color: #F32735;
    font-weight: bold;
}
.layui-tab-item ul {
    clear: both;
    overflow: hidden;
    height: auto;
}
.layui-tab-item li {
    width: 50%;
    height: 1.5rem;
    line-height: 1.5rem;
    float: left;
}

/* cmx-tab */
.cmx-tab {
    width: 100%;
    height: 100%;
    box-sizing: content-box;
    padding: 0.1rem;
}
.cmx-tab-title li {
    width: auto;
    height: 1.6rem;
    line-height: 1.6rem;
    padding: 0 1.5rem;
    margin: 0 0.5rem 0.25rem 0;
    text-align: center;
    background-color: #333;
    color: #fff;
    font-weight: normal;
    border-radius: 0.25rem;
    float: left;
    cursor: pointer;
}
.cmx-tab-title li.cmx-this {
    background-color: #f32735;
}
.cmx-tab-content > div {
    width: 100%;
    display: none;
    text-align: center;
}
.cmx-tab-content > div.cmx-show {
    display: block;
}
.cmx-tab-content > div p {
    margin: 0;
    padding: 0 0 0.1rem 0;
    line-height: 100%;
    width: 100%;
    text-align: left;
}

.clearfix:after,
.layui-tab-content .layui-tab-item:after {
    content: '';
    display: table;
    clear: left;
}
.close_panel {
    clear: both;
    position: absolute;
    right: -0.5rem;
    top: -0.5rem;
    width: 2rem;
    height: 2rem;
    line-height: 2rem;
    background-color: #000000;
    border-radius: 1rem;
    color: #fff;
    text-align: center;
    cursor: pointer;
}
.close_panel i {
    font-size: 1.15rem;
}
.inner .layui-tab-content {
    min-height: 20rem;
}
/* 兼容 */
@media screen and (min-width: 1900px) {
    .detail { margin-top: -12rem; }
}
@media screen and (orientation:portrait) and (max-width: 900px) {
    #car360 {
        width : 100vmax;
        height : 100vmin;
        transform-origin: top left;
        transform: rotate(90deg) translate(0,-100vmin);
        -webkit-transform: rotate(90deg) translate(0,-100vmin);
    }
}
@media screen and (max-width: 900px) {
    #car_color {
        bottom: 0.75rem;
        height: 1.5rem;
    }
    #car_color div {
        width: 1.35rem;
        height: 1.35rem;
        border-radius: 1.35rem;
    }
    /* DETAIL */
    .detail {
        top: 50%;
        left: 50%;
        width: 22.5rem;
        height: auto;
        margin-top: -8rem;
        margin-left: -11.5rem;
    }
    .layui-tab-title { width: 6.5rem; }
    .layui-tab-title li {
        height: 1.5rem;
        line-height: 1.5rem;
        font-size: 0.75rem;
    }
    .layui-tab-content { width: 16rem; }
    .layui-tab-content .layui-tab-item {
        min-height: 13rem;
        height: auto;
    }
    .layui-tab-content .layui-tab-item p,
    .layui-tab-content .layui-tab-item li {
        line-height: 1.5rem;
        font-size: 0.75rem;
    }
    .layui-tab-content .layui-tab-item img { max-width: 15.5rem; }

    /* OUT */
    .detail.out {
        left: 1rem;
        margin-left: 0;
        margin-top: -7.5rem;
        width: 26rem;
    }    
    .detail.out .layui-tab-title { width: 7rem; }
    .detail.out .layui-tab-content {width: 19rem;}
    .detail.out .layui-tab-content .layui-tab-item img {max-width: 18rem;}

    .cmx-tab-title li {
        height: 1.4rem;
        line-height: 1.4rem;
        padding: 0 0.1rem;        
        margin: 0 0.2rem 0.25rem 0;
    }
    .close_panel {
        width: 1.5rem;
        height: 1.5rem;
        line-height: 1.5rem;
        border-radius: 0.75rem;
        top: -0.35rem;
        right: -0.35rem;
    }
}