/* MAIN TYPOGRAPHY */
html { font-size:62.5%; line-height:1; }
body { background:#fff; color:#000; }
strong, th, thead td, h1, h2, h3, h4, h5, h6 { font-weight:bold; }
cite, em, dfn { font-style:italic; }
code, kbd, samp, pre, tt, var, input[type='text'], input[type='password'], textarea {
  font-size:100%; font-family: tahoma, courier, monaco, "Lucida Console", mono-space;
}

del { text-decoration:line-through; color:#666; }
ins, dfn { border-bottom:1px solid #ccc; }
small, sup, sub { font-size:85%; }
abbr, acronym { text-transform:uppercase; font-size:85%; letter-spacing:.1em; }
a abbr, a acronym { border: none; }
abbr[title], acronym[title], dfn[title] { cursor:help; border-bottom: 1px solid #ccc; }
sup { vertical-align:super; }
sub { vertical-align:sub; }

/* QUOTES */
blockquote { border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; color: #666; }
blockquote *:first-child:before { content: "\201C"; }
blockquote *:first-child:after { content: "\201D"; }

/* language specific quotes! */
q { quotes: "\201C" "\201D" "\2018" "\2019"; }

/* FORMS */
fieldset { border:1px solid #ccc; }
legend { background:#fff; }
textarea, input[type='text'], input[type='password'], select { }
textarea:hover, input[type='text']:hover, input[type='password']:hover, select:hover { border-color:#aaa; }
textarea:focus, input[type='text']:focus, input[type='password']:focus, select:focus { border-color:#888; outline:1px solid #eee; }
input, select { cursor:pointer; }
input[type='text'], input[type='password']  { cursor:text; }

/* CONTENT ONLY */

/* BASE SIZES */
body { font-size: 1.2em; line-height:1.6em; }
h1 { font-size: 1.6em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.4em; }
h4 { font-size: 1.3em; }
h5 { font-size: 1.2em; }
h6 { font-size: 1em; }

/* HR */
hr { display: block; background: #aaa; color: #aaa; width: 100%; height: 1px; border: none; }

/* LISTS */
ul li { text-indent:-.85em; margin-left:.85em; }
ul li:before { content: "\2022\00a0\00a0"; }

ol { list-style-position: outside; list-style-type: decimal; }
dt { font-weight: bold; }

/* TABLES */
table { border-top:1px solid #ccc;  border-left:1px solid #ccc; }
th, td { border-bottom:1px solid #ddd; border-right:1px solid #ccc; }

/* MARGINS & PADDINGS */
blockquote *:first-child { margin: .8em 0; }
hr, p, ul, ol, dl, pre, blockquote, address, table, form { margin-bottom: 1.6em; }
p+p { margin-top: -.8em; }

/* NOTE: Calulate header margins: TOP: 1.6em/size, BOTTOM: 1.6em/size/2 */
h1 { margin: 1em 0 .5em;  }
h2 { margin: 1.07em 0 .535em; }
h3 { margin: 1.14em 0 .57em; }
h4 { margin: 1.23em 0 .615em; }
h5 { margin: 1.33em 0 .67em; }
h6 { margin: 1.6em 0 .8em; }

th, td { padding: .8em; }

caption { padding-bottom: .8em; } /* padding instead of margin for IE */
blockquote { padding: 0 1em; margin: 1.6em 0; }
fieldset { padding: 0 1em 1em 1em; margin: 1.6em 0; } /* padding-top is margin-top for fieldsets in Opera */

legend { padding-left:.8em; padding-right: .8em; }
legend+* { margin-top: 1em; } /* compensates for the opera margin bug */

.w-content textarea, .w-content input { padding: .3em .4em .15em .4em; }
.w-content select { padding: .1em 0 0 .2em; }
.w-content option { padding: 0 .4em; }

dt { margin-top: .8em; margin-bottom: .4em; }
ul { margin-left: 1.5em; }

ol { margin-left: 2.35em; }
ol ol, ul ol { margin-left:2.5em; }

form div { margin-bottom:.8em; }

/* COLORS */ /*
a:link { text-decoration:underline; }
a:visited { text-decoration:underline; }
a:hover { text-decoration:none; }
a:active, a:focus { text-decoration:underline; }*/
code, pre { color: #c33; } /* very optional, but still useful. W3C uses about the same colors for codes */

/* CLEARFIX */
.clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; font-size:0;}
.clearfix { display:inline-block; } /* for IE/Mac */
html[xmlns] .clearfix { display: block; }

.r_cln { clear:both; display:block; width:100%; font:normal 0/0 sans-serif; height:0; padding:0; margin:0; }
.r_cln:after { clear:both; display:block; font:normal 0/0 sans-serif; content:"..."; height:0; visibility:hidden; }

/* IMG ALIGN */
img[align=left] { float:left; margin:0 1em 1em 0; }
img[align=right] { float:right; margin:0 0 1em 1em; }

/* rx */
#l-head, #l-tail, .w-side { font-size:10px; }
#l-head h1, .w-side h1, .w-side h2, .w-side form, .w-side p { margin:0; padding:0; }
#l-head ul, #l-tail ul, .w-side ul, .box-data ul, ul.box-data { margin:0; }
#l-head ul li, #l-tail ul li, .w-side ul li, .box-data ul li, ul.box-data li { text-indent:0; margin-left:0; list-style:none !important; }
#l-head ul li:before, #l-tail ul li:before, .box-data ul li:before, ul.box-data li:before, .w-side ul li:before { content:"" !important; }
#l-head fieldset, #l-tail fieldset, .w-side fieldset, .box-data fieldset { padding:0; margin:0; border:0; }
#l-head h1, #l-tail h1, h1 { margin-top:0; }
#l-root form div { margin-bottom:0; padding:0; }
/* R */
