/*   
Theme Name: bywill
Theme URI: www.bywill.co.uk
Description: Custom theme
Author: 
Author URI: 
Version: 1.0
Tags: blue, white, light, right-sidebar, fixed-width
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/
@import url("reset.css");
@import url("grid.css");
/* Default font settings. */
html {
  font-size: 100.01%;
}
body {
  font-size: 14px;
  color: #404041;
  background: #fff;
  font-family: "Arapey", sans-serif;
}
/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}
h1,
h2,
h3 {
}
h1 {
  font-family: "Arapey", serif;
  font-size: 50px;
  line-height: 55px;
  margin-bottom: 20px;
  color: #f1f1f3;
}

.content h1 {
  color: #ffffff;
}

h2 {
  font-size: 40px;
  line-height: 46px;
  margin-bottom: 20px;
  color: #000;
}
.content h2 {
  color: #ffffff;
  font-family: "Arapey", serif;
}

h2.dated {
  color: #404041;
  font-size: 30px;
  line-height: 35px;
}
h3 {
  font-weight: 700;
  font-size: 24px;
  line-height: 28px;
  margin-bottom: 15px;
}
h4 {
  font-size: 16px;
  line-height: 18px;
  color: #18243c;
  margin-bottom: 8px;
}
h5 {
  font-size: 14px;
  margin-bottom: 8px;
}
h6 {
  font-size: 12px;
  margin-bottom: 8px;
}
h1 img,
h2 img,
h3 img,
h4 img,
h5 img,
h6 img {
  margin: 0;
}
/* Text elements */
::-moz-selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #06f;
  color: #fff;
  text-shadow: none;
}
p {
  margin: 0 0 15px;
}
p img.left {
  float: left;
  margin: 15px 15px 15px 0;
  padding: 0;
}
p img.right {
  float: right;
  margin: 15px 0 15px 15px;
}
img {
  max-width: 100%;
  height: auto;
}
blockquote {
  margin: 15px;
  color: #666;
  font-style: italic;
}
strong {
  font-weight: bold;
}
em,
dfn {
  font-style: italic;
}
dfn {
  font-weight: bold;
}
sup,
sub {
  line-height: 0;
}
abbr,
acronym {
  border-bottom: 1px dotted #ccc;
}
address {
  margin: 0 0 15px;
  font-style: italic;
}
del {
  color: #ccc;
}
pre {
  margin: 15px 0;
  white-space: pre;
}
pre,
code,
tt {
  font: 14px "andale mono", "lucida console", monospace;
  line-height: 20px;
}
hr {
  border-style: none;
  border-bottom: 2px solid #2c96bb;
  margin-top: 40px;
  margin-bottom: 40px;
}
hr.foot {
  margin-top: 30px;
  margin-bottom: 30px;
}
/* Lists */
ol #commentlist {
  margin: 0px 0px 10px 0px;
}
#commentlist li {
  margin: 0px 0px 10px 0px;
  padding: 0px 0px 10px 0px;
  border-bottom: 1px dotted #ccc;
}
li ul,
li ol {
  margin: 0;
}
ul,
ol {
  margin: 0 15px 15px 0;
  padding-left: 20px;
}
nav ul,
#sidebar ul {
  list-style-type: none;
  padding: 0px;
  margin: 0px 0px 10px 0px;
}
nav ul li {
  float: left;
}
#sidebar li {
  list-style-type: none;
  padding: 0px;
  margin: 0px;
}
ul {
  list-style-type: disc;
}
ol {
  list-style-type: decimal;
}
dl {
  margin: 0 0 15px 0;
}
dl dt {
  font-weight: bold;
}
dd {
  margin-left: 20px;
}
/* Tables */
table {
  margin-bottom: 20px;
  width: 100%;
}
th {
  font-weight: bold;
}
thead th {
  background: #c3d9ff;
}
th,
td,
caption {
  padding: 4px 10px 4px 5px;
}
tr.even td {
  background: #e5ecf9;
}
tfoot {
  font-style: italic;
}
caption {
  background: #eee;
}
/* Misc classes */
.small {
  font-size: 10px;
  margin-bottom: 8px;
  line-height: 18px;
}
.large {
  font-size: 19px;
  line-height: 19px;
  margin-bottom: 20px;
}
.hide {
  display: none;
}
.quiet {
  color: #888;
}
.loud {
  color: #000;
}
.highlight {
  background: #ff0;
}
.added {
  background: #060;
  color: #fff;
}
.removed {
  background: #900;
  color: #fff;
}
.first {
  margin-left: 0;
  padding-left: 0;
}
.last {
  margin-right: 0;
  padding-right: 0;
}
.top {
  margin-top: 0;
  padding-top: 0;
}
.bottom {
  margin-bottom: 0;
  padding-bottom: 0;
}
.postmetadata {
  margin: 0px 0px 0px 0px;
  padding: 0px 0px 30px 0px;
}
.meta {
  font-size: 10px;
}
/* --------------------------------------------------------------
   forms
   * Sets up some default styling for forms
   * Gives you classes to enhance your forms
   Usage:
   * For text fields, use class .title or .text
   * For inline forms, use .inline (even when using columns)
-------------------------------------------------------------- */
label {
  font-weight: bold;
}
fieldset {
  padding: 22px;
  margin: 0 0 24px 0;
  border: 1px solid #ccc;
}
legend {
  font-weight: bold;
  font-size: 19px;
}
/* Form fields */
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  background-color: #fff;
  border: 1px solid #ccc;
  padding: 5px;
}
input[type="text"]:focus,
input[type="password"]:focus,
input.text:focus,
input.title:focus,
textarea:focus,
select:focus {
  border-color: #777;
}
input[type="text"],
input[type="password"],
input.text,
input.title,
textarea,
select {
  margin: 8px 0;
}
input.text,
input.title {
  max-width: 300px;
  width: 80%;
  padding: 5px;
}
input.title {
  font-size: 24px;
}
textarea {
  width: 600px;
  max-width: 90%;
  height: 150px;
  padding: 5px;
}
input[type="checkbox"],
input[type="radio"],
input.checkbox,
input.radio {
  position: relative;
  top: 4px;
}
form.inline {
  line-height: 3;
}
form.inline p {
  margin-bottom: 0;
}
/* Success, notice and error boxes */
.error,
.notice,
.success {
  padding: 12px;
  margin-bottom: 16px;
  border: 2px solid #ddd;
}
.error {
  background: #fbe3e4;
  color: #8a1f11;
  border-color: #fbc2c4;
}
.notice {
  background: #fff6bf;
  color: #514721;
  border-color: #ffd324;
}
.success {
  background: #e6efc2;
  color: #264409;
  border-color: #c6d880;
}
.error a {
  color: #8a1f11;
}
.notice a {
  color: #514721;
}
.success a {
  color: #264409;
}
/* links */
a {
  color: #000;
  text-decoration: none;
}
a:hover {
  text-decoration: none;
  color: #f1f1f3;
}
/* Misc */
.wp-caption {
  border: 1px solid #ddd;
  text-align: center;
  background-color: #f3f3f3;
  padding-top: 4px;
  margin: 10px;
  -moz-border-radius: 3px;
  -khtml-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
}
.wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}
.wp-caption-dd {
  font-size: 11px;
  line-height: 17px;
  padding: 0 4px 5px;
  margin: 0;
}
.wp-caption-text {
}
.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.alignleft {
  float: left;
  margin-right: 40px;
}
.alignright {
  float: right;
  margin-left: 40px;
}
.gallery-caption {
}
/* post */
.meta {
  word-wrap: break-word;
}
.sticky {
}
.bypostauthor {
}
/* Comments */
#commentlist p {
  margin: 0px;
  font-size: 11px;
}
#comments {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}
#postcomment {
  margin: 20px 0px 10px 0px;
  padding: 20px 0px 10px 0px;
  border-top: solid 1px #ccc;
}
/* --------------------------------------------------------------   
User Styles below here
-------------------------------------------------------------- 
*/

