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

/*
  ---------------------------------------------------------------
   P_BLOG CSS TEMPLATE "Rich Green"

   $Id: 2005/03/23 23:32:49 Exp $
  ---------------------------------------------------------------
  INDEX : 
     - BASE
     - HEADER
     - CONTENT
     - MENU BOX
     - FOOTER
  ---------------------------------------------------------------
*/

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

body {
    margin: 0;
    padding: 1em 0 1em 0;
    background: #eeeeee url(./resources/bg_v_stripe.png);
    color: #333333;
    font-size: 85%;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma,
                 "HiraMaruPro-W4", "ヒラギノ丸ゴ Pro W4", "Hiragino Kaku Gothic Pro", "HG丸ゴシックM-PRO", sans-serif;
    line-height: 170%;
    text-align: center;
}

#wrapper {
    width: 94%;
    max-width: 1200px;
    min-width: 780px;
    margin: auto;
    padding: 0;
    border: 1px solid #6699ff;
    background-color: #ffffff;
    text-align: left;
}

/* Anchors */
a:link {
    background-color: transparent;
    color: #5050A0;
    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;
  border-bottom: 1px solid #6699ff;
  /*background: #99CC33 url(./resources/bg.png);*/
  background: #6699ff;
  color: #ffffff;
}

#header h1 {
  float: left;
  margin: 0.2em 0 0 0.5em;
  padding: 0 0 5px 0;
  font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, 
  Tahoma, Verdana, Optima, Arial, sans-serif;
  font-size: 170%;
  text-shadow: #336600 0.2em 0.2em 0.2em;  
}

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

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

#subtitle {
  padding: 0.3em 0em 0em 3em;
  font-family: Monaco, Optima, "Hiragino Kaku Gothic Pro W3", sans-serif;
  font-size: 110%;
  font-weight: 600;
  font-style: italic;
  text-shadow: #669900 0.2em 0.2em 0.2em;
}

/*
-----------------------------------------------------------------
    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 #608020;
    background-color: transparent;
    color: #608020;
    font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana, 
                 "Hiragino Kaku Gothic Pro W3", sans-serif;
    font-size: 130%;
    text-shadow: #dddddd 0.2em 0.2em 0.2em;
}

#content h3, #content h4 {
    font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana, 
                 "Hiragino Kaku Gothic Pro W3", sans-serif !important;
}

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


.article-title {
    padding: 0 0 4px 1.5em;
    border-bottom: 1px dotted #806020;
    background: url(./resources/title_bg.png) 0 0px no-repeat;
    font-size: 120%;
    font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana,
                 "Hiragino Kaku Gothic Pro W3", sans-serif;
    text-shadow: #dddddd 0.2em 0.2em 0.2em;
}

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

/* Article Footer */
.a-footer {
    margin-top: 2em;
    padding-top: 0.5em;
    border-top: 1px solid #cccccc;
    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;
	background: #ffffff url(../_shared/anchor_bg.png) 0px 0px no-repeat;
    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;
    background: #eeeeee url(../_shared/arrow_next.png) no-repeat 100% 50%;
    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;
    border-top: 1px solid #6699ff;
    background-color: transparent;
    font-family: "Lucida Grande", "Lucida Sans Unicode", Lucida, 
                 Optima, "Trebuchet MS", Verdana, 
                 "Hiragino Kaku Gothic Pro W3", sans-serif;
    font-weight: bold;
}

li.menu {
    list-style: none;
    margin-bottom: 0;
    border-bottom: 1px solid #6699ff;
    line-height: 14px;
    text-indent: 0;
}

/* Current Page Menu */
li.cur-menu {
    list-style: none; 
    margin-bottom: 0; 
    padding: 5px;
    border-right: 5px solid #6699ff;
    border-bottom: 1px solid #6699ff; 
    border-left: 5px solid #6699ff;
    background-color: transparent;
    color: #806020;
    line-height: 14px;
    text-shadow: #dddddd 0.2em 0.2em 0.2em;
}

