body {
  font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  background: url(images/logo.gif) no-repeat -35px -5px;
}

select,
input[type=text] {
  font: 14px 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}

#header {
  font-size: 21px;
  margin-left: 100px;
  margin-top: 26px;
  line-height: 50px;
  height: 35px;
}

#header a {
  text-decoration: none;
  color: rgb(000, 028, 082);
}

#header a:hover {
  text-decoration: underline;
}

#header span {
  margin-left: 20px;
}

/* EVENT MENU */
#festival_schedule {
  width: 180px;
  float: right;
  border: 1px outset #CCC;
}

#festival_schedule dl {
  padding: 0;
  margin: 0 0 10px;
}

#festival_schedule dt {
  font: bold 16px 'Arial';
  padding: 5px 10px;
}

#festival_schedule dt a {
  color: #999;
}

#festival_schedule dt a:hover {
  color: rgb(000, 028, 082);
  text-decoration: underline !important;
}

#festival_schedule dd {
  margin: 0;
  display: none;
  font-wight: normal;
  font-size: 14px;
  line-height: 1.2;
}

#festival_schedule dd a {
  display: block;
  padding: 5px 3px;
  margin-bottom: 1px;
  color: rgb(000, 028, 082);
  text-decoration: none;
}

#festival_schedule dd a.current,
#festival_schedule dd a:hover {
  background-color: rgb(000, 028, 082);
  text-decoration: none;
  color: #FFF;
}

#festival_schedule dt.open {
  background: #FFF url(images/arrow_open.gif) no-repeat left center;
}
#festival_schedule dt.open a {
  color: rgb(000, 028, 082);
  text-decoration: none;
}
#festival_schedule dt.close {
  background: #FFF url(images/arrow_close.gif) no-repeat left center;
}
#festival_schedule dt.close a:link {
  text-decoration: none;
}
#festival_schedule dd.hide {
  display: none;
}
#festival_schedule dd.show {
  display: block;
}

#festival_schedule div.adduser {
  display: none;
}

#festival_schedule div.adduser a {
  background:#EEE;
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  color: rgb(000, 028, 082);
}

#festival_schedule div.adduser a:hover {
  color: #FFF;
  background: rgb(000, 028, 082);
}

/* SUBMENU */
#submenu {
  width: 85%;
}

#submenu span {
  background: #EEE;
  border: 1px solid #FFF;
  margin-right: 10px;
  padding: 2px 5px;
  font-size: 12px;
  font-weight: bold;
}

#submenu a {
  margin-right: 10px;
  color: blue;
  margin-right: 10px;
  padding: 2px 5px;
}

#submenu a:hover {
  background: #EEE;
  margin-right: 10px;
  padding: 2px 5px;
  text-decoration: none;
}

#submenu a.current {
  color: #FFF;
  background: rgb(000, 028, 082);
  margin-right: 10px;
  padding: 2px 5px;
  text-decoration: none;
}

#submenu input[type=text],
#submenu label,
#submenu select {
  margin-right: 5px;
}

#submenu #add_tourney {
  display: none;
}

/* RESULT */
#result {
  font-size: 18px;
}

#result ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#result ul li {
  float: left;
  margin-right: 10px;
  padding: 5px 0;
}

#result ul li#winner {
  font-weight: bold;
}

#result ul li span {
  margin-right: 5px;
  padding: 1px 5px;
  font-weight: normal;
  font-size: 14px;
}

#result ul li#winner span {
  background: rgb(212, 255, 127);
  border: 1px solid rgb(212, 255, 127);
}

#result ul li#runnersup span {
  background: #FFF;
  border: 1px solid rgb(212, 255, 127);
}

#result ul li#prizes span {
  background: #EEE;
  border: 1px solid #CCC;
}


/* TOUNEY */
#tourney {
  width: 85%;
  clear: left;
}

#tourney dl {
  float: left;
  width: 150px; /* FOR CLIENT */
  margin-rihgt: 5px;
  padding-right: 5px;
}

#tourney dl dt {
  font-weight: bold;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-align: center;
  padding: 3px 0;
  margin-bottom: 5px;
  background: rgb(000, 028, 082);
  color: #FFF;
  line-height: 16px;
}

#tourney dl dt a {
  margin-left: 5px;
  font: normal 11px monospace;
  letter-spacing: 0;
  color: #EEE;
  text-decoration: none;
}

/* FOR CLIENT */
#tourney dl a:hover {
  cursor: default;  
}

#tourney dl dd {
  margin: 0;
}

#tourney dl dd ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

#tourney dl dd ul li {
  position: relative;
}

#tourney dl dd ul li.pts {
  text-align: right;
  height: 10px !important;
  margin-right: 5px;
}

#tourney dl dd ul li.pts a {
  margin: 0;
  padding: 0;
  font: normal 10px monospace;
  color: #CCC;
}

/* FOR CLIENT */
#tourney dl dd ul li.pts a:hover {
  color: #CCC;
  cursor: default;  
}

#tourney dl dd input[type=text] {
  border: 1px outset rgb(216, 216, 216);
  font: 14px 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
  width: 130px; /* FOR CLIENT */
  margin: 0;
  background:#FFF;
  color: #000;
}

/* final */
#tourney dl#round_1 dt {
  color: rgb(212, 255, 127);
}

#tourney dl#round_1 dd {
  background: url(images/logo.gif) no-repeat center center;
}

#tourney dl#round_1 input[type=text] {
  border: 2px solid rgb(212, 255, 127);
}

#tourney dl dd ul li a {
  text-decoration: none;
  padding-left: 2px;
  font-size: 20px;
  color: #FFF;
}

#tourney dl dd ul li a:hover {
  color: FFF;
}

/* MODAL BOX*/
form#add_user fieldset {
  border: none;
  border-top: 1px solid #CCC;
  margin: 0 0 5px;
}

form#add_user legend {
  padding: 0 5px;
  font-weight: bold;
  color: rgb(000, 028, 082);
  font-size: 1.1em;
}

form#add_user fieldset div {
  clear: both;
  margin: 5px 0;
}

form#add_user label {
  float: left;
  width: 10%;
  text-align: right;
  padding-top: 2px;
  padding-right: 10px;
}

/* btns */
form#add_user div#btns input[type=submit] {
  border: 2px outset #CCC;
  cursor: pointer;
  padding: 5px 0;
  font-weight: bold;
  width: 100px;
  background-color: #F0F0F0;
  margin:10px;
}

form#add_user div#btns input[type=submit]:active {
  border: 2px inset #CCC;
}

form#add_user div#btns {
  margin-top: 20px;
  text-align: right;
  background-color: rgb(000, 028, 082);
}

/* BTNS */
#btns {
  padding: 10px 0;
}
#btns button {
  width: 60px;
  margin-right: 15px;
  display: none;
}

/* UPDATE */
#update {
  font: 12px monospace;
}

/* HR */
hr.clear {
  clear: left;
  border-width: 1px 0px 0px 0px;
  border-style: solid;
  border-color: rgb(000, 028, 082);
  height: 1px;
  display: none;
}

/* AD */
#ad {
  clear: left;
  width: 800px;
  text-align: center;
  margin: 0 auto;
}