/*! 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 {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/* Helps with IE, but turns out the Surface doesn't listen to this? */
@-ms-viewport { 
	width: device-width;
}

/*
 * 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,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
	font-family: segoeFont;
	src: url(../fonts/SegoePro-Light.woff);
}


html,
body {
	height: 100%;
	padding: 0;
	margin: 0;
	color: white;
}

body {
	font-family: segoeFont;
	font-size: 100px;
	line-height: 0;
	overflow: hidden;
	-webkit-user-select: none; /* Chrome/Safari */        
	   -moz-user-select: none; /* Firefox */
	    -ms-user-select: none; /* IE10+ */
	     -o-user-select: none;
	        user-select: none;
	        
    -ms-touch-action: none; /* Shunt all pointer events to JavaScript code. */
   		touch-action: none;
	cursor: default;
}

p {
	line-height: 1;
	margin: 0;
}


.site-wrapper {
	position: relative;
	height: 100%;
}

header {
	width: 100%;
	height: 16.6176%;
	margin-left: 30px;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 2;
	pointer-events: none;
}
.header-title {
	font-size: 50%;
	color: #0084c9;
	position: relative;
	margin-top: 10.7142%;
	white-space: nowrap;
}
.header-text {
	font-size: 30%;
	color: #0084c9;
	position: relative;
	margin-top: 40px;
}


.content {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.interactive-content {
	width: 100%;
	height: 100%;
}

.interactive-item {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	/*display: none;*/
	visibility: hidden;
}

#renderCanvas {
	width: 100%;
	height: 100%;
	background-color: white;
	cursor: move;
}
#renderCanvas.add-pointer {
	cursor: pointer;
}

.content-box-container {
	background-color: rgba(255,255,255,0.9);
	width: 100%;
	height: 19.1176%;
	position: absolute;
	bottom: 0;
}

.content-box-wrapper {
	width: 29.1666%;
	height: 100%;
	margin-left: 3.125%;
	display: inline-block;
	float: left;
}

.content-video {
	display: none;
}

.content-box {
	width: 100%;
	height: 100%;
	position: relative;
	cursor: pointer;
}
.content-title {
	font-size: 20%;
	line-height: 1;
	color: #0084c9;
	
	margin-left: 10.7142%;
	
	position: absolute;
	top: 10.7692%;
}
.content-text {
	font-size: 12%;
	line-height: 1.2;
	color: #717073;
	
	margin-left: 10.7142%;
	
	position: absolute;
	top: 35.3846%;
}

.radio-button-wrapper {
	width: 7.1428%;
	padding-top: 7.1428%;
	position: absolute;
	top: 10.7692%;
}
.radio-button {
	background-image: url('../assets/icons/250x250_buttons.png');
	background-size: 100%;
	width: 15px; /* 75%;
	padding-top: 75%; */
	height: 15px;
	position: absolute;
	top: 2.5px;
}

.content-selected .radio-button {
	background-position-y: 100%;
}
.content-selected .content-text {
	color: black;
}

.interactive-item.content-selected {
	visibility: visible;
}

.key-points {
	display: none;
}

.loader {
	width: 100%;
	height: 100%;
	background-color: white;
	position: absolute;
	top: 0;
	left: 0;
}
.loader-bar-wrapper {
	width: 30%;
	height: 2.9411%;
	position: absolute;
	left: 0;
	right: 0;
	margin: 25% auto 0;
}
.loader-bar {
	background-color: #d2d2d2;
	width: 80%;
	height: 100%;
	position: absolute;
	right: 0;
	top: 0;
}
.loader-bar-value {
	color: #0084c9;
	font-size: 24%;
	position: absolute;
	top: 50%;
	right: 85%;
	-webkit-transform: translateY(-50%);
			transform: translateY(-50%);
}
.ui-progressbar-value {
	background-color: #0084c9;
}

#msft-logo {
	background-image: url('../assets/icons/75x16_msoft.png');
	background-size: 100%;
	background-repeat: no-repeat;
	width: 7.8125%;
	padding-top: 2.0833%;
	position: absolute;
	left: 3.125%;
	bottom: 2.2058%;
}



.img-seq {
	height: 100%;
	position: relative;
	padding: 0;
	margin: 0;
}

.img-seq-li {
	width: 100%;
	height: 100%;
	position: absolute;
	display: none;
}

.img-seq-img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	margin: auto;
	display: block;
	position: relative;
	top: 50%;
	-webkit-transform: translateY(-50%);
			transform: translateY(-50%);
	cursor: ew-resize;
}
.img-seq li:first-of-type .img-seq-img {
	cursor: e-resize;
}
.img-seq li:last-of-type .img-seq-img {
	cursor: w-resize;
}

.img-seq-current {
	display: block;
}

