.gallery
{
    display: inline-block;
    margin-top: 40px;
}
.gallery .thumbnail{
	border: 0px solid #ddd;
	margin-bottom: 30px;
}

.fancybox-button.fancybox-button--share{
	display:none;
}
@media screen and (max-width:480px){
	.gallery .thumbnail {
    margin: 0px -15px;
}
}







.galleryhover {
  position: relative;
  margin: auto;
  overflow: hidden;
}
.galleryhover:hover .overlay {
  opacity: 1;
  width: 100%;
  height: 100%;    
  border: 4px solid #02478a;
}
.galleryhover:hover span {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: transform .5s ease, opacity 1.3s ease;
  transition: transform .5s ease, opacity 1.3s ease;
}
.galleryhover .overlay {
  background: rgba(0, 0, 0, 0.4);
  position: absolute;
  margin: auto;
  width: 0px;
  height: 0px;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  opacity: 0;
  -webkit-transition: .4s ease;
  transition: .4s ease;
}
.galleryhover span {
  color: #fff;
  text-align: center;
  position: absolute;
  margin: auto;
  width: 200px;
  height: 30px;
  line-height: 30px;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  -webkit-transform: scale(0);
  transform: scale(0);
  -webkit-transition: transform .5s ease, opacity .7s ease;
  transition: transform .5s ease, opacity .7s ease;
}
.galleryhover span  i{
	font-size:30px;
}

.head_sec h3{
	position:relative;
}
.head_sec h3:before, .head_sec-inverse h3:before, .head_sec h3:after, .head_sec-inverse h3:after {
    content: '';
    height: 2px;
    background-color: #02478a;
    position: absolute;
    left: 0px;
    right: 0px;
    margin: 0 auto;
}
.head_sec h3:before, .head_sec-inverse h3:before {
    width: 60px;
    bottom: 6px;
}
.head_sec h3:after, .head_sec-inverse h3:after {
    width: 30px;
    bottom: -3px;
}
.text-box {
	    text-align: center;
    text-shadow: 1px 1px 5px #000;
    color: #fff;
}



@media screen and (max-width:767px){
	ul.nav.navbar-nav{
	    width: 100%;
}
.head_sec {
    padding: 20px;
}
}