.gs_portfolio_area {
  /*padding: 10px;*/
}
.gs_portfolio_area .container {
  padding-left: 0;
  padding-right: 0;
  width: 100%;
}
.gs_portfolio_area .container .row {
  margin-left: -5px;
  margin-right: -5px;
}
.gs_portfolio_area .col-xs-1, .gs_portfolio_area .col-sm-1, .gs_portfolio_area .col-md-1, .gs_portfolio_area .col-lg-1, .gs_portfolio_area .col-xs-2, .gs_portfolio_area .col-sm-2, .gs_portfolio_area .col-md-2, .gs_portfolio_area .col-lg-2, .gs_portfolio_area .col-xs-3, .gs_portfolio_area .col-sm-3, .gs_portfolio_area .col-md-3, .gs_portfolio_area .col-lg-3, .gs_portfolio_area .col-xs-4, .gs_portfolio_area .col-sm-4, .gs_portfolio_area .col-md-4, .gs_portfolio_area .col-lg-4, .gs_portfolio_area .col-xs-5, .gs_portfolio_area .col-sm-5, .gs_portfolio_area .col-md-5, .gs_portfolio_area .col-lg-5, .gs_portfolio_area .col-xs-6, .gs_portfolio_area .col-sm-6, .gs_portfolio_area .col-md-6, .gs_portfolio_area .col-lg-6, .gs_portfolio_area .col-xs-7, .gs_portfolio_area .col-sm-7, .gs_portfolio_area .col-md-7, .gs_portfolio_area .col-lg-7, .gs_portfolio_area .col-xs-8, .gs_portfolio_area .col-sm-8, .gs_portfolio_area .col-md-8, .gs_portfolio_area .col-lg-8, .gs_portfolio_area .col-xs-9, .gs_portfolio_area .col-sm-9, .gs_portfolio_area .col-md-9, .gs_portfolio_area .col-lg-9, .gs_portfolio_area .col-xs-10, .gs_portfolio_area .col-sm-10, .gs_portfolio_area .col-md-10, .gs_portfolio_area .col-lg-10, .gs_portfolio_area .col-xs-11, .gs_portfolio_area .col-sm-11, .gs_portfolio_area .col-md-11, .gs_portfolio_area .col-lg-11, .gs_portfolio_area .col-xs-12, .gs_portfolio_area .col-sm-12, .gs_portfolio_area .col-md-12, .gs_portfolio_area .col-lg-12{
  padding-left: 7px;
  padding-right: 7px;
}

.single-gsp {
  margin: 7px 0;
}

#ms-container img{
  width: 100%;
}
.grid-list{
  margin-bottom: 10px
}

.gs_p_icons {
	position: absolute;
	top: 60%;
	width: 100%;
	left: 0;
  z-index: 999999;
}

iframe{
  padding: 10px;
}

figure.effect-sadie .gs_p_icons,figure.effect-masonary .gs_p_icons,figure.effect-slider .gs_p_icons, figure.filter-effect-sadie .gs_p_icons {
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie:hover .gs_p_icons,figure.effect-masonary:hover .gs_p_icons,figure.effect-slider:hover .gs_p_icons, figure.filter-effect-sadie:hover .gs_p_icons {
	color: #fff;
	transform: translate3d(0,-40%,0) translate3d(0,-20px,0);
	opacity: 1;
}
.portfolio-tags span{
 float: left;
 margin-right: 5px;
}

.portfolio-tags ul{
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

/* Portfolio content icons */
.gs_p_icons > a {
  width: 42px;
  display: inline-block;
  height: 42px;
  background: rgba(255, 255, 255, 0.18);
  text-align: center;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  border: none !important;
  text-decoration: none;
}

.gs_p_icons > a > i {
  display: block;
  line-height: 42px;
  font-size: 18px;
  color: #fff;
  /*outline: none;*/
}

.gs_p_icons > a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.45);
}

.gs_p_icons > a:hover,
.gs_p_icons > a:visited {
  color: transparent !important;
}

/* text-based popup styling */
.white-popup {
  position: relative;
  background: #FFF;
  padding: 0;
  width:auto;
  max-width: 80%;
  margin: 0 auto; 
}
.gs_p_popup img{
  width: 100%;
  padding: 10px;
}
.gs_p_popup_content {
  padding-top: 30px;
  padding-right: 30px;
}
.gs_p_popup_content h2 {
  font-size: 28px;
  font-weight: lighter;
  margin-bottom: 20px;
  margin-top: 0;
}
.gs_p_popup_content p {
  margin-bottom: 12px;
  line-height: 1.6;
}
.gsp_btn,
.gsp_btn:hover,
.gsp_btn:visited {
  padding: 10px 16px;
  border-radius: 3px;
  margin-top: 7px;
  display: inline-block;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 25px;
  text-decoration: none;
}

.gs_p_popup_content .gs_p_btn:hover{
  background: transparent;
}

.gs-filter-cats {
  padding: 0 !important; 
  margin: 0 !important;
}

.gs-filter-cats li {
  list-style-type: none;
  display: inline-block;
  margin: 0 10px 10px 0!important;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 1px 6px;
  cursor: pointer;
}

.gs-mix {
  display: none;
  margin-bottom: 5px;
}

.gs_portfolio_area a {
  text-decoration: none;
  border: none !important;
  outline: none !important;
}