.btn {
  border: 2px solid #dcdee3;
  font-size: 18px;
  line-height: 40px;
  display: inline-block;
  font-weight: 500;
  color: #18243c;
  background: #dcdee3;
  opacity: 75%;
  padding: 0 20px;
  transition: all 0.4s ease-in-out;
}

.btn.white {
  /*color: #FFFFFF;*/
}

.btn:hover {
  color: #18243c;
  background: #dcdee3;
  opacity: 100%;
}

.social {
  display: inline-block;
  line-height: 50px;
  text-align: center;
  margin: 5px;
  color: #ffffff;
  font-size: 33px;
  width: 50px;
  border-radius: 25px;
  background: #404041;
}

.social.white {
  background: #ffffff;
  color: #404041;
  line-height: 25px;
  width: 25px;
  border-radius: 13px;
  font-size: 16px;
  margin: 2px;
}

.top-bar {
  background: #000000;
  line-height: 22px;
  font-size: 12px;
}

body {
  margin-top: 117px;
}

header {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  background: #ffffff;
  z-index: 1010;
  box-shadow: 0 0 2px #cecece;
}

.admin-bar header {
  top: 32px;
}

header .logo {
  position: absolute;
  z-index: 1000;
}

header .logo img {
  width: 172px;
  height: auto;
}

