/*
 * 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.
 */


/* =============================================================================
   HTML5 element display
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio[controls], canvas, video { display: inline-block; *display: inline; *zoom: 1; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 *    http://clagnut.com/blog/348/#c790
 * 2. Force vertical scrollbar in non-IE
 * 3. Remove Android and iOS tap highlight color to prevent entire container being highlighted
 *    www.yuiblog.com/blog/2010/10/01/quick-tip-customizing-the-mobile-safari-tap-highlight-color/
 * 4. Prevent iOS text size adjust on device orientation change, without disabling user zoom
 *    www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
 */

html { font-size: 100%; overflow-y: scroll; -webkit-overflow-scrolling: touch; -webkit-tap-highlight-color: rgba(0,0,0,0); -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

body { margin: 0; font-size: 13px; line-height: 1.231; }

body, button, input, select, textarea { font-family: sans-serif; color: #222; }

/* 
 * These selection declarations have to be separate
 * No text-shadow: twitter.com/miketaylr/status/12228805301
 * Also: hot pink!
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #00e; }
a:visited { color: #551a8b; }
a:focus { outline: thin dotted; }

/* Improve readability when focused and hovered in all browsers: people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

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

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

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

/* Redeclare monospace font family: en.wikipedia.org/wiki/User:Davidgothberg/Test59 */
pre, code, kbd, samp { font-family: monospace, monospace; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

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

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: gist.github.com/413930 */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * Improve image quality when scaled in IE7
 * code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
 */

img { border: 0; -ms-interpolation-mode: bicubic; }

/*
 * Correct overflow displayed oddly in IE9 
 */

svg:not(:root) {
    overflow: hidden;
}


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


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

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* 
 * 1. Correct color not inheriting in IE6/7/8/9 
 * 2. Correct alignment displayed oddly in IE6/7 
 */

legend { border: 0; *margin-left: -7px; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 * 2. Correct inner spacing displayed oddly in IE6/7
 */

button, input { line-height: normal; *overflow: visible; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; }
input[type="search"] { -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }

/* 
 * Remove inner padding and border in FF3/4
 * www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ 
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/* Remove default vertical scrollbar in IE6/7/8/9 */
textarea { overflow: auto; vertical-align: top; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

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


/* =============================================================================
   Primary styles
   Author: Vitesse Web Design
   ========================================================================== */

/* ========================== GENERAL TYPOGRAPHY ============================ */
body {
    font-family: Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #CCCCCC;
}

h1, h2, h3, h4, h5, h6 {
    color: white;
    font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-shadow: #333333 4px 4px 10px;
}

a { color: #EEEEEE; text-decoration: none; border-bottom: 1px #999 dotted; }
    a:visited { color: #EEEEEE; }
    a:hover { color: #AAAAAA; }

div#logoTagLineContainer h1,
footer h1,
div#hcard-rubex div.org {
    text-transform: uppercase ;
    font-style: oblique;
}

header, footer {
    font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
    font-style: oblique;
    text-shadow: #000000 4px 4px 10px;    
}


header{ color: #EEEEEE; }
    div#contactDetailsContainer { font-size: 1.4em; text-align: right; }
        div#contactDetailsContainer span.vcardShortLabel { display: none; } /* TODO: Refactor into SCSS - .visuallyHidden */
        div#workTel-rubex,
        div#mobileTel-rubex { font-size: 1.7em; }

    
footer{ color: #888888; }    
    div.footerDetailContainer { font-size: 0.8em; }    
        div.footerDetailContainer a{ color: #AAAAAA; }     
            div.footerDetailContainer a:hover { color: #BBBBBB; }    
    

div#main {

}       
    div#main h2 {
        font-size: 2.0em;
        font-style: oblique;
        margin-bottom: 0.5em;
    }    
    
    div#main h2 span#mainHeadingIncorporatingText { font-size: 0.7em; clear: both; display: block;}
    
    div#main h3 {
        font-style: oblique;
    }            

    div#main p { 
        color: #CCCCCC; 
        text-align: justify;
        line-height: 1.5em;
    }
    
        
    div#main p.missionStatement {
        color: #86665D;
        font-style: oblique;
        font-weight: bold;
        font-size: 1.3em;
        text-align: justify;

        margin: 40px 12.5% 40px 12.5%;        
    }
    
    div#main p.missionStatementBelow {
        color: #86665D;
        font-style: oblique;
        font-weight: bold;
        font-size: 1.3em;
        text-align: justify;

        margin: 40px 12.5% 10px 12.5%;                
    }

    
    div#main p.missionStatement strong {
        color: #86665D;
    }
    
    div#showcasePhoto p.missionStatement,
    div#showcaseInner p.missionStatement{
        font-style: oblique;
        font-weight: bold;
        font-size: 1.3em;
        text-align: justify;
        line-height: 1.5em;
    }
    
    div#showcasePhoto p.missionStatement strong {color: #666666 !important;}
    div#showcaseInner p.missionStatement strong {color: #666666 !important;} 
            
    div#showcasePhoto p.missionStatement { color: #777777 !important; margin-top: 40px; }
    div#showcaseInner p.missionStatement { color: #666666 !important; margin-top: 80px; }
    
div#capabilities {

}    
    
    div#capabilities h2{

    }

    div#capabilities h3{
        text-align: center;
        font-size: 1.6em;
        font-style: oblique;
    }

    section.capabilitySection ul {
        font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
        font-style: oblique;        
        color: #dcc4c4;
        font-size: 1.1em;
        text-shadow: #000000 2px 2px 6px;    
    }
    
    
