/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


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


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


/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

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






h1, h2{
    font-family:"MarkOT-Black","helvetica","sans-serif";
    font-weight:normal;
}

p{
    font-size:19px;
    font-family: 'MarkOT-Book';
}

.col-50{
    width:50%;
    display: inline-block;
    vertical-align: top;
}

main section{
}

html,body,main,section{
    height:100%;
}

header{
    position:absolute;
    background:transparent;
}

.client-logo,
.fuisz-logo{
    float:left;
    margin:20px;
    width:195px;
    height:43px;
    background-size:contain;
    background-repeat:no-repeat;
}

.fuisz-logo{
    background-image:url(../img/logo-fuisz.png);
    background-position: center left;
    background-size:91px 30px;
}

.client-logo{
    float:right;
    background-position: center right;
}

.press-logos{
    height:45px;
    width:100%;
    background-size: auto 30px;
    clear:both;
    background-image:url(../img/logos-press.png);
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color:#e5fa00;
    -webkit-box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
    -moz-box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
    box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
}

.terms-row{
    text-align:center;
    padding-bottom:2px;
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 999;
    background-color: #e5fa00;
    -webkit-box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
    -moz-box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
    box-shadow: inset 0px 1px 10px 1px rgba(0,0,0,0.02);
    font-family: 'MarkOT-Book';
}
.terms-row a{
    font-size:10px;
    text-decoration: none;
    color:rgba(0,0,0,0.2);
    margin:0 5px;
    transition: all 80ms linear;
}
.terms-row a:hover{
    color:#111;
}

header nav{
    float:right;
    margin:30px 20px;
}

header{
    width:100%;
}

nav ul{
    list-style:none;
    padding: 0;
}

nav li{
    width:50px;
    height:50px;
    border:1px solid white;
    border-radius:100%;
    display: inline-block;
    margin-left:20px;
}

section{
    font-size:0;
}

#contact{
    z-index: 9999;
    display: none;
    position: absolute;
    top:0;
    right:0;
    left:0;
    bottom: 0;
    background:#fff;
}

#contact .icon-f{
    width:68px;
    height:74px;
    display: block;
    margin:0 auto;
}

#contact h2{
    font-size:68px;
    text-transform: uppercase;
    text-align: center;
    width:100%;
    margin:20px 0 0;
}

#contact .contact-content{
    font-size:19px;
    width:500px;
    margin:0 auto;
    position: absolute;
    top:45%;
    left:50%;
    transform:translate(-50%,-50%);
    text-align: center;
}

#thanks-view{
    display: none;
}

#thanks-view h2{
    text-transform: inherit;
    font-size:32px;
    margin-top:10px;
}

.thanks-msg{
    font-size:26px;
}


#contact .btn-close{
    position: absolute;
    top:50px;
    right:50px;
    width:48px;
    height:48px;
    cursor:pointer;
    border-radius:100%;
    z-index: 99;
    transform:all 80ms linear;
}

#contact .btn-close,
#contact .btn-close svg rect,
#contact .btn-close svg path{
    transform:all 80ms linear;
}

#contact .btn-close:hover{
    background:#37D2FF;
}

#contact .btn-close:hover svg rect{
    fill:#fff!important;
}

#contact .btn-close:hover svg path{
    fill:#37D2FF;
}


#contact form input{
    padding: 0 20px;
    color:#111;
    width:460px;
    border:1px solid black;
    height:60px;
    margin-top:20px;
    font-family: 'MarkOT-Book';
    font-size:19px;
}

.parsley-errors-list{
    list-style:none;
    padding: 0;
    font-size: 14px;
    margin: 5px 0;
    color: red;
}

#contact form input.parsley-error{
    border-color:red;
    background:rgba(255,0,0,0.05);
}


::-webkit-input-placeholder {
   color: #333;
}

:-moz-placeholder { /* Firefox 18- */
   color: #333;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #333;
}

