/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */

html.swipebox-html.swipebox-touch {
    overflow: hidden!important
}
#swipebox-overlay img {
    border: none!important
}
#swipebox-overlay {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9009 !important;
    overflow: hidden;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}
#swipebox-container {
    position: relative;
    width: 100%;
    height: 100%
}
#swipebox-slider {
    -webkit-transition: -webkit-transform .4s ease;
    transition: transform .4s ease;
    height: 100%;
    left: 0;
    top: 0;
    width: 100%;
    padding-bottom: 15px;
    white-space: nowrap;
    position: relative;
    display: none;
    cursor: pointer;
}

#swipebox-overlay .slide.current > img {
  /* max-height: calc(100% - 362px) !important; */
  max-height: 100vh !important;
  max-width: 100%;
}

#swipebox-container #swipebox-slider .slide img {
  vertical-align: top;
  max-height: calc(100vh - 50px) !important;
}

#swipebox-container #swipebox-slider .single_gallery_ads {
  display: inline-block;
  margin-right: 20px;
  margin-top: -20px;
  color: #fff;
}

#swipebox-overlay .slide.current > .adWrapper > div:first-of-type {
  margin-top: 40px !important;
}

#swipebox-overlay .slide.current > .adWrapper > .wgAd.wgAd-loaded {
  margin-top: 12px !important;
}

#swipebox-title a {
    background: #ee1a65;
    color: #FFF;
    font-size: 13px;
    padding: 5px 10px;
    text-decoration: none;
}

#swipebox-slider .slide {
    height: 100%;
    width: 100%;
    line-height: 100%;
    text-align: center;
    display: inline-block;
    padding-right: 315px;
}
#swipebox-slider .slide:before {
    content: "";
    display: inline-block;
 /*   height: 50%; */
    width: 1px;
    margin-right: -1px;
}
#swipebox-slider .slide .swipebox-inline-container,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide img {
    display: inline-block;
    max-height: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    vertical-align: middle;
	border-radius: 22px;
    box-shadow: 0px 0px 13px 8px rgba(0, 0, 0, 0.56);
}

}
#swipebox-slider .slide .swipebox-video-container {
    background: 0 0;
    max-width: 1140px;
    max-height: 100%;
    width: 100%;
    padding: 5%;
    -webkit-box-sizing: border-box;
    box-sizing: border-box
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    position: relative
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
    width: 100%!important;
    height: 100%!important;
    position: absolute;
    top: 0;
    left: 0
}
#swipebox-slider .slide-loading {
    background: url(../img/loader.gif) center center no-repeat
}
#swipebox-bottom-bar,
#swipebox-top-bar {
    -webkit-transition: .5s;
    transition: .5s;
    left: 0;
    z-index: 999;
    height: 50px;
    width: 100%
}

#swipebox-ad {
  text-align: center;
}

#swipebox-ad > script {
    height: 90px !important;
}

