/*!
 * Photo Sphere Viewer 3.0.1
 * Copyright (c) 2014-2015 Jérémy Heleine
 * Copyright (c) 2015 Damien "Mistic" Sorel
 * Licensed under MIT (http://opensource.org/licenses/MIT)
 */

.psv-container, .psv-container * {
  box-sizing: content-box;
  font-family: sans-serif;
  margin: 0;
  padding: 0;
}

.psv-container {
  width: 100%;
  height: 100%;
  position: relative;
  background: radial-gradient(#ffffff, #fdfdfd 16%, #fbfbfb 33%, #f8f8f8 49%, #efefef 66%, #dfdfdf 82%, #bfbfbf 100%);
}

.psv-container.loading {
  text-align: center;
}

.psv-canvas-container {
  position: absolute;
  z-index: 0;
}

.psv-canvas-container canvas {
  display: block;
}

.psv-loader {
  position: relative;
  color: rgba(61, 61, 61, 0.7);
  width: 150px;
  height: 150px;
  border: 10px solid transparent;
}

.psv-loader-canvas {
  position: absolute;
  top: 0;
  left: 0;
}

.psv-container.loading:before, .psv-loader:before {
  content: '';
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.psv-loader, .psv-loader-image, .psv-loader-text {
  display: inline-block;
  vertical-align: middle;
}

.psv-navbar {
  position: absolute;
  z-index: 10;
  bottom: 0;
  width: 100%;
  background: rgba(61, 61, 61, 0.5);
}

.psv-caption {
  color: rgba(255, 255, 255, 0.7);
  margin: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-align: center;
}

.psv-button {
  float: left;
  padding: 10px;
  position: relative;
  cursor: pointer;
  height: 20px;
  background: transparent;
}

.psv-button.active {
  background: rgba(255, 255, 255, 0.1);
}

.psv-zoom-button {
  cursor: default;
}

.psv-zoom-minus,
.psv-zoom-plus {
  float: left;
  position: relative;
  cursor: pointer;
  width: 9px;
  height: 9px;
  color: rgba(255, 255, 255, 0.7);
  margin: 4.5px 0;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30%;
  transition: transform 0.3s ease;
}

.psv-zoom-minus:before,
.psv-zoom-plus:before,
.psv-zoom-plus:after {
  content: '';
  position: absolute;
  top: 4px;
  left: 1px;
  width: 7px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.psv-zoom-plus:after {
  transform: rotate(90deg);
}

.psv-zoom-button:hover .psv-zoom-minus,
.psv-zoom-button:hover .psv-zoom-plus {
  transform: scale(1.2);
}

.psv-zoom-range {
  float: left;
  padding: 9.5px 10px;
}

.psv-zoom-range-line {
  position: relative;
  cursor: pointer;
  width: 80px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
}

.psv-zoom-button:hover .psv-zoom-range-line {
  box-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

.psv-zoom-range-handle {
  position: absolute;
  border-radius: 50%;
  top: -3px;
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1);
  transition: transform 0.3s ease;
}

.psv-zoom-button:hover .psv-zoom-range-handle {
  transform: scale(1.3);
}

.psv-autorotate-button {
  width: 20px;
}

.psv-autorotate-sphere,
.psv-autorotate-equator {
  border-radius: 50%;
  border-width: 1px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.7);
}

.psv-autorotate-sphere {
  width: 18px;
  height: 18px;
  transform: rotateY(0deg);
  transition: all 0.3s ease;
}

.psv-autorotate-button:hover .psv-autorotate-sphere {
  transform: rotateY(180deg);
}

.psv-autorotate-equator {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 1.8px;
  margin-top: -1.9px;
  transform: rotateY(0deg);
  transition: all 0.3s ease;
}

.psv-autorotate-button:hover .psv-autorotate-equator {
  transform: rotateY(180deg);
  height: 4.5px;
  margin-top: -3.25px;
}

.psv-fullscreen-button {
  float: right;
  width: 26.66667px;
  height: 20px;
}

.psv-fullscreen-button div {
  position: absolute;
  width: 26.66667px;
  height: 20px;
}

.psv-fullscreen-button div:before,
.psv-fullscreen-button div:after {
  content: '';
  position: absolute;
  width: 6.0px;
  height: 4px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.7);
  border-width: 2px;
  transition: all 0.2s ease;
}

.psv-fullscreen-button:hover div:before,
.psv-fullscreen-button:hover div:after {
  width: 8.66667px;
  height: 6px;
}

.psv-fullscreen-button div:first-child:before {
  top: 0;
  left: 0;
  border-right-width: 0;
  border-bottom-width: 0;
}

.psv-fullscreen-button div:first-child:after {
  top: 0;
  right: 0;
  border-left-width: 0;
  border-bottom-width: 0;
}

.psv-fullscreen-button div:last-child:before {
  bottom: 0;
  left: 0;
  border-right-width: 0;
  border-top-width: 0;
}

.psv-fullscreen-button div:last-child:after {
  bottom: 0;
  right: 0;
  border-left-width: 0;
  border-top-width: 0;
}

.psv-download-button {
  width: 20px;
  height: 20px;
}

.psv-download-button:before {
  content: '';
  position: absolute;
  width: 20px;
  height: 7px;
  bottom: 10px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-top-width: 0;
  border-radius: 0;
  transition: border-radius 0.2s ease;
}

.psv-download-button:hover:before {
  border-radius: 2px;
}

.psv-download-button div {
  position: absolute;
  width: 12px;
  height: 12px;
  top: 50%;
  left: 50%;
  margin: -6px;
  margin-top: -8px;
  transition: margin-top 0.2s ease;
}

.psv-download-button:hover div {
  margin-top: -6px;
}

.psv-download-button div:before,
.psv-download-button div:after {
  content: '';
  display: block;
  margin: 0 auto;
}

.psv-download-button div:before {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.7);
}

.psv-download-button div:after {
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-top-color: rgba(255, 255, 255, 0.7);
}
