@charset "utf-8";
@import url(../_import/common.css);
@import url(../_import/text_decorations.css);

/*
  ---------------------------------------------------------------
   P_BLOG CSS TEMPLATE "Simple Best"

  ---------------------------------------------------------------
  INDEX : 
     - BASE
     - HEADER
     - CONTENT
     - MENU BOX
     - FOOTER
  ---------------------------------------------------------------
*/

/*
-----------------------------------------------------------------
    BASE ELEMENTS
-----------------------------------------------------------------
*/

body {
    margin: 10px;
    padding: 1em 0 1em 0;
    background: #ffffff
    color: #666666;
	font: 75%/1em Arial, Helvetica, sans-serif;
    font-size: 80%;
    line-height: 170%;
    text-align: center;
	background-image: url(./resources/sb_back.jpg);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: left bottom;
}

#wrapper {
    width: 80%;
    max-width: 1200px;
    min-width: 680px;
    margin: auto;
    padding: 0;
    text-align: left;
}

/* Anchors */
a:link {
    background-color: transparent;
    color: #336666;
    text-decoration: none;
}

a:visited {
    background-color: transparent;
    color: #663366;
    text-decoration: none;
}

a:hover {
    background-color: transparent;
    color: #ff6600;
    text-decoration: underline;
}

img {
    border: 0;
}

/* Forms */
input, textarea, select {
    font-family: "Lucida Grande", "HiraMaruPro-W4", sans-serif;
    font-size: 100%;
}

input[type="text"] {
    font-size: 100%;
    font-family: "Lucida Grande", "HiraMaruPro-W4", sans-serif;
}

fieldset {
    margin: 2em 0 1em 0;
    padding: 2em 0 1.5em 1em;
    border: 0;
    border-top: 1px solid #cccccc;
    border-bottom: 1px solid #cccccc;
}

legend {
    margin-left: 1em;
    padding: 0 2em 0 2em;
    border: 1px solid #cccccc;
}

.noscript {
    display: inline;
}

/*
-----------------------------------------------------------------
    HEADER
-----------------------------------------------------------------
*/

#header {
    height: 3em;
    margin: 0 0 10px 0;
    padding: 0.5em;
}

#header h1 {
    float: left;
    margin: 0.2em 0 0 0.5em;
    padding: 0 0 5px 0;
    font-size: 170%;
    color: #337777;
}

#header h1 a:link, #header h1 a:visited {
    color: #337777;
    text-decoration: none;
}

#header h1 a:hover {
    color: #337777;
    text-decoration: none;
}

#subtitle {
    padding: 0.1em 0em 0em 3em;
    font-size: 110%;
	vertical-align:bottom;
    color: #555555;
}

/*
-----------------------------------------------------------------
    CONTENT BOX
-----------------------------------------------------------------
*/

#content {
    float: left;
    width: 70%;
    margin: 0.5em 0 0.5em 0;
    padding: 0 1em 2em 2em;
}

#content h1 {
    font-size: 170%;
}

#content h2 {
    margin: 1em 0 1em 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #555555;
    background-color: transparent;
    color: #338888;
    font-size: 130%;
    text-shadow: #dddddd 0.2em 0.2em 0.2em;
}

#content h3, #content h4 {
}

.section {
    padding: 0em 0.5em 0em 0.5em;
}

.article-title {
    border-bottom: 1px solid #cccccc;
    font-size: 120%;
    color: #555555;
}

.comment {
    color: #555555;
}

.date {
    background-color: transparent;
    color: #777777;
    font-size: 90%;
}

/* Article Footer */
.a-footer {
    margin-top: 2em;
    padding-top: 0.5em;
    border-top: 1px solid #555555;
    background-color: transparent;
    font-size: 90%;
    font-family: "Lucida Grande", Tahoma, Verdana, sans-serif;
    text-align: right;
}

/**
 * Footer Anchors
 */
.a-footer a {
	margin: 0 0.5em 0 0;
	padding: 0px 0px 4px 14px;
    font-size: 12px;
    text-shadow: #ffffff 0.2em 0.2em 0.2em;
        
    /* For Debug */
    /* border: 1px solid #6600CC; */

}
.a-footer a:hover {
	background-position: 0px -30px;
}
.a-footer a:active {
	background-position: 0px -60px;
} 
a.status-on {
	background-position: 0px -90px !important;
}
a.status-on:hover {
	background-position: 0px -30px !important;
}
a.status-on:active {
	background-position: 0px -60px !important;
}


/* Previous Logs Navi Link */
p#prev-logs {
    margin: 2em 2em 1em 1em;
    text-align: right;
}
p#prev-logs a {
    display: inline;
    margin-right: 2px;
    padding: 2px 20px 2px 10px;
    border: 1px solid #cccccc;
    text-decoration: none;
}
p#prev-logs a:hover {
    background-color: #ffffff;
}

/*
-----------------------------------------------------------------
    MENU BOX
-----------------------------------------------------------------
*/

#menu-box {
    float: right;
    width: 22%;
    margin: 1em 1em 2em 0em;
}

/* Contents Navi */
#content-menu h2 {
    display: none;
}

ul.menu {
    list-style: none;
    right: 2.5%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    font-size: 100%;
    color: #336699;
}


/* ---------------------------------------------- */
div.menu {
    margin: 1em 0 1em 0;
    padding: 0;
}

div.menu h2 {
    margin: 0;
    padding: 2px 0.5em 2px 0.5em;
    font-size: 120%;
    color: #555555;
}

div.menu p {
    padding-left: 0.5em;
}


div.menu ul {
    margin: 5px 5px 5px 1.8em;
    padding: 0;
    font-size: 90%;
    color: #555555;
}

#search input {
    margin: 0 0 5px 5px;
}

#keyword {
    width: 90%;
}

/* Archive, Category, CSS-Swicher Form */
#archives, 
#category,
#css-form {
    margin: 10px 0px 10px 0px;
}

/* Admin Menu */
#logout {
    width: 100%;
    padding-top: 0.5em;
    padding-bottom : 0.5em;
    border-top: 1px solid #999999;
    text-align: center;
}

h2.menu-box {
    font-size: 130%;
}

#menu-box h3 {
    font-size: 110%;
}

/*
-----------------------------------------------------------------
    FOOTER
-----------------------------------------------------------------
*/
#footer {
    clear: both;
    width: 94%; /* WinIE = 100%; */
    margin: 1em;
    padding: 1em;
    border-top: 1px solid #555555;
    font-family: Optima, sans-serif;
}

/* Validator Logos */
.logo {
    float: left;
    margin: 0px 1em 0.5em 0px;
}

.validator {
    margin: 0px 5px 5px 0px;
}

#validators, #w3c-validators {
    margin: 0;
    padding: 0;
}

#validators a:link, #validators a:visited,

#rss, #rss2 {
    display: block;
    width: 60px;
	margin-bottom: 1em;
	padding: 1px 6px 1px 6px; 
	border: 1px outset #f60;
	background: #ff6600;
	color: #ffffff;
	font: bold 12px;
	text-decoration : none;
	text-align: center;
}


address {
    margin: 0.5em 0 0 0;
}

#page-generation {
    clear: both;
    margin: 0;
    padding: 0;
    color: #333333;
    font-size: 90%;
}

