/*
Theme Name: MacAmbulance
Theme URI: http://www.macambulance.co.uk.co.uk/
Description: 
Version: 3.0
Author: Sam Mullen
Author URI: http://www.macambulance.co.uk

Colours : 

#285E28 : dark green
#327732 : light green

#D19213 : orange
#623880 : purple

#EDEDED : light grey
#3B3B3C : dark grey

#1A1A1A : border dark grey
#B3B3B3 : border light grey

#C5AD81 : light brown
#ab9163 : dark brown

*/

/* fonts */

@font-face {font-family: 'Museo-700';src: url('fonts/museo/262F19_0_0.eot');src: url('fonts/museo/262F19_0_0.eot?#iefix') format('embedded-opentype'),url('fonts/museo/262F19_0_0.woff') format('woff'),url('fonts/museo/262F19_0_0.ttf') format('truetype');}
  
@font-face {font-family: 'Museo-300';src: url('fonts/museo/262F19_1_0.eot');src: url('fonts/museo/262F19_1_0.eot?#iefix') format('embedded-opentype'),url('fonts/museo/262F19_1_0.woff') format('woff'),url('fonts/museo/262F19_1_0.ttf') format('truetype');}
 
@font-face {font-family: 'Museo-500';src: url('fonts/museo/262F19_2_0.eot');src: url('fonts/museo/262F19_2_0.eot?#iefix') format('embedded-opentype'),url('fonts/museo/262F19_2_0.woff') format('woff'),url('fonts/museo/262F19_2_0.ttf') format('truetype');}

.museo {
	font-family: 'Museo-500';
}
.museo-light {
	font-family: 'Museo-300';
}
.museo-bold, strong {
	font-family: 'Museo-700';
	font-weight: normal;
}

/* 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;
}
img {
	display: block;
	height: auto;
	max-width: 100%;
}
body {
	margin: 0;
	padding: 0;
	font-size: 14px;
	font-family: "Open Sans", Helvetica, sans-serif;
	font-weight: 300
}
a, a:active {
	border: 0;
	outline: 0;
	color: #327732;
}
a:hover, a:focus {
	text-decoration: underline;
	color: #285E28;
}
img {
	border: 0;
	outline: 0;
}
.hf-tiny, .hf-medium {
	display: block;
}
.hf-large {
	display: none;
}
.constrain {
	position: relative;
}

/* headings */

h1, h2, h3, h4, h5, h6 {
	font-weight: 300;
	font-size: 100%;
	line-height: 100%;
	margin: 0;
	font-family: "Museo-300", Helvetica, sans-serif;
	color: #285E28;
}
h1 {
	font-size: 180%;
	margin: 40px 0;
}
h2 {
	font-size: 180%;
	margin: 20px 0;
}

/* page layout */

#wrapper {
	margin: 0;
}
#wrapper > section {
	margin-bottom: 40px;
}
.boxwrapper {
	max-width: 940px;
	margin: 0 auto;
	box-sizing: border-box;
}

/* header */

#header {
	box-shadow: 0px 0px 8px rgba(90,90,90,0.5);
	background: #327732; /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzMyNzczMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyODVlMjgiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  #327732 0%, #285e28 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#327732), color-stop(100%,#285e28)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #327732 0%,#285e28 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #327732 0%,#285e28 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #327732 0%,#285e28 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #327732 0%,#285e28 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#327732', endColorstr='#285e28',GradientType=0 ); /* IE6-8 */
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 3;
}
#header-logo {
	float: left;
	margin-right: 40px;
}
#header-logo img {
	max-height: 40px;
	width: auto;
	margin: 15px 0;
}

/* main menu */

#header > .boxwrapper, #header nav, #top-menu, #top-menu ul, #top-menu li, #top-menu a {
	height: 100%;
}
#top-menu li {
	float: left;
	margin: 0;
}
#top-menu a {
	text-transform: uppercase;
	font-family: "Museo-500", sans-serif;
	color: #EDEDED;
	font-weight: 400;
	font-size: 130%;
	text-align: center;
	line-height: 129px;
	display: block;
	padding: 0 20px;
	margin: 0;
	box-sizing: border-box;
}
#top-menu a:hover, #top-menu .current-menu-item > a {
	text-decoration: none;
	background-color: rgba(40,40,40,0.2);
}
#top-menu a:hover {
	text-decoration: none;
}
.menu-toggle, .call {
	float: right;
	font-size: 250%;
	color: #fff;
	padding: 15px 10px 0 0;
	display: block
}
a.menu-toggle:hover, a.call:hover {
	color: #fff;
	text-decoration: none;
}
.mobile-menu {
	position: absolute;
	top: 60px;
	left: 0;
	width: 100%;
	padding-bottom: 10px;
	overflow: visible!important;
}
.mobile-menu a {
	display: block;
	text-align: center;
	font-size: 150%;
	color: #fff;
	background: #285E28;
	line-height: 45px;
	text-transform: uppercase;
	font-family: "Museo-300", sans-serif;
}
.mobile-menu li:last-child > a {
	padding-bottom: 10px;
}
.mobile-menu a:hover, .mobile-menu a:focus {
	text-decoration: none;
}

