/*
	Project Name: Leap Second Countdown
	Description: HTML5 responsive webpage built by Let's Build LLC.
	Version: 1.00.00
	Author: Let's Build Engineering
	Author URI: http://www.letsbuild.la
*/

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



html.video p.no-html5-video {

	display: none;

}

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

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

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

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

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

textarea {
    resize: vertical;
}


@font-face {

    font-family: 'dosisextralight';
    src: url('/_/fonts/dosis-extralight-webfont.eot');
    src: url('/_/fonts/dosis-extralight-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_/fonts/dosis-extralight-webfont.woff2') format('woff2'),
         url('/_/fonts/dosis-extralight-webfont.woff') format('woff'),
         url('/_/fonts/dosis-extralight-webfont.ttf') format('truetype'),
         url('/_/fonts/dosis-extralight-webfont.svg#dosisextralight') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {

    font-family: 'dosissemibold';
    src: url('/_/fonts/dosis-semibold-webfont.eot');
    src: url('/_/fonts/dosis-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('/_/fonts/dosis-semibold-webfont.woff2') format('woff2'),
         url('/_/fonts/dosis-semibold-webfont.woff') format('woff'),
         url('/_/fonts/dosis-semibold-webfont.ttf') format('truetype'),
         url('/s_/fonts/dosis-semibold-webfont.svg#dosissemibold') format('svg');
    font-weight: normal;
    font-style: normal;

}


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

body {
	
	opacity: 0;
	font-family: 'dosisextralight', sans-serif;
/* 	background-color: #ccc; */
	background-image: url('../graphics/ui-gradient-background.jpg');
	background-position: center top;

	transition: opacity 1s;
	-moz-transition: opacity 1s;
	-o-transition: opacity 1s;
	-webkit-transition: opacity 1s;
	
}

.no-select {
	
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	user-select: none;
	
}

body.show {
	
	opacity: 1;

}

body.video-active {
	
	background-color: #000;
	background-image: none;
	
}

div.browser-error {

	position: absolute;
	height: 100%;
	width: 100%;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.9);
	z-index: 999;
	color: #fff;
	text-transform: uppercase;
	text-align: center;

}

div.browser-error a {

	color: #fff;

}

div.browser-error p {

	font-size: 1.4em;
	padding: 200px 0px;

}


div#header-wrap {
	
	text-align: center;
	/*margin-top: 60px;*/
	margin: 20px auto 0px auto;
	max-width: 900px;
	padding: 0px 30px;
	
}

div#header-wrap > img {
	
	max-width: 70%;
	
}

div#header-wrap p {

	/*text-transform: uppercase;*/
	font-size: 1.2em;
	font-weight: 100;
	margin-bottom: 0px;

}

div#video-wrap {
	
	position: absolute;
	z-index: 980;
	top: 0px;
	left: 0px;
	height: 100%;
	width: 100%;
	/*display: none;*/
	background-color: #000;

	display: none;
	
}


div#video-wrap div.video-notice {

	position: absolute;
	background-color: rgba( 0, 0, 0, 0.7 );
	text-align: center;
	color: #fff;
	width: 100%;
	text-transform: uppercase;

	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);

	display: none;
	z-index: 995;

}

div#video-wrap div.video-notice span {

	font-size: 0.8em;

}

body.video-active div#video-wrap {
	
	display: block;
	
}

div#video-wrap div.video-overlay {

	position: absolute;
	z-index: 999;


}

div#video-wrap video {
	
	display: none;
	height: 100%;
	width: 100%;

	z-index: 990;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;

	background-color: black;
	background-color: #000;
	background-size: contain;

	object-fit: cover;
	-moz-object-fit: cover;
	-webkit-object-fit: cover;
	-o-object-fit: cover;
	
}

body.iPad div#video-wrap video {

	object-fit: contain;

}

div#text-wrap {
	
	position: relative;
	background-color: #000;
	width: 100%;
	padding: 10px 0px;
	text-align: center;
	z-index: 1;
	margin: 20px 0px 0px 0px;
	
}

div#text-wrap h2 {
	
	font-family: 'Oswald', sans-serif;
	font-weight: normal;
	position: relative;
	z-index: 2;
	font-size: 4.0em;
	margin: 0em 0;
	line-height: 1.7em;
	top: 11px;
	color: #000;

}


div#button-wrap {
	
	width: 100%;
	text-align: center;
	z-index: 15;
	position: relative;
	margin-top: 40px;

}

div#button-wrap.short button {

	width: 200px;

}

div#button-wrap button {
	
	/*display: none;*/
	/*opacity: 0;*/
	position: relative;
    background-color: transparent;
    border: none;
    outline: none;
    width: 24%;
    max-width: 295px;
    text-align: center;
    cursor: pointer;
    
}

div#button-wrap button:disabled {

	cursor: default;

}

body.app-ready div#button-wrap button {

	opacity: 1;

	transition: opacity 1s;
	-webkit-transition: opacity 1s;
	-moz-transition: opacity 1s;
	-o-transition: opacity 1s;

}

body div#button-wrap button div.loading-wrap {

	position: absolute;
	width: 100%;
	top: 50%;
	-webkit-transform: translateY(-50%);
	-ms-transform: translateY(-50%);
	-o-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 20;
	text-align: center;

}

body.app-ready div#button-wrap button img.active {

	display: none;

}

body div#button-wrap button img.clean {

	display: none;

}

