/* Cancel button changes from container.css */

body .button-group button {
  -x-system-font: inherit;
  background-color: inherit;
  border-color: inherit;
  border-style: inherit;
  border-width: inherit;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-size-adjust: inherit;
  font-stretch: inherit;
  font-style: inherit;
  font-variant: inherit;
  font-weight: inherit;
  line-height: inherit;
  margin: inherit;
  padding: inherit;
  text-decoration: inherit;
  vertical-align: inherit;
}

body .button-group button:active, 
body .button-group button:hover, 
body .button-group button.hover {
  border: inherit;
  background-color: inherit;
  border-top-color: inherit;
  border-left-color: inherit;
}



/* Content Creation Buttons */

div#p_reader_contentButtons {
  position: absolute;
  right: 160px;
  bottom: 2px;
}

div#p_reader_contentButtons span.yui-button {
  background: transparent;
  border: 0;
  margin: 0;
}

div#p_reader_contentButtons span.yui-button span.first-child {
  background: transparent;
  border: 0;
  margin: 0;
}

div.p_threadedPostsView_createContentControls {
  margin: 0 10px;
}

div.p_threadedPostsView_createContentControls_right {
  float: right;
  width: 400px;
  text-align: right;
}

span#p_threadedPostsView_replyButton1,
span#p_threadedPostsView_replyButton2,
span#p_threadedPostsView_newSubtopicButton1,
span#p_threadedPostsView_newSubtopicButton2,
span#p_threadedPostsView_newTopicButton1,
span#p_threadedPostsView_newTopicButton2 {
  background: transparent;
  border: 0;
  margin: 0;
}

span#p_threadedPostsView_replyButton1 span.first-child,
span#p_threadedPostsView_replyButton2 span.first-child,
span#p_threadedPostsView_newSubtopicButton1 span.first-child,
span#p_threadedPostsView_newSubtopicButton2 span.first-child,
span#p_threadedPostsView_newTopicButton1 span.first-child,
span#p_threadedPostsView_newTopicButton2 span.first-child {
  background: transparent;
  border: 0;
  margin: 0;
}

/*span#pandalous_reader_replyButton button,*/
span#p_threadedPostsView_replyButton1 button,
span#p_threadedPostsView_replyButton2 button {
  height: 70px;
  width: 134px;
  padding: 0;
  line-height: 0;
}

span#p_threadedPostsView_newSubtopicButton1 button,
span#p_threadedPostsView_newSubtopicButton2 button {
  height: 70px;
  width: 110px;
  padding: 0;
  line-height: 0;
}

span#p_threadedPostsView_newTopicButton1 button,
span#p_threadedPostsView_newTopicButton2 button {
  height: 70px;
  width: 95px;
  padding: 0;
  line-height: 0;
}

/*
span#pandalous_reader_replyButton.yui-button-hover button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -135px 0;
}

span#pandalous_reader_replyButton.yui-button-disabled button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -270px 0;
}
*/

span#p_threadedPostsView_replyButton1 button,
span#p_threadedPostsView_replyButton2 button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll 0 0;
}

span#p_threadedPostsView_replyButton1.yui-button-hover button,
span#p_threadedPostsView_replyButton2.yui-button-hover button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -134px 0;
}

span#p_threadedPostsView_replyButton1.yui-button-disabled button,
span#p_threadedPostsView_replyButton2.yui-button-disabled button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -268px 0;
}

span#p_threadedPostsView_newSubtopicButton1 button,
span#p_threadedPostsView_newSubtopicButton2 button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll 0 -210px;
}

span#p_threadedPostsView_newSubtopicButton1.yui-button-hover button,
span#p_threadedPostsView_newSubtopicButton2.yui-button-hover button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -110px -210px;
}

span#p_threadedPostsView_newSubtopicButton1.yui-button-disabled button,
span#p_threadedPostsView_newSubtopicButton2.yui-button-disabled button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -220px -210px;
}

span#p_threadedPostsView_newTopicButton1 button,
span#p_threadedPostsView_newTopicButton2 button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll 0 -140px;
}

span#p_threadedPostsView_newTopicButton1.yui-button-hover button,
span#p_threadedPostsView_newTopicButton2.yui-button-hover button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -95px -140px;
}

