#comments-area,
.topic-toolbar form {
  font-size: 1em;
  line-height: 20px;
  clear: both;
}
#comments-header p {
  padding: 10px;
  clear: both;
  font: 1.4rem/2rem Arial,Sans-serif;
}

/* =========================================================
 * Comment title and guidelines (node.tpl and talkpage.tpl)
 * --------------------------------------------------------- */

#comments-area p#comments-guidelines a {
  text-decoration: underline;
}

#comments-area p#comments-guidelines a:hover,
#comments-area p#comments-guidelines a:focus {
  text-decoration: none;
}

#ec-article-comments #ec-article-body div.ec-article-link {
  background: #EEF1F3;
  border: 1px solid #8BBBD1;
  float: right;
  font-size: 1.3em;
  margin-top: 3px;
  padding: 1px 5px 3px 5px;
}

/* ---------------------------------------------------------
 * end Comment title and guidelines
 * ========================================================= */

/* =========================================================
 * Form
 * --------------------------------------------------------- */

#comments-area .box {
  padding: 0 10px;
}

#comments-area form#comment-form,
#comments-area form#comment-form-1 {
  text-align: right;
}

#comments-area form#comment-form .preview {
  text-align: left;
}

#comments-area form#comment-form div.form-item,
#comments-area form#comment-form-1 div.form-item {
  text-align: left;
}

#comments-area .form-item,
.topic-toolbar .form-item {
  margin: 0;
}

#comments-area .form-item label{
  display: none;
}
#comments-area #edit-ec-unpublish-wrapper label {
  display: inline;
}
.topic-toolbar .form-item label {
  font-weight: normal;
}

#comments-area .form-item span.form-required,
.topic-toolbar .form-item span.form-required {
  display: none;
}

#comments-area textarea,
.topic-toolbar textarea {
  width: 100%;
  border: 1px solid #CCCCCC;
  font-size: 1.6rem;
}

#comments-area .resizable-textarea,
.topic-toolbar .resizable-textarea {
  width: 100%;
}

#comments-area .error-msg,
.topic-toolbar .error-msg {
  color: #ff0000;
}

/* =========================================================
 * Sorting
 * --------------------------------------------------------- */

#comments-area div.sort {
  border-bottom: 1px solid #8BBBD1;
  border-top: 1px solid #8BBBD1;
  font-size: 1.1em;
  margin: 15px 0px;
  padding:8px 0 4px;
  min-height: 20px
}

#comments-area div.sort p {
  float: left;
  font-weight: bold;
  font-size: 1.3rem;
  line-height: 1.6rem;
}

#comments-area div.sort ul {
  float: left;
  margin-left: 5px;
}

#comments-area div.sort ul li {
  border-right: 1px solid #333333; /* Color matches body text */
  float: left;
  list-style-type: none;
  margin-left: 10px;
  padding-right: 10px;
}

#comments-area div.sort ul li.first {
  margin-left: 0;
}

#comments-area div.sort ul li.last {
  border: 0;
}

#comments-area div.sort ul li a {
  color: #08526D;
}

/* ---------------------------------------------------------
* end Sorting
* ========================================================= */

/* =========================================================
* Comments
* --------------------------------------------------------- */
#comments-area .indented {
  margin-left: 0;
}

#comments-area section.indented,
#comments-area > .indented {
  margin-left: 25px;
}

a.deep-replies-control {
  display: block;
  margin: 0 auto 27px;
  border: 1px solid #D3D1D1;
  padding: 3px 5px 0;
  line-height: 13px;
  height: 15px;
  text-align: center;
  font-size: 11px;
  background: url("/sites/all/themes/econfinal/images/icons/icons_sprite.png") repeat-x scroll 0 -21px transparent;
  cursor: pointer;
}
.single-comment {
  font-size: 13px;
}

div.comment-body {
  padding: 0 5px;
} 

div.comment-body p {
  margin-bottom: 10px;
}

.single-comment header {
  border: 1px solid #cddadd;
  background-color: #f4f8fa;
  padding: 9px;
  height: 22px;
  margin-bottom: 15px;
}

