/* -----------------------------------------------
Master Style Sheet (sans browser hacks)

site:     The Center for Growth
version:  0.1
author:   Alex Gilbert
email:    alex@valueneutral.com
website:  http://www.valueneutral.com
----------------------------------------------- */

*{
  margin: 0;
  padding: 0;
}

html,
body,
div,
p {
	color: #707070;
}

body {
	font: small/1.4 Verdana, Arial, sans-serif; 
	margin: 0;
	padding: 0;
	background-color: #e7e4b1;
}

/* =links
----------------------------------------------- */

a:link,
a:active,
a:visited {
  padding-bottom: 1px;
	color: #3b5da0;
	text-decoration: none;
}

a img {
	border-width: 0; 
	border-style: none;
}

/* =common
----------------------------------------------- */

h1,
h2,
h3,
h4{
  margin: 0;
  padding: 0;
  font-family: Georgia, serif;
  font-weight: normal;
  color: #3b5da0;
}

h1 span,
h2 span,
h3 span,
h4 span{
  display: block;
  font-family: Verdana, Arial, sans-serif;
  font-size: 60%;
  text-transform: uppercase;
}

h1 { font-size: 200%; }
h2 { font-size: 160%; }
h3 { font-size: 130%; }
h4 { font-size: 100%; }

.sans {
  font-family: Verdana, Arial, sans-serif;
  color: #666;
}

br {
	clear: both;
}

hr {
	display: none;
}

p {
	margin: 0; 
	padding-top: 1em; 
	line-height: 150%;
}

/* =wrappers
----------------------------------------------- */

#shadow-l{
  margin: 0 auto;
  width: 75%;
	background: url(../images/cfg-bg-left.gif) repeat-y;
}

#shadow-r{
	background: url(../images/cfg-bg-right.gif) repeat-y right;
}

#wrapper{
  margin: -20px auto;
  font-size: 90%;
  background: url(../images/cfg-bg-top-left.gif) no-repeat left top;
}

.outer{
  background: url(../images/cfg-bg-top-right.gif) no-repeat right top;  
}

.inner{
  background: url(../images/cfg-bg-bottom-left.gif) no-repeat left bottom;
}

#footer{
  background: url(../images/cfg-bg-bottom-right.gif) no-repeat right bottom;
}

/* =masthead
----------------------------------------------- */

#masthead {
  position: relative;
  top: 20px; /* KLUDGE: this is screwing everything up, but i don't understand why it sticks to the top without it */
  margin: 20px;
  background: #fff url(../images/cfg-masthead-bottom-left.gif) no-repeat left bottom;
  background: none;
  background: #fff url(../images/cfg-mast-bg.gif) repeat-x bottom;
}

#masthead .outer{
  background: url(../images/cfg-masthead-bottom-right.gif) no-repeat right bottom;
  background: none;
  padding-bottom: 30px;
}

#masthead .inner{
  background: url(../images/cfg-masthead-top-left.gif) no-repeat left top;
  background: url(../images/cfg-mast-top-left.gif) no-repeat left top;
  background: none;
}

#mast-content{
  background: url(../images/cfg-masthead-top-right.gif) no-repeat right top;
  background: url(../images/cfg-mast-top-right.gif) no-repeat right top;
  background: none;
  padding-top: 25px;
}

#mast-content *{
  margin-left: 300px;
  padding-right: 10px;
}

#mast-content h2{
  height: 22px;
  width: 193px;
  text-indent: -5000px;
  background: url(../images/cfg-apt-mast.png) no-repeat;
}

#masthead h1{
  position: absolute;
  top: 20px;
  left: 20px;
  height: 89px;
  width: 223px;
  text-indent: -5000px;
  background: url(../images/cfg-logo.png) no-repeat;
}

/* =navigation
----------------------------------------------- */

#navigation{
  margin: 0 20px;
  padding: 1px 0 10px 0;
}