a.menu, a.menu:visited {
    display: block;
    padding: 5px;
    border-right: 5px solid #003399;
    border-left: 5px solid #003399;
    border-bottom: 1px solid #003399;
    #background: #99CC33 url(./resources/menu_bg.png) 0px 0px repeat-x;
  background: #6699ff;
    color: #ffffff;
    text-decoration: none;
    text-shadow: #669900 0.2em 0.2em 0.2em;
}

a.menu:hover {
    border-right: 5px solid #806020;
    border-left: 5px solid #806020;
    background: #cc9933 url(./resources/menu_bg.png) 0px -50px repeat-x;
    color: #ffffff;
    text-decoration: none;
    text-shadow: #806020 0.2em 0.2em 0.2em;
}

a.menu:active {
    border-right: 4px solid #FF9933;
    border-left: 4px solid #FF9933;
    background: #99CC33 url(./resources/menu_bg.png) 0px 0px repeat-x;
    color: #ffffff;
    text-shadow: #669900 0.2em 0.2em 0.2em;
    text-decoration : none;
}


/* ---------------------------------------------- */
div.menu {
    margin: 1em 0 1em 0;
    padding: 0;
    border: 1px solid #999999;
    font-family: Tahoma, "Lucida Grande", HiraMaruPro-W4, "ヒラギノ丸ゴ Pro W4", sans-serif;
}

div.menu h2 {
    margin: 0;
    padding: 2px 0.5em 2px 0.5em;
    border-right: 5px solid #003399;
    border-left: 5px solid #003399;
    border-bottom: 1px solid #003399;
    #background: #cccccc url(./resources/bg_s.png);
  background: #6699ff;

    font-size: 100%;
    color: #ffffff;
}

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


div.menu ul {
    list-style-image: url(./resources/list_image.png);
    margin: 5px 5px 5px 1.8em;
    padding: 0;
    font-size: 90%;
}

#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;
    background: #eeeeee url(../_shared/gray_stripe.png);
    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 #6699ff;
    background: #ffffff;
    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:link, #rss:visited  {
    width: 81px;
    margin: 0px 3px 0px 0px;
    padding: 2px 8px 2px 8px; 
    border: 1px solid #666666;
    background: #99CC33 url(./resources/bg_s.png);
    color: #ffffff;
    font-size: x-small;
    text-align: center;
    text-decoration : none;

}

#validators a:hover,
#rss:hover  {
    margin: 0px 3px 0px 0px;
    padding: 2px 8px 2px 8px; 
    border: 1px solid #666666;
    background: #99CC33 url(./resources/bg_s.png);
    color: #000000;
    text-shadow: #336600 0.2em 0.2em 0.2em;
    text-decoration : none;
}

#validators a:active,
#rss:active {
    margin: 0px 3px 0px 0px;
    padding: 2px 8px 2px 8px;
    border: 1px solid #ff6600;
    text-decoration : none;
}

address {
    margin: 0.5em 0 0 0;
}

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

textarea.code { 
  background-color: #ffffcc;
  color: #333333;
  padding: 5px;
  border-style: inset;
  border-width: 1px 3px 3px 1px;
}

pre.code { 
  width: 95%;
  line-height: 1.2em;
  font-size: 85%;
  background-color: #ffffcc;
  color: #000000;
  padding: 15px;
  border-style: dotted;
  border-width: 1px;
}

code {
	width: 95%;
	line-height:1.2em;
	color: #000000;
	padding:15px;
}
p.profile { 
  text-align: right;
  padding-right: 15px;
}

pre {
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -pre-wrap;     /* Opera 4-6 */
    white-space: -o-pre-wrap;   /* Opera 7 */
    white-space: pre-wrap;      /* CSS3 */
    word-wrap: break-word;      /* IE 5.5+ */
}

