/* Variables */
:root {
  --primary: #f7a03d;
  --primary-2: #e89230;
  --dark: #1a1a1a;
  --light: #f7f8f9;
}

/* mixins */
/* Global Styles */
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: "Kanit", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body {
  color: #404040;
  cursor: auto;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--primary-2);
}

ul {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.screenreader {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

/* Layout */
.inner {
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
  max-width: 75rem;
}
@media only screen and (min-width: 48em) {
  .inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.narrow {
  margin-left: auto;
  margin-right: auto;
  max-width: 42rem;
}

.row {
  display: flex;
  flex-flow: row wrap;
  margin-left: -1rem;
  margin-right: -1rem;
}
@media only screen and (min-width: 48em) {
  .row {
    margin-left: -2rem;
    margin-right: -2rem;
  }
}

.col {
  flex: 1;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  padding-right: 1rem;
}
@media only screen and (min-width: 48em) {
  .col {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.row-top {
  align-items: flex-start;
}

.row-bottom {
  align-items: flex-end;
}

.row-center {
  align-items: center;
}

.row-space-between {
  justify-content: space-between;
}

.col-top {
  align-self: flex-start;
}

.col-bottom {
  align-self: flex-end;
}

.col-center {
  align-self: center;
}

.row-fit > .col {
  flex: 1;
}

.row-full > .col {
  flex: 0 0 100%;
}

.col-1 {
  flex: 0 0 8.3333%;
}

.col-2 {
  flex: 0 0 16.6666%;
}

.col-3 {
  flex: 0 0 25%;
}

.col-4 {
  flex: 0 0 33.3333%;
}

.col-5 {
  flex: 0 0 41.6666%;
}

.col-6 {
  flex: 0 0 50%;
}

.col-7 {
  flex: 0 0 58.3333%;
}

.col-8 {
  flex: 0 0 66.6666%;
}

.col-9 {
  flex: 0 0 75%;
}

.col-10 {
  flex: 0 0 83.3333%;
}

.col-11 {
  flex: 0 0 91.6666%;
}

.col-full {
  flex: 0 0 100%;
}

@media only screen and (min-width: 48em) {
  .md-row-fit > .col {
    flex: 1;
  }
  .md-row-full > .col {
    flex: 0 0 100%;
  }
  .md-col-1 {
    flex: 0 0 8.3333%;
  }
  .md-col-2 {
    flex: 0 0 16.6666%;
  }
  .md-col-3 {
    flex: 0 0 25%;
  }
  .md-col-4 {
    flex: 0 0 33.3333%;
  }
  .md-col-5 {
    flex: 0 0 41.6666%;
  }
  .md-col-6 {
    flex: 0 0 50%;
  }
  .md-col-7 {
    flex: 0 0 58.3333%;
  }
  .md-col-8 {
    flex: 0 0 66.6666%;
  }
  .md-col-9 {
    flex: 0 0 75%;
  }
  .md-col-10 {
    flex: 0 0 83.3333%;
  }
  .md-col-11 {
    flex: 0 0 91.6666%;
  }
  .md-col-full {
    flex: 0 0 100%;
  }
  .md-col-first {
    order: -1;
  }
}
@media only screen and (min-width: 75em) {
  .lg-row-fit > .col {
    flex: 1;
  }
  .lg-row-full > .col {
    flex: 0 0 100%;
  }
  .lg-col-1 {
    flex: 0 0 8.3333%;
  }
  .lg-col-2 {
    flex: 0 0 16.6666%;
  }
  .lg-col-3 {
    flex: 0 0 25%;
  }
  .lg-col-4 {
    flex: 0 0 33.3333%;
  }
  .lg-col-5 {
    flex: 0 0 41.6666%;
  }
  .lg-col-6 {
    flex: 0 0 50%;
  }
  .lg-col-7 {
    flex: 0 0 58.3333%;
  }
  .lg-col-8 {
    flex: 0 0 66.6666%;
  }
  .lg-col-9 {
    flex: 0 0 75%;
  }
  .lg-col-10 {
    flex: 0 0 83.3333%;
  }
  .lg-col-11 {
    flex: 0 0 91.6666%;
  }
  .lg-col-full {
    flex: 0 0 100%;
  }
}
/* Utility Functions */
.section {
  padding-bottom: 4rem;
  padding-top: 4rem;
}
@media only screen and (min-width: 48em) {
  .section {
    padding-bottom: 8rem;
    padding-top: 8rem;
  }
}

.section-grey {
  background-color: #f7f7f7;
}

/* Main Menu */
.main-menu {
  background-color: var(--dark);
  height: 100%;
  left: 0;
  list-style: none;
  margin: 0;
  opacity: 0;
  overflow-x: hidden;
  padding: 3rem 0 0 0;
  position: fixed;
  top: 0;
  transition: opacity 0.5s;
  visibility: hidden;
  width: 100%;
  z-index: 20;
}
.main-menu.open {
  opacity: 1;
  visibility: visible;
}
@media only screen and (min-width: 59em) {
  .main-menu {
    background-color: transparent;
    height: auto;
    opacity: 1;
    overflow-x: visible;
    padding: 0;
    position: static;
    text-align: center;
    visibility: visible;
    width: auto;
  }
}

.main-menu li {
  text-align: center;
}
@media only screen and (min-width: 59em) {
  .main-menu li {
    display: inline-block;
  }
}

.main-menu a {
  color: #fff;
  display: block;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 1rem;
  text-decoration: none;
}
@media only screen and (min-width: 48em) {
  .main-menu a {
    color: var(--dark);
    padding: 1rem 1.5rem;
  }
}

.main-menu a:hover,
.main-menu a.active {
  color: var(--primary);
}

.menu-btn {
  background-color: var(--primary);
  border: none;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  height: 48px;
  font-size: 1em;
  display: inline-block;
  padding: 8px;
  position: fixed;
  top: 0;
  right: 0;
  width: 48px;
  z-index: 30;
}
@media only screen and (min-width: 59em) {
  .menu-btn {
    display: none;
  }
}
.menu-btn #nav-icon {
  display: block;
  width: 32px;
  height: 20px;
  position: relative;
  transform: rotate(0deg);
  transition: 0.5s ease-in-out;
  cursor: pointer;
}
.menu-btn #nav-icon span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}
.menu-btn #nav-icon span:nth-child(1) {
  top: 0px;
}
.menu-btn #nav-icon span:nth-child(2) {
  top: 8px;
}
.menu-btn #nav-icon span:nth-child(3) {
  top: 16px;
}
.menu-btn #nav-icon.open span:nth-child(1) {
  top: 8px;
  transform: rotate(135deg);
}
.menu-btn #nav-icon.open span:nth-child(2) {
  opacity: 0;
  right: -40px;
}
.menu-btn #nav-icon.open span:nth-child(3) {
  top: 8px;
  transform: rotate(-135deg);
}

