@charset "utf-8";
/* CSS Document */

* {
	margin:0;
	padding:0;
	}
body {
	font-size:62.5%;
	font-family:Arial, Helvetica, sans-serif;
	background:url(images/header.jpg) top left repeat-x #fff;
	color:#002d42;
	}
#wrapper {
	font-size:1.2em;
	margin:0 auto;
	}
hr {
	height:3px;
	width:529px;
	margin:20px auto;
	border:none;
	background:url(images/rule.gif) top center no-repeat;
	}
h1 {
	font-size:1.4em;
	padding-bottom:10px;
	}
h2 {
	font-size:1.2em;
	padding-bottom:10px;
	text-align:center;
	}
a, a:visited { color:#002d42; }
p { padding:10px 0; }
#header {
	height:150px;
	background:url(images/logo.jpg) top center no-repeat;
	}
#nav {
	height:15px;
	background:url(images/nav_bg.jpg) top left repeat-x;
	font-size:1.2em;
	text-align:center;
	padding:15px 0;
	}
	#nav a, #nav a:hover {
		padding:0 20px;
		text-decoration:none;
		color:#fff;
		font-weight:bold;
		}
#main {
	background:url(images/bg_main.jpg) top left repeat-x #fff;
	}
	#main #wrapperMain {
		width:800px;
		margin:0 auto;
		position:relative;
		}
#content {
	background:url(images/content_main-top.gif) top center no-repeat;
	width:631px;
	float:left;
	margin-top:12px;
	}
	#content #box {
		background:url(images/content_main-btm.gif) bottom center no-repeat;
		padding:18px;
		text-align:justify;
		}
	#content #pics {
		margin-top:35px;
		text-align:center;
		}
#sidebar {
	margin-left:635px;
	width:163px;
	}
	#sidebar #login {
		background:url(images/login-panel.gif) top left no-repeat;
		height:121px;
		padding:30px 10px 18px 24px;
		color:#fff;
		}
		#sidebar #login p { padding:4px 0; }
		#sidebar #login label {
			width:30%;
			text-align:right;
			padding:3px 2% 0 0;
			display:block;
			float:left;
			}
		#sidebar #login input {
			width:65%;
			border:1px solid #002d42;
			}
		#sidebar #login #submit {
			margin:10px auto 0;
			text-align:center;
			}
			#sidebar #login #submit input {
				background:#9ba4aa;
				border:1px solid #002d42;
				border-width:1px 2px 2px 1px;
				color:#002d42;
				font-size:0.8em;
				padding:2px 0;
				cursor:pointer;
				}
	#sidebar #news {
		background:url(images/content_side-top.gif) top right no-repeat;
		height:200px;
		position:relative;
		top:12px;
		}
		#sidebar #news #newsBox {
			background:url(images/content_side-btm.gif) bottom right no-repeat;
			padding:18px 14px 18px 28px;
			font-size:0.8em;
			text-align:justify;
			}
			#sidebar #news #newsBox .more { text-align:right; }
#footer {
	font-size:0.8em;
	text-align:center;
	clear:both;
	}
    
.error {
    color: red;
}

.error ul {
    padding: 20px;
}

.notice {
    padding: 20px 0;
    color: #000;
    font-weight: bold;
}
    
.gallery img, #gallery img {
    padding: 3px;
    background: #fff;
}

#gallery ul {
    padding: 0;
    margin: 0;
    list-style-type: none;
    list-style-image: none;
}

#gallery ul li {
    float: left;
    margin: 10px 5px 10px 0;
    padding: 5px 15px 5px 0;
    text-align: center;
}

#gallery ul li .thumb {
    font-size: .9em;
    font-family: Georgia, serif;
    color: #000;
    text-align: center;
}

#gallery ul li .title {
    font-size: .9em;
    font-family: Georgia, serif;
    color: #78715e;
    text-align: center;
    margin: 3px 0;
}

#gallery ul li .thumb a {
    color: #333;
}

#gallery-items {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

#gallery-ul {
    padding: 0;
    margin: 0;
}

#gallery-ul .galleries {
    float: left;
    list-style-type: none;
    margin-left: 10px;
    width: 130px;
    text-align: center;
}

.galleries h2 {
    margin: 5px;
}

.galleries p {
    text-align: left;
}


.img-insert {
    float: left;
    margin: 5px 10px 5px 0;
}

/** pagination ****
*****/

#pagination {
    width: 70%;
    margin: 20px auto;
    text-align: center;
}

#pagination span {
    margin: 0 5px;
}

#pagination span a {
    text-decoration: none;
    padding: 2px 5px;
    border: 1px solid #FFF;
    background-color: #CCC;
    color: #000;
}

#pagination span a:hover {
   background-color: #aaa;
}