@charset "euc-jp";
/*
Title: Yotabanana
Author: Masao Mutoh
License: GPL
Comment: Theme for Yotabanana.
This file is based on tDiary default theme by sho@spc.gr.jp.
*/

/*
ページ全体の基本的な設定。背景色や文字色など
*/
body {
  background-color: white;
  background-image: url(../../../images/yotabanana.jpg);
  background-repeat: no-repeat;
  background-position: left top;
  color: #002211;
  font-family: "ＭＳ Ｐゴシック" ,"ヒラギノ丸ゴ Pro W4" ,"Osaka",verdana ,arial ,sans-serif;
  font-size: small;
  font-weight: normal;
  padding: 0px;
  margin: 0px;
}

h1 { 
  text-align:right;
}

div.main {
  margin-left: 285px;
  margin-top: 0px;
  margin-right:0px;
  padding-top: 0px;
}

/*
リンク文字列に関する設定
*/
a:link {
  text-decoration: none;
  color: #394;
}

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

a:hover {
  text-decoration: underline;
}

/*
 Navi bar
 */
div.navibar { 
  text-align: right;
  margin: 0px 10px 0px 10px;
  padding: 0px 0px 0px 0px;
}

div.calendar {
  font-size: 8pt;
}

div.category {
  font-size: 8pt;
}


/*
ページトップにある操作ボタンの並ぶ行の設定
*/
div.adminmenu {
  margin: 1em;
  text-align: right;
  font-size: x-small;
}

/*
ページトップにある操作ボタン自体の設定
*/
span.adminmenu {
  background-color: #dfd;
  color: #000;
  border-style: solid;
  border-color: #eee #aaa #aaa #afa;
  border-width: 2px;
  padding: 2px;
}

/*
日記タイトルの設定
*/
div.toptitle {
  color: white;
  background-color: #171;
  padding: 5px 1em 5px 1em;
  margin: 0em 7px 0px 8px;
  font-size: xx-large;
  text-align: left;
}

div.topdesc1 { 
  color: white;
  text-align: right;
  font-size: small;
  background-color: #4a4;
  padding: 5px 1em 0.5em 1em;
  margin: 0em 7px 1em 8px;
}

/* Yotalab */
div.topdesc2 { 
  color: white;
  background-color: #262;
  text-align: right;
  font-size: small;
  padding: 5px 1em 0.5em 1em;
  margin: 0em 7px 1em 8px;
}

/*
1日の日記全体を囲む枠の設定
*/
div.day {
  border-color: #11aa11;
  border-width: 2px;
  padding: 0.5em;
  padding-bottom: 0.5em;
  margin-bottom: 1em;
}

/*
タイトル行全体の設定
*/
h2 {
  border-style: solid;
  background-color: #cfc;
  border-color: #1a1;
  border-width: 1px 1px 1px 1px;
  margin: 0px 0px 0px 0px;
  padding: 2px 2px 2px 1em;
}

#title { 
  border: 0px;
  margin: 0px;
  height: 300px;
  background: transparent;
  position: absolute;
  top: 0px;
  right: 0px;
}

/*
日付の設定
*/
h2 span.date {
  font-size: medium;
  font-family: arial, sans-serif;
  margin-right: 0.5em;
}

/*
タイトルの設定
*/
h2 span.title {
  font-size: medium;
  font-weight: bold;
}

/*
タイトルを除いた1日の日記本文全体の設定
*/
div.body {
  background-color: white;
  border-style: solid;
  border-color: #1a1;
  border-width: 1px 1px 1px 1px;
/*
  padding: 4px;
  margin-left: 2em;
  margin-right: 1em;
*/

}

/*
サブタイトルを含むセクションの設定
*/
div.section {
  margin-top: 0.7em;
  margin-left: 0.5em;
  margin-bottom: 0.7em;
}

/*
サブタイトルの設定
*/
h3 {
  border-style: solid;
  border-color: #1a1;
  border-width: 0px 0px 1px 0px;
  font-size: small;
  margin: 1em;
//  padding-top: 1em;
  font-weight: bold;
}

