/*
Stylesheet for Dr Jai Kumar drjaikumar.com.au
By Georgia Tang, Trek Web Design, Jan 2016
http://www.trekwebdesign.com.au
georgia@trekwebdesign.com.au

Version: 1.0

Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
and Blueprint http://www.blueprintcss.org/
COLORS: Grey #555c62
*/


/*--------------------------------------------------------------
Reset
--------------------------------------------------------------*/
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, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	border: 0;
	font-family: inherit;
	font-size: 100%;
	font-style: inherit;
	font-weight: inherit;
	margin: 0;
	outline: 0;
	padding: 0;
	vertical-align: baseline;
}

html {
	font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
	overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
	-webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
	-ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
}

*,
*:before,
*:after { /* apply a natural box layout model to all elements; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
	-webkit-box-sizing: border-box; /* Not needed for modern webkit but still used by Blackberry Browser 7.0; see http://caniuse.com/#search=box-sizing */
	-moz-box-sizing:    border-box; /* Still needed for Firefox 28; see http://caniuse.com/#search=box-sizing */
	box-sizing:         border-box;
}

body {
	background: #fff; /* Fallback for when there is no custom background color defined. */
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
	display: block;
}

ol,
ul {
	list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
	border-collapse: separate;
	border-spacing: 0;
}

caption,
th,
td {
	font-weight: normal;
	text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
	content: "";
}

