body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td,iframe {
  margin:0;
  padding:0;
  font-size: normal;
  color: #505050;
}

table { border-collapse:collapse; }

fieldset,img { border:0; }

address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; }
ol,ul { list-style:none; }
caption,th { text-align:left; }
q:before,q:after { content:''; }
h1,h2,h3,h4,h5,h6 { font-size:100%; }

body {
    font-family: Trebuchet MS, Verdana, Arial, Helvetica, Sans-serif;
    background: #f9f9f9;
    z-index: 1;
    width: 100%;
}

html,body { height: 100%; }

#page_container {
    height: 100%;
    min-width: 960px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px 40px 10px;
    // _width: expression(document.documentElement.offsetWidth < 1012? "960px" : document.documentElement.offsetWidth > 1252? "1200px" : "auto");
}

/* IE dumbness patch. hidden input in a hidden block that is
subsequently shown leads to the input to "show" and generate undesired
padding.  This makes it go away. */ 
input[type=hidden] { position: absolute; }

/* html element defaults */

h1 { font-size: 18px; font-weight: normal; margin: 10px 0 }

h2 { color: #369; font-size: 13px; }
h2 a { text-decoration: none }
h2 a:visited { color: #369 }
h2 a:hover { text-decoration: underline }
h3 { font-size:110%; /*text-transform:uppercase;*/ }

a img { border: 0 none; }
a { text-decoration: none; color: #0093dd; }

/*
a:active { border: 0 none;}
a:focus { -moz-outline-style: none; }
*/

div.autosize { display: table; width: 1px}
div.autosize > div { display: table-cell; }

input.txt {
    background-color:#f7f7f7;
    border: 1px solid #369; 
}

input[type=checkbox], input[type=radio] { margin-top: .4em; }

/* forms */

.iform th { text-align: right; color: black; font-weight: normal; text-transform: lowercase; }
.wrong {color: red; font-weight: normal}

.subform input.text { width: 25em }
.subform textarea.text { width: 25em }
.subform label { margin: 0 5px 0 5px }
.subform td { padding: 0px 5px 5px 0}
.subform td.nopadding { padding: 0px}

.nowrap { white-space: nowrap; }
.leftpad { padding-left: 1em }
.nomargin { margin: 0px }
.nopadding { padding: 0px }

/* header / menus */

.hover a:hover { text-decoration: underline }

.selected { font-weight: bold; }

.flat-list {list-style-type: none; display: inline;}
.flat-list li {display: inline;}
.flat-list form {display: inline; }
.flat-list .selected a { color: orangered; }

.separator { color: gray; margin: 0px .7ex 0px .7ex}

.pref-lang { font-weight: bold; }
.pref { font-weight: bold; }

#header {
}

#logo {
    float: left;
    display: inline;
    padding: 20px 0 10px 0px;
}

#simple-menu {
    float:left;
    display: inline;
    font-size:90%;
    padding-top: 40px;
    margin: 0 0 0 24px;
}

#header-toolbar {
    position: relative;
    font-size: 18px;
}

#header-searchbox { 
    float: right;
    margin: 0 15px 0 0;
    padding-top: 40px; 
}
 
#search .search_input {
    background: url(/static/input-bg.png) repeat-x;
    border: 0;
    height: 22px;
    width: 190px;
    color: gray;
    padding-top: 3px;
    float: left;
}

.input_left {
    background: url(/static/input-left.png);
    float: left;
    width: 23px;
    height: 22px;
}

.input_right {
    background: url(/static/input-right.png);
    float: left;
    width: 7px;
    height: 22px;
}


#hline2 {
    float: left;
    width: 100%;
    line-height: 31px;
    background: url(/static/cat-toolbar-bkg.gif);
}

#cat_toolbar_begin {
    float: left;
    height: 32px;
    width: 5px;
    background: url(/static/cat-toolbar-left.gif) no-repeat;
}

#cat_toolbar_end {
    float: right;
    height: 32px;
    width: 5px;
    background: url(/static/cat-toolbar-right.gif) no-repeat;
}


.categories {
    float: left;
    margin-left: 10px;
    display: inline;
}

.categories li {
    display: inline;
    margin: 0px 3px;
}

.categories .cat_separator {
    font-size: small;
    font-weight: normal;
    color: #adadad;
}

.categories li a {
    font-weight: normal;
    white-space: nowrap;
    color: #4d4d4d;    
}

.categories li a.active{
    color: #dd137b;
}

#hline3 {
    float: left;
    line-height:normal;
    width: 100%;
    border-bottom: 1px #c1c1c1 solid;
    /*
    background-color: #6495ed;
    */
}

#mail img {position: relative; top: 2px}
.user {color: gray;}


