/*   
Theme Name: Carlton Dental Care
Theme URI: http://carltondentalcare.com.au
Author: Matt Edwards
Author URI: http://emptyhead.com.au
Version: 1
*/

/*
	HTML5 Reset Wordpress Theme :: style.css
	----------------------------------------------------------
	We have learned much from/been inspired by/taken code where offered from:
	
	Eric Meyer					:: http://ericmeyer.com
	HTML5 Doctor				:: http://html5doctor.com
	and the HTML5 Boilerplate	:: http://html5boilerplate.com
	
	Special thanks: The Wordpress theme owes its start to an empty theme authored 
		by Chris Coyier & Jeff Starr: http://digwp.com
	
-------------------------------------------------------------------------------*/

/* Let's default this puppy out
-------------------------------------------------------------------------------*/



html, body, body div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, figure, footer, header, hgroup, menu, nav, section, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	outline: 0;
	font-size: 100%;
	vertical-align: baseline;
	background: transparent;
}									

article, aside, figure, footer, header, hgroup, nav, section {display: block;}

/* FONTS */
@font-face {
    font-family: 'GothamBlackRegular';
    src: url('fonts/gotham-black-webfont.eot');
    src: url('fonts/gotham-black-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/gotham-black-webfont.woff') format('woff'),
         url('fonts/gotham-black-webfont.ttf') format('truetype'),
         url('fonts/gotham-black-webfont.svg#GothamBlackRegular') format('svg');
    font-weight: normal;
    font-style: normal;
}


/* Responsive images and other embedded objects
   Note: keeping IMG here will cause problems if you're using foreground images as sprites, like, say for Google Maps custom placemarkers. 
   There has been a report of problems with standard Google maps as well, but we haven't been able to duplicate or diagnose the issue. */
img,
object,
embed {max-width: 100%;}

/* force a vertical scrollbar to prevent a jumpy page */
html {overflow-y: scroll;}

/* we use a lot of ULs that aren't bulleted. 
	don't forget to restore the bullets within content. */
ul {list-style: none;}

blockquote, q {quotes: none;}

blockquote:before, 
blockquote:after, 
q:before, 
q:after {content: ''; content: none;}

a {margin: 0; padding: 0; font-size: 100%; vertical-align: baseline; background: transparent;}

del {text-decoration: line-through;}

abbr[title], dfn[title] {border-bottom: 1px dotted #000; cursor: help;}

/* tables still need cellspacing="0" in the markup */
table {border-collapse: collapse; border-spacing: 0;}
th {font-weight: bold; vertical-align: bottom;}
td {font-weight: normal; vertical-align: top;}

hr {display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0;}

input, select {vertical-align: middle;}

pre {
	white-space: pre; /* CSS2 */
	white-space: pre-wrap; /* CSS 2.1 */
	white-space: pre-line; /* CSS 3 (and 2.1 as well, actually) */
	word-wrap: break-word; /* IE */
}

input[type="radio"] {vertical-align: text-bottom;}
input[type="checkbox"] {vertical-align: bottom; *vertical-align: baseline;}
.ie6 input {vertical-align: text-bottom;}

select, input, textarea {font: 99% sans-serif;}

table {font-size: inherit; font: 100%;}
 
/* Accessible focus treatment
	people.opera.com/patrickl/experiments/keyboard/test */
a:hover, a:active {outline: none; text-decoration: none;}

small {font-size: 85%;}

strong, th {font-weight: bold;}

td, td img {vertical-align: top;} 

/* Make sure sup and sub don't screw with your line-heights
	gist.github.com/413930 */
sub, sup {font-size: 75%; line-height: 0; position: relative;}
sup {top: -0.5em;}
sub {bottom: -0.25em;}

/* standardize any monospaced elements */
pre, code, kbd, samp {font-family: monospace, sans-serif;}

/* hand cursor on clickable elements */
.clickable,
label, 
input[type=button], 
input[type=submit], 
button {cursor: pointer;}

/* Webkit browsers add a 2px margin outside the chrome of form elements */
button, input, select, textarea {margin: 0;}

/* make buttons play nice in IE */
button {width: auto; overflow: visible;}
 
/* scale images in IE7 more attractively */
.ie7 img {-ms-interpolation-mode: bicubic;}

/* prevent BG image flicker upon hover */
.ie6 html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}

/* CLEAR FIX*/
.clearfix:after {
	clear: both;
	display: block;
	content: " ";
	height: 0px;
	visibility: hidden;
}
.clearfix {
	display: inline-block;
}
/* Hide these rules from IE-mac \*/
* html .clearfix {
	height: 1%;
}
.clearfix {
	display: block;
}
li.clearfix {
	display: list-item;
}


