.owl-carousel {
    width: 100%;
    height: 310px;
}
/* clearfix */
.owl-carousel .owl-wrapper:after {
    content: ".";
    display: block;
    clear: both;
    visibility: hidden;
    line-height: 0;
    height: 0;
}
/* display none until init */
.owl-carousel{
    display: none;
    position: relative;
    width: 100%;
    -ms-touch-action: pan-y;
}
.owl-carousel .owl-wrapper{
    display: none;
    position: relative;
    -webkit-transform: translate3d(0px, 0px, 0px);
}
.owl-carousel .owl-wrapper-outer{
    overflow: hidden;
    position: relative;
    width: 100%;
    z-index: 0;
}
.owl-carousel .owl-wrapper-outer.autoHeight{
    -webkit-transition: height 500ms ease-in-out;
    -moz-transition: height 500ms ease-in-out;
    -ms-transition: height 500ms ease-in-out;
    -o-transition: height 500ms ease-in-out;
    transition: height 500ms ease-in-out;
}

.owl-carousel .owl-item{
    display: inline-block;
    /*float: left;*/
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
    cursor: pointer;
}
.owl-controls {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
.owl-carousel.featured .owl-controls .owl-prev {
    margin-right:3px;
}


#progressBar {
    width: 100%;
    background: rgba(0,0,0,0.05);
}
#progressBar #bar {
    height:3px;
    width: 100%;
    background-color:#333;
}

/* mouse grab icon */
.grabbing {
    cursor:url(../images/grabbing.png) 8 8, move;
}

/* fix */
.owl-carousel  .owl-wrapper,
.owl-carousel  .owl-item{
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility:    hidden;
    -ms-backface-visibility:     hidden;
  -webkit-transform: translate3d(0,0,0);
  -moz-transform: translate3d(0,0,0);
  -ms-transform: translate3d(0,0,0);
}
/**
    CUSTOM REWRITE
**/
.owl-carousel {
    overflow:hidden;
    margin-bottom:20px;
    position:relative;
}
.owl-carousel.owl-padding-0 .owl-item {
    padding:0 !important;
}
.owl-carousel.owl-padding-1 .owl-item {
    padding:0 1px;
}
.owl-carousel.owl-padding-2 .owl-item {
    padding:0 2px;
}
.owl-carousel.owl-padding-3 .owl-item {
    padding:0 3px;
}
.owl-carousel.owl-padding-6 .owl-item {
    padding:0 6px;
}
.owl-carousel.owl-padding-10 .owl-item {
    padding:0 10px;
}
.owl-carousel.owl-padding-15 .owl-item {
    padding:0 15px;
}
.owl-carousel.owl-padding-20 .owl-item {
    padding:0 20px;
}

/* Cause width problems - better to leave left/right margins
.owl-carousel .owl-item:first-child {
    padding-left:0;
}
.owl-carousel .owl-item:last-child {
    padding-right:0;
}
*/

.owl-carousel img {
    display:inline-block;
}
.owl-carousel.buttons-autohide .owl-buttons {
    filter: Alpha(Opacity=0);
    opacity:0;

    -webkit-transition: opacity 0.4s;
       -moz-transition: opacity 0.4s;
         -o-transition: opacity 0.4s;
            transition: opacity 0.4s;
}
.owl-carousel.buttons-autohide:hover .owl-buttons {
    filter: Alpha(Opacity=100);
    opacity:1;
}

.owl-theme .owl-controls .owl-buttons div {
    color:#121212;
    background:#fff;
    border:#fff 1px solid;

    opacity:1;
    filter: Alpha(Opacity=100);

    -webkit-border-radius: 3px;
       -moz-border-radius: 3px;
            border-radius: 3px;
}
section.dark .owl-theme .owl-controls .owl-buttons div {
    color:#fff;
    background:#212121;
    border:#212121 1px solid;
}

