/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

a:hover, a:focus{
    text-decoration: none;
	color: #5accf6;
}

::-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;
}

.browserupgrade {
    margin: 0.2em 0;
    background-color: #fdf2ab;
    color: #000;
    padding: 0.2em 0;
    text-align:center;
}
.browserupgrade a {
    color:#e25600;
    text-decoration:underline;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */
@font-face {
  font-family:'UniversLTStd';
  src: url('../fonts/UniversLTStd.eot');
  src: local('☺'), url('../fonts/UniversLTStd.woff') format('woff'), url('../fonts/UniversLTStd.ttf') format('truetype'), url('../fonts/UniversLTStd.svg') format('svg');
  font-weight: normal;
}

@font-face {
  font-family:'UniversLTStd';
  src: url('../fonts/UniversLTStd-Bold.eot');
  src: local('☺'), url('../fonts/UniversLTStd-Bold.woff') format('woff'), url('../fonts/UniversLTStd-Bold.ttf') format('truetype'), url('../fonts/UniversLTStd-Bold.svg') format('svg');
  font-weight: bold;
}

body {
    font-family: UniversLTStd, "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size:1em;
}

h1, h2
{
    color: #49176d;
	font-size: 3em;
	font-weight: bold;
}

#logo {
    position: fixed;
    top: 0;
    left: 0;
    padding: 6px 10px;
    z-index: 41;
}

#logo img {
    height: 18px;
}

nav {
    position: fixed;
    top: 0;
    right: 0;
    padding: 6px 10px;
    z-index: 31;
}

nav > * {
    display: inline-block;
    vertical-align: middle;
}

nav a:hover {
    text-decoration: none;
}

a {
	color: #49176d;
}

a:hover {
	color: #49176d;
	text-shadow: 0 0 3px #DDD;
}

a:visited {
	color: #49176d;
}

#play, #speed, #share, #audio {
    width: 32px;
    height: 32px;
    margin: 0 3px 2px;
    background-color: #eee;
    font-size: 18px;
    color: #49176d;
    text-align: center;
}

#play:hover, #speed:hover, #share:hover, #audio:hover {
    background-color: #49176d;
    color: #fff;
}

a#share i, a#share i, a#audio i {
	font-size: 1.3em;
	line-height: 1.3em;
}

#share.open, #speed.open {
    background-color: #49176d !important;
    color: #fff;
}

#play {
    padding-top: 4px;
}

#speed {
    padding-top: 5px;
    padding-left: 4px;
}

#speed-menu, #share-menu {
    position: absolute;
    top: 38px;
    list-style: none;
    padding-left: 0;
    transform-origin: top right;
    display: none;
}

#speed-menu {
    right: 74px;
}

#share-menu {
    right: 55px;
}

#speed-menu a, #share-menu a {
    padding: 6px 10px;
    background: #49176d;
    border-top: 1px solid #FFFFFF;
    font-size: 15px;
    color: #fff;
}

#speed-menu a{
    width: 80px;
    text-align: center;
}

#share-menu a {
    width: 100px;
    text-align: right;
}

#speed-menu a, #speed-menu a:focus, #share-menu a, #share-menu a:focus {
    display: block;
}

#speed-menu a:hover, #share-menu a:hover {
    background: #F0F0F0	;
    color: #49176d;
}

#speed-menu li.highlight a{
	color: #49176d;
	background-color: #eee;
	font-weight: 700;
    cursor: default;
}

#audio {
    padding-left: 5px;
    text-align: left;
}

#controls {
    position: fixed;
    top: 90px;
    right: 12px;
    height: 70vh;
    z-index: 30;
    visibility: hidden;
}

#slider {
    width: 20px;
    height: 100%;
    cursor: pointer;
}

#slider:before, .ui-slider-handle, #progress {
    position: absolute;
    left: 8px;
}

#slider:before, #progress {
    top: 0;
    width: 5px;
    border-radius: 3px;
}

#slider:before {
    content: "";
    display: block;
    height: 100%;
    background: #ddd;
}

.ui-slider-handle {
    display: block;
    width: 20px;
    height: 20px;
    margin-left: -8px;
    margin-bottom: -10px;
    border-radius: 10px;
    background: #49176d;
    outline: none;
}

.jump {
    position: absolute;
    right: 33px;
    margin-top: -12px;
}

.jump a {
    position: relative;
    padding: 6px 10px;
    background: #49176d;
    border-radius: 6px;
    color: #fff;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
    border: #49176d 1px solid;
}

.jump a:hover {
	border: #49176d 1px solid;
	background-color: white;
	color: #49176d;
}

.jump a:after {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    border-color: rgba(73, 23, 109, 0);
    border-left-color: #49176d;
    border-width: 10px;
    margin-top: -10px;
}

