@charset "UTF-8";
/*body.sgallery, html.sgallery {*/
  /*width: 100%;*/
  /*overflow: hidden; }*/

#sgallery {
  display: none;
  width: 100%;
  height: 100%;
  background: white;
  background: rgba(1,1,1,0.5);
  position: fixed;
  z-index: 9999; }
  #sgallery .sg-container {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    z-index: 10000; }
    #sgallery .sg-container .sg-viewport, #sgallery .sg-container .sg-ui, #sgallery .sg-container .sg-touch {
      position: absolute;
      width: 100%;
      height: 100%;
      top: 0px;
      left: 0px;
      overflow: hidden; }
    #sgallery .sg-container .sg-tape {
      position: absolute;
      left: 0;
      top: 0; }
      #sgallery .sg-container .sg-tape.wth-transition {
        transition: transform 200ms; }
      #sgallery .sg-container .sg-tape .image-item {
        position: relative;
        text-align: center;
        display: block;
        float: left;
        overflow: visible; }
      #sgallery .sg-container .sg-tape .image-item.loading img {
          display: none;
      }
      #sgallery .sg-container .sg-tape .image-item.loading:before{
        position: absolute;
        content: "";
        left: 50%;
        top: 50%;
        width: 50px;
        height: 50px;
        margin-top: -25px;
        margin-left: -25px;
        border-radius: 90%;

        background: #fff url("/media/img/495.GIF") no-repeat;
        z-index: 2;
        box-shadow:  0px 0px 21px 0px #fff;
      }
    #sgallery .sg-container .sg-ui .navi {
      width: 30px;
      height: 50px;
      top: 45%;
      cursor: pointer;
      color: white;
      box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.42);
      position: absolute;
      background: #131313;
      -webkit-transition: background 200ms;
      -moz-transition: background 200ms;
      -ms-transition: background 200ms;
      -o-transition: background 200ms;
      transition: background 200ms; }
      #sgallery .sg-container .sg-ui .navi:hover {
        background: #ff9600; }
      #sgallery .sg-container .sg-ui .navi.prev {
        left: 0; }
        #sgallery .sg-container .sg-ui .navi.prev:after {
          position: absolute;
          top: 10px;
          left: 10px;
          content: "";
          border-right: 10px solid;
          border-top: 15px solid transparent;
          border-bottom: 15px solid transparent; }
      #sgallery .sg-container .sg-ui .navi.next {
        right: 0; }
        #sgallery .sg-container .sg-ui .navi.next:after {
          top: 10px;
          right: 10px;
          position: absolute;
          content: "";
          border-left: 10px solid;
          border-top: 15px solid transparent;
          border-bottom: 15px solid transparent; }
    #sgallery .sg-container .sg-ui .sg-counter {
      width: 40px;
      margin-left: -20px;
      top: 10px;
      left: 50%;
      padding: 5px 0;
      text-align: center;
      color: white;
      font-size: 16px;
      box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.42);
      position: absolute;
      background: #131313; }
    #sgallery .sg-container .sg-ui .sg-title-handle {
      position: absolute;
      bottom: 0px;
      left: 0px;
      width: 100%; }
      #sgallery .sg-container .sg-ui .sg-title-handle .sg-title {
        box-sizing: border-box;
        width: 100%;
        display: block;
        color: white;
        background: rgba(19, 19, 19, 0.8);
        padding: 10px 0px 9px;
        font-size: 16px;
        text-align: center; }
    #sgallery .sg-container .sg-ui .sg-close {
      width: 90px;
      font-size: 16px;
      top: 0;
      right: 0;
      padding: 15px 0;
      text-align: center;
      cursor: pointer;
      color: white;
      box-shadow: 1px 1px 8px rgba(0, 0, 0, 0.42);
      position: absolute;
      background: #131313;
      -webkit-transition: background 200ms;
      -moz-transition: background 200ms;
      -ms-transition: background 200ms;
      -o-transition: background 200ms;
      transition: background 200ms; }
      #sgallery .sg-container .sg-ui .sg-close:hover {
        background: #ff9600; }
      #sgallery .sg-container .sg-ui .sg-close:after {
        content: "выход ×"; }