header nav {
  margin-top: 45px;
}

header nav ul {
  text-align: right;
}

header nav li {
  margin-left: 10px;
  display: inline-block;
  float: none;
  position: relative;
}

header nav > ul > li > a {
  font-size: 16px;
  color: #404041;
  line-height: 20px;
  display: block;
  font-weight: 600;
  padding: 10px 10px;
}

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

header nav > ul > li > ul {
  position: absolute;
  top: 40px;
  background: #ffffff;
  box-shadow: 0px 0px 3px #404041;
  text-align: left;
  padding: 5px 0;
  min-width: 250px;
  display: none;
  z-index: 1100;
}

header nav > ul > li:hover ul {
  /*display: block;*/
}

/*header nav > ul > li > ul:after{	
	content: '';
	display: block;
	position: absolute;
	top: -10px;
	left: 20px;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 0 10px 10px 10px;
	border-color: transparent transparent #ffffff transparent;
}*/

header nav > ul > li > ul > li {
  display: block;
}

header nav > ul > li > ul a {
  color: #404041;
  font-size: 16px;
  line-height: 30px;
  font-weight: 600;
  display: block;
  white-space: nowrap;
}

header nav > ul > li > ul a:hover:after {
  content: "\f061";
  font-family: FontAwesome;
  float: right;
  font-weight: normal;
  padding-right: 10px;
}

.home-slider .cycle-pager {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
  z-index: 1000;
}

.home-slider .cycle-pager span {
  border: 1px solid #ffffff;
  display: inline-block;
  width: 15px;
  height: 15px;
  margin: 0 2px;
  overflow: hidden;
  text-indent: -1000px;
  border-radius: 8px;
  cursor: pointer;
}

.home-slider .cycle-pager span.cycle-pager-active {
  background: #ffffff;
}

.home-slider .cycle-prev {
  position: absolute;
  top: 50%;
  left: 20px;
  height: 100px;
  margin-top: -50px;
  z-index: 1000;
  cursor: pointer;
  line-height: 100px;
}

.home-slider .cycle-prev:after {
  content: "\f177";
  font-family: FontAwesome;
  float: right;
  font-size: 50px;
  font-weight: normal;
  display: inline-block;
  color: #ffffff;
}

.home-slider .cycle-next {
  position: absolute;
  top: 50%;
  right: 20px;
  height: 100px;
  margin-top: -50px;
  z-index: 1000;
  cursor: pointer;
  line-height: 100px;
}

.home-slider .cycle-next:after {
  content: "\f178";
  font-family: FontAwesome;
  float: right;
  font-size: 50px;
  font-weight: normal;
  display: inline-block;
  color: #ffffff;
}

.home-slider img {
  width: 100%;
}

.acf-map {
  height: 350px;
}

