/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

html{ font-size: 62.5%;}

body {
    background-color: #000;
    font-size: 1.4em;
    font-family: 'Istok Web', sans-serif;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

textarea { resize: vertical; }
a{ 
    color: #fff; 
    text-decoration: none;
}
ol, ul{ 
    margin: 0;
    padding: 0; 
}
/***********
** LAYOUT **
***********/

#l-wrapper{
    font-size: 0.8571428571428571em;
    min-width: 320px;
    margin-top: 22px;
    position: relative;
}

#l-wrapper > section{
    position: relative;
    -webkit-transition: all 2s ease 1s;
        transition: all 2s ease 1s;
}

#l-wrapper > section:not(.l-intro){ margin: 42px 0; }

.l-footer{
   font-size: 0.9166666666666667em;

    background: #202020;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#202020), color-stop(100%,#000000));
    background: -webkit-linear-gradient(top,  #202020 0%,#000000 100%);
    background: -o-linear-gradient(top,  #202020 0%,#000000 100%);
    background: -ms-linear-gradient(top,  #202020 0%,#000000 100%);
    background: linear-gradient(to bottom,  #202020 0%,#000000 100%);
}

.l-footer > nav li{ padding: 14px 0; }

.l-header{ margin-bottom: 16px; }

/************************
** PARALLAX BACKGROUND **
************************/

.l-bg1{ 
    background: url(../img/caps1-bg.png) no-repeat 50% 0;

    -webkit-transition:  background-position 1s ease 0s !important;
            transition: background-position 1s ease 0s !important;

    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);

}

/****************
*****************
**** MODULES ****
*****************
****************/

/* HEADER */

.logo{
    background: url(../img/nespresso-logo.png) no-repeat;
    display: inline-block;
    height: 16px;
    width: 86px;
}

.lang-link{
    background: url(../img/lang-arrow.png) no-repeat 0 50%;
    display: inline-block;
    float: right;
    display: inline-block;
    padding-left: 20px;
}

.l-languages{
    background-color: rgba(0, 0, 0, 1);
    font-size: .95em;
    padding: 22px 0 0;
    position: absolute;
    right: 0;
    z-index: 5;
    margin: 8px 12px 0 0;

    -webkit-box-shadow: 0 0 6px #c0954b;
            box-shadow: 0 0 6px #c0954b;
}

.l-languages > ul a{
    color: #fff;
    display: inline-block;
    font-size: 1.1em;
    padding: 4px 6px 4px 2px;
}

.l-languages > ul a:before{ content: '> '; }

.l-slted-lang{ margin-bottom: 8px; }

.l-slted-lang,
.l-list-lang{
    padding: 0 42px; 
}

.l-country-choice{ 
    border-top: solid 1px #896a33;
    margin-top: 18px;
    padding: 18px 12px; 
}

.l-multiple-languages{
    border-bottom: solid 1px #896a33;
    background-color: #000;
    padding: 6px 28px;
}

.l-multiple-languages > li > a:before{ 
    content: '> '; 
}

#country-list{
    bottom: 0;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 10;
}

#country-list > ul > li > a{
    background: url(../img/right-arrow-list.png) no-repeat 95% 50% #000;
    border-bottom: solid 1px #896a33;
    display: block;
    padding: 12px 26px;
}

#country-list > ul > li > a.selected{
    background-image: url(../img/bottom-arrow-list.png);
}

/* CUBE */
.cube-bg{
    background: url(../img/cube-bg.png) no-repeat 50% 0;
    height: 244px;
    left: 0;
    position: absolute;
    right: 0;
    top: 38px;

    -webkit-transition: all 2s ease 0s;
        transition: all 2s ease 0s;
}
.cube{
    height: 246px;
    position: relative;
    width: 300px;
}

.cube + h2{
    -webkit-transition: all 1.8s ease 0s;
        transition: all 2s ease 0s;  
}