/*
その他の見出し(必要なら)
*/
h4 {
  margin: 2em;
  font-weight: bold;
  margin-bottom: 0em;
}

/*
イメージアンカーの設定
ただしDefaultテーマではイメージアンカーは使っていないのでコメントにしてある
指定のコツは以下の通り
  - span.sanchorはセクションアンカー、span.canchorはツッコミアンカー
  - background-imageにアンカー画像を指定
  - paddingのtop(最初)とright(2番目)に画像の縦横サイズを指定
  - colorに背景色と同じ色を指定(文字を見えなくするため)
*/
/*
div.day span.sanchor {
  background-image: url(default_sanchor.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 16px 16px 0px 0px;
  color: #fff;
  background-color: transparent;
  font-size: 1px;
}

div.day span.canchor {
  background-image: url(default_canchor.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 16px 16px 0px 0px;
  color: #fff;
  background-color: transparent;
  font-size: 1px;
}
*/

/*
日記の本文(段落)の設定
*/
div.section p {
  margin: 0.5em 0.5em 0.7em 1.5em;
  line-height: 150%;
}

/*
ツッコミ/フォーム/リンク元のキャプション設定
*/
div.caption {
  font-size: 90%;
  border-style: solid;
  border-color: #1a1;
  border-width: 0px 0px 1px 0px;
  margin: 0.5em;
}

/*
ツッコミ欄全体の設定
*/
div.comment {
  background-color: #fff;
  border-style: solid;
  border-color: #1a1;
  border-width: 1px;
  padding: 2px;
  padding-bottom: 1px;
  margin-top: 0.5em;
  margin-left: 2em;
  margin-right: 0em;
}

/*
ツッコミ省略版本文
*/
div.commentshort {
  font-size: 90%;
  margin-left: 0.5em;
}
span.commentator {
  font-weight: bold;
}
div.commentshort p {
  margin-top: 0.2em;
  margin-bottom: 0.2em;
  line-height: 120%;
}

/*
ツッコミ本体
*/
div.commentbody {
  font-size: 90%;
  margin: 0.5em;
  line-height: 120%;
}

/*
ツッコミした人の情報
*/
div.commentator {
  border-style: solid;
  border-color: #aea;
  border-width: 0px 0px 1px 0px;
  line-height: 150%;
}

/*
ツッコミ本文
*/
div.commentbody p {
  margin: 0.5em;
  margin-left: 2em;
}

/*
フォーム全体を囲む枠の設定
*/
div.form {
  background-color: #fff;
  border-style: solid;
  border-color: #1a1;
  border-width: 1px;
  padding: 2px;
  margin: 0.5em 0em 0.5em 2em;
}

/*
フォームの設定
*/
div.form form {
  margin: 0em 0em 0em 2em;
}

div.form form.comment {
  font-size: 90%;
}

div.field {
  display: inline;
  margin-right: 2em;
}
form.comment input {
  background-color: #ffe;
  margin-left: 1em;
}

div.textarea {
  display: block;
  vertical-align: top;
}
form.comment textarea {
  display: block;
  background-color: #ffe;
  margin-left: 3em;
  width: 30em;
  height: 5em;
}

div.button {
  display: block;
  margin-right: 3em;
  text-align: right;
}

div.button input { 
  margin: 5px;
  background-color: #cfc;
}

div.window .button { 
  background-color: #cfc;
}

/*
リンク元リスト(Month/Latestモード)の設定
*/
div.referer {
  text-align: right;
  font-size: 90%;
  padding: 2px;
  padding-bottom: 1px;
  margin: 0.5em 0em 0em 2em;
}

/*
リンク元リスト(Dayモード)の設定
*/
div.refererlist {
  background-color: #fff;
  border-style: solid;
  border-color: #1a1;
  border-width: 1px;
  padding: 2px;
  padding-bottom: 1px;
  margin-top: 0.5em;
  margin-left: 2em;
  margin-right: 0em;
}

