/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

html,
button,
input,
select,
textarea {
    color: #222;
}

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

::-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,
img,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}
/**
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    contenteditable attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that are clearfixed.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */
.cf:before,
.cf:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
  font-family: 'apercu';
  src: url('fonts/Apercu-webfont.eot?') format('eot'), url('fonts/Apercu-webfont.woff') format('woff'), url('fonts/Apercu-webfont.ttf') format('truetype');
}
@font-face {
  font-family: 'apercu-light';
  src: url('fonts/Apercu-light-webfont.eot?') format('eot'), url('fonts/Apercu-light-webfont.woff') format('woff'), url('fonts/Apercu-light-webfont.ttf') format('truetype');
}
body {
    font-family: 'apercu';
}
#menu-bg {
    display: none;
    position: fixed;
    width: 100%;
    top: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.9);
    z-index: 999;
}
#main-nav {
    position: fixed;
    width: 100%;
    box-sizing: border-box;
    padding: 40px 60px;
    z-index: 1000;
}
#logo {
    position: relative;
    float: left;
    top: 0;
    width: 35px;
}
#logo svg path {
    stroke-width: 2;
}
#menu-column {
    position: relative;
    float: left;
    top: 0;
    left: 30%;
    margin-left: -60px;
}
#menu-column h5 {
    margin: 0 0 0 40px;
    color: #999;
    font-size: 15px;
    font-weight: 400;
    line-height: 35px;
    transition: all 0.2s;
}
#menu-static-wrap {
    cursor: pointer;
}
#menu-static-wrap:hover h5,
#menu-static-wrap.active h5 {
    color: #000;
}
.arrow {
    position: absolute;
    top: 6px;
    left: 0px;
    width: 20px;
    height: 20px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s
}
.arrow-line {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 3px;
    margin-top: -3px;
    background-color: black;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
#left-line {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: 0% 50%;
    -moz-transform-origin: 0% 50%;
    -o-transform-origin: 0% 50%;
    -ms-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
}
#right-line {
    left: 3px;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: 100% 50%;
    -moz-transform-origin: 100% 50%;
    -o-transform-origin: 100% 50%;
    -ms-transform-origin: 100% 50%;
    transform-origin: 100% 50%;
}
#menu-static-wrap.active  .arrow-line {
    margin-top: 3px;
}
#menu-static-wrap.active  #left-line {
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
#menu-static-wrap.active  #right-line {
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
#client-list {
    display: none;
    margin-top: 40px;
}
.client-list-item {
    position: relative;
    font-family: 'apercu-light';
    font-size: 40px;
    color: #999;
    line-height: 50px;
    margin-bottom: 10px;
    cursor: pointer;
    opacity: 0;
    -webkit-transform: translateX(-50px);
    -moz-transform: translateX(-50px);
    -o-transform: translateX(-50px);
    -ms-transform: translateX(-50px);
    transform: translateX(-50px);
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
.client-list-item.animIn {
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -o-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
    opacity: 1;
}
.client-list-item:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    height:2px;
    width: 0px;
    background-color: #000;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    -o-transition: all 0.2s;
    -ms-transition: all 0.2s;
    transition: all 0.2s;
}
.client-list-item:hover {
    color: #000;
}
.client-list-item:hover:before {
    width: 100%;
}
#image-wrap {
    position: absolute;
    top: 160px;
    left: 30%;
    right: 60px;
    bottom: 60px;
    box-sizing: border-box;
    z-index: 10;
    overflow: hidden;
    cursor: ew-resize;
}
.project-item {
    position: relative;
    float: left;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat; 
    background-position: center; 
}
.marma-ig {
    background-color: #403f3d;
}
.ca-webpage {
    background-color: #59c2b5;
}
.ink-webpage {
    background-color: #403f3d;
}
.project-item video {
    width: 100%;
    height: 100%;
    opacity: 0;
}
.project-item.video {
    background-color: #000000;
}
.browser-frame {
    position: absolute;
    top: 15%;
    left: 50%;
    width: 70%;
    height: 70%;
    margin-left: -35%;
    border-radius: 4px;
    overflow-y: hidden;
}
.browser-toolbar {
    position: absolute;
    top: 0;
    width: 100%;
    height: 40px;
    padding: 10px;
    background-color: #f2f2f2;
    box-sizing: border-box;
    z-index: 1;
}
.browser-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 10px;
  background-color: #d52143;
}
.browser-dot:before,
.browser-dot:after {
    position: absolute;
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 10px;
}
.browser-dot:before {
    left: 30px;
    background-color: #e6ae27;
}
.browser-dot:after {
    left: 50px;
    background-color: #21d5bf;
}
.browser-content {
    position: relative;
    width: 100%;
    cursor: ns-resize;
}
.browser-frame img {
    margin-top: 40px;
    width: 100%;
}
#client-title {
    position: absolute;
    left: 60px;
    bottom: 60px;
    height: 46%;
    width: 24%;
    opacity: 0;
    overflow: hidden;
    -webkit-transition: opacity 0.3s cubic-bezier(.71,.03,.52,.98).2s;
    -moz-transition: opacity 0.3s cubic-bezier(.71,.03,.52,.98).2s;
    -o-transition: opacity 0.3s cubic-bezier(.71,.03,.52,.98).2s;
    -ms-transition: opacity 0.3s cubic-bezier(.71,.03,.52,.98).2s;
    transition: opacity 0.3s cubic-bezier(.71,.03,.52,.98) .2s;
}
#client-title.appeared,
#image-wrap.appeared #image-inner-wrap{
    opacity: 1;
}
#client-title h1,
#client-title h4 {
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
}
#image-wrap {
    -webkit-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -moz-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -o-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -ms-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
}
#client-title h1 {
    margin-top: 20px;
    font-family: 'apercu-light';
    font-size: 56px;
    text-align: left;
    line-height: 65px;
}
#client-title h4 {
    margin: 0;
    font-family: 'apercu-light'!important;
    font-size: 20px;
    text-align: left;
}
#client-title h1 {
    -webkit-transition: transform 0.25s .3s;
    -moz-transition: transform 0.25s .3s;
    -o-transition: transform 0.25s .3s;
    -ms-transition: transform 0.25s .3s;
    transition: transform 0.25s .3s;
}
#client-title h4 {
    -webkit-transition: transform 0.25s .24s;
    -moz-transition: transform 0.25s .24s;
    -o-transition: transform 0.25s .24s;
    -ms-transition: transform 0.25s .24s;
    transition: transform 0.25s .24s;
}
#image-inner-wrap {
    position: absolute;
    height: 100%;
    opacity: 0;
    -webkit-transform: translateY(0px);
    -moz-transform: translateY(0px);
    -o-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
    -webkit-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -moz-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -o-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    -ms-transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
    transition: all 0.4s cubic-bezier(.71,.03,.52,.98);
}
#image-wrap.animate-fromto-btm  #image-inner-wrap{
    -webkit-transform: translateY(200px);
    transform: translateY(200px);
}
#image-wrap.animate-fromto-top #image-inner-wrap{
    -webkit-transform: translateY(-200px);
    -moz-transform: translateY(200px);
    -o-transform: translateY(200px);
    -ms-transform: translateY(200px);
    transform: translateY(-200px);
}
#client-title.animate-fromto-btm h1,
#client-title.animate-fromto-btm h4 {
    -webkit-transform: translateY(150px);
    -moz-transform: translateY(150px);
    -o-transform: translateY(150px);
    -ms-transform: translateY(150px);
    transform: translateY(150px);
}
#client-title.animate-fromto-top h1,
#client-title.animate-fromto-top h4 {
    -webkit-transform: translateY(-150px);
    -moz-transform: translateY(-150px);
    -o-transform: translateY(-150px);
    -ms-transform: translateY(-150px);
    transform: translateY(-150px);
}
#project-nav {
    position: relative;
    height: 10px;
}
#project-nav ul {
    padding: 0;
    opacity: 0;
    list-style: none;
    -webkit-transform: translateX(50px);
    -moz-transform: translateX(50px);
    -o-transform: translateX(50px);
    -ms-transform: translateX(50px);
    transform: translateX(50px);
    -webkit-transition: all  0.4s cubic-bezier(.71,.03,.52,.98) .6s;
    -moz-transition: all 0.4s cubic-bezier(.71,.03,.52,.98) .6s;
    -o-transition: all 0.4s cubic-bezier(.71,.03,.52,.98) .6s;
    -ms-transition: all 0.4s cubic-bezier(.71,.03,.52,.98) .6s;
    transition: all 0.4s cubic-bezier(.71,.03,.52,.98) .6s;
}
.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin-right: 10px;
    box-sizing: border-box;
    border-radius: 10px;
    border: 3px solid #cdcdcd;
    cursor: pointer;
}
#client-title.appeared ul {
    opacity: 1;
    -webkit-transform: translateX(0px);
    -moz-transform: translateX(0px);
    -o-transform: translateX(0px);
    -ms-transform: translateX(0px);
    transform: translateX(0px);
}
.dot.active {
    border: 3px solid #000000;
}
.animOut {
    opacity: 0 !important;
}
.vid-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    background-size: cover;
    background-position: 50% 50%;
}
.play-arrow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0px 0px -30px;
    background-image: url(../img/nav/play-arrow.svg);
    background-size: contain;
    background-position: 50% 50%;
    cursor: pointer;
}
.play-arrow2 {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    margin: -30px 0px 0px -30px;
    background-image: url(../img/nav/play-arrow_bk.svg);
    background-size: contain;
    background-position: 50% 50%;
    cursor: pointer;
}



