/* --------------------------------
Primary style
-------------------------------- */
img,
svg,
image {
  max-width: 100%;
}

/* --------------------------------
Slider
-------------------------------- */
.cd-filmfest-front-slider {
  width: 100%;
  max-width: 1100px;
  margin: 2em auto;
  position: relative;
}

.cd-filmfest-front-slider .slick-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background-color: rgb(255 255 255 / 40%);
  border: 0;
  font-size: 0;
  padding: 4px 4px;
  border-radius: 50%;
  line-height: 0;
}

.cd-filmfest-front-slider .slick-arrow.slick-prev {
  left: 8%;
}

.cd-filmfest-front-slider .slick-arrow.slick-next {
  right: 8%;
}

.cd-filmfest-front-slider .slick-arrow:after {
  content: "";
  display: block;
  height: 16px;
  width: 16px;
  background: url(/sites/filmfest/modules/custom/filmfest_sliders/img/cd-icon-arrows-mini.svg) no-repeat 0 0;
  background-position: 0px 0;
  /* background-color: #000; */
}

.cd-filmfest-front-slider .slick-arrow:hover {
  background-color: rgb(255 255 255);
}
.cd-filmfest-front-slider .slick-arrow:hover:after {
  background-image: url(/sites/filmfest/modules/custom/filmfest_sliders/img/cd-icon-arrows-mini-blk.svg);
}

.cd-filmfest-front-slider .slick-arrow.slick-prev:after {
  background-position: -16px 0;
}

.cd-filmfest-front-slider .slick-slide {
  position: relative;
  z-index: 0;
  transition-property: all !important;
  transform: scale(0.8);
  box-shadow: 0px 3px 20px rgb(0 0 0 / 50%);
}

.cd-filmfest-front-slider .slick-slide.prevdiv {
  transform: scale(0.8) translateX(-12%);
  opacity: 1 !important;
}
.cd-filmfest-front-slider .slick-slide.nextdiv {
  transform: scale(0.8) translateX(12%);
  opacity: 1 !important;
}

.cd-filmfest-front-slider .slick-slide.slick-current {
  opacity: 1 !important;
  transform: scale(0.9);
  z-index: 1;
}

.cd-filmfest-front-slider .cd-filmfest__details-wrapper {
  position: absolute;
  z-index: 24;
  bottom: 0;
  width: 100%;
}

.cd-filmfest-front-slider .cd-filmfest__body {
  padding: 5% 5%;
  text-transform: uppercase;
}

.cd-filmfest-front-slider .cd-filmfest__body a {
  color: #d6b259;
  background: rgb(0 0 0 / 25%);
  margin-top: 12px;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 600;
}

.cd-filmfest-front-slider .cd-filmfest__body a:hover,
.cd-filmfest-front-slider .cd-filmfest__body a:active,
.cd-filmfest-front-slider .cd-filmfest__body a:focus {
  color: #000;
  background: #D6B259;
  text-decoration: none;
}

.cd-filmfest-front-slider .cd-filmfest__body a:before {
  /* content: ""; */
  height: 23px;
  width: 23px;
  display: inline-block;
  background: #d6b259;
  background-image: url(/sites/filmfest/modules/custom/filmfest_sliders/img/cd-icon-arrows-mini-blk.svg);
  background-repeat: no-repeat;
  background-position: 4px center;
  background-size: auto 16px;
  border-radius: 50%;
  position: relative;
  top: 4px;
  margin-right: 5px;
}

.cd-filmfest-front-slider .cd-filmfest__body p,
.cd-filmfest-front-slider .cd-filmfest__body div {
  margin: 0;
  font-size: 2vw;
  font-weight: 500;
  line-height: 16px;
}

.cd-filmfest-front-slider .cd-filmfest__body h2,
.cd-filmfest-front-slider .cd-filmfest__body .h2 {
  margin: 0;
  font-weight: 600;
  line-height: 1.025;
  font-size: 5.5vw;
}

.cd-filmfest-front-slider .cd-filmfest__img-wrapper {
  position: relative;
  border-radius: 3px;
  overflow: hidden;
}

.cd-filmfest-front-slider .cd-filmfest__img-wrapper:after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  background: linear-gradient(transparent, rgb(0 0 0 / 30%));
  content: "";
}

@media (min-width: 768px) {
  .cd-filmfest-front-slider .cd-filmfest__body {
    padding: 5% 5%;
  }

  .cd-filmfest-front-slider .cd-filmfest__body p,
  .cd-filmfest-front-slider .cd-filmfest__body div {
    font-size: 14px;
    line-height: 18px;
  }

  .cd-filmfest-front-slider .cd-filmfest__body h2,
  .cd-filmfest-front-slider .cd-filmfest__body .h2 {
    font-size: 40px;
  }
}