span#p_threadedPostsView_newTopicButton1.yui-button-disabled button,
span#p_threadedPostsView_newTopicButton2.yui-button-disabled button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -190px -140px;
}

span#pandalous_reader_newTopicButton button {
  height: 70px;
  width: 134px;
  padding: 0;
  line-height: 0;
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll 0 -70px;
}

span#pandalous_reader_newTopicButton.yui-button-hover button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -134px -70px;
}

span#pandalous_reader_newTopicButton.yui-button-disabled button {
  background: transparent url(/images/buttons_createContent_22.png) no-repeat scroll -268px -70px;
}








div#p_composer_toolbar span.yui-button
{
  font-size: .8em;
  height: 20px;
  margin: 0;
  padding: 0;
}

div#p_composer_toolbar button
{
  height: 20px;
  line-height: 12px;
  min-height: 20px;
}

/* Reader toolbar */

div#p_reader_toolbar {
  width: 90px;
}

div#p_reader_toolbar span.yui-button {
  font-size: 12px;
  height: 20px;
  line-height: 12px;
}

div#p_reader_toolbar span.yui-button .first-child {
  vertical-align: top;
  height: ;
}

div#p_reader_toolbar span.yui-button button {
  -moz-box-sizing: content-box;
  -ms-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  -moz-outline-style: none !important;
  box-sizing: content-box;
  outline: none !important;
  /*min-height: 19px;*/
  width: 78px;
  font-size: 13px;
  line-height: 20px;
  /*height: 19px;*/
  padding: 0 5px 0 5px;
  margin: 0;
  min-height: inherit;
  /*line-height: 12px;*/
  /*padding: 4px 5px 4px 5px;  /* 2px=a compromise, should be 4px with height 12 or 0 with height 20 */
  vertical-align: middle;
  white-space: nowrap;
}

div#p_reader_toolbar span.yui-button button:active {
  -moz-outline-style: none !important;
  outline: none !important;
}

div#p_reader_toolbar span.yui-button button:focus {
  -moz-outline-style: none !important;
  outline: none !important;
}

div.p_verticalButtonBar {
  
}

div.p_verticalButtonBar_buttonGroup {
  /*border-right: solid 2px #e6e6e6; aaa */
  /*border-bottom: solid 2px #e6e6e6; aaa */
  /*border-left: solid 2px #e6e6e6;*/
}

div.p_verticalButtonBar_buttonGroupSeparator {
  height: 20px;
}

div.p_verticalButtonBar span.yui-button
{
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  border: 0 none;
  /*border-top: solid 2px #e6e6e6;  aaa*/
  border-left: none;
  border-bottom: none;
  border-right: none;
}

div.p_verticalButtonBar span.yui-button span.first-child
{
  display: block;
  position: relative;
  border: none;
  margin: 0;
  padding: 0;
}

div.p_verticalButtonBar span.yui-button button {
  display: block;
  position: relative;
  margin: 0;
  border: none;
  cursor: pointer;
  color: #2a1fd3;
  /*background-color: transparent;*/
}

/*
div.p_verticalButtonBar span.yui-checkbox-button button,
div.p_verticalButtonBar span.yui-radio-button button {
  color: #1d62fe;
}
*/

div.p_verticalButtonBar_buttonGroup_purple span.yui-button button {
}

div.p_verticalButtonBar_buttonGroup_blue span.yui-button button {
  color: #1d62fe;
}

/* Particular Buttons */

#pandalous_reader_replyButton button {
  font-weight: bold;
}

#p_readerActions_linkButton {
  background-image: url(/images/button_sprite_22.png);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 6px 0;
}

#p_readerActions_linkButton.yui-button-disabled {
  background-position: 6px -20px;
}

/*
#p_readerActions_mailButton {
  background-image: url(/images/button_sprite_22.png);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-position: 6px -40px;
}
*/

#p_readerActions_mailButton.yui-button-disabled {
  background-position: 6px -60px;
}

/* OBSOLETE: Reader toolbar */

div#p_reader_toolbar_old {
  float: right;
  /*height: 20px;*/
  line-height: 10px;
  margin: 0 10px 0 10px;
  padding: 0;
}

div#p_reader_toolbar_old span.yui-button {
  font-size: 12px;
  height: 20px;
  line-height: 12px;
}

