a {
    
}

div#overview a {
    background-color: #fff;
    color: #000;
    display: inline;
    float: left;
    font-family: Courier New, Courier, monospace;
    font-size: 11px;
    font-weight: bold;
    height: 100px;
    margin-bottom: 20px;
    margin-left: 20px;
    padding: 7px 7px 35px;
    text-align: center;
    text-decoration: none;
    overflow: hidden;
    width: 100px;
    
    -moz-box-shadow: 0 0 5px #ddd;
    -webkit-box-shadow: 0 0 5px #ddd;
    box-shadow: 0 0 5px #ddd;
}

div#overview a img {
    background-color: #ddd;
    display: block;
    padding: 1px;
}

div#overview a:after {
    content: attr(title);
}

/* Rotate all images 2 degrees */
div#overview a {
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}

/* Rotate all even images 2 degrees */
div#overview a:nth-child(even) {
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
}
/* Don't rotate every third image, but offset its position */
div#overview a:nth-child(3n) {
    -webkit-transform: none;
    -moz-transform: none;
    position: relative;
    top: -5px;
}
/* Rotate every fifth image by 5 degrees and offset it */
div#overview a:nth-child(5n) {
    -webkit-transform: rotate(5deg);
    -moz-transform: rotate(5deg);
    position: relative;
    right: 5px;
}
/* Keep default rotate for every eighth, but offset it */
div#overview a:nth-child(8n) {
    position: relative;
    top: 8px;
    right: 5px;
}
 
/* Keep default rotate for every eleventh, but offset it */
div#overview a:nth-child(11n) {
    position: relative;
    top: 3px;
    left: -5px;
}

div#gallery ul#inter-gallery-nav {
    background-color: rgba(150, 150, 150, 0.2);
    border: 1px solid #333;
    color: #ddd;
    font-size: 12px;
    left: 15px;
    list-style: none;
    text-align: center;
    padding: 0;
    position: fixed;
    top: 30px;
    width: 140px;
}

ul#inter-gallery-nav li {
    padding: 3px 5px;
}
