/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea { color: #222; }
body { font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
 background: #b3d4fc;
 text-shadow: none;
}
::selection { background: #b3d4fc; text-shadow: none; }
/*
 * A better looking default horizontal rule
 */

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img { vertical-align: middle; }
/*
 * Remove default fieldset styles.
 */

fieldset { border: 0; margin: 0; padding: 0; }
/*
 * Allow only vertical resizing of textareas.
 */

textarea { resize: vertical; }
/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: #000; padding: 0.2em 0; }
/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body { background: url(../img/background/body.jpg) no-repeat center top #110f10; font-size: 12px; }
.container { width: 960px; margin: 0 auto; display: block; }
/* ==========================================================================
   Header
   ========================================================================== */
header { display: block; margin: 0 0 5px 0; padding: 0; height: 163px; position: relative; z-index: 2; ß
}
header h1 { display: block; margin: 0; padding: 0; position: absolute; left: 50%; top: 30px; width: 297px; height: 91px; margin: 0 0 0 -148px; }
header h1 a { display: block; margin: 0; padding: 0; }
header nav#language { display: block; margin: 0; padding: 0; position: absolute; top: 0; right: 0; text-align: center; }
header nav#language > ul { display: inline-block; margin: 0; padding: 0; list-style: none; }
header nav#language > ul > li { display: block; margin: 0; padding: 0; float: left; position: relative; }
header nav#language > ul > li > a { color: #fff; display: block; font-size: 12px; line-height: 12px; margin: 0 0 0 0; padding: 8px 20px 8px 20px; text-decoration: none; -webkit-border-bottom-right-radius: 8px; -webkit-border-bottom-left-radius: 8px; -moz-border-radius-bottomright: 8px; -moz-border-radius-bottomleft: 8px; border-bottom-right-radius: 8px; border-bottom-left-radius: 8px; background: #333; }
header nav#language > ul > li:hover > a,
header nav#language > ul > li.active > a { background: none repeat scroll 0 0 #444; }
header nav#menu { display: block; margin: 0; padding: 0; position: absolute; bottom: 0; left: 0; width: 100%; height: 27px; background: url(../img/background/header.png) center center repeat-x; text-align: center; }
header nav#menu > ul { display: inline-block; margin: 0; padding: 0; list-style: none; }
header nav#menu > ul > li { display: block; margin: 0; padding: 0; float: left; position: relative; }
header nav#menu > ul > li > a { color: #e0cb84; display: block; font-size: 12px; line-height: 12px; margin: 0 0 0 0; padding: 8px 15px 7px 15px; text-decoration: none; }
header nav#menu > ul > li:hover > a,
header nav#menu > ul > li.active > a { background: none repeat scroll 0 0 #212024; }
header nav#menu > ul > li > ul { left: 0; margin: 0; padding: 10px 0; position: absolute; text-align: left; top: 27px; background: #212024; display: none; min-width: 100%; }
header nav#menu > ul > li:hover > ul { display: block; }
header nav#menu > ul > li > ul > li { float: none; display: block; margin: 0; padding: 0; }
header nav#menu > ul > li > ul > li > a { color: #e0cb84; display: block; margin: 0; padding: 5px 25px 5px 15px; text-decoration: none; white-space: nowrap; font-size: 11px; line-height: 11px; }
header nav#menu > ul > li > ul > li > a:hover { background: #323136; }
/* ==========================================================================
   Slider
   ========================================================================== */
div[role=slider] { display: block; margin: 0 0 5px 0; padding: 15px; position: relative; z-index: 1; background: #f1eee9; height: 533px; }
div[role=slider] .peKenBurns { width: 930px; height: 533px; }
/* ==========================================================================
   Home
   ========================================================================== */
div[role=home] { display: block; margin: 0 0 20px 0; }
div[role=home] .col { display: block; float: left; }
div[role=home] .col.col1 { margin: 0 17px 0 0; }
div[role=home] .col.col2 { }
div[role=home] .col.col3 { float: right; }
/* ==========================================================================
   Main
   ========================================================================== */
div[role=main] { display: block; margin: 0 0 5px 0; padding: 10px; background: url(../img/background/engine.png) no-repeat 96% 96% #fff; position: relative; z-index: 1; }
div[role=main] #animation { display: block; width: 434px; float: left; border: 10px solid #CCC; margin-right: 20px; }
div[role=main] #animation .peKenBurns { width: 434px; height: 533px; }
div[role=main] #content { display: block; width: 400px; float: left; }
div[role=main] h1.title { margin: 40px 0 20px 0; font-weight: normal; font-size: 16px; line-height: 16px; font-family:"Times New Roman", Times, serif }
/* ==========================================================================
   Contact
   ========================================================================== */
div[role=main]#contact { }
div[role=main]#contact .col { display: block; float: left; }
div[role=main]#contact .col.col1 { width: 440px; background: #eee9e0; padding: 10px; }
div[role=main]#contact .col.col2 { width: 450px; float: right; }
div[role=main]#contact dl { display: block; margin: 0; padding: 0; }
div[role=main]#contact dl dt { display: block; margin: 0 0 5px 0; padding: 0; }
div[role=main]#contact dl dd { display: block; margin: 0 0 10px 0; padding: 0; }
div[role=main]#contact dl dd input[type=text] { display: block; margin: 0; padding: 5px; border: 1px solid #999; width: 428px; }
div[role=main]#contact dl dd textarea { display: block; margin: 0; padding: 5px; border: 1px solid #999; width: 428px; height: 100px; }
div[role=main]#contact dl dd#recaptcha-element { margin: 0 0 0 -3px; }
div[role=main]#contact dl dd .errors { display: block; margin: 0 0 0 20px; padding: 10px 0 0 0; color: #900; }
div[role=main]#contact .error { display: block; margin: 0 0 10px 0; padding: 10px; color: #b94a48; background-color: #f2dede; border-color: #eed3d7; }
div[role=main]#contact .success { display: block; margin: 0 0 10px 0; padding: 10px; color: #468847; background-color: #dff0d8; border-color: #d6e9c6; }
/* ==========================================================================
   Footer
   ========================================================================== */
footer#sub { display: block; margin: 0 0 20px 0; }
footer#sub img { display: block; margin: 0; width: 100%; height: 80px; }
/* ==========================================================================
   Footer
   ========================================================================== */
footer#main { display: block; position: relative; height: 100px; }
footer#main nav { display: block; margin: 0; padding: 0 0 10px 0; position: absolute; top: 0; left: 0; width: 100%; height: 15px; background: url(../img/background/footer.png) center bottom no-repeat; text-align: center; }
footer#main nav > ul { display: inline-block; margin: 0; padding: 0; list-style: none; }
footer#main nav > ul > li { display: block; margin: 0; padding: 0; float: left; position: relative; }
footer#main nav > ul > li > a { color: #9c8055; display: block; font-size: 10px; line-height: 10px; margin: 0 0 0 0; padding: 0 5px; text-decoration: none; }
footer#main #reference { display: block; margin: 0; position: absolute; right: 150px; text-align: center; top: 30px; }
footer#main #reference a { color: #9c8055; display: block; font-size: 11px; line-height: 11px; margin: 0 0 0 0; padding: 0 5px; text-decoration: none; }
footer#main #social { display: block; margin: 0; padding: 0 0 0 0; position: absolute; top: 45px; left: 0; width: 100%; text-align: center; }
footer#main #social > ul { display: inline-block; margin: 0; padding: 0; list-style: none; }
footer#main #social > ul > li { display: block; margin: 0; padding: 0; float: left; position: relative; }
footer#main #social > ul > li > a { color: #FFFFFF; display: block; font-size: 11px; line-height: 11px; margin: 0 0 0 0; padding: 0 3px; text-decoration: none; }
/* ==========================================================================
   Helper classes
   ========================================================================== */
/*
 * Image replacement
 */
.ir { background-color: transparent; border: 0; overflow: hidden;     /* IE 6/7 fallback */ *text-indent: -9999px;
}
.ir:before { content: ""; display: block; width: 0; height: 150%; }
/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden { display: none !important; visibility: hidden; }
/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */
.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: h5bp.com/p
 */
.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; }
/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after { content: " "; /* 1 */ display: table; /* 2 */ }
.clearfix:after { clear: both; }
/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix { *zoom: 1;
}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
/* Style adjustments for viewports that meet the condition */
}
 @media print, (-o-min-device-pixel-ratio: 5/4), (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
/* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
* { background: transparent !important; color: #000 !important; /* Black prints faster: h5bp.com/s */ box-shadow: none !important; text-shadow: none !important; }
a,
 a:visited { text-decoration: underline; }
a[href]:after { content: " (" attr(href) ")"; }
abbr[title]:after { content: " (" attr(title) ")"; }
/*
     * Don't show links for images, or javascript/internal links
     */

.ir a:after,
 a[href^="javascript:"]:after,
 a[href^="#"]:after { content: ""; }
pre,
 blockquote { border: 1px solid #999; page-break-inside: avoid; }
thead { display: table-header-group; /* h5bp.com/t */ }
tr,
 img { page-break-inside: avoid; }
img { max-width: 100% !important; }
 @page {
 margin: 0.5cm;
}
p,
 h2,
 h3 { orphans: 3; widows: 3; }
h2,
 h3 { page-break-after: avoid; }
}
