/**
 * 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: #000;
margin: 0 1% 0 1%;
border: 0px 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: 15px;
  -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;
}

#tiles li img {
display: block;
}

#filters {
list-style-type: none;
text-align: center;
height: 50px;
margin: 0 1% 0 1%;
}

#filters li {
font-size: 12px;
color:#000; /*#C29D34;*/
font-family:Palatino Linotype, Book Antiqua, Palatino, serif;
float: left;
padding: 5px 0 4px 0;
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;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
margin: 0 1% 0 1%;
width: 14.5%;
}

#filters li:hover {
color:#C29D34;
background: #000; /* #dedede*/
}

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

/**
 * Grid item text
 */
#tiles li p {
color: #dedede;
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;
}

/** General page styling **/
  
