@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
}

body,
html {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

a {
  display: inline-block;
}

img {
  width: 100%;
  border: none;
}

.interior-container {
  width: 100%;
  height: 100%;
}

.interior-container .interior-title {
  position: absolute;
  display: inline-block;
  color: #fff;
  z-index: 10;
}

.interior-color-list {
  position: absolute;
  text-align: center;
  top: 50%;
  left: 2%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  width: 54px;
  padding: 10px 0;
  z-index: 999;
}

.interior-color-list .color-item {
  line-height: 30px;
  border-radius: 8px;
  border: 3px solid transparent;
  color: #ccc;
  cursor: pointer;
  margin: 20px auto;
}

.interior-color-list .color-item .color-group {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: -webkit-box;
  /* 老版本语法: Safari, iOS, Android browser, older WebKit browsers. */
  display: -moz-box;
  /* 老版本语法: Firefox (buggy) */
  display: -ms-flexbox;
  /* 混合版本语法: IE 10 */
  display: -webkit-flex;
  /* 新版本语法: Chrome 21+ */
  display: flex;
  /* 新版本语法: Opera 12.1, Firefox 22+ */
  overflow: hidden;
}

.interior-color-list .color-item .color-group span {
  display: block;
  width: 100%;
  height: 100%;
}

.interior-color-list .color-item.cur {
  border-color: #fff;
}

.interior-main-body {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
}

.car-effect-change-wrap {
  position: fixed;
  bottom: 2%;
  left: 2%;
  z-index: 999;
}

.car-effect-change-wrap .car-radius-box {
  width: 100px;
  height: 75px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);
}

.car-effect-change-wrap .car-radius-box > img {
  font-size: 0;
  line-height: 0;
  vertical-align: top;
  height: 100%;
  width: auto;
  text-align: center;
  display: inline-block;
}

.car-effect-change-wrap .car-radius-box .car-type {
  font-size: 12px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  color: white;
  text-align: center;
  padding: 4px 0;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(0, 0, 0, 0.7));
}

.pop-color {
  position: absolute;
  display: inline-block;
  display: none;
}

.pop-color .color {
  display: inline-block;
  vertical-align: top;
}

.pop-color .color-name {
  color: #fff;
  display: inline-block;
  vertical-align: top;
}

body.vertical .interior-title {
  top: 2%;
  left: 2%;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0.5;
}

body.vertical .interior-color-list .color-item {
  width: 30px !important;
  height: 30px !important;
}

body.vertical .pop-color {
  top: 50%;
  left: 50%;
  margin: -20px 0 0 -65px;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  padding: 10px 20px;
  height: 40px;
}

body.vertical .pop-color .color {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  margin-top: 5px;
  display: inline-flex;
}

body.vertical .pop-color .color .color-items {
  display: block;
  width: 100%;
  height: 100%;
}

body.vertical .pop-color .color-name {
  font-size: 20px;
  line-height: 40px;
  font-weight: bold;
}

body.horizontal .interior-title {
  top: 2%;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  border-radius: 0.5em;
  padding: 0.4em 1em;
  font-size: 0.3rem;
  background-color: rgba(0, 0, 0, 0.25);
}

body.horizontal .interior-color-list {
  width: 45px;
}

body.horizontal .interior-color-list .color-item {
  width: 24px !important;
  height: 24px !important;
  margin: 10px auto;
}

body.horizontal .interior-color-list .color-group {
  width: 24px !important;
  height: 24px !important;
}