#comments-area .indented article header {
  border: 1px solid #DCD8B7;
  background-color: #F2EEE2;
}

.single-comment header a {
  display: block;
  float: left;
  font-weight: bold;
  overflow: hidden;
  max-width: 469px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.indented .single-comment header a {
  max-width: 219px;
}

.single-comment header a.reply-to {
  font-size: 11px;
  font-weight: normal;
  margin-left: 5px;
  margin-top: 1px;
}

.single-comment time {
  color: #666666;
  display: block;
  float: left;
  font-size: 11px;
  margin-left: 10px;
  margin-top: 2px;
}

.single-comment footer {
  padding: 5px 5px 27px;
  position: relative;
}

/* Editorial comments */
.editorial-comment header div a.journalist {
  background: url("/sites/default/files/images/icons/editorial_logo.png") no-repeat scroll 0 0 transparent;
  padding-left: 25px;
}

/* end of Editorial comments */

/* =========================
 * Featured comment
 * ------------------------- */
.featured-comment > div > header {
  padding-right: 89px;
  position: relative;
}
.featured-comment > div > header:after {
  background: url("/sites/all/themes/econfinal/images/featured-comment.png") no-repeat scroll 0 0 transparent;
  content: "";
  height: 40px;
  position: absolute;
  right: 0;
  top: -1px;
  width: 89px;
}
.featured-comment > div > header a {
  max-width: 389px;
}
.indented .featured-comment > div > header a {
  max-width: 179px;
}
/* =========================
 * End featured comment
 * ------------------------- */

span.ajax-loading {
  background: url("/sites/all/themes/econfinal/images/icons/ajax-loader.gif") no-repeat scroll 0 0 transparent;
  display: block;
  height: 15px;
  left: -16px;
  position: absolute;
  top: 1px;
  width: 15px;
}

/* =========================================================
 * "Recommend," "Permalink, and "Report abuse" links
 * --------------------------------------------------------- */

#comments-area footer ul li {
  float: left;
  margin-right: 20px;
  padding: 0;
  font-size: 11px;
}
#comments-area footer ul li {
  text-transform: capitalize;
}
#comments-area footer ul li.comment_reply,
#comments-area footer ul li.comment_edit {
  float: right;
  margin-right: 0;
}

html.js #comments-area footer ul .secondary-action {
  color: #eeeeee;
}

html.js #comments-area .active > div footer ul a.secondary-action {
  color: #08526D;
}

html.js #comments-area footer ul .secondary-action form,
html.js #comments-area .active footer ul .secondary-action form {
  color: #000000;
}

#comments-area footer .recommended,
html.js #comments-area footer ul .reported {
  color: #999999;
}

#comments-area footer label,
.topic-toolbar label {
  display: inline-block;
  margin-bottom: 5px;
}

div#edit-ec-abuse-reason-wrapper label,
.topic-toolbar label {
  margin-bottom: 15px;
}

#comments-area div#report-abuse-form-buttons,
.topic-toolbar div#report-abuse-form-buttons {
  text-align: right;
}

#comments-area span.remove-form,
.topic-toolbar span.remove-form {
  cursor: pointer;
  font-size: 11px;
  margin-right: 10px;
  display: inline-block;
  color: #08526D;
}

#comments-area span.remove-form:hover,
.topic-toolbar span.remove-form:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
* end "Recommend," "Permalink, and "Report abuse" links
* ========================================================= */
html.js #comments-area footer li.opened,
html.js .topic-toolbar li.opened {
  background: none;
}

html.js #comments-area footer li.opened a,
html.js .topic-toolbar li.opened a {
  background: none;
  background-color: #f0f0f0;
  border-top-left-radius: 10px 5px;
  border-top-right-radius: 10px 5px;
  padding: 4px 8px 9px;
  color: #000000;
  text-decoration: none;
  z-index: 10;
  border: none;
  display: inline;
  float: none;
  margin-right: 0;
}

#comments-area footer form,
.topic-toolbar form {
  background-color: #f0f0f0;
  clear: both;
  position: relative;
  top: 3px;
  padding: 15px 15px 0;
}

