a, a:link, a:active, a:visited { color:#ac171c; }
a:visited { text-decoration:none; border-bottom: 1px dotted #ac171c; }
a:hover { text-decoration:none; border-bottom:none; }
a.no-border { border-bottom:0; }

.small { font-size:0.85em; }
.big { font-size:110%; }
.red { color:#ac171c; }

.has-cols { overflow:hidden;float:none;padding:1px; }
.has-cols .col { float:left; clear:none; }

.float-left { float:left;clear:none;margin-right:1em;display:block; }
.float-right { float:right;clear:none;margin-left:1em;display:block; }

iframe,object,img { max-width: 100%; }

body { color:#33332e;background-color:#dddcd1; }

#ubercontainer {
    width: 760px;
    padding: 10px;
    margin: 0 auto;
    position:relative;
    top:0;
    left:0;
}
    #ubercontainer .structure {
        position:relative;
        top:0;
        left:0;
    }

#menu {
    z-index: 100;
    position: absolute;
    top:0;
    right:20px;
    font-size: 0.8em;
    text-transform: lowercase;
    letter-spacing: 0.04em;
}
#menu ul {
    margin: 0 0 0;
    padding: 0 0 0;
    float:right;
    clear:none;
}
#menu li {
    list-style-type: none;
    list-style-position: inside;
    float:left;
    clear:none;
    display: block;
    margin: 0 6px 0 0;
}
#menu a {
    display:block;
    background-color:#8a8981;
    color:#e6e4d7;
    text-shadow: 1px 1px 2px #666;
    text-decoration: none;
    padding: 2px 6px;
    -webkit-border-bottom-right-radius: 8px;
    -webkit-border-bottom-left-radius: 8px;
    -moz-border-radius-bottomright: 8px;
    -moz-border-radius-bottomleft: 8px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
}
.home #menu .home a,
.related #menu .related a,
.press #menu .press a {
    background-color:transparent;
    color:#999890;
    text-shadow: none;
    font-style: italic;
}
#menu a:hover {
    background-color:#33332e !important;
    color:#e6e4d7 !important;
}

#content { padding: 10px;overflow:visible;z-index:50; }
#content .structure { z-index:10;padding:15px; }

#sidebar { z-index:20 !important;margin-right:10px; }
#sidebar h1 { margin: 0 0 0; }
#buy-me a {
    display:block;
    border-bottom:0;
    margin-bottom: 8px;
    box-shadow: 0px 2px 4px #22221e;
}
#buy-me a img { display: block; }
#order-versions { width:90%; margin: 0 auto; }
#order-versions h2 { text-align:center;text-transform: lowercase;margin:0 5px 5px;font-size: 1em; }
#order-versions ul { margin: 0 0; }
#order-versions li { list-style-type:none;padding:2px 0;margin:0; text-align:center; }
#order-versions li a {
    display:block;
    border-bottom:0;
    background-color:#ac171c;
    color:#eeede1;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    padding:4px;
    -moz-box-shadow: 0 0 4px #21130e;
    -webkit-box-shadow: 0 0 4px #21130e;
    box-shadow: 0 0 4px #21130e;
}
#order-versions li a:hover { margin: 0 3px; }

#main-content {
    float:none;
    margin-top:10px;
    font-size:0.9em;
    line-height: 1.6em;
}
#main-content .header-group { font-size:1.06em; }
#main-content h1 {
    background-color:#d3d2c8;
    padding: 0px;
    text-shadow: 1px 1px #aaa;
    line-height: 1em;
    margin: 0px 0px 12px;
    font-weight: normal;
    font-size: 2.4em;
}
    #main-content h1 a { color:#33332e;text-decoration: none; }
#main-content h2 {
    font-size:1.8em;
    line-height: 1.1em;
    margin: 0.5em 0 0.5em;
}
#main-content h2.subtitle { margin-top:-0.5em;font-size: 1.25em;line-height: 1.1em; }
#main-content h3 { font-size:1.2em;line-height: 1.6em; margin: 0.5em 0;text-shadow: 1px 1px 2px #ccc; }
#main-content .inset li { list-style-position: inside; }

#main-content .video {
    width:435px;
    float:right;
    clear:none;
    margin: 0.25em -10px 0.25em 20px;
    background-color:#d3d2c8;
}
#main-content iframe { max-width: 445px; }
#main-content .video iframe { max-width: 100%;margin: 0 0 0;display: block; }
.video a.enlarger {
    display:block;
    float:right;
    clear:both;
    margin:0.35em 0.5em;
    font-size:0.95em;
    line-height: 1.4em;
    padding: 0 24px 0 2px;
    background-image: url("../img/expand.png");
    background-position: 99% 60%;
    background-repeat: no-repeat;
    border-radius: 3px;
}
.video a:hover.enlarger { background-color: #bdbdb4; }

.on-top {
    z-index: 2000;
    overflow-y: auto;
    position: fixed;
    top:0;
    left:0;
    bottom:0;
    width:100%;
    background-color: #000000;
    background-color: rgba(0,0,0,0.9);
}
.in-on-top {
    padding: 30px;
    color:#eeeeee;
}
.in-on-top * {
    max-width: 780px;
}
.in-on-top iframe {
    margin: 0 auto 1em;
    display:block;
}
.on-top .button {
    display:block;
    background-color: #eeeeee;
    color: #333333;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    line-height: 24px;
    min-width: 24px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    font-weight: bold;
}
.on-top .button.buyme { background-color: #dddcd1;color:#909750; }
.in-on-top .button {
    float:left;
    clear:none;
    width: 45%;
    margin: 0 2.25% 12px;
}
.on-top .closer {
    position: absolute;
    top: 6px;
    right: 6px;
}
.in-on-top .closer {
    position:static;
    top:0;
    right:0;
    background-color: #aaaaaa;
}

blockquote {
    margin: 1em -10px;
    padding:10px;
    background-color:#33332e;
    color:#dddcd1;
    font-family: Arial, Helvetica, sans-serif;
    font-size:0.95em;
    line-height: 1.6em;
}
blockquote > :first-child:first-line { font-weight:bold;font-size: 1.1em;color:#909750; }
blockquote :last-child { margin-bottom: 0; }
.cite { text-indent: 1em;color:#909750; }
.cite strong { font-size: 1.1em; }

ul.listing {
    margin: 0 0 1.8em;
    padding: 0 0 0;
    overflow: hidden;
}
ul.listing li {
    list-style-type: none;
    list-style-position: inside;
    display: block;
    float:left;
    clear: none;
    margin: 0 18px 18px 0;
}
.listing a {
    display: block;
    background-color: #d3d2c8;
    padding: 4px;
    width:120px;
    text-align: center;
    font-size: 0.9em;
    border-radius:4px;
}
.listing img {
    display: block;
    border: 0;
    width:120px;
    height:184px;
    margin: 0 0 4px;
    box-shadow: 0px 2px 4px #22221e;
}
.listing strong {
    display: block;
}

#footer {
    padding: 10px;
    font-size:0.8em;
    border-top: 3px double #aaa9a1;
    color:#888780;
}
#footer p { margin: 0 0 0; }
#foot-menu { text-align: center;word-spacing: .4em; }
#foot-menu a { word-spacing: normal; }
#colophon {
    font-weight:bold;
    float:right;
    clear:both;
    font-size:1.5em;
    margin: 0.25em 1em 0;
    letter-spacing:-0.09em;
    color:#336;
    text-shadow: 0px 0px 7px #888;
}
