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

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

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));}

/* let's clear some floats */
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.clearfix:after { clear: both; }  
.clearfix { zoom: 1; } 
.clear {clear:both;}


/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/
html
{font-size: 0.625em; /* 1 */
-webkit-text-size-adjust: 0.625em; /* 2 */
-ms-text-size-adjust: 0.625em; /* 2 */}

/* new Linux- and Windows-friendly sans-serif font stack: http://mky.be/fontstack */
body {
font-size:1em;
line-height: 1;
font-family: Helmet, Freesans, sans-serif;}

/* 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: #333;}

a {color: #03f; text-decoration:none;}
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.
-------------------------------------------------------------------------------*/

body
{background:#ffffff;}

.wrap, section, header, article {clear:both; width:100%; margin: auto;}

section, footer .wrap, nav .wrap
{max-width:960px;}


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

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

.aligncenter
{margin:auto;
text-align:center;}

/* Responsive images */
img
{	max-width: 100%;
	height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */
}

/* General text styles.
-------------------------------------------------------------------------------*/

h1, h2, h3
{color:#333333;
font:bold 3.2em/1.2em Tahoma, Helvetica, Arial, sans-serif; }

h2, h3, h2 a, h3 a
{
font:bold 1.9em/1.4em Tahoma, Helvetica, Arial, sans-serif; }

h3, h3 a
{font-size:1.7em;}

article h3
{margin:11px 0 6px 0;}

p, label, input, textarea, h4, a, ul li
{color:#333333;
font:1.4em/1.3em Helvetica, Arial, sans-serif;
margin:7px 0 7px 0;}

ul li
{line-height:1em;
margin:0;}

a
{font-size:1em;
color:#024f63;}

a:hover
{text-decoration:underline;}

h4
{font-weight:bold;}

nav h3
{font-style:italic;
color:#efefef;
font-weight:normal;}
	
/* Header and top sections.
-------------------------------------------------------------------------------*/

header
{width:100%;
border-top:5px solid #07afc9;}

hgroup
{margin:auto;
width:100%;
display:block;
margin-top:25px;
max-width:960px;}

hgroup h2, hgroup h1
{color:#024f63;
float:left;
margin:12px 0 0 0;}

hgroup img
{float:right;clear:right;
text-align:right;
margin-top:-35px;}

nav#specialises
{clear:both;
width:100%;
padding:0;
margin:0;
margin-top:25px;}

nav#specialises
{width:100%;
background: rgb(9,173,201); /* Old browsers */
background: -moz-linear-gradient(top, rgba(9,173,201,1) 0%, rgba(0,141,171,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(9,173,201,1)), color-stop(100%,rgba(0,141,171,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(9,173,201,1) 0%,rgba(0,141,171,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(9,173,201,1) 0%,rgba(0,141,171,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(9,173,201,1) 0%,rgba(0,141,171,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(9,173,201,1) 0%,rgba(0,141,171,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#09adc9', endColorstr='#008dab',GradientType=0 ); /* IE6-9 */
border-bottom:2px solid #07afc9;
margin:7px 0 0 0;}

nav ul#specialist
{width:100%;
max-width:960px;
margin:auto;
padding:1px 0 10px 0;
color:#ffffff;}

nav ul#mainpages, ul#submenu
{/*float:right;
width:140px;*/
padding:0 0 3px 10px;
margin-top:10px;
margin:auto;
width:100%;
max-width:960px;
text-align:center;
/*border-left:1px solid #07afc9;*/}

nav ul#mainpages li, ul#submenu li
{display:inline-block;
margin:0 0 0 15px;}

ul#specialist li
{float:left;
/*width:160px;
width:25%;
max-width:200px;*/
width:100%;
margin:10px 0 10px 0;
margin-right:50px;
display:block;}

nav a
{color:#ffffff;}

nav ul li a.active, nav ul li a:hover
{color:#024f63;}

/*media queries*/

@media only screen and (min-width: 768px) {

ul#specialist li
{width:152px;}


}
/* End of media query */

ul#specialist li:last-child
{margin-right:0;}

ul#specialist li span
{font-size:1.3em;
font-weight:bold;}

ul#specialist li ul li
{width:100%;
margin:0;
padding:0 0 0 10px;
background: url(img/list.png) no-repeat 0 5px;}

ul#specialist li ul li a, ul#mainpages li a
{color:#ffffff;
font-weight:normal;}

ul#mainpages li a
{color:#000000;}

ul#mainpages li, #membership ul li, ul#submenu li
{background: url(img/list.png) no-repeat 0 5px;
padding:0 0 0 12px;
margin:2px 0 2px 0;}

ul#submenu li
{margin:2px 7px;}

#slideouter
{width:100%;
background:#024f63;}

#slides
{margin:auto;
width:960px;}

div#slideshow {
	width:90%;
	max-width: 960px; height:auto; max-height: 226px; padding:0;
	overflow: scroll; /* Allows the slides to be viewed using scrollbar if Javascript isn't available */
	position: relative; z-index: 5;
	background:#024f63;
	margin:auto;
	//*box-shadow: 0 -10px 12px 3px #666666;*/
}

div#slideshow ul#slides li
{width: 960px; height: 266px; padding:0;}

div#slideshow ul#nav {
	display: none;
	list-style: none;
	position: relative; top: 100px; z-index: 15;
}
	div#slideshow ul#nav li#prev {
		float: left; margin: 0 0 0 20px;
	}
	div#slideshow ul#nav li#next {
		float: right; margin: 0 20px 0 0;
	}
	div#slideshow ul#nav li a {
		display: block; width: 64px; height: 64px; text-indent: -9999px;
	}
		div#slideshow ul#nav li#prev a {
			background: url(img/prevslide.png) no-repeat;
		}
		div#slideshow ul#nav li#next a {
			background: url(img/nextslide.png) no-repeat;
		}

	div#slideshow ul#slides {
		list-style: none;
	}
		div#slideshow ul#slides li {
			margin: 0 0 20px 0;
		}

.subpageslide, .subpageslide ul#slides li
{/*height:166px;*/
height:226px;
width:100%;}



/* Footer
------------------------------------------------------------------------------- */

footer
{clear:both;
width:100%;
background:#e6e7e9;
padding:0 0 12px 0;}

footer p, footer a, footer li
{font-size:1.1em;}

#footernav
{width:100%;
border-bottom:1px solid #98999B;}

#footernav ul
{float:left;
margin:15px 0 0 0;}

#footernav p#social
{float:right;
text-align:right;}

#footernav ul li
{float:left;
margin:0 9px 0 0;}

#contactdetails
{float:left;
width:400px;}

#membership
{float:left;
width:550px;}

#membership ul
{float:left;
width:270px;
margin:0 5px 0 0;}

#membership ul li
{background: url(img/list.png) no-repeat 0 3px;
padding:0 0 0 12px;
margin:2px 0 2px 0;}

#copyright
{padding-top:10px;}

footer #copyright p
{font-size:1em;}

/* Inner Page Content
-------------------------------------------------------------------------------*/

section
{padding:40px 0 20px 0;}

@media screen and (min-device-width: 768px) {

.leftcol
{float:left;
clear:none;
width:700px;}

aside
{display:block;
float:right;
margin:0;
width:250px;}

aside ul#submenu
{text-align:left;}

}

/* Homepage specifics
-------------------------------------------------------------------------------*/

#video
{float:left;
width:100%;
margin:auto;
text-align:left;
/*max-width:550px;*/}

#intro
{float:right;
width:100%;
max-width:400px;}



/* Contact Form
-------------------------------------------------------------------------------*/

form
{width:900px;}

fieldset
{float:left;
width:400px;
margin:0 20px 0 0;}

label
{width:140px;
margin:9px 0 0 0;
float:left;}

label#widelabel
{width:200px;}

input, textarea
{width:240px;
border:1px solid #c9bfbf;
background:#f1f1f1;
border-radius:3px;
padding:2px 1px 2px 1px;}

textarea
{width:400px;
min-height:94px}

input#submit
{width:140px;
height:33px;
float:right;
margin:0 74px 0 0;
background:#dcdada;
border:1px solid #cfcfcf;}

input#submit:hover
{border:1px solid #a7a5a5;}

/* Print styles!
-------------------------------------------------------------------------------*/
@media print {



}


/* Media queries!
-------------------------------------------------------------------------------*/

/* Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {


hgroup
{text-align:center;}

hgroup h2, hgroup h1
{color:#024f63;
float:none;
width:100%;
display:block;
text-align:center;
margin:12px 0 0 0;}

hgroup img
{float:none;clear:both;
text-align:center;
margin-top:15px;}

div#slideshow {
	max-width: 960px; height:auto; padding:0;
	width:100%;
	//*box-shadow: 0 -10px 12px 3px #666666;*/
}

#contactdetails
{float:none;
width:100%;}

#membership
{float:none;
clear:both;
width:100%;}

#membership ul
{float:none;
width:100%;
margin:0 5px 0 0;}



}

@media all and (orientation: portrait) {
	
}

@media all and (orientation: landscape) {
	
}