#menu {
  background-color: #39357d;
}
.case-studies-prelude {
  padding: 60px 0px;
  font-family: Poppins;
  font-weight: 300;
  font-size: 40px;
  color: #6f819b;
  border-top: 1px solid #dce5eb;
}
.case-studies {
  position: relative;
  background-image: url("/img/case-studies-block.jpg");
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  min-height: 240px;
  display: -webkit-box;
  display: -moz-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: box;
  display: flex;
  -webkit-box-orient: horizontal;
  -moz-box-orient: horizontal;
  -o-box-orient: horizontal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  distribute-content: center;
  -webkit-box-align: center;
  -moz-box-align: center;
  -o-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}
.case-studies img {
  width: 100%;
  height: auto;
  display: block;
}
.case-studies p {
  z-index: 10;
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 30px;
  color: #fff;
  font-family: Poppins;
  font-weight: 500;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  padding: 6px 23px;
  background: rgba(0,0,0,0.51);
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.case-studies .study {
  -webkit-box-flex: 1;
  -moz-box-flex: 1;
  -o-box-flex: 1;
  box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  position: relative;
}
.case-studies a {
  color: #fff;
  text-decoration: none;
}
.case-studies .prev,
.case-studies .next {
  display: none;
}
@media (max-width: 550px) {
  .case-studies .study {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 0;
    -ms-flex: 0;
    flex: 0;
  }
  .case-studies .study p {
    display: none;
  }
  .case-studies .study.active {
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
    -o-box-flex: 1;
    box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1;
  }
  .case-studies .study.active p {
    display: block;
  }
  .prev,
  .next {
    display: block !important;
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 40px;
    background: rgba(0,0,0,0.43);
    color: #fff;
    text-align: center;
    cursor: pointer;
  }
  .prev a,
  .next a {
    cursor: pointer;
  }
  .prev:hover,
  .next:hover {
    background: rgba(255,0,0,0.73);
  }
}