.three-boxes {
  margin-bottom: 30px;
}

.three-boxes a {
  display: block;
  position: relative;
}

.three-boxes a .title {
  background: rgba(0, 0, 0, 0.6);
  padding: 10px 0;
  margin: 0;
  text-align: center;
  position: absolute;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 500;
  font-size: 22px;
  line-height: 30px;
  color: #fff;
  transition: opacity 0.4s ease-in-out;
}

.three-boxes a img {
  opacity: 0.8;
  transition: opacity 0.4s ease-in-out;
  width: 100%;
}

.three-boxes a:hover img {
  opacity: 1;
}

.three-boxes a:hover .title {
  opacity: 0.6;
}

.image-box-section .content-section {
  margin-bottom: 30px;
  height: 600px;
  color: #ffffff;
  text-align: center;
}

.image-box-section .content-section.odd {
  float: right;
}

.image-box-section .content-section.odd a {
  color: #ffffff;
}

.image-box-section .content-section.odd a.btn {
  color: #404041;
}

.image-box-section .content-section.odd a.btn:hover {
  color: #ffffff;
}

.image-box-section .content-section .inner {
  padding: 30px;
}

.image-box-section .image-section {
  margin-bottom: 30px;
  height: 600px;
}

.page-header {
  text-align: center;
  height: 350px;
  background-size: cover;
  background-position: center center;
}

.page-header img {
  display: block;
  max-height: 250px;
  width: auto;
  margin: 0 auto;
  max-width: 100%;
}

.page-padd {
  margin-top: 54px;
}

.page-title {
  background: #404041;
  padding: 40px 0;
}

.single .page-title,
.archive .page-title {
  text-align: center;
}

.page-title h1 {
  margin: 0;
}

.page-holder {
  background: #fafafb;
}

#breadcrumbs {
  font-size: 14px;
  line-height: 40px;
}

#breadcrumbs a {
  color: #c3c4c6;
}

.content {
  background-color: #ffffff;
  margin-bottom: 30px;
  box-shadow: 0 0 2px #cecece;
  padding: 30px 0;
}

.video-header {
  margin-top: 30px;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

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

.content .t-i-5,
.content .full-width {
  margin-bottom: 30px;
}

.content .full-width,
.t-i-5 .grid_6,
.content .gallery {
  box-sizing: border-box;
  padding: 0 40px;
}

.t-i-5 img {
  max-width: 100%;
}

.content .gallery {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.content .gallery img {
  display: block;
  width: 100%;
  margin-bottom: 10px;
}

.content .header-image {
  margin-bottom: 60px;
  margin-top: -30px;
}

.content .header-image img {
  display: block;
  width: 100%;
}

.content.list .full-width {
  margin-bottom: 0;
}

.content.list .thumb {
  float: left;
  margin-right: 20px;
}

.ex-filters {
  display: table;
  list-style-type: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: row;
  width: 100%;
}

.ex-filters li {
  flex-grow: 1;
  padding: 0 5px;
}

.ex-filters li a {
  display: block;
  font-size: 18px;
  line-height: 43px;
  font-weight: 500;
  color: #ffffff;
  background: #17b386;
  text-align: center;
  opacity: 0.5;
  transition: opacity 0.3s ease-in-out;
}

.ex-filters li a.active {
  opacity: 1;
}

.ex-filters li a:hover {
  opacity: 0.8;
}

.fancybox-title-over {
  position: relative !important;
  border-bottom: 0px solid #ffffff;
  border-top: 3px solid #ffffff;
}

footer {
  background: #f1f1f3;
  color: #ffffff;
}

footer .footer {
  padding-top: 40px;
  padding-bottom: 40px;
}

footer .foot {
  background: #18243c;
  border-top: 2px solid #ffffff;
  line-height: 40px;
  color: #ffffff;
  font-size: 10px;
}

footer h2 {
  color: #18243c;
  font-size: 22px;
  line-height: 28px;
}

footer .foot ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: block;
  text-align: right;
}

footer .foot ul li {
  float: none;
  display: inline-block;
  padding-left: 10px;
}

footer .foot ul li a {
  color: #ffffff;
  display: inline-block;
}

footer #mc_embed_signup form {
  padding: 0;
}

