@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,900);

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

html, body {
    font-size: 10px;
    color: #fff;
}

b, strong, h1, h2, h3 {
    font-weight: bold;
}

input, textarea, select {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    border: 0;
    background: #fff;
}

[type='application/gas-events-uni'] {
    display: none;
}

html, body, * {
    font-family: 'DINNextLTPro', sans-serif;
}

body {
    background: #191919;
}

a {
    text-decoration: none;
}

small {
    font-size: 0.6em;
}

.fp-section {
    overflow: hidden;
}

.bg-video {
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    padding-bottom: 60%;
}

div.youtube-poster {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
    position: relative;
}

div.youtube-poster:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    height: 51px;
    width: 115px;
    margin-top: -25px;
    margin-left: -58px;
    background: url(../images/btn-play.png);
}

.bg-video .youtube-player {
    height: 100%;
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(-60%);
}

.bg-video.vertical {
    padding-bottom: 0;
    height: 130%;
    width: 130%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.bg-video.vertical .youtube-player {
    transform: none;
    top: 0;
}


.bg-video:after,
.bg-video .hover {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    cursor: pointer;
}

.bg-video .hover {
    z-index: 20;
    background-size: cover !important;
    background-position: center center !important;
}

.h100 {
    height: 100%;
}

.w100 {
    width: 100%;
}

.table {
    display: table;
}

.table .row {
    display: table-row;
}

.table .row > div {
    display: table-cell;
    position: relative;
}

.table.cols-3 .row > div {
    width: 33%;
    overflow: hidden;
}

.table.cols-3 .row > div img {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
    max-height: 100%;
}

.table.cols-3 .row > div .bg-video {
    z-index: 0;
}

#slide-cases .cols-3 .row > div {
    opacity: 0.5;
    transition: 0.3s opacity;
}

#slide-cases .cols-3 .row > div:hover {
    opacity: 1;
}

#slide-cases .table {
    position: relative;
}

#slide-cases .cols-3 .row > div.active {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    top: 0;
    left: 0;

/*    left: 50%;
    margin-left: -50%;
*/


    /*
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 33%;
    top: 0;
    bottom: 0;*/

    opacity: 1;
    z-index: 10000;
    transition: 0.3s cubic-bezier(.55,0,.1,1);
}

#slide-cases .cols-3 .row > div.active .hover,
#slide-cases .cols-3 .row > div.active .bg-video:after {
    display: none;
}

#slide-cases .cols-3 .row > div.active .fa-close {
    position: absolute;
    right: 30px;
    font-size: 48px;
    color: #fff;
    z-index: 10;
    cursor: pointer;
    top: 30px;
}

#slide-cases .cols-3 .row > div.active .bg-video.vertical {
    width: 100%;
    height: 100%;
}

#menu {
    background: rgba(0, 0, 0, 0.75);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    font-size: 3.5vw;
    line-height: 4.5vw;
    color: #707070;
    display: none;
}

#menu .table {
    width: 100%;
    height: 100%;
}

#menu .table .row > div {
    vertical-align: middle;
    text-align: center;
}

#menu a {
    color: #fff;
}

#menu a:hover {
    border-bottom: 2px solid #d37921;
}

#menu .wrap {
    padding: 0 250px;
}

#logo {
    left: 0;
    line-height: 60px;
}

#header #page-indicator {
    right: 0;
    line-height: 60px;
    font-family: 'Edmondsans', sans-serif;
    overflow: hidden;
}

#header #menu-toggle,
#logo a {
    width: 60px;
    height: 60px;
    display: block;
} 

#logo a .front,
#logo a .back,
#header #menu-toggle {
    background-image: url(../images/tile-lov.png);
    text-indent: -5000em;
    overflow: hidden;
    background-color: #000;
    background-size: cover;
    border: 2px solid #fff;
}

#logo a .back {
    background-image: url(../images/tile-dentsu.png);
}

#header #menu-toggle {
    background-image: url(../images/tile-menu.png);
    position: relative;
    z-index: 15;
    float: right;
}