.pagename {
    margin-left: 2em;
    float: left;
}
.pagename a {color: black; }
.redditname { }

.newpagelink {
    padding: 3px 5px;
    background-color: #ff9;
}

.dropdown { 
    position: relative;
    cursor: default;
    display: inline;
}

.dropdown-title {
}

.dropdown .drop-choices {
    position: absolute;
    left: 0px; /* top gets set in js */
    visibility: hidden;
    border: 1px solid gray;
    z-index: 100;
    background-color: white;
    white-space: nowrap;
    line-height: normal;
    margin-top: 1px;
}

.dropdown a.choice {
    cursor: pointer;
    padding: 0px 3px 0px 3px;
    display: block;
 }

.dropdown a.choice:hover {
    background-color: #c7def7;
}

.dropdown.heavydrop .selected{
    background: white url(/static/droparrow.gif) no-repeat scroll center right;
    border: 1px solid gray;
    padding: 2px;
    padding-right: 23px;
    padding-left: 5px;
    font-weight: bold;
}

.dropdown.lightdrop .selected {
    position: relative;
    background: transparent url(/static/droparrowgray.gif) no-repeat scroll center right;
    padding-right: 21px;
    text-decoration: underline;
    color: gray; 
 }

.dropdown.lightdrop .drop-choices { 
    margin-top: 2px;
 }

/*tab drop*/
.dropdown.tabdrop .selected {
    position: relative;
    background: white url(/static/droparrowgray.gif) no-repeat scroll center right;
    padding: 2px 21px 1px 5px;
    margin-left: 3px;
    border: 1px solid #5f99cf;
    border-bottom: none;
    color: orangered;
}

.dropdown.tabdrop .selected.title {
    background-color: #eff7ff;
    color: #369;
    padding-bottom: 0;
    border:none;
}
.dropdown.tabdrop .drop-choices {margin-top: 2px;}
.dropdown-title.tabdrop { display: none }


#header-toolbar  ul {
    list-style-type: none;
    white-space: nowrap;
    padding: 0 10px 0;
}

.tabmenu li {
    float:left;
    background:url("/static/left_both_magenta.gif") no-repeat left top;
    position: relative;
    top: 1px;
    margin-right: 5px;
    padding:0 0 0 12px;
}    

.tabmenu a {
    float:left;
    display:block;
    background:url("/static/right_both_magenta.gif") no-repeat right top;
    padding:5px 15px 4px 3px;
    text-decoration:none;
    color:#ffffff;
}

.tabmenu > ul a {width:auto;}

/* Commented Backslash Hack hides rule from IE5-Mac \*/
.tabmenu a {float:none;}
/* End IE5-Mac hack */

.tabmenu a:hover {
    color:#333;
}
.tabmenu .selected {
    background-position:0 -150px;
    border-width:0;
}

.tabmenu .selected a {
    background-position:100% -150px;
    padding-bottom:5px;
    font-weight: normal;
    color: #dd137b;
}
.tabmenu li:hover {
    background-position:0% -150px;
    color:#333;
}
.tabmenu li:hover a {
    background-position:100% -150px;
}

li.tab_number1, li.tab_number5 {
    background:url("/static/left_both_purple.gif") no-repeat left top;
}

.tab_number1 a, .tab_number5  a {
    background:url("/static/right_both_purple.gif") no-repeat right top;
}

li.tab_number2, li.tab_number6 {
    background:url("/static/left_both_green.gif") no-repeat left top;
}

.tab_number2  a, .tab_number6  a {
    background:url("/static/right_both_green.gif") no-repeat right top;
}

li.tab_number4 {
    background:url("/static/left_both_orange.gif") no-repeat left top;
}

li.tab_number4  a {
    background:url("/static/right_both_orange.gif") no-repeat right top;
}


div.content {
    margin-right: 330px;
    z-index: 1;
    padding: 10px;
    clear: left;
}

.content .spacer { margin-bottom: 5px }

.state-button { display:inline }

/* side box menus */

.side {
    width: 300px;
    float: right; 
    margin: 0 0 0 10px;
    padding-top: 10px;
}

.sidebox { background: url(/static/rbnt.gif) repeat; margin-bottom: 30px; }
.rbtop div { background: url(/static/rbtl.gif) no-repeat top left; }
.rbtop { background: url(/static/rbtr.gif) no-repeat top right; }
.rbbot div { background: url(/static/rbbl.gif) no-repeat bottom left; }
.rbbot { background: url(/static/rbbr.gif) no-repeat bottom right; }

