* { 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.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:190px; margin:5px; border:1px solid #ccc; text-align:center; }
div.image { height:270px; }

div.image h3, div.gallery h3 { border-bottom:1px solid #ccc; background:#eee; }

div.image img, img.fullimage { border:1px solid #ccc; margin:5px 3px; padding:2px; }

div.gallery { border:1px solid #ccc; }
div.gallery .link { float:left; width:175px; height:175px; }
div.gallery .link img { display:block; padding:7px; border:1px solid #ccc; margin:5px auto; }
div.gallery .meta { margin-left:176px; border-left:1px solid #ccc; }


div.gallery h3 { padding:2px 0 2px 30px; background:#eee url(../images/gallery_icon.png) no-repeat center left; }
div.gallery h3 a.edit_gallery_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.gallery .meta dl, div.gallery .meta p { margin:10px 0 0 20px; }

div.gallery .meta p { border-bottom:1px solid #ccc; padding-bottom:5px; margin-right:20px; }

div.gallery .meta dd { margin-left:20px; }
div.gallery .meta li.num_images { padding-left:20px; background:transparent url(../images/images.png) no-repeat center left; }
div.gallery .meta li.total_filesize { padding-left:20px; background:transparent url(../images/disks.png) no-repeat center left; }
div.gallery .meta li.last_modified { padding-left:20px; background:transparent url(../images/time.png) no-repeat center left; }
div.gallery .meta dd.sub_galleries { background:none; padding:0; }
div.gallery .meta dd ul { list-style:none; }
div.gallery .meta dd.sub_galleries li { padding-left:20px; background:transparent url(../images/folder.png) no-repeat center left; }

div.image p, div.details p { margin:.1em 0; }

div.details { border:1px solid #ccc; width:700px; padding:.5em; text-align:center; }

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_gallery_meta_title { width:225px }
#edit_gallery_meta_submit, #edit_gallery_meta_description { margin-left:15px; }
#edit_gallery_meta_description { margin-top:5px; width:300px; }
.gallery_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; }