#navigation ul{
  float: left;
  margin: 0 0 10px 0;
  padding: 0;
  width: 100%;
  list-style: none;
  background: #53aedf url(../images/cfg-nav-bg.gif) repeat-x bottom;
}

#navigation li{
  float: left;
  margin: 0;
  padding: 0;
  font: 115% Georgia, serif;
}

#navigation a{
  float: left;
  display: block;
  margin: 0;
  padding: 8px 10px;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border-bottom: none;
}

#navigation a:hover{
  color: #3b5da0;
}

.home #navigation #home,
.about #navigation #about,
.services #navigation #services,
.support_groups #navigation #support_groups,
.selfhelp #navigation #selfhelp,
.calendar #navigation #calendar,
.contact #navigation #contact{
  color: #3b5da0;
  cursor: default;
}

.sub #navigation #home,
.sub #navigation #about,
.sub #navigation #services,
.sub #navigation #groups,
.sub #navigation #selfhelp,
.sub #navigation #calendar,
.sub #navigation #contact{
  cursor: pointer;
}

/* =content
----------------------------------------------- */

#content{
  float: right;
  margin: 0 5% 20px 0;
  padding: 0;
  width: 65%;
  background-color: #fff;
}

.home #content div{
  float: left;
  margin-right: 5%;
  padding-top: 2em;
  width: 45%;
}

#content a[href^="http:"]{
  background: url(../images/cfg-external.gif) no-repeat right top;
  padding-right: 10px;
  border-bottom: none;
}

#content a[href^="http://www.therapyinphiladelphia.com"],
#content a[href^="http://www.cfg.punkave.net"],
#content a[href^="http://cfg.punkave.net"],
#content a[href^="http://therapyinphiladelphia.com"]{
  background-image: none;
  padding-right: 0;
}

#content a:hover{
  background-color: #eff;
}

#content ul{
  margin: 1em 0;
  list-style: none;
}
#content ul li,
.selfhelp #content .related{
  padding-bottom: .5em;
  padding-left: 18px;
  background: url(../images/cfg-list-bg.png) no-repeat 0 0;
}

#content ol{
	margin: 1em 0 1em 18px;
}

#content .float{
  float: right;
  margin: 10px;
  padding-bottom: 35px;
  width: 254px;
  background: #e1dea3 url(../images/cfg-float-bottom.gif) no-repeat bottom;
}

#content .float .top{
  padding-top: 15px;
  background: #e1dea3 url(../images/cfg-float-top.gif) no-repeat top;
}

#content .float h2,
#content .float h3,
#content .float h4,
#content .float p,
#content .float ul{
  padding: 0 15px;
}

#content .float a:hover{
  color: #fff;
  background-color: #3b5da0;
}

#content .subnav h2 a,
#content .subnav h3 a{
  line-height: 2em;
  border-bottom: none;
}

#content .float .therapists li{
  clear: left;
}

#content .float .therapists li img{
  padding-bottom: 20px;
}

#content .float .active{
  background: #dbd7e9;
}

/* :KLUDGE: ugh, the following header stuff is just a result of poor planning to accomidate different vertical margin/padding attributes between headers and paragraphs */
.selfhelp h1{
  padding-bottom: 1em;
}

.sub h1{
  padding-bottom: 0;
}

.selfhelp #content p{
  padding: 0 0 1em 0;
}

.selfhelp #content p.cat-description{
  padding: 1em 0;
}

.calendar #content .event-preview,
.selfhelp #content .tip-preview,
.selfhelp #content .book-preview,
.selfhelp #content .link-preview,
.selfhelp #content .cat-preview,
.selfhelp #content .glossary-preview{
  padding: .7em 0 .7em 20px;
  border-top: 1px dashed #ddd;
}

.calendar #content .event-preview{
  background: url(../images/cfg-event-icon.gif) no-repeat left 1em;
}

.selfhelp #content .cat-preview{
  background: url(../images/cfg-cat-icon.gif) no-repeat left .9em;
}