/* height and width stuff, width not really nessisary. */
.rbtop div, .rbtop, .rbbot div, .rbbot {
width: 100%;
height: 7px;
font-size: 1px;
}
.rbcontent { margin: 0 7px 0 15px; }
.rbroundbox { width: 50%; margin: 1em auto; }


.side .spacer { 
    margin-bottom: 10px;
 }

/* 
.sidebox {
    background-color: #DDDDDD;
    padding: 5px;
}
*/

.morelink {
    font-size: 140%;
}

.sidebox .spacer { margin-bottom: 5px }

/*
.sidebox.submit {background: url(/static/submit-alien.png) no-repeat scroll center left;}
*/

.sidebox .morelink { text-transform: none; }
.sidebox .subtitle {
  color: #505050;
}

/* raised box */

.raisedbox {
    padding: 5px; 
}

.raisedbox h3 {    
    font-size: 160%;
    margin-bottom: 0px;
    color: #333;
}
.raisedbox h4 { margin-bottom: 3px }

.raisedbox li {margin-bottom: 2px;}

.subreddit-info {padding-bottom: 3px; color: dimgrey; }
.subreddit-info .moderate { color: orangered; }

.subreddit-info #subscribe { 
    display: inline;
    margin-right: 5px;
    font-size: larger;
}

