/*
Theme Name: Beeding & Bramber Past
Author: John King
*/


/* CSS for Beeding & Bramber Past */
/* Design by Sarah @ Borderless */
/* CSS by John King with modifications by Mike Dillamore */

/* Normalise / Reset CSS */

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
figcaption,
figure,
footer,
header,
nav,
section {
  display: block;
}

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

a:hover,
a:active {
  outline: 0;
}

b,
strong {
  font-weight: 600;
}

i,
em {
  font-style: italic;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}

small {
  font-size: 85%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

li {
  list-style: none;
  list-style-image: none;
}

img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}

svg:not(:root) {
  overflow: hidden;
}

form {
  margin: 0;
}

button,
input,
select,
textarea {
  font-size: 100%;
  font-family: inherit;
  line-height: inherit;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}

button,
input {
  line-height: normal;
  *overflow: visible;
}

table button,
table input {
  *overflow: auto;
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
}

input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

td {
  vertical-align: top;
}

.clearfix::after {
  content: "";
  display: block;
  clear: both;
}

.clearfix {
  zoom: 1;
}

html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

/* Main Layout and Positioning */

html {
  min-width: 320px;
  overflow-y: scroll;
  overflow-x: hidden;
}

html.no-mediaqueries,
html.no-mediaqueries body {
  min-width: 1000px;
}

.constrictor {
  max-width: 1300px;
  margin: 0px auto;
}

.constrictor-text {
  position: relative;
  max-width: 1024px;
  margin: 0px auto;
}

.responsive {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0px auto;
}

.bg-cover {
  background-position: 50% 50%;
  background-size: cover;
}

.border-top {
  border-top: 1px solid #646350;
}

/* Palette */

.bg-yellow {
  background-color: #3581c5;
}

.bg-white {
  background-color: #ffffff;
}


/* Fonts */

