.gallery__video{
    height: 100%;
    min-height:100%;
    width: 100%;
    min-width: 100%;
}

.gallery .se__gallery .se__gallery-spacer, #gallery-bx-slider .se__gallery .se__gallery-spacer{
    position: relative;
}

.gallery .se__gallery .se__gallery-square,#gallery-bx-slider .se__gallery .se__gallery-square{
    position: relative;
    width: 100%;
    padding: 0 0 100%;
    overflow: hidden;
}

.gallery .se__gallery .se__gallery-rectangle,#gallery-bx-slider .se__gallery .se__gallery-rectangle{
	position: relative;
    width: 100%;
    padding: 0 0 75%;
    overflow: hidden;
}

.se__text-left{
  text-align: left;
}

.se__text-right{
  text-align: right;
}

.se__text-center{
  text-align: center;
}


.gallery {
  clear: both;
  padding: 20px 0;
}

.gallery:after {
  content: "";
  display: table;
  clear: both;
}

.gallery__video{
    height: 100%;
    min-height:100%;
    width: 100%;
    min-width: 100%;
}

.gallery .gallery-item .gallery-item--spacer{
    position: relative;
}

.gallery .bxslider {
  clear: both;
}

.gallery-slider .bx-wrapper .bx-controls {
  margin-top: 20px;
}
.gallery-row:not(:first-child) {
  padding-top: 20px;
}

#masonry-container {
    width: 100%;
    margin: 0 auto;
}

.gallery-row{
  width: 100%;
  float: left;
}

.gallery-grid--columns-1 {
  
  width: calc(100% / 1);
}

.gallery-grid--columns-2 {
  
  width: calc(100% / 2);
}

.gallery-grid--columns-3 {
  
  width: calc(100% / 3);
}

.gallery-grid--columns-4 {
  
  width: calc(100% / 4);
}

.gallery-grid--columns-5 {
  
  width: calc(100% / 5);
}

.gallery-grid--columns-6 {
  
  width: calc(100% / 6);
}

.gallery-grid--columns-7 {
  
  width: calc(100% / 7);
}

.gallery-grid--columns-8 {
  
  width: calc(100% / 8);
}

.gallery-grid--columns-9 {
  
  width: calc(100% / 9);
}

.gallery-grid--columns-10 {
  
  width: calc(100% / 10);
}

.gallery-grid--float-left{
    float: left;
}




.gallery__video{
    height: 100%;
    min-height:100%;
    width: 100%;
    min-width: 100%;
}

.gallery-item--video-thumbnail {
  position: relative;
}

.gallery-item--video-thumbnail .gallery-video-btn{
    display: block;
    position: absolute;
    top: 50%;
    left: 50%;
    height: 50px;
    width: 50px;
    margin: -25px 0 0 -25px;
    z-index: 1;
    font-size: 3em;
    line-height: 1.5em;
    padding: 0;
    cursor: pointer;
    opacity: 1;
    background-color: transparent;
    min-width: 1px;
    border-style: none;
    overflow: visible;
    border-radius: 5px;
}
.gallery-item--video-thumbnail .gallery-video-btn:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 50%;
    border: 5px solid white;
    background: -moz-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.45) 52%, rgba(0,0,0,0) 100%);
    background: -webkit-radial-gradient(center, ellipse cover, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.45) 52%,rgba(0,0,0,0) 100%);
    background: radial-gradient(ellipse at center, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0.45) 52%,rgba(0,0,0,0) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6000000', endColorstr='#00000000',GradientType=1 );
    color: #a8a194;
    font-size: 2.5em;
    width: 100%;
    height: 100%;
    text-align: center;
}
.gallery-item--video-thumbnail .gallery-video-btn:after {
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    border-style: solid;
    border-color: transparent white;
    border-width: 7px 0 7px 10px;
    margin: -7px 0 0 -2px;
    pointer-events: none;
}

.gallery .gallery-video-btn:hover, .gallery .gallery-video-btn:focus {
  background: none;
}


.gallery-item--video-thumbnail.gallery-item--masonry-video .gallery-video-btn:hover:before, .gallery-item--video-thumbnail.gallery-item--masonry-video .gallery-video-btn:hover:after{
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
} 

.gallery .gallery-item .gallery-item--spacer{
    position: relative;
}

.gallery .gallery-item .gallery-item--square{
    /*position: relative;*/
    width: 100%;
    padding: 0 0 100%;
    overflow: hidden;
}

.gallery .gallery-item .gallery-item--rectangle{
     /*position: relative;*/
   width: 100%;
   padding: 0 0 75%;
   overflow: hidden;
}

.gallery-item--text-left{
  text-align: left;
}

.gallery-item--text-right{
  text-align: right;
}

.gallery-item--text-center{
  text-align: center;
}





.gallery .highslide img{
  margin: 0 auto;
  display: block;
  border:none !important;
  background-color: transparent;
}

.pos-relative{
  position: relative;
}

.gallery .highslide img:hover{
  border:none !important;
}

.gallery-item--square .gallery-item--video-thumbnail, .gallery-item--rectangle .gallery-item--video-thumbnail {
  position: static;
}

.gallery-item--title, .gallery-item--description {
  padding: 5px;
}
.highslide-container .gallery-item--highslide-title, .highslide-container .gallery-item--highslide-caption, .highslide-container .gallery-item--highslide-link {
  padding-bottom: 5px;
}
.gallery-item--title, .highslide-container .gallery-item--highslide-title {
  font: 16px/1.25 Arial, Helvetica, sans-serif;
}
.gallery-item--description, .highslide-container .gallery-item--highslide-caption, .highslide-container .gallery-item--highslide-link {
  font: 14px/1.28571 Arial, Helvetica, sans-serif;
}

.gallery-slider .wrap__gallery_pause-play{
    position: absolute;
    left: 49%;
    bottom: 0;
}

.gallery-slider .pause-slideshow{
    z-index: 100002;
    position: relative;
    /*display: inline-block;*/
    display: inline-table;
    cursor: pointer;
    background-color: rgba(0,0,0,0.3);
    height: auto;
    width: auto;
    border-radius: 50%;
    padding: 8px;
    color: white;
    top:0;
    right: 0;
    vertical-align: bottom;
    text-align: center;
}

.gallery-slider .play-slideshow{
    z-index: 100002;
    position: relative;
    display: inline-table;
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    height: auto;
    width: auto;
    border-radius: 50%;
    padding: 8px;
    color: white;
    top:0;
    right: 0;
    vertical-align: bottom;
    text-align: center;
}

.gallery-slider .pause-slideshow span, .gallery-slider .play-slideshow span {
  background:rgba(255,255,255,0);
}

.gallery-slider .pause-slideshow span.icon, .gallery-slider .play-slideshow span.icon {
    width: 14px;
    height: auto;
    display: block;
}

.gallery-slider .pause-slideshow span.icon:before, .gallery-slider .play-slideshow span.icon:before {
  font-size: 12px;
    display: block;
}