/*
Theme Name: Karanui
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: #fff; }
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: #64a7a6; color: #fff; }
::-moz-selection { background: #64a7a6; /* Firefox */ color: #fff; }
::-webkit-selection { background: #64a7a6; /* 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 */

form p { margin-bottom: 10px; }
fieldset { border: 1px solid #c2c2c2; padding: 10px 20px 20px 20px; width: auto; background: #f8f8f8; }
label { display: inline-block; margin-bottom: 2px; cursor: pointer; font-size: 14px; line-height: 18px; }
label span, small span { color: #64a7a6; font-size: 14px; }
input, select, textarea { font-family: 'Titillium Web', sans-serif; }
input[type="text"], input[type="email"], input[type="password"], select, textarea {  display: block; background: #fff; padding: 8px 10px;  margin: 0 0 5px 0; border: 1px solid #c2c2c2; outline: 0; font-size: 15px; line-height: 20px; color: #404041; width: 95%; }
input[type="text"].mid, input[type="email"].mid { width: 70%; }
input.wpcf7-not-valid, textarea.wpcf7-not-valid { border-color: red; }
input[type="text"]:focus, input[type="email"]:focus, input[type="password"]:focus, select:focus, textarea:focus { background: #eff9f9; -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: #4e9594; border-color: #64a7a6; }
input[type="submit"] { text-transform: uppercase; color: #fff; background: #64a7a6; border: 2px solid #64a7a6; padding: 8px 15px 6px 15px; display: inline-block; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -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; outline: none; font-size: 16px; line-height: 20px; cursor: pointer; margin-top: 15px; }
input[type="submit"]:hover, input[type="submit"]:active { background: #fff; color: #64a7a6; text-shadow: none; }
input#contact-captcha { width: 55px; }
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, ol, dl { margin-left: 20px; }
ul { list-style: disc; }
ol { list-style: decimal; }
ul, ol { padding: 0 0 0 10px; }
ul li, ol li { margin-bottom: 15px; }
.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; }
.rounded { -webkit-border-radius: 500px; -moz-border-radius: 500px; border-radius: 500px; }
.bordered { border: 20px solid #e0eded; -webkit-transition: border 0.3s ease-in-out; -moz-transition: border 0.3s ease-in-out; -o-transition: border 0.3s ease-in-out; transition: border 0.3s ease-in-out; }

/* BUTTONS */

.button { font-size: 16px; line-height: 22px; text-transform: uppercase; color: #64a7a6; background: #fff; border: 2px solid #64a7a6; padding: 6px 15px; display: inline-block; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px; -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; }
.button.inverse { background: transparent; color: #fff; text-shadow: none; border-color: #fff; }
.button.button-fill, .button:hover, .button:active { background: #64a7a6; color: #fff; }
.button.button-fill:hover, .button.inverse:hover { background: #404041; border-color: #404041; }

/* TEASERS */

#teaser-list { margin-bottom: 60px; overflow: hidden; }

.teaser.col-one-third { width: 28%; margin-right: 8%; margin-bottom: 20px; }
.teaser.col-one-third.col-last { margin-right: 0; }
.teaser h3 { border-bottom: 2px solid #64a7a6; padding-bottom: 6px; }
.teaser img { width: 80%; margin-bottom: 15px; }
.teaser .image-link:hover img { border-color: #64a7a6; }

#teaser-4 { margin-left: 17%; }

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

body { font-family: 'Roboto', sans-serif; color: #404041; font-size: 16px; line-height: 24px; font-weight: 400;}

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

.kicker { font-size: 24px; line-height: 30px; font-family: 'Cardo', serif; color: #64a7a6; text-transform: none; }
.kicker.section { font-size: 28px; line-height: 36px; }
.kicker.home { text-transform: none; }

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: 'Cardo', serif; font-weight: 400; color: #64a7a6; text-transform: uppercase; margin-bottom: 15px; }
h1 { font-size: 42px; line-height: 46px; margin-bottom: 20px; }
#page-title { width: 100%; text-align: center; z-index: 10000; margin-top: 10px; }
#page-title h1 { display: inline; color: #fff; background: #64a7a6; background: rgba(100,167,166,0.8); z-index: 1000; position: relative; padding: 45px 60px; margin: 0; }
h2 { font-size: 32px; line-height: 38px; }
.section-heading h2 { padding: 30px 0 50px 0; margin-bottom: 0; }
.section-heading span { display: inline-block; background: #64a7a6; height: 2px; text-align: center; width: 35%; margin-bottom: 70px; }
h3 { font-size: 24px; line-height: 28px; }
h4 { font-size: 20px; line-height: 26px; }
h5 { font-size: 16px; line-height: 22px; }

/* LINKS */

a { text-decoration: none; color: #64a7a6; -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: #68d2d0; }

/* ----------------------------------------------------------------
    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: relative; width: 100%; z-index: 10000; border-top: 20px solid #e0eded; }
	
	/* LOGO */
	
	#logo { padding: 30px 0; }
	.retina-logo { display: none; }
	
	/* MAIN NAV */
	
	#responsive-nav { display: none; }
	#menu-main-navigation { position: absolute; bottom: 0; right: 0; z-index: 999999; list-style: none; margin: 0; text-transform: uppercase; }
	#menu-main-navigation li { float: left; margin: 0; position: relative;text-decoration: none; color: #f1592a; border-left: 1px solid #fff; border-right: 1px solid #fff; -webkit-transition: background 0.2s ease-in-out; -moz-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; }
	#menu-main-navigation li:hover, #menu-main-navigation li.current-menu-item, #menu-main-navigation li.current-menu-parent { background: #64a7a6; }
	#menu-main-navigation li a { color: #404041; display: block; font-size: 16px; padding: 6px 28px; }
	#menu-main-navigation li:hover a, #menu-main-navigation li.current-menu-item a, #menu-main-navigation li.current-menu-parent a { color: #fff; }
	#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: 36px; left: -1px; width: 194px; z-index: 99999; border: 1px solid #ddd; border-top: none; }
	#menu-main-navigation ul.sub-menu li { margin: 0; border: none; }
	#menu-main-navigation ul.sub-menu a, #menu-main-navigation li.current_page_item ul.sub-menu a { background: #f9f9f9; background: rgba(255,255,255,0.8); border-top: 1px solid #ddd; color: #404041; font-size: 14px; font-weight: normal; height: auto; line-height: 1.4em; padding: 9px 15px; width: 164px; text-transform: none; text-shadow: none; }
	#menu-main-navigation li:hover ul.sub-menu a:hover, #menu-main-navigation li:hover ul.sub-menu li.current-menu-item a { background: #404041; color: #fff; }
	#menu-main-navigation li:hover > ul { display: block; }
		
	/* HERO HEADER */
	
	#hero-header-wrapper { background: #bababa; }
	#hero-header { position: relative; z-index: 1000; }
	
		/* SLIDER */
		
		#slides li { margin-bottom: 0; }
		
		#hero-header .bx-wrapper { position: relative; }
		#hero-header .bx-controls-direction { position: absolute; top: 46%; 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 -49px; }
		#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; }
		
		#hero-overlay { position: absolute; bottom: -25px; left: 45px; z-index: 10000; background: #64a7a6; background: rgba(100,167,166,0.8); width: 470px; padding: 40px 50px 60px 50px; }
		#hero-overlay h2 { color: #fff; text-transform: none; margin: 0; font-size: 28px; line-height: 36px; }

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

#main-content-wrapper { width: 100%; clear: both; overflow: hidden; padding: 40px 0 0 0; position: relative; z-index: 1; background: url(gfx/bg-main-content.gif) repeat-x 0 0; }
	
	.home h1 { text-transform: none; }
	.home .kicker { color: #404041; margin-bottom: 30px; }
	
	#main-content { margin-top: 100px; margin-bottom: 50px; }
	.home #main-content { margin-top: 50px; }
	#main-content h3 { padding-top: 10px; }
	
	#content { max-width: 800px; margin: 0 auto; }
	#content.has-sidebar { margin-right: 4%; }
	.home #content p { font-size: 18px; line-height: 26px; }
	
	/* PROPERTY GUIDELINES */
	
	.page-id-98 #main-content { text-align: left; margin-bottom: 70px; }
	
	/* STAGE */
	
	#stage-plan { margin-right: 10px; }
	
	.stage-list { padding-top: 20px; }
	.stage-list .col-full { max-width: 750px; margin: 0 auto 20px auto; }
	.stage { position: relative; line-height: 1; display: inline-block; width: 27.5%; margin: 0 2% 60px 2%; height: 206px; }
	.stage.last { margin-right: 0; }
	.stage p { text-transform: uppercase; font-weight: bold; font-family: 'Cardo', serif; display: inline-block; margin-top: 15px; }
	.stage a { display: table; width: 100%; height: 100%; text-align: center; background-color: #404041; -webkit-border-radius: 50%; -moz-border-radius: 50%; border-radius: 50%; -webkit-transition: background 0.2s ease-in-out; -moz-transition: background 0.2s ease-in-out; -o-transition: background 0.2s ease-in-out; transition: background 0.2s ease-in-out; }
	.stage div { display: table-cell; vertical-align: middle; }
	.stage h3 { font-family: 'Roboto', sans-serif; color: #fff; margin-bottom: 10px; padding-top: 0 !important; }
	.stage span { color: #fff; background: url(gfx/icon-more-arrow.png) no-repeat center right; padding-right: 50px; font-size: 15px; display: inline-block; }
	#stage-4-5 a { background: #73A5A5; }
	#stage-6 a { background: #4db2ad; }
	#stage-1 p,
	#stage-2 p,
	#stage-3 p,
	#stage-4 p,
	#stage-5 p { color: red; border-bottom: 1px solid red; }
	.stage a:hover,
	.stage a:focus,
	.stage a:active { background-color: #95d2b6 !important; }

	
	#related-downloads li { border-bottom: 1px solid #e0eded; margin-bottom: 0; }
	#related-downloads li a { display: block; padding: 8px 12px; font-size: 15px; color: #404041;background: url(gfx/icon-download.png) no-repeat right 8px; background: url(gfx/icon-download.png) no-repeat right 15px top 8px;  -webkit-transition: none; -moz-transition: none; -o-transition: none; transition: none;}
	#related-downloads li a:hover { background-position: right 15px top -37px; color: #68d2d0; }
	#related-downloads li a span { display: none; font-size: 14px; float: right; padding: 2px 40px 0 0; }
	#related-downloads li a:hover span { display: inline-block; }
	#related-downloads li em { display: inline-block; font-size: 12px; padding-left: 8px; }
	
	#enquiry-modal .modal-dialog { width: 440px; }
	#guidelines-modal .modal-dialog { width: 900px; }
	#guidelines-modal .modal-body { padding: 20px 25px; }
	#guidelines-modal .kicker { font-size: 21px; line-height: 26px; margin-bottom: 15px; }
	#guidelines-modal .modal-footer .close { display: block; }
	.modal-open { overflow: hidden; }
	.modal { display: none; overflow: hidden;  position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; -webkit-overflow-scrolling: touch; outline: 0; }
	.modal.fade .modal-dialog { -webkit-transform: translate3d(0, -25%, 0); transform: translate3d(0, -25%, 0); -webkit-transition: -webkit-transform 0.3s ease-out; -moz-transition: -moz-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; }
	.modal.in .modal-dialog { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
	.modal-open .modal { overflow-x: hidden; overflow-y: auto; }
	.modal-dialog { position: relative; margin: 2% auto 0 auto; }
	.contact-modal .modal-dialog { width: 700px; }
	.modal-content { position: relative; background-color: #ffffff; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 6px; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); background-clip: padding-box; outline: 0; }
	.modal-content iframe { margin-bottom: 0; }
	.modal-content .close { position: absolute; top: 10px; right: 10px; background: url(gfx/sprite-btn-close.png) no-repeat 0 0; text-indent: -5000px; outline: none; display: block; width: 25px; height: 25px; border: none; cursor: pointer; }
	.modal-content .close:hover { background-position: 0 -25px; }
	.modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #404041; }
	.modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); }
	.modal-backdrop.in { opacity: 0.9; filter: alpha(opacity=90); }
	.modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; min-height: 16.42857143px; }
	.modal-header h3 { width: 90%; margin-bottom: 0; }
	.modal-title { margin: 0; line-height: 1.42857143; }
	.modal-body { position: relative; padding: 15px; }
	.modal-body input[type="text"], .modal-body input[type="email"], .modal-body textarea { width: 93%; }
	.modal-footer { padding: 15px; text-align: right; border-top: 1px solid #e5e5e5; position: relative; min-height: 15px; }
	.modal-footer .close { display: none; }
	.modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; }
	.modal-footer:before,
	.modal-footer:after { content: " "; display: table; }
	.modal-footer:after { clear: both; }
	
	/* CONTACT */
	
	#accordion { border-bottom: 1px solid #e0eded; padding-top: 5px; }
	.ui-accordion h4 { margin: 0; text-transform: none; }
	.ui-accordion .ui-accordion-header { display: block; cursor: pointer; position: relative; padding: 10px 10px 10px 20px; zoom: 1; border-top: 1px solid #e0eded; }
	.ui-accordion .ui-accordion-icons { padding-left: 45px; }
	.ui-accordion .ui-accordion-header-icon { position: absolute; left: 10px; top: 12px; width: 20px; height: 20px; }
	.ui-icon-triangle-1-e { background: url(gfx/sprite-accordion-more.png) no-repeat 0 0; }
	.ui-accordion h4:hover .ui-icon-triangle-1-e { background-position: 0 -20px; }
	.ui-icon-triangle-1-s { background: url(gfx/accordion-active.png) no-repeat 0 0; }
	.ui-accordion .ui-accordion-content { padding: 0 10px 10px 45px; border-top: 0; overflow: auto; zoom: 1; height: auto; }
	.contact-office { margin-bottom: 5px; }
	.contact-office li { margin-bottom: 2px; }
	
	#contact-captcha { margin-top: 20px; }
	
/* ----------------------------------------------------------------
    RIGHT SIDEBAR
-----------------------------------------------------------------*/

	.subnav { text-align: right; }
	.subnav h2 { font-size: 26px; line-height: 32px; padding-right: 12px; }
	.subnav li { border-bottom: 1px solid #e0eded; margin-bottom: 0; }
	.subnav a { display: block; padding: 8px 12px; font-size: 15px; color: #404041; }
	.subnav a:hover, .subnav li.current_page_item a { color: #64a7a6; }
	
/* ----------------------------------------------------------------
    CALL TO ACTION
-----------------------------------------------------------------*/

#call-to-action { background: #64a7a6; clear: both; overflow: hidden; margin-bottom: 0; padding: 50px 0 55px 0; }
#call-to-action h3 { color: #fff; text-transform: none; font-size: 36px; line-height: 50px; margin-bottom: 25px; padding: 0 100px; }
#call-to-action a.button { background: url(gfx/icon-more-arrow.png) no-repeat 20px center; padding: 12px 25px 10px 75px; font-family: 'Cardo', serif; font-size: 20px; line-height: 26px; }
#call-to-action a.button:hover { background-color: #404041; }

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

#global-footer { padding: 50px 0; border-top: 25px solid #d0e4e4; border-bottom: 25px solid #d0e4e4; width: 100%; clear: both; overflow: hidden; }
#global-footer div { margin-bottom: 0; }
	
	#footer-contact li { margin-bottom: 5px; }
	#footer-contact span { display: inline-block; padding: 0 6px; }
	
	.footer-nav h5 { text-transform: none; margin-bottom: 8px; }
	.footer-nav li { margin-bottom: 3px; }
	.footer-nav li a { font-size: 14px; color: #404041; display: block; }
	.footer-nav li a:hover { color: #68d2d0; }
	
/* ----------------------------------------------------------------
    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/btn-btt.gif) no-repeat 0 0; opacity: 0.6; }
#back-to-top:hover,
#back-to-top:active { opacity: 1; }
#back-to-top span { display: block; text-indent: -10000px; }
