@charset "utf-8";

html, body {
    font-size: 16px;
    font-family: sans-serif;
}

table {
    width: 100%;
}

td, th {
    padding: 8px;
    border: solid 1px black;
}

th {
    background-color: #d0d0d0;
}

p {
    margin-top: 10px;
}

header h1 {
    float: left;
}

header h1 a {
    color: black;
    text-decoration: none;
}

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

header h1 a:active {
    color: black;
    text-decoration: none;
}

header ul.menu {
    float: right;
    overflow: hidden;
    list-style-type: none;
    margin: 30px 0 0 0;
    padding: 0;
    color: black;
}

header ul.menu li {
    float: left;
}

header ul.menu li::after {
    content: "｜";
}

header ul.menu li:last-child::after {
    content: none;
}

h2 {
    margin-top: 30px;
    margin-bottom: 30px;
    border-left: solid 10px gray;
    padding-left: 12px;
}

h3 {
    border-bottom: dotted 2px gray;
    margin-top: 40px;
}

label {
    font-weight: normal;
}

input[type="text"], input[type="password"], input[type="email"] {
    width: 20rem;
    padding: 8px;
}

select, input[type="datetime-local"] {
    padding: 8px;
}

input[type="submit"] {
    border: 1px solid #336699;
    border-radius: 6px;
    padding: 8px 30px;
    color: #FFFFFF;
    background-image: linear-gradient(#99CCFF, #6699CC);
    font-weight: bold;
    margin: 0 10px;
}

input[type="submit"]:hover {
    background-image: linear-gradient(#BBEEFF, #88BBEE);
}

input[type="submit"].secondaryButton {
    border: 1px solid #666666;
    background-image: linear-gradient(#CCCCCC, #AAAAAA);
}

input[type="submit"].secondaryButton:hover {
    background-image: linear-gradient(#DDDDDD, #BBBBBB);
}


textarea {
    width: 100%;
    height: 40rem;
    padding: 8px;
}

textarea.message {
    height: 10rem;
}

textarea.comment {
    height: 10rem;
}

.comment_box {
    margin: 20px 0;
    border-bottom: dotted 1px gray;
}

.new {
    color: red;
    font-size: 0.75rem;
}

.red {
    color: red;
}

ul.validation_error {
    background-color: #ff6666;
    padding: 10px;
    list-style-type: none;
}

div.notice {
    background-color: #66ff66;
    padding: 10px;
    margin: 10px 0;
}

table.answer {
    counter-reset: lines;
}

table.answer td.line_number::before {
    counter-increment: lines;
    content: counter(lines);
}

table.answer td {
    padding: 0;
    border: 0;
}

table.answer td.line_number {
    white-space: nowrap;
    text-align: right;
    padding-right: 20px;
    width: 1%;
    color: #999999;
}

table.answer td.content {

}

pre.plain {
    background-color: transparent;
    padding: 0;
    margin: 0;
    line-height: 1.0;
    border: none;
    color: #636b6f;
    font-size: 16px;
    display: inline;
}
