.product { color: #800; }

@media only screen {
    a[href^="http://"], a[href^="https://"] {
	/* external link icon */
	background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAAJCAMAAADTuiYfAAAABGdBTUEAAK/INwWK6QAAABl0RVh0U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAAGUExURRV5sP///x9ywNEAAAACdFJOU/8A5bcwSgAAAERJREFUeNpiYIQABiAACCAGRgQHIICgCMwECCAGBpgoIwNAAEHYDGAKIIBgbEYgDRBADDDNQBoggJDZAAGEZBQjQIABAAxLADm4njf6AAAAAElFTkSuQmCC) no-repeat center right;
	padding-right: 14px;
    }
    .no-icons a {
	background: none;
	padding-right: 0px;
    }
}

.centered {
    text-align: center;
}

.license {
    text-align: center;
    font-size: 0.7em;
}

.international {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 0.9em;
    line-height: 2ex;
}

body {
    color: #000;
    background: #ddd;
    min-width: 50%;
    max-width: 44em;
    margin: auto;
    padding: 1em 0em;
    font-size: 16px;
    font-family: 'Droid Sans', sans;
    font-weight: 400;
}

div.mainframe {
    position: relative; /* for ie PIE hacks */
    background: #447799;
    padding: 0;
    -moz-border-radius: 16px 16px 0px 0px;
    -webkit-border-radius: 16px 16px 0px 0px;
    border-radius: 16px 16px 0px 0px;
    -moz-box-shadow: 0 0 5px 5px #bbb;
    -webkit-box-shadow: 0 0 5px 5px #bbb;
    box-shadow: 0 0 5px 5px #bbb;
}

div.main {
    clear: both;
    color: #000;
    background: #fff;
    padding: 4px 16px;
}

a{ color: #1100ff; text-decoration:none;}
a:visited{ color: #2200bb; }
a:hover{ color: #06e; text-decoration:underline; }
a:active{ color:#faa700; }
a:focus{ outline: thin dotted; }
a:hover, a:active{ outline: 0; }

h1 {
    font-size: 2.5em;
    margin-top: 0.1em;
    margin-bottom: 0.1em;
}
h2 { font-size: 2.0em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.1em; }

pre, code {
    color: #000;
/*    background-color: #f5f5f5; */
    font-family: monospace, monospace;
    _font-family: 'courier new', monospace;
    font-size: 0.9em;
}
.prettyprint code {
    background-color: #fff;
}
pre.prettyprint {
    background-color: #fff;
    line-height: 1.1em;
    border: 1px black solid;

    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;

    position: relative; /* for ie PIE hacks */
    width: 85%;
    margin: 1em auto;
    padding: 1em;
    overflow-x: auto;
    white-space: pre;
    word-wrap: normal;
    overflow-y: hidden;
}

.expanding-code {
    border: 2px black solid;
    overflow-y: hidden;
}

section h2 {
    position: relative; /* for ie PIE hacks */
    background-color: #ddd;
    color: #003355;
    border: 5px;
    padding: 0.1em 0.5em;

    -moz-border-radius: 15px;
    -webkit-border-radius: 15px;
    border-radius: 15px;

    clear:both;  /* just in case any floats are still around */
    background-image: none;
}

section h2 div.outer {
    padding-right: 20px;
    background-repeat: no-repeat;
    background-position: right center;
}
section.section-collapsible h2:hover div.outer {
    cursor: pointer;
    text-decoration: underline;
}
section.section-collapsible h2:hover div.outer {
    /* minus */
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AQSAzk59X/0ywAAACNJREFUOMtjYMAHjEMhmGwwagC9DDAO/U8RptyA0VgYBgYAAFXTP8FOpretAAAAAElFTkSuQmCC);
}
section.section-collapsible h2.hidden div.outer {
    /* plus */
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3AQSAy4kk/ochAAAACNJREFUOMtjYMAHjEP/gzHZYNQAehkAU0QuptyA0VgYBgYAANZlW6UbPUIRAAAAAElFTkSuQmCC);
}

section.news {
    background: #efe;
    color: #040;
    border: solid 1px green;
    padding: 0.5em;
}

section.news h2 {
    background-color: #efe;
    color: #040;
    padding: 0em;
    margin: 0 0 0.5em 0;
}

.collapsible {
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
}

.figure img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

dd {
    margin: 0 0 0 1em;
    font-style: italic;
}

table.jumper {
    width: 100%;
}

.jumper td {
    vertical-align: middle;
}

.jumper th, .jumper td.col1 {
    background-color: #ccf;
    font-weight: bold;
}
.jumper th.col1 {
    background-color: #fff;
}

.jumper .col1 {
    text-align: center;
    width: 10%;
}
.jumper .col2, .jumper .col3, .jumper .col4, .jumper .col5 {
    text-align: center;
    width: 5%;
}
.jumper .col6, .jumper .col7, .jumper .col8 {
    text-align: left;
    width: 20%;
}
.jumper .col9 {
    text-align: left;
    width: 10%;
}
.jumper .notes p {
    font-weight: bold;
    margin-top: 0;
    margin-bottom: 0;
}
.jumper .notes ol {
    margin-top: 0;
    margin-bottom: 0;
}

.over {
    text-decoration: overline;
}

#pinout img {
    float: right;
    padding: 5px;
    margin-top: 0em;
}

table {
    border-collapse: collapse;
    border-style: hidden;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1em;
    margin-bottom: 1em;
}
table td, table th {
    background-color: #eef;
    padding-right: 0.25em;
    padding-left: 0.25em;
    border: 5px solid white;
}
table th {
    font-weight: bold;
    background-color: #ccf;
}

table.amazon td {
    background-color: white;
    vertical-align: middle;
}

#pinout table {
    width: 100%;
}

#pinout table td:first-child {
    text-align: center;
    font-weight: bold;
    background-color: #ddf;
}