div.comment-preview {
  background: #FFF;
  margin: 5px 0 15px;
  padding: 5px;
}

div.comment-preview p {
  margin-bottom: 13px;
}

div.comment-preview-title {
  font-weight: bold;
  margin-bottom: 13px;
}

li.comment_recommend div span,
li.comment_recommend .recommend,
li.comment_reply a, 
li.comment_edit a {
  border: 1px solid #D3D1D1;
  display: block;
  height: 15px;
  padding: 3px 5px 0;
  line-height: 13px;
}

li.comment_recommend div span {
  border-left: 0;
}

li.comment_recommend .recommend,
li.comment_reply a, 
li.comment_edit a {
  background: url("/sites/all/themes/econfinal/images/icons/icons_sprite.png") repeat-x scroll 0 -21px transparent;
  border-right: 1px solid #D3D1D1;
  float: left;
  margin-right: 2px;
  text-decoration: none;
}

li.comment_report_abuse a,
li.comment_reply a,
li.comment_edit a {
  position: relative;
}

a.deep-replies-control:hover,
a.deep-replies-control:focus,
li.comment_recommend .recommend:hover,
li.comment_recommend .recommend:focus,
li.comment_reply a:hover,
li.comment_reply a:focus, 
li.comment_edit a:hover,
li.comment_edit a:focus {
  border: 1px solid #aaaaaa;
  text-decoration: none;
}

li.comment_recommend .recommended {
  background-color: #dddddd;
  background-image: none;
  color: #666666;
}

li.comment_recommend .recommended:hover {
  border: 1px solid #dddddd;
}

li.comment_recommend div {
  background: url("/sites/all/themes/econfinal/images/icons/icons_sprite.png") no-repeat scroll -16px -43px transparent;
  float: left;
  padding-left: 3px;
}

li.ajax-loader div span {
  background: url("/sites/all/themes/econfinal/images/icons/ajax-loader.gif") no-repeat scroll 50% 50% #FFFFFF;
  color: #FFFFFF;
}

/* =========================================================
* Comments links (node.tpl)
* --------------------------------------------------------- */

div.ec-comments-links-box {
  clear: both;
  background-color: #F0F0F0;
  padding: 8px 10px 8px 8px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

div.ec-comments-links-box a.view-comments {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat scroll 0 -322px;
  float: left;
  padding: 2px 0 2px 20px;
  line-height: 1.5rem;
}

div.ec-comments-links-box a.add-comments {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat scroll 0 -299px;
  float: right;
  padding: 2px 0 2px 23px;
  line-height: 1.5rem;
}

/* ---------------------------------------------------------
 * end Comments links
 * ========================================================= */

form#comment-form div.messages-inline {
  font-size: 1.1em;
  background: none repeat scroll 0 0 transparent;
  text-align: left;
  border: 1px solid red;
}

/* ---------------------------------------------------------
* Pager
* ========================================================= */
#comments-area div.pager ul.pager {
  font-size: 1em;
  text-align: right;
}

/* ---------------------------------------------------------
 * User comments pages
 * ========================================================= */
body.page-user #comments-area div.comments-pager {
  float: none;
  margin-bottom: 10px;
}

body.page-user #comments-area {
  padding-top: 10px;
  border-top: 1px solid #CDDADD;
}

/* =========================================================
 * Ajax error messages.
 * --------------------------------------------------------- */
form#comment-form div.error {
  padding: 2px;
  text-align: left;
  font-size: 13px;
}

form#comment-form div.error ul {
  margin-bottom: 0;
}

/* =========================================================
 * Share checkbox.
 * --------------------------------------------------------- */
form#comment-form #edit-share-wrapper {
  float: left;
  margin: 6px auto;
  width: 400px;
}
form#comment-form #edit-share-wrapper input {
  float: left;
  margin-right: 8px;
  margin-top: 8px;
}
form#comment-form #edit-share-wrapper label {
  font-size: 12px;
  line-height: 10px;
  display: block;
  padding-top: 6px;
}
form#comment-form #edit-share-wrapper .description {
  font-size: 11px;
}

