body {
    font-family: sans-serif;
    margin: 0;
    background: #f2f2f2;
}

h1 {
    text-align: center;
    margin-top: 50px;
}

p {
    text-align: center;
    margin-bottom: 60px;

}

h2 {
    text-align: center;
    line-height: 80px;
    font-weight: normal;
	
}

h4 {
    text-align: center;
    line-height: 80px;
    font-weight: normal;
}





.item .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height:100%;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  opacity: 0;
  
   text-align: center;
   
  
}

.item:hover .overlay {
  opacity: 1;
  
}

.item:hover img {
  -webkit-filter: blur(2px);
  filter: blur(2px);
	
}


.vcenter {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 30%;
    width: 50%;
    margin: 0% 0 0 0%;
}


.masonry { /* Masonry container */
    -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
    -webkit-column-gap: 0em;
    -moz-column-gap: 0em;
    column-gap: 0em;
    margin: 0em;
    padding: 0;
    -moz-column-gap: 0em;
    -webkit-column-gap: 0em;
    column-gap: 0em;
    font-size: .85em;
}

.item {
	position:relative;
    display: block;
    background: #fff;
   
    margin: 0 0 0 0;
    width: 100%;
    -webkit-transition: 1s ease all;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-shadow: 1px 1px 1px 1px #ccc;
}

.item img {
    max-width: 100%;
	max-height: 100%;
	width :100%;
	height : 100%;
   
    
}





@media only screen and (max-width: 320px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 321px) and (max-width: 768px){
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 769px) and (max-width: 1200px){
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}

@media only screen and (min-width: 1201px) {
    .masonry {
        -moz-column-count: 2;
        -webkit-column-count: 2;
        column-count: 2;
    }
}





