/*
Trinity House
 */

html {
  line-height: 1.3;
  -webkit-text-size-adjust: 100%;
  background-color: #3d3935;
}



*,
*::before,
*::after {
  box-sizing: border-box;
  /* 3 */ }


.main-header-branding {
  position: relative;
  padding-top: 1.5rem;
}
.main-header-branding .branding {
  overflow: hidden;
  display: block;
  background: url('../img/logo-trinity-house.svg') no-repeat;
  background-size: 100% 100%;
  width: 12rem;
  height: 10rem;
  margin: 0 auto;
}
.main-header-branding .branding:before {
  content: "";
  display: block;
  width: 0;
  height: 100%;
}
/*@media (min-width: 768px) {
  .main-header-branding .branding {
    width: 73px;
    height: 113px;
  }
}

.main-header-nav {
  display: none;
}
@media (min-width: 1025px) {
  .main-header-nav {
    display: block;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
}*/

/*
Iframe
 */

.wrap__header,
.gw--header {
    margin-bottom: 0;
}

 .embed-wrapper {
    position: relative;
    overflow: hidden;
    padding-top: 100%;
}

.embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* Sections
 */
body {
    margin: 0;
    padding: 0;
    font-family: canada-type-gibson, avenir-next, avenir, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: #ffffff;

    background: url('../img/bg-pattern.png') repeat-y center 33vh;
    background-size: 50vw;
}

@media (max-width: 575px) {
  body {
    background-size: cover;
  }
}

h1, h2, h3, h4, h5, h6 {
    margin-top: .5rem;
    margin-bottom: 1.5rem;
    font-family: gravesend-sans, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: inherit;
}

h1 {
  font-size: 3.375rem;
}

h2 {
  font-size: 2.25rem; }

h3 {
  font-size: 2rem; }

h4 {
  font-size: 1.75rem; }

h5 {
  font-size: 1.5rem; }

h6 {
  font-size: 1.25rem; }

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

@media (max-width: 575px) {
  h1 {
    font-size: 2.25rem;
  }

  h3 {
    font-size: 1.75rem;
  }
}


/* Grouping content
 */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
  white-space: pre-wrap; }

/* Text-level semantics
 */
a {
    text-decoration: none;
    color: #8f876f;
}

a:hover {
    color: #d2cfc5;
}

a:active, a:visited {
    color: #8f876f;
}

a:not([href]):not([tabindex]) {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):hover, a:not([href]):not([tabindex]):focus {
    color: inherit;
    text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
    outline: 0;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
 */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
  height: auto;
  max-width: 100%; }

/* Interactive
 */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block; }

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item; }

figcaption {
  font-size: 16px;
  color: #333333;
  line-height: 1.4;
  font-style: italic;
  font-weight: 400; }

/* Misc
 */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none; }

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0; }

/* Print
 */
@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important;
    /* Black prints faster */
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    text-shadow: none !important; }
  a,
  a:visited {
    text-decoration: underline; }
  a[href]:after {
    content: " (" attr(href) ")"; }
  abbr[title]:after {
    content: " (" attr(title) ")"; }
  a[href^="#"]:after,
  a[href^="javascript:"]:after {
    content: ""; }
  pre {
    white-space: pre-wrap !important; }
  pre,
  blockquote {
    page-break-inside: avoid;
    border: 1px solid #cccccc; }
  thead {
    display: table-header-group; }
  tr,
  img {
    page-break-inside: avoid; }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; }
  h2,
  h3 {
    page-break-after: avoid; } }

/**
 * Form styling
 * DO NOT CHANGE THIS FILE!
 * To override any of the settings in this section, add your styling code in the custom directory.
 */
label {
  display: inline-block;
  line-height: 1;
  vertical-align: middle; }

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-size: 1rem;
  /* 1 */
  line-height: 1.5;
  /* 1 */
  margin: 0;
  /* 2 */ }

input[type="text"],
input[type="date"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
select,
textarea {
  width: 100%;
  background-color: #fff;
  border: solid 1px;
  border-radius: 0;
  padding: 0.5rem 1rem;
  transition: all .3s; 
}

  input[type="text"]:focus,
  input[type="date"]:focus,
  input[type="email"]:focus,
  input[type="number"]:focus,
  input[type="password"]:focus,
  input[type="search"]:focus,
  input[type="tel"]:focus,
  input[type="url"]:focus,
  select:focus,
  textarea:focus {
    background-color: #d2cfc5;
    border-color: #8f876f;
  }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
  /* 1 */
  overflow: visible; }

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  width: auto;
  -webkit-appearance: button; }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText; }

button,
[type="submit"],
[type="button"],
.elementor-button-link.elementor-size-lg {
    display: inline-block;
    color: #fff;
    background-color: #8f876f;
    text-align: center;
    white-space: normal;
    user-select: none;
    padding: 0.5rem 1rem;
    font-family: gravesend-sans, sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    border-radius: 0;
    transition: all .5s;
}

  button:focus,
  [type="submit"]:focus,
  [type="button"]:focus {
    box-shadow: 0 0.375rem 0.375rem rgb(0 0 0 / 0.25) inset;
  }

  button:hover, button:focus,
  [type="submit"]:hover,
  [type="submit"]:focus,
  [type="button"]:hover,
  [type="button"]:focus,
  .elementor-button-link.elementor-size-lg:hover,
  .elementor-button-link.elementor-size-lg:focus {
    color: #fff;
    background-color: #9a937d;
    border-bottom-color: #61594b;
    text-decoration: none;
  }

  button:active,
  [type="submit"]:active,
  [type="button"]:active {
    background-color: #736a59;
  }

  button:not(:disabled),
  [type="submit"]:not(:disabled),
  [type="button"]:not(:disabled) {
    cursor: pointer;
  }

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
  resize: vertical; }

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */ }

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */ }

select {
  display: block; }

/*
Header
 */

/*.elementor-location-header {
     background-color: #3d3935;
}*/

.elementor-widget-theme-site-logo {
    margin: 3rem 0;
}

@media (max-width: 575px) {
  .elementor-57 .elementor-element.elementor-element-8bab0e0 img {
    height: auto;
  }

  .elementor-widget-theme-site-logo a {
    width: 70%;
  }

  .elementor-widget-theme-site-logo {
    margin: 2rem auto 0 auto;
  }
}


.site-main {
  margin-top: 1.5rem;
}

@media (max-width: 575px) {
  .site-main {
    margin-top: 0.5rem;
  }
}