/* Resets default CSS rules */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td 
{
  margin: 0px;
  padding: 0px;
  border: none;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  background: transparent;
}

:focus { outline: 0; }
body { line-height: 1; color: black; background: white; }
ol, ul { list-style: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* Default rules */
body 
{  
  font-family: Times, "Times New Roman"; 
  font-size: 12pt;
  background-color: #FFF;
  color: #000;
}

strong { font-weight: bold; }
a { color: #15047E; text-decoration: underline; }
p { margin-bottom: 10px; line-height: 1.1em; }

div#grid { margin: 10px; }
table#alapos_layout { width: 100%; }
td#alapos_left_column { height: 100%; vertical-align: top; }
td#alapos_right_column { width: 400px; height: 100%; vertical-align: top; padding-left: 10px; }
td#alapos_right_column>table { width: 400px; }
td#alapos_header p { text-align: center; padding: 10px 20px; }
td#alapos_header h1 { text-align: center; font-size: 250%; margin: 20px 0px; color: #B2020E; }

td#alapos_header ul.menu { text-align: center; margin-bottom: 5px; }
td#alapos_header ul.menu li { display: inline; margin: 0px 10px; }
td#alapos_header ul.menu li a { text-decoration: none; }

td#alapos_sidebar { background-color: #F0A000; }

div.alapos_box { background-color: #E0E000; padding: 5px; margin-bottom: 10px; }
div.alapos_box h2 { font-size: 120%; margin-bottom: 10px; }
div.alapos_box ul { margin-left: 10px; }
div.alapos_box ul li { margin-bottom: 10px; }

div.alapos_ad p { text-align: center; }
div.alapos_footer p { text-align: center; margin-top: 10px; }
div.footer { width: 100%; padding-top:10px; text-align: center; color: #777; }
div.footer a { color: #777; }

h2.main { text-align: center; font-size: 150%; margin-bottom: 20px; }
div.alapos_post { margin-bottom: 20px; padding-bottom: 10px; border-bottom: dashed 1px #15928B; }
div.alapos_post h2 a { color: #15928B; font-size: 120%; }
div.alapos_post p { margin: 10px 0px; }
div.alapos_post div.article_date { color: #666666; font-size: 80%; }
p.archive { text-align: center; padding: 5px; }
p.archive a { color: #000; font-size: 120%; }

/* Wireframe */
table.wireframe { width: 100%; height: 100%; }
table.wireframe td.w_angle { width: 16px; height: 16px; display: block; }
table.wireframe td.w_angle img { display: block; }
table.wireframe td.w_content { width: 100%; height: 100%; }
table.wireframe td.w_top_border { height: 16px; width: 100%; vertical-align: top; }
table.wireframe td.w_top_border img { width: 100%; height: 3px; display: none; }
table.wireframe td.w_bottom_border { width: 100%; vertical-align: bottom; }
table.wireframe td.w_bottom_border img { width: 100%; height: 3px; display: none; }
table.wireframe td.w_left_border { height: 100%; width: 3px; vertical-align: top; }
table.wireframe td.w_left_border img { height: 100%; width: 3px; display: none; }
table.wireframe td.w_right_border { height: 100%; width: 3px; vertical-align: top; text-align: right; }
table.wireframe td.w_right_border img { height: 100%; width: 3px; display: none; }

table.wireframe td.w_left_border
{ 
  background: transparent url("wireframe/v_border.png") top left repeat-y; 
}

table.wireframe td.w_right_border
{  
  background: transparent url("wireframe/v_border.png") top right repeat-y; 
}

table.wireframe td.w_top_border 
{
  background: transparent url("wireframe/h_border.png") top left repeat-x;
}

table.wireframe td.w_bottom_border
{  
  background: transparent url("wireframe/h_border.png") bottom left repeat-x;
}
