/* Main rules */

body { font: 76% Arial, Helvetica, sans-serif; padding: 0; margin: 15px 0; background-color: #8CC347; color: #000000; text-align: center; }
a { color: #196900; text-decoration: underline; }
a:hover { color: #239600; }
h1, h2, h3, h4 { margin-top: 0; color: #239600; }
h2 { font-size: 200%; font-weight: normal; text-transform: uppercase; padding: 18px 0px 18px 25px; margin: 0; }
h3 { font-size: 160%; }
h4 { font-size: 100%; }
hr { display: none; }
img { vertical-align: bottom; }
p, ul, ol, dl, table { margin-top: 0; margin-bottom: 2em; line-height: 1.6em; }
ul ul { margin-bottom:0.5em; }
dt { font-weight: bold; }
table, th, td { font-size: 100%; border-collapse: collapse; }
table { border: 2px solid #ccc; }
th, td { padding: 0.5em; border: 1px solid #eee; }
th { background: #eee; border-color: white; }
td { background: white; }
caption { color: #A6560F; text-align: left; font-size: 120%; font-weight: bold; }
.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: 0 10px 10px 10px; text-align: left; background:#239600 url("img/mother-line.jpg") top left repeat-x; }

/* Header */
#header { height: 90px; }
#header h1 { font-size: 220%; }
#header h1 a { padding: 15px 0 0 35px; color: white; display: block; }

#css-switch { margin: 0; padding: 0.3em 0; text-align: right; color: white; }
#css-switch a { color: white; }

/* Main menu */
#menu-main { margin-bottom: 25px; font-size: 120%; font-weight: bold; }
#menu-main li { border-top: 1px solid #ccc; border-right: 1px solid #ccc; background: #eee; }
#menu-main a, #menu-main span { padding: 0.62em 14px; display: block; color: #2A0F9D; _height: 1px; }
#menu-main span { color: black; font-weight: bold; cursor: default; }
#menu-main a:hover, #menu-main a:active, #menu-main a:focus { background: #ddd; color: #2A0F9D; }
#menu-main a { padding-left: 15px; }
#menu-main li li { border-right: none; background: white; }
#menu-main .last a, #menu-main .last span { border: none; }
#menu-main ul { list-style: none; margin: 0; padding: 0;}
#menu-main ul ul { font-size: 92%; }
#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%; }
#menu-main ul ul a:hover { background:  url("img/link2.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: 0; min-height: 450px; background: white; repeat-y 0 0; }

/* News */
#news { background-color: transparent; margin: 0px; }
#news .item { padding: 14px; }
#news p, #news h3 {  margin-bottom: 0.6em; }
#news h3 { font-size: 120%; clear: both; }
#news h3 span { font-weight: normal; font-size: 80%; color: #1278E2; }
#news p { padding-right: 0.5em; }
#news p.more { text-align: right; }
#news.subpage p { margin-bottom: 1.3em;  }

/* Perex */
#perex { font-weight: bold; padding: 1.6em 25px 1.6em; background: #E1EFD1; font-size: 120%; }
#perex p { margin: 0; padding: 0; }

/* 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; }


/* Poll */
.pollform { padding: 0 0 3em 35px; font-size: 92%; color: #666; }
#col-l .pollform p { padding-left:0; }
.pollform h3 { margin-bottom: 0.35em; padding: 0.3em 0; color: #0F75DF; }
.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; text-align: right; background: #8CC348; color: #0F3F00; }
#footer a { color: #0F3F00; }
#footer a:hover { color: black; text-decoration: underline; }
#footer span { float: left; width: 25%; text-align: left; }

/* Columns */
#col-l { width: 190px; float: left; padding-bottom: 20px; }
#col-l p { padding-left: 35px; }
#col-r { width: 748px; float: right; }
#col-r h2 { background-color: #FFFFFF; border: 0px; }
#col-r .spc { padding: 25px 25px; _height: 1px; text-align: justify; }
#col-r #col-cont-l .spc { text-align: justify; }
#col-cont-l { width: 465px; float: left; border-right: 1px solid #ccc; }
#col-cont-r { width: 282px; float: right; }
#col-cont-r h2 { background-color: transparent; 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 img { float: left; margin: 0 20px 20px 0; }
#crossroad .no-image { padding-left: 178px; }
#crossroad .news { padding-bottom: 15px; margin-bottom: 15px; border-bottom: 1px dotted #ddd; _height: 1px; min-height: 1px; }
#crossroad .more { margin: 0; }

/* Gallery */
#gallery { margin-right: -25px; _height: 1px; min-height: 1px; }
#gallery a { display: block; width: 170px; padding: 4px; _height: 148px; min-height: 148px; float: left; margin: 25px; margin-top: 0; font-size: 92%; text-decoration: none; border: 1px solid #ddd; text-align: center; _display: inline; }
#gallery img { display: block; margin: 0 auto 3px auto; border: none; }
#gallery span.break {display:block; float:none; clear:both; width:95%; height:1px; font-size:1px; margin:0; padding:0; border:0;}

/* Map */
#map { border: none; }

table.th-right th { text-align: right; }
ul p.center img { margin-top: 1.5em; }

.break { clear: both; }
.bold { font-weight: bold; }
.out { position: absolute; left: -3000px; }
.right { text-align: right; }
.center { text-align: center; }
.l { float: left; }
.r { float: right; }
img { border: 3px solid #239600; padding: 1px; background: white; color: black; }
img.left, img.right { margin: 1.5em; margin-top: 0; clear: both; }
img.left { float: left; margin-left: 0; }
img.right { float: right; margin-right: 0; }
.no-margin { margin: 0; }
.no-border { border: none; padding: 0; background: none; }
.files { margin: 0 0 1.6em 0; padding: 0; list-style: none; }
.blue { color: #1178DF; }

/* icons */ 
.ico { padding: 0 0 0.3em 23px; background: url("img/ico/noname.gif") no-repeat 0 50%; }
ul.ico { list-style-type:none; background-image:none; }
.ico-pdf { background-image: url("img/ico/pdf.gif"); }
.ico-doc { background-image: url("img/ico/doc.gif"); }
.ico-xls { background-image: url("img/ico/xls.gif"); }
.ico-jpg { background-image: url("img/ico/jpg.gif"); }
.ico-gif { background-image: url("img/ico/gif.gif"); }
.ico-rss { background-image: url("img/ico/rss.png"); }

/* by agent_orange */
#gal-list {
	text-align:center;
}