/*
リンク元リスト一覧の設定
*/
div.refererlist ul {
  font-size: 90%;
  margin: 0.5em 1em 0.5em 3em;
  line-height: 120%;
}

/*
罫線の設定
*/
hr {
  border-style: solid;
  border-width: 2px 0px 0px 0px;
  border-color: #ddf;
}

/*
日々の日記のセパレータに使われる罫線の設定
*/
hr.sep {
  display: none;
}

/*
フッタの設定
*/
div.footer {
  font-size: 90%;
  text-align: right;
  margin-top: 1em;
  margin-right: 2em;
}

/*
更新フォーム
*/
form.update {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
form.update input, form.update textarea, form.commentstat input {
  background-color: #eef;
}

form.update span.field {
  display: inline;
  margin-left: 0em;
  margin-right: 0.5em;
}

form.update div.field.title {
  display: block;
  margin-top: 1em;
}
form.update div.field.title input {
  margin-left: 0.5em;
}

form.update div.textarea {
  display: block;
  margin-top: 1em;
}
form.update textarea {
  display: block;
  margin-left: 3em;
  margin-bottom: 1em;
  width: 35em;
  height: 15em;
}

form.update span.checkbox.hidediary {
  margin-left: 1em;
}

/*
ツッコミ状態変更フォーム
*/
div.comment form {
  margin-top: 0em;
}

/*
エラーメッセージ表示の設定
*/
p.message {
  text-align: center;
  font-size: large;
  background-color: #d00;
  color: #fff;
  padding: 8px;
}

/*
整形済みテキスト(preタグ)の設定
*/
div.section pre {
  background-color: #ffffdd;
  margin-left: 1em;
  margin-right: 1em;
  padding: 8px 8px 8px 8px;
}

/*
引用(blockquoteタグ)の設定
*/
div.section blockquote {
  border-style: solid;
  border-color: #1a5;
  border-width: 2px;
  background-color: #fffff0;
  margin-left: 5em;
  margin-right: 3em;
  padding: 4px;
}
div.section blockquote p {
  margin: 0.5em 0em 0.5em 0em;
}

/*
箇条書きの設定
*/
div.section ul, div.section ol {
  margin-left: 5em;
  margin-right: 3em;
  padding-left: 0px;
}
div.section ul ul, div.section ol ol {
  margin-left: 1.7em;
  margin-right: 1em;
  margin-bottom: 0.5em;
}

/*
項目リストの設定
*/
div.section dl {
  margin-left: 5em;
}

div.section dt {
  margin-bottom: 0.2em;
  font-weight: bold;
}

div.section dd {
  margin: 0em 3em 0.5em 1em;
}

/*
テーブルの設定
*/
div.section table {
  margin: 0.5em 1em 0.5em 5em;
  border-style: solid;
  border-width: 2px;
  border-color: #aaf;
  border-collapse: collapse;
}
div.section th, div.section td {
  padding: 5px;
  border-style: solid;
  border-width: 1px;
  border-color: #aaf;
}

/*
 いくつかのメジャーなプラグイン対応
 */

/* calendar2 */
table.calendar {
  font-size: x-small;
  line-height: 110%;
  border-style: solid;
  border-color: #aaf;
  border-width: 1px;
}

table.calendar td {
  margin: 0px;
  text-align: right;
  padding: 0px;
  margin: 0px;
}

table.calendar td.calendar-prev-month, table.calendar td.calendar-current-month, table.calendar td.calendar-next-month {
  text-align: center;
}

/* footnote */
div.body span.footnote {
  vertical-align: super;
  font-size: 70%;
}

div.footnote {
  font-size: 90%;
  border-style: solid;
  border-color: #ddf;
  border-width: 1px 0px 0px 0px;
  padding: 0em;
  margin-left: 6em;
}

p.footnote {
  margin: 0.5em;
  padding: 0em;
}

/* amazon plugin */
img.left {
  border-width: 1px;
  border-color: #008;
  border-style: solid;
  float: left;
  margin: 0.5em;
}
img.right {
  border-width: 1px;
  border-color: #008;
  float: right;
  margin: 0.5em;
}

div.section, div.comment {
  clear: both;
}

.highlight {
  color: #000;
  background: #ffff99;
}

div.window { 
  line-height: 120%;
  padding: 10px;
  border-style: solid;
  border-color: #1a1;
  background-color: #fffff0;
  color: #131;
  border-width: 0px 1px 1px 1px;
}

/*
サイドバー関連
*/

div.sidebar {
  background-color: transparent;
  color: #000;
  margin: 5px;
  position: absolute;
  top: 150px;
  left: 0px;
  width: 280px;
  padding: 2px 2px 2px 2px;
}

div.sidebar h2 { 
  font-size: small;
  background-color: #dfd;
  border-style: solid;
  border-color: #1a1;
}

div.sidebar h3 { 
  font-size: small;
  margin-left: 20px;
  margin-right: 20px;
}

div.sidebar h4 {
  font-size: small;
  margin: 0em;
  margin-left: 2em;
  margin-bottom: 0.3em;
}

div.sidebar p {
  padding-left: 1em;
  line-height: 120%;
  border-color: #1a1;
}

#contentslist-title{ 
  font-size: medium;
  background-color: #161;
  color: white;
  border-style: solid;
  border-color: #151;
  font-weight: bold;
}

