div#gallery .break {
    height: 0px;
    width: 0px;
    clear: both;
}

div#gallery form {
    padding: 0;
    margin: 0;
}

div#gallery form fieldset {
    margin: 10px 0 10px 0;
}

div#gallery label {
    width: 100px;
    float: left;
    font-weight: bold;
    font-size: 0.9em;
    margin-bottom: 12px;
}

div#gallery select {
    width: auto;
}
div#gallery select option {
    padding: 0 3px 0 3px;
}

/* TOOLBAR */ 
#gallery {
    margin: 0 8px 0 6px;
}

#galleryToolbar {
    height: 24px;
    position: relative;
    top: -1px;
    left: -1px;

    background-color: #6B85AB;
    background-image: url(images/toolbar_decoration.jpg);
    background-repeat: no-repeat;
    background-position: bottom right;
    border-bottom: 1px solid #597096;
    border-right: 1px solid #597096;

    font-family: Arial, Verdana, sans-serif;
    font-size: 8pt;
}

.shadow {
    position: relative;
    top: 1px;
    left: 1px;
    background-color: #C2C2C2;
    border-bottom: 1px solid #D1D1D1;
    border-right: 1px solid #D1D1D1;
}

#galleryToolbar .linkCollection {
    position: relative;
    left: 13px;
    top: 5px;
    height: 24px;
    padding-right: 13px;
    float: left;
}

#galleryToolbar .linkCollection a {
    color: white;
}

#galleryToolbar .linkCollection img {
    width: 1px;
    height: 10px;
    margin: 0 7px;
    margin-bottom: -2px;
}


#galleryToolbar form  {
    float: right;
}

#galleryToolbar form input {
    position: relative;
    float: left;
    top: 5px;
    width: 97px;
    height: 13px;
    padding: 0 0 0 4px;

    border: 1px solid #687C9B;
    font-size: 8pt;
}

#galleryToolbar form input.submit {
    top: 4px;
    width: auto;
    height: auto;
    margin-right: 6px;
    background: transparent;
    border: none;
}

#gallery .navigation {
    padding: 18px 0 20px 17px;
}

#gallery .navigation.gallery,
#gallery .navigation.search,
#gallery .navigation.lastImages {
    background-image: url('images/folder.gif');
    background-position: 18px 17px;
    background-repeat: no-repeat;
}

#gallery .navigation.image {
    background-image: url('images/painting.gif');
    background-position: 11px 17px;
    background-repeat: no-repeat;
}

#gallery * {
    font-family: Arial, Helvetica, Verdana, sans-serif;
}

#gallery .navigation h1 {
    margin: 0 0 0 73px;
    font-size: 20pt;
    color: #42597C;
}

#gallery .navigation .breadcrumbs {
    margin-left: 75px;
    font-size: 8pt;
}

#gallery .navigation .breadcrumbs a {
    color: black;
}

#gallery .navigation .breadcrumbs img {
    margin: 0px 6px 0px 5px;
}

#gallery .lineSeparator {
    height: 6px;
    margin: 0 2px 0 1px;
    line-height: 1px;
    font-size: 1px;

    background-image: url('images/line-separator.gif');
    background-repeat: repeat-x;
    background-position: top left;
}


#galleryListing {
    margin: 3px 6px 0 0;
    clear: both;
}

#imageListing h2,
#galleryListing h2 {
    margin: 17px 7px 12px 7px;
    color: #42597C;
    font-size: 13.5pt;
    text-transform: uppercase;
    font-weight: normal;
}

#galleryListing .gallery {
    margin: 0 7px 12px 7px;
    clear: both;
}

#galleryListing .gallery .image a {
    float: left;
    padding: 2px;
    margin-right: 18px;
    border: 1px solid #ddd;
}

#galleryListing .gallery .image a:hover {
    border-color: silver;
}

#galleryListing .gallery h3 {
    margin: 0;
    margin-bottom: 6px;
    position: relative;
}

#galleryListing .gallery h3 a {
    color: #42597C;
    font-size: 13pt;
}

#galleryListing .gallery p {
    margin-bottom: 9px;
    max-height: 3.5em;
    overflow: hidden;
    font-family: Verdana, Helvetica, Arial, sans-serif;
}

#galleryListing .gallery .numImages {
    display: inline;
    background-image: url('images/numImages.gif');
    background-repeat: no-repeat;
    background-position: center left;

    margin-right: 15px;
    padding-left: 25px;
}

