.viewer360 .screenWrap {
  margin-top: 28px;
  margin-right: auto;
  margin-left: auto;
  width: 800px;
  height: 450px;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.viewer360 #screen {
  width: 100%;
  height: 100%;
  position: relative;
}

.viewer360 nav {
  margin-top: 15px;
  margin-bottom: auto;
  margin-right: auto;
  margin-left: auto;
  width: 800px;
}

.viewer360 nav a {
  margin: 0 5px;
  line-height: 60px;
  text-align: center;
  display: inline-block;
  overflow: hidden;
  background-size: cover;
  box-sizing: border-box;
  transition: all 0.5s ease;
  opacity: 1;
}

#title{
  position: absolute;
  top: 0;
  z-index: 2;
  text-align: left;
  width: 100%;
  height: 38px;
  background: rgba(245, 245, 245, 0.8);
  margin-top: -1px;
}

.titleSpace{
  width: 100%;
  font-size: 1.4rem;
  font-weight: bold;
  display: inline-block;
  line-height: 38px;
  padding-left: 20px;
}

#controls{
  width: 100%;
  height: 38px;
  position: absolute;
  bottom: 0;
  z-index: 2;
  background: rgba(245, 245, 245, 0.8);
  display: flex;
  margin-bottom: -1px;
}

#controls>div{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  font-size: 1.2rem;
}

.ctrlSpace{
  flex: 2;
  border-right: 1px solid #fff;
}

.ctrlZoom,.ctrlPan{
  flex:1;
  border-right: 1px solid #fff;
  cursor: pointer;
}

.ctrlRotate,.ctrlFullscreen{
  flex: 3;
  border-right: 1px solid #fff;
  cursor: pointer;
}

.ctrlZoom>img,.ctrlPan>img,.ctrlRotate>img,.ctrlFullscreen>img {
  width: 30px;
}

.ctrlZoom:hover,.ctrlPan:hover,.ctrlRotate:hover,.ctrlFullscreen:hover{
  background: rgba(245, 245, 245, 1);
}

.thumb_img img{ 
  height: 72px;
  width:auto;
  margin:0 auto;
}

.prevPanorama{position:absolute;

top: 50%;

    left: -5%;

    transform: translateY(-50%);

    -webkit-transform: translateY(-50%);

    -ms-transform: translateY(-50%);background-color: rgba(255, 255, 255, 0.7);z-index:1000;padding: 20px 5px;}

.nextPanorama {

    position: absolute;

    top: 50%;

    right: -5%;

    transform: translateY(-50%);

    -webkit-transform: translateY(-50%);

    -ms-transform: translateY(-50%);

    background-color: rgba(255, 255, 255, 0.7);

    z-index: 1000;

    padding: 20px 5px;

}

.prevPanorama img,.nextPanorama img{width:10px;height:auto;}

@media screen and (max-width:1000px){
  .wd1000.panorama {
    width: 100%;
  }
}

@media screen  and (min-width: 641px) and (max-width:980px){
  .viewer360 .screenWrap {
  width: 80%;
  max-width: 800px;
  height: 37.5vw;
  max-height: 450px;
  }
  
  .viewer360 nav {
    width: 80%;
    max-width: 800px;
  }

  .thumb_img img{ 
    height: 6vw;
    max-height: 72px;
  }

  #title{
    height: 3.88vw;
  }
  .titleSpace{
    font-size: 1.3rem;
    line-height: 3.88vw;
  }
  #controls{
    height: 3.88vw;
  }

  #controls>div{
    font-size: 1.1rem;
    line-height: 1;
  }
  
  .ctrlZoom>img,.ctrlPan>img,.ctrlRotate>img,.ctrlFullscreen>img {
    width: 2.5vw;
  }
}

@media screen  and (min-width: 641px) and (max-width:769px){
  .thumb_img img {
    height: 10vw;
  }
}

@media only screen and (max-width: 640px) {
  .viewer360 .screenWrap {
    margin-top: 12px;
    margin-bottom: auto;
    margin-right: auto;
    margin-left: auto;
    width: 94.9%;
    height: 48vw;
    position: relative;
    z-index: 1;
  }

  .viewer360 nav {
    margin-top: 4px;
    margin-bottom: auto;
    margin-right: auto;
    margin-left: auto;
    width: 94.9%;
  }

  .viewer360 nav a {
    margin: 0 2px;
    width: 30%;
    height: 15vw;
    line-height: 24px;
    text-align: center;
    display: inline-block;
    overflow: hidden;
    background-size: cover;
    box-sizing: border-box;
    transition: all 0.5s ease;
    opacity: 1;
  }

  #title {
    height: 5.5vw;
    min-height: 19px;
    margin-top: 0;
  }
  
  .titleSpace{
    font-size: 1rem;
    line-height: 5.7vw;
  }
  
  #controls{
    height: 20px;
    margin-bottom: 0;
    width: 95px;
    right: 5px;
    bottom: 5px;
    line-height: 21px;
  }
  
  #controls>div{
    display: block;
    font-size: 1rem;
  }
  
  #controls>.ctrlSpace, #controls>.ctrlZoom,#controls>.ctrlPan,#controls>.ctrlRotate{
    display: none;
  }

  .ctrlFullscreen{
    padding-left: 5px;
    border-right: none;
  }
  
  .ctrlFullscreen>img {
    width: 12px;
    margin: 0 2px 3px 0;
  }

  .thumb{
    width: 94.9%;
    margin: 0 auto;
  }

  .thumb_img img{
    height: 15vw;
    max-height: initial;
    width:auto;
    margin:0 auto;
  }

  .prevPanorama {
    left: -5%;
  }

  .nextPanorama {
    right: -5%;
  }

  .prevPanorama img,.nextPanorama img{width:6px;height:auto;}

  .slick-track{
    width: 100%;
  }
}