body.loading div#button-wrap button img {

	display: none;

}

body div#button-wrap button div.loading-wrap {

	display: none;

}

body.loading div#button-wrap button div.loading-wrap {

	display: block;

}

body.loading div#button-wrap button div.loading-wrap img.loading-animation {

	display: inline-block;
	position: relative;
	left: -6px;
	top: -3px;

}

body.loading div#button-wrap button img.clean {

	display: block;

}

div#button-wrap button img.inactive {

	display: block;

}

div#button-wrap button img.active {

	display: none;

}

div#button-wrap button:disabled img.clean {

	display: block !important;

}

div#button-wrap button:disabled img.active,
div#button-wrap button:disabled img.inactive {

	display: none;

}

div#button-wrap button.enabled:active img.active,
div#button-wrap button.enabled.active img.active {

	display: block !important;

}

div#button-wrap button.enabled:active img.inactive,
div#button-wrap button.enabled.active img.inactive {

	display: none;

}

div#button-wrap button > img {
	
	max-width: 100%;
	
}

div#button-wrap div#social-wrap {
	
	margin: 20px 0px 10px 0px;
	
}

div#button-wrap div#social-wrap a.button {
	
	display: inline-block;
	padding: 10px 20px 10px 15px;
	text-decoration: none;
	color: #fff;
	font-size: 1.0em;
	margin-right: 20px;
	letter-spacing: 0.2em;
	font-weight: normal;
	font-family: 'dosissemibold', sans-serif;
	
}

div#button-wrap div#social-wrap a#facebook-share {
	
	background-color: #475994;
	
}

div#button-wrap div#social-wrap a#twitter-share {
	
	background-color: #6497fb;
	margin-right: 0px;
	
}

div#button-wrap div#social-wrap a.button i {
	
	font-size: 1.0em;
	display: inline-block;
	padding: 0px 3px;
	position: relative;
	top: -1px;
	
}

div#button-wrap div#social-wrap a.button span {
	
	font-size: 0.9em;
	text-transform: uppercase;
	
}

div#button-wrap div#copyright {
	
	padding: 60px 20px 10px 20px;
	font-size: 0.7em;
	color: #999;
	
}

/* debugger */


div#debug-panel {
	
	z-index: 990;
	position: fixed;
	left: 5px;
	bottom: 25px;
	width: 400px;
	height: 15px;
	line-height: 15px;
	overflow: scroll;
	transition: opacity 300ms;
	-webkit-transition: opacity 300ms;
	-moz-transition: opacity 300ms;
	font-size: 0.8em;
	font-family: 'Arial', sans-serif;
	display: none;
	
}

body.video-active {

	overflow: hidden;

}

body.video-active div#debug-panel {
	
	color: #fff;
	
}

div#debug-panel:hover {
	
	opacity: 1.0;
	
}

div#force-load {

	height: 1px;
	overflow: hidden;

}



/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

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

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

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

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

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Responsive styles
   ========================================================================== */

@media only screen and (max-width: 768px) {

	div#header-wrap p {

		font-size: 1.2em;

	}

	div#text-wrap h2 {

		font-size: 3.0em;
		top: 5px;

	}

	div#text-wrap .seperator {

		padding: 0px 15px 0px 10px;

	}

}

@media only screen and (max-width: 600px) {

	div#header-wrap > img {

		max-width: 100%;
		margin-bottom: 10px;

	}

	div#header-wrap p {

		font-size: 1.0em;

	}

	div#text-wrap h2 {

		font-size: 2.2em;

	}

	div#text-wrap .seperator {

		padding: 0px 10px 0px 5px;

	}

	div#button-wrap button {

		width: 40%;

	}

}


@media only screen and (max-width: 450px) {

	div#text-wrap h2 {

		font-size: 1.8em;

	}

	div#header-wrap p {

		font-size: 0.8em;

	}

	div#text-wrap .seperator {

		padding: 0px 7px 0px 2px;

	}

	div#button-wrap button {

		width: 60%;

	}

}


@media only screen and (max-width: 420px) {

	div#text-wrap h2 {

		font-size: 1.7em;

	}

	div#text-wrap .seperator {

		padding: 0px 3px 0px 0px;

	}

}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        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) ")";
    }

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

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

    thead {
        display: table-header-group;
    }

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

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

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

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





.countdownHolder{
/* 	width:450px; */
	margin:0 auto;
/* 	font: 40px/1.5 'Open Sans Condensed',sans-serif; */
	text-align:center;
	letter-spacing:-3px;
}

.position{
	display: inline-block;
	height: 1.6em;
	overflow: hidden;
	position: relative;
	width: 1.05em;
	background-color: #fff;
	background-image: url('../graphics/ui-digit-background.png');
	background-size: 105%;
	background-position: left top;
}

.digit{
	position: absolute;
	display: block;
	width: 100%;
	padding: 4px 0px;
	text-align: center;
	color: #000;
	letter-spacing: -1px;
	line-height: 1.5em;

}

.seperator {
	display:inline-block;
	width:16px;
	height:1.6em;
	position:relative;
	color: #b30000;
	top: -0.4em;
	padding: 0px 20px 0px 15px;
}

.privacy {
	margin-bottom: 1vw;
	text-align: center;
}

.privacy a {
	margin-left: 10px;
	color: inherit;
	cursor: pointer;
	font-size: 0.9vw;
}

.privacy span {
	margin-left: 10px;
}