/* remove this later (cache) */

div.tool-items [class^="icon-"],
div.tool-items [class*=" icon-"] {
    margin-top: 9px !important;
}
[class^="icon-"],
[class*=" icon-"] {
  margin-top: 0 !important;
}

div.firstunread {
  text-align: right;
}

div.firstunread a, div.firstunread a:visited {
  font: 1.2em 'Futura', sans-serif;
  color: #E1E1E1;
}

div.firstunread a:hover, div.firstunread a:visited:hover {
  color: #FFF;
  text-decoration: none;
}

svg.firstunread {
  shape-rendering: geometricPrecision;
  text-rendering: geometricPrecision;
  image-rendering: optimizeQuality;
  fill-rule: evenodd;
  clip-rule: evenodd; 
}

.threadtool_item {
  margin-bottom: 4px;
}

.threadsearch {
  width: 180px;
  height: 30px;

  margin-right: 5px;
  padding: 4px 6px;
  border: 0;
  
  color: #585858;
  font: 1.15em 'Futura', sans-serif;

  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;
}

.post {
  clear: both;
  margin-bottom: 45px;
}

.postheader .right {
  margin: 0 5px;
}

/* Override old small spinner to match size and placement of SVG post icons */
/* Might make sense to change the original definition, but I'm not sure and don't want to track it down elsewhere yet */
.spinner {
  top: 1px;
  right: -1px;
  height: 10px;
  width: 10px;
}

.favs svg g, .userlists svg, .posticon svg {
  fill: #FFF;
}

.posticon_thumb:hover svg g {
  fill: #33a833;
}

.post_tools:hover svg {
  fill: #979797;
}

.favs:hover svg g {
  fill: #f1c40f;
}

.userlists:hover svg, .posticon_reply:hover svg {
  fill: #a79167;
}

.posticon_reply {
  position: absolute;
  top: 4px;
  right: 25px;
  width: 18px;
}

.posticon_thumb {
  position: absolute;
  top: 5px;
  right: 58px;
  width: 16px;
}

.posticons_hover {
  white-space: nowrap;
}

.posticons_hover a {
  margin-left: 24px;
}

.posticons_hover svg {
  position: absolute;
  left: 6px;
}

.postinfo {
  padding: 8px 0 8px 0;
  color: #FFF;

  background: #666;
  height: 14px;
  overflow: hidden;
  border: 0px solid red;

  background: #FFF;
  color: #222;
  border: 0;
}

.tipsy-inner .usersmall_div a {
  margin-left: 18px;
}

.postpreview {
  background: #FFF;
  color: #111;
  border: 1px solid #000;

  font-size: 1.1em;
  line-height: 140%;

  box-shadow:         3px 3px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    3px 3px 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}

.thumb img {
  border: 1px solid #777;
}

.postcontent {
  clear: right;
  padding: 8px;

  background: #FFF;
  margin-left: 155px;
  border: 1px solid #000;

  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;

  box-shadow:         3px 3px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    3px 3px 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.5);
}

.postcontent {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #000000;
}

.postcontent:after, .postcontent:before {
  right: 100%;
  border: solid transparent;
  content: " ";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.postcontent:after {
  border-color: rgba(255, 255, 255, 0);
  border-right-color: #FFFFFF;
  border-width: 12px;
  top: 0;
  margin-top: 17px;
}

.postcontent:before {
  border-color: rgba(0, 0, 0, 0);
  border-right-color: #000000;
  border-width: 13px;
  top: 0;
  margin-top: 18px;
}

.postreview {
  border: 8px solid #c05737;
  border-width: 0 8px;
}

.postreview:before {
  border-right-color: transparent;
}

.postreview:after {
  border-right-color: #c05737;;
}

.postreview:after, .postreview:before {
  left: -32px;
}

.posttext img, .posttext iframe, .posttext object, .posttext embed, .posttext table, .posttext .quote,
.postpreview img, .postpreview iframe, .postpreview object, .postpreview embed, .postpreview table, .postpreview .quote{
  max-width: 100%;
}

.postdate {
  float: right;
  margin-right: 46px;
  font-size: 0.8em;
  color: #999;
}

.postdate a, .postdate a:visited {
  color: #999;
  text-decoration: none;
}

.postdate a:hover, .postdate a:visited:hover {
  text-decoration: underline;
  color: #585858;
}

.posttext {
  min-height: 90px;
  line-height: 140%;
  padding: 20px 40px 5px 25px;
  font-size: 1.1em;
  font-weight: normal;
  color: #222;
  word-wrap: break-word;
}

fieldset.attachments {
  background: #E9E9E9;
}

fieldset.attachments legend {
  background: #bbb793;
  color: #FFF;
  padding: 4px 12px;
  text-shadow: 1px 1px 2px #5b4d31;
}

.fieldset.attachments img {
  border: 1px solid #bbb793;
}

.fieldset.attachments img:hover {
  border: 1px solid #b20511;
}

.userinfo {
  width: 130px;
  height: 100%;
  min-height: 126px;
  position: relative;
}

.icon-star:hover, .icon-list:hover, .postheader .right .icon-white:hover  {
  background-image: url(/js/images/glyphicons-halflings-color.png);
}

.multiquote_on {
  color: #FFFFC0 !important;;
}

.usertitle {
  font-size: 0.8em;
  color: #E9E9E9;
  text-shadow: 2px 2px 2px #111;
  padding-right: 0px;
}

.icon-white {
  margin: 0;
}

.lightshadow {
  box-shadow:         2px 2px 3px rgba(0, 0, 0, 0.5);
  -moz-box-shadow:    2px 2px 3px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.5);
}