.jump a span {
    display: inline-block;
    vertical-align: middle;
}

.jump a .title {
    overflow: hidden;
}

.jump a .title:before {
    content: "\2022";
    display: inline-block;
    width: 1.6em;
    text-align: center;
}

#progress {
    height: 0;
    background: #b195c6;
}

.chapter-title, .story-panel {
    display: flex;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: center;
    -webkit-justify-content: center;
    align-items: center;
    -webkit-align-items: center;
    overflow: hidden;

}

.chapter-title {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	z-index: 20;
    visibility: hidden;
	opacity: 0;
}

.chapter-title h1 {
	color: white;
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	margin: auto;
	text-align: center;
	width: 70%;
	height: 10%;
	font-size: 3vw;
	text-shadow: 3px 3px 3px #333;
}

#chapter1-title {
	background: url(../images/Story1.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#chapter2-title {
	background: url(../images/Story2.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#chapter3-title {
	background: url(../images/Story3.jpg) no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
}

#ons1, #ons2, #ons3 {
    width:100%;
    opacity:0;
}

#main-intro-container {
    position:relative;
    color:#777;
    background: #fff;
    overflow:hidden;
    z-index: 0;
    display: block;
    padding-top: 28vh;
}

#main-intro {
    margin-top: -0%;
	opacity:0;
}

#chapter4-title {
	cursor: pointer;
}

#timeline_repeat {
    display: inline-block;
    width: 280px;
    height: 78px;
    padding: 24px;
    background-color: #49176d;
    border-radius: 6px;
    font-size: 28px;
    text-shadow: none;
}

#timeline_repeat i {
    margin-right: 0.3em;
}

#main-intro > * {
    margin-bottom: 1em;
}

#intro
{
    width:940px;
    margin:0 auto;
}

.investment-breakdown tr th:nth-child(n+2) {
    text-align: center;
}

.investment-breakdown tr td:nth-child(n+3) {
    text-align: right;
}

.investment-breakdown tr td:nth-child(3), .investment-breakdown tr th:nth-child(-n+2) {
    font-weight: bold;
    color: #49176d;
}

.investment-breakdown tr th:nth-child(n+3) {
    font-weight: normal;
}

.dot
{
    width:16px;
    height:16px;
    border-radius:8px;
    background: #f00;
}

#globe-img
{
    margin-bottom:40px;
    opacity: 0;
}

.critters-container {
    position:relative;
    width:100%;
    overflow: hidden;
    min-height: 300px;
    height: 100vh;
}

.critters-container img.critter {
    opacity:0;
}

.chart {
    top: 55px;
    left: 0;
    width: 100%;
    height: auto;
    margin: 0 auto;
    padding-bottom: 30px;
    overflow: hidden;
    text-align: center;
    position: absolute;
    z-index: -10;
}

.chart img {
    width: 40%;
    margin: 0 auto;
}

chart a {
	font-size: 1.75vw;
	opacity: 0;
	z-index: 10000;
}

.chart-container {
    padding: 20px 10px 10px;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px 0;
    width: 34%;
    position: relative;
    margin: 0 auto;
    opacity: 0;
}

.svg-container {
    width: 100%;
    padding-bottom: 75%;
    position: relative;
}

.svg-container svg {
    display: block;
    width: 100%;
    left: 0px;
    top: 0%;
    position: absolute;
}

.chart-title {
	text-align: left;
    color: #000000;
    font-size: 2em;
    font-size: 3.5vmin;
    margin: 0px 20px;
    padding-bottom: 5px;
    border-bottom: 1px solid #000000;
    line-height: 1.1;
}

.chart-big-font {
	text-align: left;
    color: #49176d;
    font-size: 4em;
    font-size: 8vmin;
    font-weight: bold;
    margin: 10px 20px 5px;
    line-height: 1.2;
}

.chart-small-font {
	text-align: left;
	color: #49176d;
    font-size:1.5em;
    font-size: 3vmin;
    margin: 0px 20px;
    line-height: 1.1;
}


.chart-special-text {
	text-align: left;
    font-size:2vmin;
    margin: 7px 20px 0;
    font-style: italic;
}

.critter {
    position: absolute;
    max-height: 300px;
    height: 40vh;
    z-index: 2;
    bottom: 30px;
}

#squirrel-kid-drums {
    max-height: 200px;
    height: 30vh;
    z-index: 2;
}

#squirrel1, #squirrel2, #squirrel3, #squirrel4, #squirrel-kid-drums {
    left: 0;
}

#squirrel3 {
    z-index: 1;
}

#squirrel-parachute {
    z-index: 2;
    top: -300px;
    left: 0;
    opacity: 1;
    transform: matrix(0, 0, 0, 0, 0, 0);
}

