/*
Theme Name: McKay
Author: Big Fish Creative
*/

/* ----------------------------------------------------------------
    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, 
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; }
:focus { outline: 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;}

/* ----------------------------------------------------------------
    REPEATABLE PATTERNS
-----------------------------------------------------------------*/

::selection { background: #ba8128; color: #fff; }
::-moz-selection { background: #ba8128; /* Firefox */ color: #fff; }
::-webkit-selection { background: #ba8128; /* Safari */ color: #fff; }
::-webkit-input-placeholder { color: #fff; text-transform: uppercase; }
:-moz-placeholder { /* Firefox 18- */ color: #fff; text-transform: uppercase; }
::-moz-placeholder {  /* Firefox 19+ */ color: #fff; text-transform: uppercase; }
:-ms-input-placeholder { color: #fff; text-transform: uppercase; }

/* FORMS */

fieldset { border: 1px solid #424242; padding: 20px; }
label { display: inline-block; margin-bottom: 5px; cursor: pointer; font-weight: 400; }
input, select, textarea { font-family: 'Titillium Web', sans-serif; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {  display: block; background: #000; background: url(gfx/transparency-black.png); padding: 8px 10px;  margin: 0 0 15px; border: 1px solid #424242; outline: 0; font-size: 16px; line-height: 22px; color: #fff; width: 95%; }
input[type="text"].mid, input[type="email"].mid { width: 70%; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid { border-color: #f1592a; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus { background: #424242; -webkit-transition: background 0.4s ease-in-out; -moz-transition: background 0.4s ease-in-out; -o-transition: background 0.4s ease-in-out; transition: background 0.4s ease-in-out; color: #fff;  }
input[type="submit"] { font-family: 'Oswald', sans-serif; text-transform: uppercase; color: #fff; font-weight: 600; background: #ba8128; border: 1px solid transparent; padding: 6px 15px; display: inline-block; -webkit-transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; font-weight: 600; outline: none; font-size: 16px; cursor: pointer; -webkit-border-radius: 0; -moz-border-radius: 0; border-radius: 0; letter-spacing: 1px; }
input[type="submit"]:hover, input[type="submit"]:active { background: #e9a335; color: #fff; text-shadow: none; }
input#contact-captcha { width: 85px; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important; border-width: 1px !important; background: #fffef0 !important; font-size: 14px !important; color: #656565 !important; line-height: 20px; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background: #ffe7e7 !important; color: red !important; text-shadow: none; }
span.wpcf7-not-valid-tip { font-size: 12px !important; font-style: italic; width: 180px !important; padding: 3px 8px; color: red !important; text-shadow: none; font-weight: 400; }
div.wpcf7-mail-sent-ok { background: #f1ffeb !important; color: #398F14 !important; }

/* LISTS */

ul { list-style: disc; }
ol { list-style: decimal; }
ul, ol, dl { margin: 0 0 30px 20px; }
.list-reset { margin: 0; padding: 0; list-style: none; }

/* IMAGES */

img { max-width: 100%; }
.cover { position: relative; background-repeat: no-repeat; background-position: 50% 100%; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; -webkit-backface-visibility: hidden; overflow: hidden; }
.entry-content img, .comment-content img, .widget img { max-width: 97.5%; /* Fluid images for posts, comments, and widgets */ }
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
img.size-full, img.size-large { max-width: 97.5%; width: auto; /* Prevent stretching of full-size and large-size images with height and width attributes in IE8 */ height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
.alignleft, .alignright, .aligncenter { margin-bottom: 10px; }
.alignleft, .alignright { display: inline; }
.alignleft { margin-right: 20px; float: left; }
.alignright { margin-left: 20px; float: right; }
img.alignleft, img.alignright, img.aligncenter { margin-bottom: 1.625em; }
p img, .wp-caption { margin-top: 0.4em; }
img[class*="wp-image-"] { background: #eee; padding: 8px; border: 1px solid #dbdbdb; }
.wp-caption { background: #eee; max-width: 96%; padding: 8px; border: 1px solid #dbdbdb; }
.wp-caption img[class*="wp-image-"] { display: block; margin: 0 auto; width: 100%; padding: 0; border: none; }
.wp-caption .wp-caption-text, .gallery-caption { color: #666; font-size: 12px; line-height: 16px; font-style: italic; }
.wp-caption .wp-caption-text { padding: 10px 0 2px 6px; position: relative; margin-bottom: 0; }

/* BUTTONS */

.button { text-transform: uppercase; color: #fff; font-weight: 600; background-color: #ba8128; border: none; padding: 6px 15px; display: inline-block; -webkit-transition: all 0.15s ease-in-out; -moz-transition: all 0.15s ease-in-out; -o-transition: all 0.15s ease-in-out; transition: all 0.15s ease-in-out; font-weight: 600; }
.button:hover, .button:active { background-color: #fff; color: #000; }

/* TEASERS */

.teaser { background: #41342a; overflow: hidden; margin-bottom: 30px; }
.teaser div { margin-bottom: 0; }
.teaser .teaser-image { line-height: 0; margin-right: 2%; }
.teaser-text-wrapper.col-two-third { width: 67%; }
.teaser-text-wrapper.no-image { width: 100%; }
.teaser-text { padding: 15px 15px 20px 0; }
.teaser-text-wrapper.no-image .teaser-text { padding: 20px; }
.teaser-text h3 { font-weight: 300; margin-bottom: 5px; font-size: 22px; line-height: 26px; }
.teaser-text p { margin-bottom: 0; font-size: 15px; line-height: 22px; }

.service-teaser { width: 20%; position: relative; float: left; margin: 0; }
.project-teaser { position: relative; }
.service-teaser a, .project-teaser a { display: block; line-height: 0; }
.service-teaser img, .project-teaser img { width: 100%; height: 100%; opacity: 0.85; }
.teaser-overlay { display: block; width: 100%; height: 100%; text-align: center; position: absolute; top: 0; left: 0; transition: background .2s ease-in-out; -moz-transition: background .2s ease-in-out; -webkit-transition: background .2s ease-in-out; -ms-transition: background .2s ease-in-out; -o-transition: background .2s ease-in-out; }
.service-teaser h3, .project-teaser h3 { font-size: 30px; text-align: center; position: absolute; top: 46%; width: 100%; color: #fff; text-shadow: 3px 3px 5px rgba(0,0,0,0.8); }
.project-teaser h3 { font-size: 24px; line-height: 30px; top: 42%; }
.service-teaser a:hover .teaser-overlay, .project-teaser a:hover .teaser-overlay { background: #41342a; background: rgba(0,0,0,0.5); }

/* SINGLE NAV */

#single-nav { padding: 10px 0; font-weight: 400; text-transform: uppercase; }
#single-nav li { width: 33.33%; float: left; }
#single-nav li#tab-all { text-align: center; }
#single-nav li#tab-next { text-align: right; }
#single-nav a { display: block; padding: 10px 0; }

blockquote p { padding-left: 5px; margin-bottom: 15px; }
blockquote footer { padding-left: 5px; }
.opening-quote, .closing-quote { font-size: 20px; }
.opening-quote { text-indent: -12px; display: inline-block; }

/* ----------------------------------------------------------------
    TYPOGRAPHY
-----------------------------------------------------------------*/

body { font-family: 'Roboto', sans-serif; color: #fff; font-size: 16px; line-height: 24px; font-weight: 300;}

p, blockquote, table, fieldset, form { margin-bottom: 20px; }

.kicker { font-size: 20px; line-height: 28px; font-weight: 400; color: #ba8128; }
.kicker.section { color: #fff; }

strong { font-weight: bold; }
em, cite { font-style: italic; }
small { font-size: 11px; font-style: italic; }
caption { text-align: left; }

.centered { text-align: center;}
.upper { text-transform: uppercase; }

/* HEADINGS */

h1, h2, h3, h4, h5, h6 { font-family: 'Oswald', sans-serif; font-weight: 700; color: #ba8128; text-transform: uppercase; margin-bottom: 20px; letter-spacing: 2px; }
h1 { font-size: 40px; line-height: 44px;  margin-bottom: 25px;}
h2 { font-size: 32px; line-height: 38px; }
h3 { font-size: 24px; line-height: 28px; }
h4 { font-size: 18px; line-height: 24px; }
h5 { font-size: 16px; line-height: 22px; }

/* LINKS */

a { text-decoration: none; color: #ba8128; -webkit-transition: color 0.2s ease-in-out; -moz-transition: color 0.2s ease-in-out; -o-transition: color 0.2s ease-in-out; transition: color 0.2s ease-in-out; }
a:hover, a:active { color: #e9a335;  }
a.more { font-weight: 400; }

/* ----------------------------------------------------------------
    STRUCTURE
-----------------------------------------------------------------*/

.wrapper { width: 100%; padding: 30px 0; position: relative; overflow: hidden; border-bottom: 1px solid #414141; }
.container { width: 960px; margin: 0 auto; position: relative; }
.inset { padding: 20px; }
.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; }

/* ----------------------------------------------------------------
    MASTHEAD
-----------------------------------------------------------------*/

#masthead { position: fixed; top: 0; width: 100%; background: #000; z-index: 10000; border-bottom: 5px solid #ba8128; padding: 15px 0; }
	
	/* LOGO */
	
	#logo { float: left; }
	.retina-logo { display: none; }
	.standard-logo { display: block; line-height: 0; }
	
	/* MAIN NAV */
	
	#responsive-nav { display: none; }
	#main-nav { float: right; margin-top: 14px; }
	#menu-main-navigation { z-index: 999999; list-style: none; margin: 0; text-transform: uppercase; font-family: 'Oswald', sans-serif; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: 1px; }
	#menu-main-navigation li { float: left; margin: 0; position: relative; }
	#menu-main-navigation li a { color: #fff; display: block; padding: 20px; }
	#menu-main-navigation li:hover a, #menu-main-navigation li.current-menu-item a, #menu-main-navigation li.current-menu-parent a, #menu-main-navigation li.current-page-ancestor a, .single-mckay_project li#menu-item-34 a, .single-post li#menu-item-41 a, .category li#menu-item-41 a, .tax-testimonial_category li#menu-item-34 a, .tax-project_category li#menu-item-34 a { color: #ba8128; }
	#menu-main-navigation ul.sub-menu { -moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2); -webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2); box-shadow: 0 3px 3px rgba(0,0,0,0.2); display: none; margin: 0; list-style: none; padding: 0; position: absolute; top: 62px; left: 5px; width: 214px; z-index: 99999; border: 1px solid #fff; border-bottom: none; }
	#menu-main-navigation ul.sub-menu li { margin: 0; border-bottom: 1px solid #fff; }
	#menu-main-navigation ul.sub-menu a, #menu-main-navigation li.current_page_item ul.sub-menu a { background: #fff; color: #000; font-size: 15px; height: auto; line-height: 18px; padding: 12px 15px; width: 184px; -webkit-transition: none; -moz-transition: none; -o-transition: none; transition: none; }
	#menu-main-navigation li:hover ul.sub-menu a:hover, #menu-main-navigation li:hover ul.sub-menu li.current-menu-item a, #menu-main-navigation ul.sub-menu li.current-page-ancestor a, .term-marine #menu-main-navigation .sub-menu li#menu-item-185 a { background: #ba8128; color: #fff; }
	#menu-main-navigation li:hover > ul { display: block; }

/* ----------------------------------------------------------------
    HERO HEADER
-----------------------------------------------------------------*/

#hero-header { border-bottom: 5px solid #ba8128; position: relative; z-index: 1; margin-top: 123px; }
	
	/* SLIDER */
	
	#hero-header.slider { position: relative; z-index: 1; }
	#hero-header.slider .bx-controls { position: absolute; bottom: 4%; width: 100%; z-index: 100; }
	#hero-header.slider .bx-pager { text-align: center; width: 100%; overflow: hidden; }
	#hero-header.slider .bx-pager-item { display: inline-block; }
	#hero-header.slider .bx-pager-link { display: block; width: 22px; height: 22px; background: url(gfx/sprite-pagination-btn.png) no-repeat 0 0; text-indent: -5000px; margin: 0 5px; }
	#hero-header.slider .bx-pager-link:hover, #hero-header.slider .bx-pager-link.active { background-position: 0 -22px; }
	
	.slide-overlay-container { height: 100%; }
	.slide-overlay { position: absolute; bottom: 12%; left: 0; text-transform: uppercase; }
	.slide-overlay span { display: inline-block; font-family: 'Oswald', sans-serif; font-size: 30px; line-height: 34px; font-weight: 700; letter-spacing: 2px; background: #41342a; background: rgba(65,52,42,0.8); margin-bottom: 6px; padding: 12px 15px; color: #fff; }

/* ----------------------------------------------------------------
    LEFT SIDEBAR
-----------------------------------------------------------------*/

#sidebar-left { width: 25%; margin-right: 0; }

	#subnav	{ font-family: 'Oswald', sans-serif; text-transform: uppercase; text-align: right; letter-spacing: 2px; }
	#subnav	ul { list-style: none; margin: 0; padding: 0; }
	#subnav h2 { font-size: 27px; line-height: 33px; padding-right: 25px; font-weight: 700; margin: 30px 0 25px 0; }
	#subnav li { border-bottom: 1px solid #ba8128; }
	#subnav a { color: #fff; padding: 12px 25px 12px 15px; font-size: 19px; line-height: 24px; font-weight: 300; margin-bottom: 0; display: block; }
	#subnav a:hover, #subnav li.current-menu-item a, #subnav li.current-menu-parent a, #subnav li.current-cat a, #subnav li.current-mckay_project-ancestor a, .single-mckay_project #subnav li#menu-item-128 a:hover, .single-mckay_project #subnav li#menu-item-130 a:hover { color: #ba8128; }
	.single-mckay_project #subnav li#menu-item-128 a, .single-mckay_project #subnav li#menu-item-130 a { color: #fff; }
	
/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/

#main-content-wrapper { padding: 35px 0; overflow: hidden; border-bottom: 5px solid #ba8128; }
.home #main-content-wrapper, .page-id-9 #main-content-wrapper { padding-bottom: 0; text-align: center; }
	
	#content { float: right; width: 70.8%; border-left: 1px solid #ba8128; padding-left: 4%; min-height: 380px; }
	#content.no-subnav { float: left; padding-left: 0; border-left: 0; width: 66%; }
	
	#our-services { padding: 30px 0; }
	.page-template-template-full-width-php #our-services { padding-bottom: 0; }
	
	/* NEWS */
	
	.post-meta { font-family: 'Roboto', sans-serif; text-transform: none; letter-spacing: 0; color: #fff; font-style: italic; font-size: 14px; margin-bottom: 12px; }
	.single-post h1 { margin-bottom: 10px; }
	.single-post h5.post-meta { font-size: 18px; margin-bottom: 20px; }
	
	/* NEWSLETTERS */
	
	.newsletter { margin-bottom: 20px; }
	.newsletter a { display: block; }
	.newsletter img { margin-bottom: 5px; }
	.newsletter h5 { color: #fff; }
	.newsletter a:hover h5 { color: #ba8128; }
	
	/* PROJECTS */
	
	#projects { padding-top: 20px; }
	
	/* SINGLE PROJECT */
	
	#gallery-wrapper { position: relative; margin-bottom: 20px; }
	#gallery-wrapper .bx-controls-direction { width: 100%; z-index: 3000; }
	#gallery-wrapper .bx-controls-direction a { display: block; width: 40px; height: 40px; background-repeat: no-repeat; background-position: 0 0; float: left; text-indent: -5000px; position: absolute; top: 35%; z-index: 3000; }
	#gallery-wrapper .bx-controls-direction a.disabled { display: none; }
	#gallery-wrapper .bx-controls-direction a:hover { background-position: 0 -40px; }
	#gallery-wrapper .bx-prev { background-image: url(gfx/sprite-btn-prev.png); left: -12px; }
	#gallery-wrapper .bx-next { background-image: url(gfx/sprite-btn-next.png); right: -12px; }
	
	#related-testimonial { background: #41342a; padding: 20px; margin-bottom: 20px; border-top: 20px solid #000; }
	#related-testimonial blockquote { margin-bottom: 0; }
	
	/* VACANCIES */
	
	.teaser .button { margin-top: 15px; }
	
	/* CONTACT */
	
	.office { border-top: 1px solid #ba8128; overflow: hidden; margin-bottom: 20px; padding-top: 25px; }
	.office div { margin-bottom: 0; }

/* ----------------------------------------------------------------
    RIGHT SIDEBAR
-----------------------------------------------------------------*/

#sidebar-right { width: 27%; float: right; }
	
	#sidebar-right {}

/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

#global-footer { padding: 40px 0; }
	
	#footer-contact { margin-right: 0; font-size: 14px; }
	#footer-contact img { padding-top: 10px; }
	#footer-contact ul { padding: 5px 0 5px 27px; border-left: 1px solid #ba8128; margin-left: 25px; }
	
	#footer-logos { text-align: right; float: right; }
	#footer-logos a { display: inline-block; }
			
/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 999; position: fixed; width: 40px; height: 40px; top: auto; left: auto; right: 30px; bottom: 30px; cursor: pointer; background: url(gfx/sprite-btn-btt.png) no-repeat 0 0; }
#back-to-top:hover,
#back-to-top:active { background-position: 0 -40px; }
#back-to-top span { display: block; text-indent: -10000px; }