﻿
/*======== 4. gallery filter Styles ===========*/
.gallery-filter {
  border-top: 1px solid  #A5A8AC;
  border-bottom: 1px solid  #A5A8AC;
  margin-top: 43px;
  margin-bottom: 30px;
}
.gallery-filter li {
  display: inline;
}
.gallery-filter li:after {
  content: '/';
  display: inline-block;
  color: #666;
  margin: 0 10px;
}
.gallery-filter li:last-child:after {
  content: '';
}
.gallery-filter li.active span,
.gallery-filter li:hover span {
  color: #127FCE;
}
.gallery-filter li.active span:after,
.gallery-filter li:hover span:after,
.gallery-filter li.active span:before,
.gallery-filter li:hover span:before {
  width: 100%;
}
.gallery-filter li span {
  display: inline-block;
  font-size: 13px;
  line-height: 51px;
  color: #666666;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0 10px;
  position: relative;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
}
.gallery-filter li span:after {
  content: ' ';
  width: 0%;
  height: 1px;
  background: #127FCE;
  position: absolute;
  top: -1px;
  left: 0;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
}
.gallery-filter li span:before {
  content: ' ';
  width: 0%;
  height: 1px;
  background: #127FCE;
  position: absolute;
  bottom: -1px;
  left: 0;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
}

/*======== 10. gallery Styles ===========*/
#gallery {
  padding: 80px 0 50px;
  background: #fff;
}
/*======== 11. image-gallery Styles ===========*/
.image-gallery {
  position: relative;
}
.image-gallery .single-gallery {
  padding: 0 15px;
  margin-bottom: 30px;
  float: left;
  box-sizing: border-box;
}
.image-gallery .single-gallery.mix {
  display: none;
}
.image-gallery .single-gallery.span-8 {
  width: 66.66666667%;
}
.image-gallery .single-gallery.span-6 {
  width: 50%;
}
.image-gallery .single-gallery.span-4 {
  width: 33.33333333%;
}
.image-gallery .single-gallery.span-3 {
  width: 25%;
}
.single-gallery:hover .img-holder img {
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.single-gallery:hover .img-holder .content .title-holder {
  opacity: 1;
  filter: alpha(opacity=100);
}
.single-gallery:hover .img-holder .content .image-view {
  top: 0%;
}
.single-gallery:hover .img-holder .content .link-view {
  bottom: 0%;
}
.single-gallery .img-holder {
  position: relative;
  display: block;
  overflow: hidden;
}
.single-gallery .img-holder img {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.single-gallery .img-holder .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  text-align: center;
}
.single-gallery .img-holder .content .title-holder {
  display: table;
  width: 100%;
  height: 25%;
  position: absolute;
  top: 37%;
  background: rgba(22, 22, 22, 0.75);
  opacity: 0;
  filter: alpha(opacity=0);
}
.single-gallery .img-holder .content .title-holder h4 {
  text-transform: uppercase;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
}
.single-gallery .img-holder .content .image-view {
  display: table;
  width: 100%;
  height: 100%;
  position: absolute;
  top: -100%;
  background: rgba(22, 22, 22, 0.55);
}
.single-gallery .img-holder .content .image-view a {
  color: #fff;
  font-size: 20px;
  display: table-cell;
  vertical-align: middle;
}
.single-gallery .img-holder .content .link-view {
  display: table;
  width: 100%;
  height: 25%;
  position: absolute;
  bottom: -25%;
  background: rgba(22, 22, 22, 0.55);
}
.single-gallery .img-holder .content .link-view a {
  color: #fff;
  font-size: 20px;
  display: table-cell;
  vertical-align: middle;
}
.single-gallery .modal-content {
  display: none;
}


/*======== gallery page one Styles ===========*/
#gallery.gallery-page-one {
  padding-top: 50px;
  padding-bottom: 50px;
}
/*======== gallery page two Styles ===========*/
#gallery.gallery-page-two {
  padding-top: 50px;
  padding-bottom: 0px;
}
.gallery-page-two .image-gallery .single-gallery {
  margin: 0;
  padding: 0;
}
.gallery-page-two .image-gallery .single-gallery .img-holder {
  display: block;
}
.gallery-page-two .image-gallery .single-gallery img {
  width: 100%;
  height: 100%;
}
/*======== gallery page three Styles ===========*/
#gallery.gallery-page-three {
  padding-top: 0px;
  padding-bottom: 50px;
}
#gallery.gallery-page-three .gallery-filter {
  margin-top: 0;
}
.gallery-page-three .image-gallery .single-gallery:hover .img-holder img {
  -webkit-transform: scale(1);
      -ms-transform: scale(1);
          transform: scale(1);
}
.gallery-page-three .image-gallery .single-gallery:hover .img-holder .content .title-holder {
  background: #ff0000;
}
.gallery-page-three .image-gallery .single-gallery:hover .img-holder .content .title-holder h4 {
  color: #fff;
}
.gallery-page-three .image-gallery .single-gallery:hover .img-holder .content .link-view {
  opacity: 1;
  filter: alpha(opacity=100);
}
.gallery-page-three .image-gallery .single-gallery .img-holder {
  display: block;
  text-align: right;
  padding-bottom: 20px;
}
.gallery-page-three .image-gallery .single-gallery .img-holder .content .image-view {
  background: rgba(0, 0, 0, 0.65);
}
.gallery-page-three .image-gallery .single-gallery .img-holder .content .link-view {
  top: 24.8%;
  bottom: auto;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  filter: alpha(opacity=0);
  height: 69%;
}
.gallery-page-three .image-gallery .single-gallery .img-holder .content .title-holder {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform-origin: left bottom;
      -ms-transform-origin: left bottom;
          transform-origin: left bottom;
  -webkit-transform: rotate(-90deg);
      -ms-transform: rotate(-90deg);
          transform: rotate(-90deg);
  text-align: left;
  width: 100%;
  height: 60px;
  left: 60px;
  top: auto;
  display: block;
  background: #2A2A2A;
  bottom: 0;
  z-index: 3;
  padding-left: 30px;
}
.gallery-page-three .image-gallery .single-gallery .img-holder .content .title-holder h4 {
  display: block;
  line-height: 60px;
  font-size: 16px;
  color: #7E7E7E;
}

/* pop up single gallery item styles */

#single-gallery-modal .modal-dialog {
  
}
#single-gallery-modal .modal-dialog .modal-header {
  background: #ff0000;
  padding: 15px 0;
  position: relative;
}
#single-gallery-modal .modal-dialog .modal-header .close {
  position: absolute;
  right: 40px;
  top: 18px;
  line-height: 32px;
  color: #000000;
  width: 32px;
  height: 32px;
  background: white;
  opacity: 1;
  border-radius: 50%;
  margin: 0;
  z-index: 9999999;
  text-indent: 1px;
}
#single-gallery-modal .modal-dialog .modal-header h4 {
  color: #000000;
  font-size: 22px;
  font-weight: bold;
  text-transform: uppercase;
  margin: 0;
}
#single-gallery-modal .modal-dialog .modal-body {
  padding: 40px;
}
#single-gallery-modal .modal-dialog .modal-body p {
  font-size: 15px;
  color: #797979;
  line-height: 26px;
}
#single-gallery-modal .modal-dialog .modal-body ul li {
  font-size: 13px;
  color: #2B2B2B;
  font-weight: 600;
  line-height: 35px;
  text-transform: uppercase;
}
    #single-gallery-modal .modal-dialog .modal-body ul li i {
        font-size: 13px;
        color: #EB9500;
        margin-right: 10px;
    }
    