* {
    margin: 0;
    padding: 0;
    border: 0;
    font: inherit;
    vertical-align: baseline;
}

body {
    line-height: 1;
}

ol, ul {
    list-style: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
    vertical-align: middle;
}

q, blockquote {
    quotes: none;
}

q:before, q:after, blockquote:before, blockquote:after {
    content: "";
}

a img {
    border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    display: block;
}

html {
    background: url(img/page-bg.png) repeat-x #333333;
    font: 0.85em/1 "Aldrich", Helvetica, Arial, sans-serif;
    color: #999;
}

header {
    margin: 20px 140px;
}

h1 {
    font-size: 48px;
    color: #2edbac;
    text-transform: uppercase;
}

h2 {
    font-size: 22px;
    color: #555;
}

a {
    color: #2edbac;
    text-decoration: none;
}

a:hover {
    border-bottom: solid 1px #2edbac;
}

#page {
    width: 960px;
    margin: 0 auto;
}

#viewport-shadow {
    position: relative;
    width: 680px;
    padding: 0 140px 70px;
    background: url(img/box-shadow.png) bottom no-repeat;
}

#viewport, #box, .slide {
    width: 680px;
    height: 460px;
}

#viewport {
    overflow: hidden;
}

footer {
    margin: 0 140px;
}

#controls {
    position: relative;
    top: -40px;
    float: right;
    overflow: hidden;
}

#controls li {
    display: inline;
}

.goto-slide {
    margin-left: 10px;
    width: 14px;
    height: 14px;
    display: block;
    float: left;
    border: solid 1px #000;
    background-color: #555;
    border-radius: 8px;
    -webkit-box-shadow: inset 0 0 8px #333;
    -moz-box-shadow: inset 0 0 8px #333;
    box-shadow: inset 0 0 8px #333;
}

.goto-slide.current {
    background-color: #2edbac;
}

#next, #prev {
    position: absolute;
    top: 80px;
    width: 30px;
    height: 300px;
    background: url(img/next-prev-sprite.png) no-repeat;
    display: block;
    -webkit-transition: background .4s;
    -moz-transition: background .4s;
    transition: background .4s;
}

#next:hover, #prev:hover {
    background: url(img/next-prev-sprite-hover.png) no-repeat;
    border: none;
}

#prev {
    left: 90px;
}

#next, #next:hover {
    left: 840px;
    background-position: -30px 0;
}

#effect-switcher h2 {
    border-bottom: solid 1px #555;
    margin: 0 0 10px;
}

#effect-list {
    overflow: hidden;
}

#effect-list li {
    display: inline;
}

.effect, .effect:hover {
    display: block;
    float: left;
    margin: 0 10px 0 0;
    border: solid 1px black;
    border-radius: 7px;
    padding: 10px 12px 6px;
    color: #ccc;
    text-decoration: none;
    background-color: #555;
    -webkit-box-shadow: inset 0 0 8px #000;
    -moz-box-shadow: inset 0 0 8px #333;
    box-shadow: inset 0 0 8px #333;
}

.effect.current, .effect:hover.current {
    color: #2edbac;
}

#time-indicator {
    width: 0;
    height: 3px;
    background-color: #2edbac;
    position: absolute;
    top: 460px;
    left: 140px;
}


