.casestudy-slider {
  padding: 60px 0 60px;
  font-family: Nunito Sans, sans-serif !important;
  overflow: hidden;
  position: relative;
}
.casestudy-slider:after {
  position: absolute;
  content: "";
  pointer-events: none;
  left: 0;
  top: 43%;
  width: 114%;
  height: 500px;
  background: inherit;
  transform: rotate(-3deg) translateY(-100%) translateX(-15px);
  -moz-transform: rotate(-3deg) translateY(-100%) translateX(-15px);
  -webkit-transform: rotate(-3deg) translateY(-100%) translateX(-15px);
  z-index: -1;
  transform-origin: 100% 0;
}
.casestudy-slider.hidden-module {
  display: none;
}
.casestudy-slider .page-center {
  max-width: 1060px !important;
  margin: 0 auto;
}
.slider-section {
  position: relative;
  -webkit-box-shadow: 0px 22px 55px 0px rgba(0, 0, 0, 0.08);
  -moz-box-shadow: 0px 22px 55px 0px rgba(0, 0, 0, 0.08);
  box-shadow: 0px 22px 55px 0px rgba(0, 0, 0, 0.08);
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  background: #fff;
}
.slider-section .casestudy {
  position: relative;
  display: flex !important;
  border-radius: 5px;
  overflow: hidden;
}
.slider-section .casestudy:after {
  content: "";
  background-color: #fff;
  display: block;
  right: 50%;
  margin-right: -10%;
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 8%;
  bottom: 0;
  -moz-transform: skewX(-10deg);
  -o-transform: skewX(-10deg);
  -ms-transform: skewX(-10deg);
  -webkit-transform: skewX(-10deg);
  transform: skewX(-10deg);
  opacity: 1;
  -webkit-animation: widthclose 0.9s linear forwards;
  -moz-animation: widthclose 0.9s linear forwards;
  -ms-animation: widthclose 0.9s linear forwards;
  -o-animation: widthclose 0.9s linear forwards;
  animation: widthclose 0.9s linear forwards;
}
.slider-section .slick-current.slick-active .casestudy:after {
  width: 15%;
  -webkit-animation: widthopen 2s linear forwards;
  -moz-animation: widthopen 2s linear forwards;
  -ms-animation: widthopen 2s linear forwards;
  -o-animation: widthopen 2s linear forwards;
  animation: widthopen 2s linear forwards;
}
.slider-section .casestudy .image-section {
  position: relative;
  width: 50%;
  min-height: 396px;
  overflow: hidden;
}
.slider-section .casestudy .image-section img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
}
.slider-section .casestudy .text-section {
  position: relative;
  width: 50%;
  min-height: 396px;
  z-index: 2;
  padding: 50px 60px;
  top: -30px;
  opacity: 0;
  -webkit-animation: fadeout 0.3s linear forwards;
  -moz-animation: fadeout 0.3s linear forwards;
  -ms-animation: fadeout 0.3s linear forwards;
  -o-animation: fadeout 0.3s linear forwards;
  animation: fadeout 0.3s linear forwards;
}
.slider-section .casestudy .text-section .small-logo img {
  display: block;
  height: 50px;
  object-fit: contain;
  max-width: 150px;
}
.slider-section .casestudy .text-section.hidden-image {
  width: 100%;
}
.slider-section .slick-current.slick-active .casestudy .text-section {
  -webkit-animation: fadein 0.5s linear 1.5s forwards;
  -moz-animation: fadein 0.5s linear 1.5s forwards;
  -ms-animation: fadein 0.5s linear 1.5s forwards;
  -o-animation: fadein 0.5s linear 1.5s forwards;
  animation: fadein 0.5s linear 1.5s forwards;
}
.slider-section .casestudy .pre-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  z-index: 100;
}
.slider-section .casestudy .excerpt {
  line-height: 130%;
  font-size: 20px;
  margin-top: 26px;
}
.slider-section .casestudy .a-link {
  margin-top: 30px;
  display: inline-block;
}
.slider-section .slick-arrow {
  cursor: pointer;
  height: 50px;
  width: 50px;
  border-radius: 100%;
  position: absolute;
  z-index: 5;
  text-align: center;
  vertical-align: middle;
  padding-top: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  transform: translateY(-50%);
}
.slider-section .slick-arrow.prev {
  left: -25px;
}
.slider-section .slick-arrow.next {
  right: -25px;
}
.slider-section .slick-arrow.next svg {
  position: relative;
  transform: rotateZ(180deg);
  -moz-transform: rotateZ(180deg);
  -webkit-transform: rotateZ(180deg);
}
@-webkit-keyframes fadeout {
  50% {
    top: -30px;
    opacity: 0;
  }
  0% {
    top: 0;
    opacity: 1;
  }
}
@-webkit-keyframes fadein {
  0% {
    top: -30px;
    opacity: 0;
  }
  100% {
    top: 0;
    opacity: 1;
  }
}
@-webkit-keyframes widthopen {
  100% {
    width: 15%;
    opacity: 1;
  }
  50% {
    width: 100%;
    opacity: 1;
  }
  0% {
    width: 15%;
    opacity: 1;
  }
}
@-webkit-keyframes widthclose {
  100% {
    width: 100%;
    opacity: 1;
  }
  0% {
    width: 15%;
    opacity: 1;
  }
}
@media all and (max-width: 1024px) {
  .casestudy-slider .typ-section {
    width: 90%;
    margin: auto;
  }
}
@media all and (max-width: 768px) {
  .slider-section .casestudy {
    flex-flow: row wrap;
  }
  .slider-section .casestudy:after,
  .slider-section .slick-current.slick-active .casestudy:after {
    animation: none;
    display: none;
  }
  .slider-section .casestudy .text-section,
  .slider-section .casestudy .image-section {
    width: 100%;
  }
  .slider-section .casestudy .image-section {
    min-height: 329px;
  }
  .slider-section .casestudy .text-section {
    min-height: 320px;
    padding: 29px 60px;
  }
  .casestudy-slider:after {
    top: 39%;
  }
  .casestudy-slider .typ-section {
    width: 84%;
  }
  .casestudy-slider {
    overflow: hidden;
    position: relative;
  }
}
@media (max-width: 425px) {
  .casestudy-slider {
    padding: 30px 0 40px;
  }
  .casestudy-slider:after {
    top: 38%;
  }
  .casestudy-slider .typ-section {
    width: 80%;
  }
  .slider-section .slick-arrow {
    height: 45px;
    width: 45px;
    padding-top: 15px;
  }
  .slider-section .casestudy .text-section {
    padding: 29px 30px;
  }
  .slider-section .casestudy .pre-title {
    font-size: 20px;
    line-height: 26px;
  }
  .slider-section .casestudy .excerpt {
    font-size: 16px;
    line-height: 22px;
  }
}
@media (max-width: 425px) {
  .slider-section .casestudy .image-section {
    min-height: 305px;
  }
}
@media (max-width: 375px) {
  .slider-section .casestudy .image-section {
    min-height: 280px;
  }
}
@media (max-width: 320px) {
  .slider-section .casestudy .image-section {
    min-height: 240px;
  }
  .slider-section .casestudy .pre-title {
    margin-bottom: 15px;
  }
  .slider-section .casestudy .excerpt {
    font-size: 13px;
  }
  .slider-section .casestudy .a-link {
    margin-top: 20px;
    font-size: 13px;
  }
}