#swipebox-bottom-bar {
  position: fixed;
  top: 323px;
  height: 72px;
  bottom: 0;
  background: transparent !important;
}
#swipebox-bottom-bar.visible-bars {
    -webkit-transform: translate3d(0, -50px, 0);
    transform: translate3d(0, -50px, 0)
}
#swipebox-top-bar {
    top: -50px;
    height: auto !important;
  position: absolute;
  color: #FFF !important;
  line-height: 43px;
  font-family: Helvetica,Arial,sans-serif;
  transition: all 2s ease-in-out;
}
.hover_gallery #swipebox-top-bar,
#swipebox-top-bar:hover {
  opacity: 1;
  transition: all 0.2s ease-in-out;
}
#swipebox-top-bar.visible-bars {
    -webkit-transform: translate3d(0, 50px, 0);
    transform: translate3d(0, 50px, 0)
}
#swipebox-title {
    display: block;
    width: calc(100% - 315px);
    position: relative;
    padding: 11px 80px 12px 20px;
    z-index: 99;
    text-align: center;
    font-size: 16px;
    line-height: 140%;
}
#swipebox-title span {
  float: right;
}
#swipebox-close,
#swipebox-next,
#swipebox-prev {
    background-color: rgba(153, 153, 153, 0.6);
    background-image: url(icons.png);
    background-repeat: no-repeat;
    border: none!important;
    text-decoration: none!important;
    cursor: pointer;
    width: 46px;
    height: 46px;
    top: 0;
    transition: all 0.2s ease-in-out;
}
#swipebox-next,
#swipebox-prev {
  height: 89px;
  width: 80px;
  background-color: rgb(238, 26, 101);
}
#swipebox-next:hover,
#swipebox-prev:hover {
  background-color: rgba(153, 153, 153, 1);
}
#swipebox-arrows {
    float: left;
    width: 100%;
    height: 72px
}
#swipebox-prev {
    background-position: -32px 13px;
    float: left
}
#swipebox-next {
    background-position: -78px 13px;
    float: right
}
#swipebox-close {
    top: 0;
    right: 0;
    position: absolute;
    z-index: 9999;
    background-position: 15px 12px
}
.swipebox-no-close-button #swipebox-close {
    display: none
}
#swipebox-next.disabled,
#swipebox-prev.disabled {
    opacity: .3
}
.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
    -webkit-animation: rightSpring .3s;
    animation: rightSpring .3s
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
    -webkit-animation: leftSpring .3s;
    animation: leftSpring .3s
}
.swipebox-touch #swipebox-container:after,
.swipebox-touch #swipebox-container:before {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    content: ' ';
    position: absolute;
    z-index: 999;
    top: 0;
    height: 100%;
    width: 20px;
    opacity: 0
}
.swipebox-touch #swipebox-container:before {
    left: 0;
    -webkit-box-shadow: inset 10px 0 10px -8px #656565;
    box-shadow: inset 10px 0 10px -8px #656565
}
.swipebox-touch #swipebox-container:after {
    right: 0;
    -webkit-box-shadow: inset -10px 0 10px -8px #656565;
    box-shadow: inset -10px 0 10px -8px #656565
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before,
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
    opacity: 1
}
@-webkit-keyframes rightSpring {
    0% {
        left: 0
    }
    50% {
        left: -30px
    }
    100% {
        left: 0
    }
}
@keyframes rightSpring {
    0% {
        left: 0
    }
    50% {
        left: -30px
    }
    100% {
        left: 0
    }
}
@-webkit-keyframes leftSpring {
    0% {
        left: 0
    }
    50% {
        left: 30px
    }
    100% {
        left: 0
    }
}
@keyframes leftSpring {
    0% {
        left: 0
    }
    50% {
        left: 30px
    }
    100% {
        left: 0
    }
}
#swipebox-overlay {
    background: #242420;
}

#swipebox-top-bar {
    color: #fff !important;
    font-size: 15px;
    line-height: 43px;
    font-family: Helvetica, Arial, sans-serif
}
.imageTitle {
    display: none;
}

/* END swipebox */

/*  here */
#swipebox-slider .slide .slide_img .gallery_share {
  width: 36px;
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease-in-out;
}
/*  here */
#swipebox-slider .slide .slide_img .gallery_share {
  display: block;
  opacity: 1;
  visibility: visible;
  top: 5px;
  margin: auto 0;
  left: 20px;
}

.img_article:hover .social_links,
#swipebox-slider .slide .slide_img:hover .gallery_share {
  opacity: 1;
  visibility: visible;
}

.img_article .social_links {
  width: 48px;
}

.img_article .social_links a {
  display: inline-block;
  background: #fff;
  width: 48px;
  height: 48px;
  margin-bottom: 5px;
  font-size: 23px;
  text-align: center;
  line-height: 48px;
  border: 1px solid #e3e3e3;
}

.gallery_share a {
  margin: 10px;
  background: #ef1f4d;
  width: 54px;
  height: 54px;
  margin-bottom: 3px;
  font-size: 36px;
  text-align: center;
  line-height: 53px;
  color: #fff;
  padding: 10px;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.88);
}

