/*
http://richadams.me - Basic Print Style
Author: Rich Adams (http://wblinks.com)
*/

/* White background */
html, body {
    background: #fff;
    width: auto;
    margin-left: 0px;
    padding: 0px;
    overflow: visible;
    font-size: 12px;
}

/* Page layout */
section#page {
    width: auto;
    margin-left: 0px;
    margin-top: 0px;
    padding: 0px;
    left: 0px;
    border: none;
    overflow: visible;
}

/* Fix header display */
header #us_tel,
header #uk_tel  {
    padding-left: 0px;
    background: none;
}

header {
    margin-left: 35px;
    margin-right: 0px;
    margin-top: 0px;
    /*padding-top: 0px;*/
}

header #pgp {
    display: none;
}

/* Section layout */
section h2 {
    width: 70px;
}

section section.details {
    margin-left: 85px;
}

section#skills-languages ul {
    width: 150px;
}

section#education {
    margin-top: -10px;
}

section#interests {
    page-break-after: avoid;
}

/* Alternate layout for print version (deprecated)
section h2 {
    float: none;
    width: auto;
    margin-left: 15px;
    text-align: left;
    border-bottom: 2px solid #ddd;
    padding-bottom: 5px;
}

section section.details {
    margin-left: 0px;
    border-left: none;
}*/

/* Hide various sections */
footer,
section#downloads,
#hcard-add {
    display: none;
}

/* Don't show jobs that aren't relevant to my expertise. */
section#experience section.not-relevant {
    display: none;
}

/* Don't show other links */
section#other {
    display: none;
}

/* Remove favicons from companies */
section#experience #gravitymobile,
section#experience #gracenote,
section#experience #amadeus,
section#experience #livejournal,
section#experience #nutracheck,
section#experience #ysc,
section#experience #wblinks,
section#experience #adamsrussell {
    padding-left: 0px;
    background: none;
}

/* Re-order lists for print layout */
section#elsewhere ul {
}
    
section#elsewhere li {
    float: none;
    width: auto;
    list-style-type: circle;
    list-style-position: inside;
    background: none !important;
}

/* Reading changes */
section#reading li {
    width: 20%;
}

/* Bottom of page doesn't need whitespace when printing */
section#interests {
    padding-bottom: 0px;
    margin-bottom: -10px;
}

/* Travel map */
iframe {
    overflow: visible;
}

/* Remove right-hand/bottom border and top/bottom padding */
section#page {
    border-right: none;
    border-bottom: none;
    margin: 0px;
    padding: 0px;
}

/* Show URLs for links */
a {
    text-decoration: none;
    color: #000;
    font-weight: bold;
}

a[href]:before {
    content: "[ ";
}

a[href]:after {
    content: " - " attr(href) " ]";
    font-size: 1em;
    font-style: italic;
}

/* Not for reading links though, because it messes them up */
section#reading a[href]:before,
section#reading a[href]:after {
    content: "";
}

/* or links within job description */
/*section.job ul a[href]:before,
section.job ul a[href]:after {
    content: "";
}

section.job ul a {
    font-weight: normal;
}*/

/* or links in the header */
header a[href]:before,
header a[href]:after {
    content: "";
}

