/*
	Theme Name: Giles Mackay
	Theme URI: 
	Description:  Giles Mackay
	Version: 1.0
	Author: Giles Mackay
	Author URI: http://gilesmackay.co.uk/
*/

@charset "UTF-8";
/*! normalize.css v5.0.0 | MIT License | github.com/necolas/normalize.css */button,hr,input{overflow:visible}audio,canvas,progress,video{display:inline-block}progress,sub,sup{vertical-align:baseline}html{font-family:sans-serif;line-height:1.15;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0} menu,article,aside,details,footer,header,nav,section{display:block}h1{font-size:2em;margin:.67em 0}figcaption,figure,main{display:block}figure{margin:1em 40px}hr{box-sizing:content-box;height:0}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}a{background-color:transparent;-webkit-text-decoration-skip:objects}a:active,a:hover{outline-width:0}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted}b,strong{font-weight:bolder}dfn{font-style:italic}mark{background-color:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}audio:not([controls]){display:none;height:0}img{border-style:none}svg:not(:root){overflow:hidden}button,input,optgroup,select,textarea{font-family:sans-serif;font-size:100%;line-height:1.15;margin:0}button,input{}button,select{text-transform:none}[type=submit], [type=reset],button,html [type=button]{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:ButtonText dotted 1px}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-cancel-button,[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}[hidden],template{display:none}

html {
  font-size: 100%;
  box-sizing: border-box; }
*,
*::before,
*::after {
  box-sizing: inherit; }

body {
	font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-size: 15px;
  color: #0a0a0a;
  background: #fefefe;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale; }

h1, h2, h3, h4, h5, h6, pre, form, p, blockquote {
	margin: 0;
	padding: 0; }

h1, h2, h3, h4, h5, h6 {
	font-family: 'Poppins', sans-serif;
  font-weight: normal;
  font-style: normal;
  color: inherit;
  text-rendering: optimizeLegibility;
  margin-top: 0;
  margin-bottom: 0.5rem;
  line-height: 1.4em; }
h2 {
	font-size: 26px;
	color: #000;

	margin-bottom: 5px;
	text-align: center;
	line-height: 1.2em;
}
h2.gray {
	color: #9B9B9B;
}
h6 {
	font-size: 14px;
	color: #000;
	text-align: center;
	margin-bottom: 10px;
}
p {
	font-size: inherit;
	line-height: 1.5em;
	margin-bottom: 1.5em;
	text-rendering: optimizeLegibility; }

a {
	color: red;
	transition: all .2s ease-in-out;
}

img {
  max-width: 100%;
  height: auto;
  -ms-interpolation-mode: bicubic;
  display: inline-block;
  vertical-align: middle; }

nav ul {
	list-style-type: none;
	margin: 0;
	padding: 0; }

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

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle; }

figure {
	margin: 0; }

.button {
	background: #000;
	color: #fff;
	border: solid 1px #000;
	font-size: 12px;
	font-family: 'Poppins', sans-serif;
	display: inline-block;
	outline: 0 none;
	padding: 4px 25px;
}	
fieldset {
  border: 0;
  margin: 0;
  padding: 0; }
  
textarea {
	resize:vertical; }
	 
[type='text'], [type='password'], [type='date'], [type='datetime'], [type='datetime-local'], [type='month'], [type='week'], [type='email'], [type='number'], [type='search'], [type='tel'], [type='time'], [type='url'], [type='color'],
textarea {  
  -webkit-appearance: none;
  -moz-appearance: none; }
  [type='text']:focus, [type='password']:focus, [type='date']:focus, [type='datetime']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='week']:focus, [type='email']:focus, [type='number']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='url']:focus, [type='color']:focus,
  textarea:focus {	
    outline: none; }

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: #cacaca; }

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: #cacaca; }

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: #cacaca; }

input::placeholder,
textarea::placeholder {
  color: #cacaca; }

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none; }
::selection {
  background: #b3d4fc;
  text-shadow: none; }

.clearfix:before,
.clearfix:after {
	content: " "; 
	display: table; }
.clearfix:after {
  clear: both; }

.menu-toggle {
	background: url(img/menu.png) no-repeat;
	background-size: 100% auto;
	width: 31px;
	height: 31px;
	top: 50%;
	right: 20px;
	position: absolute;
	margin-top: -20px;
  display: none;
  transition-duration: 0.5s; 
  cursor: pointer; }
  .menu-toggle.open {
	  background-image: url(img/close.png);
  }

.mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	-webkit-transform-style: preserve-3d;  
	-moz-transform-style: preserve-3d;  
	transform-style: preserve-3d;
}
.alignmiddle {	
	position: relative;  
	top: 50%;  
	-webkit-transform: translateY(-50%);  
	-ms-transform: translateY(-50%);  
	transform: translateY(-50%); 
}