blockquote,
q {
	quotes: "" "";
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

a img {
	border: 0;
}

/*--------------------------------------------------------------
Basic typography (more specific styles further down)
--------------------------------------------------------------*/

b,
strong {
	font-weight: bold;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", Courier, monospace;
	font-size: 15px;
	font-size: 1.5em;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font: 15px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

sup,
sub {
	font-size: 75%;
	height: 0;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sup {
	bottom: 1ex;
}

sub {
	top: .5ex;
}

small {
	font-size: 75%;
}

big {
	font-size: 125%;
}

/*--------------------------------------------------------------
Elements
--------------------------------------------------------------*/


ul,
ol {
	margin: 0 0 1.5em 0em;
	font-size: 1.6rem;
}

ul {
	list-style: inside;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

li {
margin-left: 1.5em;
}

dt {
	font-weight: bold;
}

dd {
	margin: 0 1.5em 1.5em;
}

img {
	height: auto; /* Make sure images are scaled correctly. */
	max-width: 100%; /* Adhere to container width. */
}

figure {
	margin: 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

th {
	font-weight: bold;
}

/*--------------------------------------------------------------
Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"]
 {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 15px 17px rgba(255, 255, 255, 0.5), inset 0 -5px 12px rgba(0, 0, 0, 0.05);
	color: rgba(0, 0, 0, .8);
	cursor: pointer; /* Improves usability and consistency of cursor style between image-type 'input' and others */
	-webkit-appearance: button; /* Corrects inability to style clickable 'input' types in iOS */
	font-size: 12px;
	font-size: 1.2rem;
	line-height: 1;
	padding: .6em 1em .4em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}



input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), inset 0 15px 17px rgba(255, 255, 255, 0.8), inset 0 -5px 12px rgba(0, 0, 0, 0.02);
}


input[type="reset"]:focus,
input[type="submit"]:focus,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active
 {
	border-color: #aaa #bbb #bbb;
	box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.15);
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	-webkit-box-sizing: content-box; /* Addresses box sizing set to border-box in S5, Chrome (include -moz to future-proof) */
	-moz-box-sizing:    content-box;
	box-sizing:         content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner { /* Corrects inner padding and border displayed oddly in FF3/4 www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/ */
	border: 0;
	padding: 0;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #666;
	border-radius: 3px;
	margin: 5px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
	padding-left:6px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}


/*------------------------------------------------------------
typography
-------------------------------------------------------------------*/
body,
button,
input,
select,
textarea {
	color: #222;
	font-family: "Ubuntu", "Helvetica", sans-serif;
	font-size: 15px;
	font-size: 1.5rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
margin-bottom: 1.5em;
font-size: 1.6rem;
}

body {
background-color: #fff;
}

h1 {
font-size: 5em;
margin-bottom: 0.7em;
color: #625052;
font-family: sans-serif;
font-weight: bold;
font-family: "Myriad Pro", "myriad-pro", "Arial", "Calibri", "Helvetica", sans-serif;
}

h2 {
font-size: 1.6em;
letter-spacing: 0.05em;
margin-bottom: 0.7em;
font-family: "Myriad Pro", "myriad-pro", "Arial", "Calibri", "Helvetica", sans-serif;
}

h3 {
font-size: 1.3em;
color: #222;
font-style: italic;
margin-bottom: 15px;
margin-top: 15px;
letter-spacing: 0.03em;
font-family: "Myriad Pro", "myriad-pro", "Arial", "Calibri", "Helvetica", sans-serif;
}

.indented-paragraphs {
margin-left: 30px;
margin-top: 10px;
}

/*--------------------------------------------------------------
Links
--------------------------------------------------------------*/
a {
  color: #222;
  -webkit-transition: color 0.25s ease-in-out;
  -moz-transition: color 0.25s ease-in-out;
  -o-transition: color 0.25s ease-in-out;
  -ms-transition: color 0.25s ease-in-out;
  transition: color 0.25s ease-in-out;
  text-decoration: underline;
}

a:link {
color: #222;
}

a:hover,
a:focus,
a:active {
  color: #ed7908;
}

/*--------------------------------------------------------------
Header and Navigation
--------------------------------------------------------------*/
.site-header {
float: left;
width: 100%;
   position: relative;
   background-color: #555c62;
}

.site-title h1 {
color: white;
font-size: 4em;
text-align: center;
margin-bottom: 0;
}

.tagline {
text-align: center;
color: #fff;
letter-spacing: 0.2em;
margin-bottom: 5px;
}

.sports-arth {

}

.site-title a,
.tagline a {
text-decoration: none;
}

#logo {
max-width: 180px;
position: absolute;
left: 320px;
top: 10px;
}

/*--------------------------------------------------------------
5.3 Main Menu
--------------------------------------------------------------*/
/*menu that centers with drop down links that are clickable on touch screens but not accessible (can't have both)*/

.main-navigation { /*the following uses the menu centering technique from matthewjamestaylor.com*/
	clear: both;
	float: left;
	position: relative;
	width: 100%;
	margin-top:1em;
	padding: 0;	
	background-color: #fff;
}

.main-navigation ul {
   float:right;
   list-style:none;
   margin:0;
   padding:0;
   position:relative;
   right:50%;
   text-align:center;

}

.main-navigation li {
	float:left;
	margin:0;
	padding:0;
	position:relative;
	left:50%;
}

.main-navigation ul li:hover 
.main-navigation ul li.sfHover
 { /*the js in footer.php adds a class .hover to links with tabbed focus.  the link then behaves same on focus as when hovered over with the mouse. not currently in use*/
	z-index: 100;
}

.main-navigation ul a { /*each first level link*/
	display: block;
	font-size: 1em;
	letter-spacing:0.04em;
	line-height: 2.5em;
	padding-left: 28px;
	padding-right: 28px;
	margin: 0;
	text-decoration: none;
	color: #333;
	text-align: left;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
background-color: #f7f7f7;
background-color: #e47911;
border-bottom: 1px solid #e47911;
color: white;
}

.main-navigation ul a.active-link {
border-bottom: 1px solid #555c62;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active
.main-navigation li.sfHover a {
	-webkit-transition: background-color 0.25s ease-in-out;
	-moz-transition: background-color 0.25s ease-in-out;
	-ms-transition: background-color 0.25s ease-in-out;
	-o-transition: background-color 0.25s ease-in-out;
	transition: background-color 0.25s ease-in-out;
	text-decoration: none;
}

.main-navigation ul ul { /*each list block of child links*/
	position: absolute;
	display: none;	
	top: 2.5em;
	left: 0;
	right: auto;
	width: 280px;
}

.main-navigation ul ul li {
left: auto;
margin: 0;
clear: left;
width: 100%;
line-height: 2em;
}

.main-navigation ul ul ul { /*each list block of grandchild links*/
	position:absolute;
	display: none;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.sfHover > ul /*>sign is important, it causes only the child link to appear on hover of its parent rather than both child and grandchild links*/
 {
/*set this to 50% and don't include a setting for left: to center links directly under the parent link*/
	display: block;
top: 2.5em;
z-index: 1000;
}

.main-navigation ul ul a,
.main-navigation ul ul ul a {
	background-color: #fff;
	text-align: left;
	font-size: 1em;
	/*height: 2em;
	white-space: nowrap;*/
	line-height: 2em;
	width: 180px;
	/*float: left;*/
	padding-left: 5px;
	padding-right: 5px;
}

.main-navigation ul ul ul {
right: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.sfHover > ul  {
		display: block;
		left:100%;
top: 0em;
z-index: 1000;
}

@media screen and (max-width: 1170px) {
.main-navigation ul a { /*each first level link*/
	letter-spacing:0.01em;
	padding-left: 20px;
	padding-right: 20px;
}
}

/*----------------------------------------
styles for toggle mobile menu
-------------------------------------------*/
button.menu-toggle {
	border: none;
	box-shadow: none;
	padding: 1.3em;
	position: absolute;
	right: 1em;
	top: -1em;
	z-index: 99999;
}

button.menu-toggle:focus {
	outline: 1px dotted #ccc;
}

.menu-toggle {
	display: none;
}

@media screen and (max-width: 1020px) {
	.main-navigation.toggled .nav-menu,
.main-navigation {
		display: block;
	}
	
	#mobile-menu {
	display: none;
	}

	.menu-toggle {
		display: block;
		padding: 10px;
		float: left;
		max-width: 100px;
	}

	.main-navigation {
	width: 100%;
	z-index: 9999;
	padding: 0px;
	margin: 0;
	}
	
	#toggle-box {
	width: 720px;
	margin: 0 auto;
	}

	.main-navigation ul {
		box-shadow: 0 0 1px #ddd;
		margin-right: 0;
		margin-top: 0px;
		right: auto;
		float: left;
		clear: both;
		width: 720px;/*needs to be 4x li width for a 2x4 column navigation menu*/
		margin-left: 0px;
	}
	
	.main-navigation li {
		display:inline-block;
		clear:both;
		width:180px;/*relates to ul width for correct column setup*/
		left: auto;
		float: none;

	}
	
	.main-navigation ul a {
		background-color: #f7f7f7;
		line-height: 1.5em;
		padding: 8px 5px;
		text-align: center;
	}
	
	.main-navigation ul a.active-link {
border-bottom: none;
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
border-bottom: none;
}
}

@media screen and (max-width: 800px) {

	.main-navigation ul {
		width: 640px;
	}
	
	.main-navigation li {
		width:160px;
	}
	
	#toggle-box {
	width: 640px;
	margin: 0 auto;
	}
	
}

@media screen and (max-width: 640px) {

	.main-navigation ul {
		width: 300px;
	}
	
	.main-navigation li {
		width:150px;
	}
	
	#toggle-box {
	width: 300px;
	margin: 0 0 0 15px;
	}
	
}

