/* Clitheroe default styles */

.page--default #Header3 {
  position: static;
}

.page--default .header__wrapper {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  height: 100vh;
  position: relative;
}

.page--default .header__logo {
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 3;
}

.page--default .header__logo-link,
.page--default .header__heading-svg--main {
  display: none;
}

.page--default .header__nav {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
}

.page--default .header__nav-link {
  color: var(--header-home-anchor-color);
}

.page--default .header .social {
  display: block;
  -webkit-box-ordinal-group: 5;
  -ms-flex-order: 4;
  order: 4;
  position: relative;
}

.page--default .header .social__link {
  color: var(--social-icon-color-home);
}

.page--default .header .svg--social .cls-1 {
  fill: var(--social-icon-color-home);
}

.page--default .footer .social {
  display: none;
}

.page--default .header__switcher {
  display: inline;
}

/* Main */

.home-main {
  background-color: var(--home-hero-background-color);
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: var(--home-hero-color);
  margin-left: auto;
  margin-right: auto;
  max-width: var(--wrapper-width-desktop);
}

@media only screen and (min-width: 768px) {
  .home-main {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Hero */

.home-hero {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-image: var(--home-hero-background-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 0 10px 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  text-transform: var(--home-hero-text-transform);
}

.home-hero__title {
  font-family: var(--home-hero-font-family);
  line-height: 1.1em;
}

.button--home-hero {
  background-color: var(--home-hero-button-background-color);
  border-color: var(--home-hero-button-border-color);
  border-width: 3px;
  color: var(--home-hero-button-color);
  padding-left: 2em;
  padding-right: 2em;
}

.button--home-hero:hover {
  background-color: var(--home-hero-button-background-color-hover);
  border-color: var(--home-hero-button-border-color-hover);
  border-width: 3px;
  color: var(--home-hero-button-color-hover);
}

@media only screen and (max-width: 767px) {
  .home-hero {
    height: 300px;
  }

  .home-hero__title {
    font-size: 32px;
    margin-bottom: 20px;
  }

  .button--home-hero {
    font-size: 18px;
  }
}

@media only screen and (min-width: 768px) {
  .home-hero {
    height: 600px;
  }

  .home-hero__title {
    font-size: 68px;
    margin-bottom: 30px;
  }

  .button--home-hero {
    font-size: 18px;
  }
}

/* Intro */

.home-intro {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-right: -10px;
  position: relative;
}

.home-intro::after {
  border-bottom-color: transparent;
  border-bottom-style: solid;
  border-right-color: var(--home-intro-background-trim-color);
  border-right-style: solid;
  border-top-color: transparent;
  border-top-style: solid;
  bottom: 0;
  content: '';
  height: 0;
  position: absolute;
  right: 0;
  -webkit-transform: translateY(50%);
  -ms-transform: translateY(50%);
  transform: translateY(50%);
  width: 0;
}

.home-intro-content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.home-intro-content--image {
  border-radius: 10px 0 0 10px;
  -webkit-box-shadow: -10px 10px 10px 0px rgba(64, 64, 64, 0.5);
  box-shadow: -10px 10px 10px 0px rgba(64, 64, 64, 0.5);
  overflow: hidden;
}

.home-intro__title {
  font-family: var(--home-intro-title-font-family);
  text-transform: var(--home-intro-title-text-transform);
}

.home-intro__img {
  max-width: 100%;
}

@media only screen and (max-width: 767px) {
  .home-intro {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-right: 0;
    padding-bottom: 30px;
    padding-top: 30px;
  }

  .home-intro::after {
    border-bottom-width: 150px;
    border-right-width: 100px;
    border-top-width: 150px;
  }

  .home-intro-content--text {
    padding: 10px 20px 30px;
  }

  .home-intro-content--image {
    -ms-flex-item-align: end;
    align-self: flex-end;
    width: 80%;
  }

  .home-intro__title {
    font-size: 40px;
    margin-bottom: 15px;
  }

  .home-intro__p {
    font-size: 15px;
  }
}

@media only screen and (min-width: 768px) {
  .home-intro::after {
    border-bottom-width: 300px;
    border-right-width: 140px;
    border-top-width: 300px;
  }

  .home-intro-content--image {
    margin-right: -10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .home-intro {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .home-intro-content--text {
    padding: 10px 20px 40px;
  }

  .home-intro-content--image {
    -ms-flex-item-align: end;
    align-self: flex-end;
    margin-right: 0;
    width: 80%;
  }

  .home-intro__title {
    font-size: 54px;
    margin-bottom: 20px;
  }

  .home-intro__p {
    font-size: 22px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  .home-intro {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .home-intro-content--text {
    padding: 10px 40px;
    width: 55%;
  }

  .home-intro-content--image {
    width: 45%;
  }

  .home-intro__title {
    font-size: 48px;
    margin-bottom: 15px;
  }

  .home-intro__p {
    font-size: 16px;
  }
}

@media only screen and (min-width: 1280px) and (max-width: 1599px) {
  .home-intro {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .home-intro-content--text {
    padding: 20px 80px;
    width: 55%;
  }

  .home-intro-content--image {
    width: 45%;
  }

  .home-intro__title {
    font-size: 54px;
    margin-bottom: 20px;
  }

  .home-intro__p {
    font-size: 18px;
  }
}

@media only screen and (min-width: 1600px) {
  .home-intro {
    padding-bottom: 80px;
    padding-top: 80px;
  }

  .home-intro-content--text {
    padding: 20px 80px;
    width: 55%;
  }

  .home-intro-content--image {
    width: 45%;
  }

  .home-intro__title {
    font-size: 54px;
    margin-bottom: 20px;
  }

  .home-intro__p {
    font-size: 22px;
  }
}

/* Boxes */

.home-boxes {
  display: -ms-grid;
  display: grid;
  margin-left: auto;
  margin-right: auto;
  max-width: var(--wrapper-width-desktop);
}

.home-box {
  background-color: var(--home-halfbox-background-color);
  border-radius: var(--home-halfbox-border-radius);
  overflow: hidden;
}

@media only screen and (max-width: 767px) {
  .home-boxes {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
    grid-row-gap: 15px;
    padding: 0 15px 30px;
  }
}

@media only screen and (min-width: 768px) {
  .home-boxes {
    -ms-grid-columns: 1fr 15px 1fr;
    grid-template-columns: 1fr 1fr;
    grid-column-gap: 15px;
    grid-row-gap: 20px;
    padding: 0 20px 40px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .home-boxes {
    grid-auto-rows: 400px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  .home-boxes {
    grid-auto-rows: 450px;
  }
}

@media only screen and (min-width: 1280px) {
  .home-boxes {
    grid-auto-rows: 500px;
  }
}

/* Half-box */

.home-halfbox {
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  background-image: var(--home-halfbox-background-image);
  background-repeat: no-repeat;
  background-size: var(--home-halfbox-background-size);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.home-halfbox__title {
  font-family: var(--home-halfbox-font-family);
  margin-bottom: 0.6em;
  text-transform: var(--home-halfbox-text-transform);
}

.home-halfbox__title-text--primary {
  color: var(--home-halfbox-color);
}

.home-halfbox__title-text--secondary {
  color: var(--home-halfbox-color-alt);
}

.button--home-halfbox {
  background-color: var(--home-halfbox-button-background-color);
  border-color: var(--home-halfbox-button-border-color);
  border-width: 3px;
  color: var(--home-halfbox-button-color);
  letter-spacing: 0.1em;
  padding: 1.2em 1.5em;
}

.button--home-halfbox:hover {
  background-color: var(--home-halfbox-button-background-color-hover);
  border-color: var(--home-halfbox-button-border-color-hover);
  color: var(--home-halfbox-button-color-hover);
}

@media only screen and (max-width: 767px) {
  .home-halfbox {
    background-position: right 20px bottom 20px;
    padding: 0 30px;
  }

  .home-halfbox__title {
    font-size: 30px;
  }
}

@media only screen and (min-width: 768px) {
  .home-halfbox {
    background-position: right 30px bottom 30px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
  .home-halfbox {
    padding: 0 30px;
  }

  .home-halfbox__title {
    font-size: 38px;
  }
}

@media only screen and (min-width: 1024px) and (max-width: 1279px) {
  .home-halfbox {
    padding: 0 40px;
  }

  .home-halfbox__title {
    font-size: 48px;
  }
}

@media only screen and (min-width: 1280px) {
  .home-halfbox {
    padding: 0 60px;
  }

  .home-halfbox__title {
    font-size: 54px;
  }
}

@media only screen and (max-width: 767px) {
  .page--default .header__heading {
    width: var(--header-home-logo-width-small);
  }

  .page--default .header__button {
    display: none;
  }

  .page--default .header__nav {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-top: 30px;
  }

  .page--default .header__nav-link {
    font-size: 14px;
    padding: 1em;
  }

  .page--default .header .social {
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 768px) {
  .page--default .header__wrapper {
    max-width: none;
  }

  .page--default .header__nav {
    margin-top: 6em;
  }

  .page--default .header__nav-link {
    font-size: 24px;
  }

  .page--default .header__logo {
    margin: -40px 0 0;
  }

  .page--default .header .social {
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .page--default .header__heading {
    width: var(--header-home-logo-width-medium);
  }
}

@media only screen and (min-width: 992px) {
  .page--default .header__heading {
    width: var(--header-home-logo-width-large);
  }
}
