@charset "euc-jp";

/*
  Title: v-greengrass
  Author: Yuusuke TOMIOKA
  Access: <vlayusuke@gmail.com>
  Last-modified: 20100926
  License: GPL
  Comment: validated by W3C
*/

body{
background-color:#FFFFFF;
color:#333333;
}

div.adminmenu {
	text-align: left;
	font-size: 0.9em;
	border:solid 1px #CCCCCC;
	background-color:#EEEEEE;
	padding:3px;
	margin:2em 1em 1em 1em;
}

span.adminmenu {
	padding: 3px;
}

a:link {
	text-decoration:none;
	color:#226600;
}

a:visited {
	text-decoration:none;
	color:#559900;
}

a:active {
	text-decoration:underline;
	color:#226600;
}

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

div.main {
	width: 75%;
/*	margin-right: 224px;*/
	border-right: solid 1px #CCCCCC;
}

h1{
	text-align:left;
	font-size:2.2em;
	font-style:nomal;
	color:#226600;
	margin:2em 1em 1em 1em;
	border-color:#CCCCCC;
	border-width:0em 0em 1px 0em;
	border-style:solid;
}

div.calendar {
/*	text-align: right;*/
	font-size: 0.9em;
	padding: 2px;
	margin-bottom: 0.5em;
	margin-left:1.5em;
	border-top: solid 1px #FF9966;
}

.headline {
	text-align: right;
	font-size: 0.9em;
	padding: 2px;
	margin-bottom: 3em;
}

div.day {
	margin: 1.5em;
	border: solid 1px #CCCCCC;
}

h2{
	text-align:left;
	font-size:1.3em;
	font-style:nomal;
	border: solid 1px #CCCCCC;
	background-color: #EEEEEE;
	margin: 3px;
}

span.date{
	margin-left:0.5em;
	margin-right:0.5em;
}

span.title{
	color:#666666;
}

div.body {
	padding:2px;
	padding-bottom:1px;
	margin-left:1em;
	margin-right:1em;
}

h3{
	font-size:1em;
	margin-top:1.5em;
	font-weight:bold;
	border-color:#cccccc;
	border-width:0em 0em 1px 0em;
	border-style:dashed;
}

p{
	margin:0.6em 0em 0.6em 1em;
	line-height:1.5em:
}

div.comment{
	font-size:0.9em;
	border:solid 1px #CCCCCC;
	background-color:#EEEEEE;
	/*padding:2px 2px 2px 2px;*/
	margin:0.5em;
}

div.caption {
	padding-right:3px;
	padding-left:3px;
	padding-bottom:3px;
	padding-top:3px
}

p.commenttitle {
}

span.commentator {
	padding: 2px;
}

div.footnote {
	font-size:90%;
	color:#666666;
	border-color:#CCCCCC;
	border-width:1px 0em 0em 0em;
	border-style:dashed;
}

span.footnote {
	font-size:90%;
}

div.accnt {
	margin: 1.5em;
	font-size:90%;
	color:#666666;
	text-align:left;
}

span.counter {
	color:#3333FF;
}

/*-- BEGIN referer --*/
div.referer {
	text-align: right;
	font-size: 90%;
	padding: 2px;
	padding-bottom: 1px;
	margin-left: 2em;
	margin-right: 1em;
}

div.refererlist {
	font-size: 90%;
	padding: 2px;
	padding-bottom: 1px;
	margin-left: 2em;
	margin-right: 1em;
}

p.referertitle {
}
/*-- END referer --*/

ul.referer {
	margin-top: 0em;
	font-size:90%;
}

hr {
	border-style: solid;
	border-width: 2px 0px 0px 0px;
	border-color: #CCCCCC;
}

hr.sep {
	display: none;
}

div.footer {
	margin: 1.5em;
	font-size: 0.9em;
	text-align: left;
}

/*----- BEGIN form -----*/
div.form {
	padding: 0.5em 1em 0.5em 1em;
	margin-bottom: 0.5em;
}

input.field {
	background-color: white;
}

input {
	clear: left;
}

textarea {
	background-color: white;
	margin-left: 1em;
}
/*----- END form -----*/

p.message {
	text-align: center;
	font-size: large;
	background-color: red;
	color: white;
	padding: 8px;
}

pre {
	border-color:#9999CC;
	border-width: 1px;
	border-style: dashed;
	background-color: #CCCCCC;
	margin-left: 2em;
	margin-right: 1em;
	padding: 5px;
	font-size: 0.9em;
}

blockquote {
	border-color:#9999CC;
	border-width: 1px;
	border-style: dashed;
	background-color: #CCCCCC;
	margin-left: 2em;
	margin-right: 1em;
	padding: 5px;
}

dl {
	margin-left: 2em;
}

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