.subreddit-info .label {color: #404040;}
.subreddit-info .state-button { display:block }
.subreddit-info .spacer { margin: 10px 0px 0px 0px }

.raisedbox .flat-list {  }
.raisedbox .flat-list .separator { display: none; }
.raisedbox .flat-list a { 
    margin-right: 1px;
    padding: 3px 5px 3px 5px; 
}


.raisedbox .hover a:hover { 
    background-color: #369; 
    color: white;
    text-decoration: none;
}

.infotable { margin-top: 5px; margin-bottom: 10px; }
.infotable .small { font-size: smaller; }
.infotable td { padding-right: 3px; }
.infotable a:hover { text-decoration: underline }
.infotable .state-button a {  background-color: #F0F0F0; color: gray; }
.infotable .bold { font-weight: bold; }
.infotable .invalid-user { background-color: pink}
.infotable .organic-vote { border: 1px solid green; }


/* used on profile pages */

.profile-attr {}
.profile-attr .label {font-weight: bold; }
.profile-attr .value {color: #404040; 
                       margin-right: 5px; }

.profile-attr .md { 
    margin-left: 10px; 
    margin-top: 5px; 
    border-color: #B2B2B2 #D0D0D0 #D0D0D0 #B2B2B2;
    border-style: solid;
    border-width: 1px;
    padding: 10px; }

.profile-attr .md ul { 
    float: none; 
    list-style-type: disc;
    margin-left: 15px; 
}

.profile-attr .md p { margin-top: 0px; }

.question { color: red; }
.question .yes { margin-left: 5px; margin-right: 3px; }
.question .no  { margin: 0px 3px 0px 3px; }

/* thing rendering */

.arrow {
    margin: 2px 0px 0px 0px;
    width: 100%;
    height: 14px;
    display: block;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat; 
}

.arrow.upmod { background-image: url(/static/aupmod.png); }
.arrow.up { background-image: url(/static/aupgray.png); }

.midcol { 
    float: left; 
    margin-right: 2px; 
}

.link .entry {
    margin-left: 93px;
    opacity: 1;
}

.link a.thumbnail {
    padding: 3px;
    border: 1px solid #dddddd;
}
.domain, .domain a  { color: #888; font-size:x-small; }

.tagline { color:#888; font-size:x-small; margin-top: 2px; }
.tagline a {color: #369; text-decoration: none; }
.tagline a.friend {color: orangered }
.tagline a:hover { text-decoration: underline }

.watch-play { 
    background: transparent url(/static/reddit-button-play.gif) no-repeat scroll right center;
    padding-right: 15px;
    color: #808080;
}
.watch-stop {  
    color: red;
}

.embededmedia { margin-top: 5px }

.title { padding: 0px; overflow: hidden; word-wrap: break-word; }
.title:visited { color: #75bbdc; }
.title.click { color: #551a8b } 

#siteTable { 
    list-style-type: none; 
}
.ajaxhook { position: absolute; top: -1000px; left: 0px; }
.nextprev { color: gray; margin: 40px 0 20px 0; }

/* corner help */
.corner-help { 
    margin: 0px 5px 5px 0;
    position: absolute;
    right: 0px;
    bottom: 0px;
 }

.corner-help a { 
    color: #808080;
    text-decoration: underline;
}

.helpcover { 
    z-index: 1000;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    position: absolute;
    background-color: #F8F8F8;
    font-size: 110%;
    _width: 100%;
    _height: 70px;
 }

.helpcover p, .helpcover form { margin: 5px; }


/* organic listing */

.organic-listing { 
    border: dashed 1px #ec9b2d;
    padding: 5px 5px 5px 5px;
    margin-left: -5px;
    overflow: hidden;
    position: relative;    
    _height: auto;
    _overflow: auto;
}

.organic-listing .link { 
    margin-bottom: 0px; 
    margin-right: 7em;
 }

.organic-listing .linkcompressed { 
    margin-bottom: 0px; 
    margin-right: 7em;
 }

.organic-listing .nextprev {
    position: absolute;
    right: 0px;
    top: 0px;
    vertical-align: top;
}

.organic-listing .nextprev img { margin: 5px 5px 2px 0px; border: solid 1px #B3B3B3; }
.organic-listing .nextprev img:hover  { cursor: pointer;  border: solid 1px #336699; }
.organic-listing .nextprev img:active { margin: 6px 4px 1px 1px;}


.infobar {
    background-color: #f8f0dc;
    padding: 5px 10px;
    margin: 5px 310px 15px 0px;
}

.menuarea {
    border-bottom: 1px solid #dddddd;
    padding: 5px 10px;
    margin: 5px 0px 15px 5px;
}

.menuarea .spacer {display: inline;}

/* markdown */
.md { max-width: 60em; overflow: hidden; font-size: small; word-wrap: break-word; width: 90%; }
.md p, .md h1 { margin: 5px 0}
.md h1 { font-weight: normal; font-size: 100%; }
.md > * { margin-bottom: 0px }
.md strong { font-weight: bold; }
.md em { font-style: italic; }
.md strong em { font-style: italic; font-weight: bold }
.md img { display: none }
.md ol, .md ul { margin: 10px 2em; }
.md ul { list-style: disc outside }
.md ol { list-style: decimal outside }
.md pre { margin: 10px; }
.md blockquote, .help blockquote {
    border-left: 2px solid #369;
    padding-left: 4px; 
    margin: 5px;
    margin-right: 15px;
}

/*top link*/
a.star { text-decoration: none; color: #ff8b60 }

.odd  { }
.even { }

/* buttons on main link style */



.entry .buttons li { 
    display: inline;
    padding: 0 4px;
    border: none;
    white-space: nowrap;
}

.entry .buttons li.first {padding-left: 0px;}

.entry .buttons li a {
    color: #808080;
    text-decoration: underline;
    padding: 0 1px;
}

.downmod a { color: red; }

.entry .buttons a:hover  {text-decoration: underline}

/* links */

.link { 
    margin-bottom: 20px; 
}
.link .score {
    text-align: center;
    color: #828282; 
    font-size: 34px;
    vertical-align: top;
    height: 70px;
}

.link .score .vl {
    font-size: 14px;
}


.midcol span, .rate_comment span {
    float: left;
    width: 34px;
    height: 18px;
    cursor: pointer;
    font-size: x-small;
}

span.up, span.upmod {
    background: url(/static/vbl.png) no-repeat 0 0;
}

span.down, span.downmod {
    background: url(/static/vbr.png) no-repeat 0 0;
}

span.upmod , span.downmod {
    background-position:100% -18px;
}

span.vsplit {
    width: 1px;
    background: #a2a2a2;
}


.link .title {font-size:105%; font-weight: normal; margin-bottom: 3px; }
.link .title a {text-decoration: underline;}

.link .child h3 { 
    margin: 15px; 
    text-transform: none; 
    font-size: medium; 
}

.rank { overflow: hidden }


/* .link .score.likes   { color: #FF8B60; } */
/*.link .score.dislikes { color: #9494FF; } */
.link .rank { 
    float:left;
    margin-top: 15px;
    color: #c6c6c6;
    font-size: medium;
    text-align: right;
}

/* compressed links */
.linkcompressed { margin: 4px 0; overflow: hidden; word-wrap: break-word; }
.linkcompressed .title {margin-bottom: 1px; font-size:medium; font-weight: normal;}
.linkcompressed .child h3 { 
    margin: 15px; 
    text-transform: none; 
    font-size: medium; 
}

.linkcompressed .score.likes   { color: #FF8B60; }
.linkcompressed .score.dislikes { color: #9494FF; }
.linkcompressed .rank { 
    margin-top: 2px;
    float:left;
    color: #c6c6c6;
    font-family: arial;
    font-size: medium;
    text-align: right;
}
.linkcompressed .tagline { display: inline; margin-top: 0px; margin-bottom: 1px; }
.linkcompressed .flat-list { display: inline }

/* compressed buttons */
.linkcompressed .entry .buttons li { padding: 2px; background-color: transparent; }
.linkcompressed .entry .buttons li.first {padding-left: .5em;}
.linkcompressed .entry .buttons li a {
    padding: 0 2px;
    background-color: #f0f0f0;
    font-weight: normal
}

.linkcompressed .midcol { width: 15px; }
.linkcompressed .entry .buttons li a:hover { text-decoration: underline}


.warm-entry .rank { color: #EDA179; }
.hot-entry .rank { color: #E47234; }
.cool-entry .rank { color: #A5ABFB; }
.cold-entry .rank { color: #4959F7; }

/* comments */

.comment { margin-left: 10px; }
.comment .entry { margin-bottom: 25px; }
.comment .rate_comment { float: right; margin-left: 0px; }
.comment .title { font-size: small; margin-top: 10px;}

.comment .author { font-weight: bold; font-size: 135%; }
.comment .collapsed { font-size: x-small; 
    color: gray; 
    font-style: italic; 
    padding-left: 17px;
    padding-bottom: 10px; }
.comment .collapsed a { color: gray; }
.comment .expand { 
    font-style: normal; 
    margin-left: 5px;
    margin-right: 5px;
    padding: 1px; }
.comment .expand:hover { 
    text-decoration: none;
    color: white;
    background-color: #369;
}

.comment .buttons { font-size: x-small; }

.comment .score { float: left; font-weight: bold; color: grey; margin-right: 10px; font-size: 15px; text-align: right; }
.comment .likes { color: green; }
.comment .dislikes { color: red; }


.c_v {
    float: left;
    margin: 2px 7px 0px 0px;
    width: 14px;
    height: 1em;
    display: inline;
    cursor: pointer;
    background-position: center center;
    background-repeat: no-repeat; 
}

.c_v.upmod { background-image: url(/static/aupmod.png); }
.c_v.up { background-image: url(/static/aupgray.png); }
.c_v.downmod { background-image: url(/static/adownmod.png); }
.c_v.down { background-image: url(/static/adowngray.png); }

.comment .child {
    margin-top: 10px; 
    margin-left: 15px; 
}

.commentreply {
    margin: 10px; 
    margin-left: 15px; 
    width: 40em; 
}

.commentreply textarea { 
    border: 1px solid #adadad;
    background: #f9f9f9;
    width: 100%;
    margin: 0px; 
    margin-bottom: -1px;
}
.commentreply .buttons { 
    margin: 0px; 
    float: left;
}
.commentreply .buttons button { 
    margin: 5px; 
}

.commentreply table.help { 
    margin: 0px;
    margin-top: 5px; 
    font-size: larger;
    width: 100%;
}

.commentreply .help, 
.commentreply .help td, 
.commentreply .help tr {
    border: 1px solid #C0C0C0;
    padding: 4px;
    margin: 0px;
}
.commentreply .help-toggle { 
    float:right;
    margin-top: 7px; 
}

.permamessage {
    font-size: larger;
    border: 1px dotted black;
    padding: 5px 5px 5px 18px;
    white-space: nowrap;   
    background-image: url(/static/permalink-arrow.png);
    background-repeat: no-repeat;
    background-position: 5px center;
}

.deepthread {
    padding-right: 30px;
    background-image: url(/static/continue-thread.png);
    background-repeat: no-repeat;
    background-position: center right;
}
.deepthread a { font-size: larger; color: #336699 }
.deepthread a:hover { text-decoration: underline}

.morecomments {font-size: larger}
.morecomments a { color: #336699 }
.morecomments a:hover { text-decoration: underline}
.morecomments .gray {font-weight: normal; color: gray}

.message {margin: 10px}
.message .head.new {color:orangered  }
.message .subject { font-weight: bold; font-size: larger; }

.subreddit { margin-bottom: 10px; }
.subreddit p { margin-top: 0px; margin-bottom: 1px; }
.subreddit .description {font-size: small; }
.subreddit .key {display: block;}
.subreddit .title { font-size: medium; margin-right: 5px; }

.commentbody { }

.commentbody.border { background-color: #ffc; padding-left: 5px}

.fixedwidth { float: left; width: 100px; height: 0px; }
.clearleft { clear: left; height: 0px; }
.clear { clear: both; }

.sharetable.preftable {margin-left: 20px; }
.sharetable.preftable th { padding-bottom: 5px; padding-top: 5px;  }
.sharetable.preftable button { margin-top: 10px }

.share-summary { width: 95%; margin-top: 10px; }
.share-summary .head td { width: 50%; font-size: large; text-align: center }
.share-summary td { vertical-align: top;}
.share-summary > tbody > tr > td  { 
    padding-left: 10px; 
    padding-bottom: 10px; 
}
.share-summary th { padding: 5px; border-bottom: 1px solid #000; }

.sponsored .entry  { margin-right: 20px;}

.sponsored .titlerow { background: #fcfcfc;
    padding: 10px; 
    border-top: #BCBCBC solid 1px;
    border-left: #BCBCBC solid 1px;
    border-bottom: #E0E0E0 solid 1px;
    border-right: #E0E0E0 solid 1px;
}

.sponsored .asterisk { 
    width: 15px; 
    background: url(/static/asterisk.png); 
    background-repeat: no-repeat }


/* footer */
.footer {
    width: 100%; 
    text-align: center; 
    clear: both; 
    padding-top: 1em; 
    color: gray; 
    font-size: larger;
}

.footer p { margin: 10px }

.wired a {text-decoration: underline; 
    color: #369;
    font-size: smaller;
    padding-left: 5px;
    padding-right: 5px; }
.wired img {vertical-align: middle;}

/* login form */

.orangered { color: orangered; }


.login-form-side { 

}

.login-form-side input { 
    border: 1px solid gray;
    width: 138px;
    height: 17px;
    margin: 5px 0px 0px 5px;
    top: 5px;
    padding: 1px;
 }

.login-form-side .error { 
    margin: 5px;
}

#remember-me { 
    margin: 5px;
}

/*the checkbox*/
#rem-login-main {
    position: static;
    height: auto;
    width: auto;
    border: none;
    margin-right: 5px;
}

.login-form-side label {
    padding: 2px 0 2px 0;
    margin-right: 5px;
    white-space: nowrap;
}

.login-form-side button {
    float: right;
}


.error { color: red; font-size: small; margin: 5px; }

#noresults { margin-right: 310px;  }

#ad-frame {
    border: 0px;
    overflow: hidden;
    width: 300px;
    height: 300px;
}


/* search */

#searchmenu { margin: 10px 0 0px 0; padding: 2px 0 0 0; 
    border-bottom: 2px solid #369; 
    background-color: whitesmoke}

#searchmenu .searchlabel { background-color: white; 
    padding: 2px 15px 0px 0px; 
    font-weight: bold; color: #369 }

#searchmenu .searchtime {
    font-weight: bold; 
    display: inline; 
    width: 305px;
}


.searchparams { margin: 5px 20px 5px 20px
}
.searchparams .labels {text-align: right;
    margin-left: 10px; }


.searchpane { 
    margin: 5px;
} 

.searchpane #search input[type=text] { }

.searchpane .summary { 
    font-weight: bold; 
    float: right;
}

.searchpane .clearleft { 
    margin-bottom: 10px; 
}

/* login, register */



.legal {color: #808080; font-family: serif; font-size: small; margin-top: 20px; }
.legal a {text-decoration: underline}

.divide { border-right: 2px solid #D3D3D3;  }

.loginform { 
    float: left; 
    width: 45%; 
    padding-left: 15px; 
    padding-right: 15px; 
}

.loginform h3 { 
    margin-bottom: 0;
    margin-top: 10px;
    font-size: large;
    font-weight: bold; 
    font-variant: small-caps;
    color: #404040;
}
.loginform p { 
    text-align: left;
    margin-bottom: 10px; 
    color: #606060;
    margin-bottom: 20px; 
}
.loginform label {
    display: block; 
    font-weight: bold;
    color: #606060; 
}

.loginform .remember { display:inline; margin-left: 5px;  }
.loginform ul { margin: 5px; }
.loginform li { margin-top: 5px; }
.loginform p .btn { margin-top: 5px }
.loginform input.logtxt { width: 125px; }

.loginform input[type=text],
.loginform input[type=password] { 
    width: 125px;
    border: 1px solid #A0A0A0;
    margin-top: 2px; 
    margin-bottom: 2px; 
    padding: 1px;
}

.loginform #captcha { 
    width: 250px;
 }

/* cover */
.cover {
    position: absolute;
    margin: 0;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: .7;
    filter:alpha(opacity=70); /* IE patch */
    z-index: 1000;
    // _width: expression(document.body.clientWidth + "px");
}

.popup {
    position: absolute;
    background-color: white;
    width: 80%;
    top: 100px;
    left: 10%;
    text-align: left;
    z-index: 1001;
    padding: 10px;
    border-color: #B2B2B2 black black #B2B2B2;
    border-style: solid;
    border-width: 2px;
}

#login_simple_popup {
    width: 250px;
    left: 40%;
}

#login_simple_popup  .loginform {
    width: 100%;
}

.popup h1 { 
    text-align: center;
    font-size: large; 
    font-weight: normal;
    color: orangered;
}

.popup h2 { 
    text-align: center;
    font-size: small;
    margin-top: 0px;
    color: black;
    font-weight: normal;
}

.usertable { margin-left: 10px;} 
.usertable { font-size: larger }
.usertable td { padding: 0 .7em }
.usertable { white-space: nowrap }


.aboutpage {  margin-right: 320px; }
.aboutpage p { margin: 5px; }
.aboutpage h1, .aboutpage h2 { margin: 10px;}

.aboutpage .usertable { width: 45%; }

.little a { font-size: x-small;  }

.oldbylink a {  background-color: #F0F0F0; margin: 2px; color: gray}

.details {
    color: dimgrey;
    font-size: x-small; 
    margin-bottom: 10px; 
}

.details span { margin: 0 5px 0 5px; }
.details .profline { 
    text-align: right; 
    padding-right: 5px;
    font-weight: bold;
}

.bottommenu { color: gray; font-size: smaller; }
.bottommenu a { color: gray; text-decoration: underline;   }


/* Buttons specific */


.button { 
    border-collapse: collapse;
    color: gray;
    text-align: center;
    margin: 1px;
 }

.button #cover { 
    position: relative; 
 }

.button .cover {  
    background: white; 
}

.button #popup { 
    position: absolute; 
    width: 80%; 
    z-index: 1001; 
    background: white; 
    padding: 2px; 
    border-color: #B2B2B2 black black #B2B2B2;
    border-style: solid;
    border-width: 1px;
}


.button .arrow { width: 15px; }

.num { font-weight: bold; font-size: larger }

.button .blog {
    border: 1px solid #c7def7;
    color: gray;
    text-align: center;
    margin: 1px;
}

.button {color: #369; width: 98%; height: 96%}
.button a:hover { text-decoration: underline }


.button .blog1 { font-size: x-small; }
.button .blog1 .arrow { float:left; margin-left: 2px;  margin-right: 2px;  }

.button .blog1 .headimgcell {
    background-color: #c7def7;
    width: 18px;
    float: left; 
}
.button .blog1 .score { 
    float: right;
    margin-top: 2px;
    margin-right: 5px; 
}

.button .blog2 { font-size: small; }
.button .blog2 .arrow { width: 100% }
.button .blog2 .bottomreddit { color: black; background-color: #c7def7; font-size: small; }

.button .blog3 { font-size: small; border: none; }
.button .blog3 .left { float: left; width: 50%; }
.button .blog3 .arrow { width: 100% }
.button .blog3 .right { float: right; margin-top: 5px; }

.optional {color: green}
.instructions { font-size: larger;  }
.instructions h1, .instructions h2 { margin-top: 20px; margin-bottom: 20px;  }
.instructions p { margin: 10px; max-width: 60em}
.instructions pre, .instructions iframe { margin: 5px;  margin-right: 10px; }
.instructions input, .instructions select { margin: 0 .5em }


#preview { float: right; width: 20em; margin-right: 10px; }
#preview span { color: lightgray;  }
#preview #previewbox {
  border-width: .2em;
  border-style: dashed;
  border-color: lightgray;
  padding: 1em;
}

/* the toolbar */
.toolbar { height: 30px; border-bottom: 1px solid black}
.toolbar td { vertical-align: middle; }
.toolbar .arrow { 
    background-position: center left; 
    padding-left: 18px; 
    display: inline;
}
.toolbar span { 
    margin-left:  20px; 
}
.toolbar #frame-right { text-align: right }
.toolbar #frame-right a { margin-left: 10px;  }

/* default form styles */
.pretty-form { 
    vertical-align: top; 
}

.pretty-form p {margin: 3px ;}
.pretty-form .choice_input {margin: 2px .5em 0px .5em; }
.pretty-form img { margin: 3px .5em}
.pretty-form .text_input, .cap-text {
    border: 1px solid gray;
    width: 300px; 
    padding: 2px;
}

.pretty-form .infobar { 
    width: 285px; 
    margin: 5px;
 }

.pretty-form .text_input,
.pretty-form .cap-text,
.pretty-form select,
.pretty-form b,
.pretty-form button  { margin: 3px .5em; }
.pretty-form th { 
    text-align: right; 
}

.pretty-form label {
    padding-left: 7px;
}

/*pref page boxes*/
.pretty-form.short-text .text_input {width: 2em }

/*update password*/
.pretty-form.medium-text .text_input {width: 15em }

/*submit*/
.pretty-form.long-text .text_input {padding: 2px; width: 40em }

/*forgot password*/
#passform h1 { margin: 0px; }
#passform p { font-size: smaller; color: dimgrey; margin-bottom: 7px}
#passform.pretty-form button { padding: 0px 1px; }


/*opt-out/in form*/
.opt-form { font-size: larger }
.opt-form form { display: inline; }

/* pref table - used for preferences and edit subreddit pages */
.preftable th { 
    padding: 10px; 
    vertical-align: top;
    text-align: right;
}
.preftable td {padding: 10px 5px 10px 0; }
.preftable td.prefright { padding: 8px 0 20px 20px;}
.preftable .spacer { margin-bottom: 5px; }
.preftable .note { width: 100%; vertical-align: top; padding-top: 10px; }
.save-button { margin-left: 5px; }

.over18 button { margin: 0 10px 0 10px; padding: 5px}

.reported { background-color: #f6e69f }
.suspicious { background-color: #f6e69f }
.spam { background-color: #FA8072 }

.little { font-size: x-small;  }
.gray { color: gray }

#form2 { width: 100%; padding-left: 20px; }
#form2 label, #form2 input, #form2 textarea, #form2 select { display: block; }
#form2 .radio_choice label, #form2 .radio_choice input { width: auto; display: inline; vertical-align: top; }
#form2 input, #form2 textarea, #form2 select { margin-bottom: 15px; }
#form2 input, #form2 textarea { width: 100%; }
#form2 textarea { height: 5em; }
#form2 button { margin-top: 20px; }
#form2 .radio_group {
    width: 100%;
    margin: 5px 0 15px 10px;
}

/* stats page */

.stats { float: left; margin-right: 2em; border-collapse: collapse; font-size: larger; }
.stats td.space {width: 20px}
.stats td.sec { padding-bottom: 7px; font-size : 18px; font-weight: normal }
.stats a {color: #369}
.stats a:hover {text-decoration: underline;}
.stats td.k { color: gray }
.stats th { text-align: left; background-color: whitesmoke; 
            color: #369; font-weight: bold;}
.stats td.ri { padding-left: 20px; text-align: right}

.thumbnail { 
    float: right; 
    margin: 0px 5px; 
    overflow: hidden;
}


/* CSS customisation page */

.stylesheet-customize-container { }
.stylesheet-customize-container textarea { margin: 0; padding: 0px; }
.stylesheet-customize-container h2 { margin-top: 15px; margin-bottom: 10px;  }

.image-upload .new-image { margin-left: 20px }
.image-upload table { margin-left: 20px;  }
.image-upload td,
.image-upload th    { vertical-align: top; }
.image-upload span  { padding-left: 5px; }


ul#image-preview-list { 
    margin: 20px 320px 20px 20px;
    font-size:larger;
}
ul#image-preview-list li { 
    padding-bottom: 10px; 
    margin-bottom: 20px; 
    vertical-align: top; 
    width: 45%; 
    height: 100px; 
    float: left;
    position: relative; 
}

ul#image-preview-list .preview { 
    width: 100px;                                     
    float: left;
    display: block;
    text-align: center;
    max-height: 100px;
    overflow: hidden;
}
ul#image-preview-list .preview img { 
    max-width: 100px; 
    padding: auto;
}
ul#image-preview-list .description { 
    vertical-align: top;
    margin-left: 105px; 
}
ul#image-preview-list .description pre { 
    display: inline;
    padding: 5px;
}


.sheets { margin-right: 315px; }
.sheets .col { float: left;  }
.sheets .col > div { margin: 0 5px; }
.sheets .col textarea { width: 100% }
.sheets .buttons { margin-left: 5px }
.sheets .btn { margin-left: 0px; margin-right: 5px; }
.sheets .btn.right { float: right; margin-right: 3px;}


#validation-errors { 
    margin-left: 40px; 
    margin-top: 10px; 
    list-style-type: disc;
}

#validation-errors a,
#validation-errors li,
.errors h2 { color: red }

#validation-errors a:hover { text-decoration: underline; }
#validation-errors pre { padding: 10px; color: black; }

#preview-table { 
    padding-right: 15px;  
}
#preview-table > table {  
    border-width: .2em;
    border-style: dashed;
    border-color: lightgray;
    padding: 5px; 
    margin: 5px; 
    width: 100%;
}

#preview-table > table > tbody > tr { padding-bottom: 10px;  }
#preview-table > table > tbody > tr > td { padding: 5px; padding-right: 15px;}
#preview-table > table > tbody > tr > th { padding: 5px; padding-right: 15px;}
#preview-table > table > tbody > tr > th { 
    font-weight: bold; 
    vertical-align: top;
    font-size: larger;
    text-align: right;
}

#img-preview-container {
    border-width: .2em;
    border-style: dashed;
    border-color: lightgray;
    padding: 5px; 
    margin: 5px; 
    float: left;
}    

.downmod  li a { color: red; }

p.normal {
    padding: 5px 5px 20px 5px;
}

div#counters {
    padding: 5px;
    text-align: right;
}