/* Resets and fixes */
* {
	border: medium none;
	margin: 0;
	padding: 0;
}

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

canvas {
    display: inline-block;
    *display: inline;
    *zoom: 1;
}

/* Layout */
.grid_1,
.grid_2,
.grid_3,
.grid_4,
.grid_5,
.grid_6,
.grid_7,
.grid_8,
.grid_9,
.grid_10,
.grid_11,
.grid_12 {
  display: inline;
  float: left;
  margin-left: 10px;
  margin-right: 10px;
}

.push_1, .pull_1,
.push_2, .pull_2,
.push_3, .pull_3,
.push_4, .pull_4,
.push_5, .pull_5,
.push_6, .pull_6,
.push_7, .pull_7,
.push_8, .pull_8,
.push_9, .pull_9,
.push_10, .pull_10,
.push_11, .pull_11 {
  position: relative;
}

.alpha {
  margin-left: 0;
}

.omega {
  margin-right: 0;
}

.grid_1 {
  width: 60px;
}

.grid_2 {
  width: 140px;
}

.grid_3 {
  width: 220px;
}

.grid_4 {
  width: 300px;
}

.grid_5 {
  width: 380px;
}

.grid_6 {
  width: 460px;
}

.grid_7 {
  width: 540px;
}

.grid_8 {
  width: 620px;
}

.grid_9 {
  width: 700px;
}

.grid_10 {
  width: 780px;
}

.grid_11 {
  width: 860px;
}

.grid_12 {
  width: 940px;
}

.prefix_1 {
  padding-left: 80px;
}

.prefix_2 {
  padding-left: 160px;
}

.prefix_3 {
  padding-left: 240px;
}

.prefix_4 {
  padding-left: 320px;
}

.prefix_5 {
  padding-left: 400px;
}

.prefix_6 {
  padding-left: 480px;
}

.prefix_7 {
  padding-left: 560px;
}

.prefix_8 {
  padding-left: 640px;
}

.prefix_9 {
  padding-left: 720px;
}

.prefix_10 {
  padding-left: 800px;
}

.prefix_11 {
  padding-left: 880px;
}

.suffix_1 {
  padding-right: 80px;
}

.suffix_2 {
  padding-right: 160px;
}

.suffix_3 {
  padding-right: 240px;
}

.suffix_4 {
  padding-right: 320px;
}

.suffix_5 {
  padding-right: 400px;
}

.suffix_6 {
  padding-right: 480px;
}

.suffix_7 {
  padding-right: 560px;
}

.suffix_8 {
  padding-right: 640px;
}

.suffix_9 {
  padding-right: 720px;
}

.suffix_10 {
  padding-right: 800px;
}

.suffix_11 {
  padding-right: 880px;
}

.push_1 {
  left: 80px;
}

.push_2 {
  left: 160px;
}

.push_3 {
  left: 240px;
}

.push_4 {
  left: 320px;
}

.push_5 {
  left: 400px;
}

.push_6 {
  left: 480px;
}

.push_7 {
  left: 560px;
}

.push_8 {
  left: 640px;
}

.push_9 {
  left: 720px;
}

.push_10 {
  left: 800px;
}

.push_11 {
  left: 880px;
}

.pull_1 {
  left: -80px;
}

.pull_2 {
  left: -160px;
}

.pull_3 {
  left: -240px;
}

.pull_4 {
  left: -320px;
}

.pull_5 {
  left: -400px;
}

.pull_6 {
  left: -480px;
}

.pull_7 {
  left: -560px;
}

.pull_8 {
  left: -640px;
}

.pull_9 {
  left: -720px;
}

.pull_10 {
  left: -800px;
}

.pull_11 {
  left: -880px;
}

