
/**
 * Grid container
 */
#tiles {
list-style-type: none;
position: relative; /** Needed to ensure items are laid out relative to this container **/
margin: 0;
}

/**
 * Grid items
 */
#tiles li {
width: 200px;
background-color: #ffffff;
border: 1px solid #dedede;
-moz-border-radius: 2px;
-webkit-border-radius: 2px;
border-radius: 2px;
display: none; /** Hide items initially to avoid a flicker effect **/
  cursor: pointer;
padding: 4px;
  -webkit-transition: all 0.3s ease-out;
     -moz-transition: all 0.3s ease-out;
       -o-transition: all 0.3s ease-out;
          transition: all 0.3s ease-out;
}

#tiles li.inactive {
	opacity: 0;
	display: none !important;
}

#tiles li img {
display: block;
}



#filters {
list-style-type: none;
text-align: center;
height: 35px;
margin: 0 auto;
max-width:1060px;
}

#filters li {
font-size: 13px;
float: left;
cursor: pointer;
  -webkit-transition: all 0.15s ease-out;
     -moz-transition: all 0.15s ease-out;
       -o-transition: all 0.15s ease-out;
          transition: all 0.15s ease-out;
margin: 0 2px;
width: 208px;
min-height:25px;
padding-top:5px;
}

#filters li:nth-child(1){
background-color:#ffec00;
}
#filters li:nth-child(2){
background-color:#f9ba00;
}
#filters li:nth-child(3){
background-color:#f19300;
}
#filters li:nth-child(4){
background-color:#ea690b;
}
#filters li:nth-child(5){
background-color:#e65113;
}

#filters li:hover {
color:#555;
}

#filters li.active {
color: #ffffff;
}

/**
 * Grid item text
 */
#tiles li p {
color: #666;
font-size: 12px;
margin: 7px 0 0 7px;
}

/**
 * Some extra styles to randomize heights of grid items.
 */
#tiles ali:nth-child(3n) {
height: 175px;
}

#tiles ali:nth-child(4n-3) {
padding-bottom: 30px;
}

#tiles ali:nth-child(5n) {
height: 250px;
}
