/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.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,
button,
input,
select,
textarea {
    color: #222;
}

html {
	font-family: 'Raleway', sans-serif;
	font-weight:300;
    font-size: 1em;
    line-height: 1.4;
}

body, html {
	height:100%
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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;
}

/*
 * Remove the gap between images, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

.clear {
	clear:both
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

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

body {width:100%;}
.bg {width:100%; height:100%; position:fixed; background:url(../img/background.jpg) no-repeat; background-size:cover;top:0; left:0; z-index:-1 }

h1, h1 a { font-weight:100; font-size:80px; color:#fff; text-align:center; text-decoration: none;}

h1 span {font-family: 'Raleway Dots', cursive; font-weight:400}

h2 { 
	font-weight:100; 
	font-size:50px; 
	color:#fff; 
	text-align:center;
	text-transform:uppercase;
	clear:both;
	margin:120px 0 30px 0;
	}

.nav {margin:0; margin-left:0 !important}

.nav  {
	list-style:none;
	text-align:center;
	color:#fff;
	font-size:30px;
	text-transform:uppercase;
	line-height:2;
	margin:0;
	margin-left:0 !important;
	text
	}
.nav a {text-decoration:none; color:#fff;}
.nav a:hover {color:#ff0000}

.work {
	width:100%;clear:both;line-height:0;
}
div.client {
	clear:both;
	width:25%;
	position:relative;
	display:inline-block;
	height:auto;
	line-height:0;
}

.client.flash {background:url(../img/flash.jpg) no-repeat;background-size:contain;}
.client.toffee {background:url(../img/toffee.jpg) no-repeat;background-size:contain;}
.client.highgate {background:url(../img/highgate.jpg) no-repeat;background-size:contain;}
.client.displaytoday {background:url(../img/displaytoday.jpg) no-repeat;background-size:contain;}
.client.tuffline {background:url(../img/tuffline.jpg) no-repeat;background-size:contain;}
.client.willbe {background:url(../img/brunton.jpg) no-repeat;background-size:contain;}
.client.shynet {background:url(../img/shynet.jpg) no-repeat;background-size:contain;}
.client.mywingman {background:url(../img/mywingman.jpg) no-repeat;background-size:contain;}
.client.incaberry {background:url(../img/incaberries.jpg) no-repeat;background-size:contain;}
.client.menard {background:url(../img/asf.jpg) no-repeat;background-size:contain;}
.client.stefan {background:url(../img/stefan.jpg) no-repeat;background-size:contain;}
.client.retail {background:url(../img/retail.jpg) no-repeat;background-size:contain;}
.client.flashdisplays {background:url(../img/flashdisplays.jpg) no-repeat;background-size:contain;}
.client.emma {background:url(../img/emma.jpg) no-repeat;background-size:contain;}
.client.gbc {background:url(../img/gbc.jpg) no-repeat;background-size:contain;}
.client.dryspace {background:url(../img/dryspace.jpg) no-repeat;background-size:contain;}
.client.undergruppen {background:url(../img/undergruppen.jpg) no-repeat;background-size:contain;}
.client.piapharma {background:url(../img/piapharma.jpg) no-repeat;background-size:contain;}
.client.hurry {background:url(../img/hurry.jpg) no-repeat;background-size:contain;}

.client img.hover {
	width:100%;
	height:auto;
	margin:0;
	display:block;
	opacity:0;
	-webkit-transition: visibility 0s linear 0.5s,opacity 0.5s linear;
	-moz-transition: visibility 0s linear 0.5s,opacity 0.5s linear;
	-o-transition:visibility 0s linear 0.5s,opacity 0.5s linear;
	transition:visibility 0s linear 0.5s,opacity 0.5s linear;
}

.client img.hover:hover {
	opacity:1;
	z-index:1;
	 -webkit-transition-delay:0s;
  -moz-transition-delay:0s;
  -o-transition-delay:0s;
  transition-delay:0s;
}

.clients {
	font-size:18px;
	line-height:1.6;
	color:#fff;
	-moz-column-count: 3;
    -moz-column-gap: 20px;
    -webkit-column-count: 3;
    -webkit-column-gap: 20px;
	 max-width:1050px;
	width:100%;
	margin:70px auto 0 auto;
	letter-spacing:1px;
	padding:0 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
   }
 
.clients p sup {font-size:13px}  

   .contact {
	font-size:18px;
	line-height:1.6;
	color:#fff;
	text-align:center;
	max-width:1050px;
	width:100%;
	   margin:0 auto;
	   letter-spacing:1px;
	   margin-bottom:100px;
   }
   
.clients a, .contact a, .wrap a {
	   color:#fff;
	   text-decoration:none;
   }
   
.clients a {text-shadow: 2px 2px 1px #000; }   
	   
.clients a:hover, .contact a:hover,  .wrap a:hover {
	   color: #FF0000;
	   text-decoration:none;
   }


.wrap {
	font-size:18px;
	line-height:1.6;
	color:#fff;
	text-align:left;
	width:100%;
	   letter-spacing:1px;
	   padding:0 30px 10px 30px;
	   	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	display:none;
	position: relative;
	float:left;
	background:rgba(0,0,0,0.5);
   }

.wrap  h2 {margin:60px 0 30px 0}
.wrap:after {
	clear:both
}

.wrap ul li {
	margin-left:25px}
	

   .innerwrap {
	   max-width:1050px;
	   width:90%;
	   margin:0 auto 30px auto;
	   	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
   }

.imac {margin-bottom:50px; width:100%; height:auto}
.ipad {float: right; margin-left:25px; width:45%; height:auto}	  
.ipadh {float: right; margin-left:25px; width:55%; height:auto}	 
h2 a.close {float: right; font-size:17px; font-weight:100; margin-top:30px;}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 856px) {
	div.client {width:33.3333%}
	.clients {
		margin-left:30px;
		width:90%;
	-moz-column-count: 2;
    -moz-column-gap: 10px;
    -webkit-column-count: 2;
    -webkit-column-gap: 20px;
	padding:0 20px;
   }
@media only screen and (max-width: 768px) {
	div.client {width:50%}
	h1 { font-size:60px;}

h2 { font-size:30px; 
	margin:90px 0 30px 0;
	}
.wrap, .clients, .contact {padding:0;font-size:16px;}
.innerwrap {
	   max-width:100%;
	   width:100%;
	   padding:0 15px;
	   	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box; 
   }

p.copy {font-size:10px; text-align:center; margin:30px 15px 10px 15px; color:#ccc; text-transform:uppercase;}

@media only screen and (max-width: 480px) {
	div.client {width:100%}
		h1 { font-size:45px;}

h2 { font-size:35px; 
	margin:30px 0 30px 0;
	}
.ipad, .imac, .ipadh {float:none; width:95%; margin-left:0; text-align:left; margin:0 auto; }
   .clients {
		margin-left:15px;
		width:90%;
	-moz-column-count: 1;
    -moz-column-gap: 0;
    -webkit-column-count: 1;
    -webkit-column-gap: 0;
	padding:0;
   }
   .contact {
	   text-align:left;
	   margin-left:15px;
		width:90%;
}	
}
@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

    .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; /* h5bp.com/t */
    }

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