ul#testimonialList blockquote {
    font-family: 'Nothing You Could Do', cursive, Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial;
    font-size: 1.4em;
    font-weight: lighter;
    quotes: "\201C" "\201D";
}

    ul#testimonialList blockquote:before,
    ul#testimonialList blockquote:after{
        color: #62201E;
        font-family: Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial;
        font-weight: bold; font-size: 2.0em;
    }

    ul#testimonialList blockquote:before{ content: open-quote; }
        .ie7 ul#testimonialList blockquote:before{ content: "&ldquo;"; left: 10px;}

    ul#testimonialList blockquote:after{ content: close-quote; }
        .ie7 ul#testimonialList blockquote:after{ content: "&rdquo;"; }

    
    form#enquiryForm input,
    form#enquiryForm textarea{    
        color: #CCCCCC;
    }
    
    form#enquiryForm label {
        font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
        font-style: oblique;
        text-shadow: #555555 4px 4px 10px;        
    }
    form#enquiryForm input[type="text"], 
    form#enquiryForm textarea{    
        font-family: Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial;
        font-size: 0.9em;
        font-weight: lighter;
    }
    
    form#enquiryForm input[type="submit"] {
        
    }
    
    form#enquiryForm label.error { 
        font-family: Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
        color: #7E2220;
        font-style: oblique;
        font-size: 0.8em;
        text-align: center;
        text-shadow: none;
    }
    
    p#contactUsAjaxResponse {
        font-style: oblique;
        font-size: 0.8em;
    }

/* ============================= GENERAL LAYOUT ============================= */
body {
    background-color: #000000;
    background-image: url(../images/bg-diamond-plate-chrome-brushed-metal.jpg);
    background-repeat: repeat-x;
}

h1 { margin: 0; }
    
    
div#container{
    /* border:#999 dotted 1px; */
}

/* ============================= HEADER LAYOUT ============================== */

