/* wrapper */
.smoothbox {
    position: fixed;
    top:0;
    background:rgb(0,0,0);
    background: rgba(0, 0, 0, 0.9);
    height:100%;   width:100%;
    z-index: 3;
    text-align: center;
}
/* wrapper after loading */
.sb-load {
    background: #000 url('../images/preloader-01.gif') center no-repeat;
}
/* item wrapper */
.sb-items {
    height: 100%;
    display:none;
    position: relative;
}
/* items */
.sb-item {
    height: 100%;   width: 100%;
    position: absolute;
}

.no-trans {
    -webkit-transition:none;
    -moz-transition:none;
    transition:none;
}

.sb-item img {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  max-width: 100%;
  max-height: 100%;
}
.sb-caption {
    position: absolute;
    bottom: 0px;
    width: 100%;
    background:rgb(0,0,0);
    background: rgba(0, 0, 0, 0.9);
    color: #CCC;
    font-family: "Segoe UI", Frutiger, "Frutiger Linotype", "Dejavu Sans", "Helvetica Neue", Arial, sans-serif;
    padding: 10px;
    box-sizing: border-box;
    -moz-box-sizing:border-box;
    z-index: 1;
    text-align: center;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
}
/* buttons */
.sb-nav {
    position:absolute;
    top: 10px;
    width: 100%;
    margin: 0 auto;
    display: none;
    z-index: 10;
    text-align: center;
    opacity: .7;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
    filter: alpha(opacity=70);
    font-size: 0;
    -webkit-transition:all .15s ease-out;
    -moz-transition:all .15s ease-out;
    transition:all .15s ease-out;
    zoom:1;
}
.sb-nav:hover {
    opacity:1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
    filter: alpha(opacity=100);
}

.sb-prev, .sb-next, .sb-cancel {
    display: inline-block;
    background:rgb(150,150,150);
    background: rgba(150,150,150, 0.9);
    position: relative;
    zoom:1;
    outline:none;
    margin-right:1px;
    color: #fff!important;
    width: 50px;
    height: 35px;
    text-align: center;
    text-decoration: none;
    font-size: 21px;
    font-weight: bold;
    line-height: 33px;
    -webkit-transition:all .15s ease-out;
    -moz-transition:all .15s ease-out;
    transition:all .15s ease-out;
}
.sb-prev {border-radius: 6px 0 0 6px;}
.sb-next {border-radius: 0 6px 6px 0;}
.sb-nav a:hover {
    background: #DDD;
    color: #000!important;
}
.sb-cancel:hover {
    background:#820001;
}

.sb-item .counter {
    position: absolute;
    background:rgb(100,100,100);
    padding: 6px;
    color: #FFF;
    top: 10px;
    right: 10px;
    border-radius: 4px;
}

.stack .sb-link.not-first {
    display: none;
}

html.sb-is-on, html.sb-is-on body { overflow: hidden; }