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

*{
    margin:             0;
    padding:            0;
    list-style:         none;
    }

html{
    overflow-y: scroll;
    }

body{
    margin:             18px auto;
    color:              #FFF;
    background-color:   #000;
    text-align:         center;
    font-family:        Helvetica, Arial, sans-serif;
    }

a{
    outline:            none;
    color:              #FFF;
    }

img{
    border:             none;
    }



/* --------------------------------------------------
  REUSED STYLING
-------------------------------------------------- */
nav,
section,
footer{
    position:           relative;
    z-index:            1;
    -webkit-transform:  translateZ(0);
    }


nav ul,
footer ul{
    white-space:        nowrap;
    }

nav li,
footer li{
    display:            inline;
    }

nav li a,
nav li span,
footer li a,
#modal a{
    display:            inline-block;
    position:           relative;
    text-indent:        -9999px;
    #text-indent:       0;
    line-height:        0;
    font-size:          0;
    vertical-align:     top;
    background-repeat:  no-repeat;
    color:              #000;
    }

#critics,
hgroup{
    display:            block;
    text-indent:        -9999px;
    }

.top h1,
#critics,
#now_playing hgroup{
    margin-right:       auto;
    margin-left:        auto;
    background-repeat:  no-repeat;
    }



/* --------------------------------------------------
  NAVIGATION AT TOP
-------------------------------------------------- */
nav.top ul a{
    margin:             0 15px 6px;
    }

nav.top #critics{
    margin:             20px auto 8px;
    }

nav.top h2{
    display:            none;
    }



/* --------------------------------------------------
  TRAILER LINK
-------------------------------------------------- */
#trailer{
    margin:             0 auto;
    }



/* --------------------------------------------------
  NOW PLAYING SECTION W/ THEATRE SEARCH
-------------------------------------------------- */
#now_playing{
    position:           relative;
    margin-top:         25px;
    margin-bottom:      45px;
    }

#now_playing hgroup h1,
#now_playing hgroup h2{
    display:            none;
    }

#search_form input{
    vertical-align:     middle;
    }

#address{
    margin-right:       6px;
    padding:            2px 0;
    width:              200px;
    border:             2px solid #4D88BB;
    outline:            none;
    color:              #4D88BB;
    text-align:         center;
    text-transform:     uppercase;
    font-weight:        bold;
    font-size:          12px;
    }

#address.placeholder{
    color:              #BABABA;
    }

#search_form input.disabled{
    opacity:            .4;
    }


/* --------------------------------------------------
  NAVIGATION AT TOP
-------------------------------------------------- */
.bottom{
    padding-bottom:     4px;
    }

.bottom li a{
    margin:             0 80px;
    }

.bottom .follow_us a{
    position:           relative;
    top:                -10px;
    margin:             0 0 0 3px;
    }



/* --------------------------------------------------
  MAILING LIST SIGNUP FORM
-------------------------------------------------- */
#mailing_list_signup{
    display:            none;
    margin:             0 auto;
    padding:            0 24px;
    width:              300px;
    overflow:           hidden;
    -webkit-text-stroke:1px transparent;
    background:         transparent url(../images/rgba_0_0_0_30.png) 0 0 repeat;
    _background:        #000;
    -webkit-border-radius:  6px;
    -moz-border-radius:     6px;
    border-radius:          6px;
    font-size:              11px;
    }

#mailing_list_signup h1{
    padding-top:        18px;
    font-style:         italic;
    font-weight:        normal;
    font-size:          15px;
    line-height:        18px;
    }

#mailing_list_signup form{
    margin:             12px 12px 20px;
    }

#mailing_list_signup label{
    display:            block;
    opacity:            .9999;
    margin:             6px 0;
    text-align:         right;
    text-transform:     uppercase;
    font-weight:        bold;
    font-size:          12px;
    }

#mailing_list_signup label input{
    margin-left:        2px;
    padding:            1px 3px;
    width:              180px;
    height:             22px;
    border:             2px solid #4D88BB;
    font-size:          14px;
    }

#mailing_list_signup .submit{
    margin-top:         7px;
    }

#mailing_list_signup a{
    text-transform:     uppercase;
    text-decoration:    none;
    font-weight:        bold;
    font-size:          12px;
    }



