/* COMMON AAE STYLES */
.expert-content {
  width: 608px;
  margin-left: 10px;
  position: relative; }

.expert-content p {
  color: #444; }

.expert-content h1,
.topics h3 {
  font-size: 15px;
  font-weight: normal;
  color: #6e2b8c;
  border-bottom: 1px solid #6e2b8c;
  padding: 6px 0 7px;
  margin: 5px 0 10px; }

.more-answers {
  text-align: right; }

/* TAG CLOUDS */
.tag-cloud li {
  display: inline; }

.tag-cloud li a {
  color: #b266cc;
  background-color: #f7ecfa;
  font-size: 12px;
  line-height: 18px;
  padding: 0 2px;
  text-decoration: none;
  border: none; }

.tag-cloud li a:hover {
  color: #fff;
  background-color: #c67dde; }

/* FANCY LINK STYLES */
p.zoom {
  clear: left;
  background: transparent url(/images/ask_an_expert/magnify.gif) 0 0 no-repeat;
  padding-left: 20px; }

p.home {
  clear: left;
  background: transparent url(/images/ask_an_expert/house.gif) 0 0 no-repeat;
  padding-left: 20px; }

p.browse {
  clear: left;
  background: transparent url(/images/ask_an_expert/plus.gif) 50px 50% no-repeat;
  padding-left: 65px; }

p.zoom a,
p.browse a,
p.home a {
  color: #9900cc;
  text-decoration: none;
  font-size: 13px;
  font-weight: bold;
  border-style: dotted;
  border-width: 0 0 1px 0; }

p.zoom a:hover,
p.browse a:hover,
p.home a:hover {
  color: #6E2B8C; }

/* RAILS ERRORS */
small.error {
  display: none; }

.error-with-field {
  display: inline  !important;
  float: none !important; }

.error-with-field input,
.error-with-field select,
.error-with-field textarea {
  border: 1px solid #D31145 !important;
  background-color: #fff2f2 !important; }

.error-with-field label {
  color: #D31145 !important; }

.errorExplanation h2 {
  margin: 0 0 10px 0 !important;
  color: #D31145 !important; }

.errorExplanation {
  border: 2px solid #e00;
  margin: 17px;
  padding: 10px 20px;
  color: #D31145 !important; }

.formError {
  padding: 5px 0; }

.fieldWithErrors input,
.fieldWithErrors textarea,
.fieldWithErrors select {
  border: 1px solid #D31145 !important;
  background-color: #fff0f5 !important; }

/* AAE LANDING PAGE */
#introduction {
  background: url(/images/ask_an_expert/info-bg.jpg) bottom right no-repeat;
  height: 300px;
  padding: 20px 488px 0 20px;
  color: #666 !important; }

#introduction h1 {
  color: #6e2b8c;
  margin: 0; }

#introduction h1 span {
  color: #c67dde; }

#questions-index .topics .topic {
  margin: 20px 10px;
  overflow: hidden;
  clear: both;
  /* auto-clear Mozilla */ }

#questions-index .bios {
  width: 232px;
  float: left;
  margin-right: 15px; }

#questions-index .answers {
  width: 457px;
  float: left;
  margin-right: 15px; }

#questions-index .popular-tags {
  width: 199px;
  float: left; }

#questions-index .answers .more {
  display: none; }

#questions-index .mini-bio img {
  float: left;
  margin: 0 10px 10px 0; }

#questions-index .mini-bio a {
  color: #c67dde;
  text-decoration: none; }

#questions-index .mini-bio a:hover {
  text-decoration: underline;
  color: #9900CC; }

#questions-index .mini-bio p {
  margin: 5px 0 0 70px !important; }

#questions-index .mini-bio strong {
  font-size: 15px;
  color: #9900cc; }

#questions-index .mini-bio {
  margin-bottom: 11px;
  overflow: hidden;
  line-height: 1.3em;
  font-size: 12px;
  color: #666; }

