@font-face {
    font-family: 'BrownPro-Regular';
    src: url('../fonts/font/BrownPro-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/font/BrownPro-Regular.otf') format('opentype'),
    url('../fonts/font/BrownPro-Regular.woff') format('woff'), url('../fonts/font/BrownPro-Regular.ttf') format('truetype'), url('../fonts/font/BrownPro-Regular.svg#BrownPro-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}


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

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

.clearfix:after {
    clear: both;
}

body {
    background: #fff;
    color: #000;
    font-size: 1em;
    font-family: 'BrownPro-Regular';
    overflow: hidden;
}

a {
    color: #000;
    text-decoration: none;
    outline: none;
}

a:hover,
a:focus {
    color: #000;
}

.hide {
    display: none;
}

.js .codrops-header,
.js .milo-top {
    position: fixed;
    z-index: 1000;
}

#turn-your-device {
    display: none;
}



/* Portrait */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) and (-webkit-min-device-pixel-ratio: 2) and (orientation: portrait) {
    #turn-your-device {
        display: none;
    }
}

/*#turn-your-device*/
#welcome-screen {
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: #fff;
    z-index: 100000;
}


#welcome-screen-container {
    width: 100%;
    top: 45%;
    text-align: center;
    text-transform: uppercase;
    -webkit-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
    position: relative;
    font-family: 'BrownPro-Regular', Arial, sans-serif;
    font-weight: normal;
    
}
#welcome-screen-container h2 {
    font-size: 2em;
    letter-spacing: 0.5px;
}

#welcome-screen h3 {
    font-size: 1.25em;
    text-transform: none;
}

#turn-your-device h2 {
    font-size: 1em;
    padding: 0px 10px;
}



/* Header */

.codrops-header {
    margin: 0 auto;
    width: 70%;
    left: 15%;
    top: 3.5em;
    pointer-events: none;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

#nav-milo {
    position: absolute;
    display: flex;
    justify-content: space-around;
    width: 100%;
    /*z-index: 1000000;*/
    opacity: 0;
}

#nav-milo.active {
    opacity: 1;
}

#nav-milo .nav-element {
    flex: 0 0 auto;
    padding: 32px 0px 16px 0px;
    text-align: center;
    color: grey;
    cursor: pointer;
    /*letter-spacing: 3px;*/
}

#nav-milo .nav-element:hover {
    color: black;
}

#nav-milo .nav-element.active {
    color: black;
}

.message {
    display: none;
    clear: both;
    color: #f39c12;
}

.codrops-header h1 {
    margin: 0;
    font-size: 1em;
    line-height: 1.3;
    padding: 1.5em 0 0.25em;
    text-transform: uppercase;
    letter-spacing: 1px;
    float: left;
}

.overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(40, 49, 56, 0.95);
    z-index: 10000;
}

.no-js .overlay,
.overlay.hide {
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
    visibility: hidden;
}

.info {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 0;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 80%;
    width: 100%;
}

.info span {
    display: inline-block;
    width: 180px;
    height: 180px;
    padding: 10px;
    margin: 4px;
    text-align: center;
    vertical-align: top;
    background-size: 75%;
    background-color: rgba(52, 73, 94, 0.7);
    background-repeat: no-repeat;
    background-position: 50% 85%;
}

.info span.info-drag {
    background-image: url(../img/drag.svg);
}

.info span.info-keys {
    background-image: url(../img/keys.svg);
}

.info span.info-switch {
    background-image: url(../img/switchmin.svg);
    background-size: 65%;
}

.info button {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    padding: 1em 2em;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: block;
    margin: 1em auto;
    opacity: 0.7;
    outline: none;
}

.info button:hover {
    opacity: 1;
}

.mobile-menu-button {
    display: none;
    position: absolute;
    z-index: 10000;
    top: 0px;
    padding: 20px;
    text-transform: uppercase;
    font-size: 1.2em;
    left: 0px;
}

.right-button-content,
.left-button-content {
    display: none;
}

span.right-button-content {
    padding-right: 30px;
}

span.left-button-content {
    padding-left: 30px;
}



/* To Navigation Style */

.milo-top {
    width: 100%;
    text-transform: uppercase;
    font-size: 16px;
    letter-spacing: 1px;
    top: 0;
    left: 0;
}

.milo-top .logo-milo {
    display: block;
    padding: 2em 0 0 0;
    text-decoration: none;
    margin: 0 auto;
    width: 300px;
    text-align: center;
}

div.logo-milo span {
    display: block;
}

div.logo-milo span.main-title {
    font-size: 16px;
    letter-spacing: 1px;
}

div.logo-milo span.sub-title {
    font-size: 12px;
}

.milo-top span.right {
    float: right;
}

.milo-top span.right a {
    display: block;
    float: left;
}


.slide-element {
    width: 100%;
}

.side-label-container {
    width: 40px;
    height: 100%;
    position: absolute;
    display: block;
    right: 2%;
    z-index: 100000;
    bottom: 2%;
    /*display: none;*/
}