/* --------------------------------------------------
  FOOTER
-------------------------------------------------- */
footer{
    margin:             15px auto 40px;
    padding:            18px 0 12px;
    width:              560px;
    background:         transparent url(../images/rgba_0_0_0_30.png) 0 0 repeat;
    _background:        none;
    -webkit-border-radius:  6px;
    -moz-border-radius:     6px;
    border-radius:          6px;
    }

footer li a{
    margin:             0 13px 18px;
    vertical-align:     middle;
    }

footer p,
footer small{
    font-size:          11px;
    line-height:        14px;
    -webkit-text-stroke:1px transparent;
    }



/* --------------------------------------------------
  MODAL VIDEO PLAYER
-------------------------------------------------- */
#modal{
    display:            none;
    position:           fixed;
    _position:          absolute;
    z-index:            1;
    top:                0;
    right:              0;
    bottom:             0;
    left:               0;
    background:         transparent url(../images/rgba_0_0_0_80.png) 0 0 repeat;
    }

#video{
    margin:             50px auto 0;
    width:              960px;
    height:             540px;
    }

#map{
    margin:             50px auto 0;
    width:              540px;
    height:             540px;
    }

#map{
    color:              #222;
    text-align:         left;
    }

#map h1{
    font-size:          20px;
    line-height:        20px;
    }

#map h2{
    font-weight:        normal;
    font-size:          14px;
    }

#map p{
    margin-bottom:      6px;
    color:              #666;
    font-style:         italic;
    font-size:          11px;
    }

#modal .close_link{
    cursor:             pointer;
    margin-top:         12px;
    }

#modal.video .close_link{
    width:              179px;
    height:             24px;
    background-image:   url(../images/exit_video_player.png);
    }

#modal.map .close_link{
    width:              124px;
    height:             24px;
    background-image:   url(../images/exit_map.png);
    }


/* --------------------------------------------------
  SPRITES
-------------------------------------------------- */
.top .about a{width: 48px; height: 19px; background-image: url(../images/nav_top/about.png);}
.top .gallery a{width: 57px; height: 23px; background-image: url(../images/nav_top/gallery.png);}
.top .educators_resources a{width: 162px; height: 19px; background-image: url(../images/nav_top/educators_resources.png);}
.top .now_showing a{width: 112px; height: 23px; background-image: url(../images/nav_top/now_showing.png);}
.top .press_center a{width: 99px; height: 19px; background-image: url(../images/nav_top/press_center.png);}
.top .behind_the_scenes a{width: 146px; height: 19px; background-image: url(../images/nav_top/behind_the_scenes.png);}

#critics{width: 275px; height: 19px; background-image: url(../images/critics.png);}

.top h1{width: 515px; height: 265px; background-image: url(../images/mttm_logo.png);}

#now_playing hgroup{width: 496px; height: 57px; background-image: url(../images/now_playing.png);}

.bottom .join_mailing_list a{width: 162px; height: 23px; background-image: url(../images/nav_bottom/join_our_mailing_list.png);}
.bottom .follow_us span{width: 88px; height: 19px; background-image: url(../images/nav_bottom/join_us_on.png);}
.bottom .nanotoon_store a{width: 123px; height: 19px; background-image: url(../images/nav_bottom/nanotoon_store.png);}
.bottom .twitter_logo{width: 30px; height: 30px; background-image: url(../images/nav_bottom/twitter_logo.png);}
.bottom .facebook_logo{width: 30px; height: 30px; background-image: url(../images/nav_bottom/facebook_logo.png);}

footer .nsf_logo a{width: 45px; height: 45px; background-image: url(../images/nsf_logo.png);}
footer .rensselaer_logo a{width: 236px; height: 43px; background-image: url(../images/rensselaer_logo.png);}
footer .nystar_logo a{width: 158px; height: 55px; background-image: url(../images/nystar_logo.png);}



/* --------------------------------------------------
  SLIDING BACKGROUND IMAGES
-------------------------------------------------- */
#background{
    display:            none;
    }

.background{
    position:           fixed;
    _position:          absolute;
    top:                50%;
    opacity:            0;
    -webkit-transform:  translateZ(0);
    -webkit-transition: -webkit-transform 400ms ease-out;
    }