.alignleft {
	float: left;
	margin: 0 1rem 1rem 0;
}
.alignright {
	float: right;
	margin: 0 0 1rem 1rem;
}
.aligncenter {
	clear: both;
	display: block;
	margin: 0 auto 1rem;
}
.wrapper {
	max-width: 1064px;
	margin: 0 auto;
	padding: 0 20px;
}
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	width: 1px;
	/* many screen reader and browser combinations announce broken words as they would appear visually */
	word-wrap: normal !important;
}

#header {
	padding: 95px 0 78px 0;
}
#header a.logo {
	font-size: 0em;
	text-indent: -9999999px;
	background: url(img/logo.png) no-repeat;
	background-size: 100% auto;
	width: 299px;
	height: 52px;
	display: block;
	margin: 0 auto;
}
#header .wrapper {
	position: relative;
}

#nav {
	background: #9b9b9b;
	text-align: center;
	height: 70px;
	line-height: 70px;
	font-size: 14px;
	text-transform: uppercase;
	color: #fff;
}
#nav li {
	display: inline-block;
	zoom: 1;
}
#nav li a {
	color: inherit;
	text-decoration: none;
	padding: 0 26px;
}
#nav li a:hover,
#nav li a.active {
	color: #000;
}

#main {
	padding: 35px 0;
	overflow: hidden;
}

#page {
	width: 74.70703125%;
	float: left;
}
#page .hero {
	margin-bottom: 24px;
}
#page .hero img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 20px;
}
#page .hero h2 {
	margin-bottom: 10px;
}
#page .hero article {
	text-align: center;
}
#page .hero article a {
	color: #000;
	text-decoration: none;
	font-size: 12px;
	font-weight: bold;
	font-style: italic;
}
#page .banner img {
	display: block;
	width: 100%;
	height: auto;
	margin-bottom: 15px;
}
#page time {
	text-align: center;
	font-family: Helvetica, Arial, sans-serif;
	font-size: 12px;
	color: #9B9B9B;
	display: block;
}
#page .columns {
	font-family: Helvetica, Arial, sans-serif;
	-moz-column-count: 2;
	-moz-column-gap: 35px;
	-webkit-column-count: 2;
	-webkit-column-gap: 35px;
	column-count: 2;
	column-gap: 35px;
}
#sidebar {
	width: 23.4375%;
	float: right;
}
.main .widget.top {
	display: none;
} 
.main .widget.bottom {
	display: block;
}
.widget.bottom {
	display: none;
}
.widget {
	margin-bottom: 34px;
}
.main .widget {
	margin-bottom: 24px;
}
.widget article {
	padding: 18px 0;
	border-top: solid 1px #000;
	min-height: 131px;
}
.main .widget article:last-child {
	min-height: 107px;
	border-bottom: solid 1px #000;
}
.widget article h3 {
	font-size: 14px;
	margin: 0 0 10px 0;
}
.widget article h3 a {
	color: inherit;
	text-decoration: none;
}
.widget article time {
	display: block;
	font-size: 10px;
}
.widget_search {
	background: #9e9d9e;
	padding: 10px 7px;
	text-align: center;
}
.widget_search input {
	background: url(img/ico-search.png) no-repeat right center #fff;
	background-size: auto 10px;
	width: 100%;
	border: solid 1px #979797;
	outline: 0 none;
	margin-bottom: 5px;
	font-size: 14px;
	font-family: 'Poppins', sans-serif;
	padding: 3px 26px 3px 10px;
}
.widget_search.mobile {
	display: none;
}

.grid {
	margin-left: -11px;
	margin-right: -11px;
	font-size: 0em;
}
.grid article {
	padding: 0 11px;
	width: 25%;
	display: inline-block;
	zoom: 1px;
	font-size: 14px;
	vertical-align: top;
	padding-bottom: 34px;
}
.grid.archive article{
    width: 33%;
}
#page .grid.archive time{
    text-align: left;
}
.grid article img {
	width: 100%;
	height: auto;
	display: block;
	margin-bottom: 34px;
}
.grid article h3 {
	line-height: 1.2em;
	margin-bottom: 14px;
}
.grid article h3 a {
	color: inherit;
	text-decoration: none;
}
.grid article time {
	font-size: 10px;
}
.grid hr {
	clear: both;
	margin: 0 11px 34px 11px;
}

.search {
	margin-bottom: 34px;
}
.search article {
	border-top: solid 1px #000;
	padding: 20px 0;
    overflow: hidden;
}
.search article:first-child {
	border: 0;
	padding-top: 0;
}
.search article h3 {
	font-size: 24px;
}
.search article h3 a {
	font-weight: normal;
	font-style: normal;
}
.search article a {
	font-weight: bold;
	font-style: italic;
	text-decoration: none;
	color: inherit;
}
.search article a:hover {
	opacity: 0.7;
}
.search article p {
	font-family: Helvetica, Arial, sans-serif;
}
.search article img{
    width: 120px;
    float: left;
    
}
.search article .info{
    float: left;
   width: calc(100% - 160px);
    margin-left: 20px;
    box-sizing: border-box;
    
}
#catapult-cookie-bar{
    text-align: center;
    padding: 5px 0;
}
.ctcc-left-side{
    margin: 0 10px;
}
button#catapultCookie{
    padding: 3px 9px !important;
}

