img {
  max-width: 100%;
  height: auto;
}

.gallery-wrap,
#gallery {
  overflow: hidden;
}
#filters {
  padding: 0;
  list-style: none;
  overflow: hidden;
}

#filters li {
  float: left;
}
#filters li span {
  display: block;
  padding: 5px 20px;
  text-decoration: none;
  color: #B42B29;
  cursor: pointer;
  font-weight: 600;
  transition: all ease-in-out 0.25s;
  display: inline-block;
border: 1px dashed #B42B29;
margin:0px 3px;
font-size: 16px;
}

#filters li:hover span {
  color: #000;
}

#filters li span.active {
  background: #B42B29;
  color: #fff;
}

.gallery-item {
  float: left;
  width: 33.333%;
  padding: 10px;
  position: relative;
  /* z-index: 10; */
  display: none;
}

.inside {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  margin-bottom: 10px;
}

.details,
.overlay {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
}

.details {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all 0.3s ease-in-out;
}
.details h2 {
  color: #fff;
  font-size: 1.5em;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
  margin: 0;
}
.details p {
  color: #fff;
  font-size: 1em;
  letter-spacing: 2px;
  text-align: center;
  margin: 0;
  text-transform: uppercase;
}

.inside img {
  float: left;
  width: 100%;
}

.overlay {
  background: rgba(180, 43, 41, 0.8);
  z-index: 1;
  transition: all 0.7s ease-in-out;
}

.gallery-item:hover .details,
.gallery-item:hover .overlay {
  opacity: 1;
}

@media (max-width: 30em) {
  .wrap {
    padding-left: 1em;
    padding-right: 1em;
  }

  .gallery-item {
    float: none;
    width: 100%;
  }
}

.portfolio_nav {
  padding: 0px 0 15px;
  text-align: center;
}

.portfolio_nav ul {
margin-bottom: 30px;
text-align:center;
}

.portfolio_nav ul li {
display: inline;
}
.portfolio_nav ul li {
background: transparent;
border: medium none;
font-size: 16px;
line-height: 1;
-webkit-transition: all 0.3s ease 0s;
-o-transition: all 0.3s ease 0s;
transition: all 0.3s ease 0s;
cursor: pointer;
text-transform: capitalize;
padding: 10px 22px;
font-weight: 500;
position: relative;
margin: 0 3px;
margin-bottom: 7px;
display: inline-block;
border: 1px dashed #B42B29 ;
color: #B42B29 ;
}
.portfolio_nav ul li:hover,
.portfolio_nav ul li.current_menu_item {
color: #fff;
background:#B42B29 ;
}
.prot_wrap {
overflow: hidden;
}

/* single gallery css */
.single_protfolio {
position: relative;
margin-bottom: 10px;
overflow: hidden;
}
.prot_thumb {
position:relative;
}
.prot_thumb img {
width: 100%;
}
.prot_thumb:before {
position:absolute;
left:0; 
width:100%;
height:100%;
background:rgba(0,0,0,0.60);
top:0; 
content:"";
opacity:0;
transition:.5s;
}
.single_protfolio:hover .prot_thumb:before{
opacity:1;
}
.prot_content {
position: absolute;
text-align: center;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
-webkit-transition: .5s;
-o-transition: .5s;
transition: .5s;
right: 0;
bottom: -100%;
left: 0;
opacity: 0;
background: #B42B29 ;
margin: auto;
padding: 22px 25px 30px;
}
.single_protfolio:hover .prot_content {
opacity: 1;
bottom: 0;
}
.multi_gallery.prot_content {
height: 90%;
width: 80%;
right: 10%;
top: 5%;
bottom: 5%;
left: 10%;
}
.prot_icon {
position: absolute;
left: 0;
right: 0;
top: 50%;
text-align: center;
transform: translateY(-50%);
opacity:0;
transition:.5s;
}
.single_protfolio:hover .prot_icon {
opacity: 1;
}
.prot_content h3 {
  margin: 8px 0 0px;
  text-transform: capitalize;
  color: #fff;
  font-size: 20px;
  font-weight: 600;
}
.prot_content h3 a {
color: #fff;
font-size: 20px;
font-weight: 500;
text-transform: capitalize;
}
.prot_content p {
color: #fff;
line-height: 1.2;
margin: 5px 0 0;
}
.prot_content p span {
display: inline-block;
padding-top: 0px;
}
.porttitle_inner p{
  text-align: center !important;
}
.porttitle_inner span {
position: relative;
margin: 0 2px;
}
.prot_content span:before {
bottom: 0;
content: ",";
position: absolute;
right: -5px;
}
.porttitle_inner span:last-child:before {
	content: "";
}
.nospace.col-xs-12 {
	padding: 0px;
}
.nospace .single_protfolio {
	margin-bottom: 0px;
}
/* load button css */
.gallery_load_button a {
	border: 1px solid #ddd;
	color: #444;
	padding: 7px 15px;
	display: inline-block;
	font-size: 17px;
	margin-top: 0px;
}
.gallery_load_button a:hover {
	border-color: #333;
	background: #333;
	color: #fff;
}
.prot_wrap.nospace .gallery_load_button a {
	margin-top: 30px;
}
/* portfolio icon css */
.picon {
    margin-bottom: 0;
}
.picon a {
	background: #B42B29  none repeat scroll 0 0;
	border-radius: 50%;
	color: #fff;
	display: inline-block;
	font-size: 16px;
	height: 40px;
	line-height: 40px;
	width: 40px;
	text-align: center;
	margin: 0 17px 0;
	transition:.5s;
}
.picon a:hover {
	background: #B42B29;
	color: #fff;
}
.single_protfolio:hover .picon a{
	margin: 0 3px 0;
}