/**
 * HTML5 ✰ Boilerplate
 *
 * style.css contains a reset, font normalization and some base styles.
 *
 * Credit is left where credit is due.
 * Much inspiration was taken from these projects:
 * - yui.yahooapis.com/2.8.1/build/base/base.css
 * - camendesign.com/design/
 * - praegnanz.de/weblog/htmlcssjs-kickstart
 */


/**
 * html5doctor.com Reset Stylesheet (Eric Meyer's Reset Reloaded + HTML5 baseline)
 * v1.6.1 2010-09-17 | Authors: Eric Meyer & Richard Clark
 * html5doctor.com/html-5-reset-stylesheet/
 */

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

blockquote, q { quotes: none; }

blockquote:before, blockquote:after,
q:before, q:after { content: ""; content: none; }

ins { background-color: #ff9; color: #000; text-decoration: none; }

mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }

del { text-decoration: line-through; }

abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }

table { border-collapse: collapse; border-spacing: 0; }

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

input, select { vertical-align: middle; }


/**
 * Font normalization inspired by YUI Library's fonts.css: developer.yahoo.com/yui/
 */

body { font:13px/1.231 sans-serif; *font-size:small; background:#ffffff; padding-top:45px; padding-bottom:50px;} /* Hack retained to preserve specificity */
select, input, textarea, button { font:99% sans-serif; }

header{padding:10px;}

/* Normalize monospace sizing:
   en.wikipedia.org/wiki/MediaWiki_talk:Common.css/Archive_11#Teletype_style_fix_for_Chrome */
pre, code, kbd, samp { font-family: monospace, sans-serif; }


/**
 * Minimal base styles.
 */

/* Always force a scrollbar in non-IE */
html { overflow-y: scroll; }

/* Accessible focus treatment: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: none; }

ol { list-style-type: decimal; }

/* Remove margins for navigation lists */
nav ul, nav li { margin: 0; list-style:none; list-style-image: none; }

small { font-size: 85%; }
strong, th { font-weight: bold; }

td { vertical-align: top; }

/* Set sub, sup without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }

pre {
  /* www.pathf.com/blogs/2008/05/formatting-quoted-code-in-blog-posts-css21-white-space-pre-wrap/ */
  white-space: pre; white-space: pre-wrap; word-wrap: break-word;
  padding: 15px;
}

textarea { overflow: auto; } /* www.sitepoint.com/blogs/2010/08/20/ie-remove-textarea-scrollbars/ */

.ie6 legend, .ie7 legend { margin-left: -7px; } 

/* Align checkboxes, radios, text inputs with their label by: Thierry Koblentz tjkdesign.com/ez-css/css/base.css  */
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }

/* Hand cursor on clickable input elements */
label, input[type="button"], input[type="submit"], input[type="image"], button { cursor: pointer; }

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea { margin: 0; }