/*----------------------------------------
footer
-------------------------------------------*/
.site-footer {
float: left;
clear: both;
width: 100%;
background-color: #555c62;
color: #fff;
}

.copyright {
float: right;
margin: 10px 40px 10px auto;
}

.copyright a {
	text-decoration: underline;
	color: #fff;
}

/* ## Column Classes
--------------------------------------------- */
/* Link: http://twitter.github.io/bootstrap/assets/css/bootstrap-responsive.css taken from genesis. only one-half and first selectors used on this website so far*/

.five-sixths,
.four-sixths,
.one-fourth,
.one-half,
.one-sixth,
.one-third,
.three-fourths,
.three-sixths,
.two-fourths,
.two-sixths,
.two-thirds {
	float: left;
	margin-left: 2.564102564102564%;
	margin-left: 6%;
}

.contact-half {
margin-left: 2%;
width: 50%;
}

.one-half,
.three-sixths,
.two-fourths {
	width: 48.717948717948715%;
	width: 47%;
}

.one-third,
.two-sixths {
	width: 31.623931623931625%;
}

.four-sixths,
.two-thirds {
	width: 65.81196581196582%;
}

.one-fourth {
	width: 23.076923076923077%;
}

.three-fourths {
	width: 74.35897435897436%;
}

.one-sixth {
	width: 14.52991452991453%;
}

.five-sixths {
	width: 82.90598290598291%;
}

.first {
	clear: both;
	margin-left: 0;
}

/*---------------------------------------------------
main-content area
--------------------------------------------------------*/
.main-content { 
	float:left;
	clear: both;
	width: 80%;
	min-height: 450px;
	margin: 2% 10%;
	text-align: justify;
}

.main-content img,
.sidebar-area img {
    	box-shadow: 0 0 8px #ddd;
	}
	
.page-image {
margin-bottom: 10px;
}

*+html .main-content /*these two hacks prevent float drop of the sidebar in ie7*/
 {
	clear: left;
}