.left_cont > .gallery_share {
  display: none;
  width: 52px;
  position: fixed;
  top: 170px;
  margin-left: -50px;
  z-index: 999;
}

.img_article .social_links .tw:hover,
.gallery_share .tw:hover {
  background: rgba(0,172,237,1);
}

.img_article .social_links a:hover,
.gallery_share a:hover {
  color: #fff;
  border-color: transparent;
}

.img_article .social_links .fb:hover,
.gallery_share .fb:hover {
  background: #2960A0;
}

.img_article .social_links .pr:hover,
.gallery_share .pr:hover {
  background: #CB2027;
}

.img_article .social_links .gp:hover,
.gallery_share .gp:hover {
  background: #DB4437;
}

#swipebox-slider .slide .slide_img .gallery_title {
  text-align: left;
  font-size: 18px;
  margin: 20px 0 15px 0;
  color: #fff;
}

/* Plugin code */
body.ssa {
  position: fixed;
  top: 0;
  overflow: hidden;
}

body.ssa #swipebox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9009 !important;
  overflow-y: scroll;
  overflow-x: hidden;
}

body.ssa #swipebox-container {
  height: 87vh;
}

body.ssa #swipebox-close {
  right: 0;
}

body.ssa #swipebox-arrows {
  width: 100%;
}

body.ssa #swipebox-next {
    margin-right: 120px;
    border-bottom-right-radius: 15px;
    border-top-right-radius: 15px;
    background: linear-gradient(to right, #252520, #ee1a64);
}

body.ssa .social_links {
  display: none;
}

body.ssa #swipebox-container #swipebox-slider .slide img {
  max-height: 77vh !important;
}

#single_gallery_rp {
  float: left;
  width: 100%;
  min-height: 100vh;
  position: relative;
  left: 0;
  bottom: 0;
  z-index: 9001;
  background: #f8f8ee;
  padding: 0 10px 20px 10px;
  color: #000;
}

#single_gallery_rp .posts {
  padding-top: 45px;
}

#load_gallery_posts {
  float: left;
  width: 100%;
  width: 100%;
  height: 1px;
  clear: left;
}

#single_gallery_rp .top {
  float: left;
  background: #f8f8ee;
  width: 100%;
  position: relative;
  z-index: 9;
  padding: 15px 0;
  text-align: center;
}

#single_gallery_rp.fixed .top {
  position: fixed;
  top: 0;
  left: 0;
  padding: 15px 10px;
  width: 100%;
}

#single_gallery_rp .ssa_back,
#single_gallery_rp .top > span {
  color: #000;
  font-size: 18px;
  text-transform: uppercase;
}

#single_gallery_rp .ssa_back {
  float: left;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 5px;
}

#single_gallery_rp.fixed .ssa_back {
  position: absolute;
  left: 10px;
}

.ssa #swipebox-slider .slide {
  padding-right: 0;
}

.ssa #swipebox-bottom-bar {
  width: 100%;
}

.ssa #swipebox-prev {
    margin-left: 120px;
    border-bottom-left-radius: 15px;
    border-top-left-radius: 15px;
    background: linear-gradient(to right, #ff0059, #252520 );
}

/* #single_gallery_rp.fixed {
  padding-top: 40px;
} */

.ssa .gallery_post:hover {
  background: #eee;
  border-radius: 6px;
}

.ssa .gallery_post h4 {
  display: block;
  margin: 5px;
  font-size: 16px;
  color: #010101;
  font-weight: 600;
  line-height: 125%;
}

.ssa .gallery_post img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 6px;
}

.ssa .gallery_post .date {
  display: inline-block;
  margin: 5px 0 0 5px;
  color: #000;
  text-shadow: none;
}

.ssa .gallery_post.gallery_ads {
  min-width: 300px;
  text-align: center;
}

.ssa .gallery_post.gallery_ads img {
  width: auto;
  display: inline-block;
}