/*-----------------------------------------------------------------------------*/
/* CDC STYLING BELOW HERE:
-------------------------------------------------------------------------------*/

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {
	font: 16px Hevetica, Arial, sans-serif; 
	line-height: 1.4em;	
}
p {
	margin: 1.5em 0;
}

article h1, .home article h2 {
	font-size: 2em;
	margin-bottom: 1em;
	font-family: 'GothamBlackRegular', arial, sans-serif;
	font-weight: 400;
}

/* using local fonts? make sure to read up on Paul Irish's 
	Bulletproof @font-face syntax: http://mky.be/font-face/bulletproof/ */

/* we like off-black for text */
body, select, input, textarea {color: #222;}

a {color: #5990DE;}
a:hover {color: #69f;}

/* Custom text-selection colors (remove any text shadows: twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: #fcd700; color: #fff; text-shadow: none;}
::selection {background: #fcd700; color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: #fcd700;} 

ins {background-color: #fcd700; color: #000; text-decoration: none;}
mark {background-color: #fcd700; color: #000; font-style: italic; font-weight: bold;}



/* And here begins the Wordpress fun.
-------------------------------------------------------------------------------*/

#page-wrap {
	width: 1062px; 
	margin: 20px auto 0;
	/*background: url('images/body_bg.png') repeat-y;*/
}

header {
	padding: 0 53px 0 50px;
	height: 165px;
	display: block;
	background: url('images/header_bg.png') no-repeat;
	position: relative;
}

#feature {
	position: relative;
	box-shadow: 0 5px 5px #888;
	margin: 0 13px 0 15px;
}

.home #feature .feature-inside {
	width: 1010px;
	height: 320px;
	display: block;
	margin-left: 25px;
}

#feature .feature-inside {
	width: 1010px;
	height: 143px;
	display: block;
	margin-left: 25px;
}

#feature .notice {
  margin: 0;
  position: absolute;
  bottom:0;
  left:0;
  right:0;
  background: #5BA8EF;
  color: white;
  text-align: center;
}

#feature.with-notice {
  padding-bottom: 38px;
  margin-bottom: 1em;
}

#feature .notice p {
  margin: 0.5em 0;
}


.alignleft {
	float: left;
	margin: 0 10px 5px 0;
}

.alignright {
	float: right;
	margin: 0 0 5px 10px;
}

.entry img {
	padding: 4px;
	background: #efefef;
	border: 1px solid #ddd;
}

.entry img.noborder {
	padding: 0;
	background: none;
	border: none;
}

.entry ul li{
	list-style: disc;
}

.bottom_images ul li {list-style: none;}
/**************************************/
/************* MENU *******************/
/**************************************/

ul.menu {
	position: absolute;
	width: 540px;
	top: 100px;
	right: 50px;
}

ul.menu li{
	float: left;
}

ul.menu li a{
	float: left;
	padding: 0 10px;
	color: #fff;
	text-decoration: none;
}

#menu-mainmenu li a:hover, #menu-mainmenu li.current_page_item a, #menu-mainmenu li.current-menu-item a, #menu-mainmenu li.current-menu-parent a, #menu-mainmenu li.current-post-ancestor a  {color: #9DC7EE;}

header h1, header h2 {
	background: url('images/logo.png') no-repeat;
	text-indent: -9999px;
	width: 362px;
	height: 118px;
	display: block;
	position: absolute;
	top: 25px;
}

header .header-contact{
	float: right;
	text-align: right;
}

header .header-contact .phone{
	font-family: 'GothamBlackRegular', arial, sans-serif;
	font-size: 27px;
	color: #2e3192;
	display: block;
}

header .header-contact .address{
	font-family: 'GothamBlackRegular', arial, sans-serif;
	font-size: 18px;
	color: #222;
	clear: left;
	display: block;
}

header .header-contact a.email{
	font-family: 'GothamBlackRegular', arial, sans-serif;
	font-size: 18px;
	color: #222;
	clear: left;
	display: block;
	text-decoration: none;
}

header .header-contact a.email:hover {
	color: #2e3192;
}


.inner-page {
	margin-left: 20px;
	width: 600px;
	float: left;
}

.banner_info {
	position: absolute;
	top:42px;
	left: 89px;
	font-family: 'GothamBlackRegular', arial, sans-serif;
	font-size: 18px;
	line-height: 28px;
	color: #5990DE;
}

.home .banner_info {
	top:142px;
}

/* MAIN CONTENT */

.maincontent {
	/* background: url(images/contentbg.gif) repeat; */
	margin: -1em 50px 0;
	padding-top: 3em;
	border: 2px solid #ababab;
	border-top: none;
	
}

.bottom_images ul{
	list-style: none;
}

.bottom_images ul li {
	float: left;
	margin-right: 5px;
}