#popup-text {
	width: 100%;
	height: 80%;
	position: absolute;
	z-index: 5;
	cursor: pointer;
}
#popup-text-box {
	position: absolute;
	background-color: #0084c9;
	/*width: 21.3541%;*/
	max-width: 29.1666%;
	border: 2px solid #e6e6e6;
	
}
.popup-title {
	/*font-size: 18%;*/
	font-size: 10%;
	line-height: 1.2;
	padding: 8.2926% 7.3170% 4.8780%;
}
.popup-text {
	font-size: 14%;
	line-height: 1.3;
	padding: 8.2926% 20px;
	
}
.no-title {
	padding-bottom: 0;
}


.close-x-wrapper {
	width: 9.7560%;
	padding-top: 9.7560%;
	position: absolute;
	position: absolute;
	top: 0;
	right: 0;
}
.close-x {
	background-image: url('../assets/icons/15x15_icons.png');
	width: 75%;
	padding-top: 75%;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
	top: 12.5%;
	background-size: 200%;
	background-position-x: 100%;
	background-position-y: 100%;
}

.reset-btn {
	width: 50px; /*5.2083%;
	padding-top: 5.2083%;*/
	height: 50px;
	background-color: #0084c9;
	position: absolute;
	margin: 30px 30px 0 0;
	z-index:1;
	right: 0;
	cursor: pointer;
}

.reset-img {
	width: 20px; /*40%;
	padding-top: 40%;*/
	height: 20px;
	
	background-image: url('../assets/icons/20x20_refresh.png');
	background-repeat: no-repeat;
	background-size: 100%;
	
	position: absolute;
	left: 15px;
	top: 15px;
}
	
.footnotes {
	position: absolute;
	bottom: 4%;
	width: 100%;
	margin-left: 1.5%;
}

.footnote {
	color: #717073;
	font-size: 13%;
	float: left;
	margin-left: 2%;
}
sup {
	font-size: 50%;
}


.no-webgl canvas {
	display: none;
}
.canvas-replace-wrapper {
	display: none;
	width: 100%;
	height: 60%;
	position: absolute;
	top: 17%;
}
.canvas-replace {
	max-width: 100%;
	max-height: 100%;
	position: absolute;
	left: 0;
	right: 0;
	margin: auto;
}
.no-webgl .canvas-replace-wrapper {
	display: block;
}
.canvas-replace-play-btn {
	background-image: url('../assets/icons/65x65_playbutton.png');
	background-repeat: no-repeat;
	background-size: 100%;
	
	position: absolute;
	width: 65px;
	height: 65px;
	margin: auto;
	left: 0;
	right: 0;
	top: 30%;
	display: none;
	z-index: 1;
}
.no-webgl .canvas-replace-play-btn {
	display: block;
}

.no-webgl .reset-btn {
	display: none;
}



.popup-video {
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	z-index: 2;
}
#video-wrapper {
	width: 100%;
	position: fixed;
	box-sizing: border-box;
	top: 30%;
	pointer-events: none;
}
video {
	width: 100%;
	max-width: 100%;
	max-height: 100%;
	border: 4px solid rgba(255,255,255,0.9);
	box-shadow: 0 0 5px 4px rgba(255,255,255,0.15);
	box-sizing: border-box;
	float: left;
	pointer-events: auto;
}

#video-close-button {
	float: left;
	width: 8.4033%;
	background-color: black;
	margin-left: 1.4005%;
}
.video-close-icon {
	background-image: url('../Assets/icons/50x50_closebutton.png');
	background-size: 100%;
	width: 55.5555%;
	padding-top: 55.5555%;
	margin: 22.2222%;
}

#video-bottom-bar {
	position: absolute;
	width: calc(88.1419% - 22px);
	bottom: 4%;
	left: 11px;
	pointer-events: auto;
}
.video-button-left {
	float: left;
	width: 5.0729vw;
	height: 5.0729vw;
	position: relative;
	bottom: 0;
	margin-left: 0.5296%;
}
.video-button-right {
	float: right;
	width: 5.0729vw;
	height: 5.0729vw;
	position: relative;
	bottom: 0;
	margin-right: 0.5296%;
	margin-left: 0.74152%;
}

.video-button-left > div,
.video-button-right > div {
	background-image: url('../Assets/icons/69x69_VideoButtons.png');
	background-size: 300% 200%;
	margin: auto;
	width: 87.7966%;
	height: 87.7966%;
	position: relative;
	top: 15.2542%;
}

#video-pause { background-position-x: 0 }
#video-mute { background-position-x: 200% }
#video-fullscreen { background-position-x: 100% }

.video-paused { background-position-y: 100% }
.video-muted { background-position-y: 100% }
	




