/*!
 * viewer v0.5.1
 * https://github.com/fengyuanchen/viewer
 *
 * copyright (c) 2015-2016 fengyuan chen
 * released under the mit license
 *
 * date: 2016-03-11t07:57:59.486z
 */
.viewer-zoom-in:before,
.viewer-zoom-out:before,
.viewer-one-to-one:before,
.viewer-reset:before,
.viewer-prev:before,
.viewer-play:before,
.viewer-next:before,
.viewer-rotate-left:before,
.viewer-rotate-right:before,
.viewer-flip-horizontal:before,
.viewer-flip-vertical:before,
.viewer-fullscreen:before,
.viewer-fullscreen-exit:before,
.viewer-close:before {
  font-size: 0;
  line-height: 0;

  display: block;

  width: 20px;
  height: 20px;

  color: transparent; 
  background-image: ;
  background-repeat: no-repeat;
}

.viewer-zoom-in:before {
  content: 'zoom in';

  background-position: 0 0;
}

.viewer-zoom-out:before {
  content: 'zoom out';

  background-position: -20px 0;
}

.viewer-one-to-one:before {
  content: 'one to one';

  background-position: -40px 0;
}

.viewer-reset:before {
  content: 'reset';

  background-position: -60px 0;
}

.viewer-prev:before {
  content: 'previous';

  background-position: -80px 0;
}

.viewer-play:before {
  content: 'play';

  background-position: -100px 0;
}

.viewer-next:before {
  content: 'next';

  background-position: -120px 0;
}

.viewer-rotate-left:before {
  content: 'rotate left';

  background-position: -140px 0;
}

.viewer-rotate-right:before {
  content: 'rotate right';

  background-position: -160px 0;
}

.viewer-flip-horizontal:before {
  content: 'flip horizontal';

  background-position: -180px 0;
}

.viewer-flip-vertical:before {
  content: 'flip vertical';

  background-position: -200px 0;
}

.viewer-fullscreen:before {
  content: 'enter full screen';

  background-position: -220px 0;
}

.viewer-fullscreen-exit:before {
  content: 'exit full screen';

  background-position: -240px 0;
}

.viewer-close:before {
  content: 'close';

  background-position: -260px 0;
}

.viewer-container {
  font-size: 0;
  line-height: 0;

  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  overflow: hidden;

  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;

  background-color: #000;
  background-color: rgba(0, 0, 0, .5);

  direction: ltr !important;
  -ms-touch-action: none;
      touch-action: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}
.viewer-container::-moz-selection,
.viewer-container *::-moz-selection {
  background-color: transparent;
}
.viewer-container::selection,
.viewer-container *::selection {
  background-color: transparent;
}
.viewer-container img {
  display: block;

  width: 100%;
  min-width: 0 !important;
  max-width: none !important;
  height: auto;
  min-height: 0 !important;
  max-height: none !important;
}

.viewer-canvas {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  overflow: hidden;
}
.viewer-canvas > img {
  width: auto;
  max-width: 90% !important;
  height: auto;
  margin: 15px auto;
}

.viewer-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;

  overflow: hidden;

  text-align: center;
}

.viewer-navbar {
  overflow: hidden;

  background-color: #000;
  background-color: rgba(0, 0, 0, .5);
}

.viewer-list {
  overflow: hidden;

  -webkit-box-sizing: content-box;
     -moz-box-sizing: content-box;
          box-sizing: content-box;
  height: 50px;
  margin: 0;
  padding: 1px 0;
}
.viewer-list > li {
  font-size: 0;
  line-height: 0;

  float: left;
  overflow: hidden;

  width: 30px;
  height: 50px;

  cursor: pointer; 

  opacity: .5;
  color: transparent;

  filter: alpha(opacity=50);
}
.viewer-list > li   li {
  margin-left: 1px;
}
.viewer-list > .viewer-active {
  opacity: 1;

  filter: alpha(opacity=100);
}

.viewer-player {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;

  display: none;

  cursor: none; 

  background-color: #000;
}
.viewer-player > img {
  position: absolute;
  top: 0;
  left: 0;
}

.viewer-toolbar {
  overflow: hidden;

  width: 280px;
  margin: 0 auto 5px;
  padding: 3px 0;
}
.viewer-toolbar > li {
  float: left;
  overflow: hidden;

  width: 24px;
  height: 24px;

  cursor: pointer; 

  border-radius: 50%;
  background-color: #000;
  background-color: rgba(0, 0, 0, .5);
}
.viewer-toolbar > li:hover {
  background-color: #000;
  background-color: rgba(0, 0, 0, .8);
}
.viewer-toolbar > li:before {
  margin: 2px;
}
.viewer-toolbar > li   li {
  margin-left: 1px;
}
.viewer-toolbar > .viewer-play {
  width: 30px;
  height: 30px;
  margin-top: -3px;
  margin-bottom: -3px;
}
.viewer-toolbar > .viewer-play:before {
  margin: 5px;
}

.viewer-tooltip {
  font-size: 12px;
  line-height: 20px;

  position: absolute;
  top: 50%;
  left: 50%;

  display: none;

  width: 50px;
  height: 20px;
  margin-top: -10px;
  margin-left: -25px;

  text-align: center;

  color: #fff;
  border-radius: 10px;
  background-color: #000;
  background-color: rgba(0, 0, 0, .8);
}

.viewer-title {
  font-size: 12px;
  line-height: 1;

  display: inline-block;
  overflow: hidden;

  max-width: 90%;
  margin: 0 5% 5px;

  white-space: nowrap; 
  text-overflow: ellipsis;

  opacity: .8;
  color: #ccc;

  filter: alpha(opacity=80);
  display: none;
}
.viewer-title:hover {
  opacity: 1;

  filter: alpha(opacity=100);
}

.viewer-button {
  position: absolute;
  top: -20px;
  right: -20px;

  overflow: hidden;

  width: 80px;
  height: 80px;

  cursor: pointer; 

  border-radius: 50%;
  background-color: #000;
  background-color: rgba(0, 0, 0, .5);
}
.viewer-button:before {
  position: absolute;
  bottom: 25px;
  left:25px;
}

.viewer-fixed {
  position: fixed;
}

.viewer-open {
  overflow: hidden;
}

.viewer-show {
  display: block;
}

.viewer-hide {
  display: none;
}

.viewer-invisible {
  visibility: hidden;
}

.viewer-move {
  cursor: move;
  cursor: -webkit-grab;
  cursor:    -moz-grab;
  cursor:         grab;
}

.viewer-fade {
  opacity: 0;

  filter: alpha(opacity=0);
}

.viewer-in {
  opacity: 1;

  filter: alpha(opacity=100);
}

.viewer-transition {
  -webkit-transition: all .3s ease-out;
       -o-transition: all .3s ease-out;
          transition: all .3s ease-out;
}

@media (max-width: 767px) {
  .viewer-hide-xs-down {
    display: none;
  }
}

@media (max-width: 991px) {
  .viewer-hide-sm-down {
    display: none;
  }
}

@media (max-width: 1199px) {
  .viewer-hide-md-down {
    display: none;
  }
}