div#p_reader_toolbar_old span.yui-button button {
  color: #000000;
  font-size: 12px;
  height: 20px;
  line-height: 12px;
  min-height: 20px;
  padding: 2px 5px 2px 5px;  /* 2px=a compromise, should be 4px with height 12 or 0 with height 20 */
  vertical-align: middle;
}

div#p_reader_toolbar_old span.yui-button-disabled button {
  color: #a6a6a6;
}

div#p_reader_toolbar_old span.yui-checkbox-button-checked button,
div#p_reader_toolbar_old span.yui-radio-button-checked button {
  color: #ffffff;
}

/* Post actions bar */

div.p_post_actionsBar_controls {
  position: relative;
  /*height: 20px;*/
  line-height: 10px;
  /*visibility: hidden;*/
  margin: 0;
  padding: 0;
}

div.p_post_actionsBar span.yui-button {
  font-size: 12px;
  height: 20px;
  line-height: 12px;
}

div.p_post_actionsBar span.yui-button button {
  color: #000000;
  font-size: 12px;
  height: 20px;
  line-height: 12px;
  min-height: 20px;
  padding: 2px 5px 2px 5px;  /* 2px=a compromise, should be 4px with height 12 or 0 with height 20 */
  vertical-align: middle;
}

div.p_post_actionsBar span.yui-button-disabled button {
  color: #a6a6a6;
}

div.p_post_actionsBar span.yui-checkbox-button-checked button,
div.p_post_actionsBar span.yui-radio-button-checked button {
  color: #ffffff;
}

div.p_post_actionsBar span.p_post_actionsBar_leftSpacer .first-child {
  border-left: solid 1px #bbbbbb;
  width: 60px;
}

/* Button bars */

div.p_buttonBar {
  /*
  border-bottom: solid 1px #bbbbbb;
  border-top: solid 1px #bbbbbb;
  */
  position: relative;
}

div.p_buttonBar span.yui-button
{
  border-color: #aaaaaa;
  border-style: solid;
  border-width: 0; /*1px 0;*/
  margin: 0;
  padding: 0;
  position: relative;
}

div.p_buttonBar span.yui-button span.first-child
{
  border-color: #aaaaaa;
  border-style: solid;
  border-width: 0 1px; /*0 1px;*/
  display: block;
  margin: 0 -1px;
  padding: 0;
  position: relative;
}

div.p_buttonBar span.yui-button button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0;
  position: relative;
}

/* Use? */
/*
divp_toolbar span.yui-button .first-child {
  margin-left: -1px;
}
*/

div.p_buttonBar_content {
  border-left: solid 1px #bbbbbb;
  /*border-right: solid 1px #bbbbbb;*/
  margin: 0 -1px 0 -1px;
}

div.p_buttonBar_row {
  /* background: transparent url(/yui/assets/skins/sam/sprite_22.png) repeat-x scroll 0 0; */
  /*background: transparent url(/images/buttons_22.png) repeat-x scroll 0 0;*/
  border-bottom: solid 1px #bbbbbb;
  margin: 0;
  padding: 0;
}

div.p_buttonBar_row_last {
  /* background: transparent url(/yui/assets/skins/sam/sprite_22.png) repeat-x scroll 0 0; */
  /*background: transparent url(/images/buttons_22.png) repeat-x scroll 0 0;*/
  margin: 0;
  padding: 0;
}

/* Button bars: Button backgrounds and text color */

.yui-skin-sam div.p_buttonBar .yui-button {
  background: transparent url(/images/buttons_22.png) repeat-x scroll 0 0;
  vertical-align: bottom;
}

.yui-skin-sam div.p_buttonBar .yui-button-disabled {
  /*background: transparent url(/yui/assets/skins/sam/sprite_22.png) repeat-x scroll 0 -1500px;*/
  background: transparent url(/images/buttons_22.png) repeat-x scroll 0 -30px;
}

.yui-skin-sam div.p_buttonBar .yui-button-hover {
  background: transparent url(/yui/assets/skins/sam/sprite_22.png) repeat-x scroll 0 -1300px;
  /*background: transparent url(/images/buttons_22.png) repeat-x scroll 0 -100px;*/
}