.pagination {
	text-align: center;
	color: #000;
	font-style: italic;
	font-size: 14px;
}
.pagination .prev,
.pagination .next {
	display: none;
}
.pagination * {
	padding: 0 3px;
}
.pagination a {
	color: #9B9B9B;
	text-decoration: none;
}
.pagination a:hover {
	color: #000;
}

.wpcf7-form{
    background: #9b9b9b;
    max-width: 485px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}
.wpcf7-form input, .wpcf7-form textarea{
    border: none;
    width: 100%;
    margin-bottom: 10px;
    padding: 6px;
}
.wpcf7-form [type=submit]{
    width: auto;
    padding: 10px;
    color: white;
    background: black;
    margin-bottom: 0;
    float: right;
}
.wpcf7-form [type=submit]:hover{
    background: white;
    color: black;
    cursor: pointer;
}
/* FORM VALIDATION */
div.wpcf7-response-output{
    margin: 0;
}
div.wpcf7-validation-errors{
    border-color: black;
    background: white;
    padding: 10px;
}
span.wpcf7-not-valid-tip{
    color: white;
}


#footer {
	background: #000;
	color: #fff;
	font-size: 14px;
	font-style: italic;
}
#footer p {
	margin: 0;
	height: 70px;
	line-height: 70px;
}
#footer a {
	color: inherit;
	text-decoration: none;
}
#footer a:hover {
	opacity: 0.75;
}

@media only screen and (max-width: 1023px) {
	.menu-toggle {
		display: block;
	}
	hr {
		margin: 20px -20px;
	}
	#header {
		padding: 44px 0;
	}
	#header a.logo {
		width: 226px;
		height: 39px;
	}
	#nav {
		display: none;
		background: #fff;
		height: auto;
		line-height: normal;
	}
	#nav ul {
		padding-bottom: 35px;
	}
	#nav li {
		display: block;
		margin-bottom: 10px;
	}
	#nav li a {
		font-size: 36px;
		text-align: center;
		display: block;
		padding: 0 20px;
		color: #9B9B9B;
		text-transform: none;
	}
	#main {
		padding: 0 0 10px 0;
	}
	.main #main {
		padding-bottom: 24px;
	}
	#page .hero figure {
		margin-left: -20px;
		margin-right: -20px;
	}
	#page {
		width: 100%;
		float: none;
		position: relative;
		padding-bottom: 15px;
		margin-bottom: 25px;
	}
	#page:before {
		content: '';
		position: absolute;
		bottom: 0;
		left: -20px;
		width: 120%;
		height: 1px;
		background: #000;
	}
	.main #page {
		padding-bottom: 0;
		margin-bottom: 34px;
	}
	.main #page:before {
		display: none;
	}
	#page .banner {
		margin-left: -20px;
		margin-right: -20px;
	}
	#page .columns {
		-moz-column-count: 1;
		-moz-column-gap: 0px;
		-webkit-column-count: 1;
		-webkit-column-gap: 0px;
		column-count: 1;
		column-gap: 0px;
	}
	.main #sidebar {
		display: none;
	}
	#sidebar {
		width: 100%;
		max-width: 220px;
		margin: 0 auto;
		float: none;
	}
	.widget.top {
		display: none;
	}
	.widget article:first-child {
		border-top: 0;
	}
	.widget article:last-child {
		min-height: 1px;
	}
	.widget.bottom {
		display: block;
		margin-top: -15px;
	}
	
	.widget_search.mobile {
		max-width: 220px;
		margin: 20px auto 0 auto;
		display: block;
	}
	
	.grid hr {
		margin-left: -20px;
		margin-right: -20px;
	}
	
	.search article {
		margin-left: -20px;
		margin-right: -20px;
		padding-left: 20px;
		padding-right: 20px;
	}
    
	
	#footer p {
		height: 48px;
		line-height: 48px;
	}
}

@media only screen and (max-width: 767px) {
	h2 {
		font-size: 20px;
		margin-bottom: 15px;
	} 
	h2.gray {
		font-size: 26px;
		margin-bottom: 5px;
	}
	.grid {
		margin: 0 -20px;
		border-top: solid 1px #000;
		padding-top: 40px;
	}
	.grid hr {
		display: none;
	}
	.grid article {
		width: 100%;
		max-width: 240px;
		margin: 0 auto 60px auto;
		display: block;
		padding: 0;
	}
}

@media only screen and (max-width: 369px) {
	#header a.logo {
		margin-left: 0;
	} 
}