.topics h2 {
  font-size: 22px;
  font-weight: bold;
  color: #6e2b8c;
  border-bottom: 1px solid #6e2b8c;
  padding: 0 0 9px;
  margin: 5px 0 10px;
  color: #6e2b8c; }

#questions-index .bios h2 a {
  color: #6e2b8c !important;
  text-decoration: none; }

#questions-index .bios h2 a:hover {
  color: #9900CC !important; }

* html #questions-index .topics .topic {
  height: 1%;
  /* auto-clear IE6 */ }

/* Hide tags on landing page */
#questions-index .question .meta,
#questions-similar .question .meta,
#questions-search .question .meta,
#questions-by_topic .question .meta {
  display: none; }

/* EXPERTS BIO PAGE */
#questions-experts h1 {
  color: #6e2b8c;
  font-size: 30px;
  font-weight: bold;
  border-bottom: 1px solid #6e2b8c;
  margin: 5px 0 15px;
  padding: 0 0 5px 5px; }

#questions-experts h2 {
  color: #9900cc;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid #9900cc;
  padding-bottom: 10px;
  margin-bottom: 10px;
  margin-top: 0; }

#questions-experts .bio a {
  text-decoration: none;
  color: #9900cc; }

#questions-experts .bio a:hover {
  text-decoration: underline; }

#questions-experts .bios {
  width: 608px; }

#questions-experts .bios p {
  font-size: 15px; }

#questions-experts .bio {
  margin-bottom: 20px;
  overflow: hidden; }

#questions-experts .bio img {
  margin-right: 15px;
  float: left; }

#questions-experts .bio p {
  margin: 0 0 15px;
  font-size: 12px; }

#questions-experts .bio a {
  text-decoration: none;
  color: #9900cc; }

#questions-experts .bio a:hover {
  text-decoration: underline; }

#questions-experts .bio .inner {
  margin-left: 200px;
  margin-bottom: 15px; }

* html #questions-experts .bio {
  height: 1%;
  /* IE6 auto-clearing hack */ }

/* SEARCH WIDGET */
#search_widget {
  height: 54px;
  background: transparent url(/images/ask_an_expert/search-bg.gif) no-repeat;
  margin: 20px 0;
  position: relative; }

#search_widget input.keywords {
  position: absolute;
  left: 18px;
  top: 16px;
  border: none;
  width: 170px;
  font: normal 16px arial, sans-serif;
  color: #c67dde; }

#search_widget input.focus {
  color: #9900cc; }

#search_widget select {
  position: absolute;
  left: 199px;
  top: 17px;
  width: 170px;
  color: #666; }

#search_widget input.submit {
  position: absolute;
  right: 13px;
  top: 13px;
  margin: 0; }

#introduction #search_widget input.submit {
  right: 18px;
  margin: 0; }

#search_widget label {
  display: none; }

/* EXTRA-WIDE SEARCH WIDGET */
.expert-content #search_widget {
  background: url(/images/ask_an_expert/search-results-search-bg.gif) no-repeat;
  margin: 10px 0 15px; }

.expert-content #search_widget input.keywords {
  left: 150px;
  width: 185px; }

.expert-content #search_widget select {
  left: 363px; }

/* QUESTION */
.question {
  margin: 20px 0;
  color: #505050;
  font-size: 12px;
  line-height: 16px; }

.question .author {
  float: left;
  width: 50px;
  text-align: center;
  font-size: 11px;
  font-weight: bold; }

.question .title {
  background: transparent url(/images/ask_an_expert/question-title-bg.gif) 0 0 no-repeat;
  padding: 15px 15px 10px 35px;
  margin-left: 51px;
  min-height: 35px;
  line-height: 1.25em; }

.question .title strong {
  display: block;
  padding-bottom: 8px; }

.question .title a {
  color: #505050;
  text-decoration: none; }

