/*
Theme Name: Therapics
Theme URI: http://www.therapics.org
Author: Murray Crowe
Author URI: http://www.supadupa.co.za
Description: HTML5 starter theme based off Ian Stewart's HTML5 Toolbox Theme with other goodies added plus chunks of Paul Irish's HTML5 Boilerplate mixed in for good measure. Shake well. 
Version: 0.8.7
*/

/* html5doctor.com Reset Stylesheet v1.6.1
Last Updated: 2010-09-17 
http://richclarkdesign.com | @rich_clark 
*/
html, 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, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin:0;
  padding:0;
  border:0;
  outline:0;
  font-size:100%;
  vertical-align:baseline;
  background:transparent;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section { display:block; }
nav 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; }
ins { background-color:#ff9; color:#000; text-decoration:none; }
mark { background-color:#ff9; color:#000; font-style:italic; font-weight:bold; }
del { text-decoration: line-through; }
abbr[title], dfn[title] { border-bottom:1px dotted; cursor:help; }
/* tables still need cellspacing="0" in the markup */
table { border-collapse:collapse; border-spacing:0; }
hr { display:block; height:1px; border:0; border-top:1px solid #ccc; margin:1em 0; padding:0; }
input, select { vertical-align:middle; }

body { 
	font:13px/1.231 sans-serif; *font-size:small; 
	background-color: #cc6699;
	min-width: 1024px;
}


select, input, textarea, button { font:99% sans-serif; }
pre, code, kbd, samp { font-family: monospace, sans-serif; }
body, select, input, textarea, button { 
  color: #555; 
  font-family: 'Calibri', 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', sans-serif;
  
}
h1,h2,h3, h4 {
	padding: 0;
	margin: 0;
	font-weight: bold;
}

h1 {
	margin-top: -0.2em;
	font-family:'ChinoDisplayITCW01-Ult', 'Calibri', 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', sans-serif;;
	margin-bottom: .4em;
	/*font-family:'ChinoDisplayITCW01-Thin';*/
	font-size: 3em;
	color: #346d9d;
	line-height: 1;
	padding-bottom: 0.4em;
	background: url('images/circle_gray.gif') repeat-x bottom left;
}

h2 {
	font-size: 2.2em;
	color: #888;
	margin-bottom: .4em;
}

h3 {
	font-size: 1.8em;
	color: #888;
	margin-bottom: .4em;
}

h4.widget-title {
	font-family:'ChinoDisplayITCW01-Ult', 'Calibri', 'Lucida Sans Unicode', 'Lucida Sans', 'Lucida Grande', sans-serif;;
	font-size: 2.2em;
	color: #b9844e;
	margin-bottom: 0.4em;
}

.initial {
	font-size: 1.3em;
	line-height: 1.5em;
	margin-bottom: 1.3em;
}

p, table, blockquote, q, textarea, select, aside, ul, ol {
	margin-bottom: 1em;
}

blockquote {
	background: #eee;
	/*border: 1px solid #ccc;*/
	font-style: italic;
	font-size: 1.1em;
	line-height: 2em;
	padding: 30px;
	overflow: auto;
}
blockquote p:last-child {
	margin-bottom: 0;
}

/* formatting */
h1,h2,h3,h4,h5,h6 { font-weight: bold; }
html { overflow-y: scroll; }
a:hover, a:active { outline: none; }
a, a:active, a:visited { color: #607890; }
a:hover { color: #036; }
ul, ol { margin-left: 1.8em; }
ol { list-style-type: decimal; }
nav ul, nav li { margin: 0; } 
small { font-size: 85%; }
strong, th { font-weight: bold; }
td, td img { vertical-align: top; } 
sub { vertical-align: sub; font-size: smaller; }
sup { vertical-align: super; font-size: smaller; }
pre { 
  padding: 15px; 
  white-space: pre; 
  white-space: pre-wrap;
  white-space: pre-line;
  word-wrap: break-word;
}
textarea { overflow: auto; }
.ie6 legend, .ie7 legend { margin-left: -7px; } 
input[type="radio"] { vertical-align: text-bottom; }
input[type="checkbox"] { vertical-align: bottom; }
.ie7 input[type="checkbox"] { vertical-align: baseline; }
.ie6 input { vertical-align: text-bottom; }
label, input[type=button], input[type=submit], button { cursor: pointer; } 
button, input, select, textarea { margin: 0; }
input:valid, textarea:valid   {  }
input:invalid, textarea:invalid { 
      border-radius: 1px;
    -moz-box-shadow: 0px 0px 5px red; 
 -webkit-box-shadow: 0px 0px 5px red; 
         box-shadow: 0px 0px 5px red;
}
.no-boxshadow input:invalid, 
.no-boxshadow textarea:invalid { background-color: #f0dddd; }
::-moz-selection{ background: #FF5E99; color:#fff; text-shadow: none; }
::selection { background:#FF5E99; color:#fff; text-shadow: none; }
a:link { -webkit-tap-highlight-color: #FF5E99; }
button {width: auto; overflow: visible;}
.ie7 img {-ms-interpolation-mode: bicubic;}

/* nonsemantic Base Styles */
/* for image replacement */
.ir { display: block; text-indent: -999em; overflow: hidden; background-repeat: no-repeat; text-align: left; direction: ltr; }
/* Hide for both screenreaders and browsers
   css-discuss.incutio.com/wiki/Screenreader_Visibility */
.hidden { display: none; visibility: hidden; } 
/* Hide only visually, but have it available for screenreaders 
   www.webaim.org/techniques/css/invisiblecontent/  &  j.mp/visuallyhidden  */
.visuallyhidden { position: absolute !important;    
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px); }
/* Hide visually and from screenreaders, but maintain layout */
.invisible { visibility: hidden; }

/* >> The Magnificent CLEARFIX: Updated to prevent margin-collapsing on child elements << j.mp/bestclearfix */
.clearfix:before, .clearfix:after {
  content: "\0020"; display: block; height: 0; visibility: hidden;	
} 
.clearfix:after { clear: both; }
/* Fix clearfix: blueprintcss.lighthouseapp.com/projects/15318/tickets/5-extra-margin-padding-bottom-of-page */
.clearfix { zoom: 1; }

/* media queries for responsive design
 * These follow after primary styles so they will successfully override. */
@media all and (orientation:portrait) { 
  /* Style adjustments for portrait mode goes here */
}
@media all and (orientation:landscape) { 
  /* Style adjustments for landscape mode goes here */
}
/* Grade-A Mobile Browsers (Opera Mobile, iPhone Safari, Android Chrome)  
   Consider this: www.cloudfour.com/css-media-query-for-mobile-is-fools-gold/ */
@media screen and (max-device-width: 480px) {  
  /* Uncomment if you don't want iOS and WinMobile to mobile-optimize the text for you
     j.mp/textsizeadjust 
  html { -webkit-text-size-adjust:none; -ms-text-size-adjust:none; } */
}

/*
 *
 * Base Print Styles, inline to save the HTTP request
 *
 */
@media print {
  * { background: transparent !important; color: #444 !important; text-shadow: none !important; }
  a, a:visited { color: #444 !important; text-decoration: underline; }
  a:after { content: " (" attr(href) ")"; } 
  abbr:after { content: " (" attr(title) ")"; }
  .ir a:after { content: ""; }  /* Don't show links for images */
  pre, blockquote { border: 1px solid #999; page-break-inside: avoid; }
  thead { display: table-header-group; } /* css-discuss.incutio.com/wiki/Printing_Tables */ 
  tr, img { page-break-inside: avoid; }
  @page { margin: 0.5cm; }
  p, h2, h3 { orphans: 3; widows: 3; }
  h2, h3{ page-break-after: avoid; }
}

/* end CSS reset */

/* wordpress styles */
/* Increase the size of the content area for templates without sidebars */
.full-width #content,
.image-attachment #content,
.error404 #content {
	margin: 0;
}

/* alignment */
.alignleft {
	display: inline;
	float: left;
	padding-right: .6em;
}

.alignright {
	display: inline;
	float: right;
	padding-left: .6em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/* theme styling */
.clear {
	overflow: auto;
}
.pagewidth {
	margin: 0 auto;
	width: 978px;
}

a.button, input[type=submit], input[type=button] {
	background: #f49638;
	background: -webkit-linear-gradient(#f29436, #e27523);
	background: -moz-linear-gradient(#f29436, #e27523);
	background: linear-gradient(#f29436, #e27523);
	display: inline;
	zoom: 1;
	display: inline-block;
	margin-right: 1em;
	border: 1px solid #cc6600;
	box-shadow: 0px 2px 1px rgba(255,255,255,0.3) inset, 0px 1px 2px rgba(0,0,0,0.2);
	border-radius: 0.3em;
	color: white;
	padding: 0.6em 1.5em;
	text-decoration: none;
	text-shadow: 0px 1px 1px rgba(0,0,0,0.3);
	font-weight: bold;
	font-size: 1.2em;
	
}

a.button:hover, input[type=submit]:hover, input[type=button]:hover  {
	opacity: 0.8;
}

.entry-image {
	height: 150px;
	background-repeat: no-repeat;
	margin-bottom: 1em;
}

hr {
	background: transparent url('images/circle_gray.gif') repeat-x bottom left;
	height: 8px;
	border: none;
	margin: 1.6em 0;
}

.quoter {
	border-bottom: 1px solid #ddd;
	color: #999;
	padding: 2em;
	padding-top: 0.5em;
	line-height: 1.5em;
}
.quoter q {
	font-size: 1.2em;
	font-style: italic;
	color: #444;
}

/* structure */

#main-wrapper {
	background: white;
	padding-bottom: 30px;
	box-shadow: 0 6px 6px rgba(0,0,0,0.2);
	margin-bottom: 30px;
}

#main {
	background: white url('images/bg_rhs.gif') right repeat-y;
}

#primary {
	float: left;
	width: 642px;
}

#secondary {
	float: right;
	margin-left: 30px;
	width: 246px;
	padding: 30px;
}

#secondary aside {
	padding-bottom: 2em;
	background: url('images/circle_cream.gif') repeat-x bottom left;
}

#secondary aside:last-child {
	background: none;
	padding-bottom: 0;
	margin-bottom: 0;
}

#etsy-thumbs {
	list-style: none;
	margin-left: 0;
	padding-left: 0;
	overflow: hidden;
}

#etsy-thumbs li {
	list-style: none;
	margin: 0 5px 5px 0;
	padding: 0;
	float: left;
}

#etsy-thumbs li.last-col {
	margin-right: 0;
}

#etsy-thumbs li.last-row {
	margin-bottom: 0;
}

#etsy-thumbs a {
	display: block;
	background: white;
	border: 1px solid #ccc;
	background: white;
	padding: 0;
	margin: 0;
	width: 75px;
	height: 75px;
}

#etsy-thumbs img:hover {
	opacity: 0.7;
	transition: opacity 0.5s;
	-webkit-transition: opacity 0.5s;
	-moz-transition: opacity 0.5s;
}

#etsy-thumbs img {
}

.fancy-bullets {
	list-style-image: url('images/circle_cream.gif');
	line-height: 1.5em;
}

#content {
}