#owl1, #owl2, #owl3 {
    right: 0;
}

#net-investment-returns, #active-investor {
    background-color: #49176d;
}

#net-investment-returns h1, #active-investor h1 {
    color: #fff
}

.bubble-wrapper {
    position:absolute;
    max-width:40%;
    z-index: 20;
}

.bubble {
    position: relative;
    height: auto;
    padding: 10px;
    background: #fff;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    border: #000 solid 1px;
    box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 2px 2px 6px 2px rgba(0, 0, 0, 0.4);
    display:inline-block;
    font-size: 2.3vh;
    line-height: 1.2;
    max-width: 250px;
    text-align: center;
}

.bubble-left
{
    float:left;
    transform-origin: left 50%;
}

.bubble-right
{
    float:right;
    position: relative;
    transform-origin: right 50%;
}

.bubble-left::before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #000;
    display: block;
    width: 0;
    z-index: 0;
    margin-top: -10px;
    left: -16px;
    top: 50%;
}

.bubble-left::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 15px 10px 0;
    border-color: transparent #fff;
    display: block;
    width: 0;
    z-index: 1;
    margin-top: -10px;
    left: -15px;
    top: 50%;
}

.bubble-right::before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent #000;
    display: block;
    width: 0;
    z-index: 0;
    margin-top: -10px;
    right: -16px;
    top: 50%;
}

.bubble-right::after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 0 10px 15px;
    border-color: transparent #fff;
    display: block;
    width: 0;
    z-index: 1;
    margin-top: -10px;
    right: -15px;
    top: 50%;
}

.bubble-bc::after
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 20px 15px 0;
    border-color: #FFFFFF transparent;
    display: block;
    width: 0;
    z-index: 1;
    margin-left: -15px;
    bottom: -20px;
    left: 50%;
}

.bubble-bc::before
{
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 20px 15px 0;
    border-color: #000000 transparent;
    display: block;
    width: 0;
    z-index: 0;
    margin-left: -15px;
    bottom: -21px;
    left: 50%;
}

.bubble-hide {
    opacity: 0;
    transform: matrix(0, 0, 0, 0, 0, 0);
}

.bubble-show {
    -webkit-animation: fade 0.5s ease-in;
    animation: fade 0.5s ease-in;
    opacity: 1;
    display:block;
}

.compositionImage{
	position:absolute;
}

.compositionImage img{
	width: 98%;
	opacity: 1;
}

#mandate_flower, #NPPO {
	padding: 1%;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px 0;
    width: 50%;
    min-width: 360px;
    height: 300px;
    position: relative;
    margin: 40px auto 0;
    opacity: 0;
}

#mandate_flower {
	width: 45%;
	height: 275px;
}

#NPPO {
	width: 80%;
}

#mandate_flower a, #steward a, #bank_container  a {
	position:absolute;
	bottom: 0px;
	text-align: center;
	width: 95%;
	opacity: 0;
}

#nppo_timeline, #nppo1, #nppo2 {
	clip:rect(0px 1830px 696px 0px);
}

#nppo_background {
	background:#e3ebf7;
	width: 97.5%;
	height: 82%;
	border-radius: 20px;
}

#nppo_more {
	position: absolute;
	width: 100%;
	text-align: center;
	bottom: 5px;
}

.chart-title {
    color: #49176d;
    font-size: 2em;
    font-size: 3.5vmin;
    margin: 0px 10px;
}

#nppo_title {
	position: relative;
	margin-bottom: 10px;
}

.fa-info-circle {
	color: #49176d;
}

#bank_container {
	padding: 1%;
    border: 1px solid #ddd;
    border-radius: 25px;
    box-sizing: border-box;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 10px 0;
    width: 32%;
    position: relative;
    margin: 40px auto 0;
    opacity: 0;
    z-index: 0;
}

.bank-svg-container {
    width: 100%;
    margin-bottom: 25px;
    padding-bottom: 116%;
    position: relative;
}

.bank-svg-container svg {
    display: block;
    width: 100%;
    left: 0px;
    top: 0%;
    position: absolute;
}

@-webkit-keyframes fade {
    from {opacity: 0}
    to {opacity: 1}
    }@keyframes fade {
        from {opacity: 0}
        to {opacity: 1}
    }

    @-webkit-keyframes fade-out {
        from {opacity: 1}
        to {opacity: 0}
        }@keyframes fade-out {
            from {opacity: 1}
            to {opacity: 0}
        }

#instructions
{
    display: none;
    position: fixed;
    top: 35vh;
    left: 50%;
    width: 200px;
    height: 200px;
    margin-left: -100px;
    padding: 18px;
    border-radius: 10px;
    opacity: 0;
}

