/*
Theme Name: de Havilland
Theme URI: http://www.dehavillandmuseum.co.uk
Description: A theme based on the Skeleton framework
Version: 1.0
Author: Dan Webster
Author URI: http://www.websterinternet.co.uk
*/

/* @import url("stylesheets/base.css"); Added good stuff to bottom */
@import url("stylesheets/skeleton.css");
/* @import url("stylesheets/layout.css"); */

/* =Reset default browser CSS. Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */

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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}
:focus {/* remember to define focus styles! */
	outline: 0;
}
ol, ul {
	list-style: none;
}
table {/* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}
caption, th, td {
	font-weight: normal;
	text-align: left;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: "";
}
blockquote, q {
	quotes: "" "";
}
a img {
	border: 0;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}

/* Get rid of that sodding Edit link */

.edit-link {
display: none;
}

/* Image Align Attributes */
img.alignright {float:right; margin:0 0 1em 1em}
img.alignleft {float:left; margin:0 1em 1em 0}
img.aligncenter {display: block; margin-left: auto; margin-right: auto}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto}

body {
font-family: 'Open Sans', sans-serif;
font-weight: 400;
background: transparent;
line-height: auto;
font-size:14px;
color:#505050;
}

/* Background Image */
img.bg {
  /* Set rules to fill background */
  min-height: 100%;
  min-width: 1024px;
  /* Set up proportionate scaling */
  width: 100%;
  height: auto;
	
  /* Set up positioning */
  position: fixed;
  top: 0!;
  left: 0;
  z-index:-10;
}
@media screen and (max-width: 1024px) { /* Specific to this particular image */
  img.bg {
    left: 50%;
    margin-left: -512px;   /* 50% */
  }
}
/* End Background Image */

/* Fonts and Headings */

p,h1,h2,h3,h4,h5,h6 {
font-family: 'Open Sans', sans-serif;
}
h1,h2,h3,h4,h5,h6 {
clear: both;
}
p {
font-size:14px;
margin-bottom:20px;
line-height:1.6em;
}
a {
text-decoration:none;
color:#ed1a3b;
}
a:hover, a:active {
text-decoration:underline;
}
b, strong {
font-weight:700;
}

h1 {
color:#FFF;
background-color:#ED1A3B;
line-height:50px;
font-size:36px;
text-transform: uppercase;
padding: 5px 0 5px 30px;
margin-bottom:30px;
}
h1 a, h3 a {
color:#FFF;
}
h2 {
color:#FFF;
background-color:#3062A1;
line-height:30px;
font-size:20px;
text-transform: uppercase;
padding: 5px 0 5px 30px;
margin-bottom:30px;
}
div.important_ticker h3 {
color:#FFF;
font-size:16px;
text-transform: uppercase;
line-height:50px;
}
h5 {
color:#FFF;
background-color:#3062A1;
line-height:30px;
font-size:14px;
text-transform: uppercase;
padding: 5px 0 5px 0;
margin:20px 0;
text-align:center;
}
h5.home {
margin:0px 0 20px 0;
}
h5 a {
color: #FFF;
}

/* Layout DIVs */

div.ticker {
background-color:#254D90;
height:50px;
position: relative;
z-index: 9999;
}
div.important_ticker {
background-color:#ED1A3B;
height:50px;
position: relative;
z-index: 9999;
}
img.bottom_row {
margin-top:20px; /* Vertical space between images */
}

div.content {
background:url(images/content_bg.png) repeat-y top center;
padding: 40px 0;
}
div.words ul {
list-style-type: square;
margin-left: 20px;
}
div.words li {
padding-left: 10px;
}
div.content_area {
width:75%;
margin: 0 auto;
}

div.featured_image {
margin: 0 auto;
text-align:center;
}
div.thumbnail {
padding-bottom:30px;
}
div.thumbnail img {
width: 100%;
}
/* Responsive Youtube Video */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
/* Responsive Images */
div.content img {
max-width: 100%;
height: auto;
}

