
/* --- Design Prototype for berjon.com - 2009-12-16 ------------------------------ */


/* OOLIB (reset+fonts)
   -------------------------------------------------------------------------------
*/
html{color:#000;background:#fff;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;}
body{font:13px/1.231 arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;}select,input,button,textarea{font:99% arial,helvetica,clean,sans-serif;}table{font-size:inherit;font:100%;}pre,code,kbd,samp,tt{font-family:monospace;*font-size:108%;line-height:100%;}


/* RESOURCES
   -------------------------------------------------------------------------------
*/
@font-face {
    font-family: "RedFive";
    src: url("404.eot");
    src: local("RedFive"), url("RedFive.otf") format("opentype");
}

@font-face {
    font-family: "Anivers";
    src: url("404.eot");
    src: local("Anivers Regular"), local("Anivers"), url("AniversRegular.otf") format("opentype");
}

/* STRUCTURE
   -------------------------------------------------------------------------------
*/
html, body {
    height:     100%;
    margin:     0;
    padding:    0;
    background: #fff;
}

header {
    display:    block;
    background: #ddd;
}

hgroup {
    display:    block;
}

header hgroup h1 {
    background: #999;
    font-family:    RedFive, sans-serif;
    font-size:      2.4em;
    font-weight:    normal;
    padding:    0 0 0 10px;
    margin: 0;
    line-height:    1em;
    text-shadow:    #000 1px 1px 1px;
}

header hgroup h2 {
    xwidth:  50%;
    font-family:    RedFive, sans-serif;
    font-size:      2.4em;
    font-weight:    normal;
    padding:    0 10px 2em 10px;
    margin: 0;
    line-height:    1em;
    color:  #fff;
    text-shadow:    #000 1px 1px 1px;
}


header hgroup a {
    color:  #ff6c00;
    text-decoration: none;
    xtext-shadow:    #000 1px 1px 5px;
}

#content {
    width:  970px;
    margin: auto;
    position:   relative;
    padding:    2em 0 0 0;
}


/* NAVIGATION
   -------------------------------------------------------------------------------
*/
nav {
    display:    block;
    position:   absolute;
    width:      200px;
    background: #ddd;
    top:    2em;
    right:  0px;
    bottom: 0px;
    font-family:  RedFive, sans-serif;
    border: 1px solid #000;
    min-height: 800px;
}

nav > ul {
    padding:  1em 0 1em 0;
}

nav > ul a {
    color:  #fff;
    text-decoration: none;
    font-size:  1.5em;
    display:  block;
    background: #ff6c00;
    margin: 3px 5px 3px -5px;
    padding-left: 5px;
    border-left:  5px solid #dd6300;
    border-right:  1px solid #dd6300;
    border-bottom:  1px solid #dd6300;
    text-shadow:    #666 2px 2px 0;
}

/* XXX add some animation goodness? */
nav > ul a:hover {
    color:          transparent;
/*    text-shadow:    #ffeb0e 100px 0px 3px;*/
    text-shadow:    #ffeb0e 0px 0px 3px;
}

.navExtra {
    margin:  1em 5px 0 5px;
}

.navExtra h4 {
    color:  #fff;
    text-shadow:    #000 1px 1px 1px;
    text-align: right;
    border-bottom: 1px solid #000;
    margin-bottom:  0.5em;
}

.navExtra ul a {
    font-family:  Anivers, sans-serif;
    color:  #000;
    text-decoration: none;
    display:  block;
    background: none;
    text-align: right;
    margin:   2px 0 2px 0;
    padding-right: 3px;
}

.navExtra ul a::after {
    content:  "  \2192";
}

.navExtra ul a:hover {
    color:  #ff6c00;
    background: #fff;
}

.navExtra ul li.multi {
    font-family:  Anivers, sans-serif;
    color:  #000;
    background: none;
    text-align: right;
    margin:   2px 0 2px 0;
    padding-right: 3px;
}

.navExtra ul li.multi a {
    display:    inline;
}

.navExtra ul li.multi::after {
    content:  "  \2192";
}

.navExtra ul li.multi a::after {
    content: "";
}



/* ARTICLES
   -------------------------------------------------------------------------------
*/
article {
    font-family:    Anivers, Verdana, sans-serif;
    display:    block;
    background: #fff;
    width:      745px;
    padding:    10px 0 0 0;
    border: 1px solid #000;
    -moz-box-shadow: #000 1px 1px 3px;
    -webkit-box-shadow: #000 1px 1px 3px;
    -o-box-shadow: #000 1px 1px 3px;
    box-shadow: #000 1px 1px 3px;
}

article.summary {
    margin-bottom:  20px;
}

article.summary:last-of-type {
    xmargin-bottom:  100px;
}

article hgroup {
    display:    block;
    position:   relative;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    margin: 0 20px 0 20px;
    height: 5em;
}

