.picturegallerypicture {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
}

.slideshowcaption_loading {
  display: none;
}

.mod_slideshow_singlepicture {
  position: relative;
}

.mod_slideshow_singlepicture img {
  visibility: visible !important;
  margin-bottom: -2px;
}

.mod_slideshow_singlepicture div {
  display: block;
}

/*
 * jQuery Nivo Slider v3.2
 * http://nivo.dev7studios.com
 *
 * Copyright 2012, Dev7studios
 * Free to use and abuse under the MIT license.
 * http://www.opensource.org/licenses/mit-license.php
 */

/* The Nivo Slider styles */

.nivoSlider {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.nivoSlider img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
}

.nivo-main-image {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

/* If an image is wrapped in a link */

.nivoSlider a.nivo-imageLink {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  z-index: 6;
  display: none;
  background: white;
  filter: alpha(opacity=0);
  opacity: 0;
}

/* The slices and boxes in the Slider */

.nivo-slice {
  display: block;
  position: absolute;
  z-index: 5;
  height: 100%;
  top: 0;
}

.nivo-box {
  display: block;
  position: absolute;
  z-index: 5;
  overflow: hidden;
}

.nivo-box img {
  display: block;
}

/* Caption styles */

.nivo-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  background: #000;
  color: #fff;
  width: 100%;
  z-index: 8;
  padding: 5px 10px;
  opacity: 0.8;
  overflow: hidden;
  display: none;
  -moz-opacity: 0.8;
  filter: alpha(opacity=8);
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.nivo-caption p {
  padding: 5px;
  margin: 0;
}

.nivo-caption a {
  display: inline !important;
}

.nivo-html-caption {
  display: none;
}

/* Direction nav styles (e.g. Next & Prev) */

.nivo-directionNav a {
  position: absolute;
  top: 45%;
  z-index: 9;
  cursor: pointer;
}

.nivo-prevNav {
  left: 0;
}

.nivo-nextNav {
  right: 0;
}

/* Control nav styles (e.g. 1,2,3...) */

.nivo-controlNav {
  text-align: center;
  padding: 15px 0;
}

.nivo-controlNav a {
  cursor: pointer;
}

.nivo-controlNav a.active {
  font-weight: bold;
}

/* NIVO THEME */

.theme-default .nivoSlider {
  position: relative;
  background: #fff url('/cms/gfx/nivo/loading.gif') no-repeat 50% 50%;
  margin-bottom: 10px;
  -webkit-box-shadow: 0 1px 5px 0 #4a4a4a;
  -moz-box-shadow: 0 1px 5px 0 #4a4a4a;
  box-shadow: 0 1px 5px 0 #4a4a4a;
}

.theme-default .nivoSlider img {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.theme-default .nivoSlider a {
  border: 0;
  display: block;
}

.theme-default .nivo-controlNav {
  text-align: center;
  padding: 20px 0;
}

.theme-default .nivo-controlNav a {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: url('/cms/gfx/nivo/bullets.png') no-repeat;
  text-indent: -9999px;
  border: 0;
  margin: 0 2px;
}

.theme-default .nivo-controlNav a.active {
  background-position: 0 -22px;
}

.theme-default .nivo-directionNav a {
  display: block;
  width: 30px;
  height: 30px;
  background: url('/cms/gfx/nivo/arrows.png') no-repeat;
  text-indent: -9999px;
  border: 0;
  opacity: 0;
  -webkit-transition: all 200ms ease-in-out;
  -moz-transition: all 200ms ease-in-out;
  -o-transition: all 200ms ease-in-out;
  transition: all 200ms ease-in-out;
}

.theme-default:hover .nivo-directionNav a {
  opacity: 1;
}

.theme-default a.nivo-nextNav {
  background-position: -30px 0;
  right: 15px;
}

.theme-default a.nivo-prevNav {
  left: 15px;
}

.theme-default .nivo-caption {
  font-family: Helvetica, Arial, sans-serif;
}

.theme-default .nivo-caption a {
  color: #fff;
  border-bottom: 1px dotted #fff;
}

.theme-default .nivo-caption a:hover {
  color: #fff;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled {
  width: 100%;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled a {
  width: auto;
  height: auto;
  background: none;
  margin-bottom: 5px;
}

.theme-default .nivo-controlNav.nivo-thumbs-enabled img {
  display: block;
  width: 120px;
  height: auto;
}

.mod_mailform_empty {
  border: 1px solid #ccc;
  padding-top: 25px;
  height: 65px;
  line-height: 20px;
  text-align: center;
  background: #eee;
}

.mod_mailform_field {
  position: relative;
  overflow: hidden;
}

.mod_mailform_menu {
  display: none;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  background: url('/cms/gfx/transparentmenuback.png.html');
  cursor: move;
}

.mod_mailform_field:hover .mod_mailform_menu {
  display: block;
}

.mod_mailform_menu span {
  float: right;
  margin-right: 4px;
  width: 16px;
  height: 100%;
  cursor: pointer;
}

.mod_mailform_edit {
  margin-left: 5px;
  background: url('/cms/gfx/pencil.png.html') center center no-repeat;
}

.mod_mailform_error,
.mod_mailform_error div {
  display: none;
}

.mod_featuregallery {
  overflow: hidden;
}

.mod_featuregallery_feature {
  position: relative;
}

.featuregallerypicture {
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
}

.mod_featuregallery_pages {
  margin-bottom: 15px;
  text-align: center;
}

.mod_featuregallery_pages > a {
  color: #000;
  padding: 0 5px;
  text-decoration: none;
}

.slideshowcaption_loading {
  display: none;
}

.mod_slideshow_singlepicture {
  position: relative;
}

.mod_slideshow_singlepicture img {
  visibility: visible !important;
  margin-bottom: -2px;
}

.mod_slideshow_singlepicture div {
  display: block;
}

.jdslider {
  position: relative;
  overflow: hidden;
}

.jdslider img,
.jdslider a,
.jdslider span {
  display: none;
}

.jdslider-caption {
  background: #000;
  bottom: 0;
  color: white;
  left: 0;
  opacity: 0.7;
  filter: alpha(opacity=70);
  padding: 10px;
  position: absolute;
  text-align: left;
  width: 100%;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 14px;
}

.jdslider-selectors {
  padding: 10px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1000;
}

.jdslider-selector {
  background: #333;
  border: 1px solid black;
  color: #fff;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  float: left;
  line-height: 24px;
  height: 25px;
  margin-left: 5px;
  position: relative;
  text-align: center;
  width: 25px;
}

.jdslider-selector:hover {
  background-color: #666;
}

.jdslider-current {
  background-color: #f8f8f8;
  color: #333;
}

.jdslider-prev,
.jdslider-next {
  cursor: pointer;
  width: 80px;
  height: 80px;
  line-height: 80px;
  margin-top: -40px;
  position: absolute;
  top: 50%;
  z-index: 1000;
  font-size: 0;
}

.jdslider-prev {
  left: 0;
  background: url('/cms/gfx/slideshow_prev.png.html');
}

.jdslider-prev:hover {
  background: url('/cms/gfx/slideshow_prev_hover.png.html');
}

.jdslider-next {
  right: 0;
  background: url('/cms/gfx/slideshow_next.png.html');
}

.jdslider-next:hover {
  background: url('/cms/gfx/slideshow_next_hover.png.html');
}