/* Random Aircraft Images */
.random_aircraft {
margin:20px 0;
box-sizing: content-box;
overflow: hidden;
position: relative;
width:100%;
}
.random_aircraft img {
width:100%;   
}
.random_aircraft h4 {
font-size:16px;
color:#FFF;
font-weight:700;
line-height:50px;
background: #254D90;
}
/* Volunteer/Group Images */
div.right_image img {
margin-bottom:20px;
}


/* Rollover */
.aircraft_caption-text {
background: none repeat scroll 0 0 #254D90;
bottom: 0;
box-sizing: content-box;
color: #fff;
display: block;
height: 50px;
left: 0;
opacity: 0.7;
overflow: hidden;
padding: 0 15px;
position: absolute;
transition: height 0.8s ease 0s;
}
.aircraft_caption-text:hover, .aircraft_caption-text:active {
display: block;
height: 100%;
}

/* Testimonials */
div.cloudy {
background-image:url(images/bg_clouds.jpg);
text-align:center;
padding: 30px 0;
margin-top: 30px;
color:#263692;
text-transform: uppercase;
font-weight: 800;
font-size: 18px;
}
div.cloudy blockquote {
padding: 0px 10px;
}
div.credit {
margin:20px 30px 0 0 !important;
color:#FFF;
text-transform: uppercase;
font-weight: 600;
font-size: 14px;
}

/* TripAdvisor Stuff */
.tripadvisor {
	border:1px solid #579234;
	padding:10px 0;
	margin-top:10px;
}
.tripadvisor_text {
	color:#579234;
}
.tripadvisor_text p {
	line-height:1.5em;
	font-size: 13px !important;
	font-weight:400 !important;
}
.tripadvisor_text h4 {
	padding: 10px 0 20px 0;
	font-size: 18px;
	font-weight: 700;
	
}

/* Footer */
div.footer p {
font-size:11px;
font-weight:bold;
margin-bottom: 10px;
}
div.footer_right p {
text-align: right;
}
.blackborder {
border-bottom:1px solid #000;
}

/* Slider */

.rslides_container {
margin-bottom:0px !important;
}

.rslides_tabs {
text-align:right !important;
padding-right: 30px !important;
background-color:#254d90;
height:30px;
margin-top: -45px !important;
padding-top:15px;
z-index:9999;
position:relative;
}
.rslides_tabs a {
background: none repeat scroll 0 0 rgba(255, 255, 255, 0.9) !important;
text-indent: 9999px !important;
}
.rslides_here a {
background: none repeat scroll 0 0 rgba(38, 54, 146, 1) !important;
}
.caption {
    background: none repeat scroll 0 0 rgba(37, 77, 144, 0.6)  !important;
    /* bottom: 20px !important; */
    text-align: right  !important;
    padding-right: 30px !important;
}

/* Woocommerce bits */
/* Single Product */
div.single_content {
margin-top:20px;
}
div.single_content p, div.single_content ul {
width:auto;
padding-left:0px;
}
div.single_content h1 {
text-align:left;
padding-bottom:20px;
}
div.summary {
padding-bottom:20px;
}
p.price, span.price {
font-family: 'Open Sans', sans-serif;
text-transform: uppercase;
text-align:left;
font-size: 36px !important;
padding-top:20px;
}
div.related p.price, div.related span.price, ul.products p.price, ul.products span.price {
font-size: 18px !important;
}
div.woocommerce-tabs {
padding-bottom:20px;
}
ul.products li {
display:inline-block;
padding-left:15px;
}
ul.products h3 {
padding-bottom:20px;
}
ul.products div.single_content li {
display:inline-block;
padding-left:10px;
}
mark {
background:none;
}
p.woocommerce-result-count {
display:none;
}
.cart-contents {
text-align:right !important;
}
div#billing_country_chosen {
width: 400px !important;
}
/* Related Products */
.woocommerce .related ul.products li.product, .woocommerce .related ul li.product, .woocommerce .upsells.products ul.products li.product, .woocommerce .upsells.products ul li.product, .woocommerce-page .related ul.products li.product, .woocommerce-page .related ul li.product, .woocommerce-page .upsells.products ul.products li.product, .woocommerce-page .upsells.products ul li.product {
width: 22% !important;
}
/* Payment Method Text and Radio Button */
.woocommerce #payment ul.payment_methods {
color:#254D90;
}
.woocommerce a.alt.button, .woocommerce button.alt.button, .woocommerce input.alt.button, .woocommerce #respond input.alt#submit, .woocommerce #content input.alt.button, .woocommerce-page a.alt.button, .woocommerce-page button.alt.button, .woocommerce-page input.alt.button, .woocommerce-page #respond input.alt#submit, .woocommerce-page #content input.alt.button{
background:#ED1A3B !important;
border-color:#ED1A3B !important;
}