.small {
  font-size: 0.8em;
}

.date {
  font-size: 0.8em;
  color: #E9E9E9;
  color: #999;
}

.postcontent .icon {
  margin: 0 6px 0 0;
}

.avatar {
  margin: 5px 0 10px 0;
}

.avatar a {
  display: inline-block;
  background: #000;
  padding: 0;
  border: 1px solid transparent;
}

.avatar a img {
  display: block;
    -webkit-transition: all 0.2s linear;
       -moz-transition: all 0.2s linear;
        -ms-transition: all 0.2s linear;
         -o-transition: all 0.2s linear;
            transition: all 0.2s linear;
}

.avatar a img:hover {
  opacity:        0.6;
  -moz-opacity:   0.6;
  -khtml-opacity: 0.6;
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
  filter: alpha(opacity=60);
}

.thumb {
  position: relative;
  float: left;
  width: 91px;
  height: 89px;
  border: 1px solid #000;
  background: #000;
  margin-bottom: 8px;

  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;
}

.thumb img {
  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;
}

.noavatar, .noavatar a img {
  border: 0;
  background: none;

  box-shadow:         none;
  -moz-box-shadow:    none;
  -webkit-box-shadow: none;
}

.noavatar .userlinks {
  border: 1px solid #777;
}

.userlinks {
  display: none;
  position: absolute;
  top: 1px;
  left: 0;
  bottom: 0;
  width: 91px;
  height: 89px;
  margin-left: 1px;
  background: #000;
  background: rgba(0, 0, 0, 0.65);

  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;
}

.userlinks div.padded {
  padding: 3px 0 0 8px;
  padding: 0;
  position: absolute;
  top: 10px;
  left: 4px;
}

.thumb:hover .userlinks {
  display: block;
  cursor: pointer;
}

.userlinks a, .userlinks a:visited {
  display: block;
  margin-bottom: 4px;
  font-size: 0.9em;
  color: #FFF;
  text-decoration: none;
  text-shadow: 2px 2px 2px #111;
}

.userlinks a:hover, .userlinks a:visited:hover {
  color: #CCC;
  color: #FFFFC0;
  text-decoration: underline;
}

.tipsy-inner a, .tipsy-inner a:visited {
  font-size: 0.9em;
  line-height: 1.6;
  color: #E1E1E1;
  text-decoration: underline;

  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}

.tipsy-inner a:hover, .tipsy-inner a:visited:hover {
  color: #CCC;
  color: #FFFFC0;
}

ol {
  margin: 0;
  padding: 0 0 0 24px;
}

ol li a {
  margin-left: 6px;
}

a.closetip, a.closetip:visited {
  /*position: absolute;*/
  /*top: 15px;*/
  /*right: 15px;*/
  float: right;

  border: 1px solid #777;
  text-decoration: none;
  padding: 3px 8px 3px 8px;
  font-size: 1em;
  font-weight: bold;

  border-radius:         7px;
  -moz-border-radius:    7px;
  -webkit-border-radius: 7px;

  -webkit-transition: none;
     -moz-transition: none;
      -ms-transition: none;
       -o-transition: none;
          transition: none;
}

a.closetip:hover, a.closetip:visited:hover {
  background-color: #DDD;
  color: #000;
}

