.hero-jcarousel-wrapper {
    position: relative;
}

/** Carousel **/

.hero-jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.jcarousel-image-wrapper {
    text-align: center;
    background: #efefef;
}

.jcarousel-image-wrapper img {
    max-height: 600px;
    margin: 0px auto;
}

.hero-jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-jcarousel li {
    width: 100%;
    height: 100%;
    float: left;
    border: 1px solid #fff;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border:0 none;
}

.hero-jcarousel img {
    display: block;
    max-width: 100%;
    height: auto !important;
}

/** Carousel Controls **/

.hero-jcarousel-control-prev,
.hero-jcarousel-control-next {
    position: absolute;
    top: 35%;
    margin-top: -15px;
    width: 30px;
    height: 30px;
    text-align: center;
    background: #4E443C;
    color: #fff;
    text-decoration: none;
}

.hero-jcarousel-control-prev {
    background: url(../png/slider-previous_50x50.png) no-repeat scroll center right #000;
    left: 0px;
}

.hero-jcarousel-control-next {
    background: url(../png/slider-next_50x50.png) no-repeat scroll center right #000;
    right: 0px;
}

.hero-jcarousel-control-prev, .hero-jcarousel-control-next {
    height: 50px;
    width: 50px;
}

/** Carousel Pagination **/

.hero-jcarousel-pagination {
    /*display: none !important;*/
    margin: 0;
    /*background: #ec4036;*/
    float: right;
    padding: 20px 0px;
    position: absolute;
    bottom: 0px;
    right: 0px;
}

.hero-jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;
    margin-right: 5px;
    background: none;
    border-left: 3px solid transparent;
}

.hero-jcarousel-pagination a img {
    margin-bottom: 0px;
}

.hero-jcarousel-pagination a.active {
    color: #fff;
    opacity: 1;
    border-left: 3px solid #E2383F;
}

.jcarousel-pagination-thumbs {

}

.jcarousel-thumb {
    float:left;
    text-align: center;
    /*margin-bottom: 20px;*/
height: 110px;
max-height: 110px;
margin-bottom: 0px;
overflow: hidden;
padding: 0 10px 0 0;
}

.single-photo-gallery .jcarousel-thumb {
    background: #CCC;
}

.single-photo-gallery .jcarousel-thumb {
    margin-right: 20px;
    /*width: 159px;*/
    height: 120px;
}

.jcarousel-thumb:nth-child(4n) {
    margin-right: 0px;
	padding:0;
}

.jcarousel-thumb-count {
    margin-top: 30px;
}

.jcarousel-thumb-count p {
    color: #EC4037;
    font-size: 14px;
    font-weight: bold;
}

.gallery-photo-description {
    background: #646665;
    padding: 18px 22px;
    color: #fff;
    position: relative;
    top: -1px;
}

.jcarousel-pagination-thumbs { margin-bottom: 20px; }

.single-photo-gallery .jcarousel-pagination-thumbs div.jcarousel-thumb {
    /*width: 15.9%;*/
	width: 23%;
    height: auto;
    padding: 0;
    min-height: 110px;
    margin-bottom: 10px;
    margin-right: 10px;
    /*overflow: hidden;*/
    background-color: #646565;
}

.jcarousel-pagination-thumbs div.jcarousel-thumb a {
    display:block;
    width:100%;
    position: relative;
    height: 110px;
    /*overflow: hidden;*/
    max-height: 110px;
}


.jcarousel-pagination-thumbs div.jcarousel-thumb a img {
    position: absolute;
    display: block;
    max-width: 100% !important;
   /* max-height: 100% !important;*/
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer
}

/*.hero-jcarousel-pagination-thumbs div.hero-jcarousel-thumb a img {
    max-width: 160px;
    max-height: 125px;
}*/

body.single-article .jcarousel-thumb-count {
  display: none;
}

body.single-article .jcarousel-pagination-thumbs {
    margin-top: 20px;
}