*{
	margin:0;
	padding:0;
	font-size:100%;
}

body{
	font-family:"frutiger linotype","lucida grande",helvetica,arial,sans-serif;
	text-align:center;
	color:#333;
	font-size: 76%;
	background: #ffffff;
}

#wrap{
	padding: 10px 20px;
	background-color: #ffffff;
}

/* General Style Info */
a{
	color:#0055bb;
	text-decoration:underline;
}
a:hover{
	color:#003d4c;
	text-decoration:none;
}
a img{
	border:none;
}
h1, h2, h3, h4{
	font-weight:bold;
}
h1{
    position: relative;
    top: 15px;
    left: 15px;
    /*
	color: #ffffff;
	font-size: 230%;
	font-style:italic;
	font-family:Georgia, "Times New Roman", Times, serif;
	padding-top: 30px;
	padding-left: 50px;
    */
}
h2{
	color: #77c591;
	margin: 0.3em 0;
	font-size: 180%;
}
h3{
	color:#CCBB66;
	margin-top:1em;
	font-size: 140%;
}
h4{
	color:#c6c65b;
	padding-top:0.5em;
	font-weight:normal;
}

em {
	font-size: 12px;
}

ul, li {
	margin: 0 12px;
}
li a:hover{
	color:#ff0000;
}

/* Layout */

#container{
	text-align:left;
	width:780px;
	margin:0 auto;
	border:1px solid #999999;
}

#header{
	padding: 0;
	margin: 0;
	background: url(../images/header_bg.jpg) no-repeat center #87a3e1;
	border-bottom: 4px solid #ccccdd;
	height: 130px;
}

#content{
	clear:both;
	margin: 0px 10px 10px 10px;
	background-color: #fff;
	color: #333;
}
#footer{
	clear:both;
	padding: 6px 10px;
	text-align: right;
	background-color: #87a3e1;
	color: #ffffff;
}

/* tables */

table {
	width: 100%;
	border: 1px solid #ccc;
	color:#333;
	background-color: #fff;
	clear:both;
	padding: 0;
	margin: 0 0 2em 0;
	white-space: normal;
}
th {
	background-color: #e2e2e2;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-right: 1px solid #003d4c;
	border-bottom: 1px solid #003d4c;
	text-align: center;
	padding: 4px;
}
table tr td {
	border-right: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	padding: 4px;
	vertical-align:top;
	text-align: center;
}
table tr.altRow td {
	background: #f4f4f4;
}
table td.actions {
	white-space: nowrap;
}
#cakeSqlLog td {
	text-align: left;
	padding: 4px 8px;
	background: #fff;
	border-bottom: 2px solid #ccc;
}

/* scaffold show */

div.related {
	clear:both;
	display:block;
}
dl {
	line-height:2em;
	margin:0em 1em;
	float:left;
	width: 400px;
}
dt {
	font-weight: bold;
	vertical-align:top;
}
dd {
	margin-left:10em;
	margin-top:-2em;
	vertical-align:top;
}

/* notices and errors */

#flashMessage, .error, .error_message {
	color:#900;
	font-size: 16px;
	background-color: #fff;
	margin: 8px 0px;
	font-weight: bold;
}
.error_message {
	clear: both;
}
.error em {
	font-size: 18px;
	color: #003d4c;
}
.notice {
	color: #656565;
	font-size: 14px;
	background-color: #f4f4f4;
	padding: 0.5em;
	margin: 1em 0;
	display:block;
}
.tip {
	color: #656565;
	background-color: #ddd;
}

/* forms */