header {
    height: 155px;
    margin: 0px auto 60px auto;
    overflow: hidden;
}


    div#logoTagLineContainer{

    }

        div#logoTagLineContainer h1{
            height: 140px;
            width: 300px;
            padding: 0px 0px 0px 0px;
            margin: 15px 20px 0px 20px;
            background-image: url(../images/rubex-logo-optimised.png);
            background-repeat: no-repeat;
        }
            

    div#hcard-rubex {
        padding: 30px 0px 0px 0px;
        margin-right: 0px;
        margin-left: auto;
    }
        /* TODO: Refactor below to use SCSS.  CSS below is taken from HTML5BP .visuallyhidden */
        div#hcard-rubex div.org,
        div#hcard-rubex div.adr,
        div#hcard-rubex div#faxTel-rubex,
        div#mdMobileTel-rubex               {  border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px;  }    
    
            div#workTel-rubex span.value {background-image: url(../images/1319549939_contact_optimised.png);  background-repeat: no-repeat; padding-left: 32px; background-position: center left;}
            div#mobileTel-rubex  span.value {background-image: url(../images/1319549862_phone_optimised.png);   background-repeat: no-repeat; padding-left: 32px; background-position: center left;}
            div#emailAddress-rubex a {background-image: url(../images/1319549974_email_optimised.png);   background-repeat: no-repeat; padding-left: 32px; background-position: top left;}
                
    nav.navEmbedded {
        display: block; 
        font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
        font-style: oblique;        
        font-size: 0.8em;
        margin-bottom: 0px;
        opacity: 0.2;
    }
    
        nav.navEmbedded>ul { float: right; padding-right: 5px;}
    
            nav.navEmbedded>ul>li{display: inline; float: left; padding-left: 10px;}

/* ========================= NAV CONTAINER LAYOUT =========================== */

nav#navMain {
    margin-bottom: 2px;
    padding-top: 2px;
    padding-bottom: 2px;
    
    opacity: 0.5;    
    box-shadow: 10px -2px 8px #101010;
    
    background: #333333;  /* Old browsers */
    background: -moz-linear-gradient(top, #333333 0%, #666666 32%, #333333 100%);  /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(32%,#666666), color-stop(100%,#333333));  /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* IE10+ */
    /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* W3C */      
    behavior: url(js/PIE.php);
}

    .no-cssgradients nav#navMain{ background: repeat url(../images/footer-bg.png); }

    .touch nav#navMain{ opacity: 0.9; }

    .no-js nav#navMain:hover { opacity: 0.9; }
    
    nav#navMain>ul>li {
        display: inline;
        position: relative;
        float: left;
        text-align: center;
        width: 33%;
    }
    
        nav#navMain>ul>li>a{
            margin: 2px auto 2px auto;
            border-bottom: none;            
            font-family: 'Oswald', Verdana, "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;    
            font-size: 0.9em;
            font-weight: 200;
            text-shadow: 2px 2px 4px #333;   
            font-style: oblique;
            background: transparent;            
        }
        
.bottomBorderRadius {
            -webkit-border-bottom-left-radius: 8px;
            -webkit-border-bottom-right-radius: 8px;
            -moz-border-radius-bottomleft: 10px;
            -moz-border-radius-bottomright: 10px;
            border-bottom-left-radius: 8px;
            border-bottom-right-radius: 8px;
}        
        
