/*
Theme Name: Matthew Kettle
Theme URI: http://www.beamtwenty3.co.uk
Description: Wordpress Theme By Neil Brown for Matthew Kettle
Version: 2.0
Author: Neil Brown
Author URI: http://www.beamtwenty3.co.uk
*/

/* #Reset */
	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: #fff;
		font: 14px/21px "brandon-grotesque", Helvetica, Arial, sans-serif;
		color: #444;
		-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
		-webkit-text-size-adjust: 100%;
 }


/* #Typography */

	h1, h2, h3, h4, h5, h6 {
		color: #181818;
		font-weight: 400; }
		
		
	
	h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { font-weight: inherit; }
	h1 { font-size: 36px; line-height: 50px; margin-bottom: 10px;}
	h2 { font-size: 26px; line-height: 40px; margin-bottom: 10px; }
	h3 { font-size: 18px; line-height: 34px; margin-bottom: 8px; }
	h4 { font-size: 16px; line-height: 30px; margin-bottom: 4px; }
	h5 { font-size: 15px; line-height: 24px; }
	h6 { font-size: 14px; line-height: 21px; }

	p {
	margin: 0 0 10px 0;
	font-size: 21px;
	line-height: 33px;
	}
	
	p.site-title {
	font-size: 36px;
	line-height: 50px;
	margin: 20px 0 0 0;
	font-weight: 400;
	color: #181818;
	}
	
	.home p.site-title {
	color: #fff;
	}


	em { font-style: italic; }
	strong { font-weight: bold; color: #333; }
	small { font-size: 80%; }

/*	Blockquotes  */
	blockquote, blockquote p { font-size: 17px; line-height: 24px; color: #777; font-style: italic; }
	blockquote { margin: 0 0 20px; padding: 9px 20px 0 19px; border-left: 1px solid #ddd; }
	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 #ddd; border-width: 1px 0 0; clear: both; margin: 10px 0 30px; height: 0; }


/* #Links */

	a, a:visited { color: #333; text-decoration: underline; outline: 0; }
	a:hover, a:focus { color: #000; }


/* #Lists */

	ul, ol { margin-bottom: 20px; }
	ul { list-style: none outside; }
	ol { list-style: decimal; }
	ol, ul.square, ul.circle, ul.disc { margin-left: 30px; }
	ul.square { list-style: square outside; }
	ul.circle { list-style: circle outside; }
	ul.disc { list-style: disc outside; }
	ul ul, ul ol,
	ol ol, ol ul { margin: 4px 0 5px 30px; font-size: 90%;  }
	ul ul li, ul ol li,
	ol ol li, ol ul li { margin-bottom: 6px; }
	li { line-height: 18px;}
	ul.large li { line-height: 21px; }
	li p { line-height: 21px; }

/* #Images */

	img {
		max-width: 100%;
		height: auto;
		display: block;
	}
	
	.masonry-entry {
	margin-bottom: 20px !important;
	}


/* Buttons */

a.button, .button,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  height: 38px;
  padding: 0 30px;
  color: #333;
  border-radius: 0; 
  background: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 38px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: solid 1px #333;
  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;
}


.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: #333;
  outline: 0;
  border: solid 1px #333;
}

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 #27a6c5;
  border-radius: 4px;
  box-shadow: none;
  box-sizing: border-box;
  width: 90%;
  }


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

textarea {
  min-height: 300px;
  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 #33C3F0;
  outline: 0; }
label,
legend {
  display: block;
  margin-bottom: .5rem;
  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; }
  
  span.req {
	  font-weight: bold;
	  color: #b90a0a;
  }
		
		
/* Header */

header {
	width: 100%;
	margin: 0 auto;
	padding: 30px 0px 30px 0px;
}

.home-page img {
	display: block;
	margin-bottom: 10px;
}

.home-page {
	margin-bottom: 40px;
}

.home-page p {
	color: #fff;
	margin-top: 60px;
    font-size: 23px;
    line-height: 30px;
}

p.home-button {
	text-align: center;
	margin: 40px 0px 40px 0px;
}

/* Slideshow */

.hero::before {
    content: "";
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    background-color: rgba(0,0,0,0.10);
}

.main-slides {
	position: relative;
	z-index: 10;
}

.slide-box {
	width: 100%;
	position: absolute;
	z-index: 100;
	text-align: center;
	top: 100px;
}

h1.slide-title {
	color: #fff;
	font-size: 50px;
	font-weight: bold;
}

p.slide-text {
	width: 75%;
	color: #fff;
	margin: 20px auto 20px auto;
	font-size: 19px;
	line-height: 28px;
}

.slideshow {
	width: 100%;
	background: #333;
	margin-bottom: 40px;
}

.slideshow img {
	width: 100%;
	opacity:0.6;
	filter:alpha(opacity=60); /* For IE8 and earlier */
}

.slick-dots {
	bottom: -40px !important;
}

ul.slick-dots li {
	margin-top: 20px !important;
    display: none !important;
}

.slick-dots li button::before {
	color: #fff!important;
	font-size: 22px !important;
}

.slick-dots li.slick-active button:before {
    opacity: .75;
    color: #fff !important;
}

.container.home-links {
	margin-top: 60px;
}

.full-width {
	width: 100%;
	margin: 0 auto 40px auto;
	background: #5ea0d7;
}

.slick-dotted.slick-slider {
	margin-bottom: 40px;
}

/* About */

.about-text {
	width: 53%;
	margin: 5% 2% 5% 0%;
	float: left;	
}

.about-image {
	width: 45%;
	float: right;	
}

.about-image {
	text-align: right;
}

.about-image img {
	display: inline;
	margin-top: 40px;
}

.about:nth-child(even) .about-text {
	float: right;
	margin: 5% 0% 5% 2%;
}

.about:nth-child(even) .about-image {
	text-align: left;	
}

.about-text h2 {
	margin-bottom: 30px;
}


/* Gallery */

.galleries h1 {
	margin: 40px 0px 40px 0px;
}

img.post-thumb {
	display: block;
}

.title-hover {
	position: absolute;
	bottom: 0;
	z-index: 100;
	width: 100%;
	height: 100%;
}

.title-hover-text {
	position: absolute;
	bottom: 0;
	width: 100%;
	background: #000;
	background: rgb(51, 51, 51);
	background: rgba(51, 51, 51, 0.70);
}

.title-hover h2 {
	font-size: 20px;
	font-weight: 400;
	color: #fff;
	margin: 5px 0px 5px 10px;
}

.title-hover p {
	color: #fff;
	margin: 0px 0px 5px 10px;
}

.title-hover  {
	opacity:0;
	filter:alpha(opacity=0); /* 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;
}

.title-hover:hover {
	opacity:1.0;
	filter:alpha(opacity=100); /* For IE8 and earlier */
	cursor: pointer;
}

img.gallery-image {
	max-height: 100%;
}

img.gallery-thumb	{
	cursor: pointer;
	margin: 10px 10px 0px 0px;
}

.mobile {
	display: none;
}

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

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

#swipebox-title {
	color: #333;
}

.container.sketchbook {
	margin-top: 40px;
}


.sketchbook 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;
}

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