/* header */
#top {
	background-color: #78b5d8;
	background: -webkit-gradient( radial, 50% 200%, 0, 50% 200%, 300, from(white), to(#7BB6D9));
	padding-top: 90px;
	position: relative;
}

#top-logo img {
	position: absolute;
	z-index: 1;
	bottom: 0;
}

#top-logo img:hover {
	opacity: .8;
	transition: opacity .5s;
	-webkit-transition: opacity .5s;
	-moz-transition: opacity .5s;
}

/* nav */
#access {
	position: relative;
	bottom: 0;
	font-size: 1.1em;
	background: #5997cb;
}
#access ul {
	overflow: auto;
	margin: 0 auto 1em;
	text-align: right;
	list-style: none;
	margin: 0;
	padding-left: 270px;
	text-transform: uppercase;
}
#access li {
	margin: 1em 0;
	margin-right: .8em;
	padding-right: .8em;
	float: left;
	position: relative;
	border-right: 1px solid #87b3d8;
}
#access a {
	display: inline-block;
	line-height: 1.5em;
	padding: 0 1em;
	text-decoration: none;
	color:	#18515f;
	font-weight: bold;
	letter-spacing: .1em;
	border-radius: .3em;
	text-shadow: 0 1px 2px #92bcdf;
}

#access ul ul {
	box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0 3px 3px rgba(0,0,0,0.2);
	display: none;
	float: left;
	position: absolute;
	top: 2em;
	left: 0;
	z-index: 99999;
	text-transform: none;
}
#access ul ul ul {
	left: 100%;
	top: 0;
}
#access ul ul a {
	background: #333;
	color: #fff;
	line-height: 1em;
	padding: .5em .5em .5em 1em;
	width: 10em;
	height: auto;
}
#access li:hover > a,
#access ul ul :hover > a {
	background: #336699;
	color: #fff;
	transition: background-color 0.5s, color 0.5s;
	-webkit-transition: background-color 0.5s, color 0.5s;
	-moz-transition: background-color 0.5s, color 0.5s;
	text-shadow: none;
}
#access ul ul a:hover {
	background: #000;
}
#access ul li:hover > ul {
	display: block;
}

