/*
This is the visible area of you carousel.
Set a width here to define how much items are visible.
The width can be either fixed in px or flexible in %.
Position must be relative!
*/
.jcarousel-wrapper {
  /** this is a flex item */
  /** deducting margin */
  position: relative;
  padding: 8px 34px 0px;
  margin: 0px 0px 0px 24px;
  flex: 0 0 auto;
}

.jcarousel-featured {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  color: #edd72f;
  position: relative;
  top: 0px;
  text-shadow: 0px 0px 1px #000;
  margin: 0 0 8px;
  background: url("../images/slider-feat-orn.webp") no-repeat center top;
  height: 36px;
  line-height: 43px;
}

.jcarousel {
  position: relative;
  overflow: hidden;
  width: 698px;
  height: 150px;
}

/*
This is the container of the carousel items.
You must ensure that the position is relative or absolute and
that the width is big enough to contain all items.
*/
.jcarousel ul {
  width: 1000em;
  height: 150px;
  position: relative;

  /* Optional, required in this case since it's a <ul> element */
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
These are the item elements. jCarousel works best, if the items
have a fixed width and height (but it's not required).
*/
.jcarousel li {
  /* Required only for block elements like <li>'s */
  float: left;
  position: relative;
  display: block;
  margin: 0 9px 0 0;
  /* background-color: #ffffff; */
}

.jcarousel li a.jc-slide {
  /* Required only for block elements like <li>'s */
  float: left;
  display: block;
  width: 216px;
  height: 150px;
  position: relative;
}

.jcarousel li a.jc-slide::before {
  content: "";
  background: url("../images/slider-img-frame.webp") no-repeat;
  width: 100%;
  height: 100%;
  z-index: 90;
  position: absolute;
  left: 0;
  top: 0;
}

.jcarousel li a:hover img {
  /* color: #ffffff;
    opacity: 0.7;
    filter: alpha(opacity=70); */
}

h1.jc-slide-title {
  width: 100%;
  color: #aea076;
  font-size: 12px;
  font-size: 0.75rem;
  text-align: center;
  display: block;
  position: absolute;
  bottom: -2px;
  padding: 0 14px;
  background: rgba(54, 50, 44, 0.65);
  height: 32px;
  line-height: 32px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: -1px 0px #5f4705, 1px 0px #5f4705, 1px 0px #5f4705,
    -1px 0px #5f4705;
}

.jcarousel-control-prev {
  background: url("../images/slider-nav-arrow-left.webp") no-repeat center
    center;
  position: absolute;
  top: 50px;
  left: 0px;
  width: 34px;
  height: 150px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
}

.jcarousel-control-next {
  background: url("../images/slider-nav-arrow-right.webp") no-repeat center
    center;
  position: absolute;
  top: 50px;
  right: 0px;
  width: 34px;
  height: 150px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  display: block;
}

/***************************************
 * Media query for 1024px wide device
 ***************************************/

@media screen and (max-width: 1024px) {
  .jcarousel-wrapper {
    margin: 0 auto;
    flex: 0 0 auto;
  }

  .jcarousel {
    width: 690px;
    height: 150px;
    position: relative;
    overflow: hidden;
  }

  .jcarousel li {
    margin: 0 6px 0 0;
  }

  .jcarousel-featured {
    background: none;
  }
}

/***************************************
 * Media query for 800px wide device
 ***************************************/
@media screen and (max-width: 896px) {
  .jcarousel {
    width: 698px;
  }

  .jcarousel li {
    margin: 0 9px 0 0;
  }
}

/***************************************
 * Media query for 768px wide device
 ***************************************/

@media screen and (max-width: 768px) {
  .jcarousel {
    width: 668px;
  }

  .jcarousel li {
    margin: 0 4px 0 0;
  }
}

/***************************************
 * Media query for 667px wide device
 ***************************************/

@media screen and (max-width: 667px) {
  .jcarousel {
    width: 442px;
  }

  .jcarousel li {
    margin: 0 4px 0 0;
  }
}

/***************************************
 * Media query for 568px wide device
 ***************************************/

@media screen and (max-width: 568px) {
  .jcarousel {
    width: 216px;
  }

  .jcarousel li {
    margin: 0;
  }
}

/***************************************
 * Media query for 414px wide device
 ***************************************/

@media screen and (max-width: 414px) {
  .jcarousel {
    width: 216px;
  }

  .jcarousel li {
    margin: 0;
  }
}
