/*
Theme Name: Legacy Projects
Author: Big Fish Creative
Version: 999
*/

/* ----------------------------------------------------------------
    RESET
-----------------------------------------------------------------*/

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
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, main,
footer, header, hgroup, menu, nav, section { display: block; }
html { -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; background: #000; }
body { line-height: 1; }
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; }
[hidden] { display: none; }
html { font-family: sans-serif; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }
hr { -moz-box-sizing: content-box; box-sizing: content-box; height: 0; }
button::-moz-focus-inner,
input::-moz-focus-inner { border: 0; padding: 0; }
textarea { overflow: auto; vertical-align: top; }
input[type="text"],
input[type="email"],
input[type="password"],
textarea { -webkit-appearance: none; -webkit-border-radius: 0; border-radius: 0; }
input[type="submit"],
input[type="reset"] { -webkit-appearance: none; }
.input-block-level { display: block; width: 100% !important; min-height: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix { display: inline-block; *zoom:1;}
* html .clearfix { height: 1%;} /* Hides from IE-mac \*/
.clearfix { display: block;}
.clear { height: 0; background: transparent; width: 100% !important; clear: both; margin: 0 !important; }

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

.container { margin: 0 auto; padding-left: 30px; padding-right: 30px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.container-1100 { max-width: 1100px; }
.container-630 { max-width: 630px; }
.inset { padding-top: 60px; padding-bottom: 60px; }
.align-left { float: left; }
.align-right { float: right; }

.col-full { width: 100%; }
.col-half { width: 48%; }
.col-one-third { width: 30.63%; }
.col-two-third { width: 65.33%; }
.col-one-fourth { width: 22%; }
.col-three-fourth { width: 74%; }
.col-one-fifth { width: 16.8%; }
.col-two-fifth { width: 37.6%; }
.col-three-fifth { width: 58.4%; }
.col-four-fifth { width: 79.2%; }
.col-one-sixth { width: 13.33%; }
.col-five-sixth { width: 82.67%; }

.col-full, .col-half, .col-one-third, .col-two-third, .col-three-fourth, .col-one-fourth, .col-one-fifth, .col-two-fifth, .col-three-fifth, .col-four-fifth, .col-one-sixth, .col-five-sixth { display: block; position: relative; margin-right: 4%; margin-bottom: 50px; float: left; }

.col-full { clear: both; float: none; margin-right: 0; }
.col-last { margin-right: 0; clear: right; }

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

::selection { background: #FFC20E; color: #000; }
::-moz-selection { background: #FFC20E; /* Firefox */ color: #000; }
::-webkit-selection { background: #FFC20E; /* Safari */ color: #000; }

::-webkit-input-placeholder { color: #939393; }
:-moz-placeholder { color: #939393; }
::-moz-placeholder { color: #939393; }
:-ms-input-placeholder { color: #939393; }

html { height: 100%; }
html, body { width: 100%; margin: 0; padding: 0; background-color: #fff; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
body { min-height: 100%; }

hr { width: 100%; clear: both; height: 1px; background: transparent; border: none; border-bottom: 1px dashed #c5c5c5; outline: none; margin: 20px 0; }

/* FORMS */

form { margin-bottom: 0; }
form p { margin-bottom: 25px; }
label { display: inline-block; font-size: 16px; padding-bottom: 3px; }
label span { color: #ffc403; }
span.note { font-size: 16px; line-height: 20px; font-style: italic; display: block; margin-bottom: 10px; }
small span { color: #7b7e85; font-size: 18px; font-style: normal; }
input[type="text"], input[type="email"], input[type="password"], select, textarea { display: block; background-color: #fff; color: #939393; outline: none; padding: 10px 12px; border: 0; font-family: 'Archivo', sans-serif; font-size: 18px; line-height: 24px;  -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }
input[type="text"], input[type="email"], input[type="password"], textarea { width: 100%; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
textarea { height: 150px; } 
input[type="text"]:focus, input[type="email"]:focus, input[type="search"]:focus, input[type="password"]:focus, select:focus, textarea:focus { background-color: #fff6c3; color: #464646; }
input[type="submit"] { font-family: 'Archivo', sans-serif; text-transform: uppercase; font-weight: 700; background-color: #FFC20E; font-size: 18px; color: #000; padding: 12px 40px; display: inline-block; position: relative; cursor: pointer; border: none; -webkit-transition: background 0.3s ease-in-out; -moz-transition: background 0.3s ease-in-out; -o-transition: background 0.3s ease-in-out; transition: background 0.3s ease-in-out; }
input[type="submit"]:hover, input[type="submit"]:focus, input[type="submit"]:active { background-color: #ffd71b; }
.wpcf7-submit span { position: relative; top: -2px; } 
#contact-recaptcha { margin-bottom: 30px; }
div.wpcf7-response-output { margin: 20px 0 0 0; padding: 12px 15px; border: none; font-size: 18px; }
.invalid div.wpcf7-validation-errors { border-left: 5px solid #e90e0e; background-color: #ffe7e7; color: #e90e0e; }
span.wpcf7-not-valid-tip { font-size: 14px; font-style: italic; width: auto; padding: 3px 8px; color: red; text-shadow: none; font-weight: 400; }
.sent div.wpcf7-response-output{ background-color: #d0ebc3; border-left: 5px solid #398F14; padding: 12px 20px; color: #398F14; }

/* LISTS */

ul, ol { margin: 0 0 50px 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }
dl { padding: 0; }
ul li, ol li { margin-bottom: 8px; }
.list-reset { margin: 0; padding: 0; list-style: none; }

/* IMAGES */

img { max-width: 100%; height: auto; }

.page-section { clear: both; width: 100%; position: relative; }
.page-section .container { position: relative; z-index: 5; }
.bg-light { z-index: 5; }
.bg-light:before { content: ""; border-top: 25px solid #fff; border-left: 25px solid transparent; border-right: 25px solid transparent; width: 0; height: 0; position: absolute; bottom: -24px; left: 50%; margin-left: -25px; z-index: 5; }
.bg-grayscale { background: #ededed url("gfx/bg-hatched.png") repeat 0 0; z-index: 1; }
.bg-grayscale:before { content: ""; width: 100%; height: 100%; position: absolute; top: 0; left: 0; background-repeat: no-repeat; background-attachment: fixed; height: 100%; width: 100%; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: 'Archivo', sans-serif; font-weight: 400; font-size: 20px; line-height: 1.5; color: #464646; }

p, ul, ol, blockquote, table, fieldset { margin-bottom: 25px; }

strong { font-weight: bold; }
em, i { font-style: italic; }
small { font-size: 13px; font-style: italic; }
caption { text-align: left; }

.kicker { font-size: 24px; font-weight: 700; }
.success { background: #f1ffeb; color: #398F14; border: 1px solid #398F14; padding: 15px 20px; }
.notice { background-color: #FFC20E; color: #000; padding: 15px 20px; line-height: 1.4; margin-bottom: 30px; }
.centered { text-align: center;}
.upper { text-transform: uppercase; }
.screen-reader-text,
.screen-reader-response { clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; position: absolute !important; }

/* HEADINGS */

h1, h2, h3, h4, h5, h6 { margin-bottom: 20px;  }
h1 { font-size: 30px; line-height: 1.2; font-weight: 700; }
h2 { font-size: 34px; font-family: 'Archivo Black', sans-serif; font-weight: 400; margin-bottom: 60px; }
h3 { font-size: 22px; font-weight: 700; }
h4 { font-size: 20px; font-weight: 700; color: #ffc403; text-shadow: 1px 1px 0 rgba(255,255,255,0.7); }

/* LINKS */

a { text-decoration: none; color: #ffc403; -webkit-transition: color 0.15s ease-in-out; -moz-transition: color 0.15s ease-in-out; -o-transition: color 0.15s ease-in-out; transition: color 0.15s ease-in-out; }
a:hover, a:active { color: #FFC20E; }

.tel { cursor: default; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead { padding: 35px 0 40px 0; position: relative; z-index: 10; }

	#logo { width: 350px; height: 0; display: block; line-height: 0; position: relative; padding-bottom: 9.5%; }
	#logo svg { position: absolute; top: 0; left: 0; }
	
	#main-nav { margin-top: 32px; }
	#menu-main-nav li { display: inline-block; position: relative; }
	#menu-main-nav li:after { background: url("gfx/divider.png"); background: url("gfx/divider.svg"), linear-gradient(transparent, transparent); content: ""; position: absolute; right: -8px; top: 12px; width: 12px; height: 8px; }
	#menu-main-nav li:last-child:after { background: none; }
	#menu-main-nav a { text-transform: uppercase; font-size: 18px; color: #464646; padding: 10px 30px; }

/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content { overflow: hidden; position: relative; width: 100%; z-index: 1; }
	
	/* VIDEO HEADER */
	
	#hero-video-container { position: relative; height: 0; padding-bottom: 37.7%; background-color: #282828; overflow: hidden; }
	#hero-video { position: absolute; top: 0; left: -1%; width: 102% !important; height: 100% !important; }
	
	/* ABOUT */
	
	#about .container-630 { position: relative; padding-top: 80px; }
	#about .container-630:before { content: ""; width: 40px; height: 35px; background: url("gfx/icon-legacy.png") no-repeat 0 0; -webkit-background-size: 100% 100%; -moz-background-size: 100% 100%; -o-background-size: 100% 100%; background-size: 100% 100%; position: absolute; top: 20px; left: 50%; margin-left: -20px; }
	
	/* WORK */
	
	#work { overflow: hidden; padding-bottom: 50px; }
	#work:before { background-image: url("gfx/bg-overlay-right.svg"); background-position: right top; }

	.project-details dl { font-size: 16px; }
	.project-details dt { font-weight: 700; float: left; clear: left; margin-right: 5px; }
	.project-details dd { margin-bottom: 10px; }
	
	.video-wrapper { position: relative; padding-bottom: 27%; height: 0; z-index: 5; }
	.video-wrapper a { display: block; position: relative; overflow: hidden; }
	.video-wrapper img { transition: all .2s ease-in-out; }
	.video-wrapper div { width: 60px; padding-bottom: 60px; height: 0; position: absolute; left: 50%; top: 50%; margin-left: -30px; margin-top: -30px; }
	.video-wrapper svg { position: absolute; top: 0; left: 0; fill: #fff; opacity: 0.7; }
	.video-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #393939; z-index: 2; }
	.video-wrapper a:hover img { transform: scale(1.05); }
	.video-wrapper a:hover svg { fill: #ffc403; opacity: 1; }
	
	#current-contracts { clear: both; }
	#current-contracts h2 { margin-bottom: 30px; }
	#current-contracts dl { margin: 0 0 20px 0; }
	#current-contracts dt, #current-contracts dd { color: #ffc403; text-shadow: 1px 1px 0 rgba(255,255,255,0.7); font-size: 16px; display: inline-block; }
	#current-contracts dd { margin-right: 15px; }
	#current-contracts br { display: none; }
	
	/* CLIENTS */
	
	#project-partners { overflow: hidden; padding-top: 20px; }
	#project-partners li { float: left; margin: 0 31px 60px 31px; }
	#project-partners li#partner-at,
	#project-partners li#partner-rnz { margin-left: 0; }
	#project-partners li#partner-fletcher,
	#project-partners li#partner-uc { margin-right: 0; }
	
	#partner-at img { width: 90px; }
	#partner-nzta img { width: 165px; margin-top: 30px; }
	#partner-wca img { width: 75px; }
	#partner-aia img { width: 150px; margin-top: 30px; }
	#partner-fonterra img { width: 120px; margin-top: 3px; }
	#partner-fletcher img { width: 125px; margin-top: 35px; }
	#partner-rnz { clear: both; }
	#partner-rnz img { width: 90px; }
	#partner-tower img { width: 150px; margin-top: 12px; }
	#partner-fh img { width: 70px; }
	#partner-hnz img { width: 150px; margin-top: 22px; }
	#partner-culham img { width: 125px; }
	#partner-uc img { width: 140px; margin-top: 32px; }
	
	/* CONTACT */
	
	#contact:before { background-image: url("gfx/bg-left.svg"); background-position: left top; }
	#contact .col-half { margin-bottom: 0; }
	
	#contact-details { letter-spacing: 1px; }
	#contact-details dt { float: left; clear: left; margin-right: 5px; }
	#contact-details dd { margin-bottom: 20px; }
	#contact-details a { color: #ffc403; border-bottom: 2px solid #ffc403; text-shadow: 1px 1px 0 rgba(255,255,255,0.7); display: inline-block; padding-bottom: 2px; }
	#contact-details a:hover { border-color: transparent; }
	#tab-phone span { display: inline-block; margin-right: 8px; }
	#tab-email span { display: inline-block; margin-right: 7px; }

/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

#global-footer { padding: 40px 0; text-align: center; }
#global-footer p { font-weight: 700; margin-bottom: 0; font-size: 14px; }
#global-footer span { font-size: 12px; }

#bf-logo { position: relative; width: 120px; margin: 10px auto 25px auto; display: block; padding-bottom: 36px; }
#bf-logo svg { position: absolute; left: 0; top: 0; }

#back-to-top { display: none; z-index: 999; position: fixed; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; background-color: #464646; color: #fff; font-size: 18px; line-height: 38px; display: inline-block; height: 40px; width: 40px; text-align: center; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; }
#back-to-top:hover, #back-to-top:focus, #back-to-top:active { background-color: #ffc403; color: #464646; }