/* home */

#home-columns .column-title {
	margin-bottom: 20px;
}
#home-columns .column-title h2 {
	padding-top: 10px;
	text-align: center;
}
#home-columns, #latest-posts {
	font-size: 120%;
}
#latest-posts .wp-post-image {
	margin-bottom: 15px;
}
#home-columns .service-icon {
	box-shadow: 0 0 5px 0 rgba(197,173,129,1);
	border-radius: 50%;
	padding: 3px;
	max-height: 140px;
	margin: 0 auto;
}
#home-columns .service-icon:hover {
	background: transparent;
}
#home-columns a:hover .service-icon {
	box-shadow: 0 0 8px 0 rgba(197,173,129,1);
}
#home-columns .read-more {
	white-space: nowrap;
	margin: 10px 0;
}

/* home blog */

#latest-posts h2 {
	margin-top: 0;
}
#latest-posts [class*="col-"] {
	margin-bottom: 40px;
}

/* home slideshow */

.slideshow-wrapper {
	margin-top: 40px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	box-sizing: border-box;
}
.caroufredsel_wrapper {
	width: 99.999999%!important;
}
.slideshow-wrapper .slide .inner-pad {
	background-repeat: no-repeat;
	background-position: right bottom;
	background-size: contain;
}
.slideshow-wrapper .slide {
	float: left;
	display: block;
}
.slideshow-wrapper .slide, .slideshow-wrapper .slide div {
	height: 100%;
	box-sizing: border-box;
}
.slideshow-wrapper div.caption {
	max-width: 420px;
	height: auto;
	font-size: 200%;
	line-height: 140%;
}
.slideshow-wrapper div.caption p:last-child {
	margin-bottom: 0;
}
.slideshow-wrapper .slide-nav {
	position: absolute;
	top: 50%;
	margin-top: -16px;
	left: 10px;
	z-index: 10;
}
.slideshow-wrapper .slide-nav a {
	background: url(img/nav/circle-arrows.png) left top no-repeat;
	width: 32px;
	height: 32px;
	z-index: 2;
	display: block;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.slideshow-wrapper .slide-nav a {
		background-image: url(img/nav/circle-arrows@2x.png);
		background-size: 64px 32px;
	}
}
.slideshow-wrapper .slide-nav.next {
	left: auto;
	right: 10px;
}
.slideshow-wrapper .slide-nav.next a {
	background-position: -32px 0;
}
.slideshow-wrapper .bullets {
	position: absolute;
	left: 50%;
	bottom: 0;
}
.slideshow-wrapper .bullets span {
	display: none;
}
.slideshow-wrapper .bullets a {
	display: block;
	background: transparent;
	border: 1px solid #327732;
	border-radius: 12px;
	height: 12px;
	width: 12px;
	float: left;
	margin-right: 4px;
}
.slideshow-wrapper .bullets a.selected {
	background: #327732;
}

/* quick info */

#quick-info {
	font-size: 200%;
	color: #555;
	position: relative;
}
#quick-info .well {
	box-shadow: 0 0 16px rgba(90,90,90,0.1) inset;
	border: 1px solid #ddd;
	margin-bottom: 0;
}
#quick-info .row-fluid div {
	text-align: center;
	line-height: 130%;
}

/* the content */

.the-content {
	font-size: 140%;
	line-height: 140%;
}
.the-content h2 {
	font-size: 140%;
}
.the-content table h2 {
	border-bottom:  1px solid #eee;
	padding-bottom: 10px;
}

/* grid */

.grid {
	margin-top: 40px;
}
.grid .grid-item {
	margin-bottom: 40px;
	font-size: 80%;
}
.grid .grid-item .wp-post-image {
	display: block;
	box-shadow: 0px 0px 6px rgba(90,90,90,0.3);
}
.grid .grid-item h1 {
	margin: 15px 0;
	font-size: 130%;
}
.grid .grid-item .web-meta {
	color: #000;
}
.grid .row:last-child .grid-item {
	margin-bottom: 0;
}

/* footer */

#footer {
	padding: 20px 0;
}
#footer a {
	font-size: 140%;
}
#footer .fa {
	display: inline-block;
	padding-right: 10px;
}
#footer {
	margin-bottom: 20px;
}
#copyright {
	padding-top: 20px;
	font-size: 80%;
}

/* contact */

