.jcarousel-wrapper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    width: 700px;
}

.jcarousel-wrapper.treatments-wide { width: 991px; }

#jcarousel-treatments {
    height: 380px;
    overflow: visible !important;
}

#jcarousel-treatments::before,
#jcarousel-treatments::after {
    background-color: #fff;
    content: "";
    min-height: calc(110% + 8px);
    min-width: calc((100vw - 100%) / 2);
    position: absolute;
    top: calc(-5% - 4px);
    z-index: 10;
}

#jcarousel-treatments::before { right: 100%; }

#jcarousel-treatments::after { left: 100%; }

/** Carousel **/

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

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

.jcarousel li {
    -webkit-box-sizing: border-box;
    border: 0px solid #fff;
    box-sizing: border-box;
    float: left;
    padding: 0px 60px;
    text-align: center;
    width: 200px;
}

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

.jcarousel img.round-corner { border-radius: 50% !important; }


/*Treatments styles*/

.jcarousel ul.ul-treatments li {
    -webkit-box-sizing: border-box;
    border: 0px solid #fff;
    box-sizing: border-box;
    float: left;
    padding: 0;
    text-align: center;
    width: 200px;
}


/*.jcarousel .treatments-container {*/

.jcarousel .ul-treatments li {
    -o-transition: transform 0.3s;
    -webkit-transition: transform 0.3s;
    -webkit-transition: -webkit-transform 0.3s;
    cursor: pointer;
    position: relative;
    transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
    transition: transform 0.3s, -webkit-transform 0.3s;
    z-index: 0;
}

.ul-treatments li:hover {
    -ms-transform: scale(1.1);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
    z-index: 2;
}

.jcarousel .treatments-container { overflow: hidden; }

@media (min-width: 1300px) {
    #jcarousel-treatments { height: 532px; }
}

@media (max-width: 1400px) {
    #jcarousel-treatments { height: 450px; }

    .jcarousel .treatments-container { max-height: 450px; }
}

@media (max-width: 991px) {
    #jcarousel-treatments { height: 450px; }

    .jcarousel .treatments-container { max-height: 450px; }
}

@media (max-width: 767px) {
    #jcarousel-treatments { height: 375px; }

    .jcarousel .treatments-container { max-height: 375px; }
}

.jcarousel .treatments-container:hover .overlay { opacity: 1; }

@media (max-width: 767px) {
    .jcarousel .treatments-container .overlay { opacity: 1; }
}

.jcarousel .overlay {
    -o-transition: .5s ease;
    -webkit-transition: .5s ease;
    background-color: rgba(215, 162, 81, 0.5);
    bottom: 0;
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    right: 0;
    top: 0;
    transition: .5s ease;
    width: 100%;
}

.jcarousel .text {
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    color: #0d004c;
    font-family: 'IBM Plex Sans', 'Times New Roman';
    font-weight: 700;
    font-size: 20px;
    left: 50%;
    position: absolute;
    text-align: center;
    top: 50%;
    transform: translate(-50%, -50%);
}

/*-----------------------------*/

/** Carousel Controls **/

.jcarousel-control-prev,
.jcarousel-control-next {
    height: 76px;
    position: absolute;
    top: calc(50% - 38px);
    width: 74px;
}

.jcarousel-control-prev {
    background-image: url("../images/icon-previous.png");
    left: -35px;
}

.jcarousel-control-next {
    background-image: url("../images/icon-next.png");
    right: -35px;
}

/** Carousel Pagination **/

.jcarousel-pagination {
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    bottom: -60px;
    display: none;
    left: 50%;
    margin: 0;
    position: absolute;
    transform: translate(-50%, 0);
}

.jcarousel-pagination a {
    background: #0d004c;
    border: solid 2px #0d004c;
    border-radius: 10px;
    color: #0d004c;
    display: inline-block;
    font-size: 11px;
    height: 12px;
    line-height: 10px;
    margin-right: 12px;
    text-decoration: none;
    text-indent: -9999px;
    width: 12px;
}

.jcarousel-pagination a.active {
    background: #d7a251;
    border: solid 2px #d7a251;
    color: #d7a251;
    opacity: 1;
}


@media (max-width: 991px) {
    .jcarousel-wrapper.treatments-wide { width: 700px; }

    .jcarousel li { padding: 0px 30px; }

    .jcarousel-control-prev,
    .jcarousel-control-next { display: none; }
}

@media (max-width: 767px) {
    .jcarousel-wrapper, .jcarousel-wrapper.treatments-wide { width: 450px; }

    .jcarousel-control-prev,
    .jcarousel-control-next { display: none; }

    .jcarousel-pagination { display: block; }

    .jcarousel-pagination a {
        height: 12px;
        margin-right: 5px;
        width: 12px;
    }

    .jcarousel li { padding: 0px 20px; }
}

@media (max-width: 480px) {
    .jcarousel-wrapper, .jcarousel-wrapper.treatments-wide { width: 350px; }

    .jcarousel .treatments-container img { width: 100%; }
}