/*--------------------------------------------------------------
    WIDGET #5 - PORTFOLIO FILTER
-----------------------------------------------------------------*/


.cf:before,
.cf:after {
    content: " "; 
    display: table; 
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1;
}


/* background of our portfolio items */
.projects{
    width: 80%!important;
    margin: 0 auto; 
    float: left;
}

/* our filter items wrapper */
#options{
    margin: 35px 0;
    text-align:left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    float: left;
    width: 20%;
}

#filters li {
    display:block;
    margin-bottom: 10px;
}

#filters li:last-child{
    border-right: none
}

#filters li a {
    margin:0;
    line-height:26px;
    margin: 0 10px;
    display:block;
    color: #555;
    font-size: 20px;
  font-weight: 400;
}


#filters li a.selected, #filters li a:hover {
  color: #f7c262;
}

#filters li a.selected{
  color: #f7c262;
}

.blockelement{
    width: 29%;
    min-height: 100px;
    margin: 1%;
    padding: 5px;
    height: auto;
}


.blockelement img {
    max-width:100%;
}


/*-- MODIFYING THE BELOW COULD LOSE THE FUNCTIONALITY OF THE PLUGIN --*/

/**** Isotope Filtering ****/
.isotope-item {
  z-index: 2;
}
.isotope-hidden.isotope-item {
  pointer-events: none;
  z-index: 1;
}

/**** Isotope CSS3 transitions ****/

.isotope,
.isotope .isotope-item {
  -webkit-transition-duration: 0.8s;
     -moz-transition-duration: 0.8s;
          transition-duration: 0.8s;
}

.isotope {
  -webkit-transition-property: height, width;
     -moz-transition-property: height, width;
          transition-property: height, width;
}

.isotope .isotope-item {
  -webkit-transition-property: -webkit-transform, opacity;
     -moz-transition-property:    -moz-transform, opacity;
          transition-property:         transform, opacity;
}

/**** disabling Isotope CSS3 transitions ****/
.isotope.no-transition,
.isotope.no-transition .isotope-item,
.isotope .isotope-item.no-transition {
  -webkit-transition-duration: 0s;
     -moz-transition-duration: 0s;
          transition-duration: 0s;
}

/* End: Recommended Isotope styles */
/* disable CSS transitions for containers with infinite scrolling*/
.isotope.infinite-scrolling {
  -webkit-transition: none;
     -moz-transition: none;
          transition: none;
}

#icontent .blockelement{
    margin: 20px 5px;
}

#icontent #filters li a{
    cursor:text;
}

#icontent #filters li:nth-child(2){
    border: 1px solid red;
}

#icontent #filters li:nth-child(3){
    border: 1px solid yellow;
}

#icontent #filters li:nth-child(4){
    border: 1px solid green;
}

#icontent #filters li:nth-child(5){
    border: 1px solid blue;
}

#icontent #filters li:nth-child(6){
    border: 1px solid blueViolet;
}

#icontent #filters li:nth-child(7){
    border: 1px solid Coral;
}

#icontent #filters li:nth-child(8){
    border: 1px solid DarkTurquoise;
}

#icontent .blockelement{
    margin-bottom: 50px;
    float:left;
}

#icontent .category01{
    border: 1px solid red;
}

#icontent .category02{
    border: 1px solid yellow;
}

#icontent .category03{
    border: 1px solid green;
}

#icontent .category04{
    border: 1px solid blue;
}
#icontent .category05{
    border: 1px solid blueViolet;
}
#icontent .category06{
    border: 1px solid Coral;
}
#icontent .category07{
    border: 1px solid DarkTurquoise;
}

@media screen and (max-width: 767px){
  #filters{
    text-align: center;
  }
  
  #filters li{
    margin: 7px 2px;
    display: inline-block
  }

  .projects{
    width: 100%!important;
  }


  #options{
    width: 100%;
  }

  .blockelement{
    width: 100%;
    margin: 15px 0;
  }

}

/*--------------------------------------------------------------
        END  DD-PORTFOLIO
-----------------------------------------------------------------*/