#mc_embed_signup .mc-field-group input {
  background: #fff;
  border: none;
  margin: 0;
}

#mc_embed_signup .mc-field-group {
  height: auto;
  padding: 5px 0;
  min-height: 0px !important;
}

#mc_embed_signup .mc-field-group input[type="submit"] {
  margin-top: 10px;
}

#mc_embed_signup_page .mc-field-group label {
  display: block;
  margin-bottom: 5px;
}

#mc_embed_signup_page .mc-field-group input {
  border: 1px solid #51514d;
  display: block;
  margin: 0;
  padding: 5px;
  width: 300px;
  border-radius: 4px;
}

#mc_embed_signup_page .mc-field-group {
  height: auto;
  padding: 5px 0;
  min-height: 0px !important;
}

#mc_embed_signup_page .mc-field-group input[type="submit"] {
  margin-top: 10px;
}

#mc_embed_signup_page .button {
  clear: both;
  background-color: #aaa;
  border: 0 none;
  border-radius: 4px;
  transition: all 0.23s ease-in-out 0s;
  color: #ffffff;
  cursor: pointer;
  display: inline-block;
  font-size: 15px;
  font-weight: normal;
  height: 32px;
  line-height: 32px;
  margin: 0 5px 10px 0;
  padding: 0 22px;
  text-align: center;
  text-decoration: none;
  vertical-align: top;
  white-space: nowrap;
  width: auto;
}

@media all and (min-width: 980px) {
  .mobile {
    display: none;
  }
}
@media all and (max-width: 980px) and (min-width: 672px) {
  .full {
    display: none;
  }
  .mobile {
    display: none;
  }
}
@media all and (max-width: 672px) {
  .full,
  .no-mobile {
    display: none;
  }
  .mobile {
    display: block;
  }

  body {
    margin-top: 102px;
  }

  body.admin-bar {
    margin-top: 57px;
  }

  h1 {
    font-size: 26px;
    line-height: 30px;
  }

  h2,
  footer h2,
  .content h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .home-welcome p {
    font-size: 18px;
    line-height: 22px;
  }

  .nav-btn {
    float: right;
    font-size: 40px;
  }

  header nav {
    margin-top: 20px;
    position: relative;
  }

  #menu-header-nav {
    display: block;
    position: absolute;
    background: #ffffff;
    top: 60px;
    right: -10px;
    min-width: 250px;
    transform: translateX(105%);
    transition: transform 0.5s ease-in-out;
    padding-bottom: 20px;
    overflow: scroll;
    max-height: 100vh;
    padding-bottom: 110px;
  }

  #menu-header-nav.open {
    transform: translateX(0);
  }

  #menu-header-nav li {
    display: block;
    margin: 0;
  }

  #menu-header-nav ul {
    display: block !important;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    box-shadow: none;
    text-align: right;
  }

  #menu-header-nav ul li {
    padding-right: 11px;
  }

  header nav > ul > li:last-child > a {
    padding-right: 10px !important;
  }
  header nav > ul > li > ul a {
    color: #808080;
    line-height: 30px;
  }

  header nav > ul > li > ul a:hover:after {
    display: none;
  }

  .admin-bar #wpadminbar {
    display: none;
  }

  .admin-bar header {
    top: 0px;
  }

  header .logo img {
    width: 120px;
  }

  .home-slider .cycle-next:after,
  .home-slider .cycle-prev:after {
    font-size: 25px;
  }

  .page-header {
    height: 150px;
  }

  .content.list .thumb {
    display: none;
  }

  .ex-filters li a {
    font-size: 14px;
    line-height: 20px;
    padding: 15px 5px;
  }

  .members a .title {
    font-size: 14px;
  }

  .members .grid_4 {
    width: 50%;
  }

  .content .gallery {
    grid-template-columns: 1fr;
  }

  footer h2 {
    margin-top: 20px;
  }
}
@media all and (max-width: 380px) {
}