.top-face,
.left-face,
.right-face,
.left-face-link,
.top-face-link,
.right-face-link{
    position: absolute;
    -webkit-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.top-face,
.left-face,
.right-face{
    -webkit-transition: all 2s ease 0s;
            transition: all 2s ease 0s;
}

.top-face{
    left: 62px;
    top: 89px;
}

.left-face{
    left: 50px;
    top: 46%;
}

.right-face{
    right: 70px;
    top: 46%;
}

.left-face-link,
.top-face-link,
.right-face-link{
    background-position: 50% bottom;
    background-repeat: no-repeat;
    position: absolute; 

    -webkit-transition: all 2s ease 0s;
        transition: all 2s ease 0s;
}


.left-face-link{
    background-image: url(../img/link-left-face.png);
    bottom: 91px;
    padding-bottom: 76px;
    left: -13px;
    width: 110px;
}

.top-face-link{
    background-image: url(../img/link-top-face.png);
    bottom: 165px;
    padding-bottom: 35px;
    left: 82px;
    width: 114px;
}

.right-face-link{
    background-image: url(../img/link-right-face.png);
    bottom: 91px;
    padding-bottom: 76px;
    right: 8px;
    width: 108px;
}
/* HOW */

/* SAME HTML FOR BOTH MOBILE AND DESKTOP VERSION */
ol > li > span{ color: #fff; }

ol > li > span > em{ 
    color: #c0954b;
    font-style: normal; 
}

/* WHERE */

.l-places{ margin-bottom: 32px; }
.l-places > section{ margin-bottom: 16px; }

.place-title{
    background: url(../img/places-bg.png) no-repeat 0 0;
    margin-left: -22px;
    padding-left: 38px;
}

.place-title p{ margin: .6em 0; }

.go-cta{
    box-shadow: 0px 0px 10px rgba(181, 181, 181, .55); 
    display: inline-block;
    font-size: 0.9791666666666667em;
    padding: 6px 52px;
    position: relative;
}

/* SCROLL TOP */
.go-to-top{
    background: url(../img/top-arrow.png) no-repeat 50% 0;
    float: right;
    font-size: 0.7083333333333333em;
    padding-top: 26px;
    width: 80px;
}

.go-to-next{
    background: url(../img/bottom-arrow.png) no-repeat right 0;
    display: inline-block;
    height: 44px;
    position: relative;
    width: 100%;
    z-index: 3;

    -webkit-transition: all 2s ease 1s;
            transition: all 2s ease 1s;
}

.go-to-next.center{ 
    background-position: 50% 0;
    text-align: center; 
}

.store-cta{
    background: url(../img/store-cta.png) no-repeat;
    display:inline-block;
    height: 25px;
    line-height: 25px;
    margin: 26px 0 16px -22px;
    padding: 0 18px;
}


/* SHARE BUTTONS */
.l-share{ padding: 20px 0; }

.l-share a{
    background: url(../img/share-ico.png) no-repeat;
    display: inline-block;
    height: 30px;
    margin: 0 19px;
    width: 30px;
}

a.fb-share{ background-position: 0 0;}
a.twitter-share{ background-position: -30px 0;}
a.pinterest-share{ background-position: -60px 0;}


/********************
** GENERAL MODULES **
*********************/

h1{
    display: inline-block;
    margin: 0;
    padding: 0;
}

h2{ 
    font-size: 1.166666666666667em; 
    position: relative;
    z-index: 2;
}

h3{ 
    font-size: 1.333333333333333em;
    margin-top: 4px;
    padding-bottom: 14px;
    border-bottom: solid 1px #636363;
}

em{ 
    font-style: normal; 
    font-weight: normal;
}

.nopadding{ padding: 0; }
.nomargin{ margin: 0; }

.align-center{ text-align: center; }
.align-right{ text-align: right; }

.bold{ font-weight: 700; }
.light{ font-weight: 400; }

.italic, em{ 
    font-style: italic;
    font-weight: 700; 
}
.center{ 
    margin-left: auto;
    margin-right: auto;
}

.inline-block{ 
    display: inline-block; 
    vertical-align: top;
}

.uppercase{ text-transform: uppercase; }

.l-languages > ul a.selected, .gold{ color: #c0954b; }

.white{ color: #fff; }
.black{ color: #000; }


.disc{ list-style-type: disc; }
.no-type{ list-style-type: none; }

.sides-padding{ padding: 0 22px;}
.inner-sides-padding{ padding: 0 16px;}

.intro-text{ font-size: 1.166666666666667em; }

.l-section1 > ul > li,
.l-section2 > ol > li{
    margin-bottom: 10px;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.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; }