/* ==========================================================================
   Media Queries
   ========================================================================== */
@media only screen and (min-width: 1281px) and (max-width: 1600px) {
    #client-title h1 {
        font-size: 42px;
        line-height: 55px;
    }
}

@media only screen and (min-width: 1024px) and (max-width: 1280px) {
    #client-title h1 {
        font-size: 36px;
        line-height: 45px;
    }
}
@media only screen and (min-width: 768px) and (max-width: 1023px) {
    #main-nav {
        padding: 35px 40px;
    }
    #client-title h1 {
        font-size: 28px;
        line-height: 40px;
    }
    #image-wrap {
        right: 40px;
        bottom: 40px;
    }
    #client-title {
        left: 40px;
    }
}
@media only screen and (min-width: 320px) and (max-width: 767px) {
    #main-nav {
        padding: 20px 30px;
    }
    .client-list-item {
        font-size: 30px;
        line-height: 40px;
        margin-bottom: 10px;
    }
    #client-title h1 {
        font-size: 26px;
        line-height: 34px;
        margin: 0;
    }
    #client-title h4 {
        font-size: 14px;
        line-height: 40px;
    }
    #image-wrap {
        position: absolute;
        top: 40%;
        left: 30px;
        right: 30px;
        bottom: 30px;
    }
    #client-title {
        position: absolute;
        top: 100px;
        left: 30px;
        height: 46%;
        width: 84%;
    }
}
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        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) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]: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;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}