#contentslist-window{ 
  line-height: 120%;
  padding: 5px;
  border-style: solid;
  border-color: #1a1;
  background-color: #fcfcff;
  color: #120;
  border-width: 0px 1px 1px 1px;
}

#contentslist-list{ 
  margin-left: 2em;
  padding-left: 0em;
}

/*
リンク文字列に関する設定
*/
h4 a:link {
  text-decoration: underline;
  color: #161;
}
h4 a:visited {
  background-color: transparent;
  color: #131;
  text-decoration: underline;
}

h4 a:hover {
  color: #171;
  text-decoration: underline;
}

/*
独自設定
*/

div.adsense {
  margin-top:2em;
  margin-bottom: 1em;
  text-align:center;
}

div.ybadmin { 
  text-align:right;
  margin: 1em;
}

div.copyright{ 
  margin-top: 1em;
  font-size: small;
}


/*
設定・カテゴリ表示時の設定
*/
div.conf p{ 
  padding: 0px 1em 0px 1em;
}

div.category_title { 
  color: white;
  text-align: right;
  font-size: large;
  background-color: #1a1;
  border-style: solid;
  border-color: #191;
  border-width: 1px;
  padding: 5px 1em 0.5em 1em;
  margin: 0em 7px 1em 8px;
}

.photo-right, .amazon{ 
  float: right;
  border: solid;
  margin: 5px;
  border-width: 1px 1px 1px 1px;
  border-color: #171;
  padding: 3px;
 }
.photo-left, .photo, .flickr { 
  float: left;
  border: solid;
  margin: 5px;
  border-width: 1px 1px 1px 1px;
  border-color: #171;
  padding: 3px;
 }

.amazon-list { 
  border: solid;
  border-width: 1px;
  border-color: black;
  margin: 1px;
  margin-right: 2px;
}

.itunes{
  border: none;
}

.top-associate {
  text-align:center; 
  margin: 1em; 
  clear:both; 
  font-size:x-small; 
  color: #ccc;
}

@media screen and (max-device-width:480px) {
   div.main {
      margin: 0px;
      width: 480px;
   }
   div.sidebar {
     padding: 20px;
     position: relative;
     top:0px;
     width: 450px;
     margin: 0px;
  }
  .top-associate {
    display: none;
  }
  img.photo {
    overflow: hidden;
    position: relative;
    float: none;
    clear: both;
  }
  div.topdesc1, div.topdesc2 { 
    font-size: 5pt;
  }
}