body,
button,
input,
select,
textarea {
  font-family: 'proxima-nova', sans-serif;
  /* 300, 500, 600, 700 */
  color: #646350;
  font-size: 17px;
  line-height: 1.25em;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a {
  color: #646350;
  text-decoration: none;
}

a:not(.button):hover {
  transition: all 0.2s;
  text-shadow: 0px 0px 2px rgba(255, 255, 255, 0.5);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 30px 0px 20px 0px;
  line-height: 1.3125em;
  font-size: 18px;
  font-weight: 700;
}

h1 {
  margin-top: 0px;
  line-height: 1.125em;
  font-size: 30px;
  color: #646350;
  font-weight: 700;
}

h2 {
  font-weight: 700;
  font-size: 24px;
}

p {
  margin: 22px 0px 22px 0px;
  line-height: 1.5em;
}

label,
input,
select,
textarea {
  font-size: 14px;
  border: none;
  color: #646350;
}

::-moz-placeholder {
  color: #434343;
  opacity: 1;
}

::-webkit-input-placeholder {
  color: #434343;
}

:-ms-input-placeholder {
  color: #434343;
}

::placeholder {
  color: #434343;
}

.font-weight-bolder {
  font-weight: 700;
}

.color-brown {
  color: #646350;
}

.color-white {
  color: #ffffff;
}

.color-black {
  color: #202020;
}

.centred {
  text-align: center;
}

.uppercase {
  text-transform: uppercase;
}

.underline {
  text-decoration: underline;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


/* Header & Nav */

header {
  position: relative;
  margin-bottom: 25px;
  z-index: 1000;
}

header .logo-area {
  float: left;
  display: block;
  padding: 20px 20px 0px 0px;
}

header .logo-area .logo-main {
  float: left;
  display: block;
  margin-right: 10px;
}

header .logo-area .logo-text {
  float: left;
  display: block;
  margin-top: 72px;
}

.mob-nav-icon {
  float: right;
  width: 70px;
  padding: 13px 0px 20px 0px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.mob-nav-icon.icon-close {
  position: relative;
  padding-bottom: 40px;
  margin: 0px 0px 0px 0px;
}

.mob-nav-icon.icon-open div {
  width: 36px;
  height: 3px;
  margin: 4px auto 7px auto;
  background: #646350;
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.mob-nav-icon.icon-close div {
  position: absolute;
  bottom: 20px;
  left: 17px;
  width: 36px;
  right: 36px;
  height: 3px;
  margin: 0px auto 0px auto;
  background: #646350;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: 0.3s ease-in-out;
  -moz-transition: 0.3s ease-in-out;
  -o-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.mob-nav-icon.icon-close div:first-child {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

header nav {
  float: none;
  position: absolute;
  display: none;
  left: 100%;
  top: 90px;
  width: 100%;
  min-height: calc(100vh - 90px);
  border-top: 1px solid #646350;
}

header nav li {
  float: none;
  font-weight: 700;
}

header nav li a {
  display: block;
  padding: 11px 14px 9px;
  border-bottom: 1px solid #646350;
}

header nav li.active a {
  background: #3581c5;
  color: #ffffff;
}

.skip-navigation a {
  position: absolute;
  display: block;
  top: 0px;
  left: -10000px;
  padding: 10px;
  z-index: 1001;
}

.csstransforms .skip-navigation a:focus {
  left: 50%;
  -ms-transform: translateX(-50%);
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
}


/* Content Generic */

.main-content {
  clear: both;
}

.element-padding {
  padding: 0px 10px;
}

.element-margin {
  margin: 20px 0px;
}

.image-container {
  margin: 30px -10px;
}

h1.top-line {
  position: relative;
  padding-top: 20px;
}

h1.top-line::before {
  position: absolute;
  content: "";
  top: 0px;
  left: 0px;
  width: 45px;
  height: 7px;
  background: #3581c5;
}

.element-introduction {
  margin-top: 0px;
}

.element-introduction p {
  font-size: 22px;
  color: #646350;
  line-height: 1.25em;
}

.wysiwyg-text a:not(.button) {
  border-bottom: 2px solid #646350;
}

.wysiwyg-text a:not(.button):hover {
  color: #3581c5;
  border-color: #3581c5;
}

.wysiwyg-text ul,
.wysiwyg-text ol {
  margin: 22px 0px;
  padding-left: 17px;
}

.wysiwyg-text ul li,
.wysiwyg-text ol li {
  line-height: 1.5em;
  margin: 13px 0px;
  list-style-type: disc;
}

.wysiwyg-text ol li {
  list-style-type: decimal;
}

.wysiwyg-text figcaption {
  margin-top: 6px;
  line-height: 1.25em;
  font-size: 12px;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  padding-top: 25px;
  height: 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Side Column */

.contact-us-element {
  position: relative;
  margin: 40px auto;
  word-break: break-all;
}

.contact-us-element::before {
  position: absolute;
  content: "";
  top: -14px;
  left: 0px;
  width: 36px;
  height: 5px;
  background: #3581c5;
}

.home .side-column .contact-us-element {
  display: none !important;
}


/* Quick Link & Hub Grids */

.element-quick-links,
.element-hub-items {
  margin: 20px -10px;
}

.element-quick-links a,
.element-hub-items .hub-item {
  position: relative;
  display: block;
  margin-bottom: 4px;
}

.element-hub-items .hub-item a {
  position: relative;
  display: block;
}

.element-quick-links a:hover .box-holder,
.element-hub-items a:hover .box-holder {
  opacity: 0.7;
}

.box-holder {
  height: 364px;
}

.box-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 267px;
  padding: 10px 0px;
}

.box-text .box-text-header {
  padding: 6px 10px 4px 10px;
  font-size: 26px;
  line-height: 26px;
  font-weight: 600;
}

.element-quick-links a:hover .box-text .box-text-header,
.element-quick-links a:hover .box-text .box-text-text,
.element-hub-items a:hover .box-text .box-text-header {
  color: #202020;
}

.box-text .box-text-text {
  padding: 2px 10px 1px 10px;
  line-height: 1.25em;
  font-size: 12px;
  font-weight: 600;
}


/* Blockquotes */

.blockquote-image-full {
  margin-bottom: 3px;
}

.blockquote-image-bg {
  display: none;
}

blockquote {
  padding: 5px 20px;
  background: #3581c5;
  color: #ffffff;
}

blockquote p {
  position: relative;
  font-size: 20px;
  font-weight: 700;
}

blockquote p,
blockquote cite {
  margin: 15px 0px 15px 0px;
  color: #ffffff;
  line-height: 1.25em;
}

blockquote cite {
  display: block;
  font-size: 15px;
}

blockquote span {
  display: block;
  font-weight: 700;
}


/* Forms */

.ginput_container input,
.ginput_container textarea {
  border: 1px solid #646350;
}

a.button,
.element-page-nav a,
.gform_button {
  display: inline-block;
  background: #646350;
  padding: 8px 12px;
  line-height: 1.5em;
  font-size: 16px;
  color: #ffffff;
}

.element-page-nav a {
  display: block;
  margin-top: 40px;
  padding: 12px 12px;
}

.wpcf7-submit:hover,
a.button:hover,
.element-page-nav a:hover,
.gform_button:hover {
  opacity: 0.9;
  color: #ffffff;
}

form.wpcf7-form input.wpcf7-text,
form.wpcf7-form textarea {
  width: 100%;
  max-width: 400px;
  padding: 8px;
  border: 1px solid #646350;
}

.gform_wrapper .gfield_required {
  color: #817f60;
  font-style: normal;
  font-size: 12px;
}

.gform_wrapper.gravity-theme .gform_fields {
  grid-row-gap: 30px;
}

.gform_button {
  background: #3581c5;
  font-weight: 700;
  color: #000;
  margin-bottom: 20px;
}


/* Footer */

footer {
  margin: 20px 0px 10px 0px;
}

footer a:hover {
  text-decoration: underline;
}

footer .cols {
  margin-left: -10px;
  margin-right: -10px;
}

footer .cols .col {
  position: relative;
  float: left;
  width: 50%;
  padding: 10px 10px;
}

footer .cols .col::before {
  position: absolute;
  content: "";
  top: 10px;
  left: 10px;
  width: 35px;
  height: 5px;
  background: #3581c5;
}

footer p {
  margin: 12px 0px 12px 0px;
  line-height: 1.3125em;
  font-size: 14px;
}

footer p strong {
  font-weight: 700;
}

footer ul {
  margin-top: -5px;
  margin-bottom: 12px;
}

footer li {
  line-height: 14px;
  font-size: 14px;
}

footer li a,
footer li span {
  display: block;
  line-height: 1.3125em;
  padding: 6px 0px;
}

footer .footer-bottom-text-row {
  padding: 10px 0px;
}

footer .footer-bottom-text-row p {
  font-size: 18px;
  font-weight: 500;
}

footer .footer-bottom {
  padding: 10px 0px;
  font-weight: 500;
}

footer .footer-bottom p {
  font-size: 14px;
}



/* ------------------------------------------------------------------------ */
/* Responsive CSS */

/* Mobile Small */

@media (max-width: 500px) {

  footer .cols .col {
    width: 100%;
  }

  footer li a,
  footer li span {
    padding: 9px 0px;
  }

}

/* Above Mobile Small */

@media (min-width: 501px) {

  .blockquote-image-full {
    display: none;
  }

  .blockquote-image-bg {
    display: block;
    float: left;
    width: 50%;
    min-height: 1px;
  }

  .blockquote-text {
    float: left;
    width: 50%;
    padding-left: 10px;
  }

  .blockquote-text blockquote {
    min-height: 200px;
  }

}

/* Below Tablet Size */

@media (max-width: 739px) {}

/* Tablet and Above */

@media (min-width: 740px) {

  header .logo a img {
    height: 174px;
    width: 114px;
  }

  .element-padding {
    padding: 0px 25px;
  }

  .element-quick-links {
    margin: 0px 0px 20px 0px;
  }

  .element-hub-items {
    margin: 20px 0px 20px 0px;
  }

  .blockquote-text blockquote {
    min-height: 300px;
  }

  footer .cols .col {
    width: 25%;
  }

}


/* Desktop and Above */

@media (min-width: 925px) {

  header {
    margin-bottom: 0px;
  }

  .flex-columns {
    display: -ms-flex;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
  }

  .flex-columns.home-layout {
    flex-direction: row;
    justify-content: flex-start;
  }

  .flex-columns .main-column {
    flex: 0 1 650px;
  }

  .flex-columns.home-layout .main-column {
    flex: 0 1 920px;
  }

  .flex-columns .side-column {
    flex: 0 1 314px;
    padding-top: 37px;
    padding-right: 34px;
  }

  .flex-columns.home-layout .side-column {
    flex: 0 1 350px;
    padding-top: 20px;
    padding-right: 34px;
  }

  .flex-columns .side-column.side-column-hidden {
    padding-top: 0px;
  }

  .side-column .contact-us-element {
    width: auto;
    margin: 40px 0px;
    word-break: break-all;
  }

  .home .side-column .contact-us-element {
    display: block !important;
  }

  .home .main-column .contact-us-element {
    display: none !important;
  }

  .image-container {
    margin-right: 0px;
    margin-left: 0px;
  }

  h1 {
    font-size: 30px;
  }

  .side-column h1.top-line::before {
    display: none;
  }

  .element-introduction p {
    font-size: 20px;
  }

  .element-hub-items .hub-item {
    float: left;
    width: 50%;
    padding: 2px;
    margin: 0px;
  }

}

/* Less than Desktop Nav */

@media (max-width: 979px) {

  header .logo-area .logo-main {
    height: 100px;
    width: 75px;
  }

  header .logo-area .logo-text {
    margin-top: 49px;
    height: 51px;
    width: 105px;
  }

}

/* Desktop Nav */

@media (min-width: 980px) {

  .mob-nav-icon {
    display: none;
  }

  .header-elements {
    position: relative;
  }

  header nav {
    float: none;
    display: block !important;
    position: absolute;
    left: 345px !important;
    right: 0px;
    top: 0px;
    width: auto;
    min-height: auto;
    border-top: none;
    visibility: hidden;
  }

  .fonts-loaded header nav,
  .fonts-not-loaded header nav {
    visibility: visible;
  }

  header nav ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
  }

  header nav ul li {
    font-size: 14px;
  }

  .fonts-loaded header nav ul li,
  .fonts-not-loaded header nav ul li {
    font-size: 15px;
  }

  header nav ul li a {
    display: block;
    height: auto;
    margin-top: 55px;
    padding: 30px 6px 30px 6px;
    border: none;
  }

  header nav ul li:first-child a {
    padding-left: 0px !important;
  }

  header nav ul li:last-child a {
    padding-right: 0px !important;
  }

  header nav li.active a {
    background: #ffffff;
    color: #3581c5;
  }

  header nav ul li a:hover,
  header nav ul li.current_page_item a,
  header nav ul li.current-page-ancestor a {
    color: #3581c5;
  }

  header nav ul li a span {
    position: relative;
  }

  header nav ul li.active a span::after {
    position: absolute;
    content: "";
    left: 0px;
    right: 0px;
    top: 100%;
    height: 1px;
    margin-top: 3px;
    background-color: #3581c5;
  }

}

/* Wider Desktop Navs */

@media (min-width: 1050px) {

  header nav ul li {
    font-size: 15px;
  }

  .fonts-loaded header nav ul li,
  .fonts-not-loaded header nav ul li {
    font-size: 16px;
  }

}

@media (min-width: 1110px) {

  /*
	 header nav ul li a {
    padding-left: 11.7px;
		padding-right: 11px;
  }
*/

}



/* ----------- */
/* Print Style Sheet */

@media print {
  * {
    background: transparent !important;
    color: #000 !important;
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " ("attr(href) ")";
  }

  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  img {
    max-width: 100% !important;
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}