﻿/*------------------------------------------------------------------------------
 * magna-wf ウェブフレームワーク
 *----------------------------------------------------------------------------*/

* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    line-height: 1em;
    text-align: justify;
    text-justify: distribute;
    font-size: 14px;
    font-family: Avenir, "Open Sans", "Helvetica Neue", Helvetica, Arial, Verdana, Roboto,
        "Meiryo UI", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}
*.coding {
    font-family: Monaco, Courier New, serif;
}
body.desktop *.mobile, body.mobile *.desktop {
    display: none;
}
body {
    margin: 20px 8px;
    overflow: scroll;
}
body.mobile { margin: 20px 2px; }
div.menubody {
    float: right;
    width: 160px;
}
body.mobile div.menubody { display: none; }
div.mainbody {
    margin-right: 170px;
}
body.mobile div.mainbody { margin-right: 0px; }
div.footbody {
    clear: both;
}
h1, h2, h3 { text-align: left; }
h1 {
    margin-bottom: 10px;
    background-color: #ffffff;
}
h2 {
    margin-top: 0px;
    padding: 4px 10px 3px 10px;
}
h3 {
    padding: 4px 10px;
}
h2, h3 {
    background-color: #e0e0e0;
}
h1, h1 a, h1 span { font-size: 18px; }
h2, h2 a, h2 span { font-size: 16px; }
h3, h3 a, h3 span { font-size: 14px; }
p.minimenu {
    float: right;
    margin: 0px;
    text-align: right;
}
div.cont {
    margin-bottom: 10px;
    border: solid 1px #e0e0e0;
    background-color: #fff0c0;
}
div.menubody a {
    padding: 5px 9px;
    display: block;
}
div.menubody a.active { background-color: #ffc040; }
div.align_box {
    margin: -10px 0px;
}
p, pre, div.cont div.align_box {
    margin: 9px;
}
p {
    line-height: 1.3em;
}
p.date {
    text-align: right;
}
pre {
    width: auto;
    overflow: visible;
    text-align: left;
    font-family: Consolas, "Courier New", Courier, Monaco,
        monospace, "ＭＳ ゴシック", "MS Gothic", "Osaka−等幅";
    word-wrap: break-word;
    white-space: pre-wrap;
}
a {
    color: #0000ff;
    text-decoration: none;
}
a:hover, a:active {
    text-decoration: underline;
}
div.source, div.me {
    display: none;
}
div.source, div.sys_footer {
    clear: both;
}
div.align_col {
    vertical-align: top;
}
p.align, a.align {
    margin: 0px;
    border: solid 1px #fff0c0;
    padding: 2px;
    white-space: nowrap;
    overflow: hidden;
}
a.align {
    display: block;
}
a.align:hover, a.align:active {
    border-color: #808080;
    background-color: #ffffff;
}
input[type="text"], input[type="number"], input[type="password"], textarea, a.selector {
    background-color: #ffffff;
}
input[type="select"], input[type="button"], input[type="submit"], select {
    background-color: #e0e0e0;
}
input[type="text"], input[type="number"], input[type="password"],
input[type="button"], input[type="submit"], select, a.selector {
    border: solid 1px #808080;
    height: 1.8em;
    vertical-align: middle;
}
input[type="text"], input[type="number"], input[type="password"],
input[type="button"], input[type="submit"], a.selector {
    padding: 5px;
}
label {
    display: inline-block;
    white-space: nowrap;
}
*.s_left {
    text-align: left;
}
*.s_center {
    text-align: center;
}
*.s_right {
    text-align: right;
}
*.s_nowrap {
    white-space: nowrap;
}
*.s_disabled {
    color: #e0e0e0;
}
a.selector {
    display: inline-block;
    vertical-align: middle;
    overflow: hidden;
    color: #000000;
    text-decoration: none;
}
a.selector.active, a.align.active {
    border-color: #ff0000;
    background-color: #ffe0e0;
    color: #ff0000;
}
a.selector:hover, a.selector:active {
    background-color: #e0e0e0;
}
a.selector.active:hover, a.selector.active:active, a.align.active {
    background-color: #ffc0c0;
}
div.thumb_sub {
    text-align: center;
}
div.thumb_sub p {
    margin: 2px 0px 10px 0px;
    text-align: center;
}
body.desktop div.thumb_sub img {
    margin: 0px 10px 0px 0px;
}
body.desktop div.thumb_sub p {
    width: 160px;
    clear: left;
    float: left;
}
body.desktop div.thumb_sub img {
    max-width: 160px;
    max-height: 160px;
}
body.mobile div.thumb_sub img {
    margin: 0px auto;
    max-width: 80%;
    max-height: 30em;
}
body.mobile div.thumb_sub {
    margin-top: 2px;
}
body.desktop div.thumb_main {
    margin-left: 170px;
}
body.mobile div.thumb_main {
    margin: 2px 0px 0px 10px;
}
img.inline {
    margin-right: 10px;
    vertical-align: bottom;
}
body.mobile img.inline {
    margin-bottom: 2px;
    vertical-align: bottom;
}
h3.date {
    width: 100px;
}
body.desktop h3.date {
    clear: left;
    float: left;
}
body.desktop div.date_main {
    margin-left: 100px;
}
div.thumb_end, div.date_end {
    clear: left;
}
div.date_end {
    margin-bottom: 0px;
}
div.thumb_end {
    margin-bottom: 10px;
}
div.cuttingboard {
    background-image: url(/cuttingboard.png);
}
p.footer {
    margin: 0px 0px 10px 0px;
    padding: 0px;
    background-color: #ffffff;
    color: #808080;
    text-align: right;
}
textarea {
    padding: 5px;
    vertical-align: top;
    text-align: left;
}
table {
    width: 100%;
    background-color: #ffffff;
    border-collapse: separate;
}
td, th {
    padding: 2px 5px;
    border-style: none;
    border-spacing: 2px;
    background-color: #fff0c0;
    text-align: left;
    line-height: 1.3em;
}
td.input {
    padding: 0px;
}
div.treeroot {
    border: solid 2px #ffffff;
    padding: 5px 0px 0px 10px;
}
div.treenode {
    border-style: solid;
    border-color: #ffffff;
    border-width: 2px 0px 0px 2px;
    padding: 0px 0px 0px 10px;
}
div.treeroot p, div.treenode p {
    margin: 0px;
}
div.treeroot p {
    padding: 0px 0px 5px 0px;
}
div.treenode p {
    padding: 0px 0px 0px 0px;
}
