* {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    background-color: #000000;
    color: #ffffff;
    font-family: monospace;
}

a {
    color: #1d75d4;
    text-decoration: underline;
}

a:hover {
    color: #c5d5d5;
}

a.c:hover {
    color: #c5d5d5;
}
button,
input,
textarea {
    display: inline-block;
    display: inline;
    width: 100%;
    text-align: left;
    margin: 0 0 2px;
    padding: 4px;
    font: inherit;
    line-height: 1;
    color: #666666;
    background-color: #101010;
    border: 1px solid #080808;
}

h2 {
    text-align: center;
}

input {
    display: block
}

textarea {
    display: block;
    resize: vertical;
    line-height: inherit;
    height: 80px;
    resize: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    margin: 0;
    padding: 0;
    border: none;
    outline: none;
}

button {
    width: auto;
    padding: 5px 8px;
    background-color: #caec8c;
    border-color: #a3bc6f;
    color: #4a5d31;
    font-weight: bold;
    cursor: pointer;
    float: right;
}

input:focus,
textarea:focus {
    color: #aaa
}

button:focus,
button:hover {
    background-color: #c1e083;
    border-color: #879d5d;
}

input[name="math"] {
    display: inline-block;
    display: inline;
    width: 30px;
    height: 25px;
}

.guestbook {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    padding: 10px;
    padding-top: 25px;
}

.guestbook form label {
    display: block;
    float: left;
    width: 50px;
    text-align: right;
    padding-top: 3px;
}

.guestbook form label[for="captcha_code"] {
    display: inline-block;
    text-align: left;
    width: fit-content;
    margin-right: 10px;
}

input#captcha_code {
    width: 100px;
}

.guestbook form div {
    margin-left: 58px
}

.guestbook hr {
    height: 0;
    border: none;
    border-top: 1px solid #999;
    margin: 10px 0 10px;
}

.desc {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}

.guest-item {
    border: 1px solid #aaa;
    margin-top: 4px;
    padding: 4px;
    position: relative;
}

.guest-name {
    font-weight: bold;
    margin-left: 2px;
}

.guest-timestamp {
    float: right;
    margin-right: 2px;
}

.guest-message {
    display: block;
    clear: both;
    margin-top: 4px;
    padding: 4px 6px;
    background-color: #000000;
    color: #d478ee;
}

.guestbook-nav {
    margin: 5px 0;
    text-align: center;
}

.pink {
    color: #d478ee;
}

.white {
    color: #ffffff;
}

.guestbook-form {
    border-left: 1px solid #aaa;
    border-right: 1px solid #aaa;
    padding: 10px;
    margin-top: 4px;
    margin-bottom: 8px;
}

input[type=text]:focus, 
textarea:focus {
  outline: none; 
  box-shadow: 0 0 0 1px #d478ee;
}

.message-error,
.message-warning {
    padding: 5px 10px;
    background-color: #ee789290;
    color: #000000;
    margin-bottom: 10px;
}

.message-warning {
    background-color: #eed478
}

.message-error:first-child,
.message-warning:first-child {
    border-top: none
}

.clear {
    display: block;
    clear: both;
}

.guestbook form .submit_container {
    margin-left: 0px;
}
button[type="submit"] {
    float: left;
}