body, ul, h4, h3, h1, p {
    margin:0;
    padding:0;
}
body { font-size:16px; }
img, hr{ border:0; }
hr { margin:3px 0 3px 0; height:1px; }

p { margin-bottom: 10px; }

div.mainline { font-size:1px; width:100%; height:5px; background:#2c6bba url(/img/mainline.gif) no-repeat; }

.foot { clear:both; }

#maintable { border-collapse:collapse; width:100%; height:100%; }
#maintable td { vertical-align:top; }

/* LOGO */
#logo { font:bold 0.8em verdana; color:#555353; padding: 5px 5px 10px 10px; width:auto; }
#logo h1 span{ display:none; }
#logo h1 { background:url(/img/logo.gif) no-repeat; width:141px; height:67px; padding:0; }
#logo span { padding-left:70px; }
#logo a { float:left; width:141px; height:67px;}

/* TOP MENU */
.topmenu { float:right; background:url(/img/bg_tm.gif); height:24px; word-spacing:5px; padding:3px 10px 0 10px; margin-left:1px; }
.topmenu a { font:bold 0.9em arial; text-decoration:none; color:#FFF;}
#login.topmenu { background:url(/img/bg_tm_g.gif); }

#banner-top { width:100%; }

/* MAIN MENU */
#leftside { width:180px; padding-top:30px; padding-left:5px; }
#mainmenu { width:160px; list-style:none; font:0.8em verdana, tahoma, arial; }
#mainmenu ul { list-style:none; }
#mainmenu li{ margin-bottom:1px; padding:15px 0 10px 10px; background-color:#558acb; }
#mainmenu li ul li{ padding:10px 0 0 0; background-color:#558acb; }
#mainmenu a{ color:#ffffff; text-decoration:none }
#mainmenu a:hover{ text-decoration:underline }
#mainmenu h4{ font-size:0.9em; }
#mainmenu h4 a{ color:#ffffff; text-decoration:underline }
#mainmenu h4 a:hover{ text-decoration:none; }

/* BODY */
#body { font:0.9em arial, sans-serif; color:#373636; width:99%; }
#body h1{ font-size:1.5em; color:#0a9c03; font-weight:normal; text-align:left; margin-bottom:10px; }
#body .red { color:#df0a0b }
#body .green { color:#0a9c03 }
#body .blue { color:#2c6bba }
#body .black { color:#373636 }

#body h2, #body h3{ font-size:1.1em; text-align:left; padding:10px 0 5px 0; }
.da { font-size:0.8em; color:#888 }
span.it { color:#215ca5 }
.edate { background-color:#d1eccf; text-align:left }
#body pre { font-family:monospace; font-size:1.2em; }
#body ul, ol { margin:15px 0 15px 30px }
#body p img { margin:5px 10px 5px 0; }

div.lstep { margin-left: 30px; }

img.imgleft { float:left; margin:0 15px 15px 0; }

/* TABLES in text */
table.table_border {border-collapse: separate; background-color:#acafbb; margin:15px 0 15px 0; }
.table_border td, th { padding:3px }
.table_border TH { background-color:#e5eee5; font-weight:normal; color:#2c6bba; text-align:center }
.table_border TR { background-color:#FFFFFF }

/* FORMS */
input, textarea, select { font: 0.9em verdana, tahoma, arial; }

/* BIG */
table.f_b { border-collapse:collapse; width:100%; }
.f_b td { padding:10px; text-align:left }
.f_b td.f_t { width:210px;  }
p.f_b { margin-left:230px; }
.f_b input, .f_b select { width:260px; }
.f_b textarea { width:100%; }
/* SMALL */
.f_s td.f_t { width:100px; padding-bottom:5px; }
.f_s td.f_t div{ white-space:nowrap; }
p.f_s { margin-left:110px; }
.f_s input, .f_s textarea, .f_s select { width:200px; }

.t_i { text-align:left }
.t_i td.i_t { width:150px; padding-bottom:5px; color:#2c6bba; } /* item */

input.c { width:auto; border:none }
input.b { height:24px; width:110px; }

/* SUBSCRIBE FORM */
input.sf  { height:15px;width:140px; border: 1px solid #c4d3c4; float:left}
input.sf_b { width:22px;height:18px; margin:0 0 0 3px; }

/* ERRORS */
div.errors { width:500px; border:solid 3px #df0a0b; padding:15px; }

/* FORMS */
table.form { width:550px; }
#body .form input, #body .form textarea { width:95%; }
#body .form input.c { width:auto; }
#body .form input.dt { width:70px; }
#body .form input.calendar-input { width:70px; }
#body .form input.calendar-button { width:20px; }

/* CONTROLS */
#body p.controls a:visited{ color:#215ca5 }

/* BODY LINKS */
#body a{ color:#215ca5;  }
#body .main a:hover{ text-decoration:none }
#body .main a:visited, #body .ranons a:visited{ color:#a0a0a0 }
#body h2 a{ color:#373636 }

/* BLOCKS */
div.block { clear:both; padding:20px; padding-top:30px }
div.main { float:left; width:100%; margin-right:-200px; }
div.main_c { margin-right:200px; text-align:justify }
div.side { float:right; width:200px; }

div.main_2 { float:left; width:100%; margin-right:-40%; }
div.main_c_2 { margin-right:40%; text-align:justify }
div.side_2 { float:right; width:40%; }

div.main_3 { float:right; width:100%; margin-left:-40%; }
div.main_c_3 { margin-left:40%; text-align:justify }
div.side_3 { float:left; width:40%; }

div.block_red, div.block_blue, div.block_green { padding:10px; margin-bottom:10px; background-color:#f7f7f7; border-top: dashed 1px #df0a0b; }
div.block_blue { border-top: dashed 1px #2c6bba; }
div.block_green { border-top: dashed 1px #0a9c03; }

/* RIGHT MENU */
#r_menu { padding-left:17px; font-size:0.85em; }
#r_menu hr{ border-top:dotted 1px #2c6bba; }
#r_menu p{ margin:5px; }
#r_menu a{ text-decoration:none }
#r_menu a:hover{ text-decoration:underline }
#r_menu img.rm_ar { padding:10px 10px 0 0; float:left; }
#r_menu div.top{ height:22px; background: #2762ab url(/img/rm_bg.gif); color:#fff; padding:10px 10px 0 10px;}
#r_menu div.mid { background-color:#e5eee5; padding-right:5px; border-bottom:dotted 1px #2c6bba; }
#r_menu div.foot { background-color:#ccd9cc; padding: 15px 0 15px 0; }
#r_menu .foot p { margin-left:15px }
#r_menu ul { list-style-image: url(/img/grey_arrow.gif); }
#r_menu .foot ul { list-style-image: url(/img/blue_arrow.gif); }

/* CALENDAR */
#calendar { font-size:0.9em; text-align:center; width:100%;}
#calendar a{ color:#373636; text-decoration:underline; }
#calendar a:hover{ text-decoration:none; }
#calendar td{ height:20px; vertical-align:middle; }
#calendar .weekend { font-weight: bold; color:#2c6bba; text-align:center; }
#calendar .weekend a{ font-weight: bold; color:#2c6bba; }
#calendar .today { background-color:#ccd9cc; }
#calendar .today_weekend { font-weight: bold; background-color:#ccd9cc; }
#calendar .today_weekend a{ font-weight: bold; color:#2c6bba; }

/* RIGHT ANONS */
#body .ranons { padding-left:20px; margin-bottom:20px; }
#body div.side_3 .ranons { padding-right:20px; padding-left:0; margin-bottom:20px; }
#body .ranons a{ text-decoration:underline }
#body .ranons a:hover{ text-decoration:none }

.r_bg_blue, .r_bg_red, .r_bg_green { text-align:left; background-color:#f7f7f7; padding:15px 5px 15px 5px; border-top: dashed 1px #2c6bba; }
.r_bg_red { border-top: dashed 1px #df0a0b; }
.r_bg_green { border-top: dashed 1px #0a9c03; }

/* BOTTOM LINK | SERVICES*/
#body .bottomlink, #body .services, #body .ways { font-size:0.85em; }
#body .bottomlink a, #body .services a, #body .ways a{ text-decoration:none; }
#body .bottomlink a:hover, #body .services a:hover, #body .ways a:hover{ text-decoration:underline }
.bottomlink { margin-bottom:10px; }
#body .bottomlink a, #body .bottomlink a:visited{ color:#555353; }
div.services { padding: 25px 0 25px 0; }
.services hr{ border-top:solid 1px #2c6bba; width:200px; text-align:left }
#body .services a:visited{ color:#215ca5 }
p.pages, p.sorting { margin-left:20px; font-size:0.85em }
#body p.pages img { margin:0; }

/* ADVERT */
div.c_adv { float:right; width:200px; margin:10px; }
div.b_adv { clear:both; margin:10px 30px 20px 0; text-align:right; }
div.b_adv_middle { clear:both; padding-top:30px; text-align:center; }

/* S SEARCH*/
div.search { background-color:#d8e0ea; padding:20px; margin-top:20px; text-align:center }

div.cnt { float:right; margin:25px; }
div.footer { margin:10px 0 0 77px; width:690px; padding:5px; font: 0.7em verdana; }
.footer a { color:#215ca5; text-decoration:none }
.footer a:hover { text-decoration:underline }

/* DEBUG */
#debug { padding:10px; margin:10px; border:dashed 2px #f77; background-color:#f1f1f1; color:#000; }