#gallery ul{
list-style: none;
clear: both;
text-align: center;
}

#gallery table{
}

#gallery td {
width: 33% !important;
text-align: center;
border: ridge 3px #444;
background: white;
margin: 0;
padding: 1em 0;
}

#gallery td a {
display: block;
padding: 0;
text-decoration: none;
color: #111;
}

#gallery .media-infos {
}

#gallery p.disp-link {
display: none;
padding: 0;
margin: .5em 0;
text-align: left;
}

#gallery a.disp-link {
display: inline;
text-decoration: underline;
color: #8A0000;
padding: 0;
margin: .5em 0;
text-align: left;
}

#gallery td h2{
font-family: Lucida Sans Unicode, sans-serif;
text-align: center;
font-weight: normal;
font-size: 1em;
line-height: 1em;
color: #111;
}

#gallery td p{
font-family: Lucida Sans Unicode, sans-serif;
text-align: center;
font-weight: normal;
font-size: 0.9em;
line-height: 0.9em;
color: #111;
}

#gallery td p.disp-infos {
display: none;
font-weight: normal;
font-size: 0.9em;
line-height: 0.9em;
padding: .25em 0;
margin: .25em 0;
border-top: 1px solid #d0d0d0;
}

#gallery img{
border: none;
}

#gallery img.thumb-small {
max-width: 150px;
max-height: 150px;
}

#gallery img.thumb-large {
max-width: 400px;
max-height: 400px;
}

#gallery .backlink a{
font-family: Lucida Sans Unicode, sans-serif;
font-size: 0.8em;
line-height: 0.8em;
}

#gallery .image {
text-align: center;
padding: 1em;
margin: 0;
border: ridge 3px #444;
background: white url(../img/image.png) repeat 0 0;
}

#gallery .video {
text-align: center;
padding: 1em;
border: ridge 3px #444;
background: white url(../img/video.png) repeat 0 0;
}

#gallery .comment {
font-size: 1em;
line-height: 1em;
text-align: left;
}

#gallery .counters {
clear: both;
padding: .2em 0;
}

#gallery #album-items ul{
list-style: none;
margin-bottom: .2em;
padding: 0;
}

#gallery #album-items li {
float: left;
border: ridge 2px #444;
background: white;
font-family: Lucida Sans Unicode, sans-serif;
font-size: 1em;
line-height: 1em;
padding: .4em .4em .4em .4em;
}

#gallery #album-items li a {
text-decoration: none;
}

#gallery #album-items li.current {
text-decoration: none;
background: #8A0000;
}

#gallery #album-items li.current a{
color: white;
}
