/* Global */

body {
margin-left: 50%;
background-color: #dedede;
background-image: url(images/pageBackground.png);
background-repeat: repeat-x;
}

#content {
position: relative;
width: 800px;
margin-top: 40px;
margin-left: -400px;
margin-bottom: 40px;
background-color: #dfdfdf;
background-image: url(images/headerBackground.png);
background-repeat: repeat-x;
border: solid 1px #777;
border-bottom: none;
border-top-left-radius: 6px;
border-top-right-radius: 6px;
-moz-border-radius-topleft: 6px;
-moz-border-radius-topright: 6px;
box-shadow: 0px 2px 3px rgba(0,0,0,.7);
-webkit-box-shadow: 0px 2px 3px rgba(0,0,0,.7);
-moz-box-shadow: 0px 2px 3px rgba(0,0,0,.7);
}
a {
text-decoration: none;
color: inherit;
}
a img {
border: none;
}

/* Header */

h1 {
color: #666;
text-align: center;
font-size: 3em;
font-family: "Bookman Old Style", Georgia, Arial, sans-serif;
font-weight: normal;
text-shadow: 0px 1px 0px white;
}

.navigation {
padding: 0px;
text-align: center;
margin-bottom: 25px;
}

.navigation li {
display: inline;
}

.navigation li + li:before {
color: #666;
text-shadow: 0px 1px rgba(255,255,255,0.7);
content: " ~ ";
cursor: default;
}

.navigation a {
padding: 2px 3px;
margin-left: 12px;
margin-right: 12px;
font-size: 1.2em;
font-weight: bold;
font-family: Georgia, Arial, sans-serif;
color: #333;
text-shadow: 0px 1px white;
}

.navigation a:hover {
color: #555;
}

.navigation a:active {
color: #888;
}

.navigation a.selected {
color: #666;
}

.navigation + p {
word-spacing: 1px;
clear: both;
margin: 0px;
padding: 10px 20px;
color: #444;
line-height: 1.3em;
font-size: 0.8em;
font-family: sans-serif;
text-shadow: 0px 1px rgba(255,255,255,0.6);
font-family: "Bookman Old Style", Georgia, Arial, sans-serif;
}

hr {
height: 0px;
margin: 0px;
border: none;
border-bottom: solid 1px #999;
}

hr.black {
border-bottom-color: #555;
}

.miniHeader h1 {
float: left;
margin-left: 19px;
margin-top: 13px;
font-size: 1.1em;
}

.miniHeader .navigation {
float: right;
margin-top: 16px;
margin-bottom: 0px;
font-size: 0.8em;
}

.miniHeader hr {
margin-top: 50px;
}

.miniHeader p + hr {
margin-top: 8px;
}

/* Separators */

h2 {
margin: 0px;
height: 30px;
background-color: #ccc;
background-image: url(images/separatorBackground.png);
background-repeat: repeat-x;
padding: 4px 8px 4px 8px;
line-height: 1.55em;
font-size: 1.2em;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
color: #222;
text-align: center;
text-shadow: 0px 1px 0px white;
border: 1px solid;
border-top-color: #fff;
border-right-color: #aaa;
border-left-color: #aaa;
border-bottom-color: #9b9b9b;
-webkit-text-stroke: 1px rgba(0,0,0,0);
user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
cursor: default;
}

.black h2, h2.black {
background-color: #1a1a1a;
background-position: 0px -38px;
color: #f6f6f6;
text-shadow: 0px -1px 0px black;
border-top: 1px solid #ddd;
border-bottom: 1px solid black;
overflow: hidden;
border-right: 1px solid #222;
border-left: 1px solid #222;
}

/* Banners */

.bannerGroup {
width: 800px;
height: 80px;
background-color: black;
}

.banner {
display: block;
float: left;
width: 400px;
height: 80px;
background-image: url(images/banner.png);
user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
}

