:root {
  --gd_chat-spacing-height: 30px;
  --gd_chat-spacing-width: 30px;
  --gd_chat-color-primary: #22253b;
  --gd_chat-color-white: #ffffff;
  --gd_chat-color-black: #000000;
  --gd_chat-color-red: #b00b0b;
  --gd_chat-font-size: 18px;
  --gd_chat-border-radius: 20px;
}

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, dialog, figure, footer, header,
hgroup, menu, nav, section,
time, mark, audio, video {
/*outline: solid 1px red;*/
}

#article-content {
  width: 840px;
  font-size: var(--gd_chat-font-size);
//  padding-bottom: calc(var(--gd_chat-spacing-height)*3/2);
}

#gd_chat-nav {
  margin-bottom: calc(var(--gd_chat-spacing-height)/3);
}

#gd_chat-nav-list {
  list-style-type: none;
  width: 100%;
  text-align: right;
}

.gd_chat-nav-item {
  display: inline-block;
  margin-left: 0.3em;
  margin-right: 0.3em;
}

.gd_chat-list {
  margin: 0.5em 0;
}

.gd_chat-list-item {
  margin: 0.5em 0;
}

button, input[type="submit"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0;
  border: none;
  outline: none;
  background: transparent;
}

.button, input[type="submit"] {
  display: inline-block;
  width: auto;
  padding: 1em 4em;
  line-height: 1em;
  font-size: 1em;
  text-align: center;
  color: var(--gd_chat-color-white) !important;
  background-color: #aaaaaa;
  text-decoration: none !important;
  border-radius: 2em;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

.button:hover, input[type="submit"]:hover {
  cursor: pointer;
  opacity: 0.7;
}

.button.submit, input[type="submit"] {
  background-color: var(--gd_chat-color-primary);
}

input[type="text"], input[type="password"] {
  padding: 0;
  border: none;
  border-radius: 0;
  outline: none;
  background: none;
}

input[type="text"], input[type="password"], select, textarea {
  border: solid 1px #aaaaaa;
  background-color: #ffffff;
  border-radius: 0.2em;
  font-size: 1em;
}

input[type="text"], input[type="password"] {
  line-height: 1em;
  padding: 0.2em 0.5em;
}

textarea {
  padding: 0.2em 0.5em;
}

select {
  line-height: 1em;
  padding: 0.1em 0.2em;
  text-align: left;
}

input[type="text"].error, input[type="password"].error, select.error, textarea.error {
  background-color: #ffe4e1;
  border-color: #ee0000;
}

::placeholder {
  color: #aaaaaa;
}