.question .title a:hover {
  color: #333; }

.question .title a.highlight {
  color: #9900cc;
  text-decoration: none; }

.question .title a.highlight:hover {
  text-decoration: underline; }

.question .expert {
  clear: left;
  float: left;
  width: 50px;
  padding-top: 68px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  color: #02884d; }

.question .answer {
  background: transparent url(/images/ask_an_expert/question-answer-bg.gif) 0 0 no-repeat;
  padding: 32px 15px 1px 85px;
  line-height: 1.5em; }

.question .answer strong {
  display: block;
  color: #015430;
  padding-bottom: 8px; }

.question .answer a {
  color: #9900cc;
  text-decoration: none; }

.question .answer a:hover {
  text-decoration: underline; }

.question .date {
  background: transparent url(/images/ask_an_expert/question-date-bg.gif) 66px 100% no-repeat;
  padding: 0 10px 10px 85px;
  color: #3d73b9;
  font-size: 10px; }

.question .meta {
  /*margin-top:10px;*/ }

.question .topic {
  display: inline; }

.question .tags {
  display: inline;
  float: none;
  line-height: 1.1em; }

.question .tags a {
  color: #02884D;
  font-size: 11px;
  border-style: none; }

.question .more {
  color: #9900cc;
  float: right;
  text-align: right;
  padding: 18px 0 20px 0;
  width: 162px; }

.question .comments {
  background: transparent url(/images/ask_an_expert/question-comment-count-bg.gif) 0 15px no-repeat; }

.question .comments strong {
  font-size: 15px;
  padding: 0 8px 0 0; }

.question .more a {
  color: #9900cc;
  font-weight: bold;
  text-decoration: none; }

.question .more a:hover {
  text-decoration: underline; }

/* TOUTS */
#similar_questions {
  background: url(/images/ask_an_expert/similar-tout-bg.gif) bottom left no-repeat;
  padding: 0 0 5px 0; }

#similar_questions h3 {
  color: #600080;
  background: url(/images/ask_an_expert/similar-tout-title-bg.gif) 0 0 no-repeat;
  padding: 10px 10px 20px;
  margin: 0; }

.similar-question {
  margin: 0 1px 10px 1px;
  padding-bottom: 10px;
  background: url(/images/ask_an_expert/search-results-question-bg.gif) bottom left repeat-x; }

.similar-question .date {
  background: transparent url(/images/ask_an_expert/similar-tout-date-bg.gif) 66px 100% no-repeat;
  padding: 0 15px 10px 85px;
  color: #3d73b9;
  font-size: 10px;
  margin: 0 9px; }

.similar-question .title {
  background: url(/images/ask_an_expert/similar-tout-question-bg.gif) 0 0 no-repeat;
  padding: 15px 15px 10px 35px;
  margin: 0 9px 0 61px;
  min-height: 35px;
  font-size: 12px; }

.similar-question .title a {
  color: #505050;
  font-weight: bold;
  text-decoration: none; }

.similar-question .answer {
  background: url(/images/ask_an_expert/similar-tout-answer-bg.gif) 0 0 no-repeat;
  padding: 32px 15px 10px 85px;
  min-height: 25px;
  font-size: 12px;
  color: #02884d;
  margin: 0 9px; }

.similar-question .answer a {
  color: #9900cc;
  text-decoration: none; }

.similar-question .author {
  float: left;
  width: 50px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  margin: 0 9px; }

.similar-question .expert {
  clear: left;
  float: left;
  width: 50px;
  padding-top: 65px;
  text-align: center;
  font-size: 11px;
  font-weight: bold;
  margin-left: 10px;
  color: #02884d; }

.similar-question .answer {
  /*  background:transparent url(/images/ask_an_expert/similar-question-answer-bg.gif) no-repeat; */ }

.similar-question .expert {
  /*  background:transparent url(/images/ask_an_expert/similar-question-expert-bg.gif) no-repeat; */ }

#ask_tout {
  background: transparent url(/images/ask_an_expert/ask-tout-bg.gif) 0 0 no-repeat;
  width: 300px;
  height: 233px;
  position: relative;
  margin: 10px 0; }

#ask_tout label {
  display: none; }

#ask_tout textarea {
  border: none;
  height: 96px;
  width: 262px;
  position: absolute;
  top: 52px;
  left: 20px;
  font: bold 12px/16px arial, sans-serif; }