.yui-skin-sam div.p_buttonBar .yui-checkbox-button-checked,
.yui-skin-sam div.p_buttonBar .yui-radio-button-checked {
  background: transparent url(/yui/assets/skins/sam/sprite_22.png) repeat-x scroll 0 -1400px;
  /*background: transparent url(/images/buttons_22.png) repeat-x scroll 0 -150px;*/
}

/* Vertical button bars: Button backgrounds and text color */

.yui-skin-sam div.p_verticalButtonBar .yui-button {
  background-color: #ffffff;
  background-image: none;
}

.yui-skin-sam div.p_verticalButtonBar .yui-button-disabled {
  background-color: #ffffff;
  background-image: none;
  color: #a6a6a6;
}

.yui-skin-sam div.p_verticalButtonBar .yui-button-disabled button {
  color: #a6a6a6;
}

.yui-skin-sam div.p_verticalButtonBar .yui-button-hover {
  background-color: #f8931f;
  background-image: none;
  color: #ffffff;
}

.yui-skin-sam div.p_verticalButtonBar .yui-checkbox-button-checked,
.yui-skin-sam div.p_verticalButtonBar .yui-radio-button-checked {
  background-color: #f8931f;
  background-image: none;
  color: #ffffff;
}

.yui-skin-sam div.p_verticalButtonBar .yui-checkbox-button-checked button,
.yui-skin-sam div.p_verticalButtonBar .yui-radio-button-checked button {
  color: #ffffff;
}

/* Feedback links area */

div.p_post_actionsBar span.p_post_actionsBar_feedbackButton a.p_post_actionsBar_feedbackLink {
  /*display:-moz-inline-stack;
  display:inline-block;
  zoom:1;
  *display:inline;*/
  display: inline;
  height: 20px;
  font-size: 12px;
  line-height: 12px;
  min-height: 20px;  /* must override skin.css, otherwise unnecessary */

  padding: 0 0;
  vertical-align: bottom;
  /*width: 41px;*/
}

div.p_post_actionsBar span.p_post_actionsBar_feedbackButton a.p_post_actionsBar_feedbackLink span {
  display:-moz-inline-stack;
  display:inline-block;
  zoom:1;
  *display:inline;

  /*background-position: center center;*/
  background-repeat: no-repeat;
  background-image: url(/images/feedback_22.png);
  background-color: transparent;
  background-attachment: scroll;
  /*border-right: solid 1px #bbbbbb;*/
  height: 20px;
  margin: 0;
  padding: 0;
  position: relative;
  top: 0;
  vertical-align: bottom;
  width: 25px;
}

div.p_post_actionsBar span.post_actionsBar_feedbackSpacer {
  display:-moz-inline-stack;
  display:inline-block;
  zoom:1;
  *display:inline;

  height: 20px;
  position: relative;
  width: 10px;  /* default, overridden sometimes by element style */
  vertical-align: bottom;
}

/* Individual feedback links */

span.p_post_actionsBar_feedbackLink_2 {
  background-position: 0 -20px;
}

span.p_post_actionsBar_feedbackLink_1 {
  background-position: -25px -20px;
}

span.p_post_actionsBar_feedbackLink_0 {
  background-position: -50px -20px;
}

span.p_post_actionsBar_feedbackLink_-1 {
  background-position: -75px -20px;
}

span.p_post_actionsBar_feedbackLink_-2 {
  background-position: -100px -20px;
}

span.p_post_actionsBar_feedbackLink_spam {
  background-position: -125px -20px;
}

span.p_post_actionsBar_feedbackLink_inappropriate {
  background-position: -150px -20px;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_2,
span.p_post_actionsBar_feedbackLink_2_chosen {
  background-position: 0 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_1,
span.p_post_actionsBar_feedbackLink_1_chosen {
  background-position: -25px 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_0,
span.p_post_actionsBar_feedbackLink_0_chosen {
  background-position: -50px 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_-1,
span.p_post_actionsBar_feedbackLink_-1_chosen {
  background-position: -75px 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_-2,
span.p_post_actionsBar_feedbackLink_-2_chosen {
  background-position: -100px 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_spam,
span.p_post_actionsBar_feedbackLink_spam_chosen {
  background-position: -125px 0;
}

a.p_post_actionsBar_feedbackLink:hover span.p_post_actionsBar_feedbackLink_inappropriate,
span.p_post_actionsBar_feedbackLink_inappropriate_chosen {
  background-position: -150px 0;
}