/* general format */
html {
	background-color: #E7F0D6;
	font: 12px/170% 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
	color: #6B6B6B;
}

body {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	width: 100%;
	max-width: 977px;
	background-color: #CCC;
	border-radius: 5px;
	padding-bottom: 3px;
}

h1, h2 {
	font-family: 'Trebuchet MS', 'Helvetica Neue', Arial, Sans-serif;
	color: #51432F;
	padding: 0 10px 5px 10px;		
	margin: 0 0 10px 0;
	line-height: 1em;
}

h1 {
	font-weight: Bold;
	border-bottom: 1px solid #E4F2C8; 	
}

h2 {
	font-weight: normal;	
}

p {
	padding: 0 10px 10px 10px;
}
/* end - general formats */


/* Blockquote format */
blockquote {
	position: relative;
	margin: 15px 10px;
 	padding: 0 7px 5px 40px;  	
	font-size: 17px;
	line-height: 1.6em;
	font-style: italic;
	font-family: Georgia, 'Times New Roman', Times, serif;		
	color: #80614D;	
	border: 1px solid #EEE8E1; 
	background: #FAF7F5;
}

blockquote p {
	margin-bottom: 0;
}

blockquote:after {
	content: "\201C";
	position: absolute;
	font-size: 72px;
	left: 8px;
	top: 28px;
	color: #DAD7D5;	
}
/* end - general formats */


/* start - table */
table {
	border-collapse: collapse;
	margin: 15px 10px;		
}
th {
	height: 38px;
	padding-left: 12px;
	padding-right: 12px;
	color: #fff;
	text-align: left;
	background: #ADD163;	
	border-width: 1px;
  	border-style: solid;
  	border-color: #C4DE8F #93C138 #93C138 #C4DE8F;	
}
tr {
	height: 34px;
	background: #fff;
}
td {
	padding-left: 11px;
	padding-right: 11px;
	border: 1px solid #E7F0CC;	
}	
/* end - table */


/* adds phone number as a graphic */
span.telno {
	display: inline-block;
	height: 35px;
	width: 200px;		
	padding: 0;
	background-image: url("images/tel_no.svg");
	background-size: 100%;
    background-repeat: no-repeat;
 }
/* end - add phone number as a graphic */


/* website branding */
#banner:before {
	content: "sport and remedial massage therapy";
}

#banner {
	display: block;
	background-image: url("images/bodyfixer_logo.svg");
    background-repeat: no-repeat;
    background-position: center 12px;
	text-align: center;
	background-color: #accc77;
	color: white;
	font-size: 24px;
	padding-bottom: 16px;
	
}
/* end website branding */


/* Navigation */
#nav {
	padding-top: 10px;
	background: #998060;
}
/* End - navigation */

#content {
	padding: 30px 20px;
	background-color: white;
	border-bottom:1px solid #DDD;
	border-left:1px solid #DDD;
	border-right:1px solid #DDD;
}

#content a, #content a:visited,
#footer a, #footer a:visited
 {	
	color: #79A325;
	background: inherit;
	text-decoration: none;
}

#content a:hover,
#footer a:hover {
	text-decoration: underline;
}

#main img {
	width: 100%;
	background: #FAFAFA;
   	border: 1px solid #E4E4E4;
	padding: 8px;
}


#main h1 {
	font-size: 2.9em;
	letter-spacing: -2px;
}

#main h2 {
	font-size: 1.9em;
	letter-spacing: -0.5px;
}

#content ul {
	list-style: none;
	padding: 0;
    margin: 0;
	padding-bottom: 24px;
}

#content ul li {
	position: relative;
	margin-left: 20px;
    padding-left: 20px; /* controls gap between bullet and text */
}

#content ul li:after {
	position: absolute;
	left: 0;
	top: -1px;
    content: "\2022"; /* Insert content that looks like bullets */
    color: #88AC0B;
	font-size: 1.6em;
}


#footer {
	clear: both;
	text-align: center;
	font-size: .8em;
	margin-top: 15px;
	padding-bottom: 10px;
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* Large screens */
@media screen and (min-width : 800px) {
	body {
		margin-bottom: 40px;
		margin-top: 40px;
	}

	#banner {
		border-radius: 5px 5px 0 0;
	}

	#banner {
	    background-size: 300px;
		padding-top: 107px;
	}

	/* Navigation */
	#nav p.button {
		display: none;
	}

	#nav {
		height: 40px;
		margin: 4px 0 0 0;
	}

	#nav ul {
		list-style: none;	
		margin: 0;
		padding: 0 1% 0 1%;					
	}

	#nav ul li {
		float: left;
		margin: 0 1% 0 1%;
		padding: 0 1% 0 1%;		
		width: 12.5%;
		text-align: center;
	}

	#nav ul li a {
		color: #FFF;
		font: bold 15px/40px 'Trebuchet MS', 'Helvetica Neue', Arial, sans-serif;
	    text-decoration: none;
	}

	#nav ul li a:hover, 
	#nav ul li a:active {
		color: #E7FAA9;	
	}

	#nav ul li.current {
		background-color: white;
		border-radius: 5px 5px 0 0;
	}

	#nav ul li.current a {	
		color: #4B3D2C;
	}
	/* End - navigation */

	#wrap {
		border-radius: 5px;
		background-color: #EEE;
		max-width: 935px;
		padding: 20px;
		border: 1px solid #CCC;
	}

	#content {
			border-radius: 0 0 5px 5px;
	}

	#main {
		display: inline-block;
		position: relative;
		width: 64%;
		padding: 0 20px 0 0;
		margin: 0 10px 0 0;
		border-right: 1px solid #EEE;
		vertical-align: top;
	}
	
	#secondary {
		display: inline-block;	
		width: 31%;
		padding: 0; 
		margin: 0;
		vertical-align: top;
	}

	#secondary h1 {
		font-size: 1.9em;
		letter-spacing: -1px;
	}

	#secondary h2 {
		font-size: 1.2em;
	}
}

/* Small screens */
@media screen and (max-width : 799px) {
	body {
		margin: 0;
	}

	#banner {
	    background-size: 100px;
		padding-top: 50px;
	}
	
	#nav ul {
		display: none;
	}

	#nav.show ul,
	#nav #open {
		display: block;
	}

	#nav p.button {
		padding-top: 5px;
		padding-bottom: 15px;
		text-align: center;
		font-size: 32px;
		color: white;
		text-decoration: none;
	    background-image: url("images/menu-icon.svg"), url("images/menu-icon.svg");
		background-size: 1em;
    	background-repeat: no-repeat;
    	background-position: 1.5% 0, 98.5% 0;
		cursor: pointer;
		margin: 0;
	}

	#nav ul {
		list-style: none;
		padding: 10px 0;
		margin: 0;
	}
	
	#nav ul li a, #nav ul li a:visited {
		display: block;
		width: 100%;
		color: white;
		font-size: 32px;
		text-decoration: none;
		text-align: center;
		height: 48px;
	}
	
	#nav ul li a:hover, #nav ul li a:active, #nav p.button:hover {
		color: #E7FAA9;
	}
	/* End - navigation */

}