/*
Theme Name: Will Taylor
Theme URI: http://www.willtaylor.cc/
Description: 
Version: 1.0
Author: Sam Mullen | MacAmbulance
Author URI: http://www.macambulance.co.uk

Colours : 

yellow			: #FFDD00

*/

@font-face {
    font-family: 'agreg';
    src: url('fonts/agbuch/agbuchbq-regular-webfont.eot');
    src: url('fonts/agbuch/agbuchbq-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/agbuch/agbuchbq-regular-webfont.woff2') format('woff2'),
         url('fonts/agbuch/agbuchbq-regular-webfont.woff') format('woff'),
         url('fonts/agbuch/agbuchbq-regular-webfont.ttf') format('truetype'),
         url('fonts/agbuch/agbuchbq-regular-webfont.svg#akzidenz-grotesk_rregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'agmed';
    src: url('fonts/agbuch/agbuchbq-medium-webfont.eot');
    src: url('fonts/agbuch/agbuchbq-medium-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/agbuch/agbuchbq-medium-webfont.woff2') format('woff2'),
         url('fonts/agbuch/agbuchbq-medium-webfont.woff') format('woff'),
         url('fonts/agbuch/agbuchbq-medium-webfont.ttf') format('truetype'),
         url('fonts/agbuch/agbuchbq-medium-webfont.svg#akzidenz-grotesk_rmedium') format('svg');
    font-weight: normal;
    font-style: normal;
}
.agreg {
	font-family: 'agreg';
}
.agmed {
	font-family: 'agmed';
}

/* Captions & aligment */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.alignleft {
	float: left;
	margin-right: 10px;
}

.alignright {
	float: right;
	margin-left: 10px;
}

.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 p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	padding: 0 4px 5px;
	margin: 0;
}

/* End captions & aligment */

html, body, html a {
	-webkit-font-smoothing: antialiased!important;
	text-shadow: 1px 1px 1px rgba(0,0,0,0.004);
}
ul, li, ol {
	list-style-type: none;
	margin: 0;
	padding: 0;
}
body {
	margin: 0;
	font-size: 14px;
	background: #FFDD00;
	padding-bottom: 20px;
	color: #000;
}
body.home {
	background: #FFDD00;
}
body.home.theme2 {
	background: #000;
}
body.home.theme3 {
	background: #fff;
}
a, a:active {
	border: 0;
	outline: 0;
	color: #000;
}
img {
	border: 0;
	outline: 0;
	display: block;
	height: auto;
	max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
	font-family: 'agmed', Helvetica, sans-serif;
	margin-top: 0;
}
h1 {
	font-size: 160%;
}
h2 {
	font-size: 140%;
}
h3 {
	font-size: 120%;
}

/* page layout */

.items-wrapper {
	max-width: 960px;
	margin: 0 auto;
}
#wrapper {
	padding-top: 190px;
}

/* header */

#header-logo {
	display: block;
	text-align: center;
	max-width: 450px;
	margin: 0 auto;
}
#header {
	background-color: #FFDD00;
	z-index: 4;
	display: block;
	width: 100%;
	padding: 25px 0;
	position: absolute;
	box-sizing: border-box;
}
.theme2 #header {
	background-color: #000;
}
.theme3 #header {
	background-color: #fff;
}
.icon_phone, .icon_phone:hover, .icon_phone:focus {
	text-decoration: none;
}
.icon_phone {
	padding: 7px 5px 5px 5px;
	position: relative;
	top: 3px;
}

/* home image */

.fix-mid {
	height: auto;
	width: 100%;
	position: fixed;
	z-index: 0;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}
.home .the-content .fix-mid {
	margin-top: -3%;
	max-width: 1000px;
}
@media (max-width: 1440px) {
	.home .the-content .fix-mid {
		padding-left: 15px;
		padding-right: 15px;
	}
}
@media (max-height: 1024px) {
	.home .the-content .fix-mid {
		max-width: 820px;
	}
}

/* services */

.page-template-services .the-content h2 {
	font-size: 110%;
	margin: 0 0 2px 0;
	font-family: 'agmed';
	display: block;
}

/* the content */

.the-content {
	font-size: 110%;
}
.the-content ul li {
	list-style-type: disc;
	margin: 0 0 1px 18px;
}
.the-content ol li {
	margin-bottom: 4px;
}
.the-content p, .the-content ul {
	margin-bottom: 32px;
}
.the-content a {
	text-decoration: underline;
}

/* contact form */

.contact-form {
	margin-bottom: 32px;
}
.contact-form .form-control {
	border: none;
	border-radius: 0;
	box-shadow: none;
}
.contact-form input:focus, .contact-form textarea:focus {
	box-shadow: none;
}
.contact-form textarea {
	height: 120px;
}
.form-control {
	margin-bottom: 16px;
}
.captcha .form-control {
	margin-bottom: 0;
}
.send-wrapper > * {
	display: inline-block;
}
.captcha {
	max-width: 180px;
	float: right;
	position: relative;
	top: -2px;
}
.send-wrapper img {
	margin-right: 16px;
}
.contact-form .wpcf7-submit {
	background-color: transparent;
	border: 3px solid #000;
	width: 100%;
	margin-top: 16px;
	outline: none;
	border-radius: 0;
	color: #000;
	display: block;
	text-transform: uppercase;
	font-weight: bolder;
}
#wpgmza_map {
	margin-bottom: 16px;
}