#header #page-indicator span {
    float: left;
    font-size: 16px;
    text-transform: uppercase;
    margin: 0 10px;
    text-align: right;
    line-height: 1.3em;
}

#header #page-indicator span > span {
    display: inline-block;
    padding-top: 30px;
}

#header #page-indicator .two-line {
    padding-top: 20px;
}

#slide-digital-products .item {
    text-align: center;
}

#slide-digital-products .item h1 {
    font-size: 2.5vw;
    font-family: 'Edmondsans', sans-serif;
    line-height: 3vw;
}


.menu-active #header #menu-toggle {
    background-image: url(../images/tile-menu-close.png);
}

.wrap {
    max-width: 1024px;
    margin: 0 auto;
}

.flip-container {
    perspective: 1000;
    display: block;
}
.flip-container:hover .flipper, .flip-container.hover .flipper {
    transform: rotateY(180deg);
}

.flip-container, .front, .back {
    width: 60px;
    height: 60px;
}

.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}

.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}

.front {
    z-index: 2;
    transform: rotateY(0deg);
}

.back {
    transform: rotateY(180deg);
}

#slide-digital-products .fp-tableCell .wrap {
    text-align: center;;
    padding: 30px;
}

#slide-digital-products h1 {
    margin-bottom: 30px;
    font-size: 3rem;
}

#slide-digital-products sup {
    font-size: 0.7em;
    vertical-align: top;
    font-weight: 300;
    margin-left: 0.2em;
}

#slide-digital-products p {
    font-size: 1.4rem;
    line-height: 2.4rem;
    font-weight: 300;
    color: #909090;
}

.img-col-5 {
    font-size: 0;
    text-align: justify;
}

.img-col-5 img {
    max-width: 20%;
    display: inline-block;
}

.img-col-5 .join {
    display: inline-block;
    width: 100%;
}

#slide-say-hello {
    background: url(../images/bg-say-hello.jpg);
}

.black-box {
    background: #000;
}

#slide-say-hello .wrap {
    max-width: 960px;
}

#slide-say-hello .table {
    padding: 50px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#slide-say-hello h2 {
    font-size: 36px;
    font-weight: 300;
    margin-bottom: 18px;
/*
    font-family: 'Edmondsans', sans-serif;
*/
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
}

.btn {
    font-family: 'Edmondsans', sans-serif;
    background: none;
    border: 1px solid #000;
    border-bottom: 1px solid #7f7f7f;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    padding: 15px;
    text-align: left;
    transition: 0.3s;
    width: auto !important;
    display: block;
    max-width: 80%;
}

.btn:hover {
    border: 1px solid #fff;
}

.btn.full {
    width: 100%;
}

.icon {
    display: inline-block;
    width: 28px;
    height: 28px;
    background-repeat: no-repeat !important;
    background-position: center 25% !important;
}

.icon-email {
    background: url(../images/icon-email.png);
}

.icon-maps {
    background: url(../images/icon-maps.png);
}

p.grey {
    color: #7f7f7f;
}

#slide-say-hello .table .row > div {
    width: 50%;
    padding: 50px;
}

#slide-say-hello p {
    font-size: 13px;
    line-height: 1.5em;
    margin: 10px 0 20px;
}

.btn .icon {
    vertical-align: middle;
    margin-right: 0.5em;
}

.video-popup #header {
    display: none;
}

.fp-controlArrow {
    border-width: 14px !important;
    display: none;
}

