
/*
Design by Free CSS Templates
http://www.freecsstemplates.org
Released for free under a Creative Commons Attribution 2.5 License
*/

body {
	margin: 0;
	padding: 0;
	/*background: #1F2021;*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #757575;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-weight: normal;
	/*color: #221D1D;*/
	color: #0078FF;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 2.4em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #BBBBBB;
}

a:hover {
}

#wrapper {
	/*width: 960px;*/
	margin: 0 auto;
	padding: 0;
}

/* Header */

.header {
    /*width: 942px;*/
    height: 70px;
    margin: 0 auto;
    margin-top: 45px;
    background: #9A73C0;
    /*-moz-border-radius: 16px 19px 0 0;
    -webkit-border-radius: 16px 19px 0 0;
    border-radius: 16px 19px 0 0;*/
}
@media (max-width:600px) {
    .header {
        margin-top: 15px;
        height: auto;
        /*padding-bottom: 5px;*/
    }
}

/* Logo */

#logo {
	/*float: left;*/
	/*height: 40px;*/
	margin: 0;
	color: #FFFFFF;
	width: 50%;
    margin-top: -5px;
    position: absolute;
}

@media (max-width:600px) {

    #logo {
        margin-left: 130px;
    }
}

#logo h1, #logo p {
	margin: 0;
	padding: 0;
}

#logo span.title {
	/*float: left;
	padding-left: 20px;*/
	letter-spacing: -1px;
	text-transform: lowercase;
	font-size: 3.8em;
    text-align: center;
    margin-top: -7px
}

#logo p {
	float: left;
	margin: 0;
	padding: 26px 0 0 10px;
	font: normal 14px Georgia, "Times New Roman", Times, serif;
	font-style: italic;
	color: #FFFFFF;
} 

#logo p a {
	color: #FFFFFF;
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #FFFFFF;
}


#header-title{
    /*clear: both;*/
    margin: 0;
    margin-top: -25px;
    /*position: absolute;*/
    margin-left: 70px;
    text-align: center;
}

#header-logo-hakko {
    display: block;
    float: right;
    /*width: 50%;*/
    margin: 0px 0 0 0px;
    margin-top: 17px;
    margin-right: 10px;
    text-align: right;
}
#header-logo-hakko img {
    width: 70%;
    max-width: 350px;
}
@media (max-width:600px) {
    #header-logo-hakko {
        float: none;
        margin-left: 130px;
        padding-top: 60px;
    }
}

/* Search */

#search {
	float: right;
	width: 280px;
	height: 60px;
	padding: 20px 0px 0px 0px;
	background: #323435;
	border-bottom: 4px solid #0974C4;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 10px 0 0 20px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 170px;
	padding: 6px 5px 2px 5px;
	border: none;
	background: #FFFFFF;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #464032;
}

#search-submit {
	width: 50px;
	height: 23px;
	border: 1px solid #525252;
	background: #525252;
	font-weight: bold;
	font-size: 10px;
	color: #FFFFFF;
}

/* Menu */

#menu {
	width: 940px;
	height: 36px;
	margin: 0 auto;
	padding: 0;
	background: #993399;
	background-image: -moz-linear-gradient(center top, #993399, #660066);/*FF*/
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#993399', endColorstr='#660066');/*IE*/
    background: -webkit-gradient(linear, left top, left bottom, from(#993399), to(#660066));/*OTHER*/
    background-image: linear-gradient(to bottom, #993399, #660066);/*IE 10*/
}

#menu ul {
	margin: 0px 0px 0px 10px;
	padding: 0;
	list-style: none;
	line-height: normal;
	overflow: auto;
}

#menu li {
	float: left;
}

#x_menu {
	background-position: 0% 0%;
    width: 942px;
	height: 36px;
	padding: 0;
	/*background-color: #087CF4;
    background-repeat: repeat;
    background-attachment: scroll;*/
    /*background-image: linear-gradient(to bottom, #993399, #660066);/*FF* /*/
    /*IE 10*/
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    background: #9A73C0;
}

#x_menu ul {
	
	padding: 0;
	list-style: none;
	line-height: normal;
	overflow: auto;
	text-align: center;
}

#x_menu li {
	float: left;
	width: 157px;

    border-top: 2px solid white;
    padding-top: 2px;
}

#x_menu li.selected {
    border-top: 4px solid #252525;
    padding-top: 0;
    background-color: #545454;
    height: 32px;
}

#x_menu ul li a {
	display: block;
	height: 24px;
	margin-bottom: 10px;
	padding: 7px 20px 0;/*10px 20px 0px 20px;*/
	text-decoration: none;
	text-align: center;
	/*text-transform: uppercase;*/
	/*font-family: Mistral, Arial, Helvetica, sans-serif;
	font-size: 17px;*/
    font-size: 12px;
	font-weight: bold;
	color: #FFFFFF;
	border: none;
	/*border-bottom: 3px solid #993399;/*ADDED*/*/
}