#home-columns .wpcf7 {
	margin-top: 5px;
}
.wpcf7 input[type="text"], .wpcf7 input[type="email"], .wpcf7 textarea {
	width: 100%;
	padding: 5px;
	margin-bottom: 10px;
	border: 1px solid #e1e1e1;
	border-radius: 3px;
}
.wpcf7 input[type="text"].wpcf7-captchar {
	width: 60px;
	float: none;
	border: none;
	box-shadow: none;
	margin: 0 0 0 10px;

}
.wpcf7 input[type="text"].wpcf7-captchar:focus {
	box-shadow: none;
}
.wpcf7 .captcha-wrapper {
	background: #327732;
	border: 2px solid #327732;
	border-radius: 3px;
	float: left;
}
.wpcf7 .captcha-wrapper > span {
	display: inline-block;
	float: none;
}
.wpcf7-captchac {
	position: relative;
	top: 7px;
}
.wpcf7 .captcha123 {
	position: relative;
	top: -2px;
	right: 2px;
}
.wpcf7 textarea {
	height: 80px;
	margin-bottom: 0;
}
.wpcf7 .btn-primary {
	float: right;
	height: 43px;
	padding-left: 20px;
	padding-right: 20px;
}
input.error {
	border-bottom: 2px solid #800!important;
}
div.wpcf7-response-output {
	margin: 20px 0 0 0;
	clear: both;
}

/* buttons */

.btn-primary {
	background-color: #327732;
	border-color: #327732;
}
.btn-primary:hover {
	background-color: #285E28;
	border-color: #285E28;
}
.btn-secondary {
	background-color: #C5AD81;
	border-color: #C5AD81;
	color: #fff;
}
.btn-secondary:hover {
	background-color: #ab9163;
	border-color: #ab9163;
	color: #fff;
}

/* services list */

.grid.services-list .grid-item .wp-post-image {
	box-shadow: none;
}
.grid.services-list .attachment-service-thumb {
	margin: 0 auto;
	max-height: 150px;
	width: auto;
}
.grid.services-list .grid-item {
	text-align: center;
}
.grid.services-list .grid-item h1 {
	color: #285E28;
}

/* blog */

#posts-wrapper, #post-wrapper {
	padding-top: 20px;
}
#posts-wrapper h1 {
	font-size: 120%;
	margin: 0 0 20px 0;
	line-height: 130%;
}
#posts-wrapper .the-content {
	margin: 0;
}
#posts-wrapper h1.page-title {
	font-size: 200%;
	margin: 0 0 20px 0;
}
#posts-wrapper .post {
	font-size: 110%;
	margin-bottom: 40px;
}
#posts-wrapper .row {
	margin-bottom: 1px solid #eee;
}
.posts-nav {
	font-size: 120%;
	display: block;
	margin-top: 20px;
}
.posts-nav#next {
	text-align: right;
}
.single-post .the-content {
	font-size: 140%;
}
.single-post .the-content .wp-post-image, #posts-wrapper .wp-post-image {
	margin-bottom: 20px;
}
.single-post h1.page-title {
	font-size: 140%;
	margin-top: 0;
}
.the-content ol {
	margin-bottom: 15px;
}
.the-content ol li {
	list-style-type: decimal;
	margin: 0 0 3px 25px;
}
.the-content p {
	margin-bottom: 20px;
}
.the-content h1 {
	margin-bottom: 20px;
}
.the-content blockquote {
	display: block;
	background: rgb(245, 245, 245);
	padding: 15px;
	font-style: italic;
	border-radius: 4px;
	font-size: 80%;
	box-shadow: 0 0 8px 0 rgba(0,0,0,0.05) inset;
	word-break: break-word;
}

/* sidebar */

.sidebar h3 {
	font-size: 140%;
	border-bottom: 1px solid #eee;
	padding-bottom: 10px;
	margin-bottom: 10px;
}
.sidebar .widget {
	margin-bottom: 30px;
}
.sidebar a {
	color: #70592f;
}
.sidebar a:hover {
	color: #4a3b1f;
}
.sidebar .widget_recent_entries a {
	margin-bottom: 10px;
	display: block;
}

/* social links */

.social-links li {
	float: left;
	margin-right: 4px;
}
.social-links a {
	display: block;
	height: 38px;
	width: 38px;
	background: url(img/social.png) no-repeat left top;
}
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
	.social-links a {
		background-image: url(img/social@2x.png);
		background-size: 120px 80px;
	}
}
.social-links .facebook a {
	background-position: -1px -1px;
}
.social-links .facebook a:hover {
	background-position: -1px -41px;
}
.social-links .twitter a {
	background-position: -41px -1px;
}
.social-links .twitter a:hover {
	background-position: -41px -41px;
}
.social-links .linkedin a {
	background-position: -81px -1px;
}
.social-links .linkedin a:hover {
	background-position: -81px -41px;
}
#footer .social-links {
	float: right;
	position: relative;
	top: -5px;
}
#header .social-links {
	position: absolute;
	left: 50%;
	margin-left: -60px;
	top: 13px;
}
#header .social-links a {
	background-color: #fff;
}