/* scope CSS? */
/* =========================== carousel widget ========================*/
.ui-carousel {
  list-style: none outside none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  text-align: center;
  width: auto;
  min-height: 25em;
  overflow: hidden; /* firefox seems the only browser to properly overflow-hide round corners... */
  margin: 0 -15px;
}
.ui-carousel-inset {
  margin: 1em auto;
  -webkit-border-radius: 1em;
  -moz-border-radius: 1em;
  border-radius: 1em;
}
.ui-carousel li {
  list-style: none;
  width: 100%;
  position: absolute;
  display: none;
  height: 100%;
  -webkit-border-radius: inherit;
  -moz-border-radius: inherit;
  border-radius: inherit;
  overflow: inherit;
  min-height: inherit;
}
.ui-carousel li.ui-carousel-transitioning {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.ui-carousel li.ui-carousel-active {
  display: block;
}
.ui-carousel li a {
  height: inherit;
  -webkit-border-radius: inherit;
  -moz-border-radius: inherit;
  border-radius: inherit;
  overflow: inherit;
  min-height: inherit;
}
.ui-carousel img {
  width: 100%;
  display: block;
  -webkit-border-radius: inherit;
  -moz-border-radius: inherit;
  border-radius: inherit;
  min-height: inherit;
}
.ui-carousel-controls {
  text-align: center;
}

.ui-carousel-controls .ui-radio {
  display: inline-block;
  padding: 0 0.25em;
}
.ui-carousel-controls .ui-radio input:checked {
  border: 1px solid red !important;
}

.ui-carousel-captions .ui-carousel-captions-heading {
  margin: 0;
  padding: 0;
}
.ui-carousel-captions-content {
  left: 0;
  margin: 0;
  padding: 0.5em 0;
  position: absolute;
  right: 0;
}
.ui-carousel-captions-bottom {
  bottom: 0;
}
.ui-carousel-captions-top {
  top: 0;
}
@media (max-width: 77.5em) {
  .ui-carousel.ui-responsive {
    max-width: 80%;
  }
}
@media (max-width: 45em) {
  .ui-carousel.ui-responsive {
    max-width: 85%;
  }
}
@media (max-width: 40em) {
  .ui-carousel.ui-responsive {
    max-width: 90%;
  }
}
@media (max-width: 30em) {
  .ui-carousel.ui-responsive {
    max-width: 90%;
  }
}
@media (max-width: 20em) {
  .ui-carousel.ui-responsive {
    max-width: 90%;
  }
}
/* ===================================================================*/
/* FIX JQM */
html .ui-btn.ui-icon-checkbox-off:after,
html .ui-btn.ui-icon-checkbox-on:after,
html .ui-btn.ui-icon-radio-off:after,
html .ui-btn.ui-icon-radio-on:after {
  margin: -9px -9px 0;
}
.gallery_wrap ul.ui-carousel {
  background: white;
  border: 1px solid #DDD;
}
.gallery_thumbnail_wrapper {
  
}