/**
 * ec-page-tools
 */

/* TODO: This is *way* too general! --TRN */
.form-item {
  clear: both;
  }

.ec-page-tools {
  margin-bottom: 15px;
  position: relative;
  clear: both;
}
.ec-page-tools li {
  font-size: 1.3rem;
  margin-bottom: 6px;
  line-height: 1.6;
  float: left;
}
ul.ec-pt-expanded li {
  margin: 0 18px 0 0;
  padding: 10px 0;
  list-style: none;
}
ul.ec-pt-expanded li a, ul.ec-pt-share-expanded li a {
  float: left;
  padding-left: 20px;
}
.ec-page-tools li.last {
  margin-right: 0;
}
.ec-page-tools li a {
  display: block;
  height: 18px;
  outline: none;
  padding-left: 25px;
}
.ec-page-tools li.pt-comment a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -64px;
}
.ec-page-tools li.pt-comment a:hover {
  background-position: 0 -80px;
}
.ec-page-tools li.pt-email a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -263px;
}
.ec-page-tools li.pt-email a:hover {
  background-position: 0 -279px;
}
.ec-page-tools li.pt-print a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -148px;
}
.ec-page-tools li.pt-print a:hover {
  background-position: 0 -164px;
}
.ec-page-tools li.pt-randr a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -182px;
}
.ec-page-tools li.pt-randr a:hover {
  background-position: 0 -201px;
}
.ec-page-tools li.pt-permalink a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -224px;
}
.ec-page-tools li.pt-permalink a:hover {
  background-position: 0 -242px;
}
.ec-page-tools li.pt-bookmark a {
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0 -432px;
}
.ec-page-tools li.pt-bookmark a:hover {
  background-position: 0 -456px;
}

.ec-page-tools li.ajax-loader {
  background: #ffffff url(/sites/all/themes/econfinal/images/icons/ajax-loader.gif) no-repeat 0 10px;
}
.ec-page-tools li.ajax-loader a {
  background: none;
}


/* to be removed once R&R is defined */
.ec-page-tools li.pt-randr-grey {
  background: transparent url(/sites/all/themes/econfinal/images/icons/pt_reprints.gif) no-repeat 0 50%;
  padding-left: 20px;
  color: #bbbbbb;
  height:16px;
}
span.randr-na {
  display: block;
  position: absolute;
  border: 1px solid #666666;
  color: #000000;
  background-color: #ffffff;
  padding: 0 2px;
  z-index: 999999999;
}
/* end */

.ec-page-tools li.pt-share {
  position: relative;
}
.ec-page-tools li ul li {
  font-size: 1em;
}

/* Page tools compact version */
ul.ec-pt-compact {
  padding: 0 0 9px;
  margin-bottom: 1px;
}
ul.ec-pt-compact li ul.pt-share {
  top: 15px;
}
ul.ec-pt-compact li {
  width: 168px;
  float: left;
  margin-bottom: 15px;
}
ul.ec-pt-compact li.even {
  margin-left: 15px;
}

/* Page tools expanded version */
h3.ec-pt-header {
  font-size: 1.2em;
  margin-top: 8px;
}

.ec-pt-expanded {
  border-top: 1px solid #E0E0E0;
}
#block-ec_components-page_tools_expanded {
  clear: both;
}



/* Style for the inline share links in the node.tpl.php files. */
#block-ec_components-share_inline_footer {
  margin: 25px 0;
}
.share_inline_header {
  float: right;
  margin-bottom: 4px;
}
.share_inline_header ul {
  margin: 0;
  padding: 0 0 0 29px;
}
.share_inline_header ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
}
.share_inline_header ul,
.share_inline_footer ul {
  margin: 0;
  padding: 0;
}
.share_inline_header ul li,
.share_inline_footer ul li {
  margin: 0;
  padding: 0;
  list-style: none;
  float: left;
  min-height: 20px;
  min-width: 90px;
}
.share_inline_footer ul li.share-inline-footer-reddit {
  margin-right: 7px;
  min-width: 55px;
}
.share_inline_footer ul li.share-inline-footer-reddit a {
  display: block;
  width: 53px;
  height: 0;
  padding-top: 20px;
  overflow: hidden;
  background: transparent url(/sites/all/themes/econfinal/images/icons/icons_sprite.png) no-repeat 0px -364px;
}
.share_inline_header ul li.share-inline-header-facebook,
.share_inline_footer ul li.share-inline-footer-facebook {
  z-index: 10000;
}
.share_inline_header ul li.share-inline-header-facebook,
.share_inline_footer ul li.share-inline-footer-facebook {
  max-width: 110px;
}
.share_inline_footer li.share-linkedin {
  margin-right: 7px;
  min-width: 60px;
}