.tipsy-inner a {
  display: block;
  font-size: 0.8em;
}

a.username, a.username:visited, a.username:hover, a.username:visited:hover {
  font: 16pt 'Futura';
  color: #FFF;
  text-shadow: 2px 2px 2px #111;
  text-decoration: none;
}

a.username:hover, a.username:visited:hover {
  color: #FFFFC0;
  text-decoration: underline;
}

a.username:first-letter, a.username:first-letter:visited, a.username span {
  color: #BBB793;
}

.post .postheader {
  margin-bottom: 15px;
}

.icon-star, .icon-list {
  font-size: 0.9em;
  color: #FFF;
}

.icon-star:hover {
  color: #FEAD01;
}

.icon-list:hover {
  color: #A79167;
}

.icon-thumbs-up:hover {
  color: green;
}

.icon-cog:hover {
  color: #777;
}

.postheader .left {
  padding-top: 5px;
}

.postheader .left .date {
  padding-left: 15px;
  text-shadow: 1px 1px 1px #111;
}

.postheader .right {
  padding-top: 7px;
}

.postheader .right a, .postheader .right a:visited {
  font-size: 0.9em;
  color: #FFF;
}

a.rep:active {
  position: relative;
  top: 1px;
}

a.fancybox_rep, a.fancybox_rep:visited {
  color: #FFF;
  text-decoration: none;
}

a.fancybox_rep:hover, a.fancybox_rep:visited:hover {
  color: #FFFFC0;
  text-decoration: underline;
}

.padded a .icon-white {
  margin: 2px 6px 3px 4px;
  /*margin-top: 2px !important;*/
}

div.contentheader {
  padding: 8px;
  color: #FFF;
}

div.contentheaderbg {
  position: relative;
  background: #4C390C;
  height: 21px;
  border: 1px solid #BBB;
  margin-top: 45px;

  border-radius:         7px 7px 0 0;
  -moz-border-radius:    7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;

  background-color: #6c250c;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#361006), to(#872b0f));
  background: -webkit-linear-gradient(top, #872b0f, #361006);
  background: -webkit-linear-gradient(top, #872b0f, #361006);
  background: -moz-linear-gradient(top, #872b0f, #361006);
  background: -ms-linear-gradient(top, #872b0f, #361006);
  background: -o-linear-gradient(top, #872b0f, #361006);
}

div.contentheader {
  position: relative;
  top: -10px;

  box-shadow:         2px 0 2px #111, -2px 0 2px #111;
  -moz-box-shadow:    2px 0 2px #111, -2px 0 2px #111;
  -webkit-box-shadow: 2px 0 2px #111, -2px 0 2px #111;

  margin: 0 17px;

  background: #755813;
  border: 1px solid #BBB;
  height: 30px;

  border-radius:         7px 7px 0 0;
  -moz-border-radius:    7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;

  background-color: #000;
  background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#000), to(#333));
  background: -webkit-linear-gradient(top, #333, #000);
  background: -webkit-linear-gradient(top, #333, #000);
  background: -moz-linear-gradient(top, #333, #000);
  background: -ms-linear-gradient(top, #333, #000);
  background: -o-linear-gradient(top, #333, #000);
}

div.contentheader > div {
  display: block;
  position: absolute;
  overflow: hidden;

  top: -10px;
  left: 19px;
  right: 19px;
  height: 38px;

  box-shadow:         2px 0 2px #111, -2px 0 2px #111;
  -moz-box-shadow:    2px 0 2px #111, -2px 0 2px #111;
  -webkit-box-shadow: 2px 0 2px #111, -2px 0 2px #111;

  font-size: 18px;
  border: 1px solid #BBB;

  margin: 0;
  color: #FFF;
  text-shadow: 1px 1px 2px #5B4D31;

  border-radius:         7px 7px 0 0;
  -moz-border-radius:    7px 7px 0 0;
  -webkit-border-radius: 7px 7px 0 0;

  background-color: #998457;
  background: -webkit-gradient(radial, center center, 0, center center, 460, from(#D2CEC5), to(#998457));
  background: -webkit-radial-gradient(circle, #D2CEC5, #998457);
  background: -moz-radial-gradient(circle, #D2CEC5, #998457);
  background: -ms-radial-gradient(circle, #D2CEC5, #998457);
}

.contentheadertext {
  padding-top: 0px;
  font: 1.5em 'Futura';
}

.contentheadertext_poll {
  padding-top: 4px;
  font-size: 1.2em;
}