/*
Theme Name: Withford City
Theme URI: http://www.perth-web-design.com.au/
Description: Withford City WP Theme
Author: Perth Web Design
Version: 1.0
License: GNU General Public License
License URI: license.txt
Tags: withford city
*/


/*
 * HTML5 Boilerplate
 *
 * 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.
 *
 * Detailed information about this CSS: h5bp.com/css
 *
 * ==|== normalize ==========================================================
 */


/* =============================================================================
   HTML5 display definitions
   ========================================================================== */

article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; *display: inline; *zoom: 1; }
audio:not([controls]) { display: none; }
[hidden] { display: none; }


/* =============================================================================
   Base
   ========================================================================== */

/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */

html { font-size: 100%; -webkit-text-size-adjust: 100%; -ms-text-size-adjust: 100%; }

html, button, input, select, textarea { font-family: sans-serif; color: #222; }

body { margin: 0; font-size: 1em; line-height: 1.4; }

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */

::-moz-selection { background: #fe57a1; color: #fff; text-shadow: none; }
::selection { background: #fe57a1; color: #fff; text-shadow: none; }


/* =============================================================================
   Links
   ========================================================================== */

a { color: #f48443; text-decoration: none; }


/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover, a:active { outline: 0; }


/* =============================================================================
   Typography
   ========================================================================== */

abbr[title] { border-bottom: 1px dotted; }

b, strong { font-weight: bold; }

blockquote { margin: 1em 40px; }

dfn { font-style: italic; }

hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }

ins { background: #ff9; color: #000; text-decoration: none; }

mark { background: #ff0; color: #000; font-style: italic; font-weight: bold; }

/* Redeclare monospace font family: h5bp.com/j */
pre, code, kbd, samp { font-family: monospace, serif; _font-family: 'courier new', monospace; font-size: 1em; }

/* Improve readability of pre-formatted text in all browsers */
pre { white-space: pre; white-space: pre-wrap; word-wrap: break-word; }

q { quotes: none; }
q:before, q:after { content: ""; content: none; }

small { font-size: 85%; }

/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }


/* =============================================================================
   Lists
   ========================================================================== */

ul, ol { margin: 1em 0; padding: 0 0 0 40px; }
dd { margin: 0 0 0 40px; }
nav ul, nav ol { list-style: none; list-style-image: none; margin: 0; padding: 0; }


/* =============================================================================
   Embedded content
   ========================================================================== */

/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/i/440
 */

img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: middle; }

/*
 * Correct overflow not hidden in IE9
 */

svg:not(:root) { overflow: hidden; }


/* =============================================================================
   Figures
   ========================================================================== */

figure { margin: 0; }


/* =============================================================================
   Forms
   ========================================================================== */

form { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; }

/* Indicate that 'label' will shift focus to the associated form element */
label { cursor: pointer; }

/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */

legend { border: 0; *margin-left: -7px; padding: 0; white-space: normal; }

/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */

button, input, select, textarea { font-size: 100%; margin: 0; vertical-align: baseline; *vertical-align: middle; }

/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */

button, input { line-height: normal; }

/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */

button, input[type="button"], input[type="reset"], input[type="submit"] { cursor: pointer; -webkit-appearance: button; *overflow: visible; }

/*
 * Re-set default cursor for disabled elements
 */

button[disabled], input[disabled] { cursor: default; }

/*
 * Consistent box sizing and appearance
 */

input[type="checkbox"], input[type="radio"] { box-sizing: border-box; padding: 0; *width: 13px; *height: 13px; }
input[type="search"] { -webkit-appearance: textfield; -moz-box-sizing: content-box; -webkit-box-sizing: content-box; box-sizing: content-box; }
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button { -webkit-appearance: none; }

/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */

button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; }

/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */

textarea { overflow: auto; vertical-align: top; resize: vertical; }

/* Colors for form validity */
input:valid, textarea:valid {  }
input:invalid, textarea:invalid { background-color: #f0dddd; }


/* =============================================================================
   Tables
   ========================================================================== */

table { border-collapse: collapse; border-spacing: 0; }
td { vertical-align: top; }


/* =============================================================================
   Chrome Frame Prompt
   ========================================================================== */

.chromeframe { margin: 0.2em 0; background: #ccc; color: black; padding: 0.2em 0; }


/* ==|== primary styles =====================================================
   ========================================================================== */

body { background: #fff url(img/layout/body.gif) top repeat-x;}

	h1,h2,h3,h4,h5,h6, ul, ul li, ol, ol li, p { margin: 0; padding: 0; list-style: inherit; font-weight: normal; }


	.clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
	.clearfix { display: inline-block; }
	/* Hides from IE-mac \*/
	* html .clearfix { height: 1%; }
	.clearfix { display: block; }
	/* End hide from IE-mac */


header { width: 1028px; height: 232px; position: relative; margin: 0 auto 54px auto; }
	header h1 a { width: 282px; height: 108px; display: block; text-indent: -5000px; background: url(img/layout/logo.png) no-repeat; position: absolute; top: 67px; left: 0; }
	.logo{width: 40%; float: left;}
	.logo #logo{height: 232px; display: table-cell; vertical-align: middle; padding-right: 20px;}
	.logo #logo img{width: 180px;}
	.nav-right{display: table-cell; width: 60%; height: 232px; vertical-align: middle;}
	.top-phone{text-align: right;}
	.top-phone a{font-size: 22px; font-weight: bold;}
	.top-address{text-align: right; font-size: 15px; font-weight: bold; color: #f48443; text-transform: uppercase;}
	.top-address a{font-size: 13px;}
	.nav-phone{text-align: right;}
	.whitford-contant{display: inline-block; margin: 0 20px 20px;}
	.currambine-contant{display: inline-block;}
	#menu-main{padding-top: 20px;}
	header nav { border-top: 1px dashed #686868; }
	header ul li { float: left; position: relative; }
	header ul li a { display: block; float: left; margin-left: 30px; color: #fff; text-decoration: none; font-size: 16px; text-transform: uppercase; font-family: 'Oswald', sans-serif; }
	header ul li a:hover, header ul li.current-menu-item a, header ul li.current_page_ancestor a { color: #f48443; }
	header ul ul { top: 35px; left: 0; position: absolute; width: 120px; }
	header ul ul li { float: none; }
	header ul ul li a { font: 13px Arial, Helvetica, sans-serif; text-transform: none; float: none; margin-bottom: 6px; }
	header ul li.current-menu-item .sub-menu a, header ul li.current-menu-parent .sub-menu a { color: #737373!important; }
		header ul li.current-menu-item .sub-menu a, header ul li.current-menu-parent .sub-menu a:hover{color: #f48443;}
	header ul li .sub-menu .current-menu-item a {  color: #f48443!important; }
	header ul li .sub-menu .current-menu-item a:hover {  color: #f48443!important; }
	header ul li#menu-item-36 a { margin-left: 0; }
	header p { position: absolute; top: 30px; right: 0; font-size: 37px; color: #f48443; font-family: 'Metrophobic', sans-serif; }
	/*--second level------------------------------------------*/

header nav :hover > a {
	color: #f48443;
}
header nav ul li ul {
    position: absolute;
    width: 208px;
    min-height: 0px;
	padding:20px 0px 20px;
    left: 0px;
	top:16px;
	border: none;
	margin: 5px 0 0 0px;
    visibility: hidden;
	background: #000;
	z-index: 99999;
}

header nav ul ul li {
	border: none;
	padding: 0 !important;
	margin: 0;
	background:none;

}
header nav ul ul li:first-child {
	border:none;
	background:none;
}
header nav ul ul li:first-child a {

}
header nav ul ul li:last-child a {

}


header nav ul ul li a {
    width: 180px;
    padding: 5px 0px 5px 0px !important;
    border: none !important;
    color: #737373;
	font-weight:bold;
    font-size: 14px;
	height: auto;
    line-height: 14px;
	background:none;
	display:block;

}

header nav li.current_page_item li a {
     color: #737373;
}
header nav li.current_page_item li a:hover {
    color: #f48443;
}

header nav ul ul li a:hover {
    color: #f48443;
}

header nav ul ul li.current_page_item a {
    color: #f48443;
}
header nav ul ul li.current_page_item a:hover {
    color: #f48443;
}

header nav ul ul .current_page_item ul li a {
     color: #f48443;
}

header nav ul ul .current_page_item ul li a:hover {
      color: #f48443;
}

header nav ul ul .current_page_item a:hover {
    color: #f48443;
}
header nav ul ul li.current_page_item li a {
     color: #f48443;
}
header nav ul ul li.current_page_item li a:hover {
    color: #f48443;
}

/*--third level-------------------------------------------*/
header nav ul ul ul {
    width: 208px;
    top: -1px;
    left: 208px;
	border: none;
    min-height: 0px;
	margin:0;
	padding: 10px 0 10px 0px;
	border-left: 1px solid #f48443 !important;
}

header nav ul ul ul li:first-child {
    border-top: 0px;
}

header nav ul ul ul li:last-child {
    border-bottom: 0px;
}

header nav ul ul ul li:only-child {
    border: 0px;
}

/*--show second level on first level hover----------------*/
header nav ul li:hover ul, header nav ul a:hover ul {
    visibility: visible;
}

/*--hide third level on second level hover----------------*/
header nav ul :hover ul ul {
    visibility: hidden;
}

/*--show third level on second level hover----------------*/
header nav ul :hover ul :hover ul {
    visibility: visible;
}

/*--hide fourth level on third level hover----------------*/
header nav ul :hover ul ul ul {
    visibility: hidden;
}

/*--show fourth level on third level hover----------------*/
header nav ul :hover ul :hover ul ul {
    visibility: hidden;
}
/*--show fourth level on third level hover----------------*/
header nav ul :hover ul :hover ul :hover ul {
    visibility: visible;
}

#gallery-wrap { background: url(img/layout/gallery.gif) bottom center no-repeat; padding-bottom: 110px; }
	#gallery-wrap .wrap { width: 990px; position: relative; margin: 0 auto; }
	#gallery { width: 990px; height: 406px; margin: 0 auto; position: relative; }
	#gallery .buttons { width: }
	#gallery-wrap .buttons li a{list-style: none;}
	#gallery-wrap .buttons li a { width: 35px; height: 49px; text-indent: -5000px; display: block;  position: absolute; top: 180px; }
	#gallery-wrap .buttons li.prev a { background: url(img/buttons/prev.gif) no-repeat; left: -80px; }
	#gallery-wrap .buttons li.next a { background: url(img/buttons/next.gif) no-repeat; right: -80px; }
	#gallery-wrap h2 { font-size: 30px; color: #f48443; font-family: 'Metrophobic', sans-serif; text-align: center; padding-top: 55px; }

#cta { width: 990px; margin: 0 auto 42px auto; padding-bottom: 50px; border-bottom: 1px dashed #000; }
	#cta li { width: 320px; margin-right: 35px; float: left; list-style: none; }
	#cta li.item-2 { width: 315px; }
	#cta li.item-3 { width: 280px; }
	#cta li.item-3 img { width: 280px; border: 1px solid #d1d1d1; }
	#cta li.item-3 { margin-right: 0; }
	#cta li h3 { font-size: 18px; font-family: 'Metrophobic', sans-serif; margin-bottom: 15px; text-transform: uppercase; padding-left: 55px; }
	#cta li h3 a { display: block; margin-top: 5px; font: 13px Arial, Helvetica, sans-serif; text-transform: none; }
	#cta li.item-1 h3 { background: url(img/icons/treatment_available.gif) 0 3px no-repeat; }
	#cta li.item-2 h3 { background: url(img/icons/what_is_orthodontics.gif) 0 3px no-repeat; }
	#cta li.item-3 h3 { background: url(img/icons/find_us.gif) 0 5px no-repeat; }

.interior {  background: url(img/layout/gallery.gif) bottom center no-repeat; padding-bottom: 60px; margin-bottom: 20px; min-height:300px; }
#content { margin: 0 auto; width: 990px; font-size: 14px; color: #737373; line-height: 1.6; margin-bottom: 10px;}
.interior #content { margin-bottom: 20px; }
	#main-content { width: 670px; float: left; margin-bottom: 20px; }
	#main-content h2 { font-size: 23px; color: #000; margin-bottom: 5px; font-family: 'Metrophobic', sans-serif; text-transform: uppercase; }
	#main-content h4 { font-size: 18px; color: #000; margin-bottom: 5px; text-transform: uppercase; }
	#main-content p { margin-bottom: 20px; font-size:15.5px; }
	#main-content ul{margin: 0 0px 20px 20px;}
	#main-content.widecolumn { width:100% !important; }
	#main-content img.size-full.wp-image-292.alignleft {
		float: left;
		padding: 5px;
		border: 1px solid #CCC;
		margin: 0 20px 0 0;
	}
	#main-content .staffitem {
		width:470px;
		min-height:260px;
		float: left;
		padding: 20px 40px 20px 0;
		border-bottom: 1px dashed #000000;
	}
	#main-content .staffitem p {
		margin: 0 0 5px;
	}
	#main-content .staffitem img {
		float: left;
		padding: 5px;
		border: 1px solid #CCC;
		margin: 0 10px 0 0;
	}
	#main-content .lastitem {
		padding:20px 0 20px 0;
	}
	.interior #main-content { width: 590px; float: none; padding-right: 400px; position: relative; }
	#main-content img.alignright { position: absolute; top: -5px; right: 0; }
	#main-content img.form { margin-bottom: 50px; }

	#main-content .post span { font-size: 14px; font-weight: bold; }
	#main-content .post .entry-utility, #main-content #nav-above, #main-content .post .entry-title, #main-content .post .meta-prep, #main-content .post .meta-sep, #main-content .post .author { display: none; }

	#main-content #location { position: absolute; top: 15px; right: 0; width: 348px; }
	#main-content #location img { display: block; margin-bottom: 20px; }
	#main-content #location p { font-size: 12px; color: #979797; line-height:22px; }
	#main-content #location p a { font-size: 14px; display: block; padding-top: 4px; }

	#main-content .gform_wrapper li { margin-bottom: 20px; }
	#main-content .gform_wrapper li label { font-size: 12px; color: #9b9b9b; font-weight: normal; display: block; margin-bottom: 5px; }
	#main-content input[type="text"], #main-content .gform_wrapper li textarea { width: 310px; padding: 10px; background: #ddd; font-size: 12px;  border: none; border-radius: 4px;
-moz-border-radius: 4px; -webkit-border-radius: 4px; }
	#main-content .gform_wrapper li .gfield_required { color: #9b9b9b; font-weight: normal;  }
	#main-content .gform_wrapper li textarea { width: 450px; height: 165px; }
	#main-content .gform_footer input[type="submit"] { width: 95px; padding: 8px 0; background: #000; font-family: 'Oswald', sans-serif; color: #fff; font-size: 17px; text-align: center; border: none; cursor: pointer; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; }

	.page-id-48 #main-content { width: auto; float: none; padding: 0; }
	#main-content .staff { width: 100%; margin-top: 30px; }
	#main-content .staff tr { padding-bottom: 35px; margin-bottom: 35px; border-bottom: 1px dashed #000; display: block; }
	#main-content .staff td.item-1 { width: 470px; padding-right: 40px; }
	#main-content .staff td img { float: right; margin-left: 15px; }



	#sidebar { width: 280px; float: right; padding-top: 8px; margin-right: 5px; }
	#sidebar h4 { color: #000; text-transform: uppercase; font-family: 'Metrophobic', sans-serif; font-size: 17px; background: url(img/icons/how_does_it_work.gif) 2px 3px no-repeat; padding-left: 60px; height: 42px; margin-bottom: -12px; }
	#sidebar p { padding-left: 60px; color: #f48443; margin-bottom: 20px; }
	#sidebar ol li { margin-bottom: 30px; padding-left: 64px; list-style: none;}
	#sidebar ol li.item-1 { background: url(img/icons/1.gif) 0 0 no-repeat; }
	#sidebar ol li.item-2 { background: url(img/icons/2.gif) 0 0 no-repeat; }
	#sidebar ol li.item-3 { background: url(img/icons/3.gif) 0 0 no-repeat; }

footer { border-top: 1px dashed #000; padding-top: 40px; }
	footer .logos { border-bottom: 1px solid #c0c0c0; width: 990px; margin: 0 auto 25px auto; }
	footer .logos li { float: left; list-style: none;}
	footer .logos li.item-1 { margin-right: 87px; }
	footer .logos li.item-2 { margin-right: 97px; }
	footer .logos li.item-3 { margin-right: 94px; }
	footer .inner { margin: 0 auto; width: 990px; font-size: 12px; color: #979797; padding-bottom: 50px; position: relative; }
	footer .inner nav ul { margin-left: -5px; }
	footer .inner nav ul li { display: inline; }
	footer .inner nav ul li a { color: #979797; text-decoration: none; display: block; float: left; background: url(img/layout/footer_divider.gif) right 4px no-repeat; padding: 0 9px 0 5px; }
	footer .inner nav ul li:last-child a { background: none; }
	footer .inner em { display: block; font-style: normal; padding-top: 10px; clear: both; }
	footer p a { display: block; text-indent: -5000px; background: url(img/layout/footer_logo.gif) no-repeat; width: 107px; height: 15px; position: absolute; right: 0; top: 0; }

	/* Contct Us */
	.contact-info{
		width: 50%;
		display: inline-block;
		float: left;
	}
	.company{
		font-size: 1.5em;
		color: #f48443;
		padding-bottom: 25px;
	}
	.contact-map{
		padding-bottom: 25px;
	}
	.contact-info span{
		color: #f48443;
		font-size: 14px;
		font-weight: bold;
		display: inline-block;
		float: left;
	}
	.contact-contant p, .contact-email p, .contact-phone p{
		width: 85%;
		float: right;
	}
	.contact-email{
		clear: both;
	}
	.contact-info .images{
		margin-bottom: 20px;
	}

	.page-id-482 #main-content h2{
		display: none;
	}
	.page-id-482 #main-content p, .page-id-482 #main-content ul li{
		font-size: 12px;
	}

	#pwd_footer_v2 .nutwork, #pwd_footer_v2 .seoco {
		display:none;
	}
