@font-face {
    font-family: 'HattoriHanzoLight';
    src: url('Hattori_Hanzo-webfont.eot');
    src: url('Hattori_Hanzo-webfont.eot?#iefix') format('embedded-opentype'),
         url('Hattori_Hanzo-webfont.woff') format('woff'),
         url('Hattori_Hanzo-webfont.ttf') format('truetype'),
         url('Hattori_Hanzo-webfont.svg#HattoriHanzoLight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'HattoriHanzoLightItalic';
    src: url('Hattori_Hanzo_Italic-webfont.eot');
    src: url('Hattori_Hanzo_Italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('Hattori_Hanzo_Italic-webfont.woff') format('woff'),
         url('Hattori_Hanzo_Italic-webfont.ttf') format('truetype'),
         url('Hattori_Hanzo_Italic-webfont.svg#HattoriHanzoLightItalic') format('svg');
    font-weight: normal;
    font-style: normal;
}

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

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

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

   'HattoriHanzoLightItalic';
   'HattoriHanzoLight';
   'museo-slab'; 500 700 
    
    BODY COPY grey: #454b4c 69,75,76
    Darker blue: #263138 38,49,56
    
    font-size:60px;font-size:3.750rem;
    font-size:44px;font-size:2.750rem;
    font-size:36px;font-size:2.250rem;
    font-size:30px;font-size:1.875rem;
    font-size:26px;font-size:1.625rem;
    font-size:24px;font-size:1.5rem;
    font-size:20px;font-size:1.250rem;
    font-size:18px;font-size:1.125rem;
    font-size:14px;font-size:0.875rem;
    
   ========================================================================== */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

body, html {background:#ededed;color:#454b4c;font-size:100%;font-family:'HattoriHanzoLight',arial, sans-serif;}

h1 {font-weight:500;font-family:'museo-slab', arial, sans-serif;}
h2,h3,h4,h5,h6 {font-weight:500;font-family:'HattoriHanzoLight', arial, sans-serif;}
.bodycopy h2 {font-size:26px;font-size:1.625rem;}
.bodycopy h3 {font-size:24px;font-size:1.5rem;}
.bodycopy h4 {font-size:20px;font-size:1.250rem;text-transform:uppercase;}


h1 {font-size:44px;font-size:2.750rem;color:#fff;text-shadow:0px 1px 1px rgba(38,49,56,0.25);}

p, a, a:visited {color:inherit;}
a {-webkit-transition: color 0.15s ease-out;-moz-transition: color 0.15s ease-out;transition: color 0.15s ease-out;}
a:hover, a:focus, a:active, .selected a {color:#ed1c24;}
p {font-size:20px;font-size:1.250rem}

img {max-width:100%;}

dd {margin-left:0;}

.gridLimit {max-width:1400px;margin:0 auto;text-align:center;}
.main {padding-bottom:50px;}

.header ul, .footer ul {list-style-type:none;margin:0;padding:0;font-family:'museo-slab', arial, sans-serif;}
.header li, .footer li {display:inline-block;margin-left:7.5%;}
.header li:first-child, .footer li:first-child {margin-left:0;}

.header {min-height:90px;padding-top:24px;background:#fff;}
.header img {padding-left:50px;}
.header ul {margin-top:17px;text-align:left;margin-left:50px;}
.header li {font-size:18px;font-size:1.125rem;}
.header li:first-child {margin-left:0;}
.header li a {text-decoration:none;text-transform:lowercase;}
.header li a:hover, .header li.selected a {border-bottom:1px solid #ed1c24;}
.header .telephone-number{color: #ed1c24; position:absolute; top: 110px; left:0; z-index: 100; background:rgba(255,255,255,0.8); padding-left: 20px; padding-right: 10px; } /*telephone tab*/
.header .telephone-number p{margin: 5px 0; font-family:'museo-slab', arial, sans-serif;}

.footer {background:#393e40;color:#888b8c;color:rgba(255,255,255,0.4);height:150px;padding:28px 50px 0 50px;}
.footer .gridLimit {text-align:left;}
.footer .pure-u-1-3 {text-align:right;}
.footer p {margin-top:0;font-family:'museo-slab', arial, sans-serif;}
.footer p, .footer li {font-size:14px;font-size:0.875rem;}

/* HOME */
#carousel h1 {font-size:60px;font-size:3.750rem;position:absolute;top:35%;left:0;right:0;text-align:center;z-index:100;}
#carousel h1 small {font-size:36px;font-size:2.250rem;display:block;}
#carousel {text-align:center;height:0;padding-bottom:49%;overflow:hidden;position:relative;}


#carousel img {display:block;z-index:1;opacity:0;position:absolute;left:0;top:0;-webkit-transition: opacity 0.5s ease-out;-moz-transition: opacity 0.5s ease-out;transition: opacity 0.5s ease-out;}
#carousel img.show {z-index:5;opacity:1;}



.homepanel {padding:2em 0 2.75em 0;}
.homepanel .standfirst p {font-size:30px;font-size:1.875rem;}
/*.homepanel p {font-size:26px;font-size:1.625rem;}*/
.homenav {background:#fff;padding:3.5em 0;}
.homenav h2 {font-size:26px;font-size:1.625rem;text-transform:uppercase;margin:0}
.homenav a {text-decoration:none;}

.secondary {padding:50px 0 100px 0;}
.secondary ul {list-style-type:none;margin:0;padding:0;}
.secondary h3 {font-size:24px;font-size:1.5rem;}
.secondary li {font-size:20px;font-size:1.250rem;line-height:1.5;}
.secondary .pure-u-1-3 a img{margin-top: 20px;}

.bodycopy p.standfirst {font-size:26px;font-size:1.625rem;margin-top:0;}
.bodycopy > div {text-align:left;line-height:1.6}
.bodycopy ul, .bodycopy dl {font-size:20px;font-size:1.250rem;}
.bodycopy dt {text-transform:uppercase;}
.bodycopy h1 {margin:-2.25em 0 1.5em 0;}

/* ==========================================================================
   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;
}
.lt-ie9 .header li {margin-left:30px;}
/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (max-width: 1160px) {
    body,html  {font-size:90%;}
    .header li {margin-left:0;margin-right:25px;}
    .header ul {margin-top:13px;}
    .header img {padding-left: 25px;}
    .footer li {margin-left:3%;}
    .homenav h2 {font-size:24px;font-size:1.5rem;}
    .pure-u-1-4 {padding:0 1em;}
}


@media only screen and (max-width: 800px) {
    body, html {font-size:85%;}
    .header ul {margin-top:7px;}
    .header li {margin-left:0;margin-right:15px;}
    .header li:last-child {margin-right:0;}

}
@media only screen and (min-width: 700px) 
and (max-width : 1024px) {

    .homenav h2 {font-size:18px;font-size:1.125rem;}
}

@media only screen and (max-width: 640px) {
    body, html {font-size:80%;}
    .header img {padding-left:0;}
    .header ul {margin:20px auto 0 auto;text-align:center;}
    .header li {margin-bottom:20px;margin-left:0;margin-right:10px;}
    .footer  {height:auto;padding-bottom:10px;}
    .footer ul {margin-top:1em;}
    .footer li {margin-left:0;display:block;margin-bottom:1em;}
    .footer .pure-u-1-3 {text-align:left;}
    .gridLimit {margin:0 20px;}
    .pure-u-1-4 {padding:1em 0;}
    .secondary {padding: 25px 0 50px 0;}/*
    #carousel {overflow: visible;margin-bottom:5em;}*/
    #carousel h1 {top:98%;font-size:24px;color:#454b4c;text-shadow:none;display:none;}
    .bodycopy h1 {margin:0.5em 0;color:#454b4c;text-shadow:none;}
	.header .telephone-number{top: 195px; }
	.header .telephone-number p{font-size: 1.2em;}
}

@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;
    }
}