/* site navigation */

#header nav {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 3;
	padding: 16px 0;
	background: #FFDD00;
}
.theme2 #header nav {
	background: #000;
}
.theme3 #header nav {
	background: #fff;
}
#header nav ul {
	text-align: center;
}
#header nav li {
	display: inline-block;
	margin: 0 8px;
}
#header nav li.menu-item a {
	display: block;
	font-family: 'agmed', Helvetica, sans-serif;
	text-transform: uppercase;
	text-decoration: none;
	text-align: left;
	padding: 4px 16px;
	font-size: 120%;
}
#header nav li.menu-item a {
	color: #000;
	border: 3px solid #000;
}
.theme3 #header nav li.menu-item a {
	color: #000;
	border: 3px solid #000;
}
.theme2 #header nav li.menu-item a {
	color: #fff;
	border: 3px solid #fff;
}
#header nav a:hover {
	border-color: #000;
	color: #000;
}

/* toggle link */

a#menu-toggle {
	display: block;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 42px;
	z-index: 4;
	background-color: #000;
}


/* dropdown bars */

#menu-toggle div {
	position: absolute;
	right: 40px;
	top: 8px;
	-webkit-transition: top 0.3s ease-in-out 0.8s;
	-moz-transition: top 0.3s ease-in-out 0.8s;
	-o-transition: top 0.3s ease-in-out 0.8s;
	-ms-transition: top 0.3s ease-in-out 0.8s;
	transition: top 0.3s ease-in-out 0.8s;
}
.menu-open #menu-toggle div {
	top: 11px;
	-webkit-transition: top 0.3s ease-in-out 0s;
	-moz-transition: top 0.3s ease-in-out 0s;
	-o-transition: top 0.3s ease-in-out 0s;
	-ms-transition: top 0.3s ease-in-out 0s;
	transition: top 0.3s ease-in-out 0s;
}
#menu-toggle div span {
	position: absolute;
	left: 0;
	top: 0;
	display: block;
	width: 31px;
	height: 3px;
	opacity: 1;
	z-index: 999;
	background-color: #fff;
	-webkit-transition: ease-in-out 0, opacity 0.5s ease-in-out 0.8s;
	-moz-transition: ease-in-out 0, opacity 0.5s ease-in-out 0.8s;
	-o-transition: ease-in-out 0, opacity 0.5s ease-in-out 0.8s;
	-ms-transition: ease-in-out 0, opacity 0.5s ease-in-out 0.8s;
	transition: ease-in-out 0, opacity 0.5s ease-in-out 0.8s;
}

/* bar 1 */

#menu-toggle div span:nth-of-type(1) {
	top: 0;
}
.menu-open #menu-toggle div span:nth-of-type(1) {
	top: 9px;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

/* bar 2 */

#menu-toggle div span:nth-of-type(2) {
	top: 11px;
	-webkit-transition: ease-in-out 0.2s, opacity 0s ease-in-out 1s;
	-moz-transition: ease-in-out 0.2s, opacity 0s ease-in-out 1s;
	-o-transition: ease-in-out 0.2s, opacity 0s ease-in-out 1s;
	-ms-transition: ease-in-out 0.2s, opacity 0s ease-in-out 1s;
	transition: ease-in-out 0.2s, opacity 0s ease-in-out 1s;
}
.menu-open #menu-toggle div span:nth-of-type(2) {
	opacity: 0;
	-webkit-transition: ease-in-out 0.6s, opacity 0.2s ease-in-out 0s;
	-moz-transition: ease-in-out 0.6s, opacity 0.2s ease-in-out 0s;
	-o-transition: ease-in-out 0.6s, opacity 0.2s ease-in-out 0s;
	-ms-transition: ease-in-out 0.6s, opacity 0.2s ease-in-out 0s;
	transition: ease-in-out 0.6s, opacity 0.2s ease-in-out 0s;
}

/* bar 3 */

#menu-toggle div span:nth-of-type(3) {
	top: 22px;
}
.menu-open #menu-toggle div span:nth-of-type(3) {
	top: 9px;
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

/* odd bars */

#menu-toggle div span:nth-of-type(odd) {
	-webkit-transition: opacity 0.2s ease-in-out 0.6s, -webkit-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0.8s;
	-moz-transition: opacity 0.2s ease-in-out 0.6s, -moz-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0.8s;
	-o-transition: opacity 0.2s ease-in-out 0.6s, -o-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0.8s;
	-ms-transition: opacity 0.2s ease-in-out 0.6s, -ms-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0.8s;
	transition: opacity 0.2s ease-in-out 0.6s, transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0.8s;
}
.menu-open #menu-toggle div span:nth-of-type(odd) {
	-webkit-transition: opacity 0.2s ease-in-out 0.6s, -webkit-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0s;
	-moz-transition: opacity 0.2s ease-in-out 0.6s, -moz-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0s;
	-o-transition: opacity 0.2s ease-in-out 0.6s, -o-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0s;
	-ms-transition: opacity 0.2s ease-in-out 0.6s, -ms-transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0s;
	transition: opacity 0.2s ease-in-out 0.6s, transform 0.3s ease-in-out 0.5s, top 0.3s ease-in-out 0s;
}

/* recaptcha badge */

.grecaptcha-badge {
	display: none!important;
}