@media screen and (max-width: 620px) and (min-width: 481px) {
	#img-seq-kickstand {
		height: 38%;
		top: 22%;
	}
	
	.content-box-container {
		background-color: rgba(255,255,255,0.9);
		width: 100%;
		/*height: 19.1176%;*/
		height: 32%;
		position: absolute;
		bottom: 0;
	}
	
	.content-box-wrapper {
		width: 100%;
		height: 25%;
		margin-left: 30px;
		display: block;
		float: none;
	}
	
	.content-title {
		margin-left: 30px;
	}
	.content-text {
		font-size: 14%;
		margin-top: 2%;
	}
	
	.radio-button {
		background-image: url('../assets/icons/250x250_buttons.png');
		background-size: 100%;
	}
	
	.img-seq-img {
		top: 38%;
	}
	
	#renderCanvas {
		margin: auto;
		/*max-height: 65%;*/
		width: 100%;
		height: 100%;
		position: absolute;
		left: 0;
		right: 0;
		top: 0;
		bottom: 15%;
	}
	
	.footnotes {
		position: absolute;
		bottom: 3%;
		width: 100%;
		margin-left: 1.5%;
	}
}




@media screen and (max-width: 480px) {
	body {
	}
	.site-wrapper {
		overflow-x: hidden;
		overflow-y: auto;
		height: 100%;
	}
	
	.interactive-content {
		display: none;
	}
	
	header {
		width: 82%;
		height: auto;
		position: relative;
		margin-left: 9%;
	}
	.header-title {
		top: 0;
		margin-top: 9%;
	}
	.header-text {
		position: relative;
		top: 0;
		margin-top: 4.5%;
	}
	
	.content {
		position: relative;
		top: inherit;
		height: auto;
	}
	
	.content-box-container {
		height: auto;
		position: relative;
		margin-bottom: 10.9756%;
	}
	.content-box-wrapper {
		width: 82%;
		height: auto;
		margin-top: 7.3170%;
		margin-left: 9%;
		float: inherit;
		position: relative;
	}
	.content-video {
		width: 46.3414%;
		float: left;
		display: block;
	}
	.content-box {
		width: 46.3414%;
		height: auto;
		float: left;
		margin-left: 3.6585%;
	}
	.content-title {
		width: 115%; /* So titles are all on one line. */
		position: relative;
		margin-left: 0;
		margin-top: 15.7894%;
	}
	.content-text {
		position: relative;
		margin-left: 0;
		font-size: 12%;
	}
	
	.radio-button-wrapper {
		display: none;
	}
	
	.key-points {
		color: white;
		background-color: #0084c9;
		display: block;
		padding-top: 4.8780%;
		padding-bottom: 16.0975%;
	}
	.key-point {
		font-size: 10%;
		line-height: 1.3;
		margin-left: 3.6585%;
		margin-bottom: 2.4390%;
	}
	.key-point:first-child {
		font-size: 18%;
		line-height: 1.2;
		margin-bottom: 3.6585%;
	}
	.key-point:last-child {
		margin-bottom: 0;
	}
	
	#msft-logo {
		background-image: url('../assets/icons/75x16_msoft_w.png');
		width: 15.8%;
		bottom: inherit;
		margin-top: -10%;
		padding-top: 4%;
	}
	
	#popup-text {
		display: none;
	}
	
	
	.reset-btn {
		display: none;
	}
	
	.play-btn {
		background-image: url('../assets/icons/65x65_playbutton.png');
		background-repeat: no-repeat;
		background-size: 100%;
		
		position: absolute;
		width: 10.9756%;
		padding-top: 10.9756%;
		margin: 10.3658% 0 0 17.6829%;
	}
	
	.footnotes {
		position: absolute;
		bottom: 1%;
		width: 100%;
	}
	
	.footnote {
		font-size: 10%;
		line-height: 1.3;
		margin-left: 3.6585%;
		color: white;
	}
}



@media screen and (max-width: 320px) {
	.interactive-content {
		display: none;
	}
	
	.header-title {
		font-size: 36%;
		margin-top: 9.375%;
	}
	.header-text {
		margin-top: 4.6875%;
		margin-bottom: 9.375%;
	}
	
	.content-box-container {
		margin-bottom: 9.375%;
	}
	.content-box-wrapper {
		width: 81.25%;
		margin-top: 0;
		margin-bottom: 6.5384%;
	}
	.content-video {
		width: 73.0769%;
		float: none;
		margin-left: 13.4615%;
	}
	.content-box {
		width: 100%;
		float: none;
		margin-left: 0;
	}
	.content-title {
		margin-top: 6.5384%;
		margin-bottom: 4.6153%;
	}
	
	.play-btn {
		width: 45px;
		padding-top: 45px;
		margin: 15% auto 0;
		left: 0;
		right: 0;
	}
	
	.key-points {
		padding-top: 6.25%;
		padding-bottom: 21.875%;
	}
	.key-point {
		margin-left: 9.375%;
		margin-bottom: 3.125%;
	}
	.key-point:first-child {
		margin-bottom: 4.6875%;
	}
	
	#msft-logo {
		width: 24.6875%;
		padding-top: 6.25%;
		margin-top: -15.625%;
		left: 8.75%;
	}
	
	.reset-btn {
		display: none;
	}
	
	.footnote {
		color: white;
	}

}


/* ==========================================================================
   Helper classes
   ========================================================================== */


/*
 * Hide visually and from screen readers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screen readers: 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 screen readers, 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;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These 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 print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* 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
     */

    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;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
