* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html { 
	font-size: 100%; 
	font-family: Merriweather, arial, sans-serif;
	-webkit-text-size-adjust: 100%;
}

@media all and (max-width: 1165px) {
html {font-size: 93.75%; }
}
@media all and (max-width: 720px) {
html { font-size: 87.5%; }
}
@media all and (max-width: 470px) {
html { font-size: 81.25%; }
}

body {
	text-align: center;
	color: #8a8a8a;
}

.wrapper {
	border: 1px solid #aaa;
	width: 75%;
	padding: 4.8675rem;
	margin: 4.8675rem auto;
}

@media all and (max-width: 1280px) {
	.wrapper {
		width: 90%;
		padding: 4.0625rem;
	}
}

@media all and (max-width: 1050px) {
	.wrapper {
		width: 95%;
		padding: 25px;
	}
}

address {
	font-style: normal;
}

main address {
	text-align: left;
	font-size: 0.875rem;
}

img {
	border: none;
	text-align: center;
}

ul {
	list-style-position: inside;
	text-align: left;
	font-size: 0.875rem;
}

a {
	text-decoration: none;
	color: #8a8a8a;
}

p {
	text-align: left;
	font-size: 0.875rem;
	margin-bottom: 1em;
}

img {
	margin-bottom: 50px;
	width: 100%;
	max-width: 100%;
	height: auto;
}

h1 {
	margin-bottom: 1em;
	font-family: Montserrat, arial, sans-serif;
	font-weight: 400;
	color: #222;
}

h4 {
	font-size: 0.875rem;
}

.clear:after {
	content: "";
	display: block;
	visibility: hidden;
	width: 0;
	height: 0;
	clear: both;
}

main {
	padding: 6.25rem 0 3.125rem;
	border-bottom: 1px solid #ccc;
}

@media all and (max-width: 768px) {
	main {
		padding-top: 3.125rem;
	}
}

main ul {
	margin-bottom: 1.5em;
}

/* content wrappers - inner pages */
.content {
	width: 50%;
	margin: 0 auto 1.5em;
	font-size: 0.875rem;
	text-align: left;
}

@media all and (max-width: 768px) {
	.content {
		width: 75%;
	}
}

@media all and (max-width: 405px) {
	.content {
		width: 100%;
	}
}

/* header */

header {
	font-family: Montserrat, arial, sans-serif;
	border-bottom: 1px solid #ccc;
	color: #a2a2a2;
}

header h1 {
	margin-bottom: 15px;
	font-weight: 700;
	font-family: 'Libre Baskerville', serif;
}

header h1 a {
	color: #000;
}

header > address,
header > a {
	width: 33.333%;
	float: left;
	font-size: 0.875rem;
	letter-spacing: 2px;
}

@media all and (max-width: 1380px) {
	header > address,
	header > a {
		letter-spacing: 1px;
	}
}

@media all and (max-width: 1000px) {
	header > address,
	header > a {
		letter-spacing: 0px;
	}
}

@media all and (max-width: 805px) {
	header > address span{
		display: none;
	}
}

header address:nth-of-type(1) {
	text-align: left;
}

header > a {
	text-align: right;
}

@media all and (max-width: 405px) {
	header h1 {
		font-size: 1.5rem;
	}
	
	header > address,
	header > a {
		width: 100%;
		display: block;
		text-align: center;
		margin-bottom: 1em;
	}
	
	header address:nth-of-type(1),
	header > a{
		text-align: center;
	}
	
	header > address span{
		display: inline;
	}
}

/* Main navigation */
#mainNav {
	margin: 75px 0 -9px 0;
}

#menu-main-nav-1 {
	list-style: none;
	background-color: #fff;
	display: inline-block;
}

#menu-main-nav-1 li {
	display: inline-block;
	padding: 0 1em;
	background-color: #fff;
}

#menu-main-nav-1 li a {
	font-size: 0.875rem;
	color: #8a8a8a;
}

#menu-main-nav-1 li a:hover {
	color: #000;
	border-bottom: 1px solid #aaa;
}

/* Mobile Nav */
#pull{
	display: none;
	position: absolute;
	top: 15px;
	right: 15px;
	font-family: Montserrat, arial, sans-serif;
}

#pull img {
	margin-left: 5px;
	cursor: pointer;
	display: inline-block;
	width: 30px;
	height: 22px;
	vertical-align: middle;
}

@media only screen and (min-device-width : 320px) and (max-device-width : 667px) and (orientation : landscape) {
	#pull {
		display: inline-block;
	}

	#mobileNav {
		display: inline-block;
	}
	
	.wrapper {
		margin: 35px auto;
	}
}

@media all and (max-width: 450px) {
	#pull {
		display: inline-block;
	}

	#mobileNav {
		display: inline-block;
	}
	
	header {
		border-bottom: none;
	}
	
	#mainNav {
		display: none;
	}
}

#mobileNav .menu-main-nav-container {
	display: none;
}

#mobileNav .menu-main-nav-container {
	position: absolute;
	top: 60px;
	right: 15px;
	border: 1px solid #000;
}

#menu-main-nav {
	list-style: none;
}

#menu-main-nav li {
	border-bottom: 1px solid #fff;
}

#menu-main-nav li:last-of-type {
	border-bottom: none;
}

#menu-main-nav li a {
	display: block;
	background: #000;
	color: #fff;
	font-size: 0.875rem;
	padding: 1em 2em;
	text-align: center; 
}

#menu-main-nav li a:hover {
	color: #000;
	background-color: #fff;
}

.img_wrapper {
	width: 100%;
	height: 305px;
}

@media all and (max-width: 405px) {
	.img_wrapper {
		margin-top: 50px;
		height: 150px;
	}
}

.home .img_wrapper {
	background: url('images/oxmist.jpg') center center no-repeat;
	background-size: cover;
}

.home img {
	margin-bottom: 0;
}

.home figure {
	margin-bottom: 3.125rem;
}

figcaption {
	font-size: 0.5rem;
	font-style: italic;
	text-align: right;
	margin-bottom: 25px;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 568px) 
and (orientation : portrait) {
	figcaption {
		font-size: 0.35rem;
	}
}

/* About page */
.page-template-page-about .page.type-page img{
	width: 75%;
	max-width: 75%;
	height: auto;
	margin: 0 auto 3.125rem;
}

@media all and (max-width: 768px) {
	.page-template-page-about .page.type-page img{
		width: 100%;
		max-width: 100%;
	}
}

/* Services */
.page-template-page-services .page.type-page h1,
.page-template-page-contact .page.type-page h1 {
	text-align: center;
}

@media all and (max-width: 405px) {
	.page-template-page-services .page.type-page h1 {
		margin-top: 75px;
	}
}

.page-template-page-services .img_wrapper {
	background: url('images/oxdaffodils.jpg') center center no-repeat;
	background-size: cover;
}

.page-template-page-services img {
	margin-bottom: 0;
}

.page-template-page-services figcaption {
	margin-bottom: 3.125rem;
}

/* Forms header */
#post-16 h1 {
	margin-bottom: 3rem;
}

footer {
	padding: 3.75rem 0 0;
	text-align: right;
}

footer span {
	color: #828282;
	font-size: 0.65rem;
	font-family: Montserrat, arial, sans-serif;
}