:-ms-input-placeholder {
   color: #333;
}

#contact form .btn-submit{
    border-color:#37D2FF;
    background-color:#37D2FF;
    color:white;
    width:220px;
    font-size: 16px;
    margin:0 auto;
    display: block;
    margin-top:20px;
}

footer{
    width:100%;
    background:#EAFE14;
    position: absolute;
    bottom:24px;
    left:0;
    right:0;
    z-index: 9999;
}


.case-study{

}

.btns-wrapper{
    width:90%;
}

.case-study .text-content{
    padding-left:80px;
}

.case-study .text-content .btn{
    width:46%;
}

.case-study .text-content .btn:first-child{
    margin-right:2%;
}

.case-study .text-content .btn:last-child{
    margin-left:2%;
}

.case-study .col-50{
    height:100%;
}

.case-study p{
    width:70%;
    margin: 30px 0;
}


.case-study .bg-stripes{
    background-size:auto 100% ;
    background-position: top left;
    background-repeat:no-repeat;
    position: relative;
    transition: all 400ms linear;
    float:left;
}

.featherlight .featherlight-content{
    min-height:500px;
    min-width:874px;
    background:#fff;
    border-radius:5px;
    background-image:url(../img/hex-loader2.gif);
    background-position: center center;
    background-repeat:no-repeat;
}

h1{
    color:black;
    font-size:58px;
    margin-top:15%;
    margin-right:150px;
    line-height: 58px;
    margin-bottom:00px;
}

.case-study .highlight{
    color:#37D2FF;
    display: none;
}

.btn{
    height:60px;
    text-align:center;
    border:1px solid black;
    font-size:18px;
    text-transform: uppercase;
    display: inline-block;
    font-family:"MarkOT-Black","helvetica","sans-serif";
    line-height: 60px;
    font-size:16px;
    position: relative;
    cursor:pointer;
}

.btn:hover{
    border-color:#37D2FF;
    background-color:#37D2FF;
    color:white;
}

.btn-see-how{
    text-indent: -20px;
}

.btn-see-how:hover svg path{
    fill:#fff!important;
}

.i-play{
    width:35px;
    height:34px;
    background-size:contain;
    background-position: center center;
    background-repeat:no-repeat;
    position: absolute;
    right:20px;
    top:13px;
}


/* Case Study Variables */

body.lincoln .hero-box{
  background-image: url('http://www.fuiszmedia.com/img/bw-lincoln.jpg');
}

body.activision .hero-box{
  background-image: url('../img/bw-activision.jpg');
}

body.twentieth-century .hero-box{
  background-image: url('../img/bw-martian.jpg');
}

body.target .hero-box{
  background-image: url('http://www.fuiszmedia.com/img/bw-target.jpg');
}


body.lincoln .client-logo{
    background-image:url(../img/logo-lincoln.png);
}

body.lincoln .bg-stripes{
    background-image:url(../img/bg-lincoln.jpg);
}

body.lincoln .show-lincoln{
    display: block;
}

body.activision .client-logo{
    background-image:url(../img/logo-activision.png);
}

body.activision .bg-stripes{
    background-image:url(../img/bg-activision.jpg);
}

body.activision .show-activision{
    display: block;
}

body.twentieth-century .client-logo{
    background-image:url(../img/logo-20thcentury.png);
}

body.twentieth-century .bg-stripes{
    background-image:url(../img/bg-20thcentury.jpg);
}

body.twentieth-century .show-twentieth-century{
    display: block;
}

body.target .client-logo{
    background-image:url(../img/logo-target.png);
}

body.target .bg-stripes{
    background-image:url(../img/bg-target.jpg);
}

body.target .show-target{
    display: block;
}


/* FLUID LAYOUT CSS */

.description {
    font-size: 30px;
    color: #37D2FF;
    padding-right: 50px;
}

.header-page {
  position:absolute;
  width: 100%;
  height: calc(100% - 144px);
}
.hero-box{
  position: relative;
  display: inline-block;
  float: left;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left;
}