.banner h3, .banner div {
position: relative;
width: 400px;
height: 80px;
margin: 0px;
background-image: url(images/banner.png);
line-height: 2.4em;
font-size: 2em;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
color: white;
text-align: center;
text-shadow: 0px 1px 2px black;
margin-bottom: -80px;
z-index: 2;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.banner img {
position: relative;
display: block;
width: 400px;
height: 80px;
opacity: 0.7;
z-index: 1;
}

.javascript .banner img, .javascript .entry img {
opacity: 0;
}

a.banner:active {
opacity: 0.8;
}

/* Text entries */

.entries {
background-color: black;
}

.black .entries {
background-color: white;
}

.entry {
display: block;
min-height: 38px;
position: relative;
padding: 9px;
padding-left: 58px;
background-color: #eee;
font-family: sans-serif;
font-size: 0.8em;
color: #191919;
border: 1px solid #aaa;
border-top-color: #fff;
border-bottom-color: #aaa;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.black .entry {
background-color: #292929;
color: white;
border: 1px solid black;
border-top: 1px solid #444;
border-bottom: 1px solid black;
}

.entry:first-child {
border-top: none;
background-image: url(images/entryShadow.png);
background-repeat: repeat-x;
background-position: 0px -5px;
}

.black .entry:first-child {
background-position: 0px 0px;
}

.entry:nth-child(even) {
opacity: .94;
}

.entry h3 {
margin: 0px 0px 4px 0px;
font-size: 1.2em;
font-weight: bold;
}

.black .entry h3 {
text-shadow: 0px 1px 1px black;
}

.entry img {
position: absolute;
top: 9px;
left: 8px;
width: 40px;
height: 40px;
}

.entry:after {
display: block;
position: absolute;
background-image: url(images/iconMask.png);
top: 9px;
left: 8px;
width: 40px;
height: 40px;
content: "";
}

.black .entry:after {
background-position: 0px -40px;
}

.entry:hover {
opacity: .89;
}

.entry:active {
opacity: .85;
}

/* Browse */

.searchBar {
display: none;
height: 24px;
padding: 10px;
line-height: 1.1em;
background-color: #ccc;
background-image: url(images/headerBackground.png);
border: 1px solid;
border-color: #eee #aaa;
}

.javascript .searchBar {
display: block;
}

.toggleChoice {
display: inline;
display: inline-block;
margin-right: 15px;
font-size: 0.9em;
font-family: Helvetica, Arial, sans-serif;
color: #2a2a2a;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.toggleChoice a {
display: inline-block;
width: 50px;
height: 18px;
padding: 3px 0px;
background-color: #eee;
background-image: url(images/toggleChoiceBackground.png);
text-align: center;
text-shadow: 0px 1px white;
border: 1px solid #aaa;
border-right: none;
box-shadow: 0px 1px white;
-webkit-box-shadow: 0px 1px white;
-moz-box-shadow: 0px 1px white;
}

.toggleChoice a:first-of-type {
margin-left: 5px;
padding-left: 3px;
border-top-left-radius: 14px;
border-bottom-left-radius: 14px;
-moz-border-radius-topleft: 14px;
-moz-border-radius-bottomleft: 14px;
}

.toggleChoice a:last-of-type {
padding-right: 3px;
border-right: solid 1px #aaa;
border-top-right-radius: 14px;
border-bottom-right-radius: 14px;
-moz-border-radius-topright: 14px;
-moz-border-radius-bottomright: 14px;
}

.toggleChoice a:active {
color: #363636;
background-position: 0px -24px;
text-shadow: 0px 1px rgba(255,255,255,0.8);
}

.toggleChoice a.selected {
color: #363636;
background-position: 0px -48px;
text-shadow: 0px 1px rgba(255,255,255,0.8);
}

#searchField {
float: right;
width: 135px;
margin: 0px;
padding: 4px 13px;
padding-left: 28px;
background-color: white;
background-image: url(images/searchFieldBackground.png);
background-repeat: no-repeat;
font-size: 0.8em;
color: #333;
border: 1px solid #888;
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-box-shadow: 0px 1px white;
-moz-box-shadow: 0px 1px white;
box-shadow: 0px 1px white;
-webkit-appearance: none;
outline: none;
}

#searchField:focus {
border-color: black;
background-position: 0px -26px;
box-shadow: 0px 0px 1px black;
-webkit-box-shadow: 0px 0px 1px black;
-moz-box-shadow: 0px 0px 1px black;
}

#searchField::selection {
background-color: black;
color: white;
}

#searchField::-moz-selection {
background-color: black;
color: white;
}

#searchResultsBox {
min-height: 240px;
background-color: #eee;
background-image: url(images/searchResultsBackground.png);
background-repeat: repeat-x;
border: solid 1px;
border-color: #888 #aaa #aaa #aaa;
}

body:not(.javascript) #searchResultsBox {
border-top: none;
}

#noResultsMessage {
display: none;
margin-top: 100px;
text-align: center;
font-size: 2.5em;
font-family: Helvetica, Arial, sans-serif;
color: #888;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

#searchResults.listMode {
background-color: black;
}

#searchResults.listMode > a {
display: block;
position: relative;
margin-left: -1px;
width: 367px;
height: 50px;
padding: 14px;
padding-left: 418px;
background-color: #eee;
border: 1px solid #aaa;
border-top-color: #fff;
border-bottom-color: #aaa;
border-left: none;
text-shadow: 0px 1px white;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

