/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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: #000;
}

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


/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
	vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
	resize: vertical;
}

/*
 * 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;
}

html {
	display: table;
	width: 100%;
}

h2 {
	padding: 0px;
	margin: 0px;
	font-size: 24px;
}

body {
	display: table-cell;
	padding: 0 20px;
	vertical-align: middle;
}

.countdown {
	line-height: 1.2em;
	margin: 0 auto;
	max-width: 800px;
	text-align: center;
}

/* Example 10 */

/*! Copyright (c) 2013 Objective HTML, LLC
 *  Permission is hereby granted, free of charge, to any person obtaining a copy
 *  of this software and associated documentation files (the "Software"), to deal
 *  in the Software without restriction, including without limitation the rights
 *  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 *  copies of the Software, and to permit persons to whom the Software is
 *  furnished to do so, subject to the following conditions:

 *  The above copyright notice and this permission notice shall be included in all
 *  copies or substantial portions of the Software.

 *  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 *  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 *  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 *  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 *  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 *  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 *  SOFTWARE.
 */

.example--10 .countdown {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
}

.example--10 .countdown .unit-wrap {
    float: left;
    margin-left: 1.25em;
}

.example--10 .countdown .unit-wrap:first-child {
    margin-left: 0;
}

.example--10 .countdown .unit-wrap > div:before,
.example--10 .countdown .unit-wrap > div:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.example--10 .countdown .unit-wrap > div:after {
    clear: both;
}

.example--10 .countdown .unit-wrap > span {
    color: #555;
    display: block;
    font-size: 1.5em;
    margin: .66666666666667em 0 0;
}

.example--10 .countdown div.flip-wrap {
    color: #fff;
    cursor: pointer;
    text-decoration: none;
}

.example--10 .countdown div.flip-wrap:hover {
    color: #fff;
}

.example--10 .countdown div.digits {
    list-style: none;
}

.example--10 .countdown.clearfix:before,
.example--10 .countdown.clearfix:after {
    content: " ";
    display: table;
}

.example--10 .countdown.clearfix:after {
    clear: both;
}

.example--10 .countdown.clearfix {
    *zoom: 1;
}

html {
    display: table;
    width: 100%;
}

.example--10 {
    display: table-cell;
    padding: 0;
    text-align: center;
    vertical-align: middle;
}

.example--10 .countdown {
    display: inline-block;
    font-family: 'Open Sans', Arial;
    margin: 1em;
    position: relative;
    text-align: center;
    -webkit-user-select: none;
}

.example--10 .countdown:before,
.example--10 .countdown:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.example--10 .countdown:after {
    clear: both;
}

/* Skeleton */
.example--10 .countdown div.digits {
    background: #000;
    border-radius: 5px;
    float: left;
    font-size: 90px;
    height: 107px;
    line-height: 100px;
    margin: 0 2px;
    position: relative;
    width: 70px;
}