dd {
	margin-left: 1em;
	margin-bottom: 0.5em;
}

em{
	font-weight: normal;
	font-style: normal;
	background-color:#99CCFF;
}

strong{
	color: black;
	font-style: normal;
}

.hide{
	background-color: #FFFFFF;
}

.sfooter {
	margin-left: 45px;
}

p.source{
	margin-top: 0em;
	margin-right: 1.5em;
	text-align: right;
	font-size:0.8em;
}

/*---- BEGIN updater form -----*/
div.day.update {
        text-align: left;
}

form.update {
        padding-top: 0.5em;
        padding-bottom: 0.5em;
}

form.update input, form.update textarea, form.commentstat input {
        background-color: white;
        color: black;
}

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-bottom: 1em;
        width: 35em;
        height: 15em;
}

form.update span.checkbox.hidediary {
        margin-left: 1em;
}
/*----- END updater form -----*/

/*----- BEGIN comment form -----*/
div.form form {
        margin: 0em;
}

div.form div.caption {
        margin: 0.5em;
}

div.form form.comment {
}

div.field {
        display: inline;
        margin-right: 2em;
}

form.comment input {
        background-color: white;
        color: black;
        margin-left: 1em;
}

div.textarea {
        display: block;
        vertical-align: top;
}

form.comment textarea {
        display: block;
        background-color: white;
        color: black;
        width: 30em;
        height: 5em;
}

div.button {
        display: block;
}
/*----- END comment form -----*/

/*----- BEGIN sidebar -----*/
div.sidebar {
	position: absolute;
	top: 0px;
	right: 0.5em;
	border-width: 4px;
/*	width: 224px;*/
	width: 25%;
}

div.misc {
	border: solid 1px #CCCCCC;
	background-color: #EEEEEE;
	margin:2em 1em 1em 1em;
	padding: 3px;
	font-size: 0.9em;
	color: #666666;
}

div.appendix {
	border-style: dashed;
	border-width: 0em 0em 1px 0em;
	border-color: #CCCCCC;
	background-color: #FFFFFF;
	margin: 0.5em;
	padding: 0.5em;
	font-size: 0.9em;
	color: #666666;
}


/*----- END sidebar -----*/

div.todo {
	border: solid 2px #999999;
	background: #eeeeee;
	margin: 1.5em 1.5em 1.5em 1.5em;
	padding: 4px;
	font-size: 9pt;
	color: #666666;
}

img {
	border: 0px;
	}

img.photo {
	border: 1px solid #999999;
}


/*----- BEGIN plugin -----*/
div.body-enter {
 text-align: right;
 font-size:0.9em;
}

/*-- BEGIN livedoor_weather.rb --*/
div.lwws {
 text-align: right;
 font-size:0.9em;
 color: #666666;
}
/*-- END livedoor_weather.rb --*/

/*-- BEGIN mm_footer.rb --*/
span.tag {
	border: dashed 1px #cccccc;
	background: #eeeeee;
	font-size: 0.8em;
	padding: 1px;
	margin: 1px;
}

span.button {
	border: solid 1px #559900;
	background: #eeeeee;
	font-size: 0.8em;
	padding: 1px;
	margin: 1px;
}

span.info_link {
	font-size: 0.8em;
}

span.url {
	color: #666666;
	font-size: 0.8em;
}

p.comment {
	color: #666666;
	font-size: 0.8em;
}

/*-- END mm_footer.rb --*/

/*----- END plugin -----*/

/* desine for iPhone and other smart phones */
@media screen and (max-device-width: 480px) {
    div.adminmenu {
        font-size: x-small;
        margin: 0px;
        width: 100%;
    }

    h1 {
        font-size: 2.0em;
        text-align: center;
        padding-top: 10px;
        height: 20px;
    }

    div.content {
        width: 100%;
    }

    div.main {
        width: 100%;
    }

    div.day {
        position: relative;
        margin-right: 5px;
        margin-left: 5px;
        width: 95%;
    }

    div.day h2 {
        background-color: transparent;
    }

    div.section h3 {
        margin-left: 0px;
        text-indent: 0px;
    }

    div.section img.left,
    div.section img.right,
    div.section img.photo {
        display: block;
        float: none;
        margin: 10px auto;
        max-width: 300px !important;
    }
    div.section img.flickr {
        display: block;
        float: none;
        margin: 10px auto;
        max-width: 240px !important;
        height:auto;
    }

    div.section img.amazon {
        max-width: 150px !important;
    }

    body.update h1 {
        background-image: none;
        height: auto;
        display: block;
        padding: 0px;
    }

    body.update div.autopagerize_page_element {
        width: 100%;
    }

    div.update {
        width: 100%;
    }

    textarea {
        max-width: 240px !important;
        font-size: 110%;
    }
   }
}