#searchResults.listMode > a:hover {
opacity: 0.97;
}

#searchResults.listMode > a:active {
opacity: 0.8;
}

#searchResults.listMode > a:nth-child(even):not(.odd), #searchResults.listMode > a.even {
background-color: #ddd;
border-top-color: #eee;
}

#searchResults.listMode > a .banner {
position: absolute;
top: -1px;
left: 0px;
border-right: solid 1px #aaa;
}

#searchResults.listMode p {
display: inherit;
height: 50px;
padding: 0px;
margin: 0px;
font-family: sans-serif;
font-size: 0.9em;
color: #191919;
line-height: 1.8em;
overflow: hidden;
text-overflow: ellipsis;
}

#searchResults.gridMode {
padding: 60px 15px 0px 15px;
}

#searchResults.gridMode > a {
display: block;
float: left;
position: relative;
width: 80px;
height: 80px;
background-color: #ddd;
margin-bottom: 60px;
margin-left: 60px;
border-radius: 8px;
-moz-border-radius: 8px;
box-shadow: 0px 1px 5px rgba(0,0,0,0.8);
-webkit-box-shadow: 0px 1px 5px rgba(0,0,0,0.8);
-moz-box-shadow: 0px 1px 5px rgba(0,0,0,0.8);
}

#searchResults.gridMode > a:after {
display: block;
position: absolute;
top: 0px;
left: 0px;
width: 80px;
height: 80px;
background-color: transparent;
border-radius: 7px;
-moz-border-radius: 7px;
content: "";
}

#searchResults.gridMode > a:before {
display: block;
position: absolute;
top: -30px;
left: -30px;
width: 131px;
height: 0px;
padding: 3px;
padding-top: 126px;
padding-bottom: 25px;
background-image: url(images/thumbnailBackground.png);
background-position: 30px 30px;
background-repeat: no-repeat;
text-align: center;
font-size: 0.9em;
font-family: Helvetica, Arial, sans-serif;
font-weight: bold;
color: white;
text-shadow: 0px 1px 3px rgba(0,0,0,0.9);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
content: attr(title);
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

#searchResults.gridMode > a:active:before {
color: #ddd;
text-shadow: 0px 1px 3px black;
}

#searchResults.gridMode > a:active:after {
background-color: rgba(0,0,0,0.3);
}

#searchResults.gridMode > a .banner {
display: none;
}

#searchResults.gridMode > a p {
display: none;
}

#searchResults > a time {
display: none;
}

#searchResults > a .tags {
display: none;
}

/* Entry */

.entryTitle {
background-image: url(images/separatorBackground.png);
background-position: 0px -77px;
border-color: rgba(100,100,100,.4);
border-top-color: rgba(255,255,255,0.8);
border-bottom-color: rgba(0,0,0,0.4);
text-shadow: 0px 1px 0px rgba(255,255,255,0.55);
}

.entryHeader {
background-color: black;
width: 800px;
height: 80px;
}

.entryInfo {
display: block;
float: left;
width: 362px;
height: 54px;
padding: 14px 18px 10px 18px;
background-color: #eee;
font-family: sans-serif;
font-size: 0.9em;
color: #191919;
line-height: 1.8em;
border: 1px solid #aaa;
border-top-color: #fff;
border-bottom-color: #aaa;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.entryContent {
background-image: url(images/pageBackground.png);
background-repeat: repeat-x;
padding: 17px 20px;
padding-right: 20px;
background-color: #e7e7e7;
font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
font-size: 0.8em;
color: #333;
line-height: 1.7em;
border-left: solid 1px #888;
border-right: solid 1px #888;
border-bottom: solid 1px #999;
}

.entryContent .frame {
position: relative;
left: 50%;
margin-top: 40px;
margin-bottom: 80px;
border: 1px solid rgba(0,0,0,0.5);
box-shadow: 0px 1px 3px black;
-webkit-box-shadow: 0px 1px 3px black;
-moz-box-shadow: 0px 1px 3px black;
cursor: pointer;
user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
z-index: 10;
}

.javascript .entryContent .frame:after {
display: block;
position: absolute;
left: 50%;
top: 50%;
width: 87px;
height: 87px;
margin-left: -43px;
margin-top: -25px;
background-image: url(images/bigPlayButton.png);
content: "";
}

.javascript .entryContent .frame:before {
display: block;
position: absolute;
top: 0px;
left: 0px;
width: inherit;
height: inherit;
content: "";
}

