body.school_leadership {
  header .container,
  footer .container {
    @include breakpoint($max-width) {
      margin-left: auto;
      margin-right: auto;
    }
  }
  .content {
    margin: 0 auto;
    max-width: 100%;
  }
}

body.school_leadership {
  .header-block {
    width: 100%;
    height: 600px;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position-x: center;
    background-image: url('/img/assets/school/leadership/school-leadership-header-mob.jpg');

    @include breakpoint($break-tablet) {
      background-image: url('/img/assets/school/leadership/school-leadership-header.jpg');
      height: 45vw;
    }

    .header-content {
      width: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      font-family: $proxima-bold;
      padding: 0 1rem;

      @include breakpoint(525px) {
        padding: 0 2rem;
      }

      @include breakpoint($break-tablet) {
        padding: 0 4rem;
      }
    }

    .title {
      font-size: 1.8rem;
      font-weight: 500;
      color: #fff;
      line-height: 2.5rem;
      padding-bottom: 2rem;

      @include breakpoint(525px) {
        font-size: 2.58rem;
      }

      @include breakpoint($break-tablet) {
        font-size: 4vw;
        padding-bottom: 1rem;
        line-height: 4rem;
      }

      @include breakpoint($max-width) {
        padding: 0 3rem 2rem 3rem;
      }
    }

    .text {
      font-size: 1.3rem;
      font-weight: 400;
      color: #fff;
      line-height: 2rem;
      padding-bottom: 2rem;
      margin: 0 auto;

      @include breakpoint(525px) {
        font-size: 1.8rem;
      }

      @include breakpoint($break-tablet) {
        font-size: 1.6vw;
        line-height: 1.8rem;
        padding-bottom: 2rem;
      }

      @include breakpoint($max-width) {
        line-height: 2rem;
        max-width: $max-width;
        padding-bottom: 3rem;
      }
    }

    .button-main {
      height: auto;
    }
  }
}

body.school_leadership .content-block {
  padding: 0;
  position: relative;
  height: 100%;
  
  .block, .block-background {
    width: 100%;
    height: auto;
    position: relative;
    text-align: center;
    background-size: cover;
    background-position-x: center;
    
    @include breakpoint($break-tablet) {
      height: 46vw;
    }

    .left-part, .right-part {
      display: block;
      height: 100%;
      text-align: center;

      @include breakpoint($break-tablet) {
        float: left;
      }
    }

    .left-part {
      width: 100%;

      @include breakpoint($break-tablet) {
        width: 55%;
      }
    }

    .right-part {
      width: 100%;

      @include breakpoint($break-tablet) {
        width: 45%;
      }
    }

    .content {
      height: 100%;
      display: flex;
      align-items: center;
    }

    .image {
      text-align: center;
      padding: 3rem;

      @include breakpoint($break-tablet) {
        text-align: right;
      }

      img {
        height: auto;
        width: auto;

        @include breakpoint($break-tablet) {
          height: 25vw;
          width: auto;
        }
      }
    }

    .title-text-left, .title-text-right, .title-text-center {
      text-align: center;
      margin: 0 auto;

      h2 {
        font-size: 2rem;
        font-weight: 600;
      }
      
      p {
        padding: 0 1.5rem;
        font-family: $proxima-light;
        font-size: 1.5rem;
        font-weight: 300;
        line-height: 1.5rem;
      }

      @include breakpoint(450px) {
        h2 {
          font-size: 2.5rem;
        }

        p {
          padding: 0 3rem;
          font-size: 1.6rem;
        }
      }

      @include breakpoint($break-tablet) {
        text-align: left;

        h2 {
          font-size: 3.5vw;
        }

        p {
          margin-top: 1rem;
          padding: 0 3rem 0 0;
          line-height: 2rem;
          font-size: 1.8vw;
        }
      }
    }

    .title-text-left {
      color: #fff;
      text-shadow: rgba(0, 0, 0, .7) 0 0 5px;

      p {
        font-family: $proxima-bold;
      }

      @include breakpoint($break-tablet) {
        padding-left: 20%;
      }
    }

    .title-text-right {
      color: #000;
    }

    .title-text-center {
      text-align: center;
      color: #fff;

      @include breakpoint($break-tablet) {
        width: 70%;
      }
    }
  }

  .block-background {
    height: 700px;

    @include breakpoint($break-tablet) {
      height: 46vw;
    }
  }

  #curriculum {
    background-image: url('/img/assets/school/leadership/curriculum-agnostic-mob.jpg');
    @include breakpoint($break-tablet) {
      background-image: url('/img/assets/school/leadership/curriculum-agnostic.jpg');
    }
  }

  #commitment {
    background-image: url('/img/assets/school/leadership/commitment-mob.jpg');
    @include breakpoint($break-tablet) {
      background-image: url('/img/assets/school/leadership/commitment.jpg');
    }
  }

  #trusted {
    background-image: url('/img/assets/school/leadership/trusted-mob.jpg');
    @include breakpoint($break-tablet) {
      background-image: url('/img/assets/school/leadership/trusted.jpg');
    }
  }
}