/*---------------------------------------------------
pages
--------------------------------------------------------*/
.appointment {
font-weight: bold;
font-size: 1.2em;
}

#the-map,
#the-map2,
#the-map3,
#the-map4 {
width: 100%;
height: 220px;
margin-bottom: 40px;
border: 1px solid #ccc;
box-shadow: 3px 3px 3px 1px #ccc;
margin-top: 15px;
}

.tel a:link{
text-decoration: none;
color: #333;
}

#home-tel {
text-align: center;
}

.gateshead-contact {
font-size: 1.2em;
font-weight: bold;
color: #333;
}

.center-h3 {
text-align: center;
}

.index-content {
text-align: center;
}

/*---------------------------------------------------
slideshow styles
--------------------------------------------------------*/

    #slides,
.slidesjs-navigation,
.slidesjs-pagination,
.slidesjs-pagination-item,
.data-slidesjs-item {
      display: none
    }
	

    .container {
      margin: 0 auto;
	  padding: 0;
	  float: left;
	  clear: both;
	  width: 100%;
    }
	
	.slidesjs-container {
	height: auto;
max-height: 375px;
	}
	
/*---------------------------------------------------
media queries
--------------------------------------------------------*/
@media only screen and (min-width: 1500px) {
	.slidesjs-container {
	height: auto;
max-height: 550px;
	}
	
	.main-content { 
	min-height: 750px;
}
}

@media only screen and (min-width: 1750px) {
	.slidesjs-container {
	height: auto;
max-height: 650px;
	}
}

@media only screen and (max-width: 1200px) {
.main-content  { 
		float:left;
		width: 100%;
		margin: 0.5em auto;
		padding: 0.5em 1.5em;
	}
	
#contact-page-content {
	width: 90%;
	margin: 0.5em 5%;
	padding: 0;
	padding: 0.5em 1.5em;
}
}

@media only screen and (max-width: 1100px) {
	.slidesjs-container {
max-height: 340px;
	}
}

@media only screen and (max-width: 1000px) {
.site-header {
min-height:140px;
}

	.slidesjs-container {
max-height: 310px;
	}
}


@media only screen and (max-width: 900px) {
#contact-page-content   { 
		float:left;
		width: 100%;
		margin: 0.5em auto;
		padding: 0.5em 1.5em;
	}
	
	.slidesjs-container {
max-height: 290px;
	}


.footer-nav a,
.copyright,
.copyright a {
font-size: 0.9em;
margin-left: 5px;
margin-right: 10px;
}

	}

@media only screen and (max-width: 800px) {	
	.five-sixths,
	.four-sixths,
	.one-fourth,
	.one-half,
	.one-sixth,
	.one-third,
	.three-fourths,
	.three-sixths,
	.two-fourths,
	.two-sixths,
	.two-thirds {
		margin: 0;
		width: 100%;
	}
	
	
		.slidesjs-container {
max-height: 260px;
	}
	}

@media only screen and (max-width: 750px) {
p, ul {
font-size: 1.5rem;
} 

h1 {
font-size: 1.4em;
margin-bottom: 0.6em;
}

.site-title h1 {
font-size: 3.5em;
}


h2 {
font-size: 1.3em;
letter-spacing: 0.05em;
margin-bottom: 0.3em;
}


h3 {
font-size: 1.3em;
margin-bottom: 5px;
margin-top: 15px;
letter-spacing: 0.03em;
}


}

@media only screen and (max-width: 700px) {
		.slidesjs-container {
max-height: 230px;
	}
}

@media only screen and (max-width: 620px) {
		.slidesjs-container {
max-height: 190px;
	}

	}
	
@media only screen and (max-width: 560px) {

		.slidesjs-container {
max-height: 160px;
	}

}

@media only screen and (max-width: 540px) {
.divider {
color: #555c62;
}
}

	@media only screen and (max-width: 500px) {
	body {
		font-size: 14px;
		font-size: 1.4rem;
	}
	
			.slidesjs-container {
max-height: 140px;
	}
	
	.main-navigation {
	border-bottom: 1px solid #fff;
	}
	}

	@media only screen and (max-width: 490px) {	
		.divider {
display: none;
}
}
		
	@media only screen and (max-width: 400px) {

				.slidesjs-container {
max-height: 110px;
	}
	
	.main-content  { 
		padding: 0.5em 1em;
	}
	}