.masonry-loop {
	width: 100%;
	margin: 0 auto;
	float: left;
}

.home h1 {
	margin: 40px 0px 40px 0px;
	text-align: center;
}

/* Main Navigation */


#main-nav {
	width: 100%;
	float: left;
	padding: 0px;
	margin: 32px 0px 0px 0px;
}


#main-nav ul {
	list-style: none;
	margin: 0px;
	padding: 6px 0px 0px 0px;
	width: 100%; 
	text-align: right; 
}

#main-nav li {
	font-size: 18px;
	line-height: 27px;
	padding: 0px 0px 0px 15px;
	font-weight: 400;
	display: inline;
}

#main-nav a {
	text-decoration: none;

}

#main-nav a:link,
#main-nav a:visited {
	color: #333;
	-webkit-transition: all .1s linear;
	-moz-transition: all .1s linear;
	-o-transition: all .1s linear;
	-ms-transition: all .1s linear;
	transition: all .1s linear;
}

.home #main-nav a:link,
.home #main-nav a:visited {
	color: #fff;
}

#main-nav a:hover {
	color: #b32513;
	padding-bottom: 3px;
}

.home #main-nav a:hover {
	color: #b32513;
}


footer {
	width: 100%;
	margin: 0 auto;
}


/* =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: 5px 3px 10px;
    text-align: center;
}

.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: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}



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;
}
