// Place all the styles related to the home controller here.
// They will automatically be included in application.css.
// You can use Sass (SCSS) here: http://sass-lang.com/
$highlightedColor: #f1e193;
$mainColor: #ce2828;

body  { font-family:Verdana, Geneva, sans-serif; font-size:12pt; color:#828282; }
td    { font-family:Verdana, Geneva, sans-serif; font-size:12pt; color:#828282; }

.admin td   { font-family:Verdana, Geneva, sans-serif; font-size:10.5pt; color:#000000; }
.subtext td { font-family:Verdana, Geneva, sans-serif; font-size:  9pt; color:#828282; }

input    { font-family:monospace; font-size:10pt; color:#000000; }
input[type=\"submit\"] { font-family:Verdana, Geneva, sans-serif; }
textarea { font-family:monospace; font-size:10pt; color:#000000; }



.post-text-td{
      border: 1px solid #888888;
    border-radius: 5px;
    padding: 7px;
    background-color: #fff;
}

.submitted-asterik{
  text-align: center;
  padding-right:3px;
  color:#ce2828;
}

.header-footer-td a:visited.tab-selected{
  color:$highlightedColor;
}

a:visited.tab-selected{
  color:$highlightedColor;
}

a.tab-selected{
  color:$highlightedColor;
}

.reply{
  font-size: 12pt;
}

a:visited.hnuser,a.hnuser{ 
  color: $mainColor !important;
}



// a.hnuser:visited,a.hnuser{ 
//   color: $mainColor;
// }
// }


.logo-td{
  width: 20px;padding-right: 0px;border-radius:20px;padding-bottom: 0px;padding-right: 12px;
}

.logo-img{
  background-color:#fffff;width:18px;height:18px;
}

.logo-link {
  color:#ffffff;
  letter-spacing: 1px;
}

.morelink

a:link    { color:#000000; text-decoration:none; }
a{ color:#000000; text-decoration:none; }

a:visited { color:#828282; text-decoration:none; }

.header-footer-td{
a:link    { color:#ffffff; text-decoration:none; letter-spacing: .5px }
.pagetop { font-family:Avenir, Verdana, Geneva, sans-serif; font-size: 14pt; color:#ffffff; }
a:visited { color:#828282; text-decoration:none; }

}
.expand-comment,.collapse-comment,.share-facebook,.share-twitter,.remove-comment,.flag-post,.hide-post,.favorite-post,.unflag-post,.unfavorite-post,.upvote-post,.unupvote-post,.remove-post, .votearrow, .unvote-comment{
  cursor: pointer;
}

.collapse-comment{
  font-size:10pt;
}

.expand-comment{
  display: none;
}

.about-td{
  padding:0px 10px;
}

.default { font-family:Verdana, Geneva, sans-serif; font-size: 12pt; color:#828282; }
.admin   { font-family:Verdana, Geneva, sans-serif; font-size:10.5pt; color:#000000; }
.title   { font-family:Verdana, Geneva, sans-serif; font-size: 12pt; color:#828282; }
.subtext { font-family:Verdana, Geneva, sans-serif; font-size:  11.5pt; color:#828282; 
font-size:  11.5pt;         
    padding: 5px;    
    padding-left: 0px;}
.yclinks {
  a{
    color:#000000;  
  }
 font-family:Verdana, Geneva, sans-serif; font-size:  10pt; color:#000000; 
}
.pagetop { font-family:Verdana, Geneva, sans-serif; font-size: 12pt; color:#222222; }
.comhead { font-family:Verdana, Geneva, sans-serif; font-size:  10pt; color:#828282; }
.comment { font-family:Verdana, Geneva, sans-serif; 
  
}
.hnname  { margin-right: 5px; }

.comment a:link, .comment a:visited { text-decoration: underline; }
.noshow { display: none; }
.nosee { visibility: hidden; pointer-events: none; cursor: default }

.c00, .c00 a:link { color:#000000; }
.c5a, .c5a a:link, .c5a a:visited { color:#5a5a5a; }
.c73, .c73 a:link, .c73 a:visited { color:#737373; }
.c82, .c82 a:link, .c82 a:visited { color:#828282; }
.c88, .c88 a:link, .c88 a:visited { color:#888888; }
.c9c, .c9c a:link, .c9c a:visited { color:#9c9c9c; }
.cae, .cae a:link, .cae a:visited { color:#aeaeae; }
.cbe, .cbe a:link, .cbe a:visited { color:#bebebe; }
.cce, .cce a:link, .cce a:visited { color:#cecece; }
.cdd, .cdd a:link, .cdd a:visited { color:#dddddd; }

.pagetop a:visited { color:#ffffff;}
.topsel a:link, .topsel a:visited { color:#ffffff; }

.subtext a:link, .subtext a:visited { color:#828282; }
.subtext a:hover { text-decoration:underline; }

.comhead a:link, .subtext a:visited { color:#828282; }
.comhead a:hover { text-decoration:underline; }

.default p { margin-top: 8px; margin-bottom: 0px; }

.pagebreak {page-break-before:always}

pre { overflow: auto; padding: 2px; max-width:600px; }
pre:hover {overflow:auto}

.votearrow {
  width:      15px;
  height:     15px;
  border:     0px;
  margin:     3px 2px 6px;
  background-image: asset-data-url("up-arrow.png");
}

@media only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min-device-pixel-ratio: 2) {
  .votearrow { 
    background-size: 10px; 
    // background-image: asset-data-url("grayarrow2x.gif");    
  }
}

.rotate180 {
  -webkit-transform: rotate(180deg);  /* Chrome and other webkit browsers */
  -moz-transform:    rotate(180deg);  /* FF */
  -o-transform:      rotate(180deg);  /* Opera */
  -ms-transform:     rotate(180deg);  /* IE9 */
  transform:         rotate(180deg);  /* W3C complaint browsers */

  /* IE8 and below */
  filter: progid:DXImageTransform.Microsoft.Matrix(M11=-1, M12=0, M21=0, M22=-1, DX=0, DY=0, SizingMethod='auto expand');
}

/* mobile device */
@media only screen
and (min-width : 300px)
and (max-width : 750px) {
  #hnmain { width: 100%; }
  body { padding: 0; margin: 0; width: 100%; -webkit-text-size-adjust: none; }
  td { height: inherit !important; }
  .title, .comment { font-size: inherit;  }
  span.pagetop { display: block; margin: 3px 5px; font-size: 12px; }
  span.pagetop b { display: block; font-size: 17px; }
  table.comment-tree pre, table.comment-tree code { max-width: 300px; overflow: auto; }
  table.comment-tree span.comment a { display: inline-block; max-width: 200px; overflow: hidden; white-space: nowrap;
    text-overflow: ellipsis; vertical-align:top; }  
  .title { font-size: 11pt; line-height: 14pt;  }
  .subtext { font-size: 9pt; }
  .itemlist { padding-right: 5px;}
  .votearrow { transform: scale(1.3,1.3); margin-right: 6px; }
  .votearrow.rotate180 {
    -webkit-transform: rotate(180deg) scale(1.3,1.3);  /* Chrome and other webkit browsers */
    -moz-transform:    rotate(180deg) scale(1.3,1.3);  /* FF */
    -o-transform:      rotate(180deg) scale(1.3,1.3);  /* Opera */
    -ms-transform:     rotate(180deg) scale(1.3,1.3);  /* IE9 */
    transform:         rotate(180deg) scale(1.3,1.3);  /* W3C complaint browsers */
  }
  .votelinks { min-width: 18px; }
  .votelinks a { display: block; margin-bottom: 9px; }
  input[type='text'], input[type='number'], textarea { font-size: 16px; width: 90%; }
}

.header-footer-td {
  // font-family: Avenir, Verdana !important;
  background-color: #ce2828;
}

