/*
Theme Name: Allexton Village
Theme URI: https://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for Allexton Village
Version: 1.0
Author: Neil Brown
Author URI: https://www.beamtwenty3.co.uk
Text Domain: allexton
*/

/* #Reset & Basics */

	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, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
		display: block; }
	body {
		line-height: 1; }
	ol, ul {
		list-style: none; }
	blockquote, q {
		quotes: none; }
	blockquote:before, blockquote:after,
	q:before, q:after {
		content: '';
		content: none; }
	table {
		border-collapse: collapse;
		border-spacing: 0; }


/* #Basic Styles */

body {
	background: #ffffff;
	font: 14px 'Figtree', sans-serif;
	color: #777777;
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
}

main {
	width: 100%;
}
 
/* #Typography */

h1, h2, h3, h4, h5, h6 {
	color: #2c535f;
	font-weight: 800;
}


h1 { 
	font-size: 36px;
	line-height: 50px;
	margin: 40px 0px 35px 0px;
	padding: 0px;
}


h2 {
	font-size: 34px;
	line-height: 44px;
	margin: 40px 0px 20px 0px;
	padding: 0px;
}

h3 {
	font-size: 23px;
	line-height: 27px;
	margin: 0px 0px 20px 0px;
}

h4 { font-size: 21px; line-height: 30px; margin-bottom: 4px; }
h5 { font-size: 17px; line-height: 24px; }
h6 { font-size: 14px; line-height: 21px; }


p {
    margin: 0 0 20px 0;
    color: #4e4e4e;
    font-size: 18px;
    line-height: 32px;
    font-weight: 400;
}

address {
	margin: 0;
	color: #4e4e4e;
	font-size: 16px;
	line-height: 24px;
	font-weight: 400;
	text-align: left;
}


em { 
	font-style: italic;
}

strong { 
	font-weight: 600;
}

small { 
	font-size: 80%;
}

/*	Blockquotes  */

