* { margin:0; padding:0; }

body { font:12px 'Trebuchet MS', Sans-Serif; color:#000; background:#fff; padding:5px; margin:5px; border:1px solid #ccc; }

h1 { padding:5px; border:1px solid #ccc; letter-spacing:-2px; font-size:30px; height:40px; background:#fff url(../../images/gradient-large.png) repeat-x bottom left; }
h1 a { text-decoration:none; }

.clear { clear:both; }

#admin { position:absolute; top:40px; right:15px; }
#admin li { float:left; list-style:none; margin:0 5px 0 10px; padding:0 5px 0 20px; background:transparent no-repeat center left; }
#admin li.admin { background-image:url(../../images/wrench.png); }
#admin li.upload_image { background-image:url(../../images/upload_image.png); }
#admin li.logout { background-image:url(../../images/logout.png); }
#admin li.login { background-image:url(../../images/login.png); }

img { border:0; }

a:link { color:#000; }
a:visited { color:#333; }
a:hover { color:#555; }

p { margin:1em 0; }
h1, h2 { margin:.5em 0; }

fieldset { margin:5px; padding:10px; }
legend { padding:3px 5px; }

div.image { float:left; width:166px; height:235px; margin:5px; border:1px solid #ccc; text-align:center; }

div.image h3, div.album h3 { border-bottom:1px solid #ccc; background:#eee; }

div.image img, img.fullimage { border:1px solid #ccc; margin:5px 3px; padding:2px; }

div.album { border:1px solid #ccc; }
div.album .link { float:left; width:175px; height:175px; }
div.album .link img { display:block; padding:7px; border:1px solid #ccc; margin:5px auto; }
div.album .meta { margin-left:176px; border-left:1px solid #ccc; }


div.album h3 { padding:2px 0 2px 30px; background:#eee url(../../images/album_icon.png) no-repeat center left; }
div.album h3 a.edit_album_meta { margin-left:15px; padding-left:20px; font-size:11px; font-weight:normal; background:transparent url(../../images/folder_edit.png) no-repeat center left; }

div.album .meta dl, div.album .meta p { margin:10px 0 0 20px; }

div.album .meta p { border-bottom:1px solid #ccc; padding-bottom:5px; margin-right:20px; }

div.album .meta dd { margin-left:20px; }
div.album .meta li.num_images { padding-left:20px; background:transparent url(../../images/images.png) no-repeat center left; }
div.album .meta li.total_filesize { padding-left:20px; background:transparent url(../../images/disks.png) no-repeat center left; }
div.album .meta li.last_modified { padding-left:20px; background:transparent url(../../images/time.png) no-repeat center left; }
div.album .meta dd.subalbums { background:none; padding:0; }
div.album .meta dd ul { list-style:none; }
div.album .meta dd.subalbums li { padding-left:20px; background:transparent url(../../images/folder.png) no-repeat center left; }

.topbar .subalbums { position:relative; overflow:auto; text-align:center; max-width:325px; margin:0 auto; padding:5px; border:1px solid #ccc; }
.topbar .subalbums li { float:left; list-style:none; border:1px solid #ccc; padding:5px; margin:5px; }
.topbar .subalbums img { max-height:70px; _height:70px; _width:70px; border:1px solid #ccc; padding:2px; }

div.image p, div.details p { margin:.1em 0; }

p#footer { clear:both; padding:.5em 0 0 0; border-top:1px solid #ccc; text-align:center; }

.pagination { clear:both; list-style:none; margin-top:10px; }
.pagination li { display:inline; }
.pagination a { padding:2px 7px; margin:2px; border:1px solid #ccc; }
.pagination a.active { background:#eee; }

#breadcrumbs { border:1px solid #ccc; padding:3px; background:transparent url(../../images/gradient.png) repeat-x bottom left; }
#breadcrumbs li { display:inline; }

#upload label { display:block; }
#upload input, #upload select, #upload textarea { display:block; width:350px; }
#upload textarea { height:100px; }
#upload p { margin:15px 0; }
#upload #submit { width:100px; margin:0; }

#edit_meta { cursor:pointer; }
#edit_meta_title, #edit_meta_description, #edit_meta_submit { display:block; margin:5px auto; }
#edit_meta_title, #edit_meta_description { width:300px; }
#edit_meta_submit { width:100px; }
#edit_meta_description { height:90px; }

#edit_album_meta_title { width:225px }
#edit_album_meta_submit, #edit_album_meta_description { margin-left:15px; }
#edit_album_meta_description { margin-top:5px; width:300px; }
.album_parent select { width:150px; }

.upload_meta_legend { cursor:pointer; }
#add_image_field { cursor:pointer; }

.upload_image_links { list-style:none; padding-left:2em; }

.show { background:transparent url(../../images/show.png) no-repeat center left; padding-left:15px; }
.hide { background:transparent url(../../images/hide.png) no-repeat center left; padding-left:15px; }

.topbar { position:relative; margin:10px 0; padding:5px 0; z-index:5; min-height:100px; border:1px solid #ccc; }
.topbar h3 { margin:0; border:0; }
.previous { position:absolute; left:10px; }
.previous p { background:transparent url(../../images/arrow_left.png) no-repeat center left; padding:0 0 0 20px; margin:0; }
.next { position:absolute; right:10px; text-align:right; }
.next p { background:transparent url(../../images/arrow_right.png) no-repeat center right; padding:0 20px 0; margin:0; }
.previous img, .next img { max-height:70px; _height:70px; _width:70px; }

.single-image { margin:0 auto; text-align:center; position:relative; z-index:0; }

.details { text-align:center; }
.single-image-sized .details { position:absolute; top:-100px; left:50%; width:400px; margin-left:-200px; }

#image-meta { border-collapse:collapse; margin:5px auto; }
#image-meta td, th { border:1px solid #ccc; padding:2px; }

div.admin { margin:10px 0; padding:10px; border:1px solid #ccc; }
div.admin ul { padding-left:20px; }
div.admin li { padding:5px 0; }
#admin-message { margin:10px 0; border:1px solid #ccc; padding:5px; }
#admin-message p { margin:0; }