#access li.current-menu-item a {
	color: white;
	text-shadow: none;
}
#access li:last-child {
	border: none;
	padding-right: 0;
	margin-right:0;
}

#crumbs-wrapper {
	line-height: 30px;
	height: 30px;
	background: white;
}

/* content */

#content nav {
	display: block;
	overflow: hidden;
}
#content nav .nav-previous {
	float: left;
	width: 50%;
}
#content nav .nav-next {
	float: right;
	text-align: right;
	width: 50%;
}
#content #nav-above {
	display: none;
}
.paged #content #nav-above,
.single #content #nav-above {
	display: block;
}
#nav-below {
	margin: 1em 0 0;
}
.page-link {
	margin: 0 0 1em;
}

/* images */

/*
Resize images to fit the main content area.
- Applies only to images uploaded via WordPress by targeting size-* classes.
- Other images will be left alone. Use "size-auto" class to apply to other images.
*/
img.size-auto,
img.size-full,
img.size-large,
img.size-medium,
.attachment img,
.widget-area img {
	max-width: 100%; /* When images are too wide for containing element, force them to fit. */
	height: auto; /* Override height to match resized width for correct aspect ratio. */
}
img.alignleft {
	margin-right: 1em;
	padding-right: 0;
}
img.alignright {
	margin-left: 1em;
	padding-left: 0;
}
.wp-caption {
	padding: .5em;
	text-align: center;
}
.wp-caption img {
	margin: .25em;
}
.wp-caption .wp-caption-text {
	margin: .5em;
}

/* forms */
.required {
	color: #cc0033;
}

/* comments */

article.comment {
	display: block;
}
#respond input[type=text] {
	float: left;
	margin: 0 1em 0 0;
	width: 60%;
}
#respond .comment-form-comment label {
	display: none;
}
#respond textarea {
	margin: 0 1em 1em 0;
	float: left;
	width: 80%;
}
#respond .form-allowed-tags {
	clear: both;
	width: 80%;
}
#respond .form-allowed-tags code {
	display: block;
}

/* footer */
#footer-nav .menu {
	margin: 0;
	margin-bottom: 1.4em;
	padding: 0;
	list-style: none;
	font-size: 1.2em;
}
#footer-nav .menu li {
	display: inline;
	margin: 0;
	padding: 0;
	list-style: none;
	padding-right: 1em;
	margin-right: 1em;
}

#footer-nav .menu li:last-child {
	margin: 0;
	padding: 0;
	border: none;
}

#footer-nav .menu a {
	color: white;
	text-decoration: none;
}

#footer-nav .current-menu-item {
	font-weight: bold;
}

#colophon {
	padding-bottom: 50px;
}
