body {
  padding-top: 20px;
}
h1 {
  font-size: 1.8em;
}
ul {
  padding: 0;
}
li {
  list-style-type: none;
  text-align: left;
}
.starter-template {
  padding: 40px 15px;
  text-align: center;
}
.strong {
  font-weight: bold;
}
.navbar-inverse .navbar-brand {
    color: #e4e4e4;
}
.navbar-inverse .navbar-nav>li>a {
    color: #e4e4e4;
}

footer {
  margin-bottom: 40px;
}
footer p {
  text-align: center;
}
footer .toTopDiv {
  float: right;
  margin-bottom: 10px;
}

.pagination-ellipsis {
  background-color: #ffffff;
  cursor: default;
}
.pagination > li > .pagination-ellipsis:hover,
.pagination > li > .pagination-ellipsis:focus {
  background-color: #ffffff;
  color: inherit;
}

/* form */
.form-signin {
  max-width: 330px;
  padding: 15px;
  margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
  margin-bottom: 10px;
}
.form-signin .checkbox {
  font-weight: normal;
}
.form-signin .form-control {
  position: relative;
  height: auto;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  padding: 10px;
  font-size: 16px;
}
.form-signin .form-control:focus {
  z-index: 2;
}
.form-signin input[type="email"] {
  margin-bottom: -1px;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
  margin-bottom: 10px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.form-horizontal {
  max-width: 480px;
  padding: 15px;
  margin: 0 auto;
}

/* match_list */
ul.match_list {
  margin-top: 4px;
}
ul.match_list li {
  width: 100%;
  margin-bottom: 12px;
  padding: 2px 6px;
  background-color: #5bc0de;
  box-shadow: 0 0 1px 2px #aaaaaa;
  border-radius: 4px;
  color: #fff;
  font-weight: bold;
}
ul.match_list li:hover, ul.match_list li:focus, ul.match_list li:active {
  background-color: #31b0d5;
}
ul.match_list li.deliver {
  background-color: #f0ad4e;
  box-shadow: none;
}
ul.match_list li.deliver:hover, ul.match_list li.deliver:focus, ul.match_list li.deliver:active {
  background-color: #ec971f;
}
ul.match_list a:hover, ul.match_list a:focus, ul.match_list a:active {
  text-decoration: none;
}
ul.match_list .button_div {
  padding-top: 2px;
  text-align: center;
}
ul.match_list hr {
  margin: 4px 0;
  clear: both;
}

/* contest_list */
div.contest_list div {
  width: 100%;
  margin-bottom: 4px;
  padding: 2px 6px;
  background-color: #5cb85c;
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
}
div.contest_list div:hover, div.contest_list div:focus, div.contest_list div:active {
  background-color: #449d44;
}
div.contest_list.waiting div {
  background-color: #888888;
}
div.contest_list.waiting div:hover, div.contest_list.waiting div:focus, div.contest_list.waiting div:active {
  background-color: #666666;
}
div.contest_list a {
  color: #fff;
  text-decoration: none;
}

/* match */
div.match_status {
  width: 100%;
  height: 3.0em;
  background-color: #5cb85c;
  color: #fff;
  line-height: 3.0em;
  font-weight: bold;
}
div.match_status.match_status_begin,
div.match_status.match_status_end {
  background-color: #888888;
}
div.match_status.match_status_cancel {
  background-color: #d9534f;
}

table.match_table td {
  text-align: left;
}
table.match_table td.title {
  background-color: #eeeeee;
  font-weight: bold;
}
table.match_table input[type=text] {
  width: 60px;
}

.form-no-padding {
  padding: 0;
}
.form-no-padding table.match_table td {
  padding: 2px;
}

table.match_history {
  width: 100%;
}
table.match_history td {
  text-align: left;
  padding: 2px 4px;
  border: 1px #ffffff solid;
}
table.match_history td.match_status {
  background-color: #5cb85c;
  text-align: center;
  color: #fff;
  font-weight: bold;
}
table.match_history td.match_status.match_status_begin,
table.match_history td.match_status.match_status_end {
  background-color: #888888;
}
table.match_history td.match_status.match_status_cancel {
  background-color: #d9534f;
}
table.match_history tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* contest */
div.contest_status {
  width: 100%;
  height: 3.0em;
  background-color: #5cb85c;
  color: #fff;
  line-height: 3.0em;
  font-weight: bold;
}
div.contest_status.contest_status_waiting,
div.contest_status.contest_status_end {
  background-color: #888888;
}
div.contest_status.contest_status_cancel {
  background-color: #d9534f;
}

div.contest_entry_div label {
  font-weight: normal;
}

table.score_table td.title {
  background-color: #eeeeee;
  font-weight: bold;
}
table.score_table > thead > tr > td,
table.score_table > tbody > tr > td {
  padding: 0px;
}

table.contest_user_table td.title {
  background-color: #eeeeee;
  font-weight: bold;
}
table.contest_user_table > thead > tr > td {
  padding: 0px;
}
table.contest_user_table > tbody > tr > td {
  padding: 1px 6px;
}

table.contest_match_table td.title {
  background-color: #eeeeee;
  font-weight: bold;
}
table.contest_match_table > thead > tr > td {
  padding: 0px;
}
table.contest_match_table > tbody > tr > td {
  padding: 1px;
}
table.contest_match_table > tbody > tr.to_contest_match:hover > td {
  background-color: #f4f4f4;
  cursor: pointer;
}

table.contest_vote_table {
  width: 640px;
  margin: 0 auto;
}
table.contest_vote_table td.title {
  background-color: #eeeeee;
  font-weight: bold;
}
table.contest_vote_table td.newest {
  background-color: #f0ad4e;
}
table.contest_vote_table > thead > tr > td {
  padding: 0px;
}
table.contest_vote_table > tbody > tr > td {
  padding: 1px 2px;
  vertical-align: middle;
}

div.contest_vote_note {
  width: 640px;
  margin: 0 auto;
  text-align: left;
}

div.to_contest_top {
  padding: 6px;
  background-color: #eeeeee;
}
div.to_contest_top:hover {
  background-color: #dddddd;
}

span.result_text > span {
  text-decoration: underline;
}

table.contest_history {
  width: 100%;
}
table.contest_history td {
  text-align: left;
  padding: 2px 4px;
  border: 1px #ffffff solid;
}
table.contest_history td.contest_status {
  background-color: #5cb85c;
  text-align: center;
  color: #fff;
  font-weight: bold;
}
table.contest_history td.contest_status.contest_status_waiting,
table.contest_history td.contest_status.contest_status_end {
  background-color: #888888;
}
table.contest_history tr:nth-child(even) {
  background-color: #f5f5f5;
}

/* link */
.link_div {
  width: 320px;
  margin: 0 auto;
}
.link_div li {
  margin-bottom: 10px;
}

/* chat */
div.chat form {
  position: relative;
  clear: right;
}
div.chat textarea {
  width: 100%;
  height: 2.4em;
}
div.chat button {
  position: absolute;
  top: 0;
  right: 0;
  height: 2.4em;
}
div.chat .chat_option {
  float: right;
}
div.chat .chat_option label {
  font-weight: normal;
}
div.chat ul {
  clear: both;
  background-color: #eeeeee;
  padding: 10px;
}
div.chat li {
  clear: both;
  padding-bottom: 10px;
}
div.chat div.img {
  float: left;
}
div.chat div.main {
  margin-left: 36px;
}
div.chat div.body.system {
  margin-left: 2px;
}
div.chat div.body.user {
  float: left;
  position: relative;
  padding: 6px 8px;
  margin-left: 12px;
  margin-bottom: 4px;
  border-radius: 8px;
  background-color: #ffffff;
}
div.chat div.body.user:before {
  content: "";
  position: absolute;
  top: 16px;
  left: -12px;
  display: block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 4px 12px 4px 0;
  border-color: transparent #ffffff transparent transparent;
  z-index: 0;
}
div.chat div.chat_time {
  float: right;
  font-size: 10px;
}
div.chat span.user_name {
  font-size: 10px;
}



@media (max-width: 767px) {
  h1 {
    font-size: 1.3em;
  }
  .navbar-brand {
    font-size: 14px;
  }
  .form-signin .form-control {
      font-size: 14px;
  }
}
