div#content div.photo-cat {
 margin: 1em .5em 0;
}

div#content div.photo-cat h4 {
 margin: 0 0 1em 0;
 padding: .2em .5em;
 background-color: #1c3664;
}

div.photo-height-wrapper {
 margin: 0 1em 1em 0;
 height: 195px;
 float: left;
}

div#content div.photo-cat h4 a,
div#content div.photo-cat h4 a:visited {
 color: #ffffff;
 text-decoration: none;
 display: block;
 font-size: .9em;
 text-align: center;
}

div#content a.photo-full,
div#content div.photo-box {
 background-color: #cccccc;
 margin: 0 auto;
 position: relative;
 top: 5px;
 left: 5px;
 display: inline-block;
 line-height: 0;
}

div#content div.photo-box {
 float: left;
}

div#content a.photo-full img {
 border: 1px solid #000000;
 padding: 5px;
 background-color: #ffffff;
 position: relative;
 bottom: 5px;
 right: 5px;
 float: left;
}

div#content div.photo-box img {
 border: 1px solid #000000;
 padding: 5px;
 background-color: #ffffff;
 position: relative;
 bottom: 5px;
 right: 5px;
 float: left;
}

div#content div.photo-cat p {
 clear: none;
 margin: 0;
 font-size: .9em;
}

div#content div.photo-cat p.cat-desc {
 margin: 0 0 1em;
 font-size: 1em;
}

div#content div.photo {
 border: 1px solid #ffffff;
 padding: 10px 10px 5px;
}

div#content h3 {
 margin: 0;
 padding: 1em 0 .5em;
}

div#photo-categories {
 overflow: hidden;
 border: 1px solid #000000;
 background-color: #fafcff;
 background-image: url('../images/highlightboxbg.gif');
 background-repeat: repeat-x;
 background-position: bottom left;
 padding: .5em;
 height: 1%;
}

div#content div#view-photo {
 width: 100%;
}

div#content div#photo-categories h3 {
 padding-top: .5em;
}

div#view-photo-inner {
 background-color: #fafcff;
 background-image: url('../images/highlightboxbg.gif');
 background-repeat: repeat-x;
 background-position: bottom left;
 border: 1px solid #000000;
 padding: 1em;
 overflow: hidden;
 height: 1%;
}

div#photo-details {
 text-align: center;
}

p.caption {
 clear: both;
 font-size: 1.2em;
 font-style: italic;
}

div#persontags,
div#glidertags {
 float: left;
 width: 50%;
 min-width: 25em;
 margin-bottom: 2em;
}

div#photo-info dl {
 margin-top: 1em;
}

div#photo-info dl dt {
 float: left;
 width: 10em;
 font-weight: bold;
 clear: left;
}

div#photo-info dl dd {
 margin-left: 10em;
}

div.photo-thumb {
 height: 130px;
 float: left;
 margin: 1em .5em;
}

p.nocomments,
p.nogalleries {
 font-style: italic;
}

div#content fieldset#fieldset-commenttext textarea {
 width: 100%;
 *width: 95%;
 height: 200px;
}

div#content ol#ol-imagecomments {
 width: 100%;
}

div#content ol#ol-imagecomments,
div#content ol#ol-imagecomments ol {
 list-style: none;
 margin: 1em 0;
}

div#content ol#ol-imagecomments li,
div.commentcontainer {
 background-color: #cccccc;
 margin: 1em 0;
 position: relative;
 left: 3px;
 top: 5px;
}

div#content ol#ol-imagecomments li li {
 margin-left: 3em;
}

div.imagecomment {
 background-color: #ffffff;
 border: 1px solid #000000;
 padding: .5em;
 position: relative;
 bottom: 5px;
 right: 5px;
 height: 100%;
}

div#content p {
 clear: left;
}

div#content p.comment-details {
 font-weight: bold;
 margin-top: 0;
 float: left;
}

div#content p.reply-link {
 float: right;
 margin-top: 0;
 clear: none;
}

div#content p.replies-label {
 font-weight: bold;
 margin-left: 3em;
}

div#content form#form-taguser,
div#content form#form-tagglider {
 border: none;
 background: none;
 padding: 0;
}

div#content form#form-taguser fieldset,
div#content form#form-tagglider fieldset {
 border: none;
 background: none;
 display: inline;
}

div#content form#form-taguser fieldset legend,
div#content form#form-taguser fieldset label.inline,
div#content form#form-tagglider fieldset legend,
div#content form#form-tagglider fieldset label.inline {
 position: absolute;
 left: -9999px;
 padding: 0;
 margin :0;
 background: none;
 border: none;
}

div#content form#form-taguser fieldset input.button,
div#content form#form-taguser select.dropdown,
div#content form#form-tagglider fieldset input.button,
div#content form#form-tagglider input.text {
 margin: 0;
}

div#content ul#ul-imagecategories,
div#content ul#ul-imagecategories ul {
 list-style: none;
 margin: 0;
}

div#content ul#ul-imagecategories ul {
 list-style: none;
 margin-left: 2em;
}

div#content ul#ul-imagecategories label {
 float: none;
}

div#content ul#ul-imagecategories input {
 float: none;
 margin: 0 .5em 0 30%;
}