.gradientBG {
            background: #333333;  /* Old browsers */
            background: -moz-linear-gradient(top, #333333 0%, #666666 32%, #333333 100%);  /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(32%,#666666), color-stop(100%,#333333));  /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%); /* Opera11.10+ */
            background: -ms-linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* IE10+ */
            /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
            background: linear-gradient(top, #333333 0%,#666666 32%,#333333 100%);  /* W3C */   
            behavior: url(pie/PIE.php);
}        


div#showcase{
    height: 300px; width: 960px;
    margin: 2px auto 2px auto;
    opacity: 1.0;
    box-shadow: 10px -2px 8px #101010;
            background: #333333;  /* Old browsers */
            background: -moz-linear-gradient(top, #333333 0%, #888888 32%, #333333 100%);  /* FF3.6+ */
            background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#333333), color-stop(32%,#888888), color-stop(100%,#333333));  /* Chrome,Safari4+ */
            background: -webkit-linear-gradient(top, #333333 0%,#888888 32%,#333333 100%);  /* Chrome10+,Safari5.1+ */
            background: -o-linear-gradient(top, #333333 0%,#888888 32%,#333333 100%); /* Opera11.10+ */
            background: -ms-linear-gradient(top, #333333 0%,#888888 32%,#333333 100%);  /* IE10+ */
            /* filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#333333', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
            background: linear-gradient(top, #333333 0%,#888888 32%,#333333 100%);  /* W3C */ 
            behavior: url(pie/PIE.php);
}

/* ========================= MAIN CONTAINER LAYOUT ========================== */    
div#main{
    min-height: 500px;
    margin-bottom: 0px;
    overflow: hidden;
    clear:both;
    background-color: #0d0603;
    
    box-shadow: 10px -2px 8px #101010;

    /* http://www.colorzilla.com/gradient-editor/ */
    background-image: -moz-linear-gradient(top, #3b1f18 0%, #0d0603 100%); /* FF3.6+ */
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#3b1f18), color-stop(100%,#0d0603)); /* Chrome,Safari4+ */
    background-image: -webkit-linear-gradient(top, #3b1f18 0%,#0d0603 100%); /* Chrome10+,Safari5.1+ */
    background-image: -o-linear-gradient(top, #3b1f18 0%,#0d0603 100%); /* Opera11.10+ */
    background-image: -ms-linear-gradient(top, #3b1f18 0%,#0d0603 100%); /* IE10+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3b1f18', endColorstr='#0d0603',GradientType=0 ); /* IE6-9 */
    background-image: linear-gradient(top, #3b1f18 0%,#0d0603 100%); /* W3C */    
    behavior: url(pie/PIE.php);

}    

.no-cssgradients div#main {  
    background-color: #0d0603;
    background-image: url(../images/content-bg.jpg);
    background-repeat: repeat-x; 
}

div.sectionContainer {
    position: relative;
    margin-bottom: 20px;
    padding-bottom: 50px;
    background: url(../images/inset-border11.png) bottom center no-repeat;
}

div.sectionContainer.bottom {
       background: transparent;
}

div#intro {
    padding-top: 10px;
}

    img#truckPhoto {
        float: left;
        margin-right: 20px;
        margin-bottom: 20px;
        box-shadow: 6px 6px 5px #111111;
    }

div#capabilities {
    margin-top: 20px;
}

        div.capabilityBadge {
            height: 200px;
            width: 200px;
            margin: 0px auto 0px auto;
            background-image: url(../images/promo-box.png);
            background-position: center;
        }

            div#capabilities>h2{
                /*display: none; visibility: hidden;*/ /* TODO: Refactor this & .hidden as SCSS */
            }
        
            div#capabilities h3{
                padding-top: 25px;
                margin: 10px auto 10px auto;
            }
            .ie7 div#capabilities h3{
                padding-top: 10px;
                margin: 10px auto 15px auto;
            }
        
        
            div.capabilityBadge img{ 
                display: block;
                margin: 10px auto 10px auto;
            }
        
        section.capabilitySection ul{
            width: 180px;                   /* inherited padding: 0 0 0 40px; from ul/ol reset */
            margin: 20px auto 10px auto;
            padding-right: 20px;
            list-style: outside disc;
        }
        
            section.capabilitySection ul li{
                margin: 8px auto 0px auto;
            }        
        
div#testimonials{

}   

    ul#testimonialList{
        margin-top: 40px;
        list-style: none outside;
    }   
    
        ul#testimonialList blockquote {
            margin: 5px;
            padding: 8px 20px 30px 20px;
            background-color: #2C1711;
            border: 1px dotted #4F1A16;
 
            -webkit-border-radius: 5px;
            -moz-border-radius: 5px;
            border-radius: 5px;            
        }
            ul#testimonialList blockquote:before{ float: left; }
            ul#testimonialList blockquote:after{ float: right; }
            ul#testimonialList blockquote span {
                    display: block;
                    padding: 30px 40px 0px 40px;
            }    
    
            
