/*! HTML5 Boilerplate v5.3.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;
}
html,
body {
	height: 100%;
	width: 100%;
	overflow-x: hidden;
	background-color: #1c1c1c;
} 

/*
 * 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;
}

/*
 * 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
   ========================================================================== */
.wrapper {
	height: 100%;
	width: 100%;
	background-color: #1c1c1c;
}
.wrapper.home {
	display: none;
	background-image: url('/img/home_bg.jpg');
	background-position: top left;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size:cover;
	background-color: #1c1c1c;
	z-index: 0;
}
.wrapper.about {
	display: none;
	background-image: url('/img/about_bg.jpg');
	background-position: top left;
	background-repeat: no-repeat;
	background-attachment: fixed;
	background-size:cover;
	background-color: #F6F6F6;
	z-index: 5;
}
.wrapper.work {
	display: none;
	background-image: none;
	z-index: 10;
}
.wrapper.home.activeWrapper,
.wrapper.about.activeWrapper,
.wrapper.work.activeWrapper {
	display: block;
}

.header {
	position: absolute;
	width: 100%;
	z-index: 50;
}

@font-face {
    font-family: ‘Lato-Hairline’;
    src: url(/css/Fonts/Lato-Hairline.ttf);
	-webkit-font-smoothing: antialiased;
}

@font-face {
	font-family: ‘Kepler Std’;
    src: url(/css/Fonts/KeplerStd-MediumDisp.ttf);
	-webkit-font-smoothing: antialiased;
}

h3 {
  font-family: ‘Lato-Hairline’;
  font-weight: normal;
  font-size: 60px;
  -webkit-font-smoothing: antialiased;
  margin: 0px;
}

h4 {
	font-family: ‘Kepler Std’;
	font-weight: normal;
	font-size: 30px;
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

p{
  font-family: ‘Open+Sans’;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  font-weight: lighter;
  margin: 0;
}

p em{
  font-family: ‘Open+Sans’;
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  font-weight: normal;
}

.logo {
	display: block;
	position: relative;
	opacity: 0;
}
.logo img {
	height: 70px;
	margin: 40px 0 0 40px; 
}

.nav {
  position: absolute;
  top: 10px;
  right: 20px;
  z-index: 1;
  opacity: 0;
}

.nav ul {
  margin: 0;
  padding: 0;
}

.nav li {
  display: block;
  float: left;
  margin: 47px 15px 0 15px;
  font-family: ‘Open+Sans’;
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.nav li a {
	color: #FFF;
	text-decoration: none;
	padding: 20px;
}
.nav li a:after {
	display: block;
	content: '';
	border-bottom: 3px solid #fff;
	-moz-transition: all .3s ease-in;
	-webkit-transition: all .3s ease-in;
	transition: all .3s ease-in;
	transform: scaleX(0);
}
.nav li a:hover:after {
    transform: scaleX(1);
}

#believe {
  display: block;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  padding: 50px 50px 50px 50px;
  max-width: 512px;
  background: rgba(0,0,0,0.8);
  color:#FFF;
  line-height: 30px;
  opacity: 0;
}

.brace-top {
	height: 3px;
	width: 20px;
	background-color: #fff;
	margin-top: 30px;
}

.brace-mid {
	border-left: 3px solid #fff;
	padding: 10px 0 10px 20px;
}

.brace-bottom {
	height: 3px;
	width: 20px;
	background-color: #fff;
}

.square-brace {
  margin-top: 30px;
  width: 10px;
  height: auto;
  float: left;
  display: none;
}

#about {
  display: block;
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  padding: 50px 50px 50px 50px;
  max-width: 512px;
  background: rgba(0,0,0,0.8);
  color:#FFF;
  line-height: 30px;
  opacity: 0;
}

#work {
	background-color: #F6F6F6;
}
.work-banner {
	background-image: url(../img/work_banner.jpg);
	text-align: center;
    vertical-align: middle;
	width: 100%;
	background-size: cover;
	position: relative; 
}

.work-banner p {
	text-align: center;
	color: #fff; 
	font-family: ‘Open+Sans’;
	font-size: 20px;
	-webkit-font-smoothing: antialiased; 
	padding: 150px 0 50px 0;
}

.clear {
	margin-top: 87px;
}

.work-section-headline{
	display: block;
	text-align: center;
	color: #1C1C1C;
	padding: 10px 0;
	clear: both;
}