.menu-btn:focus {
  outline: 0;
}

/* Typography */
h1,
h2,
h3,
h4,
h5 {
  line-height: 1.2;
}

a h1,
a h2,
a h3,
a h4,
a h5 {
  color: var(--primary);
}

a:hover h1,
a:hover h2,
a:hover h3,
a:hover h4,
a:hover h5 {
  color: var(--primary);
}

p:first-child,
h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child {
  margin-top: 0;
}

p {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

h5 {
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

h6 {
  font-size: 1rem;
  margin-bottom: 1rem;
  margin-top: 1rem;
}

@media only screen and (min-width: 48em) {
  h1 {
    font-size: 3rem;
  }
  h2 {
    font-size: 2.25rem;
  }
}
.center {
  text-align: center;
}

.italic {
  font-style: italic;
}

.bold {
  font-weight: bold;
}

.small {
  font-size: 0.75rem;
}

.large {
  font-size: 1.125rem;
}

/* Header */
.site-header {
  padding-bottom: 1.5rem;
  padding-top: 1.5rem;
}

@media only screen and (min-width: 48em) {
  .site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
.site-logo {
  display: block;
}

.site-logo img {
  display: block;
  width: 250px;
}
@media only screen and (min-width: 48em) {
  .site-logo img {
    width: 270px;
  }
}

/* Hero */
.hero {
  background: url("../images/hero.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 12%;
  padding-bottom: 12%;
  margin-bottom: 1rem;
}
@media only screen and (min-width: 48em) {
  .hero {
    background-size: cover;
  }
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  padding: 2rem;
}
.hero-content h1 {
  color: #fff;
}
@media only screen and (min-width: 48em) {
  .hero-content {
    max-width: 40rem;
  }
}

.page-hero {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../images/hero.jpg") no-repeat center center;
  background-size: cover;
  padding-bottom: 5rem;
  padding-top: 5rem;
  text-align: center;
}
.page-hero h1 {
  color: #fff;
  margin-bottom: 0;
}

/* Specific Styles */
.cta {
  background: linear-gradient(90deg, rgb(247, 160, 61), rgba(247, 160, 61, 0.8)), url("../images/barley-court-staveley-31.jpg") no-repeat center center;
  background-size: cover;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.cta p {
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 0;
}

.box {
  background-color: var(--light);
  border-top: 6px solid var(--primary);
  padding: 1.5rem;
}

.angle {
  min-height: 140px;
  margin-top: -140px;
  background-image: linear-gradient(184deg, rgba(255, 255, 255, 0) 50%, #ffffff 50.4%);
  position: relative;
  z-index: 10;
}

.icon {
  color: var(--primary);
}

.icon-x2 {
  font-size: 2em;
}

.icon-x3 {
  font-size: 3em;
}

.inline-icon {
  display: flex;
}

.inline-icon .icon {
  margin-right: 0.5rem;
  padding-top: 0.2rem;
}

.mb-1-5 {
  margin-bottom: 1.5rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-4 {
  margin-bottom: 4rem;
}

.h-border {
  padding-bottom: 1rem;
  position: relative;
}

.h-border:after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 80px;
  height: 6px;
  background: var(--primary);
}

.img-bs-o {
  box-shadow: 10px 10px 0 var(--primary);
}

.img-bs-l {
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.g-link {
  display: block;
  position: relative;
}

.g-link:hover .g-btn {
  border-color: var(--primary-2);
  background-color: var(--primary-2);
}

.g-link img {
  display: block;
}

.g-btn {
  display: inline-block;
  position: absolute;
  left: 0;
  bottom: 0;
}

.s-shape {
  position: relative;
}

.s-shape:before {
  content: "";
  width: 40%;
  height: 300px;
  background-color: var(--primary);
  position: absolute;
  right: 0;
  bottom: 4em;
  z-index: -10;
}

.s-shape:after {
  content: "";
  width: 40%;
  height: 300px;
  background-color: var(--light);
  position: absolute;
  left: 0;
  top: 4em;
  z-index: -10;
}

/* 3rd Party */
.google-maps {
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 75%;
  height: 0;
  overflow: hidden;
}

.google-maps iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}

.youtube {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

.youtube iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Button */
.btn {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.1);
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
  margin-top: 1rem;
  padding: 0.5rem 2rem;
  text-align: center;
  text-decoration: none;
  transition: all 0.25s ease;
  vertical-align: middle;
  -webkit-appearance: none;
  -webkit-font-smoothing: antialiased;
}
.btn:hover, .btn:focus {
  background-color: var(--primary-2);
  border: 2px solid var(--primary-2);
  color: #fff;
}

.btn-wht {
  background-color: #fff;
  border: 2px solid #fff;
  color: var(--dark);
}
.btn-wht:hover, .btn-wht:focus {
  background-color: var(--primary);
  border: 2px solid var(--primary);
  color: #fff;
}

.btn-alt {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.btn-alt:hover, .btn-alt:focus {
  background-color: #fff;
  border: 2px solid #fff;
  color: var(--primary);
}

.btn-full {
  width: 100%;
}

.btn-wrapper .btn:first-child {
  margin-right: 0.5rem;
}

/* Cookie Table */
.cookie-table {
  margin-bottom: 2em;
  border-collapse: collapse;
}
.cookie-table td,
.cookie-table th {
  border: 1px solid #D3C4C6;
  padding: 1em;
  text-align: left;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: #fff;
  padding-bottom: 4rem;
  padding-top: 8rem;
}

.site-footer h4 {
  font-size: 0.875rem;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.site-footer p {
  color: #fff;
  margin-bottom: 0.25rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.footer-links {
  font-size: 0.8125em;
  padding-bottom: 1rem;
  padding-top: 6rem;
}

.footer-links span {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* Form */
form {
  width: 100%;
}
form label.hidden {
  display: none;
  font-size: 0.875em;
  font-weight: 500;
}
form .consent label {
  display: inline;
}
form .required {
  font-size: 0.75em;
}
form input[type=text],
form input[type=email],
form input[type=password],
form input[type=tel],
form textarea {
  background-color: #fff;
  border: 1px solid #dadada;
  border-radius: 0;
  display: block;
  font-family: inherit;
  font-size: 1em;
  margin-bottom: 1rem;
  padding: 0.75rem;
  -webkit-appearance: none;
  width: 100%;
}
form input[type=text]:focus,
form input[type=email]:focus,
form input[type=tel]:focus,
form textarea:focus {
  outline: 3px solid var(--primary);
}
form input[type=submit] {
  font-family: inherit;
  line-height: 1.6;
  margin-bottom: 0;
  margin-top: 1rem;
}
form textarea {
  min-height: 154px;
}
form input[type=text].hpot {
  display: none;
}

.error {
  color: #d40000;
  font-weight: bold;
}
