div.gallery_header {
  height:           63px;
}

body.view_image {  
  background:       url(/images/layout/bg_with_small_header.png) repeat-x top left;
}

div.gallery_content {
  width:            800px;    
  padding:          1em 0px;
  margin-left:      auto;
  margin-right:     auto;
}

div.gallery_header div.paginator {
  font-size:    30pt;
  float:        right;
  line-height:  24pt;
  
}

div.gallery_header h1 {
  font-size:        25px;
  line-height:      22px;
  
}
div.gallery_header span.subheadline {

  display:          block;
}

content h3 {
  float: right;
}

div.gallery_header div.paginator span.previous,
div.gallery_header div.paginator span.next{
  font-weight:      bold;
}

div.gallery_header p {
  clear:            both;
  margin:           0px;
}

div.gallery_header div.back a {
  float:            left;
  font-weight:      bold;
  font-size:        25pt;
  line-height:      17pt;
  display:          block;
  width:            1.5em;
  font-family:      "Trebuchet MS";
  margin-left:      -1.5em;
  height:           1px;
}

/*
div.gallery.content {
  padding-top:      0px;
  clear:            both;
  border:           2px solid #888;
}
*/

div.gallery > div.thumbs {
  background:       url(/images/layout/gallery_thumbs_bg.png) repeat-x top left;
}

div.gallery div.content img {
  border:           1px solid #b1b1b1;
}

div.gallery div.content div.image {
  height:           610px;
  text-align:   center;
}

div.gallery div.content div.image img {  
  vertical-align:   middle;
  border:           3px solid #ccc;
}


div.gallery div.content div.functions {
  float:            right; 
}

div.direct_edit {
  border:           2px solid #888;
  background-color: #eee;
  font-size:        10pt;
  padding:          0.5em;
  color:            #000;
}

div.direct_edit label {
  width:          9em;
  display:        block;
  float:          left;
  text-align:     right;
}
div.direct_edit input {
  border:         1px solid #888;
  float:          left;
}


/*

div.gallery {
 width:				550px;
 float:				left;
 margin:			0px;
 padding:			0px;
}
*/

div.gallery div.thumb {
  float:				    left;
  margin-right:		  0px;
  margin-bottom:    4px;
}



div.gallery img {
 border:            0px solid #b1b1b1;
}


div.thumb.image {
  width:            133px;
  height:           100px;
  background:       url(/images/layout/thumbnail_small_background.png) no-repeat top left;
  float:            left;
  padding-top:      2px;
  padding-left:     2px;
  padding-right:     4px;
  padding-bottom:     4px;
}

div.thumb.image.current {
  background:       url(/images/layout/thumbnail_small_background_current.png) no-repeat top left;

}


/* ---- gallery block ------------------- */
div.block.gallery {
  width:            133px;
  margin:           1em;
}
div.block.gallery span {
  display:          block;
  text-align:       center;
}
div.block.gallery span.details {
  color:            #888;
}


span.subtitle {
  display:          block;
  font-size:        10pt;
  margin-top:       2pt;
}