/* Colors for form validity */
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid {
   border-radius: 1px; -moz-box-shadow: 0px 0px 5px red; -webkit-box-shadow: 0px 0px 5px red; box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, .no-boxshadow textarea:invalid { background-color: #f0dddd; }


/* These selection declarations have to be separate
   No text-shadow: twitter.com/miketaylr/status/12228805301
   Also: hot pink! */
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }

/* j.mp/webkit-tap-highlight-color */
a:link { -webkit-tap-highlight-color: #FF5E99; }

/* Make buttons play nice in IE:
   www.viget.com/inspire/styling-the-button-element-in-internet-explorer/ */
button {  width: auto; overflow: visible; }

/* Bicubic resizing for non-native sized IMG:
   code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/ */
.ie7 img { -ms-interpolation-mode: bicubic; }

/**
 * You might tweak these..
 */

body, select, input, textarea {
  /* #444 looks better than black: twitter.com/H_FJ/statuses/11800719859 */
  color: #444;
  /* Set your base font here, to apply evenly */
  /* font-family: Georgia, serif;  */
}

/* Headers (h1, h2, etc) have no default font-size or margin; define those yourself */
h1, h2, h3, h4, h5, h6 { font-weight: normal; color:#ed2939; font-family: 'PT Serif', arial, serif; margin:0 0 20px 0;}

h1{font-size:30px; color:#000;}
h2{color:#37424a; font-size:26px;}
h3{font-size:16px; text-transform:uppercase; font-weight:bold; margin-bottom:10px;}

a, a:active, a:visited { color: #000000; }
a:hover { color: #ed2939; }

.red {color: #ED2939;}
.smaller_title{font-size:24px;}

p{font-family: 'PT Sans', arial, serif; line-height: 24px; font-size:14px;}
.uppercase{text-transform:uppercase;}
.red{color:#ED2939;}
#text_content p+p{margin-top:18px;}
.small_type{font-size:12px; line-height:normal;}


.careers {
    border-radius: 3px 3px 0 0;
    border-width: 2px 2px 0;
    bottom: 12px;
    font-weight: normal;
    height: auto;
    left: 45%;
    margin-left: -50px;
    padding: 7px 5px;
    position: absolute;
    text-decoration: none;
	}

.submitbuttonC {
    background: none repeat scroll 0 0 #E42737;
    border: 2px solid #A40C19;
    border-radius: 3px 3px 0 0;
    color: white!important;
    cursor: pointer;
    float: left;
    font-family: 'PT Serif',arial,serif;
    font-size: 16px;
    height: 15px;
    line-height: 12px;
    margin-left: 3px;
    outline: medium none;
    position: relative;
    text-align: center;
    width: 72px;
    z-index: 0;
}

/**
 * PRIMARY STYLES
 *
 * AUTHOR: WILL MOORE 
 */

.fl{float:left;}
.cb{clear:both;}
.gutter_right{margin-right:20px;}
 
::-moz-selection{ background:#ED2939; color:#fff; text-shadow: none; }
::selection { background:#ED2939; color:#fff; text-shadow: none; }

#container{width:940px; margin:0 auto; -webkit-border-radius:3px; -moz-border-radius:3px;border-radius:3px; border:1px solid #e3e4e5; padding:20px; position:relative;}
#logo{background:url(../img/elements/logo.png) no-repeat; height:22px; width:349px; display:block; text-indent:-9999em;}

.genlist {list-style-type: square; margin: 20px 0 0 20px; width: 200px;}
.genlist li {color: #ED2939; float: left; font-size: 12px; line-height: 23px; width: 300px;}

.address{line-height: 18px;}

iframe{margin-left:64px;}

/* //////////////////////// */
/* /////    NAV    //////// */
/* //////////////////////// */

#nav{font-family: 'PT Serif', arial, serif; margin-top:10px; padding-left:25px; margin-bottom:10px;}
#nav li{display:inline;}
#nav li a{float:left;text-decoration:none; margin-right:28px;}
#nav li:last-child a{margin-right:0px;}

/* //////////////////////// */
/* /////  IMAGES   //////// */
/* //////////////////////// */

#images{margin-top:20px; height:330px;}

/* //////////////////////// */
/* /////    MAIN   //////// */
/* //////////////////////// */

#main{margin-top:20px;}
#ribbon{background:url(../img/elements/ribbon.png) no-repeat; height:78px; width:1076px; padding-top:34px; z-index:100; position:relative; text-align:center; left:-67px;}
#ribbon p {text-shadow: 0 1px 0 #000; text-transform:uppercase; font-size:22px; font-weight:bold; color:#fff;}
/* //////////////////////// */
/* /////    JUMP   //////// */
/* //////////////////////// */

#jbox{position:absolute; top:-12px; left:28px;}

/* Dropdown control */
.selectBox-dropdown {
width: 118px; /* width = (desired width) - padding-right */
padding-right: 25px;
position: relative;
border: solid 1px #861d26;
line-height: 12px;
text-decoration: none;
color: #000;
outline: none;
vertical-align: middle;
background: #ed2939;
background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ed2939), to(#bf212e));
background: -moz-linear-gradient(#ed2939, #bf212e);
background: linear-gradient(#ed2939, #bf212e);
-pie-background: linear-gradient(#ed2939, #bf212e);
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
display: inline-block;
cursor: default;
text-align: left;
color: #ffffff;
text-shadow: 0 1px 0 #000;
font-family: 'PT Sans', arial, serif;
text-transform:uppercase;
}

.selectBox-dropdown:hover {color:#fff;}

.selectBox-dropdown:focus,
.selectBox-dropdown:focus .selectBox-arrow {
border-color: #666;
}

.selectBox-dropdown.selectBox-menuShowing {
-moz-border-radius-bottomleft: 0;
-moz-border-radius-bottomright: 0;
-webkit-border-bottom-left-radius: 0;
-webkit-border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}

.selectBox-dropdown .selectBox-label {
width: 100%;
padding: 4px;
display: inline-block;
white-space: nowrap;
overflow: hidden;
}

.selectBox-dropdown .selectBox-arrow {
position: absolute;
top: 0;
right: 0;
width: 23px;
height: 100%;
background: url(../img/elements/jquery.selectBox-arrow.gif) 50% center no-repeat;
border-left: solid 1px #861d26;
}


/* Dropdown menu */
.selectBox-dropdown-menu {
position: absolute;
z-index: 99999;
max-height: 200px;
border: solid 1px #861d26; /* should be the same border width as .selectBox-dropdown */
background: #bf212e;
-moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
-webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
overflow: auto;
}


/* Inline control */
.selectBox-inline {
width: 250px;
outline: none;
border: solid 1px #861d26;
background: #FFF;
display: inline-block;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
overflow: auto;
}

.selectBox-inline:focus {
border-color: #666;
}


/* Options */
.selectBox-options,
.selectBox-options LI,
.selectBox-options LI A {
list-style: none;
display: block;
cursor: default;
padding: 0;
margin: 0;
}

.selectBox-options LI A {
line-height: 1.5;
padding: 0 .5em;
white-space: nowrap;
overflow: hidden;
background: 6px center no-repeat;
color:#ffffff;
text-shadow: 0 1px 0 #000;
}

.selectBox-options LI.selectBox-hover A {
background-color: #861d26;
}

.selectBox-options LI.selectBox-disabled A {
color: #888;
background-color: transparent;
}

.selectBox-options LI.selectBox-selected A {
background-color: #861d26;
}

.selectBox-options .selectBox-optgroup {
color: #666;
background: #EEE;
font-weight: bold;
line-height: 1.5;
padding: 0 .3em;
white-space: nowrap;
}


/* Disabled state */
.selectBox.selectBox-disabled {
color: #888 !important;
}

.selectBox-dropdown.selectBox-disabled .selectBox-arrow {
opacity: .5;
filter: alpha(opacity=50);
border-color: #666;
}

.selectBox-inline.selectBox-disabled {
color: #888 !important;
}

.selectBox-inline.selectBox-disabled .selectBox-options A {
background-color: transparent !important;
}

/* //////////////////////// */
/* /////    BAF    //////// */
/* //////////////////////// */

.b_box{border:3px solid #e7e7e7; -webkit-border-radius:3px; -moz-border-radius:3px; border-radius:3px; padding:15px; position:relative; margin-bottom:20px;}

#sign_up_fname{margin-right: 3px; width: 120px;}
#sign_up_sname{width: 150px;}
#sign_up_email{width: 224px; margin-top: 5px;}
#sign_up_fname , #sign_up_sname, #sign_up_email{ float: left; -webkit-border-radius: 5px; -moz-border-radius: 5px; border: none; border-radius: 5px; background: #e8e8e8; background: -webkit-gradient(linear, 0 0, 0 bottom, from(#e8e8e8), to(#ffffff)); background: -moz-linear-gradient(#e8e8e8, #ffffff); background: linear-gradient(#e8e8e8, #ffffff); -pie-background: linear-gradient(#e8e8e8, #ffffff); border: 1px solid #cacaca; position: relative; z-index: 0; height: 28px; line-height:28px;}

#sign_up_fname input, #sign_up_sname input, #sign_up_email input{background: none; border: none; color: #37424a; font-style: italic; padding-left: 10px; height: 27px; font-family: 'times New Roman', arial, serif;}

#sign_up_return {display: none; float: left; margin-top: 5px; color:#ED2939;}

#join {height: 30px; width: 48px; color: #ffffff; border: 2px solid #a40c19; font-size: 16px; text-align: center; line-height: 12px; font-family: 'times New Roman', arial, serif; float: left; margin-top: 5px; margin-left: 3px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background: #e42737; cursor: pointer; outline: none; position: relative; z-index: 0; }

.disclaimer{font-style:italic; color:#37424a; line-height:16px; margin-top:30px;}

/* //////////////////////// */
/* /////  OPEN TABLE  ////// */
/* //////////////////////// */

.OT_wrapper{background:none!important; border:none!important; margin:10px 0 0 70px!important;}
.OT_list li{border:none!important;}
.OT_header{display:none!important;}

/* //////////////////////// */
/* /////   FOOTER  //////// */
/* //////////////////////// */

#footer{width:960px; margin:0 auto; margin-top:20px;}
.f_col{width:50%; float:left;}
#footer p{line-height:18px;}
.r_end_item{margin-left:30px;}
.spacing36{margin-bottom:36px;}

.f_btn{font-weight:bold; font-size:10px; box-shadow: 0 1px 0 #86151f; line-height:22px; height:22px; margin-top:10px; padding:3px 10px; text-decoration:none; color:#ffffff!important; text-align:center; text-shadow: 0 1px 0 #86151f; float:left; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; background: #ec2939; background: -webkit-gradient(linear, 0 0, 0 bottom, from(#ec2939), to(#bf212e)); background: -moz-linear-gradient(#ec2939, #bf212e); background: linear-gradient(#ec2939, #bf212e);}
.f_btn:hover{color:#ffffff;}

/* //////////////////////// */
/* /////   IMAGES  //////// */
/* //////////////////////// */

#thumbs img, #gallery img
{
	float: left;

}

#thumbs>a, #gallery>a
{
	position: absolute;
	height: 26px;
	width: 18px;
	top: 184px;
	text-indent: -9999px;
}

#gallery>a {top: 295px;}
.t_prev, .g_prev {background: url(../img/elements/left_controll.png) no-repeat;left: -40px;}
.t_next, .g_next {background: url(../img/elements/right_controll.png) no-repeat;right: -40px;}

#thumbs .items {
	width: 20000px;
	height: 250px;
	position:absolute;
}

#thumbs .items>div, #thumbs .scrollable{
	width: 960px;
	height: 250px;
	overflow: hidden;
	position:relative;
}

#thumbs .items div {
	float: left;
}

#thumbs .items div div:first-child img {margin-right: 20px;}

.items div div {position: relative;}

#thumbs .items div div:first-child span {right: 20px;}

.items div div span, .items div span
{
    bottom: 0;
    cursor: pointer;
    height: 31px;
    position: absolute;
    right: 0;
    width: 31px;
}

.items div div span
{
	background: url(../img/elements/zoom.png) no-repeat scroll 0 0 transparent;
}

.items div span
{
	background: url(../img/elements/zoom.png) no-repeat scroll 0 0 transparent;
}

#gallery .scrollable {
	position: relative;
	overflow: hidden;
	width:940px;
}

#gallery .items{
	/*width determined by javascript*/
	width: 50000px;
	position: absolute;
	left: 0;
}
#gallery .items>div {
	float: left;
	margin: 0 0 0 0;
	position: relative;
}
#gallery .items>div div {
	float: left;
	padding: 5px;
	background: #444;
	display: block;
	-moz-border-radius: 3px;
	height: 240px;
	position: relative;
	margin: 0 20px 0 0;
}
#gallery .items img {
	float: left;
}

/* //////////////////////// */
/* /////   MENUS   //////// */
/* //////////////////////// */

/*.menu {background-image: url("../img/elements/menu_icon.png"); background-repeat: no-repeat; color: #000000; display: block; font-size: 12px; margin-right: 10px; padding: 20px 0 26px 55px; text-decoration: none; width: 105px; font-family:'PT Sans',arial,serif;}*/

.menu{background-image: url("../img/elements/pdf_small.png"); background-repeat: no-repeat; color: #000000; display: inline-block; font-size: 12px; margin-right: 10px; padding: 2px 0 26px 28px; text-decoration: none; width: 115px; font-family:'PT Sans',arial,serif;}

#menu_list {padding-left:70px;}
#menu_list li {display: inline;}
#menu_list li a {float: left;}
#menu_list li a:hover {color: #BC0000;}

/* //////////////////////// */
/* ///  SOCIAL LINKS  ///// */
/* //////////////////////// */	

.twitter_link, .facebook_link{float: right;height: 50px;margin-right: 0;margin-top: 30px;width: 100px;}
.twitter_link{background:url(../img/elements/twitter.png) no-repeat; right:0;}
.facebook_link{background:url(../img/elements/facebook.png) no-repeat; right:34px;}

/* //////////////////////// */
/* ///  OPEN TABLE BADGE  // */
/* //////////////////////// */

.OT_Widget_Wrapper{min-width:277px!important;}
.OT_Widget_Link{text-align:right!important;}


/* //////////////////////// */
/* /////    PIE    //////// */
/* //////////////////////// */

#container, #baf, #sign_up_fname , #sign_up_sname, #sign_up_email, #sign_up_fname, #sign_up_sname, #sign_up_email, .f_btn, .selectBox-dropdown{behavior: url(http://www.belandthedragon-windsor.co.uk/media/css/PIE.htc);}

/**
 * Non-semantic helper classes: please define your styles before this section.
 */

/* For image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }

/* Hide for both screenreaders and browsers:
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; }

/* Hide only visually, but have it available for screenreaders: by Jon Neal.
  www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden */
.visuallyhidden { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: drupal.org/node/897638 */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus { clip: auto; height: auto; margin: 0; overflow: visible; position: static; width: auto; }

/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* The Magnificent Clearfix: Updated to prevent margin-collapsing on child elements.
   j.mp/bestclearfix */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }



/**
 * Media queries for responsive design.
 *
 * These follow after primary styles so they will successfully override.
 */

@media all and (orientation:portrait) {
  /* Style adjustments for portrait mode goes here */

}

@media all and (orientation:landscape) {
  /* Style adjustments for landscape mode goes here */

}

/* Grade-A Mobile Browsers (Opera Mobile, Mobile Safari, Android Chrome)
   consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you: j.mp/textsizeadjust */
  /* html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}


/**
 * Print styles.
 *
 * Inlined to avoid required HTTP connection: www.phpied.com/delay-loading-your-print-css/
 */
@media print {
  * { background: transparent !important; color: black !important; text-shadow: none !important; filter:none !important;
  -ms-filter: none !important; } /* Black prints faster: sanbeiji.com/archives/953 */
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a[href]:after { content: " (" attr(href) ")"; }
  abbr[title]:after { content: " (" attr(title) ")"; }
  .ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after { content: ""; }  /* Don't show links for images, or javascript/internal links */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}