/*
	Sets the style of the image slider wrapper <div> to be centered horizontally and vertically.
	It also sets its default dimensions and the overflowing hidden (to fix the IE image positioning bug).
*/
#threesixty {
  position: absolute;
  /* This one fixes the IE positioning bug */
  overflow: hidden;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url(/images/360/bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
}
/*
	Defines the criteria for the max. 1024px wide tablets portrait mode and sets the image slider dimensions and centering according to it.
*/
@media screen and (max-device-width: 1024px) and (orientation: portrait) {
  #threesixty {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}
/*
	Defines the criteria of the max. 480px wide mobiles' landscape mode and sets the image slider dimensions and centering according to it.
*/
@media screen and (max-device-width: 480px) and (orientation: landscape),
  screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: landscape) {
  #threesixty {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}
/*
	Defines the criteria of the max. 480px wide mobiles' portrait mode and sets the image slider dimensions and centering according to it.
*/
@media screen and (max-device-width: 480px) and (orientation: portrait),
  screen and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
  #threesixty {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}

/*
	Makes the image slider invisible by default
*/
#threesixty_images {
  /* display: none; */
}
.threesixty_images_box {
  display: none;
}
/*
	Sets every image in the slider to be absolute positioned and dynamically sized.
*/
#threesixty li img {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.icon-360 {
  margin-top: 0.98rem;
  margin-left: 0.83rem;
  display: flex;
  align-items: center;
}
.icon-360 img {
  width: 1.2rem;
  height: 1.2rem;
}
.icon-360 .icon-title {
  color: #4c4c4c;
  font-size: 0.6rem;
  margin-left: 0.23rem;
}
.color-box {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 1;
}
.color-box img {
  cursor: pointer;
  width: 0.87rem;
  height: 0.87rem;
  padding: 0.05rem;
}
.active-color {
  border: 1px solid #d3d3d3;
}
.back-box {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translate(0, -50%);
  cursor: pointer;
  z-index: 5555555;
}
.back-box-img {
  width: 1.17rem;
  height: 2.14rem;
}
.back-box-title {
  color: rgba(255, 255, 255, 06);
  font-size: 0.26rem;
  writing-mode: vertical-lr;
  position: absolute;
  left: 35%;
  top: 50%;
  transform: translate(-50%, -50%);
}
/*
	Sets the style of the visible current frame of the image slider animation
*/
.current-image {
  visibility: visible;
  width: 100%;
}
/*
	Sets the style of the visible "previous" frame of the image slider animation
*/
.previous-image {
  visibility: hidden;
  width: 0;
}
/*
	Sets the dimensions of the CanvasLoader placeholder <div>, it also centeres it horizontally and vertically inside the wrapper and makes it invisible by default
*/
#spinner {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: none;
  width: 100%;
  height: 100%;
  background-color: #e9ebec;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 233232332;
}
/*
	Sets the style of the percentage <span> of the preloader by setting its dimensions and centering it horizontally and vertically 
*/
/* #spinner span {
  position: absolute;
  top: 50%;
  width: 100%;
  color: #333;
  font: 0.8em Arial, Verdana, sans;
  text-align: center;
  line-height: 0.6em;
  margin-top: -0.3em;
} */

.loading {
  width: 1.5rem;
  margin: 0 auto;
  margin-top: 0;
}
.loading span {
  display: inline-block;
  width: 0.1rem;
  height: 100%;
  border-radius: 4px;
  background: #77a59a;
  -webkit-animation: load 1s ease infinite;
  animation: load 1s ease infinite;
}
.num {
  text-align: center;
  color: #558b7f;
  font-size: 0.26rem;
  font-family: Roboto-medium;
  margin-top: 0.8rem;
}
@-webkit-keyframes load {
  0%,
  100% {
    height: 40px;
    background: #77a59a;
  }
  50% {
    height: 70px;
    margin: -15px 0;
    background: #bbcfcc;
  }
}
.loading span:nth-child(2) {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
}
.loading span:nth-child(3) {
  -webkit-animation-delay: 0.4s;
  animation-delay: 0.4s;
}
.loading span:nth-child(4) {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
}
.loading span:nth-child(5) {
  -webkit-animation-delay: 0.8s;
  animation-delay: 0.8s;
}

.tab-list-left {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0.8rem;
  top: 1.43rem;
}
.tab-list-left .tab:nth-of-type(2) {
  margin-left: 0.63rem;
}
.tab-list-left .tab {
  color: #4c4c4c;
  font-size: 0.24rem;
  cursor: pointer;
}

.tab-list-left .tab-active {
  font-size: 0.36rem;
  color: #76a499;
  position: relative;
}

.tab-list-left .tab-active::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(/images/360/arrow-top.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 0.6rem;
  height: 0.5rem;
}

.tab-list-right {
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 5555555;
  right: 0.8rem;
  display: none;
  top: 1.43rem;
}
.tab-list-right .tab:nth-of-type(2) {
  margin-left: 0.63rem;
}
.tab-list-right .tab {
  color: #e5e5e5;
  font-size: 0.24rem;
  cursor: pointer;
}

.tab-list-right .tab-active {
  font-size: 0.36rem;
  color: #76a499;
  position: relative;
}

.tab-list-right .tab-active::after {
  content: "";
  position: absolute;
  display: block;
  bottom: -0.4rem;
  left: 50%;
  transform: translateX(-50%);
  background-image: url(/images/360/arrow-top.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 0.6rem;
  height: 0.5rem;
}

#interior {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}
#interior canvas {
  width: 100% !important;
  height: 100% !important;
}
#interior1 {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}
#interior1 canvas {
  width: 100% !important;
  height: 100% !important;
}
.interior-icon {
  position: fixed;
  width: 0.6rem;
  height: 0.6rem;
  top: 1.47rem;
  left: 1.17rem;
}