.ssa .gallery_post.gallery_ads > div {
  display: inline-block;
}

.ssa .gallery_post.gallery_ads > h6 {
  display: block;
  margin-bottom: 10px;
  text-align: center;
  font-size: 15px;
}

.ssa .gallery_post .pr {
    position: absolute;
    top: -2px;
    left: 16px;
    width: 36px;
    height: 41px;
    background: #ef1f4d;
    opacity: 0.8;
    color: #fff;
    text-align: center;
    font-size: 20px;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.88);
}

.ssa .gallery_post .pr i {
  display: inline-block;
  padding-top: 13px;
}

.ssa .gallery_post:hover .pr {
  opacity: 1;
}

.ssa #swipebox-title {
  width: 100%;
}

.ssa #swipebox-bottom-bar {
  position: absolute;
  top: 50vh;
}

/* .single_gallery_sidebar {
  display: none;
} */

.grid-sizer {
  width: 10px;
}

.ssa .gallery_post {
  float: left;
  width: calc(16.66% - 4px);
  min-width: 300px;
  margin: 5px 0;
  padding: 8px;
}

.ssa .gallery_post.size_5 {
  width: calc(20% - 4px);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
  background-color: white;
}

.ssa .gallery_post.size_4 {
  width: calc(25% - 4px);
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0,0,0,.3);
  background-color: white;
}

.ssa .gallery_post.size_3 {
  width: calc(33.33% - 4px);
}

/* grid - 420x370 */
.grid_1 img {
  max-height: 280px;
}
.grid_2 img {
  max-height: 380px;
}
.grid_3 img {
  max-height: 320px;
}
.grid_4 img {
  max-height: 230px;
}
.grid_5 img {
  max-height: 250px;
}
.grid_6 img {
  max-height: 300px;
}
.grid_7 img {
  max-height: 600px;
}
.grid_8 img {
  max-height: 250px;
}
.grid_9 img {
  max-height: 340px;
}
.grid_10 img {
  max-height: 300px;
}

/* new style */
body.ssa #swipebox-close {
  text-align: center;
  line-height: 46px;
}

body.ssa #swipebox-prev,
body.ssa #swipebox-next {
  text-align: center;
  line-height: 91px;
}

body.ssa #swipebox-prev:after,
body.ssa #swipebox-next:after,
body.ssa #swipebox-close:after {
  font-family: ionicons;
  font-size: 69px;
  color: #fff;
}

body.ssa #swipebox-prev:after {
  content: "\f3cf";
}

body.ssa #swipebox-next:after {
  content: "\f3d1";
}

body.ssa #swipebox-close:after {
  content: "\f2d7";
  font-size: 32px;
}

body.ssa #swipebox-prev:hover:after,
body.ssa #swipebox-next:hover:after,
body.ssa #swipebox-close:hover:after {
  color: #ee1a65;
}

body.ssa .prev_single {
  display: none;
  margin-left: -58px;
  position: fixed;
  top: 48%;
  height: 80px;
  z-index: 999;
}

body.ssa .next_single {
  display: none;
  margin-left: 1200px;
  position: fixed;
  top: 48%;
  height: 80px;
  z-index: 999;
}

body.ssa .prev_single a,
body.ssa .next_single a {
  height: 40px;
  width: 40px;
  display: block;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  text-align: center;
  line-height: 40px;
}

body.ssa .prev_single a:after,
body.ssa .next_single a:after {
  font-family: ionicons;
  font-size: 25px;
  color: #000;
}

body.ssa .prev_single a:after {
  content: "\f3cf";
}

body.ssa .next_single a:after {
  content: "\f3d1";
}

body.slide_animation.ssa .slide.current {
  background: none;
}


/* @media only screen and (max-width: 1600px) {
  .ssa .gallery_post {
    width: calc(20% - 4px);
  }
}

@media only screen and (max-width: 1024px) {
  .ssa .gallery_post {
    width: calc(33.33% - 4px);
  }
} */

/* #single_gallery_rp {
  display: none;
} */
