/*--------------------*/
/* PORTFOLIO PAGE */
/*--------------------*/


#single-page-header{
  background-attachment: fixed !important;
  background-image: url("http://mekhor.net/img/slider-5.jpg");
  background-repeat: repeat;
  background-size: cover;
  color: #ffffff;
  display: inline;
  float: left;    
  width: 100%;
}

.overlay{
  background-color: rgba(0,0,0,0.6); 
  padding: 90px 0;
  float: left;
  width: 100%;
}

.single-page-header-left{
  display: inline;
  float: left;
  width: 100%;
}

.single-page-header-left h2{
  text-transform: uppercase;
}

.single-page-header-left p {
  font-size: 15px;
}

.single-page-header-right{
  display: inline;
  float: left;
  width: 100%;
}

.single-page-header-right .breadcrumb {
  background: transparent none repeat scroll 0 0;
  border-radius: 0;
  text-align: right;
}

.single-page-header-right .breadcrumb li a{
  color: #fff;
}

/*#portfolio{
  background-color: #fff;
  display: inline;
  float: left;
  width: 100%;
  min-height: 400px;
}*/

.portfolio-area{
  display: inline;
  float: left;
  width: 100%;
}

.portfolio-menu{
  display: inline;
  float: left;
  text-align: center;
  padding: 0 20px;
  width: 100%;
}

.portfolio-menu ul li {
  border: 1px solid #ccc;
  cursor: pointer;
  display: inline-block;
  padding: 2px 15px;
  text-transform: uppercase;
  -webkit-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.1s;
}

.portfolio-menu ul li:hover,
.portfolio-menu ul li.active{  
  color: #ff0707;
}

.mix {
  display: none;
}

.portfolio-container {
  display: inline;
  float: left;
  margin-top: 0px;
 /* width: 100%;*/
}

.single-portfolio{
 /* background-color: #ccc;*/
  display: inline;
  /*float: left;
  width: 25%;*/  
}

.single-item>img {
  height: 220px;
  width: 100%;
}

.single-item{
  display: inline;
  float: left;
  position: relative;
  width: 100%;
}

.single-item-content {  
  color: #fff;  
  height: 100%;
  left: 0;
  opacity: 0;
  padding-top: 55px;
  position: absolute;
  text-align: center;
  top: 0;
  width: 100%;
 -webkit-transition: all 0.4s ease-in-out;
  -moz-transition: all 0.4s ease-in-out;
  -o-transition: all 0.4s ease-in-out;
  -ms-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
  
  -webkit-transform: scale(0);
  -moz-transform: scale(0);
  -o-transform: scale(0);
  -ms-transform: scale(0);
  transform: scale(0);
  
  -webkit-backface-visibility: hidden; /*for a smooth font */
}

.single-item:hover .single-item-content{
  background-color: rgba(0,0,0,0.7);
  opacity: 1;  
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -o-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);  
} 

.single-item-content::after {
  content: "";
  
  left: 18px;
  top: 15px;

  position: absolute;
  z-index: -1;
}

.view-icon{
  color: #fff;
  font-size: 30px;  
}
.preview{
  display: block;
  text-decoration: none !important;
}
.preview:hover{
  color: #9f9f9f;
}

/*--------------------*/
/* end */
/*--------------------*/
@media(max-width:480px ){
  .single-item>img {
    height: 130px;
    width: 100%;
    /* margin: -20px; */
}
}
@media(max-width:320px ){
.single-item>img {
    height: 110px;
    width: 100%;
    /* margin: -20px; */
}
}