@media (max-width: 767px) {
  #threesixty li img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 35%;
    object-fit: cover;
  }
  .icon-360 {
    margin-top: 0;
    margin-left: 0;
    position: absolute;
    left: 75%;
    top: 0.6rem;
    width: 100%;
    transform: translateX(-50%);
    display: flex;
    z-index: 55555555;
    align-items: center;
  }
  .icon-360 img {
    width: 1.05rem;
    height: 1.05rem;
  }
  .icon-360 .icon-title {
    color: #4c4c4c;
    font-size: 0.52rem;
    margin-left: 0.23rem;
  }
  .color-box {
    position: absolute;
    bottom: 0.5rem;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: 1;
  }
  .color-box img {
    cursor: pointer;
    width: 0.49rem;
    height: 0.49rem;
    padding: 0.05rem;
  }
  .active-color {
    border: 1px solid #d3d3d3;
  }
  .back-box {
    position: fixed;
    left: 0;
    top: 25%;
    transform: translate(0, -50%);
    cursor: pointer;
    z-index: 5555555;
  }
  .back-box-img {
    width: 0.7rem;
    height: 1.4rem;
  }
  .back-box-title {
    color: rgba(255, 255, 255, 06);
    font-size: 0.16rem;
    writing-mode: vertical-lr;
    position: absolute;
    left: 35%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  /*
	Sets the style of the visible current frame of the image slider animation
*/
  .current-image {
    visibility: visible;
    width: 100%;
  }
  /*
	Sets the style of the visible "previous" frame of the image slider animation
*/
  .previous-image {
    visibility: hidden;
    width: 0;
  }
  /*
	Sets the dimensions of the CanvasLoader placeholder <div>, it also centeres it horizontally and vertically inside the wrapper and makes it invisible by default
*/
  #spinner {
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: none;
    width: 100%;
    height: 100%;
    background-color: #e9ebec;
    z-index: 233232332;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }
  /*
	Sets the style of the percentage <span> of the preloader by setting its dimensions and centering it horizontally and vertically 
*/
  /* #spinner span {
  position: absolute;
  top: 50%;
  width: 100%;
  color: #333;
  font: 0.8em Arial, Verdana, sans;
  text-align: center;
  line-height: 0.6em;
  margin-top: -0.3em;
} */

  .loading {
    width: 1.5rem;
    margin: 0 auto;
    margin-top: 0;
  }
  .loading span {
    display: inline-block;
    width: 0.1rem;
    height: 100%;
    border-radius: 4px;
    background: #77a59a;
    -webkit-animation: load 1s ease infinite;
    animation: load 1s ease infinite;
  }
  .num {
    text-align: center;
    color: #558b7f;
    font-size: 0.26rem;
    font-family: Roboto-medium;
    margin-top: 0.8rem;
  }
  @-webkit-keyframes load {
    0%,
    100% {
      height: 40px;
      background: #77a59a;
    }
    50% {
      height: 70px;
      margin: -15px 0;
      background: #bbcfcc;
    }
  }
  .loading span:nth-child(2) {
    -webkit-animation-delay: 0.2s;
    animation-delay: 0.2s;
  }
  .loading span:nth-child(3) {
    -webkit-animation-delay: 0.4s;
    animation-delay: 0.4s;
  }
  .loading span:nth-child(4) {
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
  }
  .loading span:nth-child(5) {
    -webkit-animation-delay: 0.8s;
    animation-delay: 0.8s;
  }

  .tab-list-left {
    display: flex;
    align-items: center;
    position: absolute;
    right: 50%;
    top: 2.2rem;
    transform: translateX(50%);
  }
  .tab-list-left .tab:nth-of-type(2) {
    margin-left: 0.63rem;
  }
  .tab-list-left .tab {
    color: #4c4c4c;
    font-size: 0.29rem;
    cursor: pointer;
  }

  .tab-list-left .tab-active {
    font-size: 0.43rem;
    color: #76a499;
    position: relative;
  }

  .tab-list-left .tab-active::after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(/images/360/arrow-top.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 0.6rem;
    height: 0.5rem;
  }

  .tab-list-right {
    display: flex;
    align-items: center;
    z-index: 5555555;

    position: absolute;
    right: 50%;
    top: 2.2rem;
    transform: translateX(50%);

    display: none;
  }
  .tab-list-right .tab:nth-of-type(2) {
    margin-left: 0.63rem;
  }
  .tab-list-right .tab {
    color: #e5e5e5;
    font-size: 0.24rem;
    cursor: pointer;
  }

  .tab-list-right .tab-active {
    font-size: 0.36rem;
    color: #76a499;
    position: relative;
  }

  .tab-list-right .tab-active::after {
    content: "";
    position: absolute;
    display: block;
    bottom: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(/images/360/arrow-top.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    width: 0.6rem;
    height: 0.5rem;
  }

  #interior {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
  }
  #interior canvas {
    width: 100% !important;
    height: 100% !important;
  }
  #interior1 {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: -1;
  }
  #interior1 canvas {
    width: 100% !important;
    height: 100% !important;
  }
  .interior-icon {
    position: fixed;
    width: 0.6rem;
    height: 0.6rem;
    top: 80%;
    left: 45%;
  }
}