.text-box {
  position: relative;
  display: inline-block;
  float: left;
  width: 50%;
  height: 100%;
}

.left-triangle{
  position: absolute;
  height: 45%;
  width: 100%;
  bottom: 0;
  left: 0;
}

.left-triangle img{
  width: auto;
  height: 100%;
  float: left;
}

.right-triangle{
  position: absolute;
  height: 100%;
  width: auto;
  top: 0;
  right: 0;
}

.right-triangle img{
  width: auto;
  height: 100%;
  float: right;
  margin-right: -3px;
}

.right-triangle-mimic {
  position: relative;
  height: 100%;
  width: calc(58vh - 87px);
  float: right;
}

.logo-test {
  position: absolute;
  width: 45%;
  height: 90%;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  -ms-transform: rotate(-30deg); /* IE 9 */
  -ms-transform-origin: 50% 50%; /* IE 9 */
  -webkit-transform: rotate(-30deg); /* Chrome, Safari, Opera */
  -webkit-transform-origin: 50% 50%; /* Chrome, Safari, Opera */
  transform: rotate(-30deg);
  transform-origin: 50% 50%;
}

.right-triangle-mimic img {
  width: 100%;
  height: 100%;
}


/* LIGHTBOX */

.featherlight .featherlight-content{
    overflow: visible;
    padding:0!important;
    border-bottom:0!important;
}

body.contact .client-logo{
    display: none;
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}
.featherlight .featherlight-close-icon {
    top: -40px;
    line-height: 35px;
    width: 35px;
    background: transparent;
    color: #fff;
    font-size:24px;
    transition:all 80ms linear;
}

.featherlight .featherlight-close-icon:hover {
    background: #fff;
    color: #111;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * 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 receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}


/* Smartphones (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
    /* Styles */
}

/* Smartphones (landscape) ----------- */
@media only screen
and (min-width : 321px) {
    /* Styles */
}

/* Smartphones (portrait) ----------- */
@media only screen
and (max-width : 320px) {
    /* Styles */
    .case-study .bg-stripes{
        background-size: auto 84%!important;
    }
    .client-logo{
        height: 40px!important;
        margin: 10px!important;
    }
}

/* iPads (portrait and landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
    /* Styles */
}

/* iPads (landscape) ----------- */
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px)
and (orientation : landscape) {


    .case-study .bg-stripes {
        background-size: auto 90%!important;
        background-position: left 100px!important;
    }
    .case-study p{
        width:90%!important;
    }

    .btns-wrapper{
        width:90%;
    }

    .case-study .text-content .btn:first-child{
        margin-right:3%!important;
    }

    .case-study .text-content .btn:last-child{
        margin-left:3%!important;
    }

    .i-play{
        right: 10px!important;
    }

    h1{
        margin-right:130px!important;
    }

    .hero-box{
        background-position:right top ;
    }
}

/* iPads (portrait) ----------- */
@media only screen
and (min-width : 600px)
and (max-width : 1024px)
and (orientation : portrait) {

    .case-study .col-50.bg-stripes{
        height:65%;
    }

    .btn{
        font-size:24px!important;
        height:60px!important;
        line-height:60px!important;
    }

    .case-study .col-50.text-col{
        height:auto;
    }

    .case-study p{
        font-size:24px!important;
        line-height:30px!important;
        margin: 15px 0 25px 0!important;
    }

    .case-study h1{
        font-size:48px!important;
        line-height:48px!important;
    }

    .i-play{
        width: 32px!important;
        height: 32px!important;
        right: 20px!important;
    }

    #contact form{
        width:60%!important;
        padding-top:20%!important;
    }

    .btns-wrapper{
        width:auto;
    }
}


.show-on-desktop{
    display: block;
}
.show-on-mobile{
    display: none;
}

/* Desktops and laptops ----------- */
@media only screen
and (min-width : 1224px) {
    /* Styles */
}