.selfhelp #content .tip-preview{
  background: url(../images/cfg-tip-icon.gif) no-repeat left .9em;
}

.selfhelp #content .book-preview{
  background: url(../images/cfg-tip-icon.gif) no-repeat left .9em;
}

.selfhelp #content .link-preview{
  background: url(../images/cfg-tip-icon.gif) no-repeat left .9em;
}

.selfhelp #content .glossary-preview{
  background: url(../images/cfg-glossary-icon.gif) no-repeat left .9em;
}

.selfhelp #content .tip-preview p{
  padding-bottom: 0;
}

.selfhelp #content .agestage,
.selfhelp #content .glossary{
	margin-top: 2em;
	padding: 10px 10px 1px 10px;
	border-top: 1px solid #ddd;
	background-color: #ecf2f4;
}

.selfhelp #content .agestage a:hover,
.selfhelp #content .glossary a:hover{
	background: #3B5DA0;
	color: #fff;
}

.selfhelp #content .author{
  display: block;
  padding-bottom: 1em;
}

.selfhelp #content .author a{
  font-weight: bold;
}

.selfhelp #content .comments{
  display: block;
  padding: .25em 0;
  font-size: 90%;
}

.selfhelp #content .comments a{
  display: block;
  padding-left: 18px;
  border-bottom: none;
  background: url(../images/cfg-comment.gif) no-repeat left 50%;
  text-decoration: underline;
}

.selfhelp #content .comment{
  margin-top: 10px;
  border-top: 1px solid #ddd;
}

.selfhelp #content .comment-form{
  margin: 10px 0;
  padding: 10px;
  background-color: #ecf2f4;
  border-top: 1px solid #ddd;
  color: #333;
}

.calendar #content .no-events,
.selfhelp #content .no-tips{
  clear: right;
  margin-top: 20px;
  padding: 10px;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  font-style: italic;
  text-align: center;
}

.selfhelp .results{
	background: #ecf2f4;
	padding: 3px 6px;
}

.contact #content h1{
	padding-bottom: 1em;
}

.support_groups #content p,
.contact #content p{
	margin: 1em 0;
	padding: 0;
}

.contact #content a{
	color: #666;
	font-size: 80%;
	font-family: Verdana, Arial, sans-serif;
}

/* =sidebar
----------------------------------------------- */

#sidebar{
  float: left;
  width: 24%;
  margin: 0 3%;
  background-color: #fff;
}

#sidebar div{  
  float: left;
  width: 200px;
  padding: 5px 10px;
}

* html #sidebar div{
  width: 220px;
  w\idth: 200px;
}

#sidebar .float{
  padding: 0;
  padding-bottom: 35px;
  width: 220px;
  background: #fff url(../images/cfg-sidefloat-bottom.gif) no-repeat bottom;
}

#sidebar .float .top{
  padding-top: 15px;
  background: #fff url(../images/cfg-sidefloat-top.gif) no-repeat top;
}

#sidebar .float h2,
#sidebar .float h3,
#sidebar .float h4,
#sidebar .float p,
#sidebar .float ul{
  color: #333;
  padding: .35em 15px;
}

#sidebar .float a:hover{
  color: #fff;
  background-color: #3b5da0;
}

#sidebar .float a.active{
  color: #333;
  cursor: default;
}

#sidebar .float a.active:hover{
  background: transparent;
}

#sidebar .float .therapists li{
  clear: left;
  padding-left: 0;
  background: none;
}

#sidebar .float .therapists li img{
  padding-bottom: 20px;
}

/* :NOTE: ExpressionEngine adds an extra div automatically with its form tag. weak. */
#sidebar div div{
  margin: 0;
  padding: 0;
}

#sidebar div,
#sidebar img{
  margin-bottom: 5px;
}

.home #sidebar div{
  text-align: center;
  padding-bottom: 10px;
}

