/* Main rules */

body { padding: 0; margin: 15px 0; background-color: #8CC347; color: #000000; text-align: center; }
.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: 190px; background: url("img/header.jpg") no-repeat 0 0; }
#header h1 { margin: 0 0 0 340px; font-size: 25px; width: 380px; height: 45px; padding-top: 138px; }
#header a { width: 370px; height: 40px;	display: block;	text-decoration: none; }
#header span { overflow: hidden; visibility: hidden;display: none; }

#css-switch { margin: 0; padding: 0.3em 0; text-align: right; color: white; }
#css-switch a { color: white; }

/* Main menu */
#menu-main { padding-left:19px; margin-bottom: 25px;}
#menu-main a, #menu-main span { padding: 0.62em 14px; display: block; text-decoration: none; color: #2A0F9D; _height: 1px; }
#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: #ACE2FF url("img/menu-line.gif") repeat-x left bottom; color: #2A0F9D; }
#menu-main a { padding-left: 15px; }
#menu-main li { background: transparent url("img/menu-line.gif") repeat-x left bottom; }
#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 { padding: 0.5em 0; background: #D6F1FF; 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-color: #ACE2FF; background: #ACE2FF 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 url("img/content-line.gif") repeat-y 0 0; }
.homepage #content { background-image: url("img/content-line-home.gif")  }

/* News */
#news { background-color: transparent; margin: 0px; }
#news .item { padding: 14px; color: #515151; }
#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;  }
#col-cont-r #news p { font-size: 92%; }

/* Perex */
#perex { font-weight: bold; padding: 1.6em 25px 1.6em; background: #eee; background: #E1EFD1; }
#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; min-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; }
#gallery span.break {display:block; float:none; clear:both; width:95%; height:1px; font-size:1px; margin:0; padding:0; border:0;}

/* 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; font-size: 92%; 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; }
#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: 466px; float: left; }
#col-cont-r { width: 282px; float: right; }
#col-cont-r h2 { background-color: transparent; border: 0px; }
#col-l form { border: none; background: none; }

/* 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; }

/* Map */
#map { border: none; }

table.th-right th { text-align: right; }
ul p.center img { margin-top: 1.5em; }


#gal-list {
	text-align:center;
}