div#contactUsVCardContainer {
    margin-bottom: 40px;
}            
            
            
form#enquiryForm {clear:both;}            
    form#enquiryForm label { margin-bottom: 5px; } 
    form#enquiryForm input, 
    form#enquiryForm textarea{
        clear:right; 
        display: block;
        width: 85%;
        padding: 10px;
        margin: 5px auto 15px auto;
        
        background-color: #2C1711;
        border: 1px dotted #4F1A16;

        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;          
    }
    
    form#enquiryForm input[type="submit"] { 
        width: 50%;    
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;    
        border: 1px solid #3d0703;

        background: #2c1711; /* Old browsers */
        background: -moz-linear-gradient(top, #2c1711 0%, #3f1f0c 50%, #2c1711 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c1711), color-stop(50%,#3f1f0c), color-stop(100%,#2c1711)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #2c1711 0%,#3f1f0c 50%,#2c1711 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #2c1711 0%,#3f1f0c 50%,#2c1711 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #2c1711 0%,#3f1f0c 50%,#2c1711 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c1711', endColorstr='#2c1711',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #2c1711 0%,#3f1f0c 50%,#2c1711 100%); /* W3C */
        behavior: url(pie/PIE.php);
    } 
    
    .buttonGradient{
        background: #2c1711; /* Old browsers */ 
        background: -moz-linear-gradient(top, #2c1711 0%, #62201e 50%, #62201e 51%, #2c1711 100%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2c1711), color-stop(50%,#62201e), color-stop(51%,#62201e), color-stop(100%,#2c1711)); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, #2c1711 0%,#62201e 50%,#62201e 51%,#2c1711 100%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, #2c1711 0%,#62201e 50%,#62201e 51%,#2c1711 100%); /* Opera11.10+ */
        background: -ms-linear-gradient(top, #2c1711 0%,#62201e 50%,#62201e 51%,#2c1711 100%); /* IE10+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2c1711', endColorstr='#2c1711',GradientType=0 ); /* IE6-9 */
        background: linear-gradient(top, #2c1711 0%,#62201e 50%,#62201e 51%,#2c1711 100%); /* W3C */
        behavior: url(pie/PIE.php);
    }    
    
    form#enquiryForm label.error { display: block;}
    
    
/* ============================= FOOTER LAYOUT ============================== */

footer {
    margin-top: 0; margin-bottom: 100px;
    min-height: 30px;
    box-shadow: 10px 8px 8px #171717;
    overflow: hidden;
    
    /* http://border-radius.com/ */
    -webkit-border-bottom-right-radius: 10px;
    -webkit-border-bottom-left-radius: 10px;
    -moz-border-radius-bottomright: 10px;
    -moz-border-radius-bottomleft: 10px;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;    
        
    /* http://www.colorzilla.com/gradient-editor/ */
    background: #1e1e1e; /* Old browsers */
    background: -moz-linear-gradient(top, #1e1e1e 0%, #666666 32%, #333333 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#1e1e1e), color-stop(32%,#666666), color-stop(100%,#333333)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #1e1e1e 0%,#666666 32%,#333333 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #1e1e1e 0%,#666666 32%,#333333 100%); /* Opera11.10+ */
    background: -ms-linear-gradient(top, #1e1e1e 0%,#666666 32%,#333333 100%); /* IE10+ */
    /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#1e1e1e', endColorstr='#333333',GradientType=0 ); /* IE6-9 */
    background: linear-gradient(top, #1e1e1e 0%,#666666 32%,#333333 100%); /* W3C */
    behavior: url(pie/PIE.php);
}    

    .no-cssgradients footer {
        background: repeat url(../images/footer-bg.png);
    }

    footer h1, 
    div.footerDetailContainer h2 {
         display: none; visibility: hidden; /* TODO: Refactor this & .hidden as SCSS */
    }
    
    div.footerDetailContainer {
        display: inline;
        float: left;
        height: 1em;
    }
    
        div.footerDetailContainer p {
            margin: 0px 0px 0px 0px;
            padding: 7px 10px 3px 10px;
            height: 20px;
        }
        
        div#footerWebDesigner p{ text-align: right; }
        





/* =============================================================================
   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; }
.ir br { display: none; }

/* 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; }

/* Contain floats: nicolasgallagher.com/micro-clearfix-hack/ */ 
.clearfix:before, .clearfix:after { content: ""; display: table; }
.clearfix:after { clear: both; }
.clearfix { zoom: 1; }



/* =============================================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */

/*@media only screen and (min-width: 480px) {*/
  /* Style adjustments for viewports 480px and over go here */

/*}*/

/*@media only screen and (min-width: 768px) {
  /* Style adjustments for viewports 768px and over go here */

/*}*/

    /* 
     * #Tablet (Portrait) - Design for a width of 768px
     */	
	@media only screen and (min-width: 768px) and (max-width: 959px) {               
        /* Code below generated by http://grids.heroku.com/*/
        body                                        { min-width: 768px; }
		.container_12                               { width: 768px;     }
        
        .container_12 .grid_1                       { width: 44px; }
        .container_12 .grid_2                       { width:108px; }
        .container_12 .grid_3                       { width:172px; }
        .container_12 .grid_4                       { width:236px; }
        .container_12 .grid_5                       { width:300px; }
        .container_12 .grid_6                       { width:364px; }
        .container_12 .grid_7                       { width:428px; }
        .container_12 .grid_8                       { width:492px; }
        .container_12 .grid_9                       { width:556px; }
        .container_12 .grid_10                      { width:620px; }
        .container_12 .grid_11                      { width:684px; }
        .container_12 .grid_12                      { width:748px; }

        /* Prefix Extra Space >> 12 Columns */
        .container_12 .prefix_1                     { padding-left:64px; }
        .container_12 .prefix_2                     { padding-left:128px; }
        .container_12 .prefix_3                     { padding-left:192px; }
        .container_12 .prefix_4                     { padding-left:256px; }
        .container_12 .prefix_5                     { padding-left:320px; }
        .container_12 .prefix_6                     { padding-left:384px; }
        .container_12 .prefix_7                     { padding-left:448px; }
        .container_12 .prefix_8                     { padding-left:512px; }
        .container_12 .prefix_9                     { padding-left:576px; }
        .container_12 .prefix_10                    { padding-left:640px; }
        .container_12 .prefix_11                    { padding-left:704px; }

        /* Suffix Extra Space >> 12 Columns */
        .container_12 .suffix_1                     { padding-right:64px; }
        .container_12 .suffix_2                     { padding-right:128px; }
        .container_12 .suffix_3                     { padding-right:192px; }
        .container_12 .suffix_4                     { padding-right:256px; }
        .container_12 .suffix_5                     { padding-right:320px; }
        .container_12 .suffix_6                     { padding-right:384px; }
        .container_12 .suffix_7                     { padding-right:448px; }
        .container_12 .suffix_8                     { padding-right:512px; }
        .container_12 .suffix_9                     { padding-right:576px; }
        .container_12 .suffix_10                    { padding-right:640px; }
        .container_12 .suffix_11                    { padding-right:704px; }


        /* Push Space >> 12 Columns */
        .container_12 .push_1                       { left:64px; }
        .container_12 .push_2                       { left:128px; }
        .container_12 .push_3                       { left:192px; }
        .container_12 .push_4                       { left:256px; }
        .container_12 .push_5                       { left:320px; }
        .container_12 .push_6                       { left:384px; }
        .container_12 .push_7                       { left:448px; }
        .container_12 .push_8                       { left:512px; }
        .container_12 .push_9                       { left:576px; }
        .container_12 .push_10                      { left:640px; }
        .container_12 .push_11                      { left:704px; }

        /* Pull Space >> 12 Columns */
        .container_12 .pull_1                       { left:-64px; }
        .container_12 .pull_2                       { left:-128px; }
        .container_12 .pull_3                       { left:-192px; }
        .container_12 .pull_4                       { left:-256px; }
        .container_12 .pull_5                       { left:-320px; }
        .container_12 .pull_6                       { left:-384px; }
        .container_12 .pull_7                       { left:-448px; }
        .container_12 .pull_8                       { left:-512px; }
        .container_12 .pull_9                       { left:-576px; }
        .container_12 .pull_10                      { left:-640px; }
        .container_12 .pull_11                      { left:-704px; }
        
        
        /* Responsive layout adjustments */
        .no-cssgradients footer                     { background: repeat url(../images/footer-bg-768w.png); }
        div#hcard-rubex                             { padding-top: 35px; }
        
        /* General Typography */
        div#contactDetailsContainer                 { font-size: 1.2em; }
        div#main p.missionStatement                 { font-size: 1.1em; }
        
        section.capabilitySection ul                { font-size: 1.0em; }         
        div#disclaimerDialog                        { font-size: 0.9em; }
        
	}
    
    


   /* 
     * #Mobile (Landscape) - Design for a width of 480px 
     */
    /*@media only screen and (min-width: 480px) and (max-width: 767px) { */
    @media only screen and (max-width: 767px) { 
        body                                        { min-width: 240px; }
		.container_12                               { width: 100%;     }   
        
        .container_12 .grid_1,
        .container_12 .grid_2,
        .container_12 .grid_3,
        .container_12 .grid_4,
        .container_12 .grid_5,
        .container_12 .grid_6,
        .container_12 .grid_7,
        .container_12 .grid_8,
        .container_12 .grid_9,
        .container_12 .grid_10,
        .container_12 .grid_11,
        .container_12 .grid_12                      { width: 90%; margin-left: 5%; margin-right: 5%;}

        /* Prefix Extra Space >> 12 Columns */
        .container_12 .prefix_1,
        .container_12 .prefix_2,
        .container_12 .prefix_3,
        .container_12 .prefix_4,
        .container_12 .prefix_5,
        .container_12 .prefix_6,
        .container_12 .prefix_7,
        .container_12 .prefix_8,
        .container_12 .prefix_9,
        .container_12 .prefix_10,
        .container_12 .prefix_11                    { padding-left: 0px; }

        /* Suffix Extra Space >> 12 Columns */
        .container_12 .suffix_1,
        .container_12 .suffix_2,
        .container_12 .suffix_3,
        .container_12 .suffix_4,
        .container_12 .suffix_5,
        .container_12 .suffix_6,
        .container_12 .suffix_7,
        .container_12 .suffix_8,
        .container_12 .suffix_9,
        .container_12 .suffix_10,
        .container_12 .suffix_11                    { padding-right: 0px; }


        /* Push Space >> 12 Columns */
        .container_12 .push_1,
        .container_12 .push_2,
        .container_12 .push_3,
        .container_12 .push_4,
        .container_12 .push_5,
        .container_12 .push_6,
        .container_12 .push_7,
        .container_12 .push_8,
        .container_12 .push_9,
        .container_12 .push_10,
        .container_12 .push_11                      { left: 0px; }

        /* Pull Space >> 12 Columns */
        .container_12 .pull_1,
        .container_12 .pull_2,
        .container_12 .pull_3,
        .container_12 .pull_4,
        .container_12 .pull_5,
        .container_12 .pull_6,
        .container_12 .pull_7,
        .container_12 .pull_8,
        .container_12 .pull_9,
        .container_12 .pull_10,
        .container_12 .pull_11                      { left: 0px; }        
        
        
        /* Responsive layout adjustments */
        div#logoTagLineContainer                    { width: 60%; margin-left: 2%; margin-right: 2%;}
        div#contactDetailsContainer                 { width: 32%; margin-left: 2%; margin-right: 2%; float: right;}
        div#hcard-rubex                             { padding-top: 40px; }
        div#workTel-rubex span.value,
        div#mdMobileTel-rubex  span.value,
        div#mobileTel-rubex  span.value,
        div#emailAddress-rubex a                    {background-image: none; padding-left: 0px; }

        div.sectionContainer                        { width: 100%}
        nav.navEmbedded > ul                        { margin-right: 5%; }  
        .capabilityWrapper                          { width: 46% !important; margin-left: 2% !important; margin-right: 2% !important;}
        section.capabilitySection                   { margin-bottom: 40px }
            section.capabilitySection ul                { width: 80%; }   
            
        ul#testimonialList blockquote               { padding: 0px 10px 20px 10px; }
            ul#testimonialList blockquote span      { padding: 25px 20px 0px 20px; }

        form#enquiryForm input[type="text"], 
        form#enquiryForm textarea                   { padding: 5px; }
        form#enquiryForm input[type="submit"]       { width: 150px;  } 
        
        
        .no-cssgradients footer                     { background: repeat url(../images/footer-bg-60h.png); background-position: bottom center;}
        div.footerDetailContainer                   { height: auto; line-height: 1em; }
            div.footerDetailContainer p             { height: auto; padding: 5px 5px 5px 5px;}   
        div#footerContactDetails                    { width: 38%; margin-left: 1%; margin-right: 1%; }
        div#footerCopyrightDetails                  { width: 30%; margin-left: 1%; margin-right: 1%; }
        div#footerDisclaimerDetails                 { width: 12%; margin-left: 1%; margin-right: 1%; }
        div#footerWebDesigner                       { width: 12%; margin-left: 1%; margin-right: 1%; }
        
            
        /* General Typography */
        div#main h2                                 { font-size: 1.6em; }
        div#contactDetailsContainer                 { font-size: 1.0em; }
            div#workTel-rubex,
            div#mdMobileTel-rubex,
            div#mobileTel-rubex                     { font-size: 1.4em; }        
        div#main p                                  { font-size: 0.9em; }
        div#main p.missionStatement                 { font-size: 1.0em; }        
        section.capabilitySection ul                { font-size: 1.0em; }  
        div#capabilities h3                         { font-size: 1.4em; }
        ul#testimonialList blockquote               { font-size: 1.2em; }
        div#contactUsVCardContainer                 { font-size: 0.9em; }
        form#enquiryForm input[type="text"], 
        form#enquiryForm textarea                   { font-size: 0.8em; }
        form#enquiryForm input[type="submit"]       { font-size: 0.9em; }
        div.footerDetailContainer                   { font-size: 0.7em; text-align: center; }
        div#disclaimerDialog                        { font-size: 0.8em; }
    }

    @media only screen and (max-width: 479px) {
        /* Responsive layout adjustments */
        

        div#logoTagLineContainer                    { display: block; float: none; width: 220px; height: 94px; margin: 0px auto 0px auto;}
        
            div#logoTagLineContainer h1 {
                height: 94px;
                width: 200px;
                padding: 0px 0px 0px 0px;
                margin: 10px 10px 0px 10px;
                background-image: url(../images/rubex-logo-small-optimised.png);
                background-repeat: no-repeat;
            }        
            
        div#contactDetailsContainer                 { width: 90%; margin-left: 5%; margin-right: 5%; float: left;}
            div#hcard-rubex                         { padding: 0; }

        .capabilityWrapper                          { width: 90% !important; margin-left: 5% !important; margin-right: 5% !important;}                
            div.capabilityBadge {
                        height: 150px;
                        width: 150px;
                        margin: 0px auto 0px auto;
                        background-image: url(../images/promo-box-small.png);
                        background-position: center;
                    }        
                div#capabilities h3                 { padding-top: 20px; margin: 5px auto 5px auto; }                    
                div#secureBadge img                 { height: 75px; width: 47px;}
                div#gpsTrackedBadge img             { height: 75px; width: 81px;}
                div#nationwideBadge img             { height: 75px; width: 81px;}
                
        div#contactUsVCardContainer {  display: block; visibility: visible; }                
        
        /* General Typography */        
        div#main h2                                 { font-size: 1.2em; }
        div#rubexIntroContent h3                    { font-size: 1.0em; }
        div#contactDetailsContainer                 { font-size: 0.8em; text-align: center; }
        nav#navMain                                 { font-size: 0.8em; }
        div#main p                                  { font-size: 0.8em; }
        div#main p.missionStatement                 { font-size: 0.8em; }        
        div#capabilities h3                         { font-size: 1.1em; }        
        ul#testimonialList blockquote               { font-size: 0.9em; }
        div#contactUsVCardContainer                 { font-size: 0.8em; }
        div.footerDetailContainer                   { font-size: 0.6em; }
        div#disclaimerDialog                        { font-size: 0.7em; }
    }


/* =============================================================================
   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; }
  img { max-width: 100% !important; }
  /*@page { margin: 0.5cm; }*/  /* Conflict with ie7.js (2.1 beta4) where hrefs are displayed in ie6 & ie7.  http://code.google.com/p/ie7-js/issues/detail?id=314*/
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}
