

/* ============================
    Portfolio Section
=============================== */
.custom-nav ul {
    margin-top: 0;
}
.portfolio-filter-nav ul li {
    border-radius: 3px;
    display: block;
    float: left;
    margin: 0 5px 30px;
}
.portfolio-filter-nav ul li {
    color: #515151;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 12px;
    -webkit-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
    text-transform: uppercase;
}
.portfolio-filter-nav ul li:hover {
    cursor: pointer;
    color: #fff;
}
.portfolio-filter-nav ul li.active {
    color: #fff;
}
.portfolio-showcase {
  margin-top: 110px;
}
.portfolio-showcase #grid {
    width: 100%
}
.portfolio-showcase #grid .thumbnails {
    float: left;
    height: auto;
    margin: 0;
    width: 25%;

}
.portfolio-showcase #grid .thumbnails a {
  display: inline-block;
  float: left;
  height: 100%;
  line-height: 0;
  text-decoration: none;
  width: 100%;
  position: relative;
}
.portfolio-showcase #grid .thumbnails a img {
    display: block;
    position: relative;
    width: inherit;
    -webkit-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
}

.portfolio-button button.portfolio-btn {
    text-transform: uppercase;
    background-color: transparent;
    font-weight: 500;
    -webkit-transition: all 0.4s ease 0s;
            transition: all 0.4s ease 0s;
}
.portfolio-button button.portfolio-btn:hover {
    color: #fff;
    border: 2px solid transparent;
}
.thumbnails span.portfolio-overlay {
    background: transparent none repeat scroll 0 0;
    color: #fff;
    display: block;
    height: 100%;
    position: absolute;
    text-align: center;
    top: 0;
    -webkit-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
    width: 100%;

}
.thumbnails span.portfolio-overlay .fa {
    color: transparent;
    height: 30px;
    left: 50%;
    line-height: 30px;
    margin-left: -15px;
    margin-top: -15px;
    position: absolute;
    top: 60%;
    -webkit-transition: all 0.5s ease 0s;
            transition: all 0.5s ease 0s;
    width: 30px;
    font-size: 28px;
}
.thumbnails:hover span.portfolio-overlay {
    opacity: 0.9;
    filter: alpha(opacity=90);
}
.thumbnails:hover span.portfolio-overlay .fa {
    color: #fff;
    top: 50%;
}

/* Simple LightBox Arrow */
button.sl-prev .fa, button.sl-next .fa {
    font-size: 35px !important;
    font-weight: bold;
}


.portfolio-filter-nav ul li:hover {
    background: #f68312  none repeat scroll 0 0;
}
.portfolio-filter-nav ul li.active {
    background: #f68312 none repeat scroll 0 0;
}

.portfolio-button button.portfolio-btn {
    border: 2px solid #ff5959;
    color: #ff5959;
}
.portfolio-button button.portfolio-btn:hover {
    background-color: #ff5959;
}
.thumbnails:hover .portfolio-overlay {
    background-color: #f68312 ;
}
button.sl-prev .fa, button.sl-next .fa {
    color: #f68312 ;
}


/* Medium Layout: 1280px. */
@media only screen and (min-width: 992px) and (max-width: 1200px) { 
/* About Us Area */


}
/* Tablet Layout: 768px. */
@media only screen and (min-width: 768px) and (max-width: 991px) { 
.portfolio-showcase #grid .thumbnails { width: 33.33%;}

}

/* Mobile Layout: 320px. */
@media only screen and (max-width: 767px) { 
.portfolio-filter-nav ul li {font-size: 14px;padding: 0 3px;}
.portfolio-button button.portfolio-btn {font-size: 12px;padding: 5px 20px;}

}
/* Wide Mobile Layout: 480px. */
@media only screen and (min-width: 480px) and (max-width: 767px) { 
.portfolio-showcase #grid .thumbnails {
  width: 50%;
}
.portfolio-filter-nav ul li {
  font-size: 14px;
  padding: 5 10px;
}
}