@charset "utf-8";
@import url(./common.css);
@import url(./text_decorations.css);
@namespace svg url(http://www.w3.org/2000/svg);

/*
  ---------------------------------------------------------------
   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: #2e3436;
    color: #ffffff;
    line-height: 150%;
    text-align: center;
}

#wrapper {
    width: 94%;
    max-width: 1200px;
/*    min-width: 780px; */
    margin: auto;
    padding: 0;
    background-color: #fff;
    color: #2e3436;
    text-align: left;
    border: medium #94a0a4 solid;
}

/* Anchors */
a:link {
    background-color: transparent;
    color: #3465a4;
}

a:visited {
    background-color: transparent;
    color: #75507b;
}

a:hover {
    background-color: transparent;
    color: #f57900;
}

img {
    border: 0;
}

svg|a:link svg|text {
    fill: #3465a4;
}

svg|a:visited svg|text {
    fill: #75507b;
}

svg|a:hover svg|text {
    fill: #f57900;
}

/* Forms */
fieldset {
    margin: 2em 0 1em 0;
    padding: 2em 0 1.5em 1em;
    border: 0;
    border-top: 1px solid #888a85;
    border-bottom: 1px solid #888a85;
}

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

.noscript {
    display: inline;
}

/* quotes */
blockquote, q {
  background-color: #fee1b5;
  border-left: thick solid #f57900;
}

blockquote address, blockquote cite, .citesource {
    border-top: 1px solid #f57900;
}
/*
-----------------------------------------------------------------
    HEADER
-----------------------------------------------------------------
*/

#header {
    height: 3em;
    margin: 0 0 10px 0;
    padding: 0.5em;
    border-bottom: 1px solid #888a85;
    background: #a40000;
    color: white;
}

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

#header h1 a {
    color : white;
}

#subtitle {
    padding: 0.1em 0em 0em 3em;
    font-size: 110%;
}

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

#content {
    float: left;
    width: 67%;
    margin: 0.5em 0 0.5em 0;
    padding: 0 1em 2em 2em;
    background-color: #fff;
}

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

#content h2 {
    margin: 1em 0 1em 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #a40000;
    background-color: transparent;
    color: #a40000;
    font-size: 130%;
}

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

.section p {
    margin: 0.5em;
}
.section dl, .section ul, .section ol {
    margin: 0.5em 1em 0.5em 1em;
}

.comment {
      color : #2e3436;
}

.article-title {
    border-bottom: 1px dotted #ef2929;
    font-size: 120%;
    color : #000000;
}

.date {
    font-size: 80%;
    background-color: transparent;
    color: #2e3436;
}

/* Article Footer */
.a-footer {
    margin-top: 2em;
    padding-top: 0.5em;
    border-top: 1px solid #888a85;
    background-color: transparent;
    font-size: 0.8em;
    text-align: right;
}


/*
-----------------------------------------------------------------
   NAVIGAGTION LINK
-----------------------------------------------------------------
*/

p.flip-link {
    text-align: center;
}


/* Previous Logs Navi Link */

p#prev-logs {
    text-align: right;
    margin-top: 1em;
}


p.flip-link strong,
span.cur-tab {
  padding: 0.4em 0.25em 0.25em 0.25em;
  border: thin solid #ef2929;
  background-color: white;
  color: #ef2929;

}

p.flip-link a,
p#prev-logs a,
span.prev a,
span.next a,
.a-footer a,  /* Footer Anchors */
#calendar a.prev-month, /* Prev-Month | Next-Month  */
#calendar a.next-month, /* Prev-Month | Next-Month  */
ul.flip-menu a
{
  text-decoration: none;
  border: solid thin #888a85;
  background: #2e3436;
  color: #ffffff;
  padding: 0.25em;
}

p.flip-link a:hover,
p#prev-logs a:hover,
span.prev a:hover,
span.next a:hover,
.a-footer a:hover, /* Footer Anchors */
#calendar a.prev-month:hover,
#calendar a.next-month:hover,
ul.flip-menu a:hover
{
    border-color: #a40000;
    background: #ef2929;
    color: white;
    text-decoration: underline;
}

span.prev a:before,
#calendar a.prev-month:before
{
  content: "←";
}
p#prev-logs a:after,
span.next a:after,
#calendar a.next-month:after
{
  content: "→";
}

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

#menu-box {
    float: right;
    width: 20%;
    margin: 1em 1em 2em 0em;
    background-color: #fff;
}

/* 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 #888a85;
    background-color: #2e3436;
    color : #ffffff;
    font-weight: bold;
}

li.menu {
    list-style: none;
    margin-bottom: 0;
    border-bottom: 1px solid #888a85;
    line-height: 100%;
    text-indent: 0;
}

/* Current Page Menu */
li.cur-menu {
    list-style: none; 
    margin-bottom: 0; 
    padding: 5px;
    border-right: thick solid #ef2929;
    border-bottom: thin solid #888a85; 
    border-left: thick solid #ef2929;
    background-color: white;
    color: #ef2929;
    line-height: 100%;
}

a.menu, a.menu:visited {
    display: block;
    padding: 5px;
    border-right: thick solid #888a85;
    border-left: thick solid #888a85;
    color : #ffffff;
    text-decoration: none;
}

a.menu:hover {
    border-right: thick solid #a40000;
    border-left: thick solid #a40000;
    background-color: #ef2929;
    text-decoration: underline;
}


/* ---------------------------------------------- */
div.menu {
    margin: 1em 0 1em 0;
    padding: 0;
    border: 1px solid #999999;
}

div.menu h2 {
    margin: 0;
    padding: 2px 0.5em 2px 0.5em;
    border-bottom: 1px solid #999999;
    background: #a40000;
    font-size: 100%;
    color: white;
}

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


div.menu ul {
    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: #ffffff;
    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 #888a85;
    background: #ffffff;
    font-family: Optima, sans-serif;
}

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

address {
    margin: 0.5em 0 0 0;
}

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

#rss, #rss2
{
  text-decoration: none;
  border: solid thin #888a85;
  background: #2e3436 url(../_shared/feed-icon-16x16.png) no-repeat 5px 50%;
  color: #ffffff;
  padding: 0.25em 0.25em 0.25em 26px;
}

#rss:hover,
#rss2:hover
{
    border-color: #a40000;
    background: #ef2929 url(../_shared/feed-icon-16x16.png) no-repeat 5px 50%;
    color: white;
    text-decoration: underline;
}