.term-plaques .archive-img-wrap {
min-height: 100px;
}
.term-aircraft-prints .archive-img-wrap {
min-height: 160px;
}
.term-books .archive-img-wrap {
min-height: 360px;
}
.term-clothing .archive-img-wrap {
min-height: 360px;
}

/* =Menu Stuff
-------------------------------------------------------------- */

div.stripy {
background-color:#254D90;
height:50px;
position: relative;
margin-top:30px;
}

#access {
font-family: 'Open Sans', sans-serif;
clear: both;
display: block;
float: left;
/* text-align:center; Centre Align Menu */
margin: 0 0 0 -30px;
background: url(images/nav_bg.png) no-repeat;
height:100px;
width:1020px;
}
#access ul {
	font-size: 13px;
    text-transform: uppercase;
	list-style: none;
	margin: 0 0 0 40px;
	padding-left: 0;
	display:inline-block; /* Centre Align Menu */
	width:940px;
}
#access li {
	float: left;
	position: relative;
}
#access a {
	color: #254d90;
    font-weight:bold;
	display: block;
	line-height: 50px;
	padding: 0 33px;
	text-decoration: none;
    padding-top:0px;
}
#access .bottom_row a {
	color: #FFF;
}
#access .bottom_row a:hover {
	color: #FFF;
}
#access ul ul {
	display: none;
	float: left;
	margin: 0;
	position: absolute;
	top: 50px;
	left: 0;
	width: 230px;
	z-index: 99999;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #3062A1;
	border-bottom: 1px dotted #FFF;
	color: #FFF;
	font-size: 13px;
	font-weight: bold;
	height: auto;
	line-height: 1.6em;
	padding: 10px 10px;
	width: 280px;
}
#access li:hover > a,
#access ul ul :hover > a,
#access a:focus {
	background: #5981B3;
}
#access li:hover > a,
#access a:focus {
	background: url(images/twenty.png);
	color: #ed1a3b;
}
#access ul li:hover > ul {
	display: block;
}

#access .current-menu-ancestor > a,
#access .current_page_ancestor > a {
	background: url(images/twenty.png);
	color: #254d90;
}
#access .bottom_row .current-menu-item a {
	background: url(images/twenty.png);
	color: #254d90;
}
#access .current-menu-item > ul ul a,
#access .current_page_item > ul ul a {
	background: #FFF;
	color: #254d90;
}
#access .current-menu-item a {
	background: #ed1a3b;
	color: #FFF;
}
#access .current-menu-item ul a {
	background: #254d90;
	color: #FFF;
}
#access ul ul li:hover > a,
#access ul ul a:focus {
	background: #ed1a3b;
	color: #FFF;
}

/* Login Menu Bits */
.login {
margin-top:15px;
}
.login a {
	color: #254d90;
    font-weight:bold;
	display: block;
	line-height: 50px;
	text-decoration: none;
    padding: 0 10px;
background: url(images/sixty.png);
}
.login li:hover > a,
.login a:focus {
	background: url(images/sixty.png);
	color: #ed1a3b;
}
.login ul {
	font-size: 13px;
    text-transform: uppercase;
	list-style: none;
	margin: 0px;
}
.login li {
	float: right;
	position: relative;
    text-align: right;
    clear:both;
}
.login ul ul {
	display: none;
	float: right;
	margin: 0;
	position: absolute;
	top: 50px;
	right: 0;
	z-index: 99999;
    background-color: #3062A1;
    width: 280px;
    padding: 0 10px;
}
.login ul ul a {
    background: none;
    color: #FFF;
}
.login ul ul a:hover {
    background: none;
    color: #FFF;
}
.login ul li:hover > ul {
	display: block;
}

