/*  Bootstrap Clearfix */

/* Mobile */

  .col-xs-1:nth-of-type(12n+1),
  .col-xs-2:nth-of-type(6n+1),
  .col-xs-3:nth-of-type(4n+1),
  .col-xs-4:nth-of-type(3n+1),
  .col-xs-6:nth-of-type(2n+1){
    clear: left;
  }

/*  Tablet  */
@media (min-width:767px){

  /* Column clear fix */
  .col-lg-1:nth-of-type(12n+1),
  .col-lg-2:nth-of-type(6n+1),
  .col-lg-3:nth-of-type(4n+1),
  .col-lg-4:nth-of-type(3n+1),
  .col-lg-6:nth-of-type(2n+1),
  .col-md-1:nth-of-type(12n+1),
  .col-md-2:nth-of-type(6n+1),
  .col-md-3:nth-of-type(4n+1),
  .col-md-4:nth-of-type(3n+1),
  .col-md-6:nth-of-type(2n+1){
    clear: none;
  }
  .col-sm-1:nth-of-type(12n+1),
  .col-sm-2:nth-of-type(6n+1),
  .col-sm-3:nth-of-type(4n+1),
  .col-sm-4:nth-of-type(3n+1),
  .col-sm-6:nth-of-type(2n+1){
    clear: left;
  }

  .col-xs-1:nth-of-type(12n+1),
  .col-xs-2:nth-of-type(6n+1),
  .col-xs-3:nth-of-type(4n+1),
  .col-xs-4:nth-of-type(3n+1),
  .col-xs-6:nth-of-type(2n+1){
    clear: none;
  }
}


/*  Medium Desktop  */
@media (min-width:992px){
    .col-xs-1:nth-of-type(12n+1),
  .col-xs-2:nth-of-type(6n+1),
  .col-xs-3:nth-of-type(4n+1),
  .col-xs-4:nth-of-type(3n+1),
  .col-xs-6:nth-of-type(2n+1){
    clear: none;
  }

  /* Column clear fix */
  .col-lg-1:nth-of-type(12n+1),
  .col-lg-2:nth-of-type(6n+1),
  .col-lg-3:nth-of-type(4n+1),
  .col-lg-4:nth-of-type(3n+1),
  .col-lg-6:nth-of-type(2n+1),
  .col-sm-1:nth-of-type(12n+1),
  .col-sm-2:nth-of-type(6n+1),
  .col-sm-3:nth-of-type(4n+1),
  .col-sm-4:nth-of-type(3n+1),
  .col-sm-6:nth-of-type(2n+1){
    clear: none;
  }
  .col-md-1:nth-of-type(12n+1),
  .col-md-2:nth-of-type(6n+1),
  .col-md-3:nth-of-type(4n+1),
  .col-md-4:nth-of-type(3n+1),
  .col-md-6:nth-of-type(2n+1){
    clear: left;
  }
}


/*  Large Desktop  */
@media (min-width:1200px){

  /* Column clear fix */
  .col-md-1:nth-of-type(12n+1),
  .col-md-2:nth-of-type(6n+1),
  .col-md-3:nth-of-type(4n+1),
  .col-md-4:nth-of-type(3n+1),
  .col-md-6:nth-of-type(2n+1),
  .col-sm-1:nth-of-type(12n+1),
  .col-sm-2:nth-of-type(6n+1),
  .col-sm-3:nth-of-type(4n+1),
  .col-sm-4:nth-of-type(3n+1),
  .col-sm-6:nth-of-type(2n+1){
    clear: none;
  }
  .col-lg-1:nth-of-type(12n+1),
  .col-lg-2:nth-of-type(6n+1),
  .col-lg-3:nth-of-type(4n+1),
  .col-lg-4:nth-of-type(3n+1),
  .col-lg-6:nth-of-type(2n+1){
    clear: left;
  }
  .norightcol .col-md-1[name="productlist"]:nth-of-type(12n+1),
  .norightcol .col-md-2[name="productlist"]:nth-of-type(6n+1),
  .norightcol .col-md-3[name="productlist"]:nth-of-type(4n+1),
  .norightcol .col-md-4[name="productlist"]:nth-of-type(3n+1),
  .norightcol .col-md-6[name="productlist"]:nth-of-type(2n+1),
  .norightcol .col-sm-1[name="productlist"]:nth-of-type(12n+1),
  .norightcol .col-sm-2[name="productlist"]:nth-of-type(6n+1),
  .norightcol .col-sm-3[name="productlist"]:nth-of-type(4n+1),
  .norightcol .col-sm-4[name="productlist"]:nth-of-type(3n+1),
  .norightcol .col-sm-6[name="productlist"]:nth-of-type(2n+1){
    clear: left;
  }
}