/*
 * 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;
    color:#fff;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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;
}

/* Remove all default link styles */

a, a:visited, a:active, a:visited {text-decoration:none; color:inherit; outline:none;}

/* Reset all list-style-types */

ul {list-style-type:none;}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

.container {width:900px;}
.center {margin:0 auto;}
.page_block {width:100%;}
.red_gradient, header div#image_container nav ul li > a, div#products_landing ul li, body, div#headline > div > a  {
   /* fallback/image non-cover color */
   background-color: #4d0b19; 

   /* Safari 4+, Chrome 1-9 */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d0b19), to(#9b243e), to(#4d0b19));

   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background-image: -webkit-linear-gradient(left, #4d0b19, #9b243e, #4d0b19); 

   /* Firefox 3.6+ */
   background-image: -moz-linear-gradient(left, #4d0b19, #9b243e, #4d0b19);
 
   /* IE 10+ */
   background-image: -ms-linear-gradient(left, #4d0b19, #9b243e, #4d0b19);

   /* Opera 11.10+ */
   background-image: -o-linear-gradient(left, #4d0b19, #9b243e, #4d0b19);
}

header div#image_container nav ul li > a:hover {
   /* fallback/image non-cover color */
   background-color: #4d4d4d; 

   /* fallback image */
   background-image: url(images/fallback-gradient.png); 

   /* Safari 4+, Chrome 1-9 */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d4d4d), to(#a0a0a0), to(#4d4d4d));

   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background-image: -webkit-linear-gradient(left, #4d4d4d, #a0a0a0, #4d4d4d); 

   /* Firefox 3.6+ */
   background-image: -moz-linear-gradient(left, #4d4d4d, #a0a0a0, #4d4d4d);
 
   /* IE 10+ */
   background-image: -ms-linear-gradient(left, #4d4d4d, #a0a0a0, #4d4d4d);

   /* Opera 11.10+ */
   background-image: -o-linear-gradient(left, #4d4d4d, #a0a0a0, #4d4d4d);
}

.header_gradient {
   /* fallback/image non-cover color */
   background-color: #4d0b19; 

   /* fallback image */
   background-image: url('../img/header_gradient.jpg'); 

   /* Safari 4+, Chrome 1-9 */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#4d0b19), to(#9b243e), to(#4d0b19));

   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background-image: -webkit-linear-gradient(left, #2b080f, #4e1320, #2b080f); 

   /* Firefox 3.6+ */
   background-image: -moz-linear-gradient(left, #2b080f, #4e1320, #2b080f);
 
   /* IE 10+ */
   background-image: -ms-linear-gradient(left, #2b080f, #4e1320, #2b080f);

   /* Opera 11.10+ */
   background-image: -o-linear-gradient(left, #2b080f, #4e1320, #2b080f);
}


body {font-family:'Ruda', Sans-serif; height:100% !important;}

/* Header */

header {background-color:#000; border-bottom:3px solid #fff; display:block; width:100%; min-width:900px;} 
        #image_container_fade {height:398px; width:900px; overflow:hidden; width:900px; height:398px; display:block; background:url('../img/snowmobile.jpg') #000;}
        #image_container {width:900px; overflow:hidden; position:relative; width:900px; height:398px; background-color:#000;}
            #image_container div {position:absolute;}
            #image_container div#logo {background:url('../img/logo.png') 0 0; z-index:80; width:250px; height:92px; margin-top:20px; margin-left:20px;}
            #image_container > nav {width:166px; padding-top:125px; padding-bottom:30px; position:absolute; z-index:79; display:inline-block; background:url('../img/nav_transparent_bg.png') 0 0 repeat !important; font-family: 'Ruda', sans-serif; font-weight:100;}
            #image_container nav, #image_container div#headline h1 {text-transform:uppercase;}
            #image_container ul {display:block; padding:0;}
            #image_container li, #image_container a {color:#fff;}
            #image_container nav ul li {display:inline-block; width:100%; position:relative;}
            #image_container nav ul li a {margin:3px 0; padding:2px 15px; font-size:1em; display:block;}
            #image_container div#headline {top:0 left:0; display:inline-block; width:100%; background:url('../img/header_transparent_bg.png'); position:absolute; margin-top:290px; padding-left:30px; line-height:20px; font-size:.8em;}
            #image_container div.index {margin-left:530px; }
            #image_container div.index p {width:85%;}
            #image_container div.index h2 {font-size:1.5em;}
            #image_container div#headline > div > a {padding:5px 15px; font-size:1.3em;}
            #image_container div#headline > div > p {height:85px;}
            #image_container div#headline > div > h2 {height:auto; margin:0; padding:0;}
            #image_container div#headline > div {background:url('../img/header_transparent_bg.png'); width:330px; height:165px; padding:10px; margin-top:-75px;}
            #image_container div#headline h1 {color:#fff; font-weight:400; margin-left: 180px; letter-spacing:.025em; font-family:'Ruda', Sans-serif;}
            .contact {color:#009bff !important; font-weight:900;}

        #corner_nav_container {width:250px; display:block; position:absolute; right:0; top:15px;}
          #corner_nav {margin:0;}
          #corner_nav li {font-size:0.7em; text-transform:uppercase; display:inline-block; width:70px;}
          #corner_nav li:nth-child(2) {padding-right:10px;}
          #corner_nav li img {padding-right:3px;}
          #search_bar input {float:left;}
          #search_box {width:120px; border:3px #858585 solid; padding:5px; color:#757575; font-size:0.7em; text-transform:uppercase; margin-top:10px;}
          #search_button {margin-top:9px; margin-left:3px;}


/* Flyout Nav */

            #image_container ul li div {display:none; position: absolute; top:-90px; left: 158px; background: url(../img/slider.png) no-repeat; width:750px; height:350px; z-index:3333;}
            #image_container ul li div nav {width:650px; height:350px; position:relative; top:20px; left:45px; font-weight:900;}
            #image_container ul li div nav a {color:#4a0a18; font-size:0.8em; display:inline-block; cursor:pointer; margin-right:0; border-bottom:#4a0a18 1px solid; width:240px; margin-right:10px;}
            #image_container nav ul li:hover div {display:block;}

/* Homepage */

div#main_content {}
div#main_content_container {margin-top:3px; height:100%;}
div#main_content_container *, div#main_content_headlines div {margin:0;}
    div#main_content ul#breadcrumb_nav {padding-top:10px;}
    div#main_content ul#breadcrumb_nav li {float:left; font-size:0.8em; color:#fff;}
    div#main_content ul#breadcrumb_nav li a {text-decoration:underline;}
    div#main_content_container div#page_title {text-transform:uppercase; clear:both;}
    div#main_content_container div#page_title h1 {padding:10px 20px; font-family:'Ruda', Sans-serif; font-weight:900; font-size:1.49em; color:#fff;}
div#main_content_headlines {margin-top:3px; padding:25px 0 10px 0;}
div#main_content_headlines div {width:287px; color:#fff; display:inline-block; position:relative; background-color:#2b080f; margin-right:15px;}
div#main_content_headlines div:last-child {margin-right:0;}
  div#main_content_headlines div#quality div {background:url('../img/quality.png') right top no-repeat; position:absolute; top:0; right:-15px; height:100%; width:130px;}
  div#main_content_headlines div#coversinaction div {background:url('../img/coversinaction.png') right top no-repeat; position:absolute; top:0; right:-15px; height:100%; width:130px;}
  div#main_content_headlines div#sponsorships div {background:url('../img/sponsorships.png') right top no-repeat; padding-right:0; position:absolute; top:0; right:-15px; width:130px; height:100%;}
    div#main_content_headlines div h1, div#main_content_headlines a {text-transform:uppercase; line-height:17px;}
    div#main_content_headlines div h1 {padding-left:12px; padding-top:7px; line-height:10px; font-weight:900; font-size:1em; display:block; width:100%;}
    div#main_content_headlines div a {color:#fff; padding:7px 0; text-indent:12px; font-weight:100; width:100%; font-size:.8em; display:block; background-image:url(../img/homepage_gradient.jpg);}
    div#main_content_headlines div p {padding-left:12px; width:140px; font-size:.8em; display:block;}
div#welcome {width:575px; color:#fff; padding-bottom:100px; float:left;}
  div#welcome h2 {font-size: 1.4em; font-weight:400; padding-bottom:15px;}
  div#welcome p {font-size:0.8em;}
div#news_events {width:287px; background-color:#2b0810; float:right; color:#fff;}
  div#news_events ul {padding:0 20px;}
  div#news_events li h1 {font-size:1em; padding-top:8px; line-height:10px; font-weight:900;  display:block; text-transform:uppercase; padding-bottom:6px;}
  div#news_events li h2 {font-size:0.8em; font-weight:normal; font-weight:600;}
  div#news_events li p {font-size:0.9em; color:#d4395b;}
    div#news_events li span {font-size:0.6em; text-decoration:underline; text-transform:uppercase; color:#9d2943;}
    div.news-event span {font-size:0.6em; text-decoration:underline; text-transform:uppercase; color:#9d2943;}
    div.news-event small {padding:10px 0; margin:10px 0 !important; font-size:0.75em;}
    div.news-event h4 {font-weight:900; padding-bottom:20px;}
    div.description {font-size:0.8em; padding-bottom:20px;}
    div.full-description {font-size:0.8em; padding-bottom:20px;}
    div#news_events li span:hover {color:#d73e5f;}

/* Products Landing */

div#products_landing {width:100%; color:#fff; display:inline-block; padding-top:20px; text-transform:uppercase;}
div#products_landing ul {background-color:#4d0b19; width:300px; height:300px; float:left; padding:0 0 75px 0; display:block;}
  div#products_landing ul li:first-child {background:#4d0b19; padding-top:0; margin-top:0;}
  div#products_landing ul li {margin:4px 0; padding:7px 0; text-indent:16px; font-weight:100; font-size:0.8em;}
  div#products_landing ul li h1 {background-color:#2c0810; font-size:1.6em; font-weight:900; margin-top:0; padding:10px 0;}

/* Product Tabs */

ul#tabs {display:block; width:100%; padding-left:0; color:#fff;}
ul#tabs li {float:left; font-size:0.7em; text-transform:uppercase; padding:6px 1.87%; border-right:1px solid #fff;}
ul#tabs li:last-child {border-right:none;}
ul#tabs li.active, ul#tabs li:hover {

  background-color: #4d0b19; 

   /* fallback image */
   background-image: url(img/header_gradient.jpg); 

   /* Safari 4+, Chrome 1-9 */
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#752b3b), to(#646262));

   /* Safari 5.1+, Mobile Safari, Chrome 10+ */
   background-image: -webkit-linear-gradient(top, #752b3b, #646262); 

   /* Firefox 3.6+ */
   background-image: -moz-linear-gradient(top, #752b3b, #646262);
 
   /* IE 10+ */
   background-image: -ms-linear-gradient(top, #752b3b, #646262);

   /* Opera 11.10+ */
   background-image: -o-linear-gradient(top, #752b3b, #646262);

   cursor:pointer;
 } 

/* Product Container */

div#product_container {display:inline-block; padding:20px 0;}

/* Product Description */

div#product_description ul#paragraphs li {list-style-type:none; line-height:18px; margin-bottom:20px;}
div#product_description ul h1 {font-size:0.95em; font-weight:900; text-transform:uppercase; padding:5px 0;}
div#product_description {width:600px; float:left; color:#fff;}
div#product_description ul {list-style-type:disc; margin-bottom:20px;}
div#product_description ul:first-child {padding-left:20px; padding-top:5px;}
div#product_description ul li p {display:block; padding:0; width:98%;}
div#product_description ul li {font-size:0.8em; line-height:30px;}

/* Product Features */

ul#features li {margin-left:10px;}

/* Product Images */

aside {float:left; width:300px;}
aside ul {padding-right:20px;}
ul#product_images {width:100%; float:left; padding-left:25px;}
ul#product_images li {float:left; padding:4px;}
ul.sponsorships li.sixth {width:100%;}
ul.sponsorships li.sixth img {display:block; padding-top:80px; padding-left:60px;}
ul.sponsorships li.sixth img[src^="img/masters.png"] {padding-left:65px;}

/* About us - Facilities */

.lipadding {padding-bottom:60px;}

/* Technical Info */

ul.technical_info img {padding-right:10px;}

/* Care and Use - Instruction Manuals Form */

aside form {margin-left:15px; color:#fff; background-color:#4a3338; width:92.5%; padding:10px 0 0 10px}
aside form h1, .form {font-size:1em; font-weight:900; text-transform:uppercase;}
aside form h1 {padding-bottom:20px;}
aside form fieldset dt {margin-right:15px;}
aside form fieldset dl {padding-bottom:20px;}
aside form fieldset dt label {padding-right:20px;}

/* Facilities tab */

ul#features li.second {padding-bottom:95px;}
.products ul#features li.second {padding-bottom:0px;}

ul#product_images.sponsorships li.second img:first-child {margin-top:20px;}
ul#product_images.sponsorships li.third img:first-child {margin-top:40px; padding-bottom:40px;}

/* Brands */ 

div#main_content_container div.brands_container {padding:10px 10px 20px 10px; float:left; display:block; width:155px;}
div#main_content_container div.brands_container a {color:#fff; text-transform:uppercase;  font-size:0.8em; font-weight:400; padding:5px 7px; margin-left:35px; margin-top:6px; float:left;}
div#main_content_container div.brands {background-color:#646464; height:100px; width:100%; border:#fff solid 1px; box-shadow: 0 3px 5px 1px #000; margin-bottom:8px;}
div#main_content_container div.brands img {margin:0 auto; display:block; vertical-align:middle;}
div.customers {margin:0 auto;}
p#customers_text {font-size:0.8em; padding:0 20px 20px;}
div#customers {padding-left:10px; width:890px; overflow:hidden;}
p.our_products {width:auto; height:auto; max-width:326px; padding-right:15px; clear:left; display:block; padding-left:15px; padding-top:20px; float:left;}

/* Sponsorships */

/* Innovations */

ul#features li.third a.red_gradient, ul#paragraphs li.third p a.red_gradient {width:200px; display:block !important; text-align:center; text-transform:uppercase; margin:20px 0;}
ul#paragraphs li.third p a.red_gradient {padding:6px 0;}
ul#features li.third strong {font-size:1.2em; font-weight:900; text-transform:uppercase;}

/* Contact */

#contact p {padding:20px 40px; font-size:1em;}
#contact > ul {font-weight:700; font-size:1.25em; text-decoration:underline; line-height:40px;}
#contact p a {color:#0096ff; font-weight:400; text-decoration:underline;}

/* Footer */

footer {float:left; margin:10px 0 0 0; padding:20px 0; width:900px;}
  footer ul {float:left; margin:0;}
  footer ul#site_map {width:200px; padding-left:20px; padding-bottom:20px; height:60px; color:#fff;}
  footer ul#site_map li {float:left; width:100px; display:inline-block; font-size:0.75em;}
  footer ul#brands {width:600px;}
  footer ul#address {margin-right:20px; width:600px; padding-bottom:0; padding-top:20px;}
  footer ul#brands {float:right;}
  footer ul#brands li {width:100px; float:left; padding-right:20px;}
  footer ul#address li {width:600px; float:right; text-align:right; font-size:0.75em; color:#fff;}


/*
 * 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.
   These 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;
    }
}
#news_events span {
  display:block;
}
.news-event span {
  display:block;
}
.news-event {
  padding-bottom:15px;
  padding-top:15px;
  width:840px;
}
.news-event small {
  display:block;
}
.news-event .full-description p {
  padding-bottom:10px;/*TODO: why isn't this working?*/;
}

/* Search Page */

ul#search_result {width:770px; margin-left:25px; padding:20px;}
ul#search_result li {list-style-type:none; color:#d4395b; background-color:#2b080f; width:100%; padding:20px;}
ul#search_result li a, ul#search_result li small { padding:5px 0px; display:inline-block;}
ul#search_result li a {color:#fff;}
ul#search_result small {float:right;} 