.gallery-category {
  margin-right: -14px;
  margin-left: -14px;
}
.filter {
  padding: 0;
  margin: 28px 0;
  display: none;
}
.filter li {
  display: inline-block;
}
@media screen and (max-width: 480px) {
  .filter li {
    display: block;
  }
}
.filter li a {
  text-transform: uppercase;
  font-size: 13px;
  padding: 5px 28px;
  color: #222222;
}
@media screen and (max-width: 480px) {
  .filter li a {
    display: block;
    border-bottom: 1px solid #eeeeee;
  }
}
.filter li:hover a,
.filter li:focus a,
.filter li.active a {
  color: #1e6698;
}
.row-gallery:before,
.row-gallery:after {
  content: " ";
  display: table;
}
.row-gallery:after {
  clear: both;
}
.gallery-item {
  margin-bottom: 28px;
  position: relative;
}
.gallery-item .btn-play {
  position: absolute;
  padding: 28px;
  right: 0;
  left: 0;
  bottom: 0;
  top: 0;
  z-index: 2;
  cursor: pointer;
}
.gallery-item .photo-media img {
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  -webkit-backface-visibility: hidden;
  width: 100%;
}
.gallery-item .photo-main {
  padding: 28px;
  background: #f7f7f7;
}
.gallery-item .photo-main .post-title,
.gallery-item .photo-main .category-name {
  margin: 0;
  text-transform: uppercase;
  line-height: 1;
}
.gallery-item .photo-main .post-title a,
.gallery-item .photo-main .category-name a {
  color: #222222;
  font-size: 18px;
}
.gallery-item .photo-main .post-title a:hover,
.gallery-item .photo-main .category-name a:hover,
.gallery-item .photo-main .post-title a:focus,
.gallery-item .photo-main .category-name a:focus {
  color: #1e6698;
}
.gallery-item .photo-main .post-title .fa,
.gallery-item .photo-main .category-name .fa {
  display: none;
}
.gallery-item .photo-main .post-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}
.gallery-item .photo-main .category-name {
  font-family: "Lato", Helvetica, Arial, sans-serif;
  display: none;
}
.gallery-item .photo-main .category-name a {
  color: #999999;
  font-size: 14px;
}
.gallery-item .photo-main .category-name a:hover,
.gallery-item .photo-main .category-name a:focus {
  color: #222222;
}
.gallery-item:hover .photo-media img {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.blueimp-gallery .modal-content {
  border-radius: 0;
}
.blueimp-gallery .modal-footer,
.blueimp-gallery .modal-header {
  border: 0;
}

.gallery-list .photo-featured {
  margin: 28px;
}
.gallery-list .photo-featured .item-image {
  max-height: none;
  margin: 0;
}
.gallery-list .photos-item .article-title {
  margin: 14px 0;
}
.gallery-list .magazine-item.photos-item {
  padding-top: 28px;
  padding-bottom: 28px;
}
.gallery-list .magazine-item.photos-item .magazine-item-ct h4 {
  font-size: 14px;
  margin-top: 0;
  margin-bottom: 0;
}
.gallery-list .magazine-item.photos-item .item-image {
  position: relative;
  max-height: 120px;
  margin-bottom: 0;
}
@media (min-width: 768px) and (max-width: 991px) {
  .gallery-list .magazine-item.photos-item .item-image {
    max-height: 60px;
  }
}
.gallery-list .magazine-item.photos-item .btn-fullscreen {
  cursor: pointer;
  position: absolute;
  bottom: -1px;
  right: -1px;
  z-index: 1001;
  color: #fff;
  border: 1px solid #fff;
  padding: 10px;
  width: 52px;
  text-align: center;
  opacity: 0.6;
  filter: alpha(opacity=60);
}
.gallery-list .magazine-item.photos-item .btn-fullscreen:hover,
.gallery-list .magazine-item.photos-item .btn-fullscreen:focus {
  opacity: 1;
  filter: alpha(opacity=100);
}
.gallery-list .magazine-item.photos-item .carousel .item-image {
  max-height: none;
}
.gallery-list .magazine-item.photos-item .btn-play {
  position: absolute;
  bottom: 14px;
  right: 14px;
  padding: 7px 14px;
  background: rgba(0, 0, 0, 0.6);
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}
.gallery-list .magazine-item.photos-item .btn-play .num-photos {
  color: rgba(255, 255, 255, 0.7);
}
.gallery-list .magazine-item.photos-item .btn-play .slideshow-text {
  display: none;
}
.gallery-list .magazine-item.photos-item:hover .btn-play {
  background: #1e6698;
  color: #ffffff;
}
.gallery-list .magazine-item.photos-item:hover .btn-play:hover .slideshow-text {
  display: inline;
}
.gallery-list .magazine-item-media .category-name {
  position: inherit;
  bottom: auto;
  right: auto;
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators {
  right: 0;
  left: 0;
  bottom: 20px;
  width: auto;
  margin: 0;
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li {
  text-indent: 0;
  width: 50px;
  height: 50px;
  border-radius: 0;
  overflow: hidden;
  border-color: #fff;
  opacity: 0.6;
  filter: alpha(opacity=60);
  -webkit-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
  margin: 0;
  position: relative;
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li img,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li img {
  max-width: none !important;
  max-height: none !important;
  width: 100px;
  height: auto;
  position: absolute;
  top: 45%;
  right: 0;
  margin-right: -50%;
  margin-top: -55%;
}
@media screen and (max-width: 991px) {
  .gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li,
  .gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li {
    width: 8px;
    height: 8px;
  }
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li:focus,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li:focus,
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li:hover,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li:hover,
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li.active,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li.active {
  opacity: 1;
  filter: alpha(opacity=100);
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-indicators li.active,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-indicators li.active {
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
}
.gallery-list .magazine-item-main .carousel-thumbnail .carousel-caption,
.gallery-list .magazine-categories .carousel-thumbnail .carousel-caption {
  bottom: auto;
  top: 15px;
  background: rgba(0, 0, 0, 0.2);
  padding: 14px 28px;
  right: 15px;
  left: 15px;
}