.img_float_right {
  max-width: 300px;
}

.img_float_left {
  max-width: 300px;
}

#global-main .gallery {
    margin-left:  20px;
    padding-top:  3px;
    width:  406px;
    float:  right;
    margin-top:  10px;
    background-color:  #183D61;
    /*max-height:  366px;*/
}

#viewer {
  width: 290px;
  height:  292px;
  position:  relative;
  text-align:  center;
  background-color:  #97bfcb;
}

#viewer img {
  max-width:  292px;
  max-height:  292px;
  display:  block;
}

#thumbnails {
  width:  114px;
  float:  right;
  margin:  0px;
  margin-left:  -3px;
  padding:  0px;
  height:  292px;
  overflow:  auto;
  background-color:  #97bfcb;
  
}

#thumbnails #thumbs {
  width: 84px;
  margin-left:  auto;
  margin-right:  auto;

}

#thumbnails #thumbs img {
  /*
  display:  block;
  float:  left;
  */
  max-height:  36px;
  max-width:  36px;
  margin:  1px;
  border:  2px solid #183D61;
}

#gallery_image_context {
  position:  absolute;
  left: 0;
  width:  292px;
  text-align:  left;
  background-image:  url(../images/opacity_50.183D61.png);
  /*margin-top: -100%; -292px;*/
  /*display:  none;*/
}

.image_tag_controls {
  max-width:  100px;
  background-color:  #183D61;
  height:  12px;
  text-align:  left;
  padding: 3px;
}

.image_tag_controls a:link {
  color:  #97bfcb;
}

#image_tag_description {
  text-align:  left;
  color:  #fff;
  padding:  6px;
}
/*
#viewer {
  width: 310px;
  background-color:  #fff;
  overflow:  hidden;
}

#viewer img {
  display:  block;
  min-width:  300px;
  min-height:  300px;
  border:  5px solid #183D61;

}

#thumbs {
  width:  114px;
  overflow: auto;
  float:  right;
  margin:  0px;
  max-height:  310px;
}

#thumbs a {
  display:  block;
  margin:  2px;
  padding-left:  2px;
  padding-right:  2px;
  float:  left;
}

#thumbs img {
  border:  2px solid #183D61;
}

*/
#global-main h3 {
  font-weight:  bold;
  font-size: 1.25em;
  margin-bottom:  5px;
  margin-top:  15px;
  padding:  0px;
}
#global-main p {
  margin-top:  5px;
  margin-bottom: 5px;
}

#tags {
  font-size:  11px;
  padding-top:  0px;
  background-color:  #97bfcb;
  clear:  both;
}

div.gallery #tags h3 {
  border-bottom:  5px solid #000033;
  margin-bottom:  5px;
  margin-top:  10px;
  padding-top:  5px;
  padding-bottom:  2px;
  padding-left:  10px;
  padding-right:  10px;
  background-color:  #183D61;
  /*color:  #DFD2b6;*/
  color:  #fff;
  font-weight:  normal;

}

#tags a:link, a:visited { color:  #000033; }
#tags a:hover, a:active { color: #183d61; }

#tags p {
  padding-left:  10px;
  padding-right:  10px;
  padding-bottom:  5px;
}