.share_inline_footer ul li.share-more {
  float: right;
  min-width: 0;
  max-width: 19px;
  padding-top: 3px;
}
a.twitter-share-button {
  visibility: hidden;
}

/* Email a friend */
form#ec-components-eaf fieldset{
  width: 100%;
}
form#ec-components-eaf legend {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
}
form#ec-components-eaf p {
  font-size: 1.2em;
  margin-bottom: 15px;
}
form#ec-components-eaf div label, form#ec-components-eaf fieldset div input {
  display: block;
  float: left;
  font-size: 1.3rem;
  font-weight: normal;
}
form#ec-components-eaf div.form-item {
  clear:both;
  margin: 0 0 1em;
}
form#ec-components-eaf div label {
  width:190px;
}
form#ec-components-eaf div.eaf-textarea label{
  float: none;
  margin-bottom: 0;
}
form#ec-components-eaf div label span{
  display: block;
  font-size: .9em;
  line-height: 1.1;
  color: #666666;
  padding-right: 5px;
}
form#ec-components-eaf div label span.form-required{
  color: #ff0000;
  display:inline;
  padding-right:0;
}
form#ec-components-eaf div input {
  width:245px;
}
form#ec-components-eaf div input.eaf_submit_btn {
  width: auto;
  float: right;
}
form#ec-components-eaf div textarea {
  width: 445px;
}
form#ec-components-eaf div#edit-ec-email-a-friend-from-name-wrapper, form#ec-components-eaf div#edit-ec-email-a-friend-from-email-wrapper, form#ec-components-eaf div#edit-ec-email-a-friend-to-name-wrapper, form#ec-components-eaf div#edit-ec-email-a-friend-to-email-wrapper {
  position: relative;
}

form#ec-components-eaf div.form-error em {
  color: #ff0000;
  font-style: normal;
  font-size: 1.1em;
  margin-left: 190px;
}

/* Email a friend - JavaScript version */
.ec-email-a-friend form#ec-components-eaf {
  background-color: #f2f2f2;
  padding: 10px;
}
.ec-email-a-friend form#ec-components-eaf div.eaf-close{
  background: transparent url(/sites/all/themes/econfinal/images/icons/close-icon.gif) no-repeat left top;
  cursor: pointer;
  float: right;
  height: 15px;
  width: 49px;
}
.eaf-compact form#ec-components-eaf div.form-error, .eaf-expanded form#ec-components-eaf div.form-error {
  position: absolute;
  padding-left: 10px;
  background: transparent url(/sites/all/themes/econfinal/images/icons/red_arrow.gif) no-repeat 0 50%;
}
.eaf-compact form#ec-components-eaf div.form-error em, .eaf-expanded form#ec-components-eaf div.form-error em{
  width: 120px;
  height: 22px;
  padding: 2px 5px 4px;
  color: #ffffff;
  line-height: 1.1;
  background-color: #ff0000;
  display: block;
  margin-left:0;
  font-weight: bold;
  font-size: 1.1rem;
}
.ec-email-a-friend form#ec-components-eaf fieldset div.eaf-warning {
  float: left;
  width: 200px;
  line-height: 1;
  padding-left: 22px;
  background: transparent url(/sites/all/themes/econfinal/images/icons/icon-error.gif) no-repeat 0 50%;
}
.ec-email-a-friend form#ec-components-eaf fieldset div.eaf-warning em{
  color: #ff0000;
  font-style: normal;
  font-size: 1.2rem;
}

/* Email a friend compact - javascript version */
.eaf-compact form, .eaf-compact p.eaf-thanks {
  border: 3px solid #E0E0E0;
  position: absolute;
  width: 296px;
  left: -325px;
  top: 0;
  z-index: 999999999;
}
.ec-email-a-friend p.eaf-thanks {
  background-color: #F2F2F2;
  padding: 40px 10px;
  font-size: 1.2em;
  color: green;
}
.eaf-compact fieldset {
  width: 300px;
}
.eaf-compact div.eaf-close {
  margin-top: -5px;
  margin-right: -5px;
}
.eaf-compact form#ec-components-eaf p {
  font-size: 1.3rem;
  margin-bottom: 10px;
  line-height: 19px;
}
.eaf-compact form#ec-components-eaf div label {
  width:120px;
}
.eaf-compact form#ec-components-eaf div input {
  width:170px;
}
.eaf-compact form#ec-components-eaf div input.eaf_submit_btn {
  width: auto;
  float: right;
  margin-right:2px;
}
.eaf-compact form#ec-components-eaf div textarea {
  width: 290px;
}
.eaf-compact form#ec-components-eaf div.form-error {
  left: 297px;
  top: -5px;
}
