/*--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
--*/

img {
  height: auto;
  max-width: 100%;
}
/*-- gallery --*/
.gallery-border {
    border: 8px solid #EEE;
}
/*-- // gallery --*/
.gallery-border img {
 position: relative; */
     -webkit-transform: scale(1); 
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1); */
    -webkit-transition: 0.3s; 
    -o-transition: 0.3s;
    transition: 0.3s; 
}
.gallery-border:hover img {
      position: relative;
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

/*-- popup --*/

.gallery_grid-more .overlay {
  position: fixed;
  top: 0px;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 0ms;
  visibility: hidden;
  opacity: 0;
   z-index: 99;
}

.gallery_grid-more .overlay:target {
  visibility: visible;
  opacity: 1;
}


.popup {
    background: #fff;
    border-radius: 5px;
    max-width: 500px;
    position: relative;
    margin: 8em auto;
	padding: 3em 1em;
}
.popup1 {
    background: #fff;
    border-radius: 5px;
    max-width: 400px;
    position: relative;
    margin: 8em auto;
	padding: 3em 1em;
}
.popup p{
	font-size: 15px;
	color: #666;
	letter-spacing: .5px;
	line-height: 30px;
}
.popup .close ,.popup1 .close {
    position: absolute;
    top: 10px;
    right: 15px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
}
.popup h2 {
  margin-top: 0;
  color: #fff;

}
.popup .close:hover {
  color: #30c39e;
}

/*-- //popup --*/



/*-- //Responsive design --*/