.cut-notice {
    background: #fee;
    border: solid 1px red;
    padding: 0.5em;
}
.cut-notice > p {
    margin: 0;
}
.cut-notice > figure {
    margin: 8px 0;
}

.jumper-config {
    padding: 10px 10px 0 10px;
    text-align: center;
}

.jumper-config-option {
    border: 1px solid #aaa;
    padding: 10px;
    margin: 10px;
    width: 40%;
    min-width: 16em;
    display: inline-block;
}

.jumper-config-option > img {
    max-width: 30%;
    min-width: 65px;
}

.jumper-config-option > p {
    max-width: 100%;
    padding: 10px 0 0 0;
    margin: 0;
}

/* Slides */

.slideshow {
}

.slideshow .slides {
    position: relative;
}

.slideshow .slides .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: none;
}

/* Default the first one to visible, for non-JS.  Also keep it
   relatively positioned, so it takes up the right amount of space. */
.slideshow .slides .slide.first {
    display: block;
    position: relative; /* removed by js */
}
    
.slideshow .slides .slide img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Slideshow navigation buttons */

.slideshow .slide_nav {
    width: 640px;
    max-width: 100%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}
.slideshow .slide_nav ul {
    width: 168px; /* Lame -- 24 * (image_count + 2) */
    height: 24px;
    margin: 12px auto 12px auto;
    padding: 0;
}
.slideshow .slide_nav li {
    width: 24px;
    height: 0;
    list-style: none;
    padding: 24px 0 0 0;
    margin: 0;
    display: block;
    float: left;
    overflow: hidden;
    background-image: url(img/slide_nav.png);
    background-repeat: no-repeat;
    cursor: pointer;
}
.slideshow .slide_nav li.slide_jump       { background-position:   0px   0px; }
.slideshow .slide_nav li.current          { background-position: -24px   0px; }
.slideshow .slide_nav li.slide_prev       { background-position:   0px -24px; }
.slideshow .slide_nav li.slide_next       { background-position:   0px -48px; }
.slideshow .slide_nav li.slide_prev:hover { background-position: -24px -24px; }
.slideshow .slide_nav li.slide_next:hover { background-position: -24px -48px; }

/* Main header and nav */
.main-header {
    color: #fff;
    zoom: 1;
    padding: 16px;
}
.main-header .left {
    float: left;
}
.main-header .right {
    float: right;
}
.main-header .left h1 {
    color: #fff;
    font-weight: 700;
}
.main-header .left p {
    padding: 0 0 8px 0;
    margin: 0;
    color: #fff;
}
.main-header .right h1 {
    color: #fff;
    font-family: 'Sonsie One', serif;
    font-weight: 400;
}
.main-header ul {
    color: #fff;
    clear: both;
    text-align: right;
    padding: 0;
    margin: 0;
}
.main-header li {
    list-style: none;
    display: inline;
    padding: 0 0 0 1em;
}
.main-header a {
    padding: 0;
    color: #fff;
}
.main-header a:visited { color: #fff; }
.main-header a:active  { color: #fff; }
.main-header a:hover   { color: #fff; }

/* Override some stuff for smaller screens */

@media only screen and (max-width: 44em) {
    div.mainframe {
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
	border-radius: 0;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
    }
    body {
	padding: 0;
    }
}

@media only screen and (max-width: 30em) {
    table td, table th {
	padding-right: 1px;
	padding-left: 1px;
	border: 1px solid white;
	font-size: 12px;
    }
}

@media only screen and (max-width: 480px) {
    body {
	font-size:12px;
    }

}

@media only screen and (max-width: 400px) {
    #pinout img {
	display: block;
	float: none;
	padding: 0px;
	margin-left: auto;
	margin-right: auto;
    }
}

/* Print settings */

@media print {
    a[href]:after {
	content: " [" attr(href) "]";
    }
    div.main {
	-moz-box-shadow: 0 0;
	-webkit-box-shadow: 0 0;
	box-shadow: 0 0;
    }   
}
