﻿/** Carousel **/

.jcarousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 20px 0;
}

.jcarousel ul {
    width: 20000em;
    position: relative;
    list-style: none;
    margin: 0;
    padding: 0;
    display: block;
    overflow: hidden;
}

.jcarousel li {
    width: 250px;
    float: left;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.jcarousel ul li > div,
.jcarousel ul li > a {
    display: block;
    width: auto;
    height: 200px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    margin: 0 5px 5px 5px;
}

.jcarousel.services ul li > div,
.jcarousel.services ul li > a {
    height: 380px;
}

.jcarousel.services ul li > div.tooltip {
    height: auto;
    border-radius: 0;
    width: auto;
}

.jcarousel.services ul li > div.tooltip .tooltip-inner {
    border-radius: 0;
}

    .jcarousel.partners ul li > div,
    .jcarousel.partners ul li > a {
        height: 150px;
        background-position: center center;
        background-size: contain;
        margin: 0 30px 10px 30px;
        opacity: 0.8;
        position: relative;
    }

        .jcarousel.partners ul li > div:after,
        .jcarousel.partners ul li > a:after {
            display: block;
            height: 1px;
            content: " ";
            margin: 0 auto;
            background: #665143;
            position: absolute;
            bottom: -5px;
            left: 15px;
            right: 15px;
        }

.jcarousel ul li > div + p {
    margin: 0;
    text-align: center;
    color: #665143;
}

.jcarousel ul li > div + p > a {
    margin: 0;
    text-align: center;
    color: #665143;
}

.jcarousel ul li > div + p > a:hover {
    color: #2e2926;
    text-decoration: underline;
}
/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    position: absolute;
    top: 50%;
    margin-top: -23px;
    width: 30px;
    height: 46px;
    text-align: center;
    background: #FFFFFF;
    color: #160704;
    text-decoration: none;
    font: 24px/46px Arial, sans-serif;
    -ms-text-shadow: none;
    text-shadow: none;
}

.jcarousel.services .jcarousel-control-prev,
.jcarousel.services .jcarousel-control-next {
    opacity: 0.5;

    -webkit-transition: opacity 0.5s ease-out;
    -moz-transition: opacity 0.5s ease-out;
    -ms-transition: opacity 0.5s ease-out;
    -o-transition: opacity 0.5s ease-out;
    transition: opacity 0.5s ease-out;

    -webkit-transition: color 0.5s ease-out;
    -moz-transition: color 0.5s ease-out;
    -ms-transition: color 0.5s ease-out;
    -o-transition: color 0.5s ease-out;
    transition: color 0.5s ease-out;

    -webkit-transition: background 0.5s ease-out;
    -moz-transition: background 0.5s ease-out;
    -ms-transition: background 0.5s ease-out;
    -o-transition: background 0.5s ease-out;
    transition: background 0.5s ease-out;
}

.jcarousel.services:hover .jcarousel-control-prev,
.jcarousel.services:hover .jcarousel-control-next {
    background: #281813;
    color: #fbfbfb;

    opacity: 1;
    transition: none;
}

.jcarousel-control-prev {
    left: 1px;
}

.jcarousel-control-prev.big {
    left: 40px;
}

.jcarousel-control-next {
    right: 1px;
}

.jcarousel-control-next.big {
    right: 40px;
}

.jcarousel-control-prev:hover,
.jcarousel-control-next:hover,
.jcarousel-control-prev:focus,
.jcarousel-control-next:focus,
.jcarousel-control-prev:active,
.jcarousel-control-next:active {
    background: #160704;
    color: #FFF;
    text-decoration: none;
    outline: 0;
}

/** Carousel Pagination **/

.jcarousel-pagination {
    position: absolute;
    bottom: -40px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    margin: 0;
}

.jcarousel-pagination a {
    text-decoration: none;
    display: inline-block;

    font-size: 11px;
    height: 10px;
    width: 10px;
    line-height: 10px;

    background: #fff;
    color: #4E443C;
    border-radius: 10px;
    text-indent: -9999px;

    margin-right: 7px;


    -webkit-box-shadow: 0 0 2px #4E443C;
    -moz-box-shadow: 0 0 2px #4E443C;
    box-shadow: 0 0 2px #4E443C;
}

.jcarousel-pagination a.active {
    background: #4E443C;
    color: #fff;
    opacity: 1;

    -webkit-box-shadow: 0 0 2px #F0EFE7;
    -moz-box-shadow: 0 0 2px #F0EFE7;
    box-shadow: 0 0 2px #F0EFE7;
}