.javascript .entryContent .frame:active:before {
background-color: rgba(0,0,0,0.2);
}

.javascript .entryContent .frame:active:after {
background-position: 0px -87px;
}

.entryContent .frame noscript {
width: inherit;
height: inherit;
}

.entryContent .frame iframe {
border: none;
width: inherit;
height: inherit;
}

.entryContent .frame img {
display: none;
}

.javascript .entryContent .frame img {
display: block;
width: inherit;
height: inherit;
opacity: 0;
}

.entryContent .frame.enabled {
cursor: default;
}

.entryContent .frame.enabled img {
display: none;
}

.entryContent .frame.enabled:before {
display: none;
}

.entryContent .frame.enabled:after {
display: none;
}

.entryContent .fullscreenButton {
display: block;
position: absolute;
bottom: -42px;
left: 50%;
width: 120px;
height: 25px;
margin-left: -60px;
background-color: #eee;
background-image: url(images/fullscreenButtonBackground.png);
text-align: center;
color: #888;
line-height: 2em;
text-shadow: 0px 1px 1px white;
border: solid 1px #ccc;
border-radius: 20px;
-moz-border-radius: 20px;
box-shadow: 0px 1px 4px rgba(0,0,0,0.1);
-webkit-box-shadow: 0px 1px 4px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.1);
cursor: pointer;
}

.entryContent .fullscreenButton:active {
background-position: 0px -25px;
color: #555;
border: solid 1px #aaa;
}

.entryContent h3 {
clear: both;
font-size: 1.3em;
color: black;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.entryContent h4 {
font-size: 1.1em;
color: black;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.entryContent p strong {
font-weight: normal;
}

.entryContent p a {
font-weight: bold;
}

.entryContent a img {
vertical-align: middle;
margin-bottom: 1px;
margin-left: 6px;
margin-right: 6px;
}

.entryContent > img {
clear: both;
float: right;
margin: 8px;
margin-left: 11px;
border: 1px solid rgba(0,0,0,0.5);
box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
-webkit-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
-moz-box-shadow: 0px 1px 3px rgba(0,0,0,0.4);
}

.javascript .entryContent img {
opacity: 0;
}

.entryContent img.vanilla {
background: none !important;
border: none;
box-shadow: none;
-webkit-box-shadow: none;
-moz-box-shadow: none;
}

.entryContent img.up {
margin-top: -24px;
}

.entryContent .tags {
font-size: 0.8em;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.entryContent .modifiedDate {
clear: both;
margin-top: 24px;
margin-bottom: -3px;
font-size: 0.8em;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

/* About */

.about {
padding: 8px 15px;
background-color: #efefef;
background-image: url(images/pageBackground.png);
background-repeat: repeat-x;
font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
font-size: 0.8em;
color: #333;
line-height: 1.7em;
border: 1px solid;
border-top-color: #ddd;
border-left-color: #888;
border-right-color: #888;
border-bottom-color: #bbb;
}

.about h3 {
color: black;
margin-bottom: 2px;
margin-top: 18px;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.about a {
color: black;
font-weight: bold;
}

/* 404 */

.notFound {
padding: 8px 15px;
background-color: #efefef;
background-image: url(images/pageBackground.png);
background-repeat: repeat-x;
font-family: "Lucida Grande", "Lucida Sans Unicode", sans-serif;
font-size: 0.8em;
color: #333;
line-height: 2em;
border: 1px solid;
border-top-color: #ddd;
border-left-color: #888;
border-right-color: #888;
border-bottom-color: #bbb;
}

.notFound p:first-child {
float: right;
font-size: 5em;
margin-top: 39px;
margin-right: 30px;
margin-left: 30px;
}

.notFound strong {
display: block;
color: black;
font-size: 1.3em;
margin-top: 5px;
margin-bottom: 7px;
-webkit-text-stroke: 1px rgba(0,0,0,0);
}

.notFound a {
color: black;
font-weight: bold;
}

/* Footer */

#footer {
height: 20px;
padding: 10px;
padding-top: 28px;
padding-bottom: 7px;
background-color: #aaa;
background-image: url(images/headerBackground.png);
background-repeat: repeat-x;
text-align: right;
font-family: sans-serif;
font-size: 0.7em;
color: #444;
text-shadow: 0px 1px 0px rgba(255,255,255,0.7);
border-top: solid 1px #fff;
border-left: 1px solid #666;
border-right: 1px solid #666;
-webkit-text-stroke: 1px rgba(0,0,0,0);
user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
cursor: default;
}

#footer a {
font-weight: bold;
}