/*@media only screen and (max-width : 800px) {
    #x_menu {
	
        background: red;
        width: 100%;
    }

}*/

#x_menu li a.submenu {
    /*background-image: linear-gradient(to bottom, #550055, #220022);*//*FF*/
    /*IE 10*/
    }

 * html ul li a {
    width: 1%;
}


#x_menu a:hover, #x_menu .current_page_item a, #x_menu li a.submenu:hover {
	text-decoration: none;
	
	/*FF*/
	background-color: #4B4B4B;
    background-image: linear-gradient(to bottom, #2C2C2C, #3c3c3c);/*IE 10*/
    /*OTHER*/    
    }

#x_menu .current_page_item a {
	background: #2C2C2C;
	color: #FFFFFF;
}

/* Page */

#page
{
    /*width: 920px;*/
    margin: 0 auto;
    padding: 10px;
    
    /*background-color: #E9E9E9;*/
    min-height: 500px;
    border-left: 1px solid #bbbbbb;
    border-right: 1px solid #bbbbbb;
}

#page-bgtop {
	padding: 20px 0px;
}

#page-bgbtm {
}

/* Content */

#content {
	float: right;
	width: 620px;
	padding: 0px 0px 0px 0px;
}

.post {
	margin-bottom: 15px;
}

.post-bgtop {
}

.post-bgbtm {
}

.post .title {
	margin-bottom: 10px;
	padding: 12px 0 0 0px;
	letter-spacing: -.5px;
	color: #0078FF;
}

.post .title a {
	color: #0078FF;
	border: none;
}

.post .meta {
	height: 30px;
	border-bottom: 1px solid #292929;
	margin: 0px;
	padding: 0px 0px 0px 0px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: bold;
}

.post .meta .date {
	float: left;
	height: 24px;
	padding: 3px 15px;
	color: #BBBBBB;
}

.post .meta .posted {
	float: right;
	height: 24px;
	padding: 3px 15px;
	color: #BBBBBB;
}

.post .meta a {
	color: #BBBBBB;
}

.post .entry {
	padding: 0px 0px 20px 0px;
	padding-bottom: 20px;
	text-align: justify;
}

.links {
	padding-top: 20px;
	font-size: 12px;
	font-weight: bold;
}

/* Sidebar */

#sidebar {
	float: left;
	width: 280px;
	padding: 0px;
	color: #787878;
}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li {
	margin: 0;
	padding: 0;
}

#sidebar li ul {
	margin: 0px 0px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 35px;
	border-bottom: 1px dotted #292929;
	margin: 0px 30px;
	border-right: none;
}

#sidebar li a {
	padding-left: 10px;
	background: url(images/img03.gif) no-repeat left 5px;
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar h2 {
	padding-left: 30px;
	padding-top: 6px;
	padding-bottom: 6px;
	background: #292929;
	letter-spacing: -.5px;
	font-size: 1.8em;
	color: #FFFFFF;
}

#sidebar p {
	margin: 0 0px;
	padding: 10px 30px 20px 30px;
	text-align: justify;
}

#sidebar a {
	border: none;
	color: #898989;
}

#sidebar a:hover {
	text-decoration: underline;
	color: #6E6E6E;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer {
	/*width: 942px;*/
	height: 50px;
	margin: 0 auto;
	padding-top: 12px;
    padding-bottom: 0px;
	border-top: 4px solid #6d4396;/*#292929;*/
	font-family: Arial, Helvetica, sans-serif;
	
	font-weight: bold;
	text-align: center;
    background-color: #9A73C0;
    b/*order-radius: 0 0 15px 15px;*/
}

#footer p {
	margin: 0;
	padding-top: 20px;
	line-height: normal;
	font-size: 10px;
	text-transform: uppercase;
	text-align: center;
	color: #444444;
}

#footer a {
	color: #464032;
}

div.page_title
{
    display: block;
    color: #232321;
    border-bottom: 2px solid #993399;
    font-weight: bold;
    padding: 0px;
    /*padding-top: 4px;*/
    height: 30px;
    vertical-align: middle;
    font-size: large;
    /*margin-top: 10px;*/
    margin-bottom: 5px;
}
div.page_subtitle
{
    display: block;
    color: #232321;
    font-weight: bold;
    padding: 0px;
    /*padding-top: 4px;*/
    height: 30px;
    vertical-align: middle;
    font-size: large;
    margin-top: 20px;
    margin-bottom: 5px;
}