.rondell-container {
  overflow: hidden;
  display: block;
  position: relative;
  font-size: 12px;
}
.rondell-container.rondell-initializing {
  background: url("../images/loader.gif") no-repeat 50% 50%;
}
.rondell-container.rondell-initializing * {
  display: none;
}

.rondell-item {
  position: absolute;
  display: block;
  border: 1px solid #ccc;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  top: 0;
  left: 0;
  opacity: 1;
}
.rondell-item a {
  cursor: pointer;
  color: #fff;
  text-decoration: none;
}
.rondell-item .rondell-item-crop {
  border-radius: inherit;
  -o-border-radius: inherit;
  -moz-border-radius: inherit;
  -webkit-border-radius: inherit;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.rondell-item img {
  vertical-align: bottom;
  display: block;
  margin: 0 auto;
}
.rondell-item img.rondell-item-resizeable {
  width: 100%;
  height: 100%;
}
.rondell-item:hover {
  border-color: #bbb;
}
.rondell-item:hover, .rondell-item:hover div, .rondell-item:hover p {
  text-decoration: none;
}

.rondell-item-loading {
  background: #d9d9d9 url("../images/item-loader.gif") no-repeat center center !important;
  border-radius: 5px;
  -o-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.rondell-item-loading * {
  display: none !important;
}

.rondell-item-error {
  background: #b33 !important;
  background-color: rgba(200, 0, 0, 0.1) !important;
  border-radius: 5px;
  -o-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
}
.rondell-item-error p {
  color: #333;
  text-align: center;
  font-size: 18px;
  padding: 20px;
}

.rondell-item-focused, .rondell-item-focused a {
  cursor: auto;
}

.rondell-caption {
  position: absolute;
  margin: 5px;
  padding: 5px;
  color: #333;
  overflow-x: hidden;
  overflow-y: auto;
  height: auto;
  width: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-decoration: none;
}
.rondell-caption a {
  text-decoration: underline;
}
.rondell-caption p {
  margin: 4px 0;
}
.rondell-caption.rondell-item-overlay {
  top: auto;
  position: absolute;
  padding: 3px 8px;
  display: none;
  color: #fafafa;
  background-color: #333;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  -o-border-radius: 4px;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
}

.rondell-control {
  position: absolute;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  padding: 4px 8px;
  display: block;
  text-decoration: none;
  background: #f5f5f5;
  text-shadow: 0 1px 1px #ccc;
  opacity: 0;
}
.rondell-control:hover {
  background: #fafafa;
  text-decoration: none;
}

/* rondell scrollbar  */
.rondell-scrollbar {
  width: 100%;
  height: 20px;
  position: absolute;
}
.rondell-scrollbar.rondell-scrollbar-bottom {
  bottom: 10px;
}
.rondell-scrollbar .rondell-scrollbar-background {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  margin: 0 10px;
  background-color: #eee;
  height: 1px;
}
.rondell-scrollbar .rondell-scrollbar-left,
.rondell-scrollbar .rondell-scrollbar-right {
  top: 2px;
  width: 16px;
  height: 16px;
  background-color: #ccc;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #cccccc, #bbbbbb);
  background-image: -moz-linear-gradient(top, #cccccc, #bbbbbb);
  background-image: -ms-linear-gradient(top, #cccccc, #bbbbbb);
  background-image: -o-linear-gradient(top, #cccccc, #bbbbbb);
  background-image: linear-gradient(top, #cccccc, #bbbbbb);
}
.rondell-scrollbar .rondell-scrollbar-left:active,
.rondell-scrollbar .rondell-scrollbar-right:active {
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #cccccc, #dddddd);
  background-image: -moz-linear-gradient(top, #cccccc, #dddddd);
  background-image: -ms-linear-gradient(top, #cccccc, #dddddd);
  background-image: -o-linear-gradient(top, #cccccc, #dddddd);
  background-image: linear-gradient(top, #cccccc, #dddddd);
}
.rondell-scrollbar .rondell-scrollbar-inner {
  width: 14px;
  height: 14px;
  display: block;
  background: url("../images/arrows.png") no-repeat 0 0;
}
.rondell-scrollbar .rondell-scrollbar-left {
  left: 6px;
}
.rondell-scrollbar .rondell-scrollbar-left .rondell-scrollbar-inner {
  background-position: 0 -16px;
}
.rondell-scrollbar .rondell-scrollbar-right {
  right: 6px;
}
.rondell-scrollbar .rondell-scrollbar-control,
.rondell-scrollbar .rondell-scrollbar-left,
.rondell-scrollbar .rondell-scrollbar-right {
  cursor: pointer;
  position: absolute;
  border: 1px solid #ccc;
  border-radius: 12px;
  -o-border-radius: 12px;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
}
.rondell-scrollbar .rondell-scrollbar-control {
  left: 50%;
  top: 4px;
  width: 12px;
  height: 12px;
  margin-left: -6px;
  background-color: #c00;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, red, #bb0000);
  background-image: -moz-linear-gradient(top, red, #bb0000);
  background-image: -ms-linear-gradient(top, red, #bb0000);
  background-image: -o-linear-gradient(top, red, #bb0000);
  background-image: linear-gradient(top, red, #bb0000);
}
.rondell-scrollbar .rondell-scrollbar-control:active {
  background: #d00;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #ee0000, #dd0000);
  background-image: -moz-linear-gradient(top, #ee0000, #dd0000);
  background-image: -ms-linear-gradient(top, #ee0000, #dd0000);
  background-image: -o-linear-gradient(top, #ee0000, #dd0000);
  background-image: linear-gradient(top, #ee0000, #dd0000);
}
.rondell-scrollbar .rondell-scrollbar-control.rondell-scrollbar-dragging, .rondell-scrollbar .rondell-scrollbar-control:hover {
  top: 3px;
  width: 14px;
  height: 14px;
  margin-left: -7px;
}

.boxshadow.rgba .rondell-scrollbar-control {
  border: 0;
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}
.boxshadow.rgba .rondell-scrollbar-control:hover {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.boxshadow.rgba .rondell-scrollbar-control:active {
  -webkit-box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 5px -1px rgba(0, 0, 0, 0.6);
}
.boxshadow.rgba .rondell-scrollbar-left,
.boxshadow.rgba .rondell-scrollbar-right {
  border: 0;
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.boxshadow.rgba .rondell-scrollbar-left:hover,
.boxshadow.rgba .rondell-scrollbar-right:hover {
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}
.boxshadow.rgba .rondell-scrollbar-left:active,
.boxshadow.rgba .rondell-scrollbar-right:active {
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3) inset;
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3) inset;
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3) inset;
}

/* themes */
/* default theme */
.boxshadow.rgba .rondell-theme-default .rondell-control {
  -webkit-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}
.boxshadow.rgba .rondell-theme-default .rondell-control:hover {
  -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
}
.boxshadow.rgba .rondell-theme-default .rondell-item {
  border: 0;
  -webkit-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 3px -1px rgba(0, 0, 0, 0.5);
}

.rondell-theme-default .rondell-control,
.rondell-theme-default .rondell-item,
.rondell-theme-default .rondell-item img {
  border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.rondell-theme-default .rondell-control {
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #fcfcfc, #f9f9f9);
  background-image: -moz-linear-gradient(top, #fcfcfc, #f9f9f9);
  background-image: -ms-linear-gradient(top, #fcfcfc, #f9f9f9);
  background-image: -o-linear-gradient(top, #fcfcfc, #f9f9f9);
  background-image: linear-gradient(top, #fcfcfc, #f9f9f9);
}
.rondell-theme-default .rondell-control:hover {
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: -moz-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: -ms-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: -o-linear-gradient(top, #fafafa, #f5f5f5);
  background-image: linear-gradient(top, #fafafa, #f5f5f5);
}
.rondell-theme-default .rondell-control:active {
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #f5f5f5, #fafafa);
  background-image: -moz-linear-gradient(top, #f5f5f5, #fafafa);
  background-image: -ms-linear-gradient(top, #f5f5f5, #fafafa);
  background-image: -o-linear-gradient(top, #f5f5f5, #fafafa);
  background-image: linear-gradient(top, #f5f5f5, #fafafa);
}

/* light theme */
.rondell-theme-light .rondell-container {
  background: #fff;
}
.rondell-theme-light .rondell-item {
  border: 0;
}
.rondell-theme-light .rondell-item, .rondell-theme-light .rondell-item img {
  border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}

.boxshadow.rgba .rondell-theme-light .rondell-item {
  border: 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}
.boxshadow.rgba .rondell-theme-light .rondell-item:hover {
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* dark theme, good for preset 'products' and 'gallery' */
.rondell-theme-dark {
  background: #333;
  border-radius: 5px;
  -o-border-radius: 5px;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #333333, #111111);
  background-image: -moz-linear-gradient(top, #333333, #111111);
  background-image: -ms-linear-gradient(top, #333333, #111111);
  background-image: -o-linear-gradient(top, #333333, #111111);
  background-image: linear-gradient(top, #333333, #111111);
}
.rondell-theme-dark .rondell-item {
  border: 0;
  background: transparent;
}
.rondell-theme-dark .rondell-caption {
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  font-size: 12px;
}
.rondell-theme-dark .rondell-control {
  font-size: 0;
  color: transparent;
  padding: 0;
  width: 28px;
  height: 28px;
}
.rondell-theme-dark .rondell-control.rondell-shift-left, .rondell-theme-dark .rondell-control.rondell-shift-right {
  background: url("../images/buttons.png") no-repeat 0 0;
}
.rondell-theme-dark .rondell-control.rondell-shift-left {
  background-position: 0 -28px;
}

.boxshadow.rgba .rondell-theme-dark {
  border: 0;
  -webkit-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) inset;
  -moz-box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) inset;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.6) inset;
}
.boxshadow.rgba .rondell-theme-dark .rondell-control {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}

/* page theme, good for preset 'pages' */
.rondell-theme-page {
  border: 1px solid #ccc;
  border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.rondell-theme-page .rondell-item {
  border: 0;
}
.rondell-theme-page .rondell-item, .rondell-theme-page .rondell-item img {
  border-radius: 3px;
  -o-border-radius: 3px;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
}
.rondell-theme-page .rondell-control {
  font-size: 0;
  padding: 0;
  color: transparent;
  width: 20px;
  height: 20px;
  border: 1px solid #bbc;
}
.rondell-theme-page .rondell-control.rondell-shift-left, .rondell-theme-page .rondell-control.rondell-shift-right {
  background: #ccccdd url("../images/arrows.png") no-repeat 2px 2px;
  border-radius: 0 3px 0 6px;
  -o-border-radius: 0 3px 0 6px;
  -moz-border-radius: 0 3px 0 6px;
  -webkit-border-radius: 0 3px 0 6px;
}
.rondell-theme-page .rondell-control.rondell-shift-left {
  background-position: 2px -14px;
  border-radius: 3px 0 6px 0;
  -o-border-radius: 3px 0 6px 0;
  -moz-border-radius: 3px 0 6px 0;
  -webkit-border-radius: 3px 0 6px 0;
}

.boxshadow.rgba .rondell-theme-page {
  border: 0;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.boxshadow.rgba .rondell-theme-page .rondell-control {
  border: 0;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

/* slider theme */
.rondell-theme-slider {
  border: 1px solid #aaa;
  border-radius: 2px;
  -o-border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
.rondell-theme-slider .rondell-item {
  border: 0;
}
.rondell-theme-slider .rondell-item, .rondell-theme-slider .rondell-item img {
  border-radius: 2px;
  -o-border-radius: 2px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
}
.rondell-theme-slider .rondell-caption {
  text-align: center;
  font-weight: bold;
  text-shadow: 0 0 3px #000;
  font-size: 14px;
}
.rondell-theme-slider .rondell-caption.rondell-item-overlay {
  background: transparent;
}
.rondell-theme-slider .rondell-control {
  font-size: 0;
  color: transparent;
  padding: 0;
  width: 15px;
  height: 30px;
  background-color: #666;
  background-color: rbga(50, 50, 50, 0.2);
  border: 1px solid #555;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #666666, #555555);
  background-image: -moz-linear-gradient(top, #666666, #555555);
  background-image: -ms-linear-gradient(top, #666666, #555555);
  background-image: -o-linear-gradient(top, #666666, #555555);
  background-image: linear-gradient(top, #666666, #555555);
}
.rondell-theme-slider .rondell-control span {
  background: url("../images/arrows.png") no-repeat 0 0;
  display: block;
  height: 16px;
  width: 16px;
  margin-top: 7px;
}
.rondell-theme-slider .rondell-control:hover {
  background-color: #888;
  background-repeat: repeat-x;
  background-image: -webkit-linear-gradient(top, #777777, #555555);
  background-image: -moz-linear-gradient(top, #777777, #555555);
  background-image: -ms-linear-gradient(top, #777777, #555555);
  background-image: -o-linear-gradient(top, #777777, #555555);
  background-image: linear-gradient(top, #777777, #555555);
}
.rondell-theme-slider .rondell-control.rondell-shift-left {
  border-radius: 0 15px 15px 0;
  -o-border-radius: 0 15px 15px 0;
  -moz-border-radius: 0 15px 15px 0;
  -webkit-border-radius: 0 15px 15px 0;
}
.rondell-theme-slider .rondell-control.rondell-shift-left span {
  background-position: 0 -16px;
}
.rondell-theme-slider .rondell-control.rondell-shift-right {
  border-radius: 15px 0 0 15px;
  -o-border-radius: 15px 0 0 15px;
  -moz-border-radius: 15px 0 0 15px;
  -webkit-border-radius: 15px 0 0 15px;
}

.boxshadow.rgba .rondell-theme-slider {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.boxshadow.rgba .rondell-theme-slider .rondell-caption {
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.boxshadow.rgba .rondell-theme-slider .rondell-control {
  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7);
}