form {
	margin-top: 2em;
}
form div{
	vertical-align: text-top;
	margin-left: 1em;
	margin-bottom:2em;
}
form div.date{
	margin-left: 0em;
}
label {
	display: block;
	width: 140px;
	font-size: 14px;
	padding-right: 20px;
}
input[type=checkbox] {
	float: left;
	clear: left;
	margin: 2px 6px 7px 2px;
}
input, textarea {
	clear: both;
	display:block;
	font-size: 14px;
	font-family: inherit;
}
select {
	clear: both;
	vertical-align: text-bottom;
	font-size: 14px;
	font-family: inherit;
}
option {
	font-size: 14px;
	font-family: inherit;
	padding: 0 0.3em;
}
input[type=submit] {
	display: inline;
	vertical-align: bottom;
}
div.required {
	clear: both;
	color:#222;
	font-weight:bold;
}
div.optional {
	clear: both;
	color:#555;
}
div.submit {
	clear: both;
	margin-top: 40px;
	margin-left: 140px;
}
/* action links */
ul.actions {
	float: left;
	margin-left:20px;
	width: 200px;
}
ul.actions li {
	margin-top: 4px;
}
pre {
	padding: 1em;
}
/* custom */
#hnavi {
    margin-bottom: 10px;
}
#hnavi ul {
    list-style: none;
}
#hnavi li {
    display: inline;
    border-left: 1px solid #999999;
    padding-left: 5px;
    margin:0;
}
#hnavi li.t {
    border: 0;
    padding-left: 10px;
}
h1 a {
    text-decoration: none;
	color: #ffffff;
}
h1 a:hover {
	color: #ffffff;
}
p.cp a {
    text-decoration: none;
	color: #ffffff;
}
dl.news {
    float: none;
    width: 480px;
    margin: 0;
    padding: 0;
}
.news dt {
	background: url(../images/h_bg.gif) 0% 50% repeat-x ;
	border: 1px solid #dddddd;
    margin: 0;
    padding: 2px 10px;
}
.news dt a {
    color: #0055bb;
}
.news dd {
    margin: 0;
    padding: 0;
}

dd.sub{
	text-align:right;
}
dd.sub a{
	color: #666666;
}
dd.desc {
    margin: 0 0 2em 0;
	padding-bottom:1em;
	border-bottom: 1px solid #999999;
}
div.list {
}
.list ul {
    width: 200px;
    border-top: 1px dotted #999999;
    margin: 0;
    padding: 5px 0 0 0;
    list-style: none;
}
.list li {
    margin: 0 0 5px 0;
    padding: 0 0 5px 10px;
    border-bottom: 1px dotted #999999;
}
.list li a {
    text-decoration: none;
}
#sidebar {
    float: left;
    width: 200px;
}
#sidebar h3{
	background-image:url(../images/sidemenu.gif);
	background-repeat:repeat-x;
	background-position:bottom;
	text-align:center;
	margin-bottom:10px;
	padding-top:5px;
	line-height:200%;
}
#sidebar h3.toplink{
	background: url("../images/bg_navir.gif") 0 100% repeat-x;
}
#main {
    float: right;
    width: 500px;
}
#main ul{
	list-style-image: url(../images/yajirushi.gif);
}
#main li{
	margin-bottom:6px;
}
h2 a, h2 a:hover, h3 a, h3 a:hover, h4 a, h4 a:hover {
    color: #8FAE57;
    color: #993300;
    text-decoration: none;
}
#main h2{
	border-left: 12px solid #4e79b4;
	border-bottom: 1px solid #4e79b4;
	padding-left:14px;
	margin: 1em 0;
	line-height:160%;
	font-weight:bold;
	color: #666666;
	background: #ffffff;
}
#main h3{
	border-bottom: 1px dashed #cccccc;
	border-top: 1px dashed #cccccc;
	background-color:#fff0e5;
	padding-left:1em;
	margin: 1em 0;
	line-height:160%;
	color: #666666;
}
#contentf {
    clear: both;
    text-align: right;
}
#contentf p a {
	background-image: url(../images/yajirushi_ue.gif);
	background-repeat: no-repeat;
	padding-left: 20px;
}

/* tagcloud */
ul.tagCloud {
	margin: 0;
	padding: 0.5em 10px;
	line-height: 1;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
}

ul.tagCloud li {
	margin: 0;
	padding: 0;
	display: inline;
	font-size: 100%;
	line-height:170%;
}

ul.tagCloud li a {
	text-decoration: none;
}

ul.tagCloud li.level6 a {
	font-size: 167%;
	font-weight: bold;
	color: #406080;
}

ul.tagCloud li.level5 a {
	font-size: 136%;
	font-weight: bold;
	color: #537CA6;
}

ul.tagCloud li.level4 a {
	font-size: 122%;
	font-weight: bold;
	color: #6699cc;
}

ul.tagCloud li.level3 a {
	font-size: 114%;
	color: #88afd7;
}

ul.tagCloud li.level2 a {
	font-size: 92%;
	color: #9ebede;
}

ul.tagCloud li.level a {
	font-size: 77%;
	color: #c6d9ea;
}

ul.tagCloud li a:hover {
	color: #000;
}

/* keyword list */
#keywordlist {
    width: 500px;
}

/* pagination */
div.pagination {
    margin: 0 0 10px 0;
	text-align:center;
}
.pagination em {
    font-style: normal;
    font-weight: bold;
}

h3 a{
	color: #ffffff;
}

h3 a:hover{
	color: #E6ADA1;
}

