body {
  border: 0;
  margin: 0;
  padding: 0;
  font-size: 10px;
  font-family: Verdana, Tahoma, Arial;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
/* End hide from IE-mac */

div, p, h1, h2 {
  display: block;
  float: none;
  clear: none;
  margin: 0;
  padding: 0;
  border: 0;
  font-family: Tahoma, Arial, sans-serif;
  font-size: 10px;
  font-weight: normal;
}

div#gallery_page {
  border: 3px solid #ccc;
  padding: 3px;
  width: 744px;
  height: 636px;
}

div#gallery_header {
  width: 744px;
  height: 46px;
  left: 3px;
  top: 3px;
  background: #000 url(kepek/gallery_header.png) no-repeat left top;
}

h1, h2 {
  color: #fff;
}

h1 {
  font-weight: bold;
  float: left;
}

h1 a {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  width: 150px;
  height: 46px;
}

h1 a span {
  display: none;
}

h2 {
  margin: 0 0 0 160px;
  padding: 17px 0 0 0;
  height: 29px;
  font-size: 11px;
  letter-spacing: 1px;
}

h2 span {
  font-weight: bold;
}

div#gallery_body {
  position: relative;
  height: 590px;
}

div#gallery_content {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  right: 172px;
}

div#gallery_navigation {
  margin: 5px 0;
  height: 27px;
  background-color: #f7f8fc;
  position: relative;
  text-align: center;
}

a#gallery_navigation_prior:link,
a#gallery_navigation_prior:visited,
a#gallery_navigation_prior:hover {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 82px;
  height: 27px;
  background: #fff url(kepek/gallery_navigate_prior.png) no-repeat left top;
}

a#gallery_navigation_prior:hover {
  background: #fff url(kepek/gallery_navigate_prior.png) no-repeat 0 -27px;
}

a#gallery_navigation_next:link,
a#gallery_navigation_next:visited,
a#gallery_navigation_next:hover {
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  width: 82px;
  height: 27px;
  background: #fff url(kepek/gallery_navigate_next.png) no-repeat right top;
}

a#gallery_navigation_next:hover {
  background: #fff url(kepek/gallery_navigate_next.png) no-repeat right -27px;
}

a#gallery_navigation_prior span,
a#gallery_navigation_next span {
  display: none;
}

p#gallery_navigation_counter {
  padding: 4px 0 0 0;
  height: 23px;
  text-align: center;
  font-size: 12px;
  font-weight: bold;
}

div#gallery_preview {
  min-height: 553px;
  position: relative;
}

div#gallery_preview_image {
  border: 8px solid #575757;
  position: absolute;
  background: #616161 url(kepek/gallery_preview_bg.jpg) repeat-x left top;
  left: 0;
  right: 0;
  top: 0;
  bottom: 80px;
}

a#closethumbnails:link,
a#closethumbnails:visited,
a#closethumbnails:hover {
  display: block;
  position: absolute;
  width: 14px;
  height: 80px;
  top: 10px;
  right: 0;
  background: transparent url(kepek/gallery_closethumbnail.jpg) no-repeat left top;
}

a#closethumbnails:hover {
  background: transparent url(kepek/gallery_closethumbnail.jpg) no-repeat left -80px;
}

a#closethumbnails span {
  display: none;
}

a#openthumbnails:link,
a#openthumbnails:visited,
a#openthumbnails:hover {
  display: none;
  position: absolute;
  width: 14px;
  height: 80px;
  top: 10px;
  right: 0;
  background: transparent url(kepek/gallery_openthumbnail.jpg) no-repeat left top;
}

a#openthumbnails:hover {
  background: transparent url(kepek/gallery_openthumbnail.jpg) no-repeat left -80px;
}

a#openthumbnails span {
  display: none;
}

a#closedescription:link,
a#closedescription:visited,
a#closedescription:hover {
  display: none;
  position: absolute;
  width: 80px;
  height: 14px;
  left: 10px;
  bottom: 0;
  background: transparent url(kepek/gallery_closepicturedata.jpg) no-repeat left top;
}

