/* Main rules */

body { padding: 15px 0 0; margin: 0; background: #8CC348 url("img/body-line.jpg") repeat-x 0 0; text-align: center; }
hr { display: none; }
.spc:after, #crossroad .news:after, #gallery:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }	/* auto break */

/* Mother */
#mother, #footer { width: 940px; margin: 0 auto; padding: 10px; text-align: left; background:#E4CB95 url("img/mother-line.jpg") top left repeat-x; }

/* Header */
#header { height: 240px; background: url("img/header.jpg") no-repeat 0 0; }
#header h1 { margin-left: 340px; font-size: 25px; width: 292px; height: 40px; }
#header a { width: 290px; height: 38px;	display: block;	text-decoration: none; }
#header span { overflow: hidden;	visibility: hidden;	display: none; }

/* Main menu */
#menu-main { margin-bottom: 30px; }
#menu-main a, #menu-main span { padding: 0.62em 14px; display: block; text-decoration: none; color: #E52F06; border-bottom: 1px solid #D7AEA8; _height: 1px; background: url("img/link1.gif") no-repeat 5px 50%; }
#menu-main span { background: #800000 url("img/menu.png") repeat-x 0 0; color: white; font-weight: bold; cursor: default;}
#menu-main a:hover, #menu-main a:active, #menu-main a:focus { background: #E8D0A4 url("img/link1-over.gif") no-repeat 5px 50%; color: #E52F06; }
#menu-main a { padding-left: 19px; }
#menu-main li { background: #FFFCDF url("img/menu-line.png") repeat-y 0 0; }
#menu-main li.active { background: #E8D0A4; }
#menu-main li li { background: none; }
#menu-main .last a, #menu-main .last span { border: none; }
#menu-main ul { list-style: none; margin: 0; padding: 0; }
#menu-main ul ul { background: #F5E4BC; }
#menu-main ul ul a, #menu-main ul ul span { padding-left: 26px; border: none; }
#menu-main ul ul a { background: url("img/link2.gif") no-repeat 14px 50%; color: #E52F06; }
#menu-main ul ul li.active { background: #E8D0A4 url("img/link1-over.gif") no-repeat 12px 50%; }
#menu-main ul ul li.active a { background: none; }
#menu-main ul ul a:hover { background: #E8D0A4 url("img/link2-over.gif") no-repeat 14px 50%; }
#menu-main ul ul a.out { background-image: url("img/link_out.gif"); background-position: 10px 45%; }

/* Content */
#content { width: 940px; padding: 0px 0 3em; min-height: 200px; background: white url("img/content-line.gif") repeat-y 0 0; }

/* News */
#news { background-color: #F8F1E2; margin: 8px; }
#news .item { padding: 12px; border-bottom: 3px solid white; color: #515151; }
#news p, #news h3 {  margin-bottom: 0.8em; }
#news h3 { font-size: 120%; clear: both; text-align: left; }
#news h3 span { font-weight: normal; font-size: 80%; color: #C9982B; }
#news p { padding-right: 0.5em; }
#news p.more { text-align: right; }
#news.subpage p { margin-bottom: 1.3em;  }

/* Perex */
#perex { font-weight: bold; }
#perex p { margin-bottom: 2.5em; }

/* Service */
.service { padding: 10px 10px 0; width: 400px; border: 2px solid #999; margin-bottom: 1.8em; }
.service h4, .service p, .service ul, .service table { margin-bottom: 10px; }
.service img { margin-right: 5px; }
.service h4 { padding: 8px 10px; margin: -10px -10px 10px; background: #aaa; color: white; _height: 1px; }

/* Notice */
#notice { margin: 0;  padding: 0; list-style: none; }
#notice li { padding-left: 30px; height: 40px; background: url("img/ico-doc.gif") no-repeat 0 0; }
#notice li a { font-weight: bold; }

/* Poll */
.pollform { padding: 0 0 3em 19px; font-size: 92%; }
.pollform h3 { margin-bottom: 0.35em; padding: 0.3em 0; background: #F8EFCB; color: #C8972A; }
.pollform img { border: none; vertical-align: middle; }
.pollform table, .pollform td { border: none; background: #eee; } 
.pollform ul { margin: 0; padding: 0; list-style: none; }
.pollform li { margin-bottom: 4px; }
.pollform a { color: #616161; text-decoration: none; display: block; margin-bottom: -4px; }
.pollform a:hover { color: black; text-decoration: underline; }

/* Footer */
#footer { padding-top: 0.5em; font-size: 92%; text-align: right; background: #8CC348; color: #FFFFFF; }
#footer a { color: #FFFFFF; text-decoration: none; }
#footer a:hover { color: black; text-decoration: underline; }
#footer span { float: left; width: 25%; text-align: left; }

/* Columns */
#col-l { width: 190px; float: left; }
#col-r { width: 748px; float: right; }
#col-r h2 { background-color: #EFE0BF; border-right: 1px solid #EFE0BF; border-bottom: 1px solid #E5CDAF; }
#col-r .spc { padding: 25px 25px; min-height: 100px; _height: 100px; text-align: justify; background: url("img/content.jpg") repeat-x 0 1px; border-right: 1px solid white; }
#col-r #col-cont-l .spc { border-right: 1px solid #EFE0BF; text-align: justify; }
#col-r #col-cont-l h2 { border: none; }
#col-cont-l { width: 466px; float: left; }
#col-cont-l .spc { background: none; border: none; }
#col-cont-r { width: 282px; float: right; }
#col-cont-r h2 { background-color: #E4CB95; border: 0px; }
.col-33-l, .col-33-r , .col-50-l, .col-50-r { width: 32%; margin-right: 1%; float: left; _display: inline; }
.col-33-r, .col-50-r { margin-left: 1%; float: right; }
.col-50-l, .col-50-r { width: 48%; }

/* Crossroad */
#crossroad h3 { text-align: left; }
#crossroad img { float: left; margin: 0 20px 20px 0; }
#crossroad .no-image { padding-left: 178px; }
#crossroad .news { padding-top: 20px; margin-bottom: 15px; border-top: 1px dashed #ccc; _height: 1px; min-height: 1px; }
#crossroad .more { margin: 0;  }
#crossroad .first{ padding-top: 0; border: none; }

/* Gallery */
#gallery { margin-left: -10px; margin-right: -22px; _height: 1px; min-height: 1px; }
#gallery a { display: block; width: 170px; padding: 4px; height: 152px; float: left; margin: 0 0px 15px 0; font-size: 92%; text-decoration: none; text-align: center; _display: inline; }
#gallery img { display: block; margin: 0 auto 3px auto; }

/* MISC */
.files { margin: 0 0 1.6em 0; padding: 0; list-style: none; }
p.more a { padding-right: 10px; background: url("img/link2.gif") no-repeat 100% 65%; }
a.out { padding-right: 15px; background: url("img/link_out.gif") no-repeat 100% 45%; }

/* by agent orange 8.2009 */
ul#gallery-menu {
	list-style-type:square;
}

ul#gallery-menu li.gallery-selected a {
	color:black;
	text-decoration:none;
}

/* by agent_orange */
p#rss img { border:0; text-decoration:none; }
h1#top { font-size:1.5em; font-weight:normal;}