/*

STYLESHEET FOR PETER MARLOW THERAPY
Created by Samuel Marlow
www.samuelmarlow.co.uk

ToC

	1. defaults
	2. structure
	3. links and navigation
	4. fonts
	5. images
	6. tables
	7. forms

*/




/*---------- 1. defaults ----------*/

* {
	margin: 0;
	padding: 0;
}

body {
	max-width: 860px;
	margin: 0 auto;
	padding: 0 40px;
	background-color: #fff;
}

.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 */


/*---------- 2. structure ----------*/

#headerbar {
	background-color: #fff;
	padding: 15px 0 0 0;
}

#header {
	width: 100%;
	padding: 20px 0;
	cursor: pointer;
}

#navbar {
	border-top: 2px solid #297FD0;
	max-width: 940px;
	margin: 0 auto;
}

#nav {
	width: 100%;
}

#nav-home, #nav-when, #nav-psychodynamic, #nav-about, #nav-nextsteps, #nav-fees, #nav-contact, #nav-resources {
	text-align: center;
	font-weight: bold;
	padding: 10px 30px 10px 0;
	float: left;
}

#wrapper {
	width: 100%;
	padding: 30px 0 30px 0;
}

#sidebar {
	width: 33%;
	float: left;
	padding: 15px 0 0 0;
	border-top: 2px solid #297FD0;
}

#content {
	width: 64%;
	float: right;
	margin: 0 0 0 3%;
	padding: 15px 0 0 0;
	border-top: 2px solid #297FD0;
}

#contenttitle {
	display: none;
}

#footer {
	width: 100%;
	padding: 10px 0 20px 0;
	border-top: 2px solid #297FD0;
}

.video {
	position: relative;
    padding-bottom: 56.25%; /* 16/9 ratio */
    padding-top: 30px; /* IE6 workaround*/
    height: 0;
    margin: 0 0 15px 0;
    overflow: hidden;
}

.video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/*---------- 3. links and navigation ---------- */

a {
	font-family: helvetica, arial, sans-serif;
	font-weight: 1em;
	text-decoration: none;
	color: #297FD0;
}

a:hover {
	font-family: helvetica, arial, sans-serif;
	font-weight: 1em;
	text-decoration: underline;
	color: #444444;
}

#nav a {
	font-family: CodePro, helvetica, sans-serif;
	font-size: 1em;
	line-height: 1em;
	text-decoration: none;
	text-transform: none;
	color: #297FD0;
}

#nav a:hover {
	color: #444444;
}

#footer a {
	font-family: helvetica, arial, sans-serif;
	font-weight: 1em;
	line-height: 1em;
	margin: 0;
	padding: 0;
	text-decoration: none;
	color: #297FD0;
}

#footer a:hover {
	color: #444444;
}

#button {
	-webkit-appearance: none;
	border-radius: 0;
	background-color: #3399cc;
	border: none;
	display: inline-block;
	cursor: pointer;
	color: #ffffff;
	font-family:  helvetica, arial, sans-serif;
	font-size: 1.1em;
	font-weight: bold;
	text-transform: none;
	padding: 6px 24px 6px 24px;
	text-decoration: none;
	border: 1px solid #3399cc;
}

#button:hover {
	color: #3399cc;
	background-color:#ffffff;
}


/*---------- 4. fonts ----------*/

p {
	font-family: helvetica, arial, sans-serif;
	font-size: 1.1em;
	line-height: 1.5em;
	margin-bottom: 0.7em;
	font-weight: normal;
	color: #444444;
}

b {
	color: #297FD0;
}

#sidebar p {
	color: #297FD0;
}

p.list {
	margin-left: 40px;
}

h1 {
	font-family: helvetica, arial, sans-serif;
	font-size: 2em;
	font-weight: bold;
	text-transform: none;
	color: #297FD0;
	margin: 0;
}

#header h1 {
	font-family: helvetica, arial, sans-serif;
	font-size: 3.5em;
	font-weight: bold;
	text-transform: none;
	color: #297FD0;
	margin: 0;
}

#header h2 {
	font-family: helvetica, arial, sans-serif;
	font-size: 1.2em;
	font-weight: normal;
	text-transform: none;
	color: #444444;
	margin-bottom: 5px;
}

#sidebar em {
	color: #444444;
}

h2 {
	font-family: CodePro, helvetica, sans-serif;
	font-size: 1.5em;
	font-weight: normal;
	text-transform: uppercase;
	color: #297FD0;
	margin-bottom: 10px;
}

h3 {
	font-family: GandhiSansRegular, helvetica, sans-serif;
	font-size: 1.5em;
	line-height: 1.5em;
	font-weight: normal;
	color: #444444;
}

#footer p {
	color: #444444;
	line-height: 1.5em;
	margin-bottom: 0.7em;
}

ul {
	font-family: helvetica, arial, sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	margin-bottom: 0.7em;
	margin-top: 0.5em;
	margin-left: 20px;
	font-weight: normal;
	color: #444444;
}


/*---------- 5. images ----------*/

img {
	border: none;
}

.headshot {
	width: 40%;
	margin: 0 5% 10px 0;
	float: left;
}

#sidebar img {
	width: 100%;
	float: left;
	padding: 0 15px 0 0;
}

img.banner {
	width: 100%;
	padding: 0 0 10px 0;
}

/*---------- 6. table ----------*/

table {
	width: 100%;
	margin: 0 auto 0 auto;
	font-family: helvetica, arial, sans-serif;
	font-size: 1em;
	color: #444444;
}

td {
	padding: 0;
}


/*---------- 7. forms ----------*/

.formField {
	width: 97%;
	max-width: 500px;
	border: 1px solid #297FD0;
	background-color: #ffffff;
	margin: 0;
	padding: 1%;
	font-family: helvetica, arial, sans-serif;
	font-size: 1em;
	color: #444444;
}

.formMessage {
	width: 97%;
	max-width: 500px;
	height: 150px;
	border: 1px solid #297FD0;
	background-color: #ffffff;
	margin: 5px 0 10px 0;
	padding: 5px;
	font-family: Helvetica, arial, sans-serif;
	font-size: 1em;
	color: #444444;
}

.formFieldS {
	display: none;
}


@media (max-width: 48em) {

.headshot {
	width: 100%;
	margin: 0 0 10px 0;
}

#sidebar h1 {
	font-size: 1.5em;
}

}


@media (max-width: 32em) {

#content {
	width: 100%;
}

#contenttitle {
	display: block;
}

#sidebar {
	width: 100%;
}

#sidebartitle {
	display: none;
}

}