blockquote, blockquote p { font-size: 17px; line-height: 30px; color: #5f5f5f; font-style: italic; }
blockquote { margin: 20px 0 20px 0; padding: 9px 20px 0 19px; border-left: 1px solid #da5428; }
blockquote cite { display: block; font-size: 12px; color: #555; }
blockquote cite:before { content: "\2014 \0020"; }
blockquote cite a, blockquote cite a:visited, blockquote cite a:visited { color: #555; }

hr { 
	border: solid #308eab;
	border-width: 3px 0 0;
	margin: 40px 10% 20px 10%;
	height: 0;
	width: 80%;
	float: left;
}


/* #Links */

a, a:visited { 
	color: #da5428;
	text-decoration: none;
	outline: 0;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

a:hover, a:focus { 
	color: #da5428;
	text-decoration: underline;
}

/* #Lists */

ul, ol { margin-bottom: 20px; }
ul { list-style: none outside; }
ol { list-style: decimal; }

li { 
	line-height: 18px;
}

.main-page ul {
	margin: 20px 0px 40px 0px;
}

li  {
	margin: 0 0 5px 0;
	color: #4e4e4e;
	font-size: 18px;
	line-height: 22px;
	font-weight: normal;
	list-style: none;	
}

.main-page ul li::before {
    content: "\2022";
	color: #409100;
	font-size: 22px;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: 0;
    margin-top: 10px;
}

ul.dates-ul {
	width: 100%;
	float: left;
}

ul.dates-ul li {
	float: left;
	width: 25%;
}

/* #Images */

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



/* Video */

.video-wrapper {
	position: relative;
	padding-bottom: 50%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 10px 0 0 0;
}

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

/* Buttons */

a.button, .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 43px;
  padding: 0 30px;
  color: #fff;
  background: #da5428;	
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 43px;
  letter-spacing: 1px;
  text-decoration: none;
  white-space: nowrap;
  border: 0;
  border-radius: 25px;
  cursor: pointer;
  box-sizing: border-box; 
  -webkit-transition: all .1s linear;
  -moz-transition: all .1s linear;
  -o-transition: all .1s linear;
  -ms-transition: all .1s linear;
  transition: all .1s linear;
}

.wrapper a.button {
	margin-bottom: 60px;
}

.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  color: #fff;
  background: #a7330d;	
  outline: 0;
  border: 0;
}

a.button:hover {
	text-decoration: none;
}


/* Forms */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
textarea,
select {
  height: 38px;
  padding: 6px 10px; /* The 6px vertically centers text on FF, ignored by Webkit */
  background-color: #fff;
  border: 1px solid #D1D1D1;
  box-shadow: none;
  box-sizing: border-box;
  width: 98%;
  }
  
input.wpcf7-mathcaptcha {
  width: 100px;	
}


/* Removes awkward default styles on some inputs for iOS */
input[type="email"],
input[type="number"],
input[type="search"],
input[type="text"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="button"],
textarea {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

textarea {
  min-height: 120px;
  padding-top: 6px;
  padding-bottom: 6px; }
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="text"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border: 1px solid #379cc0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: 0;
  font-weight: 600; }
fieldset {
  padding: 0;
  border-width: 0; }
input[type="checkbox"],
input[type="radio"] {
  display: inline; }
label > .label-body {
  display: inline-block;
  margin-left: .5rem;
  font-weight: normal;
}

.google-map {
	position: relative;
	padding-bottom: 33.25%;
	padding-top: 25px;
	height: 0;
	z-index: 1;
	margin: 40px 0 0 0;
}

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

  
/* Header */


a.site-title:link, a.site-title:visited {
	font-size: 33px;
	font-weight: 600;
	color: #2c535f;
	display: inline-block;
	padding: 30px 0 0 0;
}

.fixed-spacer {
	width: 100%;
	margin: 0 auto;
	padding-top: 110px;
}

.top-head {
	position: fixed;
	z-index: 100;
	top: 0;
	left: 0;
	width: 100%;
	padding: 0px 0 30px 0;
	background: #fff;
	border-top: solid 5px #e9f3e7;
	transition: 200ms linear;
}

.top-head.scrolled  {
	transition: 200ms linear;
	padding: 20px 0 20px 0;
	background: #e9f3e7;
}

.top-head.scrolled img.logo {
	width: 0px;
	transition: 200ms linear;
	margin-top: 20px;
}

.top-head.scrolled #main-nav ul {
	list-style: none;
	padding: 0px;
	width: 100%;
	text-align: right;
}


/* Home Page */

.four.columns.banner-images {
	padding-top: 40px;
}

.home-one .inner {
	padding: 40px 200px 40px 200px;
}

.green {
	background: #f8fdf7;
	padding: 20px 0 20px 0;
}

.history .inner {
	padding: 60px 0 0 40px;
}

.one-third.column.member .inner {
	padding: 20px 40px 40px 0;
}

.one-third.column.member img {
	margin: 0 0 10px 0;
}

.events ul {
	width: 100%;
	float: left;
	border-bottom: solid 1px #eee;
}

.events li {
	width: 30%;
	float: left;
	margin: 0 0 10px 0;
}

.sixteen.columns.events h2 {
	margin-bottom: 40px;
}

.gallery-image {
	width: 20%;
	float: left;
	margin: 0 2% 20px 0;
}

.gallery-image img {
	opacity:1;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	-webkit-transition: all .2s linear;
	-moz-transition: all .2s linear;
	-o-transition: all .2s linear;
	-ms-transition: all .2s linear;
	transition: all .2s linear;
	-moz-transform: rotate(0);
	-webkit-backface-visibility: hidden;
	-moz-backface-visibility: hidden;
	-ms-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-image img:hover:not(:focus) {
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
	-moz-transform: rotate(0);
}

#swipebox-overlay {
	background: #fff !important;
}

#swipebox-bottom-bar, #swipebox-top-bar {
	text-shadow: none !important;
	background: #aac3a5;
	opacity: 1;
}

#swipebox-slider .slide img {
	max-height: 90% !important;
}


/* News Posts */

.news-inner {
	text-align: center;
	padding: 20px 0px 40px 0px;
}

