@import url("fonts.css");
.noselect, * {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
}

body {
    font-size: 16px;

    -apple-font-smoothing: antialiased !important;
    -webkit-font-smoothing: antialiased !important;
    text-rendering: optimizeLegibility !important;
}

body, html {
    position: relative;

    overflow: hidden;

    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    padding: 0;

    color: #000;
    background-color: #fff;

    font-family: Arial, sans-serif;

    -ms-overflow-style: -ms-autohiding-scrollbar;
    /*overflow: hidden;*/
    -ms-content-zooming: none;
}

h1 {
    display: block;

    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;

    text-align: center;

    font-size: 2em;
}

body.en h1 {
    font-family: 'MPboldcond';
}

body.zh h1 {
    margin-bottom: .2em;

    font-size: 1.75em;
    line-height: 1.1em;
}

h2 {
    display: block;

    width: 100%;
    height: auto;
    margin: 0.25em 0 1em 0;

    text-align: center;

    font-size: 1.25em;
}

body.en h2 {
    font-family: 'MPcond';
}

body.zh h2 {
    margin-bottom: 1.5em;
}

h1, h2 {
    color: #404041;

    font-weight: lighter;
    line-height: 1em;
}

h3 {
    margin: .3125em 0 0 0;
    padding: 0;
}

body.en h3 {
    font-family: 'MPsemibold';
}

h4 {
    margin: 0;
    padding: 0;
}

body.en h4 {
    font-family: 'MPcond';
}

h5 {
    margin: 0;
    padding: 0;

    font-style: italic;
}

body.en h5 {
    font-family: 'MPcond';
}

h3, h4, h5 {
    color: #231f20;

    font-weight: lighter;
    line-height: 1em;
}

* {
    outline: none;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

button {
    font-size: 1em;
}

.main {
    position: absolute;
    top: 0;
    left: 0;

    overflow-x: hidden;
    overflow-y: auto;

    box-sizing: border-box;
    width: 100%;
    height: 100%;
    /*margin: 0 auto;*/
    /*padding: 1em;*/

    background-color: #fff;
}

#start {
    position: relative;
    /*top: 50%;*/

    box-sizing: border-box;
    width: 100%;
    height: auto;
    /*min-height: 100%;*/
    /*margin: 0 auto;*/
    padding: 4em 1em 1em 1em;
    /*transform: translateY(-50%);*/

    text-align: center;
}

#start h1 {
    box-sizing: border-box;
}

#start h2 {
    display: block;

    box-sizing: border-box;
    width: 100%;
}

#start figure {
    cursor: pointer;
}

.figcontain {
    position: relative;

    display: block;

    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
}

figure {
    position: relative;

    display: block;

    width: 75%;
    margin: 0 auto 1em auto;
}

figure .video {
    position: relative;

    display: block;

    box-sizing: border-box;
    width: 100%;
    height: auto;

    border-width: .5em;
    border-style: solid;
    border-radius: 100%;
    box-shadow: .5em .5em 1em rgba(0, 0, 0, 0.15);
}

#bob .video {
    border-color: #8bc53f;
}

#sally .video {
    border-color: #f58832;
}

#mike .video {
    border-color: #00b2d9;
}

#animations {
    position: absolute;
    top: 0;
    left: 0;

    visibility: hidden;
    overflow: hidden;

    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    background-color: #fff;
}

#animations.on {
    visibility: visible;
}

#animations video {
    display: none;

    box-sizing: border-box;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;

    border: none;
    background-color: transparent;
    background-color: rgb(255, 255, 255) !important;
}

#home {
    position: absolute;
    top: 1em;
    left: 1em;

    width: 3em;
    height: 3em;

    cursor: pointer;

    border: 0;
    border-radius: 50%;
    background: url('../img/home.png');
    background-color: #fff;
    background-repeat: no-repeat;
    background-size: contain;
    box-shadow: 0 .125em .625em rgba(0, 0, 0, .4);
}

.langcontainer {
    position: absolute;
    top: 1em;
    right: 1em;

    display: inline-block;

    font-size: .75em;
}

.langbutton {
    display: none;

    padding: .625em 20px 7px 20px;

    cursor: pointer;
    white-space: nowrap;
    /*border-color: #f58832;
  border-color: #00b2d9;*/
    text-transform: uppercase;

    border: 3px #8bc53f solid;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 .125em .625em rgba(0, 0, 0, .4);
}

.no-touchevents .langbutton:hover, .langbutton:active {
    color: #fff;
    border-color: #fff;
    background-color: #8bc53f;
}

.languagemenu li.active, .languagemenu li:active, .no-touchevents .languagemenu li:hover {
    color: #fff;
    border-color: #fff;
    background-color: #f58832;
}

.langmenucontainer {
    position: absolute;
    top: 100%;
    right: 0;

    display: none;

    transition: height 300ms;
}

.languagemenu {
    margin: 0;
    padding: .625em 0 0 0;
}

.languagemenu li {
    margin-bottom: .625em;
    padding: .625em 20px 7px 20px;

    list-style: none;

    white-space: nowrap;

    border: 3px #f58832 solid;
    border-radius: 20px;
    background-color: #fff;
    box-shadow: 0 .125em .625em rgba(0, 0, 0, .4);
}

.languagemenu li:last-child {
    margin-bottom: 0;
}

@media only screen and (min-width: 294px) {
    /*// special smaller breakpoints*/
}

@media only screen and (min-width: 414px) {
    /*// portrait iphone 6 plus break point*/
    figure {
        width: 50%;
    }
}

@media only screen and (min-width: 630px) {
    /*// portrait tablets and larger phones*/
    h1 {
        font-size: 3em;
    }
    body.zh h1 {
        font-size: 2em;
    }
    h2 {
        font-size: 1.8em;
    }
    body.zh h2 {
        font-size: 1em;
    }
    figure {
        display: inline-block;

        width: 26%;
        /*height: 26vw;*/
        margin: 0 .625em 0 .625em;

        vertical-align: top;
    }
    figure:nth-of-type(1) {
        margin-left: 0;
    }
    figure:nth-last-of-type(1) {
        margin-right: 0;
    }
}

@media only screen and (min-width: 960px) {
    /*// landscape tablets and smaller desktop*/
    h1 {
        font-size: 4em;
    }
    body.zh h1 {
        font-size: 3em;
    }
    h2 {
        font-size: 2.8em;
    }
    body.zh h2 {
        font-size: 2em;
    }
    h3 {
        font-size: 2.4em;
    }
    h4 {
        font-size: 1.6em;
    }
    h5 {
        font-size: 1.2em;
    }
    #home {
        width: 4em;
        height: 4em;
    }
}

@media only screen and (min-width: 1224px) {
    /*// desktops and laptops*/
    body {
        font-size: 18px;
    }
    #home {
        width: 5em;
        height: 5em;
    }
}

@media only screen and (min-width: 1620px) {
    /*// large screens/kiosks*/
    body {
        font-size: 20px;
    }
}

@media only screen and (max-width: 320px) {
    /*// small/older portrait phones*/
}