/*Single Portfolio*/
.gsp-single-container {
  margin: 50px auto;
  width: 80%;
}
/*.gsp-single-title {
  text-align: center;
  position: relative;
  margin-bottom: 42px;
}
.gsp-single-title span {
  display: inline-block;
  text-transform: uppercase;
  font-size: 36px;
  line-height: 36px;
  margin-bottom: 86px;
}

.gsp-single-title:before {
  display: block;
  content: "";
  height: 1px;
  width: 36px;
  border-left: 82px solid #ddd;
  border-right: 82px solid #ddd;
  position: absolute;
  bottom: 43px;
  left: 50%;
  margin-left: -100px;
}

.gsp-single-title:after {
  display: block;
  content: "\f115";
  height: 36px;
  width: 36px;
  position: absolute;
  bottom: 25px;
  left: 50%;
  margin-left: -18px;
  color: #e42382;
  font-family: FontAwesome;
  font-size: 18px;
}*/
.videoWrapper-youtube {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.videoWrapper-youtube iframe, .videoWrapper-youtube object, .videoWrapper-youtube embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videoWrapper-vimeo {
  position: relative;
  padding-bottom: 53%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
  margin-bottom: 20px;
}
.videoWrapper-vimeo iframe, .videoWrapper-vimeo object, .videoWrapper-vimeo embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.portfolio-desc {
  text-align: center;
  margin-top: 0;
}
.prev-next-navigation {
  padding: 50px 0;
}
.prev-next-navigation .previous {
  float: left;
}
.prev-next-navigation .next {
  float: right;
}
.prev-next-navigation .previous a,
.prev-next-navigation .next a {
  text-transform: uppercase;
  display: inline-block;
  margin: 0 4px;
  color: #333;
  font-size: 12px;
  border: 1px solid #333;
  font-weight: 600;
  padding: 5px 15px;
  background: #fff;
  -webkit-transition: all .45s ease;
     -moz-transition: all .45s ease;
      -ms-transition: all .45s ease;
       -o-transition: all .45s ease;
          transition: all .45s ease;
}
.prev-next-navigation .previous a:hover,
.prev-next-navigation .next a:hover {
  text-decoration: none;
  color: #fff;
  background-color: #fa566f;
  border: 1px solid #fa566f;
}

/*Portfolio Archive*/
.gsp-archive-container {
  /*max-width: 80%;*/
  margin: 30px auto;
}
.gsp-archive-container figure.effect-sadie p {
  padding: .8em 2em;
}
.gsp-archive-container .arc-title,
.gsp-single-title {
  text-align: center;
}
.gs_p_popup .nivo-controlNav {
  margin-left: 10px;
  padding: 10px 0;
}
.gs_p_popup .nivo-control img {
  width: 100px;
  margin-right: 10px;
  margin-bottom: 0;
  padding: 0;
}
.gs_p_popup_img .videoWrapper-youtube,
.gs_p_popup_img .videoWrapper-vimeo {
  margin: 10px 0 10px 10px;
}

/*Pagination*/
.gs-pagination {
    text-align: center;
    margin: 20px 0;
}
.gs-pagination .page-numbers {
    color: #337ab7;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 6px 12px;
    font-weight: 400;
}
.gs-pagination .page-numbers.current {
    background: #337ab7;
    border: 1px solid #337ab7;
    color: #fff;
}
.gs-pagination .page-numbers.current:hover {
    background-color: #1888e8;
    border: 1px solid #1888e8;
}
/*===================*/

/*============ for bootstrap based theme ==========*/
.gs_p_popup .container {
  width: auto;
}

/* ======== Custom hover effects for 4 columns =======*/

.gs_p_portfolio .col-md-3 figure.effect-sadie p {
  line-height: 1.2;
  padding: 7px;
}

.gs_p_portfolio figure.effect-zoe h2,
.gs_p_portfolio figure.filter-effect-zoe h2 {
  width: 65%;
  text-align: left;
  line-height: 1.4;
  font-size: 18px;
  color: #000;
} 
.gs-filter-cats li.filter {
  -webkit-transition: all .30s ease;
     -moz-transition: all .30s ease;
      -ms-transition: all .30s ease;
       -o-transition: all .30s ease;
          transition: all .30s ease;
}
.gs-filter-cats li.filter:hover { 
  background: rgba(25, 136, 190, 0.8);
  border: 1px solid rgba(25, 136, 190, 0.8);
  color: #fff;
}

.gs-filter-cats .active { 
  background: rgba(25, 136, 190, 0.96);
  border: 1px solid rgba(25, 136, 190, 0.96);
  color: #fff;
}
.filter-selected-cats ul.gs-filter-cats { margin: 20px 5px !important; }

@media only screen and (min-width: 1280px) {
  .gs_p_portfolio .col-md-3 figure.effect-zoe p.description { bottom: 4em; padding: 1em; }
  .gs_p_portfolio .col-md-3 .effect-zoe a i { padding: 8px 5px; }
  .gs_p_portfolio .col-md-3 figure.effect-julia figcaption h2 { font-size: 20px; line-height: 1.2; }
  .gs_p_portfolio .col-md-3 figure.effect-julia p { font-size: 63%; line-height: 1.2; }
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption { padding: .5em; }
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption::before { top: -35px !important; height: 2.5em !important; }
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption h2 { font-size: 20px; line-height: 1.2; }
  .gs_p_portfolio .col-md-3 figure.effect-kira:hover p { text-align: center; }
  .gs_p_portfolio figure.effect-kira figcaption h2 { text-align: center; font-size: 20px; }
}

@media only screen and (min-width: 1024px) and (max-width: 1220px) {
  .gs_p_portfolio .col-md-3 figure.effect-sadie p { font-size: 63%; }
  .gs_p_portfolio .col-md-3 .gs_p_icons > a { width: 36px; height: 36px; }
  .gs_p_portfolio .col-md-3 .gs_p_icons > a > i { line-height: 36px; }
  .gs_p_portfolio .col-md-4 figure.effect-zoe p.description { padding: 2.3em 1em; }  
  .gs_p_portfolio .col-md-4 .effect-zoe a i { padding: 8px 7px; }
  .gs_p_portfolio .col-md-3 figure.effect-zoe p.description { display: none; }
  .gs_p_portfolio .col-md-3 figure.effect-zoe figcaption { height: auto; }
  .gs_p_portfolio .col-md-3 figure.effect-zoe h2 { width: 100%; }
  .gs_p_portfolio .col-md-3 figure.effect-zoe .icon-links { float: left; margin: 10px 0 !important; }
  .gs_p_portfolio .col-md-3 figure.effect-julia figcaption,
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption { padding: .5em; }
  .gs_p_portfolio .col-md-3 figure.effect-julia figcaption h2,
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption h2 { font-size: 20px; line-height: 1.2; }
  .gs_p_portfolio .col-md-3 figure.effect-julia p { font-size: 63%; line-height: 1.2; }
  .gs_p_portfolio .col-md-4 figure.effect-julia figcaption,
  .gs_p_portfolio .col-md-3 figure.effect-winston figcaption { padding: 1em; }
  .gs_p_portfolio .col-md-3 figure.effect-winston figcaption p { padding: 0 1em 2% 0; }
  .gs_p_portfolio .col-md-3 figure.effect-kira figcaption::before { top: -35px !important; height: 2.5em !important; }
  .gs_p_portfolio figure.effect-kira figcaption h2,
  .gs_p_portfolio .col-md-3 figure.effect-kira:hover p { text-align: center; }
  .grid figure.effect-kira figcaption,
  .grid figure.effect-winston figcaption { padding: 1em; }
  figure.effect-kira figcaption::before { height: 2.5em; }
  figure.effect-zoe p.icon-links a { font-size: 100%; }
}

@media only screen and (min-width: 768px) and (max-width: 1023px){
  .gs_p_portfolio .col-md-3 figure.effect-sadie p { font-size: 63%; }
  .gs_p_portfolio .col-md-3 .gs_p_icons > a { width: 36px; height: 36px; }
  .gs_p_portfolio .col-md-3 .gs_p_icons > a > i { line-height: 36px; }
  figure.effect-zoe p.description { padding: 3em 1em; }
  .grid figure.effect-kira figcaption,
  .grid figure.effect-winston figcaption { padding: 1em; }
  .grid figure h2 { font-size: 22px; padding: 0 1em; }
  figure.effect-kira figcaption::before { height: 2.5em; top: -5px; }
  figure.effect-zoe p.icon-links a { font-size: 100%; }
} /*media end */

/*---- for popup content ----*/
@media (min-width: 768px){
  .gs_p_popup_content{
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 600px){
  .gs_p_popup_content{
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (min-width: 480px){
  .gs_p_popup_content{
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (min-width: 600px) and (max-width: 767px) {
  .grid figure.effect-julia figcaption,
  .grid figure.effect-kira figcaption,
  .grid figure.effect-winston figcaption { padding: 1em; }
  .grid figure h2 { font-size: 20px; padding: 0 1em; }
  figure.effect-kira figcaption::before { height: 2.5em; top: -5px; }
  figure.effect-zoe figcaption { padding: .5em; }
  .gs_p_portfolio figure.effect-zoe h2 { font-size: 17px; padding: 0; }
  figure.effect-zoe:hover p.description { padding: 1.7em .5em; }
  figure.effect-zoe p.icon-links a { font-size: 88%; }
} 

@media only screen and (min-width: 480px) and (max-width: 599px) { 
  .grid figure.effect-julia figcaption,
  .grid figure.effect-kira figcaption,
  .grid figure.effect-winston figcaption { padding: 1em; }
  figure.effect-julia h2 { font-size: 18px; }
  figure.effect-julia p { font-size: 63%; line-height: 1.4; }
  .grid figure h2 { font-size: 17px; padding: 0; }
  figure.effect-kira figcaption::before { height: 2em; top: -38px; }
  figure.effect-kira p { padding: 1.5em 0.5em; font-weight: 400; }
  figure.effect-winston a { margin: 0 5px; font-size: 90%; }
  figure.effect-zoe figcaption { padding: .4em; height: 3.4em; }
  .gs_p_portfolio figure.effect-zoe h2 { width: 100%; text-align: center; font-size: 17px; }
  figure.effect-zoe p.icon-links a { float: none; font-size: 100%; }
  figure.effect-zoe:hover p.description { padding: 10px 7px; font-size: 13px; letter-spacing: initial; }
}


@media only screen and (max-width: 479px) {
  .gs_p_popup_content { padding-left: 15px; padding-right: 15px; }
  .gs_p_portfolio figure.effect-sadie p { line-height: 1.4 }
  .gs_p_portfolio .gs_p_icons > a { width: 36px; height: 36px; }
  .gs_p_portfolio .gs_p_icons > a > i { line-height: 36px; }
  figure.effect-zoe figcaption { height: auto; }
  .gs_p_portfolio figure.effect-zoe h2 { width: 100%; }
  .gs_p_portfolio figure.effect-zoe .icon-links{ margin: 10px 0 !important; }
  .gs_p_portfolio .col-md-6 figure.effect-julia figcaption,
  .gs_p_portfolio .col-md-3 figure.effect-julia figcaption,
  .gs_p_portfolio .col-md-4 figure.effect-julia figcaption,
  .gs_p_portfolio figure.effect-kira figcaption { padding: .5em; }
  .gs_p_portfolio .col-md-6 figure.effect-julia figcaption h2,
  .gs_p_portfolio .col-md-3 figure.effect-julia figcaption h2,
  .gs_p_portfolio .col-md-4 figure.effect-julia figcaption h2 { font-size: 20px; line-height: 1.2; }
  .gs_p_portfolio figure.effect-kira figcaption h2 { line-height: 1.2; text-align: center; }
  .gs_p_portfolio .col-md-3 figure.effect-winston figcaption p { padding: 0 1em 2% 0; }
  .gs_p_portfolio figure.effect-kira figcaption::before { top: -19px; height: 2.5em; }
  figure.effect-kira:hover p { text-align: center; }
  .col-xs-6 { width: 100% !important; }
  figure.effect-winston a { font-size: 110%; }
  figure.effect-zoe figcaption { padding: .4em; height: 3.7em; }
  .gs_p_portfolio figure.effect-zoe h2 { width: 100%; text-align: center; font-size: 17px; }
  figure.effect-zoe p.icon-links a { float: none; font-size: 100%; }
  figure.effect-zoe:hover p.description { padding: 27px 7px; font-size: 15px; letter-spacing: initial; }
}

/*====== Zoom effect ======*/

.mfp-zoom-in .mfp-with-anim {
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.2s ease-in-out;
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
}
.mfp-zoom-in.mfp-bg {
  opacity: 0;
  filter: alpha(opacity=0);
  transition: all 0.3s ease-out;
}
.mfp-zoom-in.mfp-ready .mfp-with-anim {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: scale(1);
          transform: scale(1);
}
.mfp-zoom-in.mfp-ready.mfp-bg {
  opacity: 0.8;
  filter: alpha(opacity=80);
}
.mfp-zoom-in.mfp-removing .mfp-with-anim {
  -webkit-transform: scale(0.8);
          transform: scale(0.8);
  opacity: 0;
  filter: alpha(opacity=0);
}
.mfp-zoom-in.mfp-removing.mfp-bg {
  opacity: 0;
  filter: alpha(opacity=0);
}




/*slider-effect*/
.owl-nav div {
  position: absolute;
  top: 50%;
  z-index: 4;
  margin-top: -25px;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  border: 2px solid #fff;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  -webkit-transition: all 0.4s;
  transition: all 0.4s;
  color: #fff;
  background: rgba(255,255,255,.25);
}
.owl-prev {
  left: 15px;
  -webkit-transform: translate3d(-5px,0,0);
  transform: translate3d(-5px,0,0);
}
.owl-next {
  right: 15px;
  -webkit-transform: translate3d(-5px,0,0);
  transform: translate3d(-5px,0,0);
}
.effect-slider:hover .owl-nav div  {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.owl-nav i{
  margin-top: 34%;
  vertical-align: middle;
  text-align: center;
}
 .owl-nav div:hover {
  background: #fff;
  color: #000;
}
.owl-item {
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 0.9s;
  transition: all 0.9s;
  -webkit-backface-visibility: hidden;
  -ms-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}
.owl-item.active {
  opacity: 1;
  visibility: visible;
  -webkit-transition: all 0.9s;
  transition: all 0.9s;
}
/*slide-hover-effect*/


.gs_p_portfolio .da-thumbs {
  list-style: none;
  width: 100%;
  margin: 0;
}
.gs_p_portfolio .da-thumbs li.col-md-4 {
    width: 31.3%;
    max-width: 31.3%;
}
.da-thumbs li {
  background: #fff;
  padding: 8px;
  float: left;
  position: relative;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
  margin: 1%;
  box-sizing: border-box;
  /*overflow: hidden;*/
}
.da-thumbs li a,
.da-thumbs li img {
  display: block;
  position: relative;
  width: 100%;
  overflow:hidden;
}
.da-thumbs li a { overflow: hidden; }
.da-thumbs li div {
  position: absolute;
  background: #333;
  background: rgba(75,75,75,0.7);
  width: 100%;
  height: 100%;
}
.da-thumbs li   div.custom-hover-object {
  position: absolute;
  background: #333;
  background: rgba(255,255,255,0.7);
  width: 100%;
  height: 100%;
}
.da-thumbs li a div h2 {
  display: block;
  padding: 10px 0;
  margin: 40px 20px 20px 20px;
  text-transform: capitalize;
  font-weight: normal;
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 -10px 0 rgba(255,255,255,0.3);
}
.da-thumbs li a div h2 i {
  margin: 0 10px;
  color: #fff;
  font-size: 65%;
}
.da-thumbs li a div span{
  padding: 10px 0;
  margin: 40px 20px 20px 20px;
  text-transform: capitalize;
  font-weight: normal;
  color: rgba(255,255,255,0.9);
}
.da-thumbs li a div.custom-hover-object h2 {
  color: rgba(75,75,75,0.9);
  text-shadow: 1px 1px 1px rgba(255,255,255,0.2);
  border-bottom: 1px solid rgba(0,0,0,0.5);
  box-shadow: 0 1px 0 rgba(255,255,255,255.1), 0 -10px 0 rgba(0,0,0,0.3);
}




/*hex*/
#hexGrid {
  overflow: hidden;
  width: 90%;
  margin: 0 auto;
  padding: 0.866% 0 120px;
}

#hexGrid:after {
  content: "";
  display: block;
  clear: both;
}

.hex {
  position: relative;
  list-style-type: none;
  float: left;
  overflow: hidden;
  visibility: hidden;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
  transform: rotate(-60deg) skewY(30deg) translatez(-1px);
}

.hex * {
  position: absolute;
  visibility: visible;
  outline: 1px solid transparent;  /* fix for jagged edges in FF on hover transition */
}

.hexIn {
  display: block;
  width: 100%;
  height: 100%;
  text-align: center;
  color: #fff;
  overflow: hidden;
  transform: skewY(-30deg) rotate(60deg);
}


/*** HEX CONTENT **********************************************************************/

.hex img {
  left: -100%;
  right: -100%;
  width: auto;
  height: 100%;
  margin: 0 auto;
  max-width: inherit !important;
}

.hex h1,
.hex p {
  margin: 0;
  width: 102%;
  left: -1%;  /* prevent line on the right where background doesn't cover image */
  padding: 9%;
  box-sizing: border-box;
  background-color: rgba(22, 122, 198, 0.59);
  font-weight: 300;
  transition: transform .2s ease-out, opacity .3s ease-out;
}
.hex a h1 {
        color: #ffffff;
        font-size: 21px;
    }

.hex h1 {
  bottom: 50%;
  padding-top: 50%;
  font-size: 1.5em;
  z-index: 1;
  transform: translateY(-100%) translatez(-1px);
}

.hex h1:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom: 50%;
  text-align: center;
  color: #fff;
  transform: translateY(100%) translatez(-1px);
}
.hex p i {
  color: #fff !important;
  margin-left: -10px;
}


/*** HOVER EFFECT  **********************************************************************/

.hexIn:hover h1, .hexIn:focus h1, .hexIn:hover p, .hexIn:focus p {
  transform: translateY(0%) translatez(-1px);
}


/*** SPACING AND SIZING *****************************************************************/

@media (min-width:1201px) {  /* <- 2-3  hexagons per row */
  .hex {
    width: 32.666%;    /* = (100-2) / 3 */
    padding-bottom: 37.720%;    /* =  width / sin(60) */
  }
  .hex:nth-child(5n+1),
  .hex:nth-child(5n+2) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .hex:nth-child(5n+3),
  .hex:nth-child(5n+4),
  .hex:nth-child(5n+5) {
    margin-top: -8.564%;
    margin-bottom: -8.564%;
  }
  .hex:nth-child(5n+2),
  .hex:nth-child(5n+4) {
    margin-right: 1%;
    margin-left: 1%;
  }
  .hex:nth-child(5n+1) {
    margin-left: 0.5%;
  }
  .hex:nth-child(5n+3),
  .hex:nth-child(5n+6) {
    clear: left;
  }
}

@media (max-width: 1200px) {  /* <- 4-3  hexagons per row */
  .hex {
    width: 49.5%;    /* = (100-1) / 2 */
    padding-bottom: 57.158%;    /* =  width / sin(60) */
  }
  .hex:nth-child(3n+1) {
    transform: translateX(50%) rotate(-60deg) skewY(30deg);
  }
  .hex:nth-child(3n+2),
  .hex:nth-child(3n+3) {
    margin-top: -13.423%;
    margin-bottom: -13.423%;
  }
  .hex:nth-child(3n+1) {
    margin-left: 0.5%
  }
  .hex:nth-child(3n+3) {
    margin-left: 1%;
  }
  .hex:nth-child(3n+2),
  .hex:nth-child(3n+4) {
    clear: left;
  }
}

@media (max-width: 400px) {
  #hexGrid {
    font-size: 13px;
  }
}


/* template image list*/


.animation-element {
  width: 100%
}
.gs-list-content {
}
.bounce-up {
  opacity: 0;
  -moz-transition: all 700ms ease-out;
  -webkit-transition: all 700ms ease-out;
  -o-transition: all 700ms ease-out;
  transition: all 700ms ease-out;
  -moz-transform: translate3d(0px, 200px, 0px);
  -webkit-transform: translate3d(0px, 200px, 0px);
  -o-transform: translate(0px, 200px);
  -ms-transform: translate(0px, 200px);
  transform: translate3d(0px, 200, 0px);
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  backface-visibility: hidden;
}
.in-view .gs-list-image img {
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1); 
  -o-transform: scale(1); 
  transform: scale(1);
}
.bounce-up.in-view {
  opacity: 1;
  -moz-transform: translate3d(0px, 0px, 0px);
  -webkit-transform: translate3d(0px, 0px, 0px);
  -o-transform: translate(0px, 0px);
  -ms-transform: translate(0px, 0px);
  transform: translate3d(0px, 0px, 0px);
}
.gs-list-image img {
  -webkit-transition: all 1.8s ease;
  -moz-transition: all 1.8s ease;
  -ms-transition: all 1.8s ease;
  transition: all 1.8s ease;
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1); 
  -o-transform: scale(1.1); 
  transform: scale(1.1);
}
.gs-wrapper {
  background-color: #fff;
  margin: 0px auto;
  display: block;
  font-weight: normal;
}
.gs-wrapper ul, .gs-wrapper li {
  margin-left: 0 !important;
}
.gs-list-content {
}
.masonry {
  column-count: 2;
  column-gap: 4em;
  -moz-column-count: 2;
  -webkit-column-count: 2;
  -moz-column-gap: 4em;
  -webkit-column-gap: 4em;
}
.list-item {
  display: inline-block;
  min-height: 1px;
  display: inline-block;
  margin: 0 0 1em;
  width: 100%;
}
/*.gs-list-menu li:first-child {
  margin-top: 230px;
}*/
.gs-list-image img {
  width: 100%;
}
.gs-list-image {
  margin-bottom: 5px;
  overflow: hidden;
  -webkit-transform: scale(1.0);
  -webkit-backface-visibility: hidden;
  -webkit-transition: all 0.5s linear;/* Safari 3.2+, Chrome */
  -moz-transition: all 0.5s linear;/* Firefox 4-15 */
  -o-transition: all 0.5s linear;/* Opera 10.5-12.00 */
  transition: all 0.5s linear;/* Firefox 16+, Opera 12.50+ */
}
.gs-list-image img {
  -webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -ms-transition: all 2s ease;
  transition: all 2s ease;
  -webkit-backface-visibility: hidden;
}
.list-item:hover .gs-list-image {
  /* transform: scale(0.95); */
}
.list-item:hover .gs-list-image img {
  -moz-transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  cursor: pointer;
  box-sizing: border-box;
  -webkit-backface-visibility: hidden;
}
.gs-list-text {
  text-align: center;
}
.gs-list-title {
  font-weight: normal;
  margin-bottom: 5px !important;
}
.gs-list-subtitle {
  color: #999 !important;
}
.gs-list-menu li a {
  text-decoration: none;
  color: #403433;
}
.effect-column-animated .gs-list-menu {
  padding-left: 0px;
  margin-left: 0;
}
.gs-list-menu li {
  list-style: none;
  margin-bottom: 30px;
}

.option {
  -webkit-animation-duration: 3s;
  -webkit-animation-delay: 2s;
  -webkit-animation-iteration-count: 5;
}

/* Responsive Styles */


@media screen and (min-width: 200px) and (max-width: 768px) {
.gs-wrapper {
  width: 90%;
}
.masonry {
  column-count: 1;
  -moz-column-count: 1;
  -webkit-column-count: 1;
}
.gs-list-menu li:first-child {
  margin-top: 0px;
}
}

@media screen and (min-width: 768px) and (max-width: 1290px) {
.gs-wrapper {
  width: 95%;
}
.masonry {
  column-gap: 3em;
  -moz-column-gap: 3em;
  -webkit-column-gap: 3em;
}
}


/*New Hover Effect*/
.gs-grid-hover-effect {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 0%;
  visibility: hidden;
  -webkit-transition: all 0.5s linear; /* Safari 3.2+, Chrome */
  -moz-transition: all 0.5s linear; /* Firefox 4-15 */
  -o-transition: all 0.5s linear; /* Opera 10.5-12.00 */
  transition: all 0.5s linear; /* Firefox 16+, Opera 12.50+ */
}
.gs-grid-hover-effect-button {
  box-sizing: border-box;
  display: table;
  width: 100%;
  height: 100%;
}
.portfolio-fire-hover:hover .gs-grid-hover-effect {
  visibility: visible;
  background: rgba(0, 0, 0, 0.7);
}
.gs-grid-hover-effect .gs-grid-hover-effect-button-area {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  font-size: 0;
}
.gs-grid-hover-effect-button-area a {
  display: inline-block;
  padding: 12px;
  background-color: rgba(255, 255, 255, 0.18);
  width: 42px;
  height: 42px;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  font-size: 14px;
}
.gs-grid-hover-effect-button-area a i { margin-right: 0 !important; color: #fff !important; }

.gs-grid-hover-effect-button-area a.first-anchor {
  border-radius: 10px 0 0 10px;
  border-left: none;
}
.hover-effect-link a.second-anchor{
  border-radius: 0 0 0 0 !important;
}
.gs-grid-hover-effect-button-area a.third-anchor {
  border-radius: 0 10px 10px 0;
  border-right: none;
}
.gs-grid-hover-effect-button-area a:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

@media screen and (max-width: 1170px) {
  .gs-grid-hover-effect-button-area a {
    float: none;
    border-radius: 10px;
    margin: 2px;
  }
  .gs-grid-hover-effect-button-area a.first-anchor, .gs-grid-hover-effect-button-area a.second-anchor, .gs-grid-hover-effect-button-area a.third-anchor {
    border-radius: 10px;
  }
}
/*End of New Hover Effect*/

/*two column 3d*/
.portfolio-container {
  margin: 0 auto;
  padding: 0 120px;
}
.gs-portfolio-3d-item {
  width: 100%;
  min-height: 400px;
  position: relative;
  margin-bottom: 0px;
  margin: 100px 0px;
  -moz-perspective: 800px;
  -webkit-perspective: 800px;
  perspective: 800px;
}
.gs-portfolio-3d-item-wrapper {
  height: 100%;
  width: 68%;
  float: left;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-perspective: 800px;
  -webkit-perspective: 800px;
  perspective: 800px;
  -moz-transform-origin: 50% 50% 0;
  -webkit-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
}
.gsp-3d-item-bg-img {
  height: 100%;
  top: 0;
  left: 0px;
  right: 0px;
  z-index: 0;
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
} 
.gsp-3d-item-bg-img img { width: 100%; }

.gs-portfolio-3d-item-title {
  z-index: 9;
  top: 0;
  position: absolute;
  width: 100%;
  margin-left: 0px;
  -moz-transform: translateZ(200px) translateY(80px) scale(0.5, 0.5);
  -ms-transform: translateZ(200px) translateY(80px) scale(0.5, 0.5);
  -webkit-transform: translateZ(200px) translateY(80px) scale(0.5, 0.5);
  transform: translateZ(200px) translateY(80px) scale(0.5, 0.5);
  -moz-transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -moz-backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-transform-origin: 50% 50% 0;
  -webkit-transform-origin: 50% 50% 0;
  transform-origin: 50% 50% 0;
}
.gs-portfolio-3d-item-title h1 {
  visibility: visible;  
  -webkit-transform: translateY(0) scale(1); 
  opacity: 1;
  transform: translateY(0) scale(1); 
  opacity: 1;
  -webkit-transition: -webkit-transform 0.6s cubic-bezier(0.6, 0.2, 0.1, 1) 0.3s, opacity 0.6s cubic-bezier(0.6, 0.2, 0.1, 1) 0.3s; transition: transform 0.6s cubic-bezier(0.6, 0.2, 0.1, 1) 0.3s, opacity 0.6s cubic-bezier(0.6, 0.2, 0.1, 1) 0.3s;
  font-size: 32px;
  font-weight: bold;
  font-style: normal;
  font-stretch: normal;
  line-height: 1.2;
  color: #000;
  margin-top: 7px;
  margin-bottom: 7px;
}
.gs-portfolio-3d-item-content {
  line-height: 1.71429;
  overflow-wrap: break-word;
}
.gs-portfolio-3d-item-content h2 {
  line-height: 1.4;
  font-size: 20px;
  margin: 0 0 10px;
}
.js-title-anim { visibility: hidden; }

.portfolio-container .gs-portfolio-3d-item:hover .gs-portfolio-3d-item-wrapper {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.0s ease !important;
  -ms-transition: all 0.3s ease;
  transition: all 0.2s ease;
}
.gs-portfolio-3d-item-content{
  width: 27%;
  float: left;
  margin-left: 5%;
}
.gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-content{
  float: left;
  margin-left: 0px;
  margin-right: 2%;
}
.gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-wrapper{
  float: right;
}
.gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title{
  float:right;
  text-align: right;  
}

@keyframes effect {
  0% {
   transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, 0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
  -webkit-transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, 0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  25% {               
    transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, -0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, -0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  50% {
    transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  100% {
    transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

@keyframes even-effect{
  0% {
    transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, 0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, 0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  25% {               
    transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, -0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, 0, 0.00, 1, 0.00, -0.0002, 0, 0, 1, 0, 0, 0, 0, 1);
  }
  50% {
    transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);  
  }
  100% {
    transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
    -webkit-transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  }
}

.gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-wrapper{
  animation: even-effect 6s alternate;
   transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  -webkit-transform: matrix3d(1, 0, 0.00, 0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
} 
.gs-portfolio-3d-item-wrapper {
  animation: effect 6s alternate;
  transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
  -webkit-transform: matrix3d(1, 0, 0.00, -0.0002, 0.00, 1, 0.00, 0, 0, 0, 1, 0, 0, 0, 0, 1);
}
.text-with-line {
  font-size: 9px;
  font-weight: 900;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: 5px;
  color: #000;
  display: inline-block;
  text-transform: uppercase;  
  visibility: visible;
  -webkit-transform: translateY(0) scale(1);
  opacity: 1;
  transform: translateY(0) scale(1);
  opacity: 1;
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.4s cubic-bezier(0.6, 0.2, 0.1, 1) 0s;
  transition: transform 0.4s cubic-bezier(0.6, 0.2, 0.1, 1) 0s, opacity 0.4s cubic-bezier(0.6, 0.2, 0.1, 1) 0s;
}
.text-with-line:after {
  display: inline-block;
  border-bottom: 1px solid black;
  content: "";
  width: 185px;
  vertical-align: top;
  margin-top: 8px;
}
.portfolio-container .gs-portfolio-3d-item:nth-child(even) .text-with-line:before {
  display: inline-block;
  border-bottom: 1px solid black;
  content: "";
  width: 185px;
  vertical-align: top;
  margin-top: 6px;
  margin-right: 10px;         
}
.portfolio-container .gs-portfolio-3d-item:nth-child(even) .text-with-line:after {
  display: none;      
}

/* Hover Button Style */
.gsp-3d-item-hover {
  position: absolute;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  text-align: center;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  border-radius: 0%;
  -webkit-transition: all 0.5s linear;
  -moz-transition: all 0.5s linear;
  -o-transition: all 0.5s linear;
  transition: all 0.5s linear;
  display: none;
}
.gsp-3d-item-btns-area {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  display: table;
  width: 100%;
  height: 100%;
}
.gsp-3d-item-hover .gsp-3d-item-btns {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  font-size: 0;
}
.gsp-3d-item-btns a {
  display: inline-block;
  padding: 12px;
  background-color: rgba(0, 0, 0, 0.3);
  width: 42px;
  height: 42px;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  font-size: 14px;
}
.effect-column-3d .gsp-3d-item-btns a { color: #fff; }
.effect-column-3d .gsp-3d-item-btns a:hover { 
  background-color: rgba(0, 0, 0, 0.65); 
  color: #fff;
}
.portfolio-container .gs-portfolio-3d-item:hover .gsp-3d-item-hover { display: block; }




 /* Timeline Layout */
.gs_portfolio_timeline {
  position: relative;
  overflow: hidden;
}
.gs_portfolio_timeline:after {
  content: "" !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  background-color: #ebeaea;
  z-index: 0;
  display: block !important;
  visibility: visible !important;
  overflow: none !important;
  height: unset !important;
}

/* Timeline Heading */
.gs_timeline_portfolio_heading {
  position: relative;
  height: 80px;
  overflow: hidden;
}

.gs_timeline_portfolio_heading:before {
  content: "\f0e6";
  font-family: 'FontAwesome';
  font-size: 42px;
  color: #ebeaea;
  text-align: center;
  position: absolute;
  top: 0;
  left: 50%;
  margin-left: -25px;
  width: 50px;
  height: 40px;
  line-height: 40px;
}

.gs_timeline_portfolio_heading:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
  width: 2px;
  height: 100%;
  margin-top: 40px;
  background-color: #ebeaea;
}

/* Timeline Title */
.gs_portfolio_timeline-item { position: relative; }
.gs_portfolio_timeline-item .gs_portfolio_timeline_title {
  font-size: 12px;
  font-weight: 600;
  width: 110px;
  height: 25px;
  line-height: 25px;
  text-align: center;
  position: absolute;
  margin: 0;
  color: #333;
  background-color: #ebeaea;
  z-index: 100;
}
.gs_portfolio_timeline-item.odd .gs_portfolio_timeline_title { right: -55px; }
.gs_portfolio_timeline-item.even .gs_portfolio_timeline_title { left: -55px; }
.gs_portfolio_timeline-item.odd {
  padding-right: 80px !important;
  float: left !important;
  clear: left !important;
}
.gs_portfolio_timeline-item.odd:before,
.gs_portfolio_timeline-item.even:before {
  content: "";
  position: absolute;
  top: 30%;
  width: 0;
  height: 0;
  border: 8px solid transparent;
}
.gs_portfolio_timeline-item.odd:before {
  right: 64px;
  border-left-color: #ebeaea;
}
.gs_portfolio_timeline-item.even:before {
  left: 64px;
  border-right-color: #ebeaea;
}
.gs_portfolio_timeline-item.odd:after,
.gs_portfolio_timeline-item.even:after {
  content: "";
  position: absolute;
  top: 30%;
  margin-top: 3px;
  width: 10px;
  height: 10px;
  -webkit-border-radius: 100%;
     -moz-border-radius: 100%;
          border-radius: 100%;
  background-color: #ebeaea;
}
.gs_portfolio_timeline-item.odd:after { right: -5px; }
.gs_portfolio_timeline-item.even:after { left: -5px; }
.gs_portfolio_timeline-item.even {
  padding-left: 80px !important;
  float: right !important;
  clear: right !important;
}
h3.gs_portfolio_timeline-title {
  line-height: 1.4;
  font-size: 20px;
  margin: 0 0 10px;
}
.timeline-column { width: 50%; }
.gs_portfolio_timeline-full.with-border { margin-bottom: 30px; }
.gs_portfolio_timeline-full { position: relative; }
.gs_portfolio_timeline-hover .gs_portfolio_timeline_media.gs_portfolio_timeline_image { overflow: hidden; }
.gs_portfolio_timeline-hover .gs_portfolio_timeline_media.gs_portfolio_timeline_image img { width: 100%; }

.gs_portfolio_portfolio-type {
  float: left;
  font-size: 20px;
  height: 40px;
  text-align: center;
  color: #fff;
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 2;
}
.gs_portfolio_portfolio-type a {
  display: inline-block;
  padding: 12px;
  background-color: rgba(96, 125, 139, 0.75);
  width: 42px;
  height: 42px;
  -webkit-transition: 1s;
  -o-transition: 1s;
  transition: 1s;
  font-size: 14px;
}
.effect-timeline .gs_portfolio_portfolio-type a { color: #fff; }
.effect-timeline .gs_portfolio_portfolio-type a:hover {
  background-color: rgba(0, 0, 0, 0.85);
  color: #fff;
}


/* Timeline layout responsive */
@media only screen and (max-width: 767px){
  .gs_portfolio_timeline:after,
  .gs_timeline_portfolio_heading,
  .gs_portfolio_timeline-item:before,
  .gs_portfolio_timeline-item:after,
  .gs_portfolio_timeline_title {
    display: none !important;
  }

  .gs_portfolio_timeline-item.odd {
    padding-right: 10px !important;
    float: none !important;
    clear: none !important;
  }

  .gs_portfolio_timeline-item.even {
    padding-left: 10px !important;
    float: none !important;
    clear: none !important;
  }
}


/* -- Horizontal View ----*/
.effect_horizontal_1 figure, .effect_horizontal_1 .column-details,
.effect_horizontal_2 figure, .effect_horizontal_2 .column-details,
.effect_horizontal_3 figure, .effect_horizontal_3 .column-details,
.effect_horizontal_4 figure, .effect_horizontal_4 .column-details {
  width: 50% !important;
  float: left;
}
.effect_horizontal_3 figure img,
.effect_horizontal_4 figure img {
  border-radius: 50%;
  overflow: hidden;
}
.effect_horizontal_1 .column-details,
.effect_horizontal_2 .column-details,
.effect_horizontal_3 .column-details,
.effect_horizontal_4 .column-details { padding: 10px; }

.effect_horizontal_1 figure,
.effect_horizontal_2 figure { position: relative; }

.effect_horizontal_3 figure,
.effect_horizontal_4 figure { 
  position: relative;
  border-radius: 50%;
}

.effect_horizontal_1 .single-gsp,
.effect_horizontal_2 .single-gsp {
  background-color: #f5f5f5;
  display: inline-block;
  overflow: hidden;
}
.effect_horizontal_1 .column-details h2,
.effect_horizontal_2 .column-details h2,
.effect_horizontal_3 .column-details h2,
.effect_horizontal_4 .column-details h2 {
  line-height: 1.8;
  font-size: 24px;
  margin: 0 0 5px;
  letter-spacing: 2px;
}
.effect_horizontal_1 .date, 
.effect_horizontal_2 .date, 
.effect_horizontal_3 .date, 
.effect_horizontal_4 .date { color: #00aeef; }

.effect_horizontal_1 p, 
.effect_horizontal_2 p, 
.effect_horizontal_3 p, 
.effect_horizontal_4 p { margin:0px !important; }

.effect_horizontal_1 figure .overlay,
.effect_horizontal_2 figure .overlay,
.effect_horizontal_3 figure .overlay,
.effect_horizontal_4 figure .overlay {
  background:rgba(0, 0, 0, 0.44);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  margin: 10px;
  opacity: 0;
  transform: scale(0.5);
  -ms-transform: scale(0.5);
  -moz-transform: scale(0.5);
  -webkit-transform: scale(0.5);
  -o-transform: scale(0.5);
  -webkit-transition: all 0.3s ease-out;
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -ms-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.effect_horizontal_3 figure .overlay,
.effect_horizontal_4 figure .overlay {
  margin: 0;
}
.effect_horizontal_1 figure:hover .overlay,
.effect_horizontal_2 figure:hover .overlay,
.effect_horizontal_3 figure:hover .overlay,
.effect_horizontal_4 figure:hover .overlay {
  opacity: 1;
  transform: scale(1);
  -ms-transform: scale(1);
  -moz-transform: scale(1);
  -webkit-transform: scale(1);
  -o-transform: scale(1);
}
.effect_horizontal_1 .gs_p_icons, 
.effect_horizontal_2 .gs_p_icons, 
.effect_horizontal_3 .gs_p_icons, 
.effect_horizontal_4 .gs_p_icons {  top: 40%; }

.effect_horizontal_3 .single-gsp,
.effect_horizontal_4 .single-gsp {
  margin: 15px 0;
  overflow: hidden;
}


/*mosaic*/

.tiles .gs_p_icons{
  top: 10%;
  left: 7px;
}
/*#gs-portfolio-single img{
  width: 100%;
}*/


/*portfolio 3D*/


/* -------------------------------- 

Projects

-------------------------------- */
.cd-projects-container {
  position: relative;
  z-index: 2;
  overflow-x: hidden;
}
.cd-projects-container.project-open {
  /* smooth scroll on iOS devices */
  -webkit-overflow-scrolling: touch;
}

.cd-projects-previews {
  position: relative;
  z-index: 2;
  width: 100%;
}
.cd-projects-previews::after {
  clear: both;
  content: "";
  display: table;
}
.project-open .cd-projects-previews {
  pointer-events: none;
}
.cd-projects-previews li {
  height: 25%;
  width: 100%;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.5s;
  -moz-transition: -moz-transform 0.5s;
  transition: transform 0.5s;
  /* Force Hardware Acceleration */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(1px);
  -moz-transform: translateZ(1px);
  -ms-transform: translateZ(1px);
  -o-transform: translateZ(1px);
  transform: translateZ(1px);
}
.cd-projects-previews li.selected {
  opacity: 0;
  /* move selected project preview out of the viewport with no transition */
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
  -webkit-transition: -webkit-transform 0s;
  -moz-transition: -moz-transform 0s;
  transition: transform 0s;
}
.cd-projects-previews li.slide-out {
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
  transform: translateX(-100%);
}
.cd-projects-previews a {
  display: block;
  height: 100vh;
  width: 100%;
  /* fixes a bug on projects caption width */
  -webkit-transform: translateY(0%);
  -moz-transform: translateY(0%);
  -ms-transform: translateY(0%);
  -o-transform: translateY(0%);
  transform: translateY(0%);
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.cd-projects-previews li:nth-of-type(2) a {
  -webkit-transform: translateY(-25%);
  -moz-transform: translateY(-25%);
  -ms-transform: translateY(-25%);
  -o-transform: translateY(-25%);
  transform: translateY(-25%);
}
.cd-projects-previews li:nth-of-type(3) a {
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cd-projects-previews li:nth-of-type(4) a {
  -webkit-transform: translateY(-75%);
  -moz-transform: translateY(-75%);
  -ms-transform: translateY(-75%);
  -o-transform: translateY(-75%);
  transform: translateY(-75%);
}
.cd-projects-previews .bg-loaded a {
  opacity: 1;
}
@media only screen and (min-width: 1024px) {
  .cd-projects-previews li {
    display: inline-block;
    height: 100%;
    width: 13%;
    float: left;
  }
  .cd-projects-previews li.selected {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  .cd-projects-previews li.slide-out {
    -webkit-transform: translateY(-100%);
    -moz-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    -o-transform: translateY(-100%);
    transform: translateY(-100%);
  }
  .cd-projects-previews a {
    /* width equal to window width */
    width: 400%;
  }
  .cd-projects-previews li:nth-of-type(2) a {
    -webkit-transform: translateX(-25%);
    -moz-transform: translateX(-25%);
    -ms-transform: translateX(-25%);
    -o-transform: translateX(-25%);
    transform: translateX(-25%);
  }
  .cd-projects-previews li:nth-of-type(3) a {
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
  }
  .cd-projects-previews li:nth-of-type(4) a {
    -webkit-transform: translateX(-75%);
    -moz-transform: translateX(-75%);
    -ms-transform: translateX(-75%);
    -o-transform: translateX(-75%);
    transform: translateX(-75%);
  }
}

.cd-projects {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
}
.cd-projects > li {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
.cd-projects > li.selected {
  z-index: 1;
  opacity: 1;
  -webkit-transition: opacity 0s;
  -moz-transition: opacity 0s;
  transition: opacity 0s;
}
.cd-projects .preview-image {
  display: block;
  height: 100vh;
}

.cd-projects-previews a,
.cd-projects .preview-image {
  /* set a background image for each project */
  background: #5b927d url(https://codyhouse.co/demo/sliding-panels-template/img/img-2.jpg) no-repeat center center;
  background-size: cover;
}

.cd-projects-previews li:nth-of-type(2) a,
.cd-projects > li:nth-of-type(2) .preview-image {
  background: #a8ae7e url(https://codyhouse.co/demo/sliding-panels-template/img/img-2.jpg) no-repeat center center;
  background-size: cover;
}

.cd-projects-previews li:nth-of-type(3) a,
.cd-projects > li:nth-of-type(3) .preview-image {
  background: #e7d5a4 url(https://codyhouse.co/demo/sliding-panels-template/img/img-2.jpg) no-repeat center center;
  background-size: cover;
}

.cd-projects-previews li:nth-of-type(4) a,
.cd-projects > li:nth-of-type(4) .preview-image {
  background: #835531 url(https://codyhouse.co/demo/sliding-panels-template/img/img-2.jpg) no-repeat center center;
  background-size: cover;
}

.cd-project-title {
  position: absolute;
  width: 100%;
  top: calc(50% - 20px);
  left: 0;
  color: #ffffff;
  -webkit-transform: translateY(-37.5vh);
  -moz-transform: translateY(-37.5vh);
  -ms-transform: translateY(-37.5vh);
  -o-transform: translateY(-37.5vh);
  transform: translateY(-37.5vh);
  -webkit-transition: -webkit-transform 0.6s 0.2s;
  -moz-transition: -moz-transform 0.6s 0.2s;
  transition: transform 0.6s 0.2s;
  text-align: center;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.cd-project-title::after {
  /* line below project title */
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 40px;
  height: 1px;
  background: #ffffff;
  -webkit-transform: translateX(-50%) scale(0);
  -moz-transform: translateX(-50%) scale(0);
  -ms-transform: translateX(-50%) scale(0);
  -o-transform: translateX(-50%) scale(0);
  transform: translateX(-50%) scale(0);
  -webkit-transition: -webkit-transform 0.3s;
  -moz-transition: -moz-transform 0.3s;
  transition: transform 0.3s;
}
.no-touch .cd-projects-previews a:hover .cd-project-title::after {
  -webkit-transform: translateX(-50%) scale(1);
  -moz-transform: translateX(-50%) scale(1);
  -ms-transform: translateX(-50%) scale(1);
  -o-transform: translateX(-50%) scale(1);
  transform: translateX(-50%) scale(1);
}
.cd-projects .cd-project-title::after {
  -webkit-transform: translateX(-50%) scale(1);
  -moz-transform: translateX(-50%) scale(1);
  -ms-transform: translateX(-50%) scale(1);
  -o-transform: translateX(-50%) scale(1);
  transform: translateX(-50%) scale(1);
  -webkit-transition: -webkit-transform 0.3s 0.3s;
  -moz-transition: -moz-transform 0.3s 0.3s;
  transition: transform 0.3s 0.3s;
}
.cd-project-title h2 {
  font-size: 2.5rem;
  line-height: 1.5;
  font-weight: 700;
}
.cd-project-title p {
  font-size: 1.4rem;
  font-family: "Merriweather", serif;
  font-style: italic;
  line-height: 1.2;
  padding: .4em 2em;
  opacity: .8;
}
@media only screen and (min-width: 1024px) {
  .cd-project-title {
    width: 25%;
    top: 50vh;
    -webkit-transform: translateX(0%);
    -moz-transform: translateX(0%);
    -ms-transform: translateX(0%);
    -o-transform: translateX(0%);
    transform: translateX(0%);
  }
}

.cd-projects-previews li:nth-of-type(2) .cd-project-title,
.cd-projects > li:nth-of-type(2) .cd-project-title {
  -webkit-transform: translateY(-12.5vh);
  -moz-transform: translateY(-12.5vh);
  -ms-transform: translateY(-12.5vh);
  -o-transform: translateY(-12.5vh);
  transform: translateY(-12.5vh);
}
@media only screen and (min-width: 1024px) {
  .cd-projects-previews li:nth-of-type(2) .cd-project-title,
  .cd-projects > li:nth-of-type(2) .cd-project-title {
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -ms-transform: translateX(100%);
    -o-transform: translateX(100%);
    transform: translateX(100%);
  }
}

.cd-projects-previews li:nth-of-type(3) .cd-project-title,
.cd-projects > li:nth-of-type(3) .cd-project-title {
  -webkit-transform: translateY(12.5vh);
  -moz-transform: translateY(12.5vh);
  -ms-transform: translateY(12.5vh);
  -o-transform: translateY(12.5vh);
  transform: translateY(12.5vh);
}
@media only screen and (min-width: 1024px) {
  .cd-projects-previews li:nth-of-type(3) .cd-project-title,
  .cd-projects > li:nth-of-type(3) .cd-project-title {
    -webkit-transform: translateX(200%);
    -moz-transform: translateX(200%);
    -ms-transform: translateX(200%);
    -o-transform: translateX(200%);
    transform: translateX(200%);
  }
}

.cd-projects-previews li:nth-of-type(4) a .cd-project-title,
.cd-projects > li:nth-of-type(4) .cd-project-title {
  -webkit-transform: translateY(37.5vh);
  -moz-transform: translateY(37.5vh);
  -ms-transform: translateY(37.5vh);
  -o-transform: translateY(37.5vh);
  transform: translateY(37.5vh);
}
@media only screen and (min-width: 1024px) {
  .cd-projects-previews li:nth-of-type(4) a .cd-project-title,
  .cd-projects > li:nth-of-type(4) .cd-project-title {
    -webkit-transform: translateX(300%);
    -moz-transform: translateX(300%);
    -ms-transform: translateX(300%);
    -o-transform: translateX(300%);
    transform: translateX(300%);
  }
}

li.selected .cd-project-title,
.cd-projects > li:nth-of-type(2).selected .cd-project-title,
.cd-projects > li:nth-of-type(3).selected .cd-project-title,
.cd-projects > li:nth-of-type(4).selected .cd-project-title {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}
@media only screen and (min-width: 1024px) {
  li.selected .cd-project-title,
  .cd-projects > li:nth-of-type(2).selected .cd-project-title,
  .cd-projects > li:nth-of-type(3).selected .cd-project-title,
  .cd-projects > li:nth-of-type(4).selected .cd-project-title {
    -webkit-transform: translateX(150%);
    -moz-transform: translateX(150%);
    -ms-transform: translateX(150%);
    -o-transform: translateX(150%);
    transform: translateX(150%);
  }
}

.cd-projects li.selected .cd-project-title::after {
  -webkit-transition: -webkit-transform 0.3s 0s;
  -moz-transition: -moz-transform 0.3s 0s;
  transition: transform 0.3s 0s;
  -webkit-transform: translateX(-50%) scale(0);
  -moz-transform: translateX(-50%) scale(0);
  -ms-transform: translateX(-50%) scale(0);
  -o-transform: translateX(-50%) scale(0);
  transform: translateX(-50%) scale(0);
}

.touch .cd-projects li.selected .cd-project-title::after {
  -webkit-transition: -webkit-transform 0s;
  -moz-transition: -moz-transform 0s;
  transition: transform 0s;
}

.cd-project-info {
  display: none;
  padding: 4em 0;
  background-color: #ffffff;
  color: #7d7c7b;
}
.content-visible .cd-project-info {
  display: block;
}
.cd-project-info p {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
}

.cd-projects-container .scroll {
  display: block;
  position: absolute;
  z-index: 2;
  bottom: 30px;
  left: 50%;
  width: 44px;
  height: 44px;
  /* rest button default style */
  cursor: pointer;
  border: none;
  background: url("../img/cd-icon-arrow.svg") no-repeat center center;
  visibility: hidden;
  -webkit-transform: translateX(-50%) scale(0);
  -moz-transform: translateX(-50%) scale(0);
  -ms-transform: translateX(-50%) scale(0);
  -o-transform: translateX(-50%) scale(0);
  transform: translateX(-50%) scale(0);
  -webkit-transition: -webkit-transform 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: -moz-transform 0.3s 0s, visibility 0s 0.3s;
  transition: transform 0.3s 0s, visibility 0s 0.3s;
}
.cd-projects-container .scroll:focus {
  outline: none;
}

.cd-projects-container.project-open .scroll {
  visibility: visible;
  -webkit-transform: translateX(-50%) scale(1);
  -moz-transform: translateX(-50%) scale(1);
  -ms-transform: translateX(-50%) scale(1);
  -o-transform: translateX(-50%) scale(1);
  transform: translateX(-50%) scale(1);
  -webkit-transition: -webkit-transform 0.4s 0s, visibility 0s 0s;
  -moz-transition: -moz-transform 0.4s 0s, visibility 0s 0s;
  transition: transform 0.4s 0s, visibility 0s 0s;
  -webkit-animation: cd-translate 1.2s 0.8s;
  -moz-animation: cd-translate 1.2s 0.8s;
  animation: cd-translate 1.2s 0.8s;
  -webkit-animation-iteration-count: 2;
  -moz-animation-iteration-count: 2;
  animation-iteration-count: 2;
}

.no-touch .cd-projects-container.project-open .scroll:hover {
  -webkit-transform: translateX(-50%) scale(1.2);
  -moz-transform: translateX(-50%) scale(1.2);
  -ms-transform: translateX(-50%) scale(1.2);
  -o-transform: translateX(-50%) scale(1.2);
  transform: translateX(-50%) scale(1.2);
}

@-webkit-keyframes cd-translate {
  0% {
    -webkit-transform: translateX(-50%) scale(1);
  }
  50% {
    -webkit-transform: translateY(10px) translateX(-50%) scale(1);
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
  }
}
@-moz-keyframes cd-translate {
  0% {
    -moz-transform: translateX(-50%) scale(1);
  }
  50% {
    -moz-transform: translateY(10px) translateX(-50%) scale(1);
  }
  100% {
    -moz-transform: translateX(-50%) scale(1);
  }
}
@keyframes cd-translate {
  0% {
    -webkit-transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    -o-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
  }
  50% {
    -webkit-transform: translateY(10px) translateX(-50%) scale(1);
    -moz-transform: translateY(10px) translateX(-50%) scale(1);
    -ms-transform: translateY(10px) translateX(-50%) scale(1);
    -o-transform: translateY(10px) translateX(-50%) scale(1);
    transform: translateY(10px) translateX(-50%) scale(1);
  }
  100% {
    -webkit-transform: translateX(-50%) scale(1);
    -moz-transform: translateX(-50%) scale(1);
    -ms-transform: translateX(-50%) scale(1);
    -o-transform: translateX(-50%) scale(1);
    transform: translateX(-50%) scale(1);
  }
}


/* Responsive Style */
@media screen and (min-width: 1100px) and (max-width: 1300px) {
    .gs-portfolio-3d-item .gs-portfolio-3d-item-title {
        top: 0;
        margin-left: 30px;
    }
    .gs-portfolio-3d-item-title h1{
        font-size: 2.938rem;
    }
    .portfolio-container{
        padding: 0 50px;
    }
    .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title{
        float:right;
        text-align: right;
        margin-left:-30px;
    }
}
@media screen and (min-width: 900px) and (max-width: 1100px) {
    .gs-portfolio-3d-item-content {
        width: 45%;
    }
    .gs-portfolio-3d-item-wrapper {
    width: 50%;
    }
    .portfolio-container{
        padding: 0px 50px;
    }
    .gs-portfolio-3d-item .gs-portfolio-3d-item-title {
        top: 0%;
        margin-left: 50px;
    }
    .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title{
        float:right;
        text-align: right;
        margin-left:-30px;
    }
    .gs-portfolio-3d-item-title h1{
        font-size: 25px;
    }
}
@media screen and (min-width: 500px) and (max-width: 900px) {
    .gs-portfolio-3d-item-content {
        width: 100%;
    }
    .gs-portfolio-3d-item-wrapper {
    width: 100%;
    }
    .gs-portfolio-3d-item-content{
        margin-left: 0px;
    }
    .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title h1{
        font-size: 1.938rem;
    }
    .gs-portfolio-3d-item-title h1{
        font-size: 1.938rem;
    }
    .gs-portfolio-3d-item{
        min-height: 600px;
    }
    
    .portfolio-container{
        padding: 30px;
    }
    .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title{
        float:left;
        text-align: left;
        
    }
    .gs-portfolio-3d-item .gs-portfolio-3d-item-title {
        top: 10%;
        margin-left: 0px;
    }
    .portfolio-container .gs-portfolio-3d-item:nth-child(2n) .text-with-line::before{
        display: none;
    }
    .portfolio-container .gs-portfolio-3d-item:nth-child(2n) .text-with-line::after{
        display: block;
    }

}
@media screen and (min-width: 200px) and (max-width: 500px) {
  .gs-portfolio-3d-item-content { width: 100%; }
  .gs-portfolio-3d-item-wrapper { width: 100%; }
  .gs-portfolio-3d-item-content { margin-left: 0px; }
  .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title h1 { font-size: 20px; }
  .gs-portfolio-3d-item-title h1 { font-size: 20px; }
  .gs-portfolio-3d-item { min-height: 600px; }
  .portfolio-container { padding: 30px; }
  .gs-portfolio-3d-item:nth-child(even) .gs-portfolio-3d-item-title { float:left; text-align: left; }
  .gs-portfolio-3d-item .gs-portfolio-3d-item-title { top: 8%; margin-left: 0px; }
  .gs-portfolio-3d-item-title span { display: none; } 
}