.about #sidebar div{
  background-color: #bbd7e9;  
}

.services #sidebar div,
.selfhelp #sidebar div,
.support_groups #sidebar div{
  background-color: #eef2df;  
}

#sidebar img{
  width: 100%;
}

#sidebar form,
#sidebar caption,
#sidebar table{
  margin: 5px auto;
}

#sidebar input.text{
  width: 150px;
}
.home #sidebar input.text{
	width: 120px;
}

#sidebar table{
  width: 85%;
  font-family: Georgia, serif;
  color: #fff;
}

#sidebar table a{
  border-bottom: none;
}

#sidebar caption{
  font-family: Georgia, serif;
  color: #3b5da0;
}

#sidebar table td,
#sidebar table th{
  padding-bottom: 1px;
  background-color: #afbb97;
  border-top: 1px solid #9eaa86;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  text-align: center;
}

#sidebar table .odd td,
#sidebar table .odd th{
  background-color: #8d9e6a;
  border-top: 1px solid #7c8d59;
}

#sidebar table td.entry{
	background-color: #3b5da0;
  border-top: 1px solid #193b80;
}

#sidebar ul{
  list-style: none;
}

#sidebar li{
  padding-bottom: .5em;
}

.selfhelp #sidebar li,
.about #sidebar li,
.services #sidebar li{
  padding-left: 18px;
  background: url(../images/cfg-list-bg.png) no-repeat 0 0;
}

#sidebar li.active{
	font-weight: bold;
}

#sidebar a:hover{
  color: #fff;
  background-color: #3b5da0;
}

#sidebar .no-dates{
  clear: right;
  margin: 10px 0;
  padding: 10px;
  border-top: 1px dashed #ddd;
  border-bottom: 1px dashed #ddd;
  font-style: italic;
  text-align: center;
}
/* =footer
----------------------------------------------- */

#footer{
  clear: both;
  padding: 0 20px 20px 20px;
}

#footer p{
  padding-top: 2em;
  background-color: #fff;
  font-family: Georgia, serif;
}

/* =forms
----------------------------------------------- */

form{
}
fieldset{
}
legend{
}
label{
  text-align: right;
}
input{
}
textarea{
}
input, textarea{
}
select{
}
optgroup{
}
option{
}

form dl *{
  margin: 0;
  padding: 0;
}
form dt{
  clear: left;
}
form .inline, form .checkbox{
  margin-top: 5px;
  float: left;
}
form dt.inline{
  padding-right: 20px;
  width: 25px;
}
form dt.area{
  padding-top: 10px;
}
form dd.area{
  margin: 3px 0 10px 0;
  clear: left;
}
form dt.checkbox{
  padding-left: 5px;
  clear: none;
}
form dd.input{
  padding-top: 10px;
  clear: left;
}

/* =misc
----------------------------------------------- */

#sub-wrapper{
  padding: 20px 0;
  clear: both;
  position: relative;
}

#content ul.therapists li{
  padding-left: 0;
  background-image: none;
}

#content ul.therapists li img,
#sidebar ul.therapists li img{
  float: left;
  margin-right: 5px;
  width: 50px;
}

/* :KLUDGE: couldn't think of a better descriptor for the next two situations */
.selfhelp #content .sans{
  padding: 40px 0 10px 0;
}

.sub #content .sans{
  padding: 20px 0 0 0;
}

/* =fixed width (comment out the following styles to see fluid layout)
---------------------------------------------------------------------------------------------- */

#shadow-l{
  width: 760px;
}

#content{
  margin: 0 30px 0 15px;
  width: 465px;
}

#sidebar{
  margin: 0 0 0 30px;
  width: 220px;
}

/* tip category sitemap styles
----------------------------------------------- */

.sitemap #content ul{
	padding-top: 20px;
	border-top: 1px dashed #ddd;
}

.sitemap #content ul ul{
	border-top: none;
	padding-top: 0;
	margin: 0 2em;
}