#galleryListing .gallery .numGalleries {
    display: inline;
    background-image: url('images/numFolders.gif');
    background-repeat: no-repeat;
    background-position: center left;

    margin-right: 15px;
    padding-left: 25px;
}


/* END GALLERY STYLES */


.contextSeparator {
    background-image: url('images/context-separator.gif');
    background-position: center center;
    background-repeat: no-repeat;
    height: 28px;
    width: 548px;
}


#galleryContainer #loginBox label {
    float: left;
    margin-bottom: 5px;
    width: 15%;
}

#galleryContainer {
    margin: 10px 10px;
}

/* Gallery listing */

/* IMage listing */

#dragAndDropHelp {
    padding: 5px;
    background-color: #ffa;
    border: 1px solid purple;
    margin-bottom: 1em;
}

#dragAndDropHelp a {
    background-color: #999;
    padding: 0 3px;
    font-weight: bold;
}

#dragAndDropHelp a:hover {
    background-color: transparent;
    cursor: pointer;
}

#imageListing #imageGroup {
    padding: 0;
    margin: 0;
    height: 100%;
    list-style-position: outside;
    list-style-type: none;
}


#imageListing  #imageDrop {
    border: 1px solid red;
}

#imageListing #imageGroup li {
    float: left;
}
#imageListing #imageGroup li div {
    width: 120px;
    margin: 1px 7px 11px 7px;
    padding: 2px;

    border: 1px solid silver;

    text-align: center;
    font-size: 0;
    line-height: 1px;
}


#imageListing #imageGroup li div.toolbar {
    margin: 5px 0 2px 0;
    padding: 2px;
    width: auto;
    cursor: move;

    background-color: #fff;
    text-align: left;
}
#imageListing #imageGroup li div.toolbar a {
    font-size: 10pt;
}

#imageListing #imageGroup li.marked div.toolbar {
    background-color: #ffa;
}

#imageListing #imageGroup li.markedByOther div.toolbar {
    background-color: #ddd;
}

/*
#imageListing ul li div img {
    border: none;
}
*/

/* Admin top box */
#galleryAdminTools {
    margin: 0;
    padding: 10px;
    background-color: #ddd;
    border: 1px solid silver;
}

#galleryAdminTools input {
    float: left;
}

#galleryAdminTools input[type="text"] {
    width: 50px;
    display: block;
}

/* IMAGE DISPLAY */
#imageDisplay {
    margin: 0;
    font-size: 8pt;
}

#imageText ul {
    padding: 0px;
}

#imageText li {
    list-style-type: none;
}

#imageText li:hover {
    background: #8BA6CC;
    color: white;
    font-weight: bold;
}

#imageText #exifData,
#imageText #imageData {
    margin-top: 15px;
    border: 1px solid #6B85AB;
}

#imageText #exifData .fieldheader,
#imageText #imageData .fieldheader {
    padding: 3px 6px 4px 6px;
    background-color: #6B85AB;
    color: white;
    font-weight: bold;
    font-size: 10pt;
}

#imageText .field0 {
    padding: 4px;
    background-color: white;
}

#imageText .field1 {
    padding: 4px;
    background-color: #e9e9e9;
}

#imageText .label {
    padding-left: 2px;
    width: 155px;
    float: left;
    white-space: nowrap;
}

#imageText .value {
    margin-left: 155px;
    display: block;
    font-size: 8pt;
    font-weight: normal;
}

#imageText .value a {
    color: #42597C;
}
#imageText .value:hover a:hover {
    text-decoration: underline;
}

#imageFull {
    line-height: 1px;
    font-size: 1px;
    text-align: center;
}

#nextImageContainer {
    float: right;
    display: block;
    width: 130px;
}

#fullsizeImage {
    float: left;
    width: 300px;
    margin-top: 10px;
    text-align: center;
}
#fullsizeImage a {
    font-size: 13pt;
}

#prevImageContainer {
    display: block;
    float: left;
    width: 130px;
    height: 120px;
}

#nextImage, 
#previousImage {
    margin-top: 10px;
    padding: 4px;
    border: 1px solid #cacaca;
    text-align: center;
}

#nextImage:hover,
#previousImage:hover {
    border: 1px solid #999;
}

#nextImage img,
#previousImage img {
    display: block;
    margin-bottom: 3px;
}

#nextImage a,
#previousImage a {
    color: #333;
}

#galleryEdit label {
    margin: 5px 20px 0px 5px;
}

#galleryEdit img {
    margin: 3px;
}

#galleryEdit fieldset {
    border: 1px solid silver;
}

#galleryEdit legend {
    font-weight: bold;
}


