div.yoo-gallery {
  overflow: hidden;
}

div.yoo-gallery img {
  border: 0;
}

div.yoo-gallery div.thumbnails { 
  margin: 2px 0;
}

/* slideshow */
div.yoo-gallery div.slideshow-bg {
  margin-bottom: 10px;
}

div.default div.yoo-gallery div.thumbnail {
  padding: 2px;
  float: left;
}

div.default div.yoo-gallery div.thumbnail-bg {
  padding: 1px;
  border: 1px solid #c8c8c8;
  background: #ffffff;
  float: left;
}

div.default div.yoo-gallery div.thumbnail img {
  float: left;
}

.yootools-black div.default div.yoo-gallery div.thumbnail-bg {
  border: 1px solid #464646;
  background: #141414;
}


div.polaroid div.yoo-gallery div.thumbnail {
  padding: 15px;
  float: left;
  position: relative;
}

div.polaroid div.yoo-gallery div.polaroid-m {
  border: 1px solid #c8c8c8;
  background: #ffffff url("styles/thumbnail_polaroid/images/polaroid_m.png") 0 100% repeat-x;
  float: left;
}

div.polaroid div.yoo-gallery div.polaroid-l {
  background: url("styles/thumbnail_polaroid/images/polaroid_l.png") 0 100% no-repeat;
  float: left;
}

div.polaroid div.yoo-gallery div.polaroid-r {
  padding:6px 6px 18px 6px;
  background: url("styles/thumbnail_polaroid/images/polaroid_r.png") 100% 100% no-repeat;
  float: left;
}

div.polaroid div.yoo-gallery div.tape {
  position: absolute;
  top: 1px;
  left: 50%;
  z-index: 1;
  width: 78px;
  height: 28px;
  margin-left: -37px;
  background: url("styles/thumbnail_polaroid/images/tape.png") 0 0 no-repeat; /* ie6png:crop */
}

div.polaroid div.yoo-gallery div.thumbnail img {
  float: left;
}

div.rounded div.yoo-gallery div.thumbnail {
  padding: 7px;
  float: left;
  position: relative;
}

div.rounded div.yoo-gallery div.corner-tl,
div.rounded div.yoo-gallery div.corner-tr,
div.rounded div.yoo-gallery div.corner-bl,
div.rounded div.yoo-gallery div.corner-br {
  position: absolute;
  width: 8px;
  height: 8px;
  z-index: 1;
}

div.rounded div.yoo-gallery div.corner-tl {
  top: 7px;
  left: 7px;
  background: url("styles/thumbnail_rounded/images/corners.png") -8px -8px no-repeat; /* ie6png:crop */
}

div.rounded div.yoo-gallery div.corner-tr {
  top: 7px;
  right: 7px;
  background: url("styles/thumbnail_rounded/images/corners.png") 0 -8px no-repeat; /* ie6png:crop */
}

div.rounded div.yoo-gallery div.corner-bl {
  bottom: 7px;
  left: 7px;
  background: url("styles/thumbnail_rounded/images/corners.png") -8px 0 no-repeat; /* ie6png:crop */
}

div.rounded div.yoo-gallery div.corner-br {
  bottom: 7px;
  right: 7px;
  background: url("styles/thumbnail_rounded/images/corners.png") 0 0 no-repeat; /* ie6png:crop */
}

div.rounded div.yoo-gallery div.thumbnail img {
  float: left;
}

.yootools-black div.rounded div.yoo-gallery div.corner-tl {
  background: url("styles/thumbnail_rounded/black/images/corners.png") -8px -8px no-repeat; /* ie6png:crop */
}

.yootools-black div.rounded div.yoo-gallery div.corner-tr {
  background: url("styles/thumbnail_rounded/black/images/corners.png") 0 -8px no-repeat; /* ie6png:crop */
}

.yootools-black div.rounded div.yoo-gallery div.corner-bl {
  background: url("styles/thumbnail_rounded/black/images/corners.png") -8px 0 no-repeat; /* ie6png:crop */
}

.yootools-black div.rounded div.yoo-gallery div.corner-br {
  background: url("styles/thumbnail_rounded/black/images/corners.png") 0 0 no-repeat; /* ie6png:crop */
}


div.cut div.yoo-gallery div.thumbnail {
  padding: 15px;
  float: left;
  position: relative;
}

div.cut div.yoo-gallery div.thumbnail-bg {
  padding: 4px;
  border: 1px solid #c8c8c8;
  background: #ffffff;
  float: left;
}

div.cut div.yoo-gallery div.corner-tl,
div.cut div.yoo-gallery div.corner-tr,
div.cut div.yoo-gallery div.corner-bl,
div.cut div.yoo-gallery div.corner-br {
  position: absolute;
  width: 25px;
  height: 25px;
  z-index: 1;
}

div.cut div.yoo-gallery div.corner-tl {
  top: 12px;
  left: 12px;
  background: url("styles/thumbnail_cutted/images/corners.png") -25px -25px no-repeat; /* ie6png:crop */
}

div.cut div.yoo-gallery div.corner-tr {
  top: 12px;
  right: 12px;
  background: url("styles/thumbnail_cutted/images/corners.png") 0 -25px no-repeat; /* ie6png:crop */
}

div.cut div.yoo-gallery div.corner-bl {
  bottom: 12px;
  left: 12px;
  background: url("styles/thumbnail_cutted/images/corners.png") -25px 0 no-repeat; /* ie6png:crop */
}

div.cut div.yoo-gallery div.corner-br {
  bottom: 12px;
  right: 12px;
  background: url("styles/thumbnail_cutted/images/corners.png") 0 0 no-repeat; /* ie6png:crop */
}

div.cut div.yoo-gallery div.thumbnail img {
  float: left;
}

.yootools-black div.cut div.yoo-gallery div.thumbnail-bg {
  border: 1px solid #323232;
  background: #141414;
}

.yootools-black div.cut div.yoo-gallery div.corner-tl {
  background: url("styles/thumbnail_cut/black/images/corners.png") -25px -25px no-repeat; /* ie6png:crop */
}

.yootools-black div.cut div.yoo-gallery div.corner-tr {
  background: url("styles/thumbnail_cut/black/images/corners.png") 0 -25px no-repeat; /* ie6png:crop */
}

.yootools-black div.cut div.yoo-gallery div.corner-bl {
  background: url("styles/thumbnail_cut/black/images/corners.png") -25px 0 no-repeat; /* ie6png:crop */
}

.yootools-black div.cut div.yoo-gallery div.corner-br {
  background: url("styles/thumbnail_cut/black/images/corners.png") 0 0 no-repeat; /* ie6png:crop */
}


div.plain div.yoo-gallery div.thumbnail {
  float: left;
}

div.plain div.yoo-gallery div.thumbnail img {
  float: left;
}