/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

body {
    background: #3f3e3e;
    color: #fff;
    -webkit-font-smoothing: antialiased;
}

.aachen {
    font-family:'Alfa Slab One';
}

.wrapper {
    width: 700px;
    height: 520px;
    position: relative;
    margin: 0px auto;
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.6);
    box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.6);
}

.top {
    width: 100%;
    height: 288px;
}

.top .clock {
    float: left;
    width: 185px;
    height: 288px;
    position: relative;
}

.top .clock .hand {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
}

.top .clock .hand div {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.top .clock .face {
    width: 185px;
    height: 196px;
    background: url(../img/clockFace.png);
    position: absolute;
    z-index: 1;
}
.top .clock .txt {
    text-transform: uppercase;
    font-size: 22px;
    background: #231f20;
    height: 92px;
    width: 185px;
    position: absolute;
    bottom: 0;
}

.top .clock .txt .numMinutes {
    font-size: 36px;
}

.top .clock .txt .minToMidnight {
    margin-top: 15px;
    line-height: 25px;
    text-align: center;
}

.top .lgImage {
    float: left;
    top: 0;
    right: 0;
    width: 515px;
    height: 288px;
    position: relative;
    overflow: hidden;
    background: #e1e1e1;
}

.top .lgImage .holder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100000px;
    height: 288px;
}

.top .lgImage .holder .image {
    width: 515px;
    height: 288px;
    float: left;
}

.main {
    width: 100%;
    height: 200px;
    background: #851618;
    position: relative;
    overflow: hidden;
}

.main.culture {
    background: #734E56;
}

.main .holder, .main .cultureHolder {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100000px;
}

.main .holder .info, .main .cultureHolder .info {
    width: 700px;
    height: 180px;
    float: left;
    position: relative;
}

.main .holder .txt, .main .cultureHolder .txt {
    float: left;
    margin: 5px 18px;
}

.main .holder .txt h2, .main .cultureHolder .txt h2 {
    font-size: 28px;
    font-weight: 400;
    font-family:'Alfa Slab One';
    margin: 0;
}

.main .holder .txt p, .main .cultureHolder .txt p {
    margin: -4px 0 0 0;
    font-size: 13px;
    line-height: 16px;
    font-family: 'News Cycle', sans-serif;
    width: 530px;
    font-weight: 700;
}

.main .holder .thumb, .main .cultureHolder .thumb {
    /*float: right;
    margin: 18px 15px 0 0;*/
    position: absolute;
    top: 18px;
    right: 15px;
    height: 146px;
    width: 110px;
    -webkit-box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.4);
    box-shadow: 2px 2px 6px 0px rgba(0, 0, 0, 0.4);
}

.main .holder .thumb img, .main .cultureHolder .thumb img {
    width: 110px;
    height: 146px;
}

.bottom {
    /* or top inner dropshadow here? */
    position: relative;
    width: 100%;
    height: 52px;
    background: #851618;
    float: left;
    -webkit-box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0px 2px 3px 0px rgba(0, 0, 0, 0.2);
}

.bottom.culture {
    background: #734E56;
}

.bottom .labelLeft {
    color: yellow;
    font-size: 30px;
    position: absolute;
    top: 9px;
    left: 5px;
    background: url(../img/timeline_1947.png);
    height: 36px;
    width: 38px;
}

.bottom.culture .labelLeft {
    background: url(../img/timeline_1947_c.png);
}

.bottom .labelRight {
    color: yellow;
    font-size: 30px;
    position: absolute;
    top: 9px;
    right: 5px;
    background: url(../img/timeline_now.png);
    height: 36px;
    width: 33px;
}

.bottom.culture .labelRight {
    background: url(../img/timeline_now_c.png);
}

.slider {
    position: absolute;
    top: 100;
    background: url(../img/slider.png);
    height: 56px;
    width: 37px;
    cursor: pointer;
    z-index: 200;
    left: 40px;
    top: 472px;
}

.bottom .timeline {
    position: absolute;
    top: 26px;
    left: 51px;
    width: 600px;
    height: 2px;
    background: #B78984;
}

.bottom .cultureTimeline {
    display: none;
    position: absolute;
    top: 26px;
    left: 51px;
    width: 600px;
    height: 2px;
    background: #B78984;
}

.bottom .timeline .dot {
    position: absolute;
    top: -4px;
    height: 10px;
    width: 10px;
    background: url(../img/dot.png);
}

.bottom .cultureTimeline .dot {
    position: absolute;
    top: -4px;
    height: 10px;
    width: 10px;
    background: url(../img/dot_c.png);
}

