.flexslider {
  border: none;
  margin-bottom: 30px; }
  .flexslider .slides li a {
    display: block;
    position: relative;
    width: 100%;
    height: 100%; }
    .flexslider .slides li a .overlay {
      position: absolute;
      width: 100%;
      height: 100%;
      padding-top: 20%;
      left: 0;
      top: 0;
      background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
      color: #fff;
      text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.5);
      font-size: 14px;
      line-height: 18px;
      text-align: center;
      box-sizing: border-box; }
      @media screen and (max-width: 768px) {
        .flexslider .slides li a .overlay {
          padding-top: 20%; } }
      @media screen and (max-width: 600px) {
        .flexslider .slides li a .overlay {
          padding-top: 12%; } }
      .flexslider .slides li a .overlay h1 {
        color: white;
        font-weight: 700;
        font-size: 42px;
        text-align: center;
        width: 80%;
        margin: 0 10% 40px 10%; }
        @media screen and (max-width: 768px) {
          .flexslider .slides li a .overlay h1 {
            font-size: 30px;
            margin: 0 10%; } }
        @media screen and (max-width: 500px) {
          .flexslider .slides li a .overlay h1 {
            font-size: 22px; } }

/* customisation to counteract Kube default style */
.flex-direction-nav a {
  text-shadow: none;
  height: 30px;
  padding-top: 20px;
  color: white; }
  .flex-direction-nav a:before {
    box-sizing: content-box;
    text-shadow: none;
    color: white; }