article h1 {
    margin: 0;
    padding:    0;
    font-size:  1.5em;
    font-weight:    normal;
}

article h1 a:link, article h1 a:hover, article h1 a:active {
    color:  #000;
}

article h1 a:visited {
    color:  #666;
}

article h2 {
    color:  #ff6c00;
/*    background: #000;
    display:    inline-block;
    color:  #ffeb0e;
*/    font-size:  1em;
    font-weight:    normal;
    margin: 3px 0 0 0;
}

article section h3 {
/*    font-weight:    bold;*/
    font-size:      1.3em;
    font-style: italic;
    margin:  1em 0 0.2em 0;
}

article section h3, article section h4, article section h5 article section h6 {
    font-family:  Anivers, sans-serif;
}

article .meta {
    color:      #666;
    margin: 0 20px 0 20px;
    text-align: right;
}

article > section {
    display:    block;
    margin: 10px 20px 0 20px;
    text-align: justify;
    font-family:    Verdana, sans-serif;
    font-size:  0.9em;
}

article > section p, article > section pre, article > section blockquote {
    margin-bottom:  1em;
}

/*article section:last-of-type p:last-of-type::after {
    content:    "\2022";
    font-weight:    bold;
    color: #ff6c00;
}
*/
article.summary > section {
    padding:    0;
    margin-bottom: 0;
}

article.summary > section p:last-of-type {
    margin-bottom: 0;
}

article.summary > section p:last-of-type::after {
    content:    "(…)";
    color:      #666;
}

article a:link, article a:hover, article a:visited, article a:active {
    color:  #ff6c00;
    text-decoration:    none;
}

article.summary a.more {
    display:    block;
    text-align: right;
    margin: 0 20px 0px 20px;
    padding: 0 0 10px 0;
}

article.summary a.more::after {
    content:    "  \2192";
}

article pre {
    background: #eee;
    padding:    10px 0 10px 10px;
    text-align: left;
    border-top:    1px solid #ff0e0e;
    border-bottom:    1px solid #ff0e0e;
    margin-left:    -10px;
    font-size:  1.23em;
    white-space: pre-wrap;
}

article .toolbox {
    border-top: 1px solid #000;
    margin: 0 20px 10px 20px;
    padding:    5px 0 0 0;
}

article .toolbox::before {
    content:    "  \229e";
    font-weight:    bold;
    color:  #ff0e0e;
}


/* INLINES
   -------------------------------------------------------------------------------
*/
em, .foreign, .title {
    font-style: italic;
}

strong {
    font-weight:    bold;
}

img.fleft {
    float:  left;
    border: 1px solid #000;
    margin: 0 10px 10px 0;
}

article > section::after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

.eoa {
    font-weight:    bold;
    color: #ff6c00;
}


/* ADDITIONAL STRUCTURE
   -------------------------------------------------------------------------------
*/
dl.multicol2 {
    -moz-column-count:  2;
    -webkit-column-count:  2;
    column-count:  2;
}
dl.multicol3 {
    -moz-column-count:  3;
    -webkit-column-count:  3;
    column-count:  3;
}
dl.multicol4 {
    -moz-column-count:  4;
    -webkit-column-count:  4;
    column-count:  4;
}

dl.multicol2, dl.multicol3, dl.multicol4 {
    -moz-column-gap:    1em;
    -webkit-column-gap:    1em;
    column-gap:    1em;
    -moz-column-rule:   1px solid #999;
    -webkit-column-rule:   1px solid #999;
    column-rule:   1px solid #999;
}

dl {
    text-align: left;
}

dt {
    font-weight:    bold;
}

dd {
    padding:    0 0 1em 2em;
}

article section ul, article section ol {
    margin: 0 20px 0 20px;
    padding: 0 0 1em 0;
}

article section ul li {
    list-style-type:    disc;
}

article section ol li {
    list-style-type:    decimal;
}

article section dl ul {
    margin: 0;
    padding: 0;
}

blockquote {
    margin: 1em 3em 1em 3em;
    font-style: italic;
}

.quote {
    font-style: italic;
}


/* ARTICLE NAVIGATION
   -------------------------------------------------------------------------------
*/
.artnav {
    margin: 20px 10px 20px 10px;
    border-top: 1px solid #000;
}

.artnav .navSep {
    display:    inline-block;
    padding:    5px;
    width:  10px;
    text-align: center;
}

.artnav .navLeft {
    display:    inline-block;
    width:  348px;
    text-align: right;
}

.artnav .navRight {
    display:    inline-block;
    width:  348px;
}


/* IMPORT FIXES
   -------------------------------------------------------------------------------
*/
#at16pf {
    display:    none;
}

/* APPS
   -------------------------------------------------------------------------------
*/
section.app {
    display:    block;
    border: 1px solid #ccc;
}