.bottom .timeline .dot.current {
    background: url(../img/dotOn.png);
}

.bottom .cultureTimeline .dot.current {
    background: url(../img/dotOn.png);
}

.dot .hit {
    height: 20px;
    width: 10px;
    border: 1px dotted green;
    position: absolute;
    top: -7px;
    /*left: -3px;*/
    cursor: pointer;
}

.dot.current .hit {
    display: none;
}

.bottom .instructions {
    position: absolute;
    top: 2px;
    left: 70px;
    font-family: 'News Cycle', sans-serif;
    font-size: 12px;
}

.bottom .tabs {
    width: 224px;
    height: 12px;
    position: absolute;
    bottom: 0;
    left: 237px;
    color: #fff;
    /*cursor: pointer;*/
}

.bottom .tabs .tab1 {
    background: #A01D21;
    width: 112px;
    height: 12px;
    float: left;
}

.bottom .tabs .tab1 .title {
    position: absolute;
    top: 0;
    left: 15px;
    background: url(../img/clockShifts.png);
    height: 12px;
    width: 85px;
    /*opacity: 0.75;*/
}

.bottom .tabs .tab2 {
    background: #305188;
    width: 112px;
    height: 12px;
    float: left;

}

.bottom .tabs .title {
    opacity: 0.75;
}

.bottom .tabs .active {
    cursor: pointer;
}

.bottom .tabs .active .title {
    opacity: 0.25;
}

.bottom .tabs .tab2 .title {
    position: absolute;
    top: 0;
    right: -1px;
    background: url(../img/culture.png);
    height: 12px;
    width: 108px;
    /*opacity: 0.25;*/
}

.cultureImage {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 288px;
    overflow: hidden;
}


.cultureImage .holder {
    position: absolute;
    width: 100000px;
    height: 288px;
}

.cultureImage .holder .image {
    width: 700px;
    height: 288px;
    float: left;
}


.cultureHolder {
    display: none;
}

.hoverLeft {
    position: absolute;
    z-index: 500;
    height: 468px;
    width: 200px;
}

.hoverLeft .arrow {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 196px;
    left: -20px;
    background: url(../img/arrowL.png);
    display: none;
}

.hoverRight {
    position: absolute;
    right: 0;
    z-index: 500;
    height: 468px;
    width: 200px;
}

.hoverRight .arrow {
    height: 100px;
    width: 100px;
    position: absolute;
    top: 196px;
    right: -20px;
    background: url(../img/arrowR.png);
    display: none;
}

.content {
    display: none;
}

.cover {
    /*display: none;*/
    height: 100%;
    width: 100%;
    position: relative;
    background: #851618;
}

.cover .coverImage {
    position: absolute;
    top: 95px;
}

.cover .txt {
    text-align: center;
    position: absolute;
    top: 340px;
    width: 100%;
}

.cover .txt h1 {
    font-weight: 400;
    margin: 0;
    font-size: 40px;
    letter-spacing:3px;
}

.cover .txt h2 {
    font-weight: 400;
    margin: 0;
    font-size: 23px;
	letter-spacing:1.5px;
}

.cover .preloader {
    position: absolute;
    top: 440px;
    width: 200px;
    left: 50%;
    margin-left: -100px;
    text-align: center;
}

.cover .preloader .status {
    font-size: 14px;
}

.cover .preloader .spinner {
    width: 30px;
    height: 30px;
    background: url(../img/spinner.gif);
    margin-left: 85px;
    margin-top: 10px;
}

.cover .choice {
    display: none;
    position: absolute;
    top: 440px;
    text-align: center;
    width: 100%;
}

.cover .tabs {
    width: 250px;
    height: 12px;
    position: absolute;
    top: 30px;
    left: 225px;
    color: #fff;
    cursor: pointer;
}

.cover .tabs .tab1 {
    background: #A01D21;
    width: 112px;
    height: 12px;
    float: left;
}

.cover .tabs .tab1 .title {
    position: absolute;
    top: 0;
    left: 15px;
    background: url(../img/clockShifts.png);
    height: 12px;
    width: 85px;
    /*opacity: 0.75;*/
}

.cover .tabs .tab2 {
    background: #305188;
    width: 112px;
    height: 12px;
    float: right;

}

.cover .tabs .title {
    opacity: 0.75;
}

.cover .tabs .tab2 .title {
    position: absolute;
    top: 0;
    right: -1px;
    background: url(../img/culture.png);
    height: 12px;
    width: 108px;
    /*opacity: 0.25;*/
}









/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

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

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

