/*
Theme Name: Groundfix
Author: Big Fish Creative
Version: 1.0
*/

/* ----------------------------------------------------------------
    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 */

.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: #00aeef; color: #fff; }
::-moz-selection { background: #00aeef; /* Firefox */ color: #fff; }
::-webkit-selection { background: #00aeef; /* Safari */ color: #fff; }
::-webkit-input-placeholder { color: #868686; }
:-moz-placeholder { /* Firefox 18- */ color: #868686; }
::-moz-placeholder {  /* Firefox 19+ */ color: #868686; }
:-ms-input-placeholder { color: #868686; }

html,
body { background: #f3f7fb; }

.overlay { display: block; position: absolute; text-indent: -3000px; }
.fit { margin-right: 0 !important; }
.hide { position: absolute !important; top: -9999px !important; left: -9999px !important; }
.clear { width: 100%; height: 1px; clear: both; }

/* LISTS */

ol, ul { margin: 16px 0 30px 0; padding: 0 0 0 40px; }
ol { list-style: decimal; }
ul { list-style: disc; }
ul li, ol li { margin-bottom: 8px; }
.list-reset { margin: 0; padding: 0; list-style: none; }
#main-content ul { list-style-type: none; padding-left: 20px; }
#main-content ul li { text-indent: -12px; }
#main-content ul li:before { content: "\2022"; color: #1968b3; padding-right: 0.5em; }

/* TABLES */

table { border-bottom: 1px solid #ededed; border-collapse: collapse; border-spacing: 0; font-size: 14px; line-height: 2; margin: 0 0 20px; width: 100%; }
th, td { font-weight: normal; text-align: left; }
th { font-weight: bold; text-transform: uppercase; }
td { border-top: 1px solid #ededed; padding: 6px 10px 6px 0; }

/* IMAGES */

img { max-width: 100%; height: auto; }
img[class*="align"],
img[class*="wp-image-"],
img[class*="attachment-"] { height: auto; }
.alignleft,
.alignright,
.aligncenter,
.header-image { margin-bottom: 10px; }
.alignleft.thumbnail { padding: 0; background: #fff; }
.alignleft,
.alignright { display: inline; }
.alignleft { margin-right: 15px; float: left; }
.alignright { margin-left: 15px; float: right; }
.wp-caption { margin-top: 5px; margin-bottom: 15px; }
.wp-caption { padding: 5px 0; }
.wp-caption img { display: block; margin: 0 auto; line-height: 0; }
.wp-caption-text { color: #666; font-style: italic; font-size: 1em; padding: 5px; margin-bottom: 0; display: inline-block; }
.bg-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; }

/* FORMS */

form p { margin-bottom: 15px; }
fieldset { padding: 25px; background: #fdfdfd; border: 1px solid #acacac; }
legend { padding: 0 4px; font-size: 0.9em; letter-spacing: 1px; text-transform: uppercase; }
label { cursor: pointer; margin-bottom: 4px; display: inline-block; color: #004a98; font-size: 0.95em; font-weight: 700; padding: 0 5px 2px 0; }
label span { color: red; }
input[type=text],
input[type=email],
textarea { font-family: 'Roboto', Arial, sans-serif; border: 1px solid #c0c0c0; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; padding: 8px 10px; background: #f9fafb; color: #656565; -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); box-shadow: inset 0 1px 1px rgba(0,0,0,0.1); line-height: normal; -webkit-transition:background 0.15s ease-in; -moz-transition:background 0.15s ease-in; -o-transition:background 0.15s ease-in; transition:background 0.15s ease-in; font-size: 1em; line-height: 1.4em; width: 95%; }
input:focus,
textarea:focus { color: #004a98; border: 1px solid #004a98; background: #ddf2ff; outline: none; }
input#contact-captcha { width: 65px; margin: 0 8px 10px 0; }
img.wpcf7-captcha-captcha { margin-bottom: 5px; }
input#submit { border: none; cursor: pointer; margin-top: 10px; outline: none; }
div.wpcf7-response-output { margin: 2em 0 1em 0 !important; padding: 10px 15px !important;  border-width: 1px !important; background: #fffef0 !important; color: #656565 !important; line-height: 24px; }
div.wpcf7-validation-errors { border: 1px solid #ff0000 !important; background: #ffe7e7 !important; color: red !important; }
span.wpcf7-not-valid-tip { font-size: 0.85em !important; font-style: italic; width: 210px !important; padding: 3px 8px; color: red !important; }
div.wpcf7-mail-sent-ok { background: #f1ffeb !important; color: #398F14 !important; }

/* BUTTONS */

.button,
input#submit {
    -moz-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    -webkit-box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    box-shadow:inset 0px 1px 0px 0px #7a8eb9;
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #1968b3), color-stop(1, #11487c));
    background:-moz-linear-gradient(top, #1968b3 5%, #11487c 100%);
    background:-webkit-linear-gradient(top, #1968b3 5%, #11487c 100%);
    background:-o-linear-gradient(top, #1968b3 5%, #11487c 100%);
    background:-ms-linear-gradient(top, #1968b3 5%, #11487c 100%);
    background:linear-gradient(to bottom, #1968b3 5%, #11487c 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#1968b3', endColorstr='#11487c',GradientType=0);
    background-color:#1968b3;
    border:1px solid #314179;
    display:inline-block;
    color:#ffffff;
    padding:6px 12px;
    text-decoration:none;
    font-size: 15px;
    line-height: 19px;
    text-transform: uppercase;
}
.button:hover,
input#submit:hover { 
    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #11487c), color-stop(1, #1968b3));
    background:-moz-linear-gradient(top, #11487c 5%, #1968b3 100%);
    background:-webkit-linear-gradient(top, #11487c 5%, #1968b3 100%);
    background:-o-linear-gradient(top, #11487c 5%, #1968b3 100%);
    background:-ms-linear-gradient(top, #11487c 5%, #1968b3 100%);
    background:linear-gradient(to bottom, #11487c 5%, #1968b3 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#11487c', endColorstr='#1968b3',GradientType=0);
    background-color:#11487c;
    color: #fff;
}
.button:active,
input#submit:active {
    position:relative;
    top:1px;
}

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

body { font-family: 'Roboto', Arial, serif; font-weight: 400; color: #818285; font-size: 1em; line-height: 1.45em; }

p { margin-bottom: 20px; }
strong, b { font-weight: bold; }
em, i, cite { font-style: italic; }
small { font-size: 11px; font-style: italic; }
caption { text-align: left; }
small { font-size: 0.85em; }
small span { color: red; font-size: 1.25em; }

.kicker { font-family: 'Roboto Slab', Arial, serif; font-size: 1.4em; line-height: 1.4em; font-weight: 700; }
.upper { text-transform: uppercase; }
.centered { text-align: center; }

/* HEADINGS */

h1,h2,h3,h4,h5,h6 { font-family: 'Roboto Slab', Arial, serif; margin: 0 0 15px 0; color: #1968b3; font-weight: 700; }
h1 { font-size: 2.5em; line-height: 1.3em; }
h2 { font-size: 1.4em; line-height: 1.3em; }
h3 { font-size: 1.35em; line-height: 1.3em; }
h4 { font-size: 1.4em; line-height: 1.3em; }
h5 { font-size: 1.2em; }

/* LINKS */

a { color: #00aeef; text-decoration: none; -webkit-transition:color 0.15s ease-in; -moz-transition:color 0.15s ease-in; -o-transition:color 0.15s ease-in; transition:color 0.15s ease-in; }
a:focus,
a:active,
a:hover { color: #00aeef; text-decoration: none; }
#main-content a { border-bottom: 1px solid transparent; }
#main-content a:hover { border-bottom: 1px solid #00aeef; }

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

body { height: 100%; }
.container { width: 940px; padding: 0 20px; 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; }

/* ----------------------------------------------------------------
    HEADER
-----------------------------------------------------------------*/

#masthead-wrapper { width: 100%; height: 90px; border-bottom: 1px solid #fff; position: fixed; top: 0; z-index: 20000; -webkit-transition:background 0.2s ease-in; -moz-transition:background 0.2s ease-in; -o-transition:background 0.2s ease-in; transition:background 0.2s ease-in; }
#masthead-wrapper,
#masthead-wrapper.opaque { background: rgb(0, 33, 87); /* The Fallback */ background: rgba(0, 33, 87, 0.9); }
#masthead-wrapper.transparent { background: rgb(0, 33, 87); /* The Fallback */ background: rgba(0, 33, 87, 0.7); }
	
	/* LOGO */
	
	#logo { z-index: 100000; }
	#logo a { padding: 12px 0; display: block; }
	#logo a.retina-logo { display: none; }

	/* MAIN NAV */
	
	#responsive-nav { display: none; }
	#menu-main-navigation { overflow: hidden; padding: 0; margin: 23px 0 0 0; border: 1px solid #b9c1cb; list-style: none; }
	#menu-main-navigation li { float: left; text-transform: uppercase; margin: 0; }
	#menu-main-navigation a { display: block; color: #fff; padding: 11px 18px; }
	#menu-main-navigation a:hover,
	#menu-main-navigation li.current_page_item a { color: #00aeef; }

	/* HERO HEADER */

	#slides li { margin: 0; }
	#hero-header { position: relative; z-index: 1000; }
	#hero-header .bx-wrapper { position: relative; }
	#hero-header .bx-controls-direction { position: absolute; top: 45%; z-index: 9999; width: 100%; }
	#hero-header .bx-controls-direction a { display: block; width: 28px; height: 49px; background-repeat: no-repeat; background-position: 0 0; text-indent: -5000px; position: absolute; }
	#hero-header .bx-controls-direction a:hover { background-position: 0 -53px; }
	#hero-header .bx-prev { background-image: url(gfx/sprite-btn-prev.png); left: 45px; }
	#hero-header .bx-next { background-image: url(gfx/sprite-btn-next.png); right: 45px; }

/* ----------------------------------------------------------------
    MAIN CONTENT
-----------------------------------------------------------------*/
 
#main-content-wrapper { background: #fff; padding: 40px 0 60px 0; overflow: hidden; }
	
	#main-content { overflow: hidden; }
		
	.home h1 { font-size: 1.70em; line-height: 1.3em; }
	
	/* CAPABILITIES */
	
	#capabilities { overflow: hidden; margin-top: 50px; }
	#capabilities .col-one-third { width: 29%; margin-right: 2.5%; padding-top: 6px; }
	#capabilities .col-one-third.col-last { margin-right: 0; }
	#capabilities #ground-engineering, #capabilities #slope-stabilisation { border-left: 1px solid #bababa; padding-left: 3%; min-height: 430px; }
	#capabilities h3 { font-family: 'Roboto', Arial, serif; text-transform: uppercase; font-size: 1.15em; margin-bottom: 8px; padding-left: 5px; }
	#capabilities ul { margin: 0 0 10px 0; }
	#capabilities li { margin-bottom: 3px; }
	
	/* CLIENTS */
	
	.client { width: 30.6%; height: 180px; float: left; margin-right: 4%; position: relative; }
	.client.last { margin-right: 0; }
	.client img { display: block; max-width: 100%; max-height: 100%; margin: auto; position: absolute; top: 0; left: 0; bottom: 0; right: 0; }
	
	#contact-recaptcha { margin-bottom: 20px; }
	
/* ----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------*/

#global-footer { width: 100%; padding-top: 30px; background: #f3f7fb; border-top: 1px solid #acacac; }
	
	#footer-contact { margin-bottom: 0; }
	#footer-contact li { float: left; margin-right: 10px; font-size: 0.9em; }
	#footer-contact span { color: #1968b3; }
	#footer-contact a { color: #818285; }
	#footer-contact a:hover { color: #00aeef; }
	
	#footer-logos { margin-bottom: 0; }
	#footer-logos a { display: block; }
	
	/* SITE CREDIT */
	p#site-credit { font-size: 11px; clear: both; background: url(gfx/logo-bf.png) no-repeat center left; padding: 4px 4px 4px 20px; }
	p#site-credit a { color: #00aeef; }
	
/* ----------------------------------------------------------------
    BACK TO TOP
-----------------------------------------------------------------*/

#back-to-top { display: none; z-index: 99999; 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; }

/* ----------------------------------------------------------------
    IE STYLES
-----------------------------------------------------------------*/
 
html.ie7 textarea { width: 96%; }
html.ie7 p#site-credit { margin: 20px 0 60px 0; }
html.ie7 #main-content ul { list-style-type: disc; }
html.ie7 #main-content ul li { text-indent: 0; }