.news-inner p {
	margin: 0;
}

/* Pages */

.profile-photo {
	text-align: center;
}

.profile-photo img {
	margin-top: 40px;
}

.profile-photo .inner {
	padding: 0 200px 0 200px;
}

.styled-lists h2 {
	text-align: center;
	margin: 40px 0 40px 0;
}

ul.list-block {
	padding: 0px;
}

.styled-lists .inner {
	padding: 0;
}

ul.list-block li {
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	padding: 20px;
	font-size: 23px;
	line-height: 33px;
	background: #fed;
	margin: 0 0 10px 0;
}

ul.list-block li:nth-child(odd) {
  background-color: rgb(181, 216, 243);
}


/* Stakeholders */

.sixteen.columns.stakeholders {
	text-align: center;
	margin-top: 40px;
}

.stakeholders img {
	display: inline-block;
	margin: 0;
	width: 250px;
}

/* Main Navigation */

#main-nav {
	width: 100%;
	padding: 0px;
	margin: 0 auto;
}

#main-nav ul {
	list-style: none;
	margin: 40px 0px 0px 0px;
	padding: 0px;
	width: 100%;
	text-align: right;
	transition: 200ms linear;
}

#main-nav li {
	display: inline;
	font-size: 18px;
	letter-spacing: 1px;
	padding: 0px;
	font-weight: 600;
	margin: 0px;
}

#main-nav a {
	display: inline-block;
	line-height: 30px;
	padding: 0px;
	margin: 0px 0px 0px 25px;
	text-decoration: none;
}


#main-nav a:link,
#main-nav a:visited {
	color: #666;
}

#main-nav a:hover {
	text-decoration: none;
	color: #da5428;
}

.menu-item a {
  text-decoration: none;
  position: relative;
}

.menu-item a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  -webkit-transform: scaleX(0);
		  transform: scaleX(0);
  -webkit-transform-origin: right;
		  transform-origin: right;
  transition: -webkit-transform 150ms ease-in;
  transition: transform 150ms ease-in;
  transition: transform 150ms ease-in, -webkit-transform 150ms ease-in;
  background: #6db9c2;
}

.menu-item a:hover::after {
  -webkit-transform: scaleX(1);
		  transform: scaleX(1);
  -webkit-transform-origin: left;
		  transform-origin: left;
	background: #6db9c2;
}



/* Footer */

footer {
	width: 100%;
	background: #aac3a5;
	margin: 0px auto 0 auto;
	text-align: left;
	padding: 20px 0px 20px 0px;
	position: relative;
	z-index: 1000;
}

footer a:link, footer a:visited {
	color: #fff;
	font-weight: 400;
	font-size: 16px;
	line-height: 28px;
}

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

footer p, footer li {
	font-size: 16px;
	line-height: 28px;
	color: #fff;
	font-weight: 400;
	margin: 0;
}

footer h2 {
	color: #fff;
	margin: 2px 0 10px 0;
}

/* =WordPress Core  */

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 12px 8px 10px 8px;
    text-align: center;
	-webkit-box-shadow: 0 10px 6px -6px #ececec;
	-moz-box-shadow: 0 10px 6px -6px #ececec;
	box-shadow: 0 10px 6px -6px #ececec;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
	font-size: 18px;
	line-height: 24px;
	margin: 0;
	font-weight: 600;
	padding: 6px 5px 3px 5px;
}
    margin: 0;
    padding: 6px 5px 3px 5px;
}

span.wpcf7-list-item {
	margin: 0;
}

div.wpcf7 {
	margin: 0px 0px 0px 0px !important;
	padding: 0;
}

div.wpcf7-mail-sent-ok {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

div.wpcf7-mail-sent-ng {
	border: 0px solid #ff0000 !important;
	color: #666 !important;
}

div.wpcf7-spam-blocked {
	border: 0px solid #ffa500 !important;
	color: #666 !important;
}

div.wpcf7-validation-errors {
	border: 0px solid #398f14 !important;
	color: #666 !important;
}

.wpcf7 {
	position: relative;
	z-index: 1;
}

@media print {

}