.clear {
  clear: both;
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clearfix:before,
.clearfix:after,
section:before,
section:after {
  content: '.';
  display: block;
  overflow: hidden;
  visibility: hidden;
  font-size: 0;
  line-height: 0;
  width: 0;
  height: 0;
}

.clearfix:after,
section:after {
  clear: both;
}

.clearfix,
section {
  zoom: 1;
}

body {
    margin: 1em auto 0;
    width: 960px;
}

section {
    margin-bottom: 3em;
}

footer {
    margin-top: 2em;
    padding: 1.5em 0;
    background-color: #303030;
}

/* Typography */
body {
    background-color: #333;
	color: #fff;
	font-size: 18px;
	font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
    text-align: center;
    overflow-y: scroll;
}

a {
    color: #d92b3a;
}

h1, h2, h3 {
    font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

h1 {
    font-family: 'Holtwood One SC', serif;
    font-weight: normal;
    font-size: 2.2em;
    letter-spacing: 2px;
    margin-bottom: 1em;
    text-shadow: 0px 10px 15px #222;
}

h1::before, h1::after {
    display: inline-block;
    padding: 0 0.5em;
    content: "\2605";
    font-size: 23px;
    vertical-align: middle;
}

h2 {
    margin-bottom: 0.5em;
    padding: 0.5em 0;
    background-color: #292929;
    font-size: 1.2em;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
}

p {
    margin-bottom: 1.5em;
    letter-spacing: 1px;
}

.stat {
    font-weight: bolder;
}

.two-column {
    -moz-column-count: 2;
    -moz-column-gap: 20px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
    column-count: 2;
    column-gap: 20px;
}

ol, ul {
    list-style-position: inside;
    line-height: 1.4;
}

ul {
    list-style-type: none;
}

footer p {
    margin-bottom: 0.3em;
    font-size: 0.8em;
}

footer p img {
    vertical-align: middle;
}

/* Display compiled stats */
h2 {
    position: relative;
}

h2:after {
    position: absolute;
    top: -10px;
    left: 2px;
    width: 64px;
    height: 64px;
}

.size h2:after {
    content: url(../img/chair.png);
}

.genres h2:after {
    content: url(../img/clapperboard.png);
}

.directors h2:after {
    content: url(../img/megaphone.png);
}

.actors h2:after {
    content: url(../img/reel.png);
}

.years h2:after {
    content: url(../img/camera.png);
}

.ratings h2:after {
    content: url(../img/popcorn.png);
}

.movie {
    float: left;
    width: 450px;
    padding: 15px;
    text-align: left;
}

.movie-poster {
    width: 69px;
    height: 96px;
    float: left;
    margin-right: 1em;
}

#years-chart {
    margin-top: 2em;
    margin-bottom: 1em;
}

.share-buttons {
    position: relative;
}

.fb-share {
    position: relative;
    top: -9px;
    display: inline-block;
    height: 26px;
    margin: 0;
    padding: 0 7px 0 30px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 26px;
    text-decoration: none;
    color: #333333;
    background-color: #f8f8f8;
    background-image: -webkit-gradient(linear,left top,left bottom,from(#fff),to(#dedede));
    background-image: -moz-linear-gradient(top,#fff,#dedede);
    background-image: -o-linear-gradient(top,#fff,#dedede);
    background-image: -ms-linear-gradient(top,#fff,#dedede);
    background-image: linear-gradient(top,#fff,#dedede);
    border: #ccc solid 1px;
    text-shadow: 0 1px 0 rgba(255,255,255,.5);
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
}

.fb-share i {
    position: absolute;
    top: 5px;
    left: 7px;
    display: block;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    background: transparent url(../img/fb.png) no-repeat left top;
}

/* Search form */
form {
    padding: 1em 0;
}

form p {
    font-size: 0.65em;
}

form p:first-child {
    font-size: 1em;
}

.error {
    width: 700px;
    margin: 0 auto 0.7em;
    padding: 10px 0;
    background-color: #d92b3a;
}

textarea, input {
    font-family: Constantia, "Lucida Bright", Lucidabright, "Lucida Serif", Lucida, "DejaVu Serif", "Bitstream Vera Serif", "Liberation Serif", Georgia, serif;
    font-size: 1.2em;
}

textarea {
    display: block;
    width: 692px;
    height: 15em;
    max-width: 692px;
    margin: 0 auto 0.5em;
    padding: 4px;
    background: #f2efef;
    background: -moz-linear-gradient(top,  #f2efef 1%, #ffffff 50%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#f2efef), color-stop(50%,#ffffff));
    background: -webkit-linear-gradient(top,  #f2efef 1%,#ffffff 50%);
    background: -o-linear-gradient(top,  #f2efef 1%,#ffffff 50%);
    background: -ms-linear-gradient(top,  #f2efef 1%,#ffffff 50%);
    background: linear-gradient(to bottom,  #f2efef 1%,#ffffff 50%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2efef', endColorstr='#ffffff',GradientType=0 );
}

.cta {
    width: 700px;
    padding: 12px;
    border: 2px solid #bc0b1a;
    background: #bc0b1a;
    background: -moz-linear-gradient(top,  #bc0b1a 1%, #9b010e 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#bc0b1a), color-stop(100%,#9b010e));
    background: -webkit-linear-gradient(top,  #bc0b1a 1%,#9b010e 100%);
    background: -o-linear-gradient(top,  #bc0b1a 1%,#9b010e 100%);
    background: -ms-linear-gradient(top,  #bc0b1a 1%,#9b010e 100%);
    background: linear-gradient(to bottom,  #bc0b1a 1%,#9b010e 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#bc0b1a', endColorstr='#9b010e',GradientType=0 );
    color: #fff;
    font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    text-shadow: 0px 0px 4px rgba(0, 0, 0, 0.8);
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: moz-none;
    -ms-user-select: none;
    user-select: none;
}

.cta:active {
    border: 2px solid #56030a;
    -moz-box-shadow: inset 2px 2px 7px 2px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: inset 2px 2px 7px 2px rgba(0, 0, 0, 0.4);
    box-shadow: inset 2px 2px 7px 2px rgba(0, 0, 0, 0.4);
}

.progress {
    padding: 5em 0 1em;
    font-size: 1.2em;
}

.shelf-container {
    position: relative;
    display: block;
    width: 960px;
    height: 60px;
    border-top: 3px solid #242424;
    margin-bottom: 4em;
    padding: 15px 10px;
    overflow: hidden;
}

.shelf {
    position: relative;
    width: 100%;
    height: 60px;
    max-height: 60px;
    text-align: left;
    overflow: hidden;
}

.shelf img {
    display: inline;
    margin: 0 15px 0 0;
    height: 60px;
}

/* Miscellaneous */
.chromeframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 0.5em 0;
    background: #fbf8d5;
    border-bottom: 1px solid #ddd;
    color: #000;
    font-size: 1em;
    text-align: center;
    z-index: 10;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}