ul.gallery-items {
    overflow: hidden;
    padding: 10px 0 0 0;
    margin: 0;
    zoom: 1;
}

ul.gallery-items li {
    float: left;
    margin: 0 0 0 0;
    padding: 0 0 10px 0;
    width: 186px;
    list-style: none;
    line-height: normal;
}

ul.gallery-items li.last {
    margin-right: 0;
}

.gallery-items .shadow {
    float: left;
    left: 4px;
    position: relative;
    top: 5px;
}

.gallery-items img {
    background: #ffffff;
    border: 1px solid #C9C9C9;
    bottom: 5px;
    display: block;
    padding: 5px;
    position: relative;
    right: 4px;
}

.gallery-items .caption a {
    clear: both;
    color: #000000;
    display: block;
    padding: 10px 0 0 0;
    text-decoration: none;
}

.gallery h3 {
    border-bottom: 1px solid #959595;
}


/* Gallery Photo Page
-------------------------------------------- */
#gallery-photo-page .menu {
    padding: 10px 0;
}

#gallery-photo-page .menu a, #gallery-photo-page .menu a:visited {
    background: #ffffff;
    color: #587682;
    display: inline-block;
    border: 1px solid #ffffff;
    padding: 5px 10px;
    text-decoration: none;
}

#gallery-photo-page .menu a:hover {
    border: 1px solid #587682;
    text-decoration: underline;
}

#gallery-photo-page .comments {
    padding: 0 20px;
}

#gallery-photo-page #photo {
    padding: 0 0 48px 0;
    text-align: center;
}


/* Pagination
-------------------------------------------- */
.pagination {
    padding: 10px 0 10px 0;
    position: relative;
    text-align: center;

    /*background-color: aqua;*/
}

.pagination a, .pagination a:visited, .current-page {
	background: #FFFFFF;
	border: 1px solid #DDDDDD;
    color: black;
    padding: 2px 6px;
	text-decoration: none;
}

.pagination a:hover {
	text-decoration: none;
	background: #efecec;
}

.pagination strong {
    color: #e31212;
	font-weight: bold;
}

.pagination .total-pages {
    padding: 5px 0 0 0;
}


/* Random gallery
-------------------------------------------- */
#random-gallery h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
}

#random-gallery-items li {
    padding-bottom: 10px;
}