.side-label {
    /*position: absolute;
    right: 2%;
    bottom: 2%;
    transform: rotate(90deg);
    transform-origin: right top 0;*/
    white-space: nowrap;
    display: block;
    text-decoration: none;
    padding-left: 0px;
    line-height: 0px;
    position: absolute;
    bottom: 0px;
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 0px;
    -moz-transform: rotate(-90deg);
    -moz-transform-origin: 0px;
    -ms-transform: rotate(-90deg);
    -ms-transform-origin: 0px;
    -o-transform: rotate(-90deg);
    -o-transform-origin: 0px;
    transform: rotate(-90deg);
    transform-origin: 0px;
}

.slide-content {
    display: none;
}

.slide .info-text {
    position: absolute;
    top: 50%;
    left: 50%;
    max-width: 80%;
    max-height: 80%;
    transform: translate(-50%, -50%);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.info-content {
    overflow: auto;
    height: 100%;
    min-height: 100%;
}


.slidec .img-wrap img {
    /* visibility: hidden;*/
}

.bottom-button,
.top-button {
    position: absolute;
    box-sizing: content-box;
    height: 40px;
    text-align: center;
    margin: 0 auto;
    font-size: 13px;
    speak: none;
    z-index: 100000;
    width: 100%;
    cursor: pointer;
    transition: .5s ease;
}

.top-button {
    top: 40px;
    padding-top: 20px;
}

.top-button:hover {
    top: 50px;
}

.show-content .current .content-switch {
    /*text-indent: -9999px;*/
    -webkit-transform: translate3d(-50%, 100%, 0);
    transform: translate3d(-50%, 100%, 0);
    margin-bottom: -32px;
    cursor: pointer;
    display: none;
}


.white-gradient,
.white-gradient-top {
    display: none;
}

#slideshow .content-switch {
    padding: 14px;
    z-index: 1000;
    bottom: 10px;
    width: 35%;
}


/* Smartphones (portrait and landscape) ----------- */

@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {}

@media screen and (max-width: 850px),
(min-device-width: 768px) and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 1) {
    /*div.ios-spacer { height: 1px; }*/
    body {
        height: 100vh;
        padding: 0;
        margin: 0;
        margin-bottom: 1px;
    }

    .milo-top {
        display: none;
    }
    body,
    html {
        overflow: hidden;
        -webkit-user-select: none;
        -webkit-touch-callout: none;
        -webkit-user-drag: none;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    }
    .white-gradient {
        display: block;
        width: 100%;
        height: 15%;
        bottom: 0px;
        position: absolute;
        z-index: 1000;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&0+0,1+100 */
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#ffffff', GradientType=0);
        /* IE6-9 */
    }

    .white-gradient-top {
        display: block;
        width: 100%;
        height: 15%;
        top: 0px;
        position: absolute;
        z-index: 1000;
        /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
        background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        /* FF3.6-15 */
        background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        /* Chrome10-25,Safari5.1-6 */
        background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
        /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#00ffffff', GradientType=0);
        /* IE6-9 */
    }

    .white {
        color: #fff;
    }
    .slide .info-text {
        width: 50%;
        height: 100%;
        max-height: 100%;
        padding-bottom: 60px;
        padding-top: 8%;
    }
    .info-content {
        padding-bottom: 30px;
    }

    .mobile-menu-button {
        display: block
    }
    

    .message {
        display: block;
    }

    .top-button {
        display: none !important;
    }

    .info span.info-keys,
    .info span.info-switch,
    .right-button-content,
    .left-button-content,
    .more-text {
        display: none;
    }
    .top-button,
    .top-button:hover {
        top: 0px;
        padding-top: 20px;
    }

    #slideshow .content-switch {
        visibility: hidden !important;
    }
    .bottom-button {
        height: 30px;
        display: none !important;
    }
    .milo-top .logo-milo {
        padding: 1.5em 0 0 0;
        display: none;
    }
    #slideshow .img-wrap img {
        max-width: 100%;
        max-height: 100%;
        /*top: 0px;*/
        /*height: 100%;*/
    }
    /*.div.logo-milo span.main-title {
        font-size: 16px;
    }*/
    .milo-top {
        height: 100%;
    }
    #nav-milo {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        height: 100%;
        background-color: #fff;
    }
    #nav-milo .nav-element {
        background-color: #fff;
        width: 100%;
        display: block;
        padding: 6px 0;
        /*font-size: 1.5em;*/
    }
    .text-content {
        /*display: none;*/
    }


    .side-label {
        font-size: 1em;
    }
    .show-content .current .content-switch {
        margin-bottom: -0px;
    }
    .slick-vertical .slick-slide {
        border: none !important;
    }

    .vimeo-article {
        max-width: 75% !important;
        max-height: 100% !important;
        overflow: hidden;
    }
}

@media screen and (max-width: 30em) {
    .info span {
        width: 100px;
        height: 100px;
        font-size: 0.5em;
    }
}

img {
    opacity: 1 !important;
    transition: opacity 0.3s !important;
}

img.slick-loading {
    opacity: 0 !important;
}

.scroll-wrapper {
   width: 100%;
   overflow-x: hidden;
 }