body.school_leadership {
  .ready-started-block {
    width: 100%;
    position: relative;
    background-color: $blue;
    height: 280px;
    text-align: center;

    h2 {
      margin-top: 0;
      color: #fff;
      padding: 40px 0 20px 0;
    }

    .button-rounded {
      display: block;
      min-width: 182px;
      min-height: 41px;
      margin: 1rem;
  
      @include breakpoint($break-tablet) {
        display: inline-block;
        min-width: 256px;
        min-height: 48px;
        margin: 0 1rem;
      }
    }
  }

  .carousel-block {
    @include container;
    text-align: center;
    display: block;
    line-height: 0;

    .carousel-inner {
      line-height: $base-line-height;

      height: auto;

      img {
        height: auto;
        width: 100%;
        margin: 0 auto;
        vertical-align: middle;
      }

      .title-text {
        text-align: center;
        margin: 0 auto;
        padding-top: 6%;
        width: 70%;
        color: #fff;

        .button-large {
          padding: 15px 35px;
          font-size: 1.8vw;
        }

        h2 {
          font-size: 5vw;
          font-weight: 400;
        }

        h3 {
          margin-top: 1rem;
          padding-top: 0;
          padding-bottom: 2.5%;
          font-size: 2.5vw;
          font-weight: 400;
        }

        @include breakpoint($break-tablet) {
          padding-top: 9%;
          h3 {
            padding-top: 1%;
            padding-bottom: 5%;
          }
        }
      }

      .slot-1, .slot-2, .slot-3 {
        width: 100%;
        height: 41.1vw;
        text-align: center;
        background-size: cover;
      }
    }

    .carousel-control.left, .carousel-control.right {
      background-image: none;
      background-repeat: no-repeat;
      text-shadow: none;
      display: none;
    }

    .carousel-control {
      width: 0;
    }

    .carousel-control.left span {
      margin: 0;
    }

    .carousel-control.right span {
      margin: 0;
    }

    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-prev,
    .carousel-control .icon-next {
      position: absolute;
      top: 45%;
      z-index: 5;
      display: inline-block;
    }

    .carousel-control .glyphicon-chevron-left:before {
      content: "\276E";
      display:block;
      width:30px;
      height:30px;
    }

    .carousel-control .glyphicon-chevron-right:before {
      content: "\276F";
      display:block;
      width:30px;
      height:30px;
    }

    .carousel-indicators li {
      display: inline-block;
      width: 15px;
      height: 15px;
      margin: 10px;
      text-indent: 0;
      cursor: pointer;
      border: 1px solid #00f;
      border-radius: 50%;
      background-color: #fff;
    }

    .carousel-indicators .active {
      width: 15px;
      height: 15px;
      margin: 10px;
      border: none;
      background-color: #00f;
    }

    .item {
      text-align: center;

      .logo {
        height: 120px;
        width: auto;
        margin: 0 auto;

        @include breakpoint($break-tablet) {
          height: 100px;
          margin: 2rem auto;
        }
      }

      .quote {
        font-size: 1.7rem;
        font-weight: 500;
        padding: 1rem 0;

        @include breakpoint($break-tablet) {
          font-size: 1.5rem;
        }
      }

      .author {
        font-size: 1.3rem;
        padding: 1rem 0 2rem 0;

        @include breakpoint($break-tablet) {
          font-size: 1.2rem;
          padding: 1rem 0 6rem 0;
        }
      }
    }

    .bottom-block {
      max-width: 100%;
      height: auto;

      .left-part, .right-part {
        width: 100%;
        float: left;
        vertical-align: top;

        @include breakpoint($break-tablet) {
          height: 41vw;
          width: 50%;
          display: inline-block;
        }

        @include breakpoint(1100px) {
          height: 34vw;
        }
      }

      .left-part {
        .coded-by-kids-img {
          width: 100%;
          height: 400px;
          background-size: cover;
          background-position-x: center;
          background-image: url('/img/assets/school/leadership/coded-by-kids.jpg');

          @include breakpoint($break-tablet) {
            width: 100%;
            height: 100%;
          }
        }
      }

      .right-part {
        text-align: center;
        background-color: $lighter-gray;

        @include breakpoint($break-tablet) {
          text-align: left;
        }
        
        .title {
          font-size: 1rem;
          font-weight: 500;
          color: $light-blue;
          text-transform: uppercase;
          padding: 1rem 1rem 0 2rem;

          @include breakpoint($break-tablet) {
            padding-top: 3vw;
            font-size: 1.2vw;
          }
        }

        img {
          height: 6rem;
          padding-left: 1rem;
          width: auto;

          @include breakpoint($break-tablet) {
            height: 8vw;
          }
        }

        .quote {
          color: #000;
          line-height: 1.8rem;
          font-size: 1.2rem;
          font-weight: 300;
          padding: 1rem 0;
          padding: 0 1rem;

          @include breakpoint(450px) {
            line-height: 1.9rem;
            font-size: 1.7rem;
            padding: 0 3rem;
          }

          @include breakpoint($break-tablet) {
            font-size: 1.6vw;
            padding: 2vw 4rem 1vw 2rem;
            line-height: 1.5rem;
          }
        }

        .author {
          font-weight: 400;
          color: #000;
          padding: 1rem 0 0 2rem;
          font-size: 1.3rem;
          padding: 1rem 0 2rem 0;

          @include breakpoint($break-tablet) {
            font-size: 1.2vw;
            padding: 0 0 2rem 2rem;
          }
        }
      }
    }
  }
}