    /*
    Theme Name: MBD Blog (11 12 2013)
    Theme URI: http://compete.com
    Author: Bekah Murphy
    Description: A custom theme for the Compete Pulse Blog
    Version: 1.1
    License: GNU General Public License
    License URI: license.txt
    Tags:
    
    */
    
    
    /* +++ Reset Styles +++ */
    html, body, div, span, applet, object, iframe,
    h1, h2, h3, h4, h5, h6, p, blockquote, pre,
    a, abbr, acronym, address, big, cite, code,
    del, dfn, em, img, ins, kbd, q, s, samp,
    small, strike, strong, sub, sup, tt, var,
    b, u, i, center,
    dl, dt, dd, ol, ul, li,
    fieldset, form, input, label, legend,
    table, caption, tbody, tfoot, thead, tr, th, td,
    article, aside, canvas, details, embed, 
    figure, figcaption, footer, header, hgroup, main, 
    menu, nav, output, ruby, section, summary,
    time, mark, audio, video {
        margin: 0;
        padding: 0;
        border: 0;
        font-size: 100%;
        font-weight:normal;
        font-style:normal;
        font: inherit;
        vertical-align: baseline;
        list-style:none;
        font-family: 'Tahoma', Helvetica, Arial, sans-serif;
    }
    /* HTML5 display-role reset for older browsers */
    article, aside, details, figcaption, figure, 
    footer, header, hgroup, main, menu, nav, section {
        display: block;
    }
    
    blockquote, q {quotes: none;}
    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }
    table {
        border-collapse: collapse;
        border-spacing: 0;
    }
    /* +++ Universal Styles +++ */
    body {
        line-height: 1;
        background-color:#fff;
        font-size:62.5%; /*reset fonts to 10px for em sizing */
        font-family:'DIN', Helvetica, Arial, sans-serif;
        font-weight:normal;
        font-style:normal;
        color:#444;
    }
    em, i {font-style: italic;}
    strong, b {font-weight: bold;}
    small {font-size:0.857em;}
    a {
        color:#2ae; 
    }
    img {
        border:none;
        max-width:100%;
        height:auto;
    }
    iframe {
        border:none;
        max-width:100%;
    }
    div[data-picture] img,
    section.featured header img,
    section.post-dek header img,
    section.archive img {
        border-bottom:1px solid #c3c3c3;
        width: 115%;
        max-width:inherit;
        height:auto;
        margin: 0 -16px;
    }
    
    
    ol, ol li {list-style: decimal;}
    ul, ul li {list-style: disc;}
    menu li, nav li, nav ul li {list-style:none;}
    
    p {margin:1em 0;}
    
    h1, h2, h3, h4, h5, h6, nav, header[role="banner"] menu a {font-family: 'DIN', Helvetica, Arial, sans-serif; letter-spacing: -0.05em;}

    a {text-decoration:none;}
    a:hover {text-decoration:underline;}
    
    input[type="text"],
    input[type="password"],
    input[type="tel"],
    input[type="email"],
    input[type="url"],
    input[type="search"],
    textarea {
        -webkit-appearance: textfield;
        -moz-appearance: textfield;
        -webkit-box-sizing: content-box;
        -moz-box-sizing: content-box;
        box-sizing:content-box;
        outline:none;
        border:1px solid #000;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border-radius:3px;
        color:#333;
        background-color:#fff;
        border-color:#079;
        -moz-box-shadow: inset 0 1px 6px #ccc;
        -webkit-box-shadow: inset 0 1px 6px #ccc;
        box-shadow: inset 0 1px 6px #ccc;
        padding:9px 6px;
        margin:0;
        font-family:'Tahoma', Helvetica, Arial, sans-serif;
        font-weight:normal;
        font-style:normal;
        font-size:1em;
        line-height:1;
        height:1em;
        cursor:text;
        vertical-align:middle;
    -moz-appearance: none;
    -webkit-appearance: none;
    -appearance: none;
    }
    input[type="search"]::-webkit-search-decoration,
    input[type="search"]::-webkit-search-cancel-button,
    input[type="search"]::-webkit-search-results-button,
    input[type="search"]::-webkit-search-results-decoration {
        display: none;
    }
    ::-webkit-input-placeholder { 
        font-style:italic;
        font-weight:normal;
        font-family:'DIN', Helvetica, Arial, sans-serif;
        color:#999;
    }
    :-moz-placeholder { 
        font-style:italic;
        font-weight:normal;
        font-family:'DIN', Helvetica, Arial, sans-serif;
        color:#999;
    }
    ::-moz-placeholder { 
        font-style:italic;
        font-weight:normal;
        font-family:'DIN', Helvetica, Arial, sans-serif;
        color:#999;
    }
    :-ms-input-placeholder { 
        font-style:italic;
        font-weight:normal;
        font-family:'DIN', Helvetica, Arial, sans-serif;
        color:#999;
    }
    button,
    input[type="button"],
    input[type="submit"],
    input[type="cancel"],
    input[type="reset"] {
        cursor:pointer;
        background-color:#0bd;
        color:#fff;
        font-size:1em;
        font-family:'DIN', Helvetica, Arial, sans-serif;
        font-weight:normal;
        font-style:normal;
        line-height:1;
        padding: 9px;
        margin:0;
        border:1px solid #079;
        -moz-border-radius:3px;
        -webkit-border-radius:3px;
        border-radius:3px;
        vertical-align:middle;
        -moz-box-shadow: inset 0px 1px 0px rgba(255,255,255,0.3), 0px 1px 1px rgba(0,0,0,0.3); 
        -webkit-box-shadow: inset 0px 1px 0px rgba(255,255,255,0.3), 0px 1px 1px rgba(0,0,0,0.3); 
        box-shadow: inset 0px 1px 0px rgba(255,255,255,0.3), 0px 1px 1px rgba(0,0,0,0.3); 
    }
        button:hover,
        input[type="button"]:hover,
        input[type="submit"]:hover,
        input[type="cancel"]:hover,
        input[type="reset"]:hover {
            background-color:#0cd;
        }
    
    * html .clearfix {
        height: 1%; /* IE5-6 */
    }
    *+html .clearfix {
        display: inline-block; /* IE7not8 */
    }
    .clearfix:after { /* FF, IE8, O, S, etc. */
        content: ".";
        display: block;
        height: 0;
        clear: both;
        visibility: hidden;
    }
    .clear {
        clear:both;
    }
    .aligncenter {
        display:block;
        margin:0 auto;
    }
    
    
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-Medium.eot');
        src: url('fonts/DINPro-Medium.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-Medium.woff') format('woff'),
            url('fonts/DINPro-Medium.ttf') format('truetype'),
            url('fonts/DINPro-Medium.svg#DINPro-Medium') format('svg');
        font-weight:bold;
        font-style: normal;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-MediumItalic.eot');
        src: url('fonts/DINPro-MediumItalic.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-MediumItalic.woff') format('woff'),
            url('fonts/DINPro-MediumItalic.ttf') format('truetype'),
            url('fonts/DINPro-MediumItalic.svg#DINPro-MediumItalic') format('svg');
        font-weight:bold;
        font-style:italic;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-Bold.eot');
        src: url('fonts/DINPro-Bold.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-Bold.woff') format('woff'),
            url('fonts/DINPro-Bold.ttf') format('truetype'),
            url('fonts/DINPro-Bold.svg#DINPro-Bold') format('svg');
        font-weight:bolder;
        font-style: normal;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-BoldItalic.eot');
        src: url('fonts/DINPro-BoldItalic.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-BoldItalic.woff') format('woff'),
            url('fonts/DINPro-BoldItalic.ttf') format('truetype'),
            url('fonts/DINPro-BoldItalic.svg#DINPro-BoldItalic') format('svg');
        font-weight:bolder;
        font-style:italic;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-Light.eot');
        src: url('fonts/DINPro-Light.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-Light.woff') format('woff'),
            url('fonts/DINPro-Light.ttf') format('truetype'),
            url('fonts/DINPro-Light.svg#DINPro-Light') format('svg');
        font-weight:lighter;
        font-style: normal;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-LightItalic.eot');
        src: url('fonts/DINPro-LightItalic.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-LightItalic.woff') format('woff'),
            url('fonts/DINPro-LightItalic.ttf') format('truetype'),
            url('fonts/DINPro-LightItalic.svg#DINPro-LightItalic') format('svg');
        font-weight:lighter;
        font-style:italic;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-Regular.eot');
        src: url('fonts/DINPro-Regular.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-Regular.woff') format('woff'),
            url('fonts/DINPro-Regular.ttf') format('truetype'),
            url('fonts/DINPro-Regular.svg#DINPro-Regular') format('svg');
        font-weight: normal;
        font-style: normal;
    }
    @font-face {
        font-family: 'DIN';
        src: url('fonts/DINPro-Italic.eot');
        src: url('fonts/DINPro-Italic.eot?#iefix') format('embedded-opentype'),
            url('fonts/DINPro-Italic.woff') format('woff'),
            url('fonts/DINPro-Italic.ttf') format('truetype'),
            url('fonts/DINPro-Italic.svg#DINPro-Italic') format('svg');
        font-weight: normal;
        font-style:italic;
    }
    
    
    /* +++ Header Styles +++ */
    /* first the universal styles */
    header[role="banner"] {
        background:#333 url(images/header_bg_pattern_hex.jpg) repeat left top;
        border-bottom:1px solid #c3c3c3;
    }
        header[role="banner"] nav {
            background:#333 url(images/header_bg_pattern.gif) repeat left top;
            border-bottom:1px #000 solid;
            position: fixed;
            width: 100%;
            z-index: 20;
        }
            header[role="banner"] nav menu {
                margin:0 auto;
                padding:0;
                min-height:45px;
            }
                header[role="banner"] menu ul {
                    display:inline;
                    font-size: 1.8em;
                    line-height: 1.2;
                    vertical-align: top;
                    text-align:left;
                }
                header[role="banner"] menu li,
                header[role="banner"] menu a,
                header[role="banner"] menu form {
                    display:inline-block;
                }
                header[role="banner"] menu li {
                    float:left;
                    font-weight: normal;
                    font-style:normal;
                }
                    header[role="banner"] menu li ul ul {
                        display:none;
                    }
                header[role="banner"] menu .logo {
                    margin:0;
                    vertical-align: top;
                }
                header[role="banner"] menu .toggle {
                    display:inline-block;
                }
                header[role="banner"] menu a {
                    padding: 9px 18px 15px;
                    color:#fff;
                    text-decoration:none;
                    display:block;
                    cursor:pointer;
                }
                    header[role="banner"] menu .logo a {
                        padding:9px 18px 0;
                    }
                    header[role="banner"] menu a:hover {
                        text-decoration:underline;
                    }
                    header[role="banner"] nav a.js_menu_toggle {
                        display:inline-block;
                        background:url(images/icon-menu.gif) no-repeat right center;
                        font-size: 1.5em;
                        line-height: 1.2;
                        padding: 3px 30px 3px 3px;
                        margin: 0;
                    }
                header[role="banner"] menu form {
                    padding: 3px 18px 9px;
                    min-height:33px;
                    vertical-align:top;
                }
                    header[role="banner"] menu ul li:hover a {
                        background-color:#222;
                    }
                    header[role="banner"] menu ul li a:hover {
                        text-decoration:none;
                        background-color:#2ae;
                    }
                    header[role="banner"] menu input[type='search'] {
                        color:#fff;
                        background-color:#444;
                        border:1px solid #000;
                        -moz-box-shadow: inset 0 1px 3px #222, 0 1px 3px #333;
                        -webkit-box-shadow: inset 0 1px 3px #222, 0 1px 3px #333;
                        box-shadow: inset 0 1px 3px #222, 0 1px 3px #333;
                        width: 84%;
                        float:left;
            -moz-appearance: none;
            -webkit-appearance: none;
            appearance: none;
                    }
                    header[role="banner"] menu input::-webkit-input-placeholder,
                    header[role="banner"] menu input:-moz-placeholder,
                    header[role="banner"] menu input::-moz-placeholder,
                    header[role="banner"] menu input:-ms-input-placeholder {  
                        color:#fff; 
                    }
                    header[role="banner"] menu .search button {
                        border: none;
                        background: transparent;
                        padding: 3px 0 3px 3px;
                        margin: 1px 0 0 3px;
                        vertical-align: middle;
                        float:left;
                        -moz-box-shadow: none;
                        -webkit-box-shadow: none;
                        box-shadow:none;
                    }
                        header[role="banner"] menu .toggle .search button {
                            margin:6px 0 0 6px;
                        }
        header[role="banner"] h1 {
            text-align:center;
            padding:54px 27px 0;
            margin:0 auto;
            max-width:72%;
            color:#555;
            line-height:1;
        }
            header[role="banner"] h1 a {
                display:block;
            }
            header[role="banner"] h1 img {
                padding: 12px 0 6px;
            }
            
    @media only screen and (max-width: 410px) { /* now the styles for smartphones in portrait mode */
    
    header[role="banner"] nav {
        position:static;
    }
    header[role="banner"] menu input[type='search'] {
        width: 72%;
    }
    header[role="banner"] h1 {
        padding: 6px 21px;
    }
    header[role="banner"] h1 img.large {
        display:none;
    }
    section.result img {
        display: none;
    }
            
    }
    
    @media only screen and (min-width: 411px) {/* a few specific overrides for larger than smartphone */
        
    header[role="banner"] h1 img.small {
        display:none;
    }
    
    }
        
    @media only screen and (max-width: 767px) { /* now the styles for smartphones in landscape mode and small tablets */
    
    header[role="banner"] menu {
        position:relative;
    }
        header[role="banner"] menu ul {
            display:none;
            border-top:1px #000 solid;
            background-color:#222;
            -moz-box-shadow: inset 0 1px 6px #000;
            -webkit-box-shadow: inset 0 1px 6px #000;
            box-shadow: inset 0 1px 6px #000;
            margin: 9px -7% 0 0;
            padding: 0;
        }
            header[role="banner"] menu ul li,
            header[role="banner"] menu ul a,
            header[role="banner"] menu ul form {
                display:block;
                margin: 0;
                float:none;
            }
            header[role="banner"] menu .logo {
                position:absolute;
            }
            header[role="banner"] menu .toggle {
                text-align: right;
                float:none;
                margin: 0;
                padding: 9px 6% 0 0;
                width:94%;
            }
            header[role="banner"] menu .toggle ul ul {
                display:none!important;
            }
            header[role="banner"] menu ul a {
                padding:18px 7%;
            }
            header[role="banner"] menu ul form {
                padding: 6px 7% 12px;
                min-height:33px;
            }
                header[role="banner"] menu ul a:hover {
                    padding:17px 7%;
                    text-decoration:none;
                    background-color:#2ae;
                    border-top:1px #269 solid;
                    border-bottom:1px #269 solid;
                }
                header[role="banner"] menu input[type='search'] {
                    display:block;
                    width: 78%;
                }
    
    }
        
    
    @media only screen and (max-width: 290px) { /* for very small screens */
    
    header[role="banner"] menu .logo {
        position:static;
        display:block;
        float:none;
    }
    header[role="banner"] menu .toggle {
        position:static;
        display:block;
        float:none;
    }
    header[role="banner"] menu input[type='search'] {
        width:63%;
    }
    
    }
    
    @media only screen and (min-width: 768px) { /* now the styles for tablets in portrait mode */
        
    
    header[role="banner"] nav menu {
        max-width:960px;
        padding:0 6px;
    }
    header[role="banner"] menu .toggle {
        float: left;
        margin: 0;
        padding: 0;
        text-align: left;
    }
        header[role="banner"] menu .toggle .search_menu {
            display:none;
        }
    header[role="banner"] menu .interact {
        float:right;
        font-size: .67em;
        text-transform: uppercase;
        position:relative;
    }
    header[role="banner"] nav a.js_menu_toggle {
        display:none;
    }
        header[role="banner"] menu li.subscribe a {
            line-height:1;
            padding: 18px 8px 16px;
            width: auto;
        }
        header[role="banner"] menu li.rss a.icon,
        header[role="banner"] menu li.search a.icon,
        header[role="banner"] menu li.share a.icon,
        header[role="banner"] menu li.subscribe a.icon {
            height:18px;
            width:18px;
            padding: 14px 6px;
            background-image:url(images/sprite-nav-icons.png);
            background-repeat:no-repeat;
        }
        header[role="banner"] menu li.subscribe a.icon {
            width:22px;
        }
        header[role="banner"] menu li.subscribe a {
            background-position: center -135px;
        }
        header[role="banner"] menu li.rss a {
            background-position: 7px -85px;
        }
        header[role="banner"] menu li.search a {
            background-position: 7px 15px;
        }
        header[role="banner"] menu li.share a {
            background-position: 7px -35px;
        }
            header[role="banner"] menu li.share li a {
                background-image:url"https://blog.compete.com/wp-content/uploads/2013/05/social-icons-sprite.png");
                background-repeat:no-repeat;
                display: inline-block;
                padding: 3px 6px;
                width: 24px;
                height: 24px;
            }
                header[role="banner"] menu li.share li a.fb {
            background: url("https://blog.compete.com/wp-content/uploads/2013/05/social-icons-sprite.png");
                    background-position: -12px 31px!important;
                }
                header[role="banner"] menu li.share li a.li {
                    background-position:center -48px;
                }
                header[role="banner"] menu li.share li a.tw {
                    background-position:center -98px;
                }
                header[role="banner"] menu li.share li a.gp {
                    background-position:center -148px;
                }
        header[role="banner"] menu .interact h3 {
            font-weight:bold;
            color:#fff;
            font-size:1.5em;
            text-transform:none;
        }
        header[role="banner"] menu .interact p {
            color:#ddd;
            font-size:1.2em;
            text-transform:none;
            margin:0.5em 0;
        }
        header[role="banner"] menu .interact form {
            width:100%;
            padding:0;
            margin:0.5em 0;
            text-align:right;
        }
            header[role="banner"] menu .interact form:hover {
                padding:0;
            }
            header[role="banner"] menu .interact form input {
                width:91%;
                background-color:#444;
                border-color:#000;
                color:#fff;
                text-align:left;
                -moz-box-shadow: inset 0 1px 6px rgba(0,0,0,0.3), 0 1px 0px rgba(255,255,255,0.2);
                -webkit-box-shadow: inset 0 1px 6px rgba(0,0,0,0.3), 0 1px 0px rgba(255,255,255,0.2);
                box-shadow: inset inset 0 1px 6px rgba(0,0,0,0.3), 0 1px 0px rgba(255,255,255,0.2);
            }
                header[role="banner"] menu .interact form.search input {
                    width:72%;
                }
            header[role="banner"] menu .interact form button {
                margin: 0.5em 0 0;
                text-align:center;
                border-color:#079;
            }
                header[role="banner"] menu .interact form.search button {
                    margin:0;
            margin-left: 2px;
                    vertical-align:middle;
                }
    header[role="banner"] menu li ul ul {
        position:absolute;
        background-color:#222;
        font-size:1em;
        z-index:30;
    }
        header[role="banner"] menu li.interact li ul {
            padding: 3px 6px 3px 9px;
            width:171px;
            right:0;
        }
    header[role="banner"] menu li ul ul li {
        display:block;
        float:none;
    }
     header[role="banner"] menu .interact li.rss ul:hover {
                display: none;
            }
    }
    
    @media only screen and (min-width: 768px) and (max-width: 799px) { /* specific override for when the menu wrapps weird */
    
    header[role="banner"] menu .toggle ul li {
        font-size: .833em;
    }
    header[role="banner"] menu a {
        padding: 12px 9px 15px;
    }
    
    }
    
    @media only screen and (min-width: 800px) and (max-width: 899px) { /* specific overrided for mod-sized devices */
    
    header[role="banner"] menu a {
        padding: 9px 9px 15px;
    }
    
    }
    
    @media only screen and (min-width: 1200px) { /* now the styles for 'regular sized' computers */
    
    /* there are no current overrides in the header for full width screens */
    
    }
        
        
    /* +++ Page Styles +++ */
    /* first the universal styles */
    div.page {
        margin:0 auto;
        padding: 9px 0;
        display:table;
    }     
    section[role="main"] {
        display:table-cell;
        padding: 0 10px;
        vertical-align: top;
    }
        section[role="main"] article,
        section[role="main"] .post_group {
            margin: 6px 15px 24px;
        }
            section[role="main"] article.error {
                margin: 72px 9px;
            }
            section[role="main"] article.error input[type="search"] {
                font-size: 2em;
                width: 39%;
                border-color:#0ae;
                -moz-box-shadow: 0 0 6px #dff;
                -webkit-box-shadow: 0 0 6px#dff;
                box-shadow: 0 0 6px #dff;
            }
            section[role="main"] article.error form button {
                padding: 6px;
                margin-left: 6px;
            }
            section[role="main"] article .content {
                margin: 18px 6px;
            }
            section.content p:first-child img,
            article div[data-picture]  {
                border:1px solid #000;
                width:100%;
                height:auto;
            }
            article footer .author,
            article table.author_bio td {
                border:1px #ddd solid;
                background-color:#f2f2f2;
                padding:9px 15px;
                font-size:1.2em;
                line-height:1.5em;
            }
                article footer .author .name,
                article table.author_bio .author_bio_title {
                    margin:0;
                    font-size:1.5em;
                }
                    article footer .author .name a,
                    article table.author_bio .author_bio_title a {
                        color:inherit;
                    }
        section[role="main"] header {
            border-bottom:2px dotted #ccc;
            padding: 0 0 6px;
            margin-bottom:1em;
        }    
        section.featured,
        section.post-dek,
        section.archive {
            overflow:hidden;
            color:#444;
            border-color:#c3c3c3;
            border-style:solid;
            border-width:1px 1px 6px 1px;
            margin: 0 3px 24px;
            padding: 0 15px 15px;
            -moz-transition:border-color 0.5s, box-shadow 0.5s, -moz-transform 0.5s;
            -webkit-transition:border-color 0.5s, box-shadow 0.5s, -webkit-transform 0.5s;
            -o-transition:border-color 0.5s, box-shadow 0.5s, -o-transform 0.5s;
            transition:border-color 0.5s, box-shadow 0.5s, transform 0.5s;
        }
            section.archive {
                margin:0 0 12px;
            }
            section.featured:hover,
            section.post-dek:hover,
            section.archive:hover {
                border-bottom-color:#2ae;
                cursor:pointer;
                -moz-transition:border-color 0.5s, box-shadow 0.5s, -moz-transform 0.5s;
                -webkit-transition:border-color 0.5s, box-shadow 0.5s, -webkit-transform 0.5s;
                -o-transition: border-color 0.5s, box-shadow 0.5s, -o-transform 0.5s;
                transition: border-color 0.5s, box-shadow 0.5s, transform 0.5s;
                -moz-box-shadow: 0 0 10px rgba(0,0,0,0.2);
                -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.2);
                box-shadow: 0 0 10px rgba(0,0,0,0.2);
            }
                section.featured:hover h2,
                section.post-dek:hover h2,
                section.archive:hover h3,
                section.result:hover h3 {
                    text-decoration:underline;
                    color:#2ae;
                }
            section.featured a,
            section.post-dek a,
            section.archive a,
            section.result a,
            section.featured a:hover,
            section.post-dek a:hover,
            section.archive a:hover,
            section.result a:hover {
                text-decoration:none;
                color: inherit;
                font-weight:normal;
            }
            .home section.featured img.wide {
                display:none;
            }
        section.result {
            margin:2.5em 0;
            border-bottom: 1px #aaa solid;
            clear:both;
        }
            section.result img {
                width:153px;
                float:left;
                margin:0 12px 6px 3px;
                border:1px solid #000;
            }
        section.related,
        .yarpp-related {
            margin:1em 0;
        }
        section.related .rel,
        .yarpp-related .rel {
            width: 29%;
            margin: 0 2.15%;
            border-bottom:6px #eee solid;
            float:left;
        }
            section.related .rel.four,
            .yarpp-related .rel.number4 {
                display:none;
            }
            section.related img,
            .yarpp-related img {
                width:100%;
            }
        section[role="main"] .js_interleave {
            display:none;
            color:#444;
            margin: 0 15px 24px;
        }
        section[role="main"] h1 {
            font-size:4.8em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            color:#444;
            margin:.5em 0;
        }
        section[role="main"] h2 {
            font-size:3.6em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:normal;
            font-style:normal;
            color:#444;
            margin: 9px 0 6px;
        letter-spacing: -0.06em;
        }
            section[role="main"] article.error h2 {
                font-size: 7.8em;
            }
                section[role="main"] .error h2 strong {
                    color:#0ae;
                }
            section[role="main"] h2.divider {
                clear:both;
                background-color:#2ae;
                color:#fff;
                text-transform:uppercase;
                font-size:1.8em;
                font-weight:normal;
                font-style:normal;
                margin: 15px 0 6px;
                padding: 1px 6px 3px;
                border: 1px solid #2ae;
                position:relative;
            }
                .home section[role="main"] h2.divider {
                    margin: 15px 1.4% 6px;
                    width: 95.9%;
                    padding: 1px .5% 3px;
                }
                section[role="main"] h2.divider a {
                    color: #fff;
                    text-decoration: none;
                    text-transform: none;
                    background-color:#19c;
                    border-left:1px #fff solid;
                    padding: 1px 24px 3px 6px;
                    margin: 0;
                    position:absolute;
                    right:0;
                    top:0;
                }
            section[role="main"] .featured h2,
            section[role="main"] .post-dek h2 {
                font-size:2.4em;
                margin: 6px 0;
                line-height: 1.1;
                padding: 0;
            }
        section[role="main"] h3 {
            font-size:2.4em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            color:#444;
            margin:1em 0;
        }
            section[role="main"] .result h3 {
                font-size:2.2em;
                margin: 0.25em 0;
            }
        section[role="main"] h4 {
            font-size:2em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            color:#444;
            margin:1em 0;
        }
        section[role="main"] h5 {
            font-size:1.8em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            color:#444;
            margin:1.5em 0;
        }
        section[role="main"] h6 {
            font-size:1.2em;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            color:#444;
            margin:2em 0;
        }
        section[role="main"] p {
            font-size:1.4em;
            line-height: 1.25;
            margin: .75em 0;
        }
            section[role="main"] p .more {
                color: #09f;
            }
            section[role="main"] p.social {
                margin: 1em 0 .5em;
            }  
               .share-button {
                    vertical-align: top;
                    display: inline-block;
                    position:relative;
                }
                    .share-button .icon {
                        cursor:pointer;
                        display:block;
                        height:26px;
                        width:26px;
                        padding: 0;
                        background-repeat:no-repeat;
                        background-image:url(images/sprite-social-icons.png);
                        vertical-align: middle;
                        text-indent: -999em;
                        text-align: left;
                        opacity:1;
                    }
                        .share-button:hover .icon, {
                            opacity:.75;
                            -ms-filter:"alpha(opacity=75)";
                            filter:alpha(opacity=75)
                        }
                        .share-button .flyout {
                            display:none;
                            margin-top: -40px;
                            position: absolute;
                            top:0;
                            left:0;
                        }
                            .share-button .flyout .iframe-wrapper {
                                background-color:#fff;
                                border:1px solid #eee;
                                -moz-border-radius:1px;
                                -webkit-border-radius:1px;
                                border-radius:1px;
                                position:absolute;
                                top:0;
                                left:0;
                                width:100px;
                                min-height:20px;
                                padding: 5px;
                                -webkit-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
                                -moz-box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
                                box-shadow: 1px 1px 3px 0px rgba(0,0,0,0.2);
                            }
                            .share-button .flyout .arrow {
                                color:#fff;
                                -webkit-text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
                                -moz-text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
                                text-shadow: 1px 2px 4px rgba(0,0,0,0.2);
                                position:absolute;
                                left:7px;
                                top:30px;
                                z-index:20;
                            }
                        .share-button.facebook .icon {
                            background-position: center 0px;
                        }
                        .share-button.linkedin .icon {
                            background-position: center -51px;
                        }
                        .share-button.twitter .icon {
                            background-position: center -100px!important;
                        }
                        .share-button.pinterest .icon {
                            background-position: center -250px!important;
                        }
                        .share-button.digg .icon {
                            background-position: center -200px;
                        }
                        .share-button.reddit .icon {
                            background-position: center -300px;
                        }
                        .share-button.google .icon {
                            background-position: center -150px;
                        }
                        .share-button.buffer .icon {
                            background-position: center -350px;
                        }
            section[role="main"] article p {
                font-size:1.4em;
                margin: 1em 0;
                line-height: 1.4;
            }
                section[role="main"] article.error p {
                    font-size: 3em;
                    font-weight: lighter;
                    font-style: italic;
                }
                    section[role="main"] article.error p em {
                        color:#0ae;
                    }
                section[role="main"] header p .comments,
                section[role="main"] p.byline .comments {
                    float:right;
                    text-decoration:none;
                    color:#2ae;
                }
            section[role="main"] .rel p {
                font-size:1.2em;
                line-height:1.2;
                font-weight:bold;
            }
                section[role="main"] .rel a {
                    text-decoration:none;
                }
            section[role="main"] p.byline {
                margin: 12px 4px;
                font-size: 1.3em;
                line-height: 1.2;
            }
                section[role="main"] p.byline a {
                    color:inherit;
                }
            section[role="main"] p.category {
                text-align:center;
                background-color:#2ae;
                color:#fff;
                text-transform:uppercase;
                font-size:1.5em;
                margin:0 20% -15px;
                position: relative;
                top: -15px;
                padding: 1px 3px;
        font-family: 'DIN', Helvetica, Arial, sans-serif;
            }
            section[role="main"] p.pagination {
                font-family:'DIN', Helvetica, Arial, sans-serif;
                font-weight:lighter;
                font-style:italic;
                color:#555;
                font-size:1.5em;
                min-height: 1.8em;
                line-height: 1.8em;
                margin: 1em;
                clear:both;
            }
                section[role="main"] p.pagination a,
                section[role="main"] p.pagination span {
                    background-image:url(images/sprite-pagination.png);
                    background-repeat:no-repeat;
                }
                section[role="main"] p.pagination a {
                    text-decoration:none;
                    color:#0bd;
                }
                    section[role="main"] p.pagination .previous a {
                        background-position:left -50px;
                        padding-left:25px;
                        float:left;
                    }
                    section[role="main"] p.pagination .next a {
                        background-position:right -150px;
                        padding-right:25px;
                        float:right;
                    }
                    section[role="main"] p.pagination a:hover {
                        text-decoration:underline;
                    }
        section[role="main"] table {
            line-height:1.2;
            border-top:1px #eee solid;
        }
        section[role="main"] th {
            border:1px #09c solid;
            background-color:#2ae;
            color:#fff;
            font-size:1.4em;
            font-weight:normal;
            padding:3px;
        }
        section[role="main"] td {
            border-collapse:collapse;
            border:1px #eee solid;
            padding:3px;
        }
        section[role="main"] table.no-border, 
    section[role="main"] th.no-border, 
    section[role="main"] tr.no-border, 
    section[role="main"] td.no-border {
        border: none;
    }
    .no-border {
        border: 1px solid #fff; 
        border: none;
    }
    section[role="main"] ol {
            margin: 1.5em 0 1.5em 1em;
        }
    section[role="main"] ul {
        margin: 1.5em 0 1.5em 0.75em;
    }
    section[role="main"] li {
        font-size:1.5em;
        margin: 0.5em 0 0.5em 1em;
    }
        section[role="main"] ul.more {
            margin:0 9px 2em;
        }
            section[role="main"] ul.more li {
                list-style:none;
                width:47%;
                margin:.5em 6px;
                float:left;
                font-size:1.5em;
                font-weight:bold;
            }
        section[role="main"] article ul,
        section[role="main"] article ol {
            font-size:1em;
            margin: 1em 0 1em 1em;
        }
        section[role="main"] article li {
            font-size:1.4em;
            line-height: 1.4;
        }
            section[role="main"] article li li {
                font-size:1em;
            }

        section[role="main"] blockquote, 
        section[role="main"] q {
            font-size:1.8em;
            margin:1em 0.5em;
            padding-left:1em;
            border-left:10px solid #ddd;
        }
            section[role="main"] blockquote.two, 
            section[role="main"] q.two {
                border-left:10px solid #2ae;
            }
            section[role="main"] blockquote cite, 
            section[role="main"] q cite {
                display:block;
                font-style:italic;
                margin-top:1em;
                font-size:0.667em;
            }
    .bio-image {
        float: left;  
        margin: 3px 20px 10px 18%;
    }
    .bio-info {
        margin-top: 43px;
         margin-bottom: 48px; 
        display: inline-block;
    }
    article footer {
        margin:1em 0;
        clear: both;
    }
        article footer .meta {
            margin:2em 6px;
        padding-top: 1px;
        }
            article footer .meta p {
                font-size:1.2em;
                text-transform:uppercase;
                margin:1.5em 0;
            }
        article footer .comments {
            border-top:2px #ccc dotted;
        }
            article footer .comments h3 {
                font-size:1.8em;
                text-transform:uppercase;
            }
            article footer .comments form {
                font-size:1.5em;
                border-bottom:3px #aaa solid;
                padding-bottom: 18px;
            }
                article footer .comments form p {
                    font-size:1em;
                    margin: .5em 0;
                    width:78%;
                    display:inline-block;
                    vertical-align: middle;
                }
                    article footer .comments form p.form-submit {
                        width: auto;
                        vertical-align: top;
                    }
                    /*article footer .comments form p.comment-form-author,
                    article footer .comments form p.comment-form-email {
                        display:inline-block;
                        width:49.5%;
                    }*/
                    article footer .comments form p label {
                        width: 99%;
                        display:inline-block;
                    }
            article footer .comments input[type='text'],
            article footer .comments textarea {
                border-color:#bbb;
                width: 75%;
                max-width:75%;
                float:right;
                vertical-align: middle;
            }    
                /*article footer .comments p.comment-form-author input[type='text'],
                article footer .comments p.comment-form-email input[type='text'] {
                    width:63%;
                    max-width:63%;
                }*/
                article footer .comments textarea:focus {
                    height:4em;
                    vertical-align:top;
                }
            article footer .comments h4 {
                font-size:1.8em;
                border-bottom:1px #aaa solid;
            }
            article footer .comments time {
                float:right;
            }
                article footer .comments time a {
                    color:#888;
                } 
            article footer .comments .comment-list,
            article footer .comments .children {
                margin:0;
                list-style:none;
            }
            article footer .comments p.reply {
                color: #888;
                font-size: 1.1em;
                margin: -1em 0 0;
            }
            article footer .comments .comment,
            article footer .comments .pingback {
                padding-left: 10%;
                padding-right:5%;
                margin:0;
                position:relative;
                font-size:1em;
                list-style:none;
                min-height:4em;
            }
                article footer .comments .comment .comment {
                    padding-right:0;
                }
                article footer .comments img.avatar {
                    position: absolute;
                    left: 0;    
                    z-index:1;
            
            
                }
                    article footer .comments .comment:after {
                        content:"";
                        position:absolute;
                        left:0;
                        top:0;
                        z-index:15;
                        width:40px;
                        height:40px;
                        background: -moz-radial-gradient(center, ellipse cover, rgba(153,153,153,0) 13px,rgba(153,153,153,0) 16px,rgba(153,153,153,1) 17px,rgba(153,153,153,1) 19px,rgba(255,255,255,1) 20px,rgba(255,255,255,1) 100%); /* FF3.6+ */
                        background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(13px,rgba(153,153,153,0)), color-stop(16px,rgba(153,153,153,0)), color-stop(17px,rgba(153,153,153,1)), color-stop(19px,rgba(153,153,153,1)), color-stop(20px,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,1))); /* Chrome,Safari4+ */
                        background: -webkit-radial-gradient(center, ellipse cover, rgba(153,153,153,0) 13px,rgba(153,153,153,0) 16px,rgba(153,153,153,1) 17px,rgba(153,153,153,1) 19px,rgba(255,255,255,1) 20px,rgba(255,255,255,1) 100%); /* Chrome10+,Safari5.1+ */
                        background: -o-radial-gradient(center, ellipse cover, rgba(153,153,153,0) 13px,rgba(153,153,153,0) 16px,rgba(153,153,153,1) 17px,rgba(153,153,153,1) 19px,rgba(255,255,255,1) 20px,rgba(255,255,255,1) 100%); /* Opera 12+ */
                        background: -ms-radial-gradient(center, ellipse cover, rgba(153,153,153,0) 13px,rgba(153,153,153,0) 16px,rgba(153,153,153,1) 17px,rgba(153,153,153,1) 19px,rgba(255,255,255,1) 20px,rgba(255,255,255,1) 100%); /* IE10+ */
                        background: radial-gradient(ellipse at center, rgba(153,153,153,0) 13px,rgba(153,153,153,0) 16px,rgba(153,153,153,1) 17px,rgba(153,153,153,1) 19px,rgba(255,255,255,1) 20px,rgba(255,255,255,1) 100%); /* W3C */
                        
            }
        
    section.sidebar {
        display:table-cell;
        width: 250px;
        vertical-align: top;
    }
    
    aside {
        padding:6px 24px 3px;
        text-align: center;
    }
        .sidebar aside {
            margin:0 0 12px;
            padding:6px 12px 3px;
        }
        section[role="main"] aside h2,
        aside h2 {
            text-transform:none;
            background-color:transparent;
            font-family:'DIN', Helvetica, Arial, sans-serif;
            font-weight:bold;
            font-style:normal;
            text-align:center;
            color:#fff;
            margin: 0;
            padding: 1px 0;
            font-size: 2em;
        }
        aside p {
            margin: 3px 0;
            line-height: 1.2;
            font-size: 1.3em; 
        }
            aside p.action {
                text-align:center;
                font-size:1.5em;
                padding: 3px 0;
                border-bottom:1px dotted #333;
                border-top:1px dotted #333;
            }
                aside p.action a,
                aside p.action span {
                    font-family:'DIN', Helvetica, Arial, sans-serif;
                    font-weight:bold;
                    font-style:normal;
                    text-decoration:none;
                    color:#0bd;
                }
                    aside p.action .rss {
                        background:url(images/icon-rss.png) no-repeat 5px center;
                        padding-left:25px;
                    }
        aside form {
            margin: 9px 0;
            min-height:36px;
            font-size: 1.5em;
        }
            aside.siteanalytics input[type='search'] {
                width: 66%;
            }
                .sidebar aside.siteanalytics input[type='search'] {
                    width:95%;
                }
            aside.subscribe input[type='email'] {
                width: 57%;
                border-color:#bbb;
            }
                .sidebar aside.subscribe input[type='email'] {
                    width:95%;
                }
    
 
    @media only screen and (max-width: 767px) { /* now the styles for smartphones in landscape mode and small tablets */
    
    div.page,
    section[role="main"] {
        display:block;
        padding-left:0;
        padding-right:0;
    }  
    section[role="main"] h2 {
        text-align:center;
    }
    section[role="main"] article.error h2 {
        font-size: 6em;
    }
    section[role="main"] article.error input[type="search"] {
        width: 33%;
    }
    section.sidebar,
    section.sidebar .js_interleave {
        display:none;
    }
    section.post-dek,
    section.featured {
        margin: 0 1.4% 12px;
    }
    div[data-picture] img, 
    section.featured header img, 
    section.post-dek header img, 
    section.archive img {
        width: 110%;
    }
    section[role="main"] .js_interleave {
        display:block;
    }
    section.related .rel,
    .yarpp-related .rel {
        width: 29%;
    }
        section.related .rel.four,
        .yarpp-related .rel.number4 {
            display:none;
        }
   
    }
    
    @media only screen and (max-width: 600px) {
    
    section[role="main"] article.error img.robot {
        display:none;
    }
    
    }
    
    
    @media only screen and (max-width: 490px) { 
    section[role="main"] ul.more li {
        width:97%;
    }
    }
    
    @media only screen and (max-width: 440px) { /* for very small screens */
    
    section[role="main"] article .content {
        margin-right:0;
        margin-left:0;
    }
    section[role="main"] h2.divider {
        padding-bottom:0;
    }
        section[role="main"] h2.divider a {
            padding: 6px;
            margin: 6px -7px 0;
            border:none;
            color:#19c;
            background-color:#fff;
            font-size: 0.75em;
            font-weight: normal;
            position:static;
            display:block;
        }
    div[data-picture] img, 
    section.featured header img, 
    section.post-dek header img, 
    section.archive img {
        width: 115%;
    }
    article footer .comments form p {
        display:block;
        width:100%;
    }
    article footer .comments form p.form-submit {
        text-align:right;
    }
    article footer .comments input[type='text'],
    article footer .comments textarea {
        width: 95%;
        max-width:95%;
        float:none;
    }
    
    }
    
    @media only screen and (max-width: 410px) { /* now the styles for smartphones in portrait mode */

    aside {
        padding:6px 9px 3px;
    }
    section.related .rel,
    .yarpp-related .rel {
        width: 44%!important;
    }
        section.related .rel.three,
        .yarpp-related .rel.number3 {
            display:none;
        }
    section[role="main"] th {
        font-size:1.1em;
    }
    
    }
    
    @media only screen and (max-width: 315px) { /* for very small screens */
    
    aside button,
    aside input {
        float:none!important;
        width:90%!important;
        margin:3px auto!important;
    } 
    div[data-picture] img, 
    section.featured header img, 
    section.post-dek header img, 
    section.archive img {
        width: 125%;
    }
    
    }
    
    @media only screen and (min-width: 768px) { /* now the styles for tablets in portrait mode */
        
    header[role="banner"] h1 img {
        padding: 24px 0 12px;
    }
    div.page {
        max-width:960px;
    }  
    section[role="main"] h2.divider a {
        float:right;
    }
    section[role="main"] article,
    section[role="main"] .post_group {
        margin:18px 36px 24px;
    }  
    section.post-dek,
    section.featured {
        margin: 0 1.4% 12px;
    }
    section.sidebar {
        padding: 15px 15px 15px 5px !important;
    }
    div[data-picture] img, 
    section.featured header img, 
    section.post-dek header img, 
    section.archive img {
        width: 107%;
    }
        
    }
    
    
    @media only screen and (min-width: 1200px) { /* now the styles for 'regular sized' computers */
     
    section[role="main"] h2,
    section[role="main"] .featured h2 {
        margin: 9px 0 6px;
        font-size: 3.3em;
        line-height: 1;
    }
    section.featured {
        border-bottom-width:12px;
        margin:0 9px 2.2em;
    }
        .home section.featured img.wide {
            display:block;
        }
        .home section.featured img.wp-post-image {
            display:none;
        }
    section.post-dek {
        width:285px;
        float:left;
        height:500px;
        overflow:hidden;
        margin: 0 9px 12px;
    }
        section.post-dek img {
            max-height:240px;
        }
        section.post-dek .dek {
            overflow:hidden;
        }
        section.featured header img {
            width: 105%;
        }
        section.post-dek header img {
            width: 111%;
        }
    article footer .comments form p.comment-form-author,
    article footer .comments form p.comment-form-email {
        width: 38.45%;
    }
    article footer .comments input[type='text'],
    article footer .comments textarea {
        width: 80.5%;
        max-width: 80.5%;
    }
        article footer .comments form p.comment-form-author input[type='text'],
        article footer .comments form p.comment-form-email input[type='text'] {
            width: 60%;
        }
    
    section.related .rel,
    .yarpp-related .rel {
        width: 21.5%;
        margin: 0 1.75%;
    }
        section.related .rel.four,
        .yarpp-related .rel.number4 {
            display:block;
        }
    }
        
    /* +++ Footer Styles +++ */
    /* first the universal styles */
    footer[role="banner"] {
        border-top:1px solid #ccc;
        background:#f2f2f2  url(images/footer_bg_pattern.png) repeat left top;
        padding:18px 0;
        margin: 18px 0 0;
    }
        footer[role="banner"] .navigation {
            margin:0 auto;
        }
        footer[role="banner"] a {
            text-decoration:none;
        }
            footer[role="banner"] a:hover {
                text-decoration:underline;
            }
                footer[role="banner"] menu a,
                footer[role="banner"] menu h2 a,
                footer[role="banner"] ul a,
                footer[role="banner"] ul h2 a {    
                    font-family:'DIN', Helvetica, Arial, sans-serif;
                    font-weight:bold;
                    font-style:normal;
                    color:#555;
                }
                    footer[role="banner"] menu ul a,
                    footer[role="banner"] ul ul a  {    
                        font-family:'Tahoma', Helvetica, Arial, sans-serif;
                        font-weight:bold;
                        font-style:normal;
                        color:#0bd;
            letter-spacing: 0;
                    }
                    footer[role="banner"] .boilerplate ul a,
                    footer[role="banner"] .outside ul a {
                        border-left:1px solid #555;
                        padding: 0 3px;
                        color:#0bd;
                    }
                        footer[role="banner"] .boilerplate ul a[href="#"],
                        footer[role="banner"] .outside ul a[href="#"],
                        footer[role="banner"] .boilerplate ul a.nolink,
                        footer[role="banner"] .outside ul a.nolink,
                        footer[role="banner"] .boilerplate ul a[href="#"]:hover,
                        footer[role="banner"] .outside ul a[href="#"]:hover,
                        footer[role="banner"] .boilerplate ul a.nolink:hover,
                        footer[role="banner"] .outside ul a.nolink:hover {
                            color:#555;
                            text-decoration:none;
                            cursor:default;
                        }
                        footer[role="banner"] .boilerplate ul li:first-child a {
                            border-left:none;
                        }
        footer[role="banner"] nav {
            font-size:1.8em;
        }
            footer[role="banner"] nav.boilerplate {
                text-align:center;
                clear:both;
            }
            footer[role="banner"] .main menu li,
            footer[role="banner"] .contact menu li,
            footer[role="banner"] .main ul li,
            footer[role="banner"] .contact ul li {    
                font-family:'DIN', Helvetica, Arial, sans-serif;
                font-weight:bold;
                font-style:normal;
                color:#555;
            }
            footer[role="banner"] .main menu li,
            footer[role="banner"] .main ul li {
                margin: 0 2.5%;
                float:left;
            }
            footer[role="banner"] .contact menu li,
            footer[role="banner"] .contact ul li {
                margin: 0 9%;
                float:left;
            }
            footer[role="banner"] .main menu ul,
            footer[role="banner"] .contact menu ul,
            footer[role="banner"] .main ul ul,
            footer[role="banner"] .contact ul ul {
                font-size: .667em;
                margin: 9px 0 18px;
            }
            footer[role="banner"] .boilerplate menu,
            footer[role="banner"] .boilerplate ul {
                font-size: .667em;
            }
                footer[role="banner"] .main menu ul li,
                footer[role="banner"] .contact menu ul li,
                footer[role="banner"] .boilerplate menu li,
                footer[role="banner"] .main ul ul li,
                footer[role="banner"] .contact ul ul li,
                footer[role="banner"] .boilerplate ul li {
                    padding:3px 0;
                    font-family:'Tahoma', Helvetica, Arial, sans-serif;
                    font-weight:normal;
                    font-style:normal;
                }
                footer[role="banner"] .main menu ul li,
                footer[role="banner"] .contact menu ul li,
                footer[role="banner"] .main ul ul li,
                footer[role="banner"] .contact ul ul li {
                    width:auto;
                    margin:0;
                    float:none;
                }
                footer[role="banner"] .boilerplate menu li,
                footer[role="banner"] .boilerplate ul li {
                    display:inline-block;
                }
            footer[role="banner"] menu input[type='email'],
            footer[role="banner"] ul input[type='email'] {
                border-color:#bbb;
                margin: 3px 0;
            }
    
    
    @media only screen and (max-width: 777px) {
        
     
    footer[role="banner"] nav.main {
        float:none;
        width:100%;
    }
    footer[role="banner"] .navigation {
        max-width:686px;
        padding:0 12px;
    }  
    footer[role="banner"] nav.contact {
        clear:both;
        float:none;
        width:100%;
    }
        footer[role="banner"] .contact menu li,
        footer[role="banner"] .contact ul li {
            margin: 0 2.5%;
            float:left;
            width:45%;
        }
    
    }
    
    
    @media only screen and (max-width: 515px) {
    
    footer[role="banner"] {
        text-align:center;
    }
    footer[role="banner"] .main ul li,
    footer[role="banner"] .contact menu li {
        width:100%;
        margin:0;
    }
        footer[role="banner"] .main ul ul a,
        footer[role="banner"] .contact menu ul a,
        footer[role="banner"] .boilerplate ul a {    
            border-left:1px solid #aaa;
            padding: 0 3px;
        }
            footer[role="banner"] ul ul li:first-child a {
                border-left:none;
            }
        footer[role="banner"] .main ul ul li,
        footer[role="banner"] .contact menu ul li,
        footer[role="banner"] .boilerplate ul li {
            display:inline-block;
        }
        footer[role="banner"] ul input[type='email'] {
            width: 51%;
            float:left;
            margin: 0;
        }
    
    
    }
    
    @media only screen and (min-width: 516px) and (max-width: 777px) {
        
    footer[role="banner"] .main ul li {
        width: 28%;
    }
    footer[role="banner"] .contact menu li {
        width:45%;
    }
        footer[role="banner"] .main ul li li,
        footer[role="banner"] .contact menu li li {
            max-width:100%;
        }
    
    }
    
    
    
    @media only screen and (min-width: 778px) {
     
    footer[role="banner"] .navigation {
        max-width:936px;
        padding:0 12px;
    }    
    footer[role="banner"] nav.main {
        float:left;
        width:67%;
    }   
    footer[role="banner"] nav.contact {
        float:right;
        width:33%;
    }
    footer[role="banner"] .boilerplate menu {
        margin: 9px 0 18px;
    }
    footer[role="banner"] .boilerplate .legal {
        float:left;
    }
    footer[role="banner"] .boilerplate .outside {
        float:right;
    }
            
    }
    
    
    
    @media only screen and (min-width: 1200px) {
    
    
    footer[role="banner"] nav.main {
        float:left;
        min-width:490px;
    }
    footer[role="banner"] nav.contact {
        float:right;
    }
    footer[role="banner"] nav.contact {
        max-width: 288px;
    }
      
    }
    
    
    
    /* stuff below this line was added by Tony and needs to be better integrated into the file */
    
    
    ul.jaw_widget {
    margin-left: 4px;
    }
    ul.jaw_widget, ul.jaw_widget li {
    list-style: none;
    margin-top: 10px;
    }
    section.widget_jal_widget { 
    list-style-type: none !important; 
    list-style: none !important;
    list-style-image: none !important;
    font-size: 1.4em;
    }
    a.jaw_years {
    color: #4d4d4d;
    }
    a.jaw_years:hover {
        color: #2ae;
    }
    li.jaw_months {
    margin-left: 20px;
    }
    section.widget_jal_widget h2.widget-title {
    font-size: 1.4em;
    padding: 0px 0px 2px 5px;
    background-color: #2ae; 
    color: #fff;
    text-transform: uppercase; 
    }
    
    
    /* Smartphones (portrait and landscape) ----------- */
    @media only screen and (max-width:480px) {
    .bio-image {
    float: left; 
    margin: 0; 
    margin-left: 20%;
    }
    .bio-info {
    margin-top: 0px;
    margin-bottom: 0px;
    margin: 10px 27%;
    }
    article footer .comments img.avatar {
    display: none;
    }
    article footer .comments .comment,
    article footer .comments .pingback {
    padding-left: 0%;
    padding-left: none;
    }
    article footer .comments .comment:after {
    background: none !important;
    }
    }
    @media only screen and (min-width: 960px) {
    div.page {width: 960px;}
    }