#ask_tout input {
  position: absolute;
  top: 165px;
  left: 15px;
  margin: 0; }

/* SEARCH RESULTS */
#search_results .highlight {
  background-color: #ff5;
  color: #333;
  display: inline;
  padding: 0; }

#search_results .question,
.expert-content .question {
  padding-bottom: 20px;
  background: url(/images/ask_an_expert/search-results-question-bg.gif) bottom left repeat-x; }

#search_results h1,
.expert-content h1 {
  font-size: 15px;
  color: #6e2b8c;
  border-bottom: 1px solid #6e2b8c;
  padding-bottom: 10px; }

#search_results .question .title,
.expert-content .question .title {
  background-image: url(/images/ask_an_expert/search-results-question-title-bg.gif); }

#search_results .question .answer,
.expert-content .question .answer {
  padding-bottom: 5px;
  background-image: url(/images/ask_an_expert/search-results-question-answer-bg.gif); }

#search_results .question .date,
.expert-content .question .date {
  padding: 18px 10px 0px 85px;
  background: url(/images/ask_an_expert/search-results-question-date-bg.gif) 66px -94px no-repeat; }

#search_results h1 span,
.expert-content h1 span {
  font-weight: bold; }

/* TOPIC LANDING */
.topic-landing-container {
  overflow: hidden;
  margin: 0 0 30px; }

* html .topic-landing-container {
  height: 1%; }

.topic-landing-container .bios {
  width: 615px;
  float: left;
  margin-left: 10px; }

.topic-landing-container .intro {
  font-weight: bold;
  margin-left: 10px !important; }

.topic-landing-container .bio-thumbs {
  float: left;
  display: block;
  width: 170px; }

.topic-landing-container .topic-intro {
  float: left;
  display: block;
  width: 435px;
  margin-left: 10px; }

.topic-landing-container .thumbnail-bio {
  text-align: center;
  width: 60px;
  height: 90px;
  padding: 10px;
  margin-right: 5px;
  float: left;
  background: url(../images/ask_an_expert/thumb_bio_bg.gif) no-repeat;
  font-size: 15px;
  color: #9900cc; }

.topic-landing-container .thumbnail-bio img {
  margin-bottom: 10px; }

.topic-landing-container .text-bio {
  float: left;
  width: 200px;
  margin-left: 10px; }

.topic-landing-container .tags {
  width: 300px;
  margin-left: 640px; }

.topic-landing-container h1 {
  font-size: 30px;
  font-weight: bold;
  color: #6e2b8c;
  border-bottom: 1px solid #6e2b8c;
  padding: 0 0 13px 0;
  margin: 0 0 10px;
  color: #6e2b8c; }

.topic-landing-container h1 span {
  font-weight: normal; }

.topic-landing-container h2 {
  font-size: 15px;
  font-weight: normal;
  color: #6e2b8c;
  border-bottom: 1px solid #6e2b8c;
  padding: 0 0 13px;
  margin: 0 0 10px;
  color: #6e2b8c; }

.topic-landing-container .tag-cloud li a {
  font-size: 16px;
  line-height: 21px; }

/* PAGINATION */
/**
* TODO: share pagination styles, same design used in babynames and possibly elsewhere
**/
.pagination {
  margin-top: 20px;
  padding-top: 7px;
  height: 26px;
  text-align: center;
  background: url(/images/ask_an_expert/pagination-bg.gif) top left repeat-x;
  position: relative; }

.pagination .previous_page {
  display: block;
  background: url(/images/ask_an_expert/previous-arrow.gif) 0 50% no-repeat;
  padding-left: 15px;
  position: absolute;
  font-size: 12px;
  color: #333;
  left: 10px;
  top: 7px; }

.pagination .next_page {
  display: block;
  background: url(/images/ask_an_expert/next-arrow.gif) 100% 50% no-repeat;
  padding-right: 15px;
  position: absolute;
  font-size: 12px;
  color: #333;
  right: 10px;
  top: 7px; }

.pagination .disabled {
  /* currently not used */ }

.pagination a {
  padding: 0 5px;
  border: none;
  color: #333; }

.pagination .current {
  padding: 0 4px;
  background-color: #e6e6e6;
  border: 1px solid #cacaca; }

/* QUESTION FORM */
#ask {
  float: left;
  display: inline; }

#new_question .author {
  float: left;
  width: 50px;
  background: transparent url(/images/membership/member.gif) no-repeat;
  padding-top: 53px;
  text-align: center;
  color: #D31145;
  font-size: 11px;
  font-weight: bold; }

#new_question .your-question {
  margin: 0 0 0 51px;
  padding: 0 20px 10px 35px;
  background: transparent url(/images/ask_an_expert/ask-question-bg.gif) no-repeat; }

#new_question .your-question-bottom {
  background: transparent url(/images/ask_an_expert/ask-question-bg-bottom.gif) no-repeat;
  margin: 0 0 10px 66px; }

#new_question .your-question label {
  display: block;
  font-size: small;
  font-weight: bold;
  color: #333;
  padding: 0 0 5px 0;
  float: none;
  line-height: auto;
  text-transform: none;
  width: auto; }