/* Rollovers */

div.rollover {
text-align: center;
float:right;
margin-top: 30px;
}
a.rollover {
background-position: 0px 0px;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}
a.rollover:hover {
background-position: 0px -29px;
-webkit-transition: all 0.5s ease-out;
-moz-transition: all 0.5s ease-out;
-ms-transition: all 0.5s ease-out;
-o-transition: all 0.5s ease-out;
transition: all 0.5s ease-out;
}

a#twitter {
display: inline-block;
background-image:url(images/social_twitter.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#facebook {
display: inline-block;
background-image:url(images/social_facebook.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#linkedin {
display: inline-block;
background-image:url(images/social_linkedin.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#pinterest {
display: inline-block;
background-image:url(images/social_pinterest.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#gplus {
display: inline-block;
background-image:url(images/social_gplus.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#tripadvisor {
display: inline-block;
background-image:url(images/social_tripadvisor.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#map {
display: inline-block;
background-image:url(images/social_map.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#phone {
display: inline-block;
background-image:url(images/social_phone.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#email {
display: inline-block;
background-image:url(images/social_envelope.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#cart {
display: inline-block;
background-image:url(images/social_cart.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
a#login {
display: inline-block;
background-image:url(images/social_login.png);
background-repeat: no-repeat;
height:29px;
width:29px;
text-indent:-5000px;
margin:5px 5px 0 0;
}
.flexible-frontend-login {
margin-top: 10px;
float: right;
}
.flexible-frontend-login form {
margin-bottom: 0!important;
}
.ffl-popup-link, #ffl-logout-link {
text-transform: uppercase;
color: #FFF;
padding:5px 15px !important;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
font-weight: 700;
text-align:center;
font-size:13px;
background:#3062A1;
}
.ffl-popup-link:hover, #ffl-logout-link:hover {
text-decoration:none;
}
.flexible-frontend-login input {
margin:0 0 10px 0 !important;
display:inline !important;
}
a#ffl-lostpassword {
display: none;
}
button#ffl-submit {
text-transform: uppercase;
color: #FFF;
border:1px solid #FFF; 
color: #FFF;
padding:5px 15px !important;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
font-weight: 700;
text-align:center;
font-size:13px;
background:#3062A1;
text-shadow: none;
}

/* #Buttons
================================================== */

	.button,
	button,
	input[type="submit"],
	input[type="reset"],
	input[type="button"] {
		background: #eee; /* Old browsers */
		background: #eee -moz-linear-gradient(top, rgba(255,255,255,.2) 0%, rgba(0,0,0,.2) 100%); /* FF3.6+ */
		background: #eee -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.2)), color-stop(100%,rgba(0,0,0,.2))); /* Chrome,Safari4+ */
		background: #eee -webkit-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Chrome10+,Safari5.1+ */
		background: #eee -o-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* Opera11.10+ */
		background: #eee -ms-linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* IE10+ */
		background: #eee linear-gradient(top, rgba(255,255,255,.2) 0%,rgba(0,0,0,.2) 100%); /* W3C */
	  border: 1px solid #aaa;
	  border-top: 1px solid #ccc;
	  border-left: 1px solid #ccc;
	  padding: 4px 12px;
	  -moz-border-radius: 3px;
	  -webkit-border-radius: 3px;
	  border-radius: 3px;
	  color: #444;
	  display: inline-block;
	  font-size: 11px;
	  font-weight: bold;
	  text-decoration: none;
	  text-shadow: 0 1px rgba(255, 255, 255, .75);
	  cursor: pointer;
	  margin-bottom: 20px;
	  line-height: normal;
	  padding: 8px 10px;
	  font-family: 'Open Sans', sans-serif; }

	.button:hover,
	button:hover,
	input[type="submit"]:hover,
	input[type="reset"]:hover,
	input[type="button"]:hover {
		color: #222;
		background: #ddd; /* Old browsers */
		background: #ddd -moz-linear-gradient(top, rgba(255,255,255,.3) 0%, rgba(0,0,0,.3) 100%); /* FF3.6+ */
		background: #ddd -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.3)), color-stop(100%,rgba(0,0,0,.3))); /* Chrome,Safari4+ */
		background: #ddd -webkit-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Chrome10+,Safari5.1+ */
		background: #ddd -o-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* Opera11.10+ */
		background: #ddd -ms-linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* IE10+ */
		background: #ddd linear-gradient(top, rgba(255,255,255,.3) 0%,rgba(0,0,0,.3) 100%); /* W3C */
	  border: 1px solid #888;
	  border-top: 1px solid #aaa;
	  border-left: 1px solid #aaa; }

	.button:active,
	button:active,
	input[type="submit"]:active,
	input[type="reset"]:active,
	input[type="button"]:active {
		border: 1px solid #666;
		background: #ccc; /* Old browsers */
		background: #ccc -moz-linear-gradient(top, rgba(255,255,255,.35) 0%, rgba(10,10,10,.4) 100%); /* FF3.6+ */
		background: #ccc -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,.35)), color-stop(100%,rgba(10,10,10,.4))); /* Chrome,Safari4+ */
		background: #ccc -webkit-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Chrome10+,Safari5.1+ */
		background: #ccc -o-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* Opera11.10+ */
		background: #ccc -ms-linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* IE10+ */
		background: #ccc linear-gradient(top, rgba(255,255,255,.35) 0%,rgba(10,10,10,.4) 100%); /* W3C */ }

	.button.full-width,
	button.full-width,
	input[type="submit"].full-width,
	input[type="reset"].full-width,
	input[type="button"].full-width {
		width: 100%;
		padding-left: 0 !important;
		padding-right: 0 !important;
		text-align: center; }

	/* Fix for odd Mozilla border & padding issues */
	button::-moz-focus-inner,
	input::-moz-focus-inner {
    border: 0;
    padding: 0;
	}




/* #Forms
================================================== */

	form {
		margin-bottom: 20px; }
	fieldset {
		margin-bottom: 20px; }
	input[type="text"],
	input[type="password"],
	input[type="email"],
	textarea,
	select {
		border: 1px solid #ccc;
		padding: 6px 4px;
		outline: none;
		-moz-border-radius: 2px;
		-webkit-border-radius: 2px;
		border-radius: 2px;
		font: 13px 'Open Sans', sans-serif;
		color: #777;
		margin: 0;
		width: auto;
		max-width: 100%;
		display: block;
		margin-bottom: 20px;
		background: #fff; }
	select {
		padding: 0; }
	input[type="text"]:focus,
	input[type="password"]:focus,
	input[type="email"]:focus,
	textarea:focus {
		border: 1px solid #aaa;
 		color: #444;
 		-moz-box-shadow: 0 0 3px rgba(0,0,0,.2);
		-webkit-box-shadow: 0 0 3px rgba(0,0,0,.2);
		box-shadow:  0 0 3px rgba(0,0,0,.2); }
	textarea {
		min-height: 60px; }
	label,
	legend {
		display: block;
		font-weight: bold;
		font-size: 13px;  }
	select {
		width: auto; }
	input[type="checkbox"] {
		display: inline; }
	label span,
	legend span {
		font-weight: normal;
		font-size: 13px;
		color: #444; }


#poststuff
{
min-width: 100px!important;
}

.acf-checkbox-list li
{
list-style:none;
}

/*video*/
.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* #Misc
================================================== */
	.remove-bottom { margin-bottom: 0 !important; }
	.half-bottom { margin-bottom: 10px !important; }
	.add-bottom { margin-bottom: 20px !important; }

input#terms {
    display: block;
    float:left;
    margin-top:5px;
}
.form-row.terms {
text-align:left;
    display: block;
    float:left;
}

.tm-extra-product-options .cell {
   
    overflow: hidden!important;
}

.homebanner h2
{
	    background-color: #ED1A3B;
}

.image_button img {
	width: 100%;
	height:auto;
}