.controlls-over .owl-controls .owl-prev {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    right:auto;
    left: -13px;
    zoom: 1;
    width: 36px;
    height: 36px;
    opacity: 0;
}
.controlls-over .owl-controls .owl-next {
    position: absolute;
    top: 50%;
    margin-top: -28px;
    left:auto;
    right: -13px;
    zoom: 1;
    width: 36px;
    height: 36px;
    opacity: 0;
}



.controlls-over .owl-pagination {
    text-align:center;
    position:absolute; width:60%; margin:auto;
    bottom:-20px; left:0; right:0; z-index:1;
}
.owl-theme.controlls-over .owl-controls .owl-page {
    background:rgba(0,0,0,0.3);
    margin-bottom:30px;
    position:relative;
    display:inline-block;

}
.owl-theme.controlls-over .owl-controls .owl-page:first-child {
    -webkit-border-top-left-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-topleft: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
.owl-theme.controlls-over .owl-controls .owl-page:last-child {
    -webkit-border-top-right-radius: 10px;
    -webkit-border-bottom-right-radius: 10px;
    -moz-border-radius-topright: 10px;
    -moz-border-radius-bottomright: 10px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
.owl-theme.controlls-over .owl-controls .owl-page span {
    background:#fff;
}
.bottom-pagination .owl-controls .owl-page {
    margin-bottom:-40px !important;
}


/* top text caption */
.owl-carousel .owl-item div {
    position:relative;
    text-align:center;
}
.owl-carousel .owl-caption {
    padding:10px;
    position:absolute !important;
    left:0; top:0; right:0;
    margin-top:0; max-width:100%;
    background:rgba(0,0,0,0.3);
    display:block; color:#fff;
}

.owl-carousel .owl-caption p {
    color:#fff;
    font-size:13px;
    line-height:20px;
    padding:0; margin:0;
}
.owl-carousel .owl-caption h1,
.owl-carousel .owl-caption h1 a,
.owl-carousel .owl-caption h2,
.owl-carousel .owl-caption h2 a,
.owl-carousel .owl-caption h3,
.owl-carousel .owl-caption h3 a {
    color:#fff;
    font-size:21px;
    line-height:21px;
    font-weight:bold;
    margin-bottom:10px;
}
.owl-carousel .owl-caption a {
    color:#fff;
    font-weight:bold;
}

.owl-carousel.controls-hover-only .owl-controls {
    filter: alpha(opacity=0);
    opacity: 0;

    -webkit-transition: opacity 0.4s;
       -moz-transition: opacity 0.4s;
         -o-transition: opacity 0.4s;
            transition: opacity 0.4s;
}
.slider:hover .owl-carousel.controls-hover-only .owl-controls,
.owl-carousel.controls-hover-only:hover .owl-controls {
    filter: alpha(opacity=100);
    opacity: 1;
}


/* Featured Item */
.owl-carousel.featured .owl-featured-item {
    width:99%; padding-bottom:15px;
    text-align:center;
    display:block;

    webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}
.owl-carousel.featured .owl-featured-item:hover {
    background-color: #eaeaea;
}
.owl-carousel.featured .owl-featured-item a.figure {
    margin:0; padding:0;
    display:block;
    width:100%;
    height:auto;
    overflow:hidden;
    text-align:center;
    z-index:0;
    position:relative;
}

.owl-carousel.featured .owl-featured-item a.figure>img {
    height:auto !important;
    width:100% !important;
    max-width: 100% !important;
    vertical-align:top;
}
.owl-carousel.featured .owl-featured-detail {
    position:relative;
    padding-top:6px;
}

.owl-carousel.featured .owl-featured-detail:after {
    content: ' ';
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #fff;
    left: 50%;
    margin-left: -10px;
    top: -10px;
    z-index:10;

    webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

.owl-carousel.featured .owl-featured-item:hover>.owl-featured-detail:after {
    border-bottom: 10px solid #eaeaea;
}

.owl-carousel.featured .owl-featured-detail>a.featured-title {
    color:#333;
    margin-top:6px;
    display:block;
}


.owl-carousel.featured .owl-featured-detail>span.price {
    display:block;
    margin-bottom:6px;
}


.owl-carousel.featured {
    margin-top:6px;
}
.owl-carousel.featured .owl-controls.clickable {
    top:0 !important;
    margin-top:-45px;
    position:absolute;
    right:0;
}
h2.owl-featured {
    font-size:16px;
    line-height:19px;
    border-bottom:rgba(0,0,0,0.2) 1px dashed;
    padding-bottom:6px;
    margin-bottom:10px;;
}

.owl-carousel.featured a.figure>span {
    position:absolute;
    left:0; right:0; top:0; bottom:0;
    background-color:rgba(0,0,0,0.3);
    filter: alpha(opacity=0);
    opacity: 0;

    -webkit-transition: opacity 0.3s;
       -moz-transition: opacity 0.3s;
         -o-transition: opacity 0.3s;
            transition: opacity 0.3s;
}
.owl-carousel.featured a.figure>span>i {
    color:#333;
    position:absolute;
    left:50%; top:50%;
    background:#fff;
    font-size:21px;
    width:50px; height:50px;
    line-height: 50px !important;
    text-align:center;
    margin-left:-20px;
    margin-top:-20px;

    -webkit-transition: all 0.3s;
       -moz-transition: all 0.3s;
         -o-transition: all 0.3s;
            transition: all 0.3s;

    -webkit-border-bottom-right-radius: 20px;
        -webkit-border-top-left-radius: 20px;
        -moz-border-radius-bottomright: 20px;
            -moz-border-radius-topleft: 20px;
            border-bottom-right-radius: 20px;
                border-top-left-radius: 20px;
}
.owl-carousel.featured a.figure:hover>span {
    filter: alpha(opacity=100);
    opacity: 1;
}

.owl-carousel.featured {
    overflow:inherit !important;
}
.owl-carousel.featured .owl-prev,
.owl-carousel.featured .owl-next {
    display:inline-block !important;
    color:#999 !important;
    width:30px !important;
    height:30px !important;
    line-height:30px !important;
    font-size:20px !important;
}
.owl-carousel.featured .owl-prev:hover,
.owl-carousel.featured .owl-next:hover {
    color:#121212 !important;
}


section.dark .owl-carousel.featured .owl-featured-detail>a.featured-title {
    color:#fff;
}
section.dark .owl-carousel.featured .owl-featured-detail:after {
    border-bottom-color: #212121;
}
section.dark .owl-carousel.featured .owl-featured-item:hover {
    background-color: #111;
}
section.dark .owl-carousel.featured .owl-featured-item:hover>.owl-featured-detail:after {
    border-bottom-color: #111;
}
section.dark .owl-carousel.featured .owl-prev,
section.dark .owl-carousel.featured .owl-next {
    color:#999 !important
}
section.dark .owl-carousel.featured .owl-prev:hover,
section.dark .owl-carousel.featured .owl-next:hover {
    color:#fff !important
}
section.dark h2.owl-featured {
    border-bottom-color:#666;
}

@media only screen and (max-width: 768px) {
/*
    .owl-carousel.featured .owl-controls {
        display:none !important
    }
*/
}



/* buttons bottom */
.owl-carousel.buttons-bottom  .owl-controls{
    top:auto !important;
}
.owl-carousel.buttons-bottom .owl-next,
.owl-carousel.buttons-bottom .owl-prev {
    margin-top:-20px !important;
}

/* special carousel title */
.owl-carousel .owl-carousel-caption {
    background-color:rgba(0,0,0,0.5);
    position:absolute !important;
    top:0; left:0; right:0;
    color:#fff; padding:20px;
    height:96px; overflow:hidden;
}
.owl-carousel .owl-carousel-caption.top {
    top:0;
    bottom:auto;
}
.owl-carousel .owl-carousel-caption.bottom {
    top:auto;
    bottom:29px;
}
.owl-carousel .owl-carousel-caption h2,
.owl-carousel .owl-carousel-caption h3,
.owl-carousel .owl-carousel-caption h4 {
    color:#fff;
    font-size:16px;
    line-height:16px;
    margin-bottom:10px;
    font-weight:bold;
    overflow:hidden;
    display:block;
    width:100%;
    text-overflow:ellipsis;
    white-space: nowrap;
}
.owl-carousel .owl-carousel-caption p {
    color:#fff;
    font-size:12px;
    line-height:15px;
    padding:0; margin:0;
}

.owl-theme .owl-controls .owl-buttons div {
    /* padding:6px 13px; */
}
.owl-controls .owl-page,
.owl-controls .owl-buttons div{
    cursor: pointer;
}

.controlls-over .owl-controls .owl-prev {
    margin-left:10px;
}

.controlls-over .owl-controls .owl-next {
    margin-right:10px;
}


/* Styling Pagination*/
.owl-theme .owl-controls .owl-page{
    display: inline-block;
    zoom: 1;
    *display: inline;/*IE7 life-saver */
}
.owl-theme .owl-controls .owl-page span {
    display: block;
    width: 20px;
    height: 5px;
    margin: 5px 7px;
    filter: Alpha(Opacity=50);/*IE7 fix*/
    opacity: 0.5;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
    background: #869791;
}

.owl-theme .owl-controls .owl-page.active span,
.owl-theme .owl-controls.clickable .owl-page:hover span{
    filter: Alpha(Opacity=100);/*IE7 fix*/
    opacity: 1;
}


/* If PaginationNumbers is true */

.owl-theme .owl-controls .owl-page span.owl-numbers{
    height: auto;
    width: auto;
    color: #FFF;
    padding: 2px 10px;
    font-size: 12px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    border-radius: 30px;
}

@media only screen and (max-width: 600px) {
    .owl-pagination {
        display:none;
    }
}

/* owl carousel testimonial */
div.owl-carousel.owl-testimonial .testimonial {
    margin-bottom:50px;
    display:block;
}

/* owl mini carousel testimonial */
div.owl-carousel.owl-mini-testimonial {
    text-align:left;
}
div.owl-carousel.owl-mini-testimonial .testimonial-content {
    text-align:left;
}
div.owl-carousel.owl-mini-testimonial .testimonial {
    margin-bottom:30px;
}
div.owl-carousel.owl-mini-testimonial .testimonial img {
    float:left;
    margin-right:20px;
}
div.owl-carousel.owl-mini-testimonial .testimonial p {
    margin:0;
}
div.owl-carousel.owl-mini-testimonial .owl-controls {
    text-align:right;
}
div.owl-carousel.owl-mini-testimonial .owl-controls .owl-page span {
    width:6px;
    height:6px;
    margin:5px 4px;
}
.owl-carousel.zoom-more .owl-controls .owl-buttons div {
    background-color:inherit;
    border:0;
}

.owl-carousel.zoom-more .owl-controls.clickable {
    top: auto !important;
    bottom:0 !important;
    margin-top:0;
    margin-bottom:-10px;
    right:-10px;
}

.owl-carousel.zoom-more a,
.owl-carousel.zoom-more a>img {
    text-align:center;

    -webkit-transition: all .300s;
       -moz-transition: all .300s;
         -o-transition: all .300s;
            transition: all .300s;
}
.owl-carousel.zoom-more a>img {
    opacity:0.5;
    filter: alpha(opacity=80);

    -webkit-filter: grayscale(100%);
       -moz-filter: grayscale(100%);
        -ms-filter: grayscale(100%);
        -o-filter: grayscale(100%);
           filter: grayscale(100%);
           filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#grayscale");
           filter: gray;
}
.owl-carousel.zoom-more a.active>img {
    opacity:1;
    filter: alpha(opacity=1);

    -webkit-filter: none;
    filter: none;
}
/*
.owl-carousel .item img {
    width: 134px;
    height: 169px;
    margin: 10px;
}*/