/* =========================================================
 * Featured showcase
 * --------------------------------------------------------- */
.ec-featured-showcase-block {
  margin-bottom: 2px;
}

.ec-featured-showcase-block .title {
  border-top: 3px solid #4A4A4A;
  background: url("/sites/all/themes/econfinal/images/featured-comment-banner.png") no-repeat scroll 573px -1px #F0F0F0;
  color: #4A4A4A;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 20px;
  margin-bottom: 2px;
  padding: 8px 10px;
}
.ec-featured-showcase-comments .single-comment {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #F0F0F0;
  padding: 12px 10px 10px 10px;
  margin-bottom: 2px;
}

.ec-featured-showcase-comments .comment-body {
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 20px;
}

.ec-featured-showcase-comments .comment-body p{
  margin-bottom: 10px;
}

.ec-featured-showcase-comments .single-comment header a {
  color: #4A4A4A;
  font-size: 14px;
}

.ec-featured-showcase-comments .single-comment time,
.ec-featured-showcase-comments .single-comment header a.view-thread {
  font-size: 12px;
}

.ec-featured-showcase-comments .single-comment footer ul,
.ec-featured-showcase-comments .single-comment footer ul li {
  padding: 0;
  margin: 0;
  font-size: 12px;
}

.ec-featured-showcase-comments .single-comment ul li.comment_reply {
  text-transform: capitalize;  
}


.ec-featured-showcase-comments .single-comment footer {
  padding: 0;
  margin: 0;
}

.ec-featured-showcase-comments .single-comment footer ul li {
  padding-top: 5px;
  padding-right: 15px;
  float: left;
  margin-right: 20px;
  padding: 4px 0 0;
}


.ec-featured-showcase-comments .single-comment footer ul.links li.comment_recommend,
.ec-featured-showcase-comments .single-comment footer ul.links li.comment_reply {
  padding-top: 0;
}

.ec-featured-showcase-comments .single-comment footer ul.links {
  padding: 10px 0 0 0;
}

.ec-featured-showcase-comments .single-comment footer ul li a {
  color: #EEEEEE;
}
.ec-featured-showcase-comments .active footer ul li a,
.ec-featured-showcase-comments .single-comment footer ul.links li.comment_recommend a,
.ec-featured-showcase-comments .single-comment footer ul.links li.comment_reply a {
  color: #08526D;    
}
.ec-featured-showcase-comments .single-comment footer ul.links li.comment_reply a {
  margin-right: 0;
}

/** Makes the ajax form that pops up from reports look prettier. **/
.ec-featured-showcase-comments footer .ajax-form {
  margin-top: 39px;
}

.ec-featured-showcase-comments footer .ajax-form #comment-form .form-submit {
  float: right;
  margin: 7px 0 0;
}

.ec-featured-showcase-comments footer .ajax-form #comment-form #edit-comment-ajax-wrapper {
  margin: 0;
}

.ec-featured-showcase-comments footer .ajax-form textarea {
  width: 569px;
  border: 1px solid #CCC;
  margin-top: 10px;
  padding: 2px;
}

.ec-featured-showcase-comments footer .ajax-form span.form-required {
  display: none;
}

.ec-featured-showcase-comments footer .ajax-form label {
  font-weight: normal;
  font-size: 13px;
}

.ec-featured-showcase-comments .single-comment footer ul li.comment_reply {
  float: right;
  margin: -3px 0 0;
  padding: 0;
}

/** Take off the formatting of regular comments. **/
.ec-featured-showcase-comments .featured-comment > div > header:after,
.ec-featured-showcase-comments header {
  background: none;
  border: none;
  width: auto;
}

.ec-featured-showcase-comments .single-comment header {
  height: 16px;
  margin-bottom: 10px;
  padding: 0;
}

.ec-featured-showcase-comments .single-comment a.view-thread {
  float: right;
  color: #08526D;
  font-weight: normal;
}

/* =========================================================
 * end featured showcase
 * --------------------------------------------------------- */