@media (min-width: 992px) {

  .cd-filmfest-front-slider .cd-filmfest__body {
    padding: 5% 5%;
    font-weight: 500;
  }

  .cd-filmfest-front-slider .cd-filmfest__body p,
  .cd-filmfest-front-slider .cd-filmfest__body div {
    font-size: 14px;
  }

  .cd-filmfest-front-slider .cd-filmfest__body h2,
  .cd-filmfest-front-slider .cd-filmfest__body .h2 {
    font-size: 38px;
    font-weight: 600;
  }

  .cd-filmfest-front-slider .slick-arrow {
    padding: 7px;
  }
  .cd-filmfest-front-slider .slick-arrow.slick-prev {
    left: 5%;
  }
  .cd-filmfest-front-slider .slick-arrow.slick-next {
    right: 10%;
  }
  .cd-filmfest-front-slider .slick-arrow:after {
    height: 20px;
    width: 20px;
    background-size: cover;
  }
  .cd-filmfest-front-slider .slick-arrow.slick-prev:after {
    background-position: -20px 0;
  }

  .cd-filmfest-front-slider .slick-slide {
    position: relative;
    z-index: 0;
    transition-property: opacity !important;
    transform: scale(0.75) translateX(13%);
    z-index: 1 !important;
    opacity: 1 !important;
  }
  .cd-filmfest-front-slider .slick-slide.prevdiv {
    transition-property: all !important;
    transform: scale(1.2) translateX(-15%);
    opacity: 0 !important;
    z-index: 4 !important;
    height: 0;
    overflow: hidden;
  }
  .cd-filmfest-front-slider .slick-slide.nextdiv {
    transition-property: all !important;
    transform: scale(0.8) translateX(6%);
    opacity: 1 !important;
    z-index: 2 !important;
  }
  .cd-filmfest-front-slider .slick-slide.slick-current {
    transition-property: all !important;
    opacity: 1 !important;
    transform: scale(0.9) translateX(-3%);
    z-index: 3 !important;
  }
}

@media (min-width: 1200px) {
  .cd-filmfest-front-slider .cd-filmfest__body {
    padding: 5% 5%;
  }

  .cd-filmfest-front-slider .cd-filmfest__body p,
  .cd-filmfest-front-slider .cd-filmfest__body div {
    font-size: 14px;
  }

  .cd-filmfest-front-slider .cd-filmfest__body h2,
  .cd-filmfest-front-slider .cd-filmfest__body .h2 {
    font-size: 44px;
  }
}

@media (min-width: 1500px) {
  .cd-filmfest-front-slider .cd-filmfest__body {
    padding: 5% 5%;
  }

  .cd-filmfest-front-slider .cd-filmfest__body p,
  .cd-filmfest-front-slider .cd-filmfest__body div {
    font-size: 16px;
    line-height: 18px;
  }

  .cd-filmfest-front-slider .cd-filmfest__body h2,
  .cd-filmfest-front-slider .cd-filmfest__body .h2 {
    font-size: 51px;
  }
}

/* --------------------------------
Keyframes
-------------------------------- */
@-webkit-keyframes cd-reveal-left {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes cd-reveal-left {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@-webkit-keyframes cd-reveal-right {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@keyframes cd-reveal-right {
  0% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
  }
  100% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
}
@-webkit-keyframes cd-hide-left {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
  }
}
@keyframes cd-hide-left {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(-50px);
    transform: translateX(-50px);
  }
}
@-webkit-keyframes cd-hide-right {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
  }
}
@keyframes cd-hide-right {
  0% {
    opacity: 1;
    visibility: visible;
    -webkit-transform: translateX(0px);
    transform: translateX(0px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    -webkit-transform: translateX(50px);
    transform: translateX(50px);
  }
}
@-webkit-keyframes cd-clicked {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}
@keyframes cd-clicked {
  0%,
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
  50% {
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
  }
}

/* Chrome, Safari, Opera */
@-webkit-keyframes cd-link-swoop {
  0% {
    width: 100%;
    left: auto;
  }
  50% {
    width: 0%;
    left: auto;
  }
  51% {
    left: 0;
  }
  100% {
    width: 100%;
  }
}

/* Standard syntax */
@keyframes cd-link-swoop {
  0% {
    width: 100%;
    left: auto;
  }
  50% {
    width: 0%;
    left: auto;
  }
  51% {
    left: 0;
  }
  100% {
    width: 100%;
  }
}