.example--10 .countdown div.digits div.digits-inner {
    left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.example--10 .countdown div.digits div.digits-inner:first-child {
    z-index: 2;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap {
    cursor: default !important;
    display: block;
    height: 100%;
    margin: 0 !important;
    overflow: visible !important;
    -webkit-perspective: 300px;
    -moz-perspective: 300px;
    perspective: 300px;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div {
    font-size: 90px;
    height: 50%;
    left: 0;
    position: absolute;
    outline: 1px solid transparent;
    overflow: hidden;
    width: 100%;
    z-index: 1;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div .shadow {
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 2;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up {
    -webkit-transform-origin: 50% 100%;
    -moz-transform-origin: 50% 100%;
    -ms-transform-origin: 50% 100%;
    -o-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    top: 0;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up:after {
    background-color: #000;
    background-color: rgba(0, 0, 0, 0.4);
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 73px;
    width: 100%;
    z-index: 5;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div.down {
    bottom: 0;
    -webkit-transform-origin: 50% 0;
    -moz-transform-origin: 50% 0;
    -ms-transform-origin: 50% 0;
    -o-transform-origin: 50% 0;
    transform-origin: 50% 0;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div div.inn {
    background-color: #191919;
    border-radius: 5px;
    color: #fff;
    font-size: 90px;
    height: 200%;
    left: 0;
    position: absolute;
    text-align: center;
    text-shadow: 0 1px 2px #000;
    width: 100%;
    z-index: 1;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up div.inn {
    background: #373737;
    top: 0;
}

.example--10 .countdown div.digits div.digits-inner div.flip-wrap div.down div.inn {
    bottom: 0;
}

/* PLAY */
.example--10 .countdown div.play div.digits-inner.before {
    z-index: 3;
}

.example--10 .countdown div.play div.digits-inner.active {
    -webkit-animation: asd 0.5s 0.5s linear both;
    -moz-animation: asd 0.5s 0.5s linear both;
    animation: asd 0.5s 0.5s linear both;
    z-index: 5;
}

@-webkit-keyframes asd {
    0% { z-index: 2; }
    20% { z-index: 4; }
    100% { z-index: 4; }
}

@-moz-keyframes asd {
    0% { z-index: 2; }
    20% { z-index: 4; }
    100% { z-index: 4; }
}

@-o-keyframes asd {
    0% { z-index: 2; }
    20% { z-index: 4; }
    100% { z-index: 4; }
}

@keyframes asd {
    0% { z-index: 2; }
    20% { z-index: 4; }
    100% { z-index: 4; }
}

.example--10 .countdown div.play div.digits-inner.active .down {
    -webkit-animation: turn 0.5s 0.5s linear both;
    -moz-animation: turn 0.5s 0.5s linear both;
    animation: turn 0.5s 0.5s linear both;
    z-index: 2;
}

@-webkit-keyframes turn {
    0% { -webkit-transform: rotateX(90deg); }
    100% { -webkit-transform: rotateX(0deg); }
}

@-moz-keyframes turn {
    0% { -moz-transform: rotateX(90deg); }
    100% { -moz-transform: rotateX(0deg); }
}

@-o-keyframes turn {
    0% { -o-transform: rotateX(90deg); }
    100% { -o-transform: rotateX(0deg); }
}

@keyframes turn {
    0% { transform: rotateX(90deg); }
    100% { transform: rotateX(0deg); }
}

.example--10 .countdown div.play div.digits-inner.before .up {
    -webkit-animation: turn2 0.5s linear both;
    -moz-animation: turn2 0.5s linear both;
    animation: turn2 0.5s linear both;
    z-index: 2;
}

@-webkit-keyframes turn2 {
    0% { -webkit-transform: rotateX(0deg); }
    100% { -webkit-transform: rotateX(-90deg); }
}

@-moz-keyframes turn2 {
    0% { -moz-transform: rotateX(0deg); }
    100% { -moz-transform: rotateX(-90deg); }
}

@-o-keyframes turn2 {
    0% { -o-transform: rotateX(0deg); }
    100% { -o-transform: rotateX(-90deg); }
}

@keyframes turn2 {
    0% { transform: rotateX(0deg); }
    100% { transform: rotateX(-90deg); }
}

.example--10 .countdown div div.digits-inner.active {
    z-index: 3;
}

/* SHADOW */
.example--10 .countdown div.play div.digits-inner.before .up .shadow {
    -webkit-animation: show 0.5s linear both;
    -moz-animation: show 0.5s linear both;
    animation: show 0.5s linear both;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
    background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
}

.example--10 .countdown div.play div.digits-inner.active .up .shadow {
    -webkit-animation: hide 0.5s 0.3s linear both;
    -moz-animation: hide 0.5s 0.3s linear both;
    animation: hide 0.5s 0.3s linear both;
    background: -moz-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0.1)), color-stop(100%, black));
    background: linear, top, rgba(0, 0, 0, 0.1) 0%, black 100%;
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: -ms-linear-gradient(top, rgba(0, 0, 0, 0.1) 0%, black 100%);
    background: linear, to bottom, rgba(0, 0, 0, 0.1) 0%, black 100%;
}

/*DOWN*/
.example--10 .countdown div.play div.digits-inner.before .down .shadow {
    -webkit-animation: show 0.5s linear both;
    -moz-animation: show 0.5s linear both;
    animation: show 0.5s linear both;
    background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
    background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
}

.example--10 .countdown div.play div.digits-inner.active .down .shadow {
    -webkit-animation: hide 0.5s 0.3s linear both;
    -moz-animation: hide 0.5s 0.3s linear both;
    animation: hide 0.5s 0.2s linear both;
    background: -moz-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, black), color-stop(100%, rgba(0, 0, 0, 0.1)));
    background: linear, top, black 0%, rgba(0, 0, 0, 0.1) 100%;
    background: -o-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: -ms-linear-gradient(top, black 0%, rgba(0, 0, 0, 0.1) 100%);
    background: linear, to bottom, black 0%, rgba(0, 0, 0, 0.1) 100%;
}

@-webkit-keyframes show {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-moz-keyframes show {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-o-keyframes show {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes show {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@-webkit-keyframes hide {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@-moz-keyframes hide {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@-o-keyframes hide {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

@keyframes hide {
    0% { opacity: 1; }
    100% { opacity: 0; }
}

/* 900 PIXEL */

@media all and (max-width: 900px) {
    .example--10 .countdown .unit-wrap {
        margin-left: 0.75em;
    }

    .example--10 .countdown .unit-wrap > span {
        font-size: 1em;
        margin: .66666666666667em 0 0;
    }

    .example--10 .countdown {
        margin: .75em;
    }

    .example--10 .countdown div.digits {
        font-size: 70px;
        height: 100px;
        line-height: 100px;
        margin: 0 2px;
        width: 50px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div {
        font-size: 70px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up:after {
        height: 2px;
        top: 48px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div div.inn {
        font-size: 70px;
        left: 0;
    }
}

/* 650 PIXEL */

@media all and (max-width: 650px) {
    .example--10 .countdown .unit-wrap {
        margin-left: 0.5em;
    }

    .example--10 .countdown .unit-wrap > span {
        font-size: 1em;
        margin: .5em 0 0;
    }

    .example--10 .countdown {
        margin: .75em;
    }

    .example--10 .countdown div.digits {
        font-size: 40px;
        height: 70px;
        line-height: 70px;
        margin: 0 2px 0 0;
        width: 40px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div {
        font-size: 40px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up:after {
        height: 2px;
        top: 33px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div div.inn {
        font-size: 40px;
        left: 0;
    }
}

/* 500 PIXEL */

@media all and (max-width: 500px) {
    .example--10 .countdown .unit-wrap {
        margin-left: 0.4em;
    }

    .example--10 .countdown .unit-wrap > span {
        font-size: .75em;
        margin: .5em 0 0;
    }

    .example--10 .countdown {
        margin: .75em;
    }

    .example--10 .countdown div.digits {
        font-size: 30px;
        height: 50px;
        line-height: 50px;
        margin: 0 1px 0 0;
        width: 26px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div {
        font-size: 30px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div.up:after {
        height: 2px;
        top: 24px;
    }

    .example--10 .countdown div.digits div.digits-inner div.flip-wrap div div.inn {
        font-size: 30px;
        left: 0;
    }
}