/* FOOTER */

footer#footer {
	height: 100px;
	display: block;
	/*background: #fff url('images/footerbg.gif') no-repeat;
	 padding:20px 0 0 90px; */
	width: 1062px; 
	margin: 0 auto;
}

.footermeta {
	padding-top: 25px;
}

.right {
	float: right;
}

.left {
	float: left;
}

.footermeta .left {padding-left: 90px;}
.footermeta .right {padding-right: 70px;}

/*  SIDEBAR  */

#sidebar {
	float: right;
	width: 300px;
	padding-right: 10px;
	position: relative;
}

#contact_button {
	position: absolute;
	top: 40px;
	right:65px;
	border: none;
}

.home #contact_button {
  top:auto;
  bottom: 15px;
}

.home #feature.with-notice #contact_button {
  top:auto;
  bottom: 50px;
}

#contact_button a{
	display: block;
	text-indent: -9999px;
	background: url('images/in_touch.png') no-repeat 0 0;
	width: 200px;
	height: 53px;
}

#contact_button a:hover {
	background: url('images/in_touch.png') no-repeat 0 -56px;
	width: 200px;
	height: 53px;
}

.widget {
	border: 1px solid #aaa;
	width: 290px;
	margin-bottom: 20px;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.widget ul {
  margin-top: 10px;
	margin-bottom: 10px;
}

.sidebar ul li {
	list-style: none;
}

.widget h2 { 
	padding: 10px 15px;
	background: #5BA8EF;
	color: white;
}

.textwidget {
	font-size: 0.9em;
	margin-left: 15px;
}

.hours ul li b{
	width: 100px;
	display: inline-block;
}

.widget p{
	margin: 0;
	padding: 0;
	padding-left: 15px; 
}

/* POPUP BOXES */

.pop_up {
	display: block;
	width: 800px;
	height: 600px;
}

body.popup {
	padding: 20px;
	width: 600px;
	display: block;
	background: white;
	margin: 0 auto;
}

.popup .popup_inner h3{
}

/* FAQ ACCORDIAN */
.faq .bottom_images{
	margin-top: 20px;
}

.faq .answer {
	margin-bottom: 15px;
}

.opened	{
	color:#00A4EF;
}

.closed	{
	color:#5990DE;
}

.closed:hover, .opened:hover {
	color:#00A4EF;
	text-decoration: underline;
}

a.question {
	display: block;
	padding: 5px 0;
}

p.byline {
  margin: 0.5em 0;
  padding: 0;
  line-height: 0;
}

/*	--------------------------------------------------
	Reveal Modals
	-------------------------------------------------- */
		
	.reveal-modal-bg { 
		position: fixed; 
		height: 100%;
		width: 100%;
		background: #000;
		background: rgba(0,0,0,.8);
		z-index: 100;
		display: none;
		top: 0;
		left: 0; 
		}
	
	.reveal-modal {
		visibility: hidden;
		top: 100px; 
		left: 50%;
		margin-left: -668px;
		margin-top: -500px;
		width: 520px;
		background: #eee url(modal-gloss.png) no-repeat -200px -80px;
		position: absolute;
		z-index: 101;
		padding: 30px 40px 34px;
		-moz-border-radius: 5px;
		-webkit-border-radius: 5px;
		border-radius: 5px;
		-moz-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-webkit-box-shadow: 0 0 10px rgba(0,0,0,.4);
		-box-shadow: 0 0 10px rgba(0,0,0,.4);
		line-height: 1em;
		}
		
	.reveal-modal p{
		padding-bottom: 1.3em;
	}
		
	.reveal-modal.small 		{ width: 200px; margin-left: -140px;}
	.reveal-modal.medium 		{ width: 400px; margin-left: -240px;}
	.reveal-modal.large 		{ width: 600px; margin-left: -340px;}
	.reveal-modal.xlarge 		{ width: 800px; margin-left: -440px;}
	
	.reveal-modal .close-reveal-modal {
		font-size: 22px;
		line-height: .5;
		position: absolute;
		top: 8px;
		right: 11px;
		color: #aaa;
		text-shadow: 0 -1px 1px rbga(0,0,0,.6);
		font-weight: bold;
		cursor: pointer;
		} 
	/*
		
	NOTES
	
	Close button entity is &#215;
	
	Example markup
	
	<div id="myModal" class="reveal-modal">
		<h2>Awesome. I have it.</h2>
		<p class="lead">Your couch.  I it's mine.</p>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. In ultrices aliquet placerat. Duis pulvinar orci et nisi euismod vitae tempus lorem consectetur. Duis at magna quis turpis mattis venenatis eget id diam. </p>
		<a class="close-reveal-modal">&#215;</a>
	</div>
	
	*/