.work-ui{
	display: block;
	width: 100%;
	height: 440px;
	background: url(../img/ui_wireframe_thumb.jpg) no-repeat top left;
	background-size: auto 100%;
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.work-ui:hover {
	background-size: auto 110%; 
	cursor: pointer;
}

.work-web{
	display: table;
	width: 100%;
	height: 440px;
	background-color: #000;
}

.work-logos{
	display: table;
	width: 100%;
	height: 440px;
	background-color: #fff;
}

.work-footer{
	display: block;
	width: 100%;
	height: 60px;
	background-color: #000;
	z-index: -1;
}

.thirds {
	position: relative;
	display: block;
	width: 100%;
}
.thirds .wd {
	position: relative;
	width: 33.33%;
	float: left;
	overflow: hidden;
}
.wd .webThumb {
	display: block;
	min-width: 100%;
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.wd .webLogo {
	position: absolute;
	height: 100%;
    width: 100%;
    top: 0px;
	background: rgba(0, 0, 0, 0);
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.wd .webLogo img {
	display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
	max-width: 80%;
	max-height: 80%;
	opacity: 0;
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.wd:hover {
	cursor: pointer;
}
.wd:hover > img {
	transform: scale(1.1);
}
.wd:hover .webLogo {
	background: rgba(0, 0, 0, .7);
}
.wd:hover .webLogo img {
	opacity: 1;
}

.thirds .ld {
	position: relative;
	float: left;
	width: 30%;
	margin: 1.5%;
	height: 350px;
}
.ld .ldLogo {
	position: absolute;
	height: 100%;
    width: 100%;
    top: 0px;
	border: 1px solid #000;
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.ld .ldLogo img {
	display: block;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
	max-width: 80%;
	max-height: 80%;
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
.ld:hover .ldLogo {
	transform: scale(1.1);
	cursor: pointer;
}

#closeModal,
#closeModal2 {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 150;
	color: #fff;
	font-family: ‘Open+Sans’;
	font-size: 30px;
	-webkit-font-smoothing: antialiased;
	font-weight: normal;
}
#closeModal:hover,
#closeModal2:hover {
	cursor: pointer;
}
#myModal.yupyup,
#myModal2.yupyup,
#businessPromotion.yupyup,
#businessPromotionImage.yupyup,
#copperCove.yupyup,
#copperCoveImage.yupyup,
#elevateAutomation.yupyup,
#elevateAutomationImage.yupyup,
#socialSail.yupyup,
#socialSailImage.yupyup,
#proSolutions.yupyup,
#proSolutionsImage.yupyup,
#notarySquare.yupyup,
#notarySquareImage.yupyup,
#uiDetails.yupyup,
#uiDetailsImage.yupyup {
	display: block;
}
#myModal,
#myModal2 {
	display: none;
	position: fixed;
	z-index: 100;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
	background: rgba(0, 0, 0, 0.7);
}
#myModal .frame,
#myModal2 .frame {
	position: absolute;
	top: 50px;
	bottom: 50px;
	left: 50px;
	right: 50px;
	background: rgba(246, 246, 246, 1);
}
.frame .lefty {
	position: relative;
	float: left;
	height: 100%;
	width: 33.33%;
	background: rgba(246, 246, 246, 1);
}
.frame .righty {
	position: relative;
	float: left;
	height: 100%;
	width: 66.66%;
	background: rgba(213, 213, 213, 1);
	overflow-y: scroll;
}
#businessPromotion,
#businessPromotionImage,
#copperCove,
#copperCoveImage,
#elevateAutomation,
#elevateAutomationImage,
#socialSail,
#socialSailImage,
#proSolutions,
#proSolutionsImage,
#notarySquare,
#notarySquareImage,
#uiDetails,
#uiDetailsImage {
	display: none;
}
.frame .lefty .inner {
	padding: 50px;
}

.frame .righty .inner {
	padding: 10px;
}

.frame .left img,
.frame .righty img {
	max-width: 100%;
}
.frame .siteLink {
	position: realtive;
	display: block;
	margin: 20px 0px;
	text-decoration: none;
	color: #1c1c1c;
	font-family: ‘Open+Sans’;
	-webkit-font-smoothing: antialiased;
}
.frame p {
	display: block;
	margin: 30px 0px;
	font-family: ‘Open+Sans’;
	font-size: 14px;
	line-height: 30px;
	-webkit-font-smoothing: antialiased;
	font-weight: lighter;
}
.modalLogo {
	width: 180px;
}
#myModal2 .frame img {
	display: none;
	position: relative;
    top: 50%;
    transform: translateY(-50%);
    margin: auto;
	max-width: 80%;
	max-height: 80%;
}
#myModal2 .frame .inner {
	position: absolute;
	height: 100%;
    width: 100%;
    top: 0px;
	background: rgba(0, 0, 0, 0);
	-moz-transition: all .3s ease-in;
    -webkit-transition: all .3s ease-in;
    transition: all .3s ease-in;
}
#myModal2 #elevateModalLogo.yupyup,
#myModal2 #breakingBadModalLogo.yupyup,
#myModal2 #backwoodsModalLogo.yupyup,
#myModal2 #f3entertainmentModalLogo.yupyup,
#myModal2 #maverickModalLogo.yupyup,
#myModal2 #danieldormanModalLogo.yupyup {
	display: block;
}



.trademark p {
  color: #fff;
  font-size: 10px;
  float: right;
  margin: 22px 60px 20px 0;
}

.trademark{
  position: absolute;
  bottom: 0px;
  right: 0px;
  color: #fff;
  font-size: 10px;
  z-index: 1;
}

/* visible only on work page */

/*.trademark{
  position: relative;
  display: block;
  width: 100%;
  height: 60px;
  background-color: #3C3C3C;
}*/
















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * 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 */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        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;
    }
}
