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

/*
  ---------------------------------------------------------------
   P_BLOG CSS TEMPLATE "Juicy Orange"

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

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

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

#wrapper {
    width: 94%;
    max-width: 1280px;
    min-width: 780px;
    margin: auto;
    padding: 0;
    border: 1px solid #D97400;
    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 #D97400;
    background: #FFDD66 url(./resources/bg.png);
    color: #B3762D;
}

#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: #D99036 0.2em 0.2em 0.2em;

}

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

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

#subtitle {
    padding: 0.1em 0em 0em 3em;
    font-family: Optima, "Hiragino Kaku Gothic Pro W3", sans-serif;
    font-size: 110%;
    text-shadow: #D99036 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;
    border-right: 1px solid #dddddd;
}

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

#content h2 {
    margin: 1em 0 0 0;
    padding: 0 0 5px 0;
    border-bottom: 1px solid #D97400;
    background-color: transparent;
    color: #B3762D;
    font-family: "Lucida Grande", Tahoma, "Trebuchet MS", Verdana, 
                 "Hiragino Kaku Gothic Pro W3", sans-serif;
    font-size: 130%;
}

#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 #B3762D;
    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 #B3762D;
    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 #B3762D;
    line-height: 14px;
    text-indent: 0;
}

/* Current Page Menu */
li.cur-menu {
    list-style: none; 
    margin-bottom: 0; 
    padding: 5px;
    border-right: 5px solid #D99036;
    border-bottom: 1px solid #D99036; 
    border-left: 5px solid #D99036;
    background-color: #FFFFB0;
    color: #FF6600;
    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 #D99036;
    border-left: 5px solid #D99036;
    background: #FFDD66 url(./resources/menu_bg.png) 0px 0px repeat-x;
    color: #333333;
    text-decoration: none;
    text-shadow: #D97400 0.2em 0.2em 0.2em;
}

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

a.menu:active {
    border-right: 4px solid #FF9933;
    border-left: 4px solid #FF9933;
    background: #FFDD66 url(./resources/menu_bg.png) 0px 0px repeat-x;
    color: #333333;
    text-shadow: #D97400 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-bottom: 1px solid #999999;
    background: #cccccc url(./resources/bg_s.png);
    font-size: 100%;
    color: #333333;
}

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 #D97400;
    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: #FFBB00 url(./resources/bg_s.png);
    color: #333333;
    font-size: 11px;
    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: #FFFFB0;
    color: #FF6600;
    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%;
}
