/**
* @package OS Gallery
* @copyright 2016 OrdaSoft
* @author 2016 Andrey Kvasnevskiy(akbet@mail.ru),Roman Akoev (akoevroman@gmail.com)
* @license GNU General Public License version 2 or later;
* @description Ordasoft Image Gallery
*/
/*=================---------------------Gallery--------------------======================*/
[class^=os-gallery-album-tabs-main],
[class^=os-gallery-all-in-one-main],
[class^=os-gallery-tabs-main] .os-cat-tab-images {
  overflow: hidden;
    
}
[class^=os-gallery-tabs-main] .os-cat-tab-images {
  width:100%;

}
[class^=os-gallery-album-tabs-main] img,
[class^=os-gallery-all-in-one-main] img,
[class^=os-gallery-tabs-main] img {
  width:100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/*=================---------------------Gallery category tab--------------------======================*/
[class^=os-gallery-tabs-main] .osgalery-cat-tabs {
  /*// border-bottom: 1px solid #eee;*/
  padding: 0 0 0 10px;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li.active a {
  border: 1px solid #eee;
  border-bottom-color: transparent;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a:hover {
  background: #eee;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -o-border-radius: 0;
}
/*// [class^=os-gallery-all-in-one-main] .all-in-one-block .os-gallery-caption {
//     height: 30px;
// }
// [class^=os-gallery-all-in-one-main] .all-in-one-block .os-gallery-caption .os-gallery-img-category {
//     margin: 20px 0 5px 0;
//     text-align: center;
// }*/

/*-------------------------------------------------------------------------------os-cat-tab-images------------------------------------------------------*/

[class^=os-gallery-tabs-main] .os-cat-tab-images .img-block {
  float: left;
  position: relative;
  overflow: hidden;
/*    -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
-moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);*/
}
[class^=os-gallery-all-in-one-main] .os-cat-tab-images .img-block {
  position: relative;
}
[class^=os-gallery-all-in-one-main] .os-cat-tab-images .img-block,
[class^=os-gallery-album-tabs-main] .os-cat-tab-images .img-block {
  position: relative;
  display: inline-block;
  float: left;
  overflow: hidden;
  -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
  -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
  box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.75);
}
/*//[class^=os-gallery-album-tabs-main] .os-cat-tab-images .img-block:last-child*/
[class^=os-gallery-all-in-one-main] .os-cat-tab-images .img-block:last-child {
  clear: both;
}
[class^=os-gallery-album-tabs-main] .back-to-albums {
  background: #354052;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  line-height: 15px;
  padding: 10px;
  margin: 10px 0;
  cursor: pointer;
  display: inline-block;
}
[class^=os-gallery-tabs-main] .os-cat-tab-images .img-block .os-gallery-caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
[class^=os-gallery-tabs-main] .os-cat-tab-images .img-block  a {
  display: block;
  width: 100%;
}
/*****------------------------------------------------- none ----------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.none-effect,
[class^=os-gallery-album-tabs-main] .img-block.none-effect,
[class^=os-gallery-tabs-main] .img-block.none-effect {
    /*background: #2f3238;*/
  overflow: hidden;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption h3.os-gallery-img-title {
  position: relative;
  padding: 0.5em 0;
  color: #fff;
  text-align: center;
  font-size: 100%;
  line-height: 100%;
  font-weight: bold;
  margin: 0;
  text-shadow: 1px 2px 4px #505050;
  -webkit-text-shadow: 1px 2px 4px #505050;
  -moz-text-shadow: 1px 2px 4px #505050;
}
[class^=os-gallery-all-in-one-main]  .img-block.none-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.none-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption p {
  display: inline-block;
  margin: 1% 5px 1% 11%;
  padding: 0.4em 1em;
  background: rgba(255,255,255,0.9);
  color: #2f3238;
  text-transform: none;
  font-weight: bold;
  font-size: 70%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-360px,0,0);
  transform: translate3d(-360px,0,0);
  opacity: 0;
}
[class^=os-gallery-all-in-one-main]  .img-block.none-effect .os-gallery-caption p:first-child,
[class^=os-gallery-album-tabs-main]  .img-block.none-effect .os-gallery-caption p:first-child,
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption p:first-child {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  position: absolute;
  top: 50px;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(2) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-album-tabs-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-tabs-main] .img-block.none-effect .os-gallery-caption p:nth-of-type(3) {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect:hover .os-gallery-caption p:first-child,
[class^=os-gallery-album-tabs-main] .img-block.none-effect:hover .os-gallery-caption p:first-child,
[class^=os-gallery-tabs-main] .img-block.none-effect:hover .os-gallery-caption p:first-child {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-album-tabs-main]  .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-tabs-main] .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(2) {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-album-tabs-main] .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-tabs-main] .img-block.none-effect:hover .os-gallery-caption p:nth-of-type(3) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.none-effect:hover .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.none-effect:hover .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.none-effect:hover .os-gallery-caption p {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
/*****------------------------------------------------- dimas ----------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.dimas-effect,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect,
[class^=os-gallery-tabs-main] .img-block.dimas-effect {
    /*background: #2f3238;*/
  overflow: hidden;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect img,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect img,
[class^=os-gallery-tabs-main] .img-block.dimas-effect img {
  -webkit-transition: opacity 1s, -webkit-transform 1s;
  transition: opacity 1s, transform 1s;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  top:0;
  left:0;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption h3.os-gallery-img-title {
  position: relative;
  padding: 0.5em 0;
  color: #fff;
  z-index: 999;
  text-align: center;
  font-size: 100%;
  line-height: 100%;
  font-weight: bold;
  margin: 0;
  text-shadow: 1px 2px 4px #505050;
  -webkit-text-shadow: 1px 2px 4px #505050;
  -moz-text-shadow: 1px 2px 4px #505050;
}
[class^=os-gallery-all-in-one-main]  .img-block.dimas-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.dimas-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption p {
  display: inline-block;
  margin: 1% 5px 1% 11%;
  padding: 0.4em 1em;
  background: rgba(255,255,255,0.9);
  color: #2f3238;
  text-transform: none;
  font-weight: bold;
  font-size: 70%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-360px,0,0);
  transform: translate3d(-360px,0,0);
  opacity: 0;
}
[class^=os-gallery-all-in-one-main]  .img-block.dimas-effect .os-gallery-caption p:first-child,
[class^=os-gallery-album-tabs-main]  .img-block.dimas-effect .os-gallery-caption p:first-child,
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption p:first-child {
  -webkit-transition-delay: 0.15s;
  transition-delay: 0.15s;
  position: absolute;
  top: 50px;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(2) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-tabs-main] .img-block.dimas-effect .os-gallery-caption p:nth-of-type(3) {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect:hover .os-gallery-caption p:first-child,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p:first-child,
[class^=os-gallery-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p:first-child {
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-album-tabs-main]  .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(2),
[class^=os-gallery-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(2) {
  -webkit-transition-delay: 0.05s;
  transition-delay: 0.05s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(3),
[class^=os-gallery-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p:nth-of-type(3) {
  -webkit-transition-delay: 0.1s;
  transition-delay: 0.1s;
  opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect:hover img,
[class^=os-gallery-album-tabs-main]  .img-block.dimas-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.dimas-effect:hover img {
  opacity: 0.4;
  -webkit-transform: scale3d(1.1,1.1,1);
  transform: scale3d(1.1,1.1,1);
}
[class^=os-gallery-all-in-one-main] .img-block.dimas-effect:hover .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.dimas-effect:hover .os-gallery-caption p {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
/*****------------------------------------------------------------- anet ------------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.anet-effect img,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect img,
[class^=os-gallery-tabs-main] .img-block.anet-effect img,
[class^=os-gallery-all-in-one-main] .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title {
  -webkit-transition: -webkit-transform 0.35s;
  transition: transform 0.35s;
}
[class^=os-gallery-all-in-one-main] .img-block.anet-effect,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect,
[class^=os-gallery-tabs-main] .img-block.anet-effect {
  background: #788aa8;
}
[class^=os-gallery-all-in-one-main] .img-block.anet-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.anet-effect .os-gallery-caption {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
[class^=os-gallery-all-in-one-main] .img-block.anet-effect img,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect img,
[class^=os-gallery-tabs-main] .img-block.anet-effect img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

[class^=os-gallery-all-in-one-main] .img-block.anet-effect h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.anet-effect h3.os-gallery-img-title {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    font-size: 100%;
    line-height: 100%;
    font-weight: bold;
    text-shadow: 1px 2px 4px #505050;
    -webkit-text-shadow: 1px 2px 4px #505050;
    -moz-text-shadow: 1px 2px 4px #505050;
}

[class^=os-gallery-all-in-one-main] .img-block.anet-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.anet-effect .os-gallery-caption p {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 30px;
    font-size: 80%;
    line-height: 80%;
    color: #fff;
    text-shadow: 1px 2px 4px #505050;
    -webkit-text-shadow: 1px 2px 4px #505050;
    -moz-text-shadow: 1px 2px 4px #505050;
    font-weight: bold;
    margin: 0 0 10px 0;
}

[class^=os-gallery-all-in-one-main]  .img-block.anet-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.anet-effect .os-gallery-caption p {
    text-transform: none;
    font-size: 70%;
    line-height: 80%;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,50px,0);
    transform: translate3d(0,50px,0);
}

[class^=os-gallery-all-in-one-main] .img-block.anet-effect:hover img,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.anet-effect:hover img {
    -webkit-transform: translate3d(0,-80px,0);
    transform: translate3d(0,-80px,0);
}

[class^=os-gallery-all-in-one-main] .img-block.anet-effect:hover .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect:hover .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.anet-effect:hover .os-gallery-caption h3.os-gallery-img-title {
    -webkit-transform: translate3d(0,-100px,0);
    transform: translate3d(0,-100px,0);
}
[class^=os-gallery-all-in-one-main] .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.anet-effect .os-gallery-caption h3.os-gallery-img-title {
    color: #fff;
}

[class^=os-gallery-all-in-one-main] .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-category,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-category,
[class^=os-gallery-tabs-main] .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-category {
    opacity: 1;
    -webkit-transform: translate3d(0,-5px,0);
    transform: translate3d(0,-5px,0);
}
[class^=os-gallery-all-in-one-main] .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-desc,
[class^=os-gallery-album-tabs-main]  .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-desc,
[class^=os-gallery-tabs-main] .img-block.anet-effect:hover .os-gallery-caption p.os-gallery-img-desc {
    opacity: 1;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0);
}

/*****--------------------------------------------------- sergio --------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect,
[class^=os-gallery-tabs-main] .img-block.sergio-effect {
    background: #fff;
    cursor: pointer;
}
[class^=os-gallery-all-in-one-main] .img-block.sergio-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.sergio-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.sergio-effect .os-gallery-caption {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
[class^=os-gallery-all-in-one-main] .img-block.sergio-effect img,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect img,
[class^=os-gallery-tabs-main] .img-block.sergio-effect img {
    opacity: 0.95;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect:hover img,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.sergio-effect:hover img {
    -webkit-transform: scale3d(0.95,0.95,1);
    transform: scale3d(0.95,0.95,1);
}

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.sergio-effect .os-gallery-caption {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 25px;
    left: 0;
    z-index: 9;
    text-align: center;
}
[class^=os-gallery-all-in-one-main] .img-block.sergio-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.sergio-effect .os-gallery-caption h3.os-gallery-img-title {
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0);
    color: #fff;
    font-size: 100%;
    line-height: 30px;
    font-weight: bold;
    text-shadow: 1px 2px 4px #505050;
    -webkit-text-shadow: 1px 2px 4px #505050;
    -moz-text-shadow: 1px 2px 4px #505050;
}

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.sergio-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.sergio-effect .os-gallery-caption p {
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: perspective(1000px) rotate3d(1,0,0,90deg);
    transform: perspective(1000px) rotate3d(1,0,0,90deg);
    -webkit-transform-origin: 50% 0%;
    transform-origin: 50% 0%;
    color: #fff;
    text-shadow: 1px 2px 4px #505050;
}

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect:hover .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.sergio-effect:hover .os-gallery-caption h3,
[class^=os-gallery-tabs-main] .img-block.sergio-effect:hover .os-gallery-caption h3 {
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

[class^=os-gallery-all-in-one-main] .img-block.sergio-effect:hover .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.sergio-effect:hover .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.sergio-effect:hover .os-gallery-caption p {
    opacity: 1;
    -webkit-transform: perspective(1000px) rotate3d(1,0,0,0);
    transform: perspective(1000px) rotate3d(1,0,0,0);
    color: #fff;
    font-size: 70%;
    text-shadow: 1px 2px 4px #505050;
    -webkit-text-shadow: 1px 2px 4px #505050;
    -moz-text-shadow: 1px 2px 4px #505050;
}

/*****---------------------------------------------------- ariana -------------------------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect,
[class^=os-gallery-tabs-main] .img-block.ariana-effect {
    z-index: auto;
    overflow: visible;
    background: transparent;
}
[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.ariana-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
[class^=os-gallery-all-in-one-main]  .img-block.ariana-effect:before,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:before,
[class^=os-gallery-all-in-one-main]  .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: transparent;
    content: '';
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect:before,
[class^=os-gallery-album-tabs-main] .img-block.ariana-effect:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:before {
    /*// box-shadow: 0 3px 30px rgba(0,0,0,0.8);*/
    opacity: 0;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption {
    z-index: 1;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect img,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect img,
[class^=os-gallery-tabs-main] .img-block.ariana-effect img {
    opacity: 1;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
    -webkit-transform: perspective(1000px) translate3d(0,0,0);
    transform: perspective(1000px) translate3d(0,0,0);
}
[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title {
    font-size: 100%;
    line-height: 100%;
}
[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption p {
    background: rgba(255, 255, 255, 0.62);
    color: #2d434e;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title {
    position: relative;
    margin: 15px;
    padding: 5px;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before,
[class^=os-gallery-album-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption h3.os-gallery-img-title:before {
    box-shadow: 0 1px 10px rgba(0,0,0,0.5);
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.ariana-effect .os-gallery-caption p {
    margin: 20px 30px 0 30px;
    padding: 5px;
    font-weight: 800;
    opacity: 0;
    font-size: 60%;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale3d(0.9,0.9,1);
    transform: scale3d(0.9,0.9,1);
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect:hover:before,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect:hover:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:hover:before {
    opacity: 1;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect:hover img,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:hover img {
    -webkit-transform: perspective(1000px) translate3d(0,0,21px);
    transform: perspective(1000px) translate3d(0,0,21px);
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect:hover .os-gallery-caption h3os-gallery-img-title:before,
[class^=os-gallery-album-tabs-main]  .img-block.ariana-effect:hover .os-gallery-caption h3os-gallery-img-title:before,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:hover .os-gallery-caption h3os-gallery-img-title:before {
    opacity: 0;
}

[class^=os-gallery-all-in-one-main] .img-block.ariana-effect:hover .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.ariana-effect:hover .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.ariana-effect:hover .os-gallery-caption p {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}



/*****----------------------------------------------------- taras --------------------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.taras-effect,
[class^=os-gallery-album-tabs-main]  .img-block.taras-effect,
[class^=os-gallery-tabs-main] .img-block.taras-effect {
    background: #030c17;
}

[class^=os-gallery-album-tabs-main] .album-block .img-block.taras-effect .os-gallery-caption p {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:30%;
    left:0;

}
[class^=os-gallery-all-in-one-main] .img-block.taras-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.taras-effect .os-gallery-caption {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
[class^=os-gallery-all-in-one-main] .img-block.taras-effect img,
[class^=os-gallery-album-tabs-main]  .img-block.taras-effect img,
[class^=os-gallery-tabs-main] .img-block.taras-effect img {
    opacity: 0.9;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
}

[class^=os-gallery-all-in-one-main] .img-block.taras-effect .os-gallery-caption::before,
[class^=os-gallery-album-tabs-main]  .img-block.taras-effect .os-gallery-caption::before,
[class^=os-gallery-tabs-main] .img-block.taras-effect .os-gallery-caption::before {
    position: absolute;
    top: 50px;
    right: 50px;
    bottom: 50px;
    left: 50px;
    border: 2px solid #fff;
    box-shadow: 0 0 0 30px rgba(255,255,255,0.2);
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale3d(1.4,1.4,1);
    transform: scale3d(1.4,1.4,1);
}

[class^=os-gallery-all-in-one-main] .img-block.taras-effect .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect .os-gallery-caption h3,
[class^=os-gallery-tabs-main] .img-block.taras-effect .os-gallery-caption h3 {
    margin: 20% 0 10px 0;
    -webkit-transition: -webkit-transform 0.35s;
    transition: transform 0.35s;
}

[class^=os-gallery-all-in-one-main] .img-block.taras-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.taras-effect .os-gallery-caption p {
    padding: 0;
    text-align: center;
    color: #fff;
    font-size: 70%;
    line-height: 30px;
    margin: 0;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: scale(1.5);
    transform: scale(1.5);
}

[class^=os-gallery-all-in-one-main] .img-block.taras-effect:hover .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect:hover .os-gallery-caption h3,
[class^=os-gallery-tabs-main] .img-block.taras-effect:hover .os-gallery-caption h3 {
    // -webkit-transform: scale(1.1);
    // transform: scale(1.1);
    color: #fff;
    font-size: 100%;
    text-align: center;
}

[class^=os-gallery-all-in-one-main]  .img-block.taras-effect:hover .os-gallery-caption::before,
[class^=os-gallery-album-tabs-main]  .img-block.taras-effect:hover .os-gallery-caption::before,
[class^=os-gallery-tabs-main] .img-block.taras-effect:hover .os-gallery-caption::before,
[class^=os-gallery-all-in-one-main] .img-block.taras-effect:hover .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect:hover .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.taras-effect:hover .os-gallery-caption p {
    opacity: 1;
    -webkit-transform: scale3d(1,1,1);
    transform: scale3d(1,1,1);
}
[class^=os-gallery-all-in-one-main] .img-block.taras-effect:hover .os-gallery-caption,
[class^=os-gallery-album-tabs-main]  .img-block.taras-effect:hover .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.taras-effect:hover .os-gallery-caption {
    background-color: rgba(58,52,42,0);
}

[class^=os-gallery-all-in-one-main] .img-block.taras-effect:hover img,
[class^=os-gallery-album-tabs-main] .img-block.taras-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.taras-effect:hover img {
    opacity: 0.4;
}

/*****-----------------------------------------------------------andrea--------------------------------------------------------*****/
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect,
[class^=os-gallery-tabs-main] .img-block.andrea-effect {
    overflow: hidden;
}
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.andrea-effect .os-gallery-caption {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
// .img-block.andrea-effect a {
//     position: relative;
//     width: 100%;
//     height: 100%;
//     z-index: 11;
// }
// [class^=os-gallery-all-in-one-main] .img-block.andrea-effect a:after,
// [class^=os-gallery-album-tabs-main] .img-block.andrea-effect a:after,
// [class^=os-gallery-tabs-main] .img-block.andrea-effect a:after {
//     content: "\f00e";
//     font-family: fontAwesome;
//     display: inline-block;
//     font-size: 40px;
//     color: #fff;
//     position: absolute;
//     top: 100%;
//     opacity: 0;
//     left: 45%;
//     transition: all 0.3s ease;
//     -webkit-transition: all 0.3s ease;
//     -moz-transition: all 0.3s ease;
//     -o-transition: all 0.3s ease;
//     z-index: 9;
// }

// [class^=os-gallery-all-in-one-main] .img-block.andrea-effect:hover a:after,
// [class^=os-gallery-album-tabs-main] .img-block.andrea-effect:hover a:after,
// [class^=os-gallery-tabs-main] .img-block.andrea-effect:hover a:after {
//     top: 43%;
//     opacity: 1;
//     transition: all 0.3s ease;
//     -webkit-transition: all 0.3s ease;
//     -moz-transition: all 0.3s ease;
//     -o-transition: all 0.3s ease;
// }

// [class^=os-gallery-all-in-one-main] .img-block.andrea-effect .fa-search-plus,
// [class^=os-gallery-album-tabs-main] .img-block.andrea-effect .fa-search-plus,
// [class^=os-gallery-tabs-main] .img-block.andrea-effect .fa-search-plus {
//     font-family: fontAwesome;
//     display: inline-block;
//     // font-size: 30px;
//     color: #fff;
//     position: absolute;
//     top: 100%;
//     opacity: 0;
//     left: 45%;
//     transition: all 0.3s ease;
//     -webkit-transition: all 0.3s ease;
//     -moz-transition: all 0.3s ease;
//     -o-transition: all 0.3s ease;
//     z-index: 9;
// }
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect .andrea-zoom-in,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect .andrea-zoom-in,
[class^=os-gallery-tabs-main] .img-block.andrea-effect .andrea-zoom-in {
    // font-family: fontAwesome;
    display: inline-block;
    // font-size: 30px;
    background: url("images/zoom.svg") no-repeat;
  background-size: cover;
    color: #fff;
    position: absolute;
    top: 100%;
    opacity: 0;
    left: 45%;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 9;
}

[class^=os-gallery-all-in-one-main] .img-block.andrea-effect:hover .andrea-zoom-in,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect:hover .andrea-zoom-in,
[class^=os-gallery-tabs-main] .img-block.andrea-effect:hover .andrea-zoom-in {
    top: 43%;
    opacity: 1;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}




[class^=os-gallery-all-in-one-main] .img-block.andrea-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.andrea-effect .os-gallery-caption {
    position: absolute;
    top: -100%;
    left: 0;
    width:100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    opacity: 0;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    z-index: 9;
}
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect:hover .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect:hover .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.andrea-effect:hover .os-gallery-caption {
    top: 0;
    cursor: pointer;
    opacity: 1;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.55);
}
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect .os-gallery-caption h3,
[class^=os-gallery-tabs-main] .img-block.andrea-effect .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect .os-gallery-caption h3,
[class^=os-gallery-all-in-one-main] .img-block.andrea-effect .os-gallery-caption p,
[class^=os-gallery-album-tabs-main] .img-block.andrea-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.andrea-effect .os-gallery-caption p {
    display: none;
}

/*****----------------------------------------------------------------zema-------------------------------------------------------------------------*****/

@-webkit-keyframes foto {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}
@keyframes foto {
    0% {
        opacity: .4;
    }
    100% {
        opacity: 1;
    }
}

[class^=os-gallery-all-in-one-main] .img-block.zema-effect .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.zema-effect .os-gallery-caption h3,
[class^=os-gallery-tabs-main] .img-block.zema-effect .os-gallery-caption h3,
[class^=os-gallery-album-tabs-main] .img-block.zema-effect .os-gallery-caption p,
[class^=os-gallery-all-in-one-main] .img-block.zema-effect .os-gallery-caption p,
[class^=os-gallery-tabs-main] .img-block.zema-effect .os-gallery-caption p {
    display: none;
}
[class^=os-gallery-all-in-one-main] .img-block.zema-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.zema-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.zema-effect .os-gallery-caption {
    position: absolute;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
}
[class^=os-gallery-all-in-one-main] .img-block.zema-effect img,
[class^=os-gallery-album-tabs-main] .img-block.zema-effect img,
[class^=os-gallery-tabs-main] .img-block.zema-effect img {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    transform: scale(1.1);
}
[class^=os-gallery-all-in-one-main] .img-block.zema-effect:hover img,
[class^=os-gallery-album-tabs-main] .img-block.zema-effect:hover img,
[class^=os-gallery-tabs-main] .img-block.zema-effect:hover img {
    cursor: pointer;
    animation-name: foto;
    animation-duration: 0.2s;
    -webkit-filter: grayscale(0);
    filter: grayscale(0);
    transform: scale(1);
}

/*****-------------------------------------------------------pytiton-effect-----------------------------------------------------------*****/

[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect .os-gallery-caption  {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
     transition: all 0.6s ease;
    -webkit-transition: all 0.6s ease;
    -moz-transition: all 0.6s ease;
    -o-transition: all 0.6s ease;
    background: rgba(28, 86, 136, 0.52);
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect .os-gallery-caption h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect .os-gallery-caption h3.os-gallery-img-title {
    opacity: 0;
    position: absolute;
    top:20%;
    left: -100%;
    background: #fff;
    padding: 10px 20px;
    font-size: 100%;
    color: #2F3238;
     transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect:hover .os-gallery-caption,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect:hover .os-gallery-caption,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect:hover .os-gallery-caption {
     transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    background: rgba(170, 173, 4, 0.35);
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect:hover h3.os-gallery-img-title,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect:hover h3.os-gallery-img-title,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect:hover h3.os-gallery-img-title {
     transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    left: 0;
    opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-desc,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-desc,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-desc {
    opacity: 0;
    position: absolute;
    top: 60%;
    right: -100%;
    background: #fff;
    padding: 10px 20px;
    font-size: 70%;
    color: #2F3238;
     transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect:hover p.os-gallery-img-desc,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect:hover p.os-gallery-img-desc,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect:hover p.os-gallery-img-desc {
     transition: all 1s ease;
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    right: 0;
    opacity: 1;
}
[class^=os-gallery-all-in-one-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-category,
[class^=os-gallery-album-tabs-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-category,
[class^=os-gallery-tabs-main] .img-block.pytiton-effect .os-gallery-caption p.os-gallery-img-category {
    display: none;
}


.os_fancybox-wrap .os_fancybox-title-outside-wrap h2 {
    color: #fff;
    text-shadow: 1px 2px 4px #505050;
    font-weight: bold;
}

@media (max-width: 768px){
    [class^=os-gallery-all-in-one-main] .img-block .os-gallery-caption p,
    [class^=os-gallery-album-tabs-main] .img-block .os-gallery-caption p,
    [class^=os-gallery-tabs-main] .img-block .os-gallery-caption p {
        display: none !important;
    }
    [class^=os-gallery-all-in-one-main] .anet-effect .os-gallery-caption p,
    [class^=os-gallery-album-tabs-main] .anet-effect .os-gallery-caption p,
    [class^=os-gallery-tabs-main] .anet-effect .os-gallery-caption p {
        display: block !important;
    }
}

/*--------------------------------------gallery tabs-------------------------------------------*/
[class^=os-gallery-tabs-main] .osgalery-cat-tabs {
    list-style: none;
    margin:0;
    padding: 0;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li {
    display: inline-block;
    height: 35px;
    margin:0;
    padding: 0;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a {
    height: 100%;
    display: block;
    text-align: center;
    line-height: 33px;
    padding: 0 5px;
    color: #555;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a.active {
    background: #ccc;
    color: #333;
}
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a:active,
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a:focus,
[class^=os-gallery-tabs-main] .osgalery-cat-tabs li a:hover {
    text-decoration: none;
}
/*-------------------------load more button-----------------*/
.osGallery-button-box .load-more-button {
    border: none;
    width: 100%;
    padding: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -webkit-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -moz-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
    -o-text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.osGallery-button-box .load-more-button:hover {
    background: #788aa8 !important;
}

.add-zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}

.add-animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

/* clear fix */
.grid:after {
  content: '';
  display: block;
  clear: both;
}
.grid-item {
  float: left;
}
.grid-item img {
  display: block;
  width: 100%;
}
[class=sharing] {
  position: absolute;
  top: 0;
  z-index: 10000;
  width: 100%;
  text-align: right;
  padding: 4px 0;
  min-height: 20px;
}
[class=sharing] a {
  width: auto !important;
  margin-left: 2px;
}

[class=sharing] .soc1{
  -webkit-animation-duration: 0.5s;
  -moz-animation-duration: 0.5s;
  animation-duration: 0.5s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
[class=sharing] .soc2{
  -webkit-animation-duration: 0.8s;
  -moz-animation-duration: 0.8s;
  animation-duration: 0.8s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
[class=sharing] .soc3{
  -webkit-animation-duration: 1.1s;
  -moz-animation-duration: 1.1s;
  animation-duration: 1.1s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
[class=sharing] .soc4{
  -webkit-animation-duration: 1.4s;
  -moz-animation-duration: 1.4s;
  animation-duration: 1.4s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
[class=sharing] .soc5{
  -webkit-animation-duration: 1.7s;
  -moz-animation-duration: 1.7s;
  animation-duration: 1.7s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;    
}
[class=sharing] .soc6{
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both; 
}
[class=sharing] .soc7{
  -webkit-animation-duration: 2.3s;
  -moz-animation-duration: 2.3s;
  animation-duration: 2.3s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;    
}


[class=sharing] .soc7.zoomOut {
   -webkit-animation-duration: 0.5s;
   -moz-animation-duration: 0.5s;
   animation-duration: 0.5s;
   webkit-animation-fill-mode: both;
   animation-fill-mode: both;
}
[class=sharing] .soc6.zoomOut {
   -webkit-animation-duration: 0.8s;
   -moz-animation-duration: 0.8s;
   animation-duration: 0.8s;
   webkit-animation-fill-mode: both;
   animation-fill-mode: both;
}
[class=sharing] .soc5.zoomOut {
   -webkit-animation-duration: 1.1s;
   -moz-animation-duration: 1.1s;
   animation-duration: 1.1s;
   webkit-animation-fill-mode: both;
   animation-fill-mode: both;
}
[class=sharing] .soc4.zoomOut {
   -webkit-animation-duration: 1.4s;
   -moz-animation-duration: 1.4s;
   animation-duration: 1.4s;
   webkit-animation-fill-mode: both;
   animation-fill-mode: both
}
[class=sharing] .soc3.zoomOut {
   -webkit-animation-duration: 1.7s;
   -moz-animation-duration: 1.7s;
   animation-duration: 1.7s;
   webkit-animation-fill-mode: both;
   animation-fill-mode: both;
}
[class=sharing] .soc2.zoomOut {
  -webkit-animation-duration: 2s;
  -moz-animation-duration: 2s;
  animation-duration: 2s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
[class=sharing] .soc1.zoomOut {
  -webkit-animation-duration: 2.3s;
  -moz-animation-duration: 2.3s;
  animation-duration: 2.3s;
  webkit-animation-fill-mode: both;
  animation-fill-mode: both;     
}

[class=sharing] .act {
    display: none;
}
[class=sharing] .act.zoomIn {
    display: block;
}
[class=sharing] .zoomIn, 
[class=sharing] .zoomOut {
  display: block;
  float: right;
}
.animated {
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.icons_os_image {
    background: url("images/shareLink.png") no-repeat;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 4px;
    right: 5px;
    cursor: pointer;
}
.icons_os {
    margin-right: 39px;
    overflow: hidden;

}

.icons_download {
    background: url("images/downloadButton.png") no-repeat;
    width: 32px;
    height: 32px;
    position: absolute;
    top: 40px;
    right: 5px;
    cursor: pointer;
}

.img-block1 {
  /*position: fixed;*/
  left: 0;
  top: 0;
  z-index: 999;
  width: 100%;
  height: 400px;
  overflow: visible;
  background: url('images/preloader.gif') no-repeat center center;
}

@-webkit-keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

@keyframes zoomIn {
  0% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  50% {
    opacity: 1;
  }
}

.zoomIn {
  -webkit-animation-name: zoomIn;
  animation-name: zoomIn;
}


@-webkit-keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  100% {
    opacity: 0;
  }
}

@keyframes zoomOut {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
    -webkit-transform: scale3d(.3, .3, .3);
    transform: scale3d(.3, .3, .3);
  }

  100% {
    opacity: 0;
  }
}

.zoomOut {
  -webkit-animation-name: zoomOut;
  animation-name: zoomOut;
}

.os_fancybox-outer a.os_fancybox-nav {
    width: 10%;
}

/*UPDATE to FancyBox 3*/

/*image in Html block*/
.os_fancybox-slide .imgInHtml img{
    display: block;
    margin: auto;
}

/*all contents in Html block maxwidth 100%*/
.os_fancybox-slide.os_fancybox-slide--inline .data-html-wrap,
.os_fancybox-slide.os_fancybox-slide--inline .data-html-wrap *{
    max-width: 100%;
}

/*bottom HTML position*/
.os_fancybox-slide.os_fancybox-slide--inline .data-html-wrap.position_bottom{
    display: inline-flex !important;
    flex-direction: column;
}

/*top HTML position*/
.os_fancybox-slide.os_fancybox-slide--inline .data-html-wrap.position_top{
    display: inline-flex !important;
    flex-direction: column-reverse;
}

.load-more-hidden,
.fitrow-more-hidden{
    display: none;
}

/*Thumnails position - bottom */
 .thumb_bottom .os_fancybox-thumbs {
    top: auto !important;
    width: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    right : 0 !important;
    height: 95px !important;
    padding: 10px 10px 5px 10px !important;
    box-sizing: border-box !important;
    background: rgba(0, 0, 0, 0.3) !important;
  }
  .thumb_bottom.os_fancybox-show-thumbs .os_fancybox-inner {
    right: 0 !important;
    bottom: 95px !important;
  }

/*Thumnails position - bottom */
[class^=os-gallery-tabs-main] .os-cat-tab-images .img-block {
    box-shadow: none !important;
}@charset "UTF-8";
body.os_fancybox-active {
  overflow: hidden;
}
body.os_fancybox-iosfix {
  position: fixed;
  left: 0;
  right: 0;
}
.os_fancybox-is-hidden {
  position: absolute;
  top: -9999px;
  left: -9999px;
  visibility: hidden;
}
.os_fancybox-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99992;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  font-family: "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}
.os_fancybox-outer,
.os_fancybox-inner,
.os_fancybox-bg,
.os_fancybox-stage {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.os_fancybox-outer {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.os_fancybox-bg {
  background: #1e1e1e;
  opacity: 0;
  transition-duration: inherit;
  transition-property: opacity;
  transition-timing-function: cubic-bezier(0.47, 0, 0.74, 0.71);
}
.os_fancybox-is-open .os_fancybox-bg {
  opacity: 0.87;
  transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.os_fancybox-infobar,
.os_fancybox-toolbar,
.os_fancybox-caption-wrap {
  position: absolute;
  direction: ltr;
  z-index: 99997;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility 0s linear .25s;
  box-sizing: border-box;
}
.os_fancybox-show-infobar .os_fancybox-infobar,
.os_fancybox-show-toolbar .os_fancybox-toolbar,
.os_fancybox-show-caption .os_fancybox-caption-wrap {
  opacity: 1;
  visibility: visible;
  transition: opacity .25s, visibility 0s;
}
.os_fancybox-infobar {
  top: 0;
  left: 0;
  font-size: 13px;
  padding: 0 10px;
  height: 44px;
  min-width: 44px;
  line-height: 44px;
  color: #ccc;
  text-align: center;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: subpixel-antialiased;
  mix-blend-mode: exclusion;
}
.os_fancybox-toolbar {
  top: 0;
  right: 0;
  margin: 0;
  padding: 0;
}
.os_fancybox-stage {
  overflow: hidden;
  direction: ltr;
  z-index: 99994;
  -webkit-transform: translate3d(0, 0, 0);
}
.os_fancybox-is-closing .os_fancybox-stage {
  overflow: visible;
}
.os_fancybox-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
  outline: none;
  white-space: normal;
  box-sizing: border-box;
  text-align: center;
  z-index: 99994;
  -webkit-overflow-scrolling: touch;
  display: none;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
}
.os_fancybox-slide::before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
  width: 0;
}
.os_fancybox-is-sliding .os_fancybox-slide,
.os_fancybox-slide--previous,
.os_fancybox-slide--current,
.os_fancybox-slide--next {
  display: block;
}
.os_fancybox-slide--image {
  overflow: visible;
}
.os_fancybox-slide--image::before {
  display: none;
}
.os_fancybox-slide--video .os_fancybox-content,
.os_fancybox-slide--video iframe {
  background: #000;
}
.os_fancybox-slide--map .os_fancybox-content,
.os_fancybox-slide--map iframe {
  background: #E5E3DF;
}
.os_fancybox-slide--next {
  z-index: 99995;
}
.os_fancybox-slide > * {
  display: inline-block;
  position: relative;
  padding: 24px;
  /*margin: 44px 0 44px;*/
  border-width: 0;
  vertical-align: middle;
  text-align: left;
  background-color: #fff;
  overflow: auto;
  box-sizing: border-box;
}
.os_fancybox-slide > title,
.os_fancybox-slide > style,
.os_fancybox-slide > meta,
.os_fancybox-slide > link,
.os_fancybox-slide > script,
.os_fancybox-slide > base {
  display: none;
}
.os_fancybox-slide .os_fancybox-image-wrap {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0;
  border: 0;
  z-index: 99995;
  background: transparent;
  cursor: default;
  overflow: visible;
  -webkit-transform-origin: top left;
  -ms-transform-origin: top left;
  transform-origin: top left;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition-property: opacity, -webkit-transform;
  transition-property: transform, opacity;
  transition-property: transform, opacity, -webkit-transform;
}
.os_fancybox-can-zoomOut .os_fancybox-image-wrap {
  cursor: -webkit-zoom-out;
  cursor: zoom-out;
}
.os_fancybox-can-zoomIn .os_fancybox-image-wrap {
  cursor: -webkit-zoom-in;
  cursor: zoom-in;
}
.os_fancybox-can-drag .os_fancybox-image-wrap {
  cursor: -webkit-grab;
  cursor: grab;
}
.os_fancybox-is-dragging .os_fancybox-image-wrap {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}
.os_fancybox-image,
.os_fancybox-spaceball {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  max-width: none;
  max-height: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.os_fancybox-spaceball {
  z-index: 1;
}
.os_fancybox-slide--iframe .os_fancybox-content {
  padding: 0;
  width: 80%;
  height: 80%;
  max-width: calc(100% - 100px);
  max-height: calc(100% - 88px);
  overflow: visible;
  background: #fff;
}
.os_fancybox-iframe {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 100%;
  height: 100%;
  background: #fff;
}
.os_fancybox-error {
  margin: 0;
  padding: 40px;
  width: 100%;
  max-width: 380px;
  background: #fff;
  cursor: default; }

.os_fancybox-error p {
  margin: 0;
  padding: 0;
  color: #444;
  font-size: 16px;
  line-height: 20px; }

/* Buttons */
.os_fancybox-button {
  box-sizing: border-box;
  display: inline-block;
  vertical-align: top;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border: 0;
  border-radius: 0;
  background: rgba(30, 30, 30, 0.6);
  transition: color .3s ease;
  cursor: pointer;
  outline: none; }

.os_fancybox-button,
.os_fancybox-button:visited,
.os_fancybox-button:link {
  color: #ccc; }

.os_fancybox-button:focus,
.os_fancybox-button:hover {
  color: #fff;
}
































.os_fancybox-button[disabled] {
  color: #ccc;
  cursor: default;
  opacity: 0.6; }

.os_fancybox-button svg {
  display: block;
  position: relative;
  overflow: visible;
  shape-rendering: geometricPrecision; }

.os_fancybox-button svg path {
  fill: currentColor;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 3; }

.os_fancybox-button--share svg path {
  stroke-width: 1; }

.os_fancybox-button--play svg path:nth-child(2) {
  display: none; }

.os_fancybox-button--pause svg path:nth-child(1) {
  display: none; }

.os_fancybox-button--zoom svg path {
  fill: transparent; }

/* Navigation arrows */
.os_fancybox-navigation {
  display: none; }

.os_fancybox-show-nav .os_fancybox-navigation {
  display: block; }

.os_fancybox-navigation button {
  position: absolute;
  top: 50%;
  margin: -50px 0 0 0;
  z-index: 99997;
  background: transparent;
  width: 60px;
  height: 100px;
  padding: 17px; }

.os_fancybox-navigation button:before {
  content: "";
  position: absolute;
  top: 30px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: rgba(30, 30, 30, 0.6); }

.os_fancybox-navigation .os_fancybox-button--arrow_left {
  left: 0; }

.os_fancybox-navigation .os_fancybox-button--arrow_right {
  right: 0; }

/* Close button on the top right corner of html content */
.os_fancybox-close-small {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 28px;
  height: 26px;
  padding: 0;
  border-radius: 50%;
  margin: 0;
  border: 0;
/*  border-radius: 0;*/
 /* background: transparent;*/
  z-index: 10;
  cursor: pointer; 
  background: none;
}
.os_fancybox-close-small:hover {
  background: #ccc;
}
.os_fancybox-close-small:after {
  content: '×';
  /*position: absolute;
  top: 5px;
  */
  right: 5px;
  /*height: 27px;*/
  font: 22px/30px Arial,"Helvetica Neue",Helvetica,sans-serif;
  color: #fff;
  /*width: 29px;*/
  /*font-weight: 300;
  text-align: center;
  border-radius: 50%;
  border-width: 0;
  background-color: transparent;
  transition: background-color .25s;
  box-sizing: border-box;*/
  z-index: 2; }

.os_fancybox-close-small:hover:after {
  color: #000;
}
.os_fancybox-close-small:focus {
  outline: none; }

/*.os_fancybox-close-small:focus:after {
  outline: 1px dotted #888; }*/

.os_fancybox-close-small:hover:after {
 /* color: #555;
  background: #eee;*/
}

.os_fancybox-slide--image .os_fancybox-close-small,
.os_fancybox-slide--iframe .os_fancybox-close-small {
  top: 0;
  right: -40px; }

.os_fancybox-slide--image .os_fancybox-close-small:after,
.os_fancybox-slide--iframe .os_fancybox-close-small:after {
  font-size: 35px;
  color: #aaa; }

.os_fancybox-slide--image .os_fancybox-close-small:hover:after,
.os_fancybox-slide--iframe .os_fancybox-close-small:hover:after {
  color: #fff;
  background: transparent; }

.os_fancybox-is-scaling .os_fancybox-close-small,
.os_fancybox-is-zoomable.os_fancybox-can-drag .os_fancybox-close-small {
  display: none; }

/* Caption */
.os_fancybox-caption-wrap {
  bottom: 0;
  left: 0;
  right: 0;
  padding: 60px 2vw 0 2vw;
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.6) 80%, rgba(0, 0, 0, 0.8) 100%);
  pointer-events: none; }

.os_fancybox-caption {
  padding: 30px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.4);
  font-size: 14px;
  color: #fff;
  line-height: 20px;
  -webkit-text-size-adjust: none; }

.os_fancybox-caption a,
.os_fancybox-caption button,
.os_fancybox-caption select {
  pointer-events: all;
  position: relative;
  /* Fix IE11 */ }

.os_fancybox-caption a {
  color: #fff;
  text-decoration: underline; }

/* Loading indicator */
.os_fancybox-slide > .os_fancybox-loading {
  border: 6px solid rgba(100, 100, 100, 0.4);
  border-top: 6px solid rgba(255, 255, 255, 0.6);
  border-radius: 100%;
  height: 50px;
  width: 50px;
  -webkit-animation: os_fancybox-rotate .8s infinite linear;
  animation: os_fancybox-rotate .8s infinite linear;
  background: transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  margin-top: -30px;
  margin-left: -30px;
  z-index: 99999; }

@-webkit-keyframes os_fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

@keyframes os_fancybox-rotate {
  from {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg); }
  to {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg); } }

/* Transition effects */
.os_fancybox-animated {
  transition-timing-function: cubic-bezier(0, 0, 0.25, 1); }

/* transitionEffect: slide */
.os_fancybox-fx-slide.os_fancybox-slide--previous {
  -webkit-transform: translate3d(-100%, 0, 0);
  transform: translate3d(-100%, 0, 0);
  opacity: 0; }

.os_fancybox-fx-slide.os_fancybox-slide--next {
  -webkit-transform: translate3d(100%, 0, 0);
  transform: translate3d(100%, 0, 0);
  opacity: 0; }

.os_fancybox-fx-slide.os_fancybox-slide--current {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  opacity: 1; }

/* transitionEffect: fade */
.os_fancybox-fx-fade.os_fancybox-slide--previous,
.os_fancybox-fx-fade.os_fancybox-slide--next {
  opacity: 0;
  transition-timing-function: cubic-bezier(0.19, 1, 0.22, 1); }

.os_fancybox-fx-fade.os_fancybox-slide--current {
  opacity: 1; }

/* transitionEffect: zoom-in-out */
.os_fancybox-fx-zoom-in-out.os_fancybox-slide--previous {
  -webkit-transform: scale3d(1.5, 1.5, 1.5);
  transform: scale3d(1.5, 1.5, 1.5);
  opacity: 0; }

.os_fancybox-fx-zoom-in-out.os_fancybox-slide--next {
  -webkit-transform: scale3d(0.5, 0.5, 0.5);
  transform: scale3d(0.5, 0.5, 0.5);
  opacity: 0; }

.os_fancybox-fx-zoom-in-out.os_fancybox-slide--current {
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
  opacity: 1; }

/* transitionEffect: rotate */
.os_fancybox-fx-rotate.os_fancybox-slide--previous {
  -webkit-transform: rotate(-360deg);
  -ms-transform: rotate(-360deg);
  transform: rotate(-360deg);
  opacity: 0; }

.os_fancybox-fx-rotate.os_fancybox-slide--next {
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
  opacity: 0; }

.os_fancybox-fx-rotate.os_fancybox-slide--current {
  -webkit-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  transform: rotate(0deg);
  opacity: 1; }

/* transitionEffect: circular */
.os_fancybox-fx-circular.os_fancybox-slide--previous {
  -webkit-transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
  transform: scale3d(0, 0, 0) translate3d(-100%, 0, 0);
  opacity: 0; }

.os_fancybox-fx-circular.os_fancybox-slide--next {
  -webkit-transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
  transform: scale3d(0, 0, 0) translate3d(100%, 0, 0);
  opacity: 0; }

.os_fancybox-fx-circular.os_fancybox-slide--current {
  -webkit-transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  transform: scale3d(1, 1, 1) translate3d(0, 0, 0);
  opacity: 1; }

/* transitionEffect: tube */
.os_fancybox-fx-tube.os_fancybox-slide--previous {
  -webkit-transform: translate3d(-100%, 0, 0) scale(0.1) skew(-10deg);
  transform: translate3d(-100%, 0, 0) scale(0.1) skew(-10deg); }

.os_fancybox-fx-tube.os_fancybox-slide--next {
  -webkit-transform: translate3d(100%, 0, 0) scale(0.1) skew(10deg);
  transform: translate3d(100%, 0, 0) scale(0.1) skew(10deg); }

.os_fancybox-fx-tube.os_fancybox-slide--current {
  -webkit-transform: translate3d(0, 0, 0) scale(1);
  transform: translate3d(0, 0, 0) scale(1); }

/* Share */
.os_fancybox-share {
  padding: 30px 0;
  /* border-radius: 3px; */
  background: rgba(0, 0, 0, 0.9);
  /* max-width: 100%; */
  text-align: center;
  height: 100%;
  width: 100%;
  padding-top: 16%;
}

.os_fancybox-share h1 {
  color: #fff;
  margin: 0 0 45px 0;
  font-size: 35px;
  font-weight: 700; }

.os_fancybox-share p {
  margin: 0;
  padding: 0; }

p.os_fancybox-share__links {
  margin-right: -10px; }

.os_fancybox-share__button {
  display: inline-block;
  text-decoration: none;
  margin: 0 10px 10px 0;
  padding: 0 15px;
  min-width: 92px;
  border: 0;
  border-radius: 3px;
  background: #fff;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 300;
  line-height: 40px;
  -webkit-user-select: none;
  -moz-user-seletct: none;
  -ms-user-selec: none;
  user-select: none;
  color: #fff;
  transition: all .2s; }

.os_fancybox-share__button:hover {
  text-decoration: none; }

.os_fancybox-share__button--fb {
  background: none; }

/*.os_fancybox-share__button--fb:hover {
  background: #344e86; }*/
.os_fancybox-share__button span {
  display: block !important;
}
.os_fancybox-share__button--pt {
  background: #bd081d; }

.os_fancybox-share__button--pt:hover {
  background: #aa0719; }

.os_fancybox-share__button--tw {
  background: #1da1f2; }

.os_fancybox-share__button--tw:hover {
  background: #0d95e8; }

.os_fancybox-share__button svg {
  position: relative;
  top: 9px;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  /*margin-right: 7px;*/
  vertical-align: middle; }

.os_fancybox-share__button svg path {
  fill: #fff; }

.os_fancybox-share__input {
  box-sizing: border-box;
  width: 100%;
  margin: 10px 0 0 0;
  padding: 10px 15px;
  background: transparent;
  color: #5d5b5b;
  font-size: 14px;
  outline: none;
  border: 0;
  border-bottom: 2px solid #d7d7d7; }

/* Thumbs */
.os_fancybox-thumbs {
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 212px;
  margin: 0;
  padding: 2px 2px 4px 2px;
  background: #fff;
  -webkit-tap-highlight-color: transparent;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: -ms-autohiding-scrollbar;
  box-sizing: border-box;
  z-index: 99995; }

.os_fancybox-thumbs-x {
  overflow-y: hidden;
  overflow-x: auto; }

.os_fancybox-show-thumbs .os_fancybox-thumbs {
  display: block; }

.os_fancybox-show-thumbs .os_fancybox-inner {
  right: 212px; }

.os_fancybox-thumbs > ul {
  list-style: none;
  position: absolute;
  position: relative;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  overflow-y: auto;
  font-size: 0;
  white-space: nowrap; }

.os_fancybox-thumbs-x > ul {
  overflow: hidden; }

.os_fancybox-thumbs-y > ul::-webkit-scrollbar {
  width: 7px; }

.os_fancybox-thumbs-y > ul::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3); }

.os_fancybox-thumbs-y > ul::-webkit-scrollbar-thumb {
  background: #2a2a2a;
  border-radius: 10px; }

.os_fancybox-thumbs > ul > li {
  float: left;
  overflow: hidden;
  padding: 0;
  margin: 2px;
  width: 100px;
  height: 75px;
  max-width: calc(50% - 4px);
  max-height: calc(100% - 8px);
  position: relative;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  box-sizing: border-box; }

li.os_fancybox-thumbs-loading {
  background: rgba(0, 0, 0, 0.1); }

.os_fancybox-thumbs > ul > li > img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
  max-height: none;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none; }

.os_fancybox-thumbs > ul > li:before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border: 4px solid #4ea7f9;
  z-index: 99991;
  opacity: 0;
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); }

.os_fancybox-thumbs > ul > li.os_fancybox-thumbs-active:before {
  opacity: 1; }

/* Styling for Small-Screen Devices */
@media all and (max-width: 800px) {
  .os_fancybox-thumbs {
    width: 110px; }
  .os_fancybox-show-thumbs .os_fancybox-inner {
    right: 110px; }
  .os_fancybox-thumbs > ul > li {
    max-width: calc(100% - 10px); } 
  }

.bg_os_icons {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  margin: auto;
}

.os_fancybox-share__button.os_facebook .bg_os_icons {
  background: #3b5998;
}
.os_fancybox-share__button.os_facebook:hover span {
  color: #3b5998;
}
.os_fancybox-share__button.os_googleplus .bg_os_icons {
  background: #dc4e41;
}
.os_fancybox-share__button.os_googleplus:hover span {
  color: #dc4e41;
}
.os_fancybox-share__button.os_vkontacte .bg_os_icons {
  background: #6383a8;
}
.os_fancybox-share__button.os_vkontacte:hover span {
  color: #6383a8;
}
.os_fancybox-share__button.os_odnoklassniki .bg_os_icons {
  background: #d57819;
}
.os_fancybox-share__button.os_odnoklassniki:hover span {
  color: #d57819;
}
.os_fancybox-share__button.os_twitter .bg_os_icons {
  background: #1da1f2;
}
.os_fancybox-share__button.os_twitter:hover span {
  color: #1da1f2;
}
.os_fancybox-share__button.os_pinterest .bg_os_icons {
  background: #cb2027;
}
.os_fancybox-share__button.os_pinterest:hover span {
  color: #cb2027;
}
.os_fancybox-share__button.os_linkedin .bg_os_icons {
  background: #0077b5;
}
.os_fancybox-share__button.os_linkedin:hover span {
  color: #0077b5;
}



.os_fancybox-share__button svg {
  -webkit-transition: 0.6s ease-out;
  -moz-transition: 0.6s ease-out;
  transition: 0.6s ease-out;
}
.os_fancybox-share__button:hover svg {
  -webkit-transform: rotateZ(720deg);
  -moz-transform: rotateZ(720deg);
  transform: rotateZ(720deg);
}
.os_fancybox-close-small:focus:after {
  outline: none;
}


.os_fancybox-toolbar .os_fancybox-button {
  position: relative;
}
.os_fancybox-toolbar .os_fancybox-button:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  right: 100%;
  top: 0;
  background: rgba(35,152,209,0.9);
  height: 44px;
  -webkit-transition-property: right;
  transition-property: right;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
}
.os_fancybox-toolbar .os_fancybox-button:hover:before {
  right: 0;
}
.os_fancybox-button--share i {
  font-size: 16px;
}