a#closedescription:hover {
  background: transparent url(kepek/gallery_closepicturedata.jpg) no-repeat left -14px;
}

a#closedescription span {
  display: none;
}

a#opendescription:link,
a#opendescription:visited,
a#opendescription:hover {
  display: none;
  position: absolute;
  width: 80px;
  height: 14px;
  left: 10px;
  bottom: 0;
  background: transparent url(kepek/gallery_openpicturedata.jpg) no-repeat left top;
}

a#opendescription:hover {
  background: transparent url(kepek/gallery_openpicturedata.jpg) no-repeat left -14px;
}

a#opendescription span {
  display: none;
}

table#gallery_preview_table {
  position: absolute;
  width: 100%;
  height: 100%;
}

table#gallery_preview_table td {
  text-align: center;
  vertical-align: middle;
}

a#gallery_currentpicture_link:link img#previewpicture,
a#gallery_currentpicture_link:visited img#previewpicture {
  padding: 4px;
  border: 1px solid #aaa;
  background-color: #fff;
}

a#gallery_currentpicture_link:hover img#previewpicture {
  padding: 4px;
  border: 1px solid #222;
  background-color: #222;
}

div#gallery_preview_description {
  display: none;
  position: absolute;
  background-color: #fff;
  left: 0;
  right: 0;
  bottom: 0;
  height: 80px;
}

p#picturedata_shortname,
p#picturedata_description {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  padding: 0 0 0 10px;
}

p#picturedata_shortname {
  font-size: 12px;
  font-weight: bold;
  margin-top: 4px;
  padding-top: 4px;
  border-top: 1px solid #e2e2e2;
}

p#picturedata_description {
  font-size: 11px;
}

div#gallery_thumbnails {
  position: absolute;
  width: 172px;
  top: 0;
  bottom: 0;
  right: 0;
}

div#gallery_thumbnails_list {
  margin: 37px 0 0 0;
  padding-top: 8px;
  background-color: #575757;
  height: 455px;
  overflow: auto;
}

div.gallery_thumbnails {
  float: left;
  border: 3px solid #575757;
  width: 70px;
  height: 70px;
  background: transparent none no-repeat center center;
}

div.gallery_thumbnails_hover {
  border: 3px solid #ccc;
}

div.gallery_thumbnails a {
  display: block;
  width: 100%;
  height: 100%;
}

div.gallery_thumbnails a span {
  display: none;
}

#fotomarket_advert {
  position: absolute;
  background-color: #575757;
/*  padding: 7px 10px 3px 10px; */
  padding: 0 10px 0 10px;
  left: 0;          
  right: 0;
  bottom: 0;
  height: 90px;
}

.fotomarket_product {
  float: left;
  width: 340px;
  height: 80px;
  overflow: hidden;
}

.fotomarket_product_image {
  float: left;
  background-color: #fff;
  padding: 5px 0;
  margin-right: 10px;
  margin-bottom: 10px;
}

.fotomarket_product_image img {
  border: 0;
}

.fotomarket_product_productname {
  font-size: 12px;
  margin-bottom: 5px;
  width: 225px;
  height: 14px;
  overflow: hidden;
}

.fotomarket_product a:link,
.fotomarket_product a:visited {
  color: #ffd200;
  text-decoration: none;
}

.fotomarket_product a:hover {
  color: #e6ff3c;
  text-decoration: none;
}

.fotomarket_product_descdatasheet {
  display: none;
}

.fotomarket_product_desclist {
  margin-bottom: 5px;
  width: 225px;
  height: 36px;
  overflow: hidden;
}

.fotomarket_product_price {
  font-size: 11px;
}

.fotomarket_product_price_label {
  color: #e6ff3c;
}

.fotomarket_product_price_content {
  color: #e6ff3c;
  font-size: 12px;
  font-weight: bold;
}

#gallery_adtext {
  font-size: 12px;
}

#gallery_adtext a {
  color: #00c;
  text-decoration: underline;
}

#gallery_adtext a:hover {
  color: #333;
  text-decoration: none;
}