#new_question .your-question label span {
  font-weight: normal; }

#new_question .your-question .inline label {
  display: inline;
  padding: 0 5px 0 0; }

#new_question .your-question .row {
  padding: 10px 0 0;
  background-color: transparent;
  border-bottom: none;
  clear: none;
  margin-bottom: auto;
  overflow: auto;
  width: auto; }

#new_question #question_summary,
#new_question #question_elaboration {
  width: 490px;
  border: 1px solid #ccc;
  padding: 5px;
  font: small arial, sans-serif; }

#new_question #question_summary {
  height: 30px; }

#new_question #question_elaboration {
  height: 110px; }

#new_question #question_question_topic_id {
  width: 132px; }

#new_question .submit {
  text-align: right; }

#new_question .membership-form {
  margin: 0 0 0 66px;
  width: 517px;
  background: #fff url("/images/ask_an_expert/form-bg-top.gif") no-repeat; }

#new_question .membership-form .submit {
  background: #fff url("/images/ask_an_expert/form-bg-bottom.gif") no-repeat; }

#new_question .membership-form .select label,
#new_question .membership-form .text label {
  width: 100px; }

#new_question .membership-form .checkbox,
#new_question .membership-form #children,
#new_question .membership-form #password_row {
  margin-left: 121px; }

#new_question .formError {
  color: #fff;
  background-color: #f3614b;
  font-size: 11px;
  font-weight: normal;
  background: #f3614b url("/images/membership/warning-icon.gif") 2px 50% no-repeat;
  padding: 3px 0 3px 21px;
  margin: 1px 0 5px; }

#new_question .your-question .fieldWithErrors input,
#new_question .your-question .fieldWithErrors select,
#new_question .your-question .fieldWithErrors textarea {
  border: 2px solid #f3614b !important;
  background-color: #ffffe5 !important; }

#new_question .your-question .fieldWithErrors textarea {
  width: 488px !important; }

#new_question .your-question .fieldWithErrors select {
  width: 140px !important; }

#new_question .your-question .inline .formError {
  margin-left: 193px;
  width: 119px; }

/* PREVIEW PAGE */
#preview_question {
  width: 608px;
  margin-left: 10px;
  float: left;
  display: inline; }

#preview_question .intro {
  width: 503px;
  height: 70px;
  padding: 10px 20px;
  margin-left: 65px;
  background: transparent url(/images/ask_an_expert/preview-intro-bg.gif) no-repeat; }

#preview_question .intro p {
  font-size: 12px;
  line-height: 16px;
  font-weight: bold;
  color: #69632e;
  margin: 5px 0 10px;
  padding: 0; }

#preview_question .question .date {
  background: transparent url(/images/ask_an_expert/preview-question-date-bg.gif) 66px 100% no-repeat;
  padding: 0 86px 10px; }

#preview_question form {
  display: block;
  text-align: right; }

#preview_question input {
  padding-left: 5px; }