@media (max-width: 960px) {
    .w65 {
        margin-top: 7vh;
    }

    #slide-cases .table-wrap {
        display: table;
    }

    #slide-cases .table {
        display: table-row;
    }

    #slide-cases .table .row {
        display: table-cell;
        width: 50%;
        height: 100%;
    }

    #slide-cases .cols-3 .row > div {
        width: 100%;
        display: block;
        height: 33.33333%;
    }

    .img-col-5 img {
        max-width: 33%;
    }

    #slide-cases .cols-3 .row > div.active {
        height: 100%;
    }

    #slide-say-hello .table {
        margin: 100px 20px 0;
        padding: 30px;
        width: auto !important;
        display: block;
    }

    #slide-say-hello .table {
        display: block;
    }

    #slide-say-hello .table .row > div {
        width: 100%;
        padding: 0;
        clear: both;
        display: block;
    }
    
    #slide-say-hello h2 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    #slide-say-hello p {
        font-size: 14px;
        line-height: 1.4em;
    }

    .btn {
        font-size: 12px;
        padding: 10px;
    }

    .btn.full {
        margin-bottom: 30px;
    }

    #slide-say-hello .table .row > div:last-child .btn.full {
        margin-top: 0;
    }

    .block-table, .block-table > .row, .block-table > .row > div {
        display: block;
    }

    .block-table > .row > div {
        width: 100% !important;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
    }


    #main-table .menu-item {
        display: none !important;
    }

    #slide-about, #slide-say-hello {
        position: static !important;
        opacity: 1 !important;
        width: auto !important; 
        margin: 7vh 0 0 !important;
    }

    #slide-about img {
        margin: 0 !important;
    }

    #slide-about .text {
        margin: 20px 0 0 !important;
        margin-left: 6% !important;
    }

    #main-table .row > div:first-child {
        padding-bottom: 0 !important;
    }

    #main-table .row > div:first-child {
        padding-top: 0 !important;
    }

    #slide-say-hello {
        margin-top: 0 !important;
    }

    .w80 {
        width: 100% !important;
    }


    #main-table {
        max-width: 1280px;
        max-height: 500px !important;
        top: 0 !important;
        transform: none !important;
        position: static !important;
    }

    #logo {
        margin-left: 0 !important;
    }

    #novo {
        margin-left: 6vw !important;
    }
}


#novo {
    font-size: 12px;
    text-transform: uppercase;
    color: #7f7f7f;
    display: block;
    margin-bottom: 30px;
    margin-left: -5.6%;
}

body {
    background: #000 url(../images/bg-full.jpg) center center;
    background-size: cover;
}

html, body, #main-table {
    height: 100%;
    width: 100%;
}

#main-table {
    max-width: 1280px;
    max-height: 720px;
    margin: auto auto;
    top: 50%;
    transform: translateY(-50%);
    position: relative;
}

.w35 {
    width: 35%;
}

.w65 {
    width: 65%;
}

.w80 {
    width: 80%;
}

#main-table .row > div {
    vertical-align: middle;
    padding: 7vh;
    position: relative;
}

#main-table .row > div.center {
    text-align: center;
}

#main-table .row > div.bottom {
    vertical-align: bottom;
}

#main-table .row > div.left {
    text-align: left;
}

#slide-say-hello {
    background: none;
    text-align: left;
}

#slide-say-hello > div:first-child {
    margin-bottom: 7vh;
}

#slide-about {
    position: absolute;
    bottom: 7vh;
    left: 14vh;
    width: 68%;
    margin-left: 28px;
    text-align: left;
}

#slide-about .text {
    margin-left: 24%;
    text-align: justify;
    font-size: 13px;
    line-height: 2em;
    margin-top: -12px;
    margin-bottom: 0;
    color: #7f7f7f;
    margin-bottom: -1em;
    max-width: 236px;
}

#slide-about img {
    max-width: 100%;
    margin-left: -12%;
}

#logo {
    width: 60px;
    margin-left: 3vw;
}

:focus {
    outline: 0;
}

#main-table .menu-item {
    color: #fff;
    position: absolute;
    top: 50%;
    margin-top: -25px;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    padding-bottom: 5px;
    transition: 0.3s;
    border-bottom: 2px solid transparent;
    opacity: 1;
    z-index: -1;
}

.menu-item:hover {
    border-color: #fff !important;
}

.hover .content {
    opacity: 0;
    transition: 0.6s;
}

.hover:hover .content {
    opacity: 1;
}

.hover:hover .menu-item{
    opacity: 0 !important;
}