.gs_portfolio_area {
  padding: 10px;
}

.single-gsp {
  margin: 5px 0;
}

.gs_p_icons {
	position: absolute;
	top: 60%;
	width: 100%;
	left: 0;
}

figure.effect-sadie .gs_p_icons {
	opacity: 0;
	transition: opacity 0.35s, transform 0.35s;
}

figure.effect-sadie:hover .gs_p_icons {
	color: #fff;
	transform: translate3d(0,-40%,0) translate3d(0,-20px,0);
	opacity: 1;
}

/* 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;
}

.gs_p_icons > a > i {
  display: block;
  line-height: 42px;
  font-size: 18px;
  color: #fff;
}

.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: 18px;
  font-size: 13px;
}
.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;
  background-color: rebeccapurple;
  text-decoration: none;
}

.gs_p_popup_content .gs_p_btn:hover{
  background: transparent;
}
@media (min-width: 768px){
  .gs_p_popup_content{
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 600px){
  .gs_p_popup_content{
    padding-left: 15px !important ;
    padding-right: 15px !important;
  }
}

@media (min-width: 480px){
  .gs_p_popup_content{
    padding-left: 15px !important ;
    padding-right: 15px !important;
  }
}

@media only screen and (max-width: 479px) {
  .gs_p_popup_content{
    padding-left: 15px !important ;
    padding-right: 15px !important;
  }
}

/*====== 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);
}