/* unitPlan */
#unitPlan {
  width: 250px;
  height: auto;
  margin:10px;
  float: right;
  opacity: 0.5;
}

#unitPlan img {
  max-width:100%;
  display: block;
}

.point {
  width:30px;
  height:30px;
  background-image:   url(https://tookteecomhome.files.wordpress.com/2019/02/mappoint.png);
  background-position: top center;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
}

.pointActive {
  background-image:   url(https://tookteecomhome.files.wordpress.com/2019/02/mappointactive.png);
}

#pin-1 {
  top:190px;
  right:205px;
  left: auto;
  bottom: auto;
  opacity: 0.6;
  position: absolute;

}

#pin-2 {
  top:100px;
  right:190px;
  opacity: 0.6;
  position: absolute;
}

#pin-3 {
  top:165px;
  right:135px;
  opacity: 0.6;
  position: absolute;
}


#pin-4 {
  top:100px;
  right:60px;
  opacity: 0.6;
  position: absolute;
}

#pin-5 {
  top:165px;
  right:45px;
  opacity: 0.6;
  position: absolute;
}

#pin-6 {
  top:150px;
  right:110px;
  opacity: 0.6;
  position: absolute;
}

@media screen and (min-width: 320px) and (max-width:568px) {
  #unitPlan {
    width: 130px;
    height: auto;
    margin-right:10px;
    margin-top: 50px;
    float: right;
    opacity: 0.5;
  }

  #unitPlan img {
    max-width:100%;
    display: block;
  }
  
  .point {
    width:20px;
    height:20px;
  }

  #pin-1 {
    top:145px;
    right:110px;
  
  }
  
  #pin-2 {
    top:100px;
    right:100px;
  }
  
  #pin-3 {
    top:130px;
    right:70px;
  }
  
  
  #pin-4 {
    top:95px;
    right:35px;
  }
  
  #pin-5 {
    top:128px;
    right:25px;
  }
  
  #pin-6 {
    top:125px;
    right:65px;
  }
}


.pin-1:hover > #pin-1 {
  opacity: 1;
}

.pin-2:hover > #pin-2 {
  opacity: 1;
}

.pin-3:hover > #pin-3 {
  opacity: 1;
}

.pin-4:hover > #pin-4 {
  opacity: 1;
}

.pin-5:hover > #pin-5 {
  opacity: 1;
}
  
.pin-6:hover > #pin-6 {
  opacity: 1;
}

/* toggledeviceOrientation */

#toggleDeviceOrientation {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 0px;
    left: 40px;
    background-color: rgb(103,115,131);
    background-color: rgba(103,115,131,0.8);
  }
  
  #toggleDeviceOrientation img {
    width: 25px;
    margin: 8px;
  }
  
  #toggleDeviceOrientation .disable {
    display: none;
  }
  
  #toggleDeviceOrientation.enabled .disable {
    display: block;
  }
  
  #toggleDeviceOrientation.enabled .enable {
    display: none;
  }
  
  @media screen and (max-width: 500px) {
    #toggleDeviceOrientation {
      width: 50px;
      height: 50px;
      position: absolute;
      top: 0px;
      left: 50px;
      background-color: rgb(103,115,131);
      background-color: rgba(103,115,131,0.8);
    }
    #toggleDeviceOrientation img {
      width: 30px;
      margin: 8px;
    }
  }