/* Desktops and laptops ----------- */
@media only screen
and (max-width : 1224px) {

    .show-on-desktop{
        display: none;
    }
    .show-on-mobile{
        display: block;
    }
}
/* Large screens ----------- */
@media only screen
and (min-width : 1824px) {
    /* Styles */
}

/* iPhone 4 ----------- */
@media
only screen and (-webkit-min-device-pixel-ratio : 1.5),
only screen and (min-device-pixel-ratio : 1.5) {
    /* Styles */


    .featherlight .featherlight-content{
        min-height:170px;
        min-width:300px;
    }
}

/* iPads (portrait) ----------- */
@media screen and (max-width : 768px) {



    .btn-see-how{
        display: none;
    }

    .terms-row{
        background:rgba(0,0,0,0.03);

    }

    #contact .contact-content{
        width:300px;
    }

    .header-page{
        height: calc(100% - 50px);
    }

    .hero-box{
        margin-top:50px;
    }
    .logo-test {
        width: 55%;
        height: 63%;
    }
    .right-triangle-mimic{
        margin-right:25px;
    }

    footer{
        top:0;
        bottom: auto;
    }
    .press-logos{
        display: none;
    }
    .case-study .col-50{
        width:100%;
        clear:both;
        height:50%;
    }
    .case-study .text-content{
        padding-left:20px;
    }

    .case-study .bg-stripes{
        background-position:left 70px;
    }

    .case-study h1{
        margin-right: 20px;
        margin-top:20px;
        font-size:30px;
        line-height: 30px;
    }

    .client-logo{
        width:105px;
        height:30px;
    }

    .case-study p{
        margin: 10px 0 20px;
        font-size:14px;
        width:90%;
    }

    .fuisz-logo{
        background-size:100%;
        height:30px;
        width:60px;

    }

    .btn{
        height:40px;
        line-height: 40px;
        width:40%;
        font-size:10px;
    }
    .i-play{
        width:17px;
        height:17px;
        top:50%;
        right:10px;
        transform:translateY(-50%);
    }


    #contact{
        top:70px;
    }

    #contact .btn-close{
        top: 20px;
        right: 20px;
        width: 28px;
        height: 28px;
        background-size: contain;
    }

    #contact h2{
        font-size:38px;
    }
    #contact .icon-f {
        width: 58px;
        height: 54px;
        background-size: contain;
        background-repeat: no-repeat;
    }

    #contact form{
        padding-top:20px;
        width:90%;
        position: relative;
        transform:none;
        top:auto;
        left:auto;
    }
    #contact form input{
        width:90%;
        padding: 0 5%;
    }

}



/* iphone (landscape) ----------- */
@media only screen
and (max-device-width : 768px)
and (orientation : landscape) {

    .case-study .col-50{
        width:50%;
        clear:none;
        height:100%;
    }

    .case-study .text-content{
        margin-top:100px;
    }
    .btn {
        font-size: 14px;
    }
    .case-study p{
        font-size:13px;
        width:95%;
    }
    .client-logo, .fuisz-logo{
        margin:10px 20px;
    }
    .case-study .bg-stripes{
        background-position: left 50px;
    }
    .case-study .text-content .btn:last-child{
        margin-left:0;
    }
    #contact{
        top:50px;
    }
    #contact form{
        margin-top: 0;
        padding:0;
    }

    #contact .contact-content{
        transform: translate(-50%,-55%);
    }

    .never-looked{
        display: block;
    }

    .terms-row{
        text-align: right;
        background:transparent;
    }

    #contact form input{
        width:60%;
        clear:both;
        padding:0 2%;
        height:40px;
        font-size:15px;
        margin:10px 50px 0;
    }

    #contact .icon-f{
        width:40px;
    }

    #contact h2{
        margin: 10px 0 0;
        font-size:28px;
    }

    #contact form .btn-submit{
        width:130px;
    }

}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

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

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