#instructions.show {
    display: block;
}

#instructions span {
    font-size: 80px;
    color: #49176d;
    opacity: 0;
}

@media (max-height: 500px) {
    #instructions {
        top: 20vh;
        -webkit-transform: scale(0.5);
        -moz-transform: scale(0.5);
        -ms-transform: scale(0.5);
        -o-transform: scale(0.5);
        transform: scale(0.5);
    }
}

@media (max-height: 600px) {
    .critter {
        bottom: 60px;
    }
}

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

.show {
    display: block;
}

.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;
}

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

/* Temasek's Colours */
.teal {
    color: #006ba6
}

.bg-teal {
    background: #006ba6;
}

.purple {
    color: #49176d;
}

.bg-purple {
    background: #49176d;
}

.fuschia {
    color: #b40564;
}

.bg-fuschia {
    background: #b40564;
}

.cyan {
    color: #14b1e7;
}

.bg-cyan {
    background: #14b1e7;
}

.dark-green {
    color: #009659;
}

.bg-dark-green {
    background: #009659;
}

.light-green {
    color: #8aaf40;
}

.bg-light-green {
    background: #8aaf40;
}

.orange {
    color: #e9841d;
}

.bg-orange {
    background: #e9841d;
}

.yellow {
    color: #ffdd00;
}

.bg-yellow {
    background: #ffdd00;
}

.light-purple {
    color: #b097bc;
}

.bg-light-purple {
    background: #b097bc;
}

#acorns {
    position: absolute;
    bottom: 60px;
    text-align: center;
    visibility: hidden;
    z-index: 2;
}

/* Acorns! More Acorns! */
.acorn {
    display: inline-block;
    vertical-align: top;
    width: 24%;
    margin: 0 3%;
    color: #000;
    text-decoration: none;
    text-align: center;
}

.acorn img {
    height: 20%;
    height: 15vh;
}

.acorn p {
    opacity: 0;
	text-decoration: none;
	color: #49176d;
	font-size: 1.25em;
	font-size: 1.8vw;
	line-height: 1.1;
}

#acorn1 {
/*    margin-top: 10%; */
}

#a1 {
    transform: rotate(50deg);
}

#acorn2 {
/*    margin-top: 6%; */
}

#a2 {
    transform: rotate(-20deg);
}

#acorn3 {
/*    margin-top: 8%; */
}

#a3 {
    transform: rotate(40deg);
}

#main-intro h1 {
	font-size: 4vw;
}
@media (max-width: 740px) {
    #acorns p {
        font-size: 1em;
        font-size: 1.8vw;
        line-height: 1.2;
    }

    h1 {
        font-size: 2em;
    }
}

@media (max-height: 480px) {
    #main-intro > * {
        margin-top: -4%;
    }

    #acorns p {
        font-size: 0.95em;
        font-size: 1.8vw;
        line-height: 1.2;
    }
}

#play-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    text-align: center;
    z-index: 40;
    cursor: pointer;
}

#play-overlay i {
    width: 100px;
    height: 100px;
    margin-top: 40vh;
    padding: 24px;
    background-color: #49176d;
    border-radius: 6px;
    color: #fff;
    font-size: 50px;
    opacity: 0;
}

.vsr-storyboard {
    position:relative;
}

/* preloader and orientation detector */
.vsr-fullscreen-center-parent {
    position:fixed;
    width:100%;
    height:100%;
    min-height:480px;
    background-color:white;
    top:0;
    z-index:9999999;
}
.vsr-fullscreen-center {
    position:absolute;
    top: 50%;
    left: 50%;
    width:100%;
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    text-align: center;
}
#vsr-preloader-container {
/*    opacity:0.7;*/
}
#vsr-preloader-container .vsr-preloader-content {
}
#vsr-preloader-container .owl-progress-container {
    position:relative;
    margin:0 auto;
}
#vsr-preloader-container .owl-progress {
    position:absolute;
    opacity:0;
    left:0;
}
#vsr-rotate-container {
    background-color:black;
    z-index:-9999999999999;
    display:none;
}
#vsr-rotate-container .vsr-rotate-content {
    color:white;
}
@media screen and (orientation: portrait) {
    #vsr-rotate-container {
        z-index:9999999999999;
        display:block;
    }
}

/* fontawesome extensions */
.vsr-rotate-content .fa-big {
    font-size:3em;
}
.vsr-rotate-content .vsr-rotate-text {
    font-size:2em;
}
.vsr-rotate-content .vsr-first {
    margin:0;
}
.vsr-rotate-content .vsr-first .fa-mobile {
    margin-left:0.3em;
}
.vsr-rotate-content .vsr-second .fa-mobile {
    margin-right:0.9em;
}
