/*******************************************
 *
 * GENERAL
 *
 *******************************************/

* {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  font: 0.8em "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","ＭＳ Ｐゴシック",sans-serif;
}

small {
  font-size: 85%;
}

a {
  color: #59c;
  text-decoration: none;
}

a:hover  {
  color: #fff;
  background-color: #59c;
}

img {
  border: none;
}

  a:hover > img  {
    background: none;
    color: #000;
  }

table {
  border-collapse: collapse;
}

dt {
  margin:1em 0 0.5em 0;
  font-weight: bold;
  font-size: 105%;
}

dd {
  font-size: 105%;
  margin:0 0 0 2em; padding:0;
}

ul {
 margin-top: 0.25em;
 margin-bottom: 0.25em;
}

li {
  margin: 5px 0;
}


h1 {
  font-size: 180%;
  padding: 0;
  margin: 1.25em 0 0.25em 0;
}

h2 {
  font-size: 150%;
  padding: 0;
  margin: 1.25em 0 0.25em 0;
}

h3 {
  font-size: 125%;
  padding: 0;
  margin: 1em 0 0.25em 0;
}

h4, h5, h6 {
  font-size: 100%;
  margin: .75em 0 0.25em 0;
}

input[type=submit], input[type=button], input[type=reset] {
  padding: 1px 20px !important;
  color: #333;
  font-size: 90%;
  font-weight: bold;
  margin: 0;
}

input[type=checkbox] {
  margin: 3px 0 1px 0;
}

textarea {
  width: 100%;
}

form fieldset {
        display: block;
        margin: 1em 0 0.5em 0;
        padding: 10px 20px 15px 20px;
        border: 1px solid #ccc;
        background: #f6f6f9;
}

  form fieldset legend {
    color: #333;
    padding: 2px 15px 2px 15px;
    border: 1px solid #ccc;
    background: #fff;
    margin-left: -1px;
    font-weight: bold;
    font-size: 105%;
  }

  form fieldset input[type=submit], input[type=button] {
    padding: 3px 40px;
  }

  form fieldset label {
    color: #333;
    display: block;
    font-weight: bold;
    margin: 2px 0;
  }

  form fieldset label.inline {
    display: inline;
  }

  form fieldset .description {
    color: #999;
    font-size: 90%;
    margin: 3px 0 0 0;
    padding: 5px 10px;
    border: 2px solid #ddd;
    background-color: #fff;
  }

  form fieldset .description p {
    padding: 0;
    margin: 0;
  }

  form fieldset ul {
  }

    form fieldset ul li {

    }

pre {
  padding: 0.75em 1em;
  border: 1px solid #eee;
  background-color: #f9f9fc;
  overflow: auto;
}

.section span {
  padding: 0.75em 1em 0 0.75em;
  font-weight: bold;
  font-size: 1.2em;
  color: #069;
}

.male {
  background: #bacdff;
}

.female {
  background: #ffadc2;
}

/*******************************************
 *
 * LAYOUT
 *
 *******************************************/

.page-title {
  font-weight: bold;
  font-size: 200%;
  margin: 0 0 0.5em 0;
}

.block {
  margin: 0.5em 0 1em 0;
}

.clear-floats {
  clear: both;
}

#wrapper {
  width: 1000px;
}

#container {
  float: left;
  width: 100%;
  background-color: #fff;
  margin-right: -160px;
}

#header {
  width: 100%;
  background-image: url(../images/bg.header.png);
  background-repeat: repeat-x;
  background-position: top left;
  background-color: #000;
  margin:0; padding:0;
  border-bottom: 1px solid #fff;
  position:relative;
}

  #header .informative {
    position:relative;
  }

  #header .informative #login-info {
    position:absolute;
    right:15px;
    top:5px;
    text-align: right;
    font-size: 85%;
    color: #eee;
  }

  #header .informative #logo {
    float: left;
    padding: 10px 0 5px 15px;
  }

    #header .informative #logo a {
      outline: none;
    }

    #header .informative #logo a:hover {
      background: none;
    }

  #header #keyword-search {
    padding-top: 10px;
    float: left;
  }

  #header #keyword-search p {
    color: #fff;
  }

  #header #menu {
    background-color: #fafafa;
    border-bottom: 1px solid #ccc;
    margin: 0;
    padding: 0;
    font-size: 105%;
    overflow: auto;
  }
    #header #menu a {
      outline: none;
    }

    #header #menu ul {
      margin: 0; padding: 2px 0;
      list-style: none;
    }

    #header #menu ul#main-navigation {
      float: left;
    }

    #header #menu ul#base-navigation {
      text-align:right;
    }

    #header #menu ul li {
      display: inline;
      font-weight: bold;
    }

      #header #menu ul li a {
        padding: 2px 15px;
      }

#footer {
  width: 1000px;
  position: fixed;
  bottom: 0;
  z-index:50;
  border-top: 1px solid #ccc;
  font-size: 90%;
  height: 28px;
  background-color: #fafafa;
}

  #footer a {
    padding: 1px;
  }

  #footer a:hover  {
    background: none;
    border-bottom: 1px dotted #59c;
    color: #000;
  }

  #footer #copy-right {
    padding: 8px 25px 0 0;
    float:right;
  }

#content {
  margin: 0px 150px 0px 160px;
  padding: 0px 10px 0px 10px;
}

  #content h2 {
    margin: 0px;
    padding:3px 0px 3px 5px;
    color: #fff;
    background: #59c;
  }

  #content .section {
    padding-top: 10px;
  }

#top_cm, #bottom_cm {
  text-align: center;
}

#bottom_cm {
  padding-bottom: 30px;
}

#primary {
  float: right;
  width: 100%;
  margin: 10px 0px 10px -160px;
}

#secondary {
  float: left;
  width: 150px;
  margin: 10px 0px 10px 10px;
  background: #ccc;
}
/*
  #secondary .section li {
    background-image: url(../images/triangle01.gif);
    background-repeat: no-repeat;
  }
*/
  #secondary h3 {
    margin: 0px;
    padding:3px 0px 3px 5px;
    color: #fff;
    background: #59c;
  }

#advertisement {
  float: right;
  width: 145px;
  margin: 10px 0px;
}

  #advertisement h3 {
    margin: 0px;
    padding:3px 0px 3px 5px;
    color: #fff;
    background: #59c;
  }

  #advertisement li {
    margin: 0px;
    padding: 0px 0px 5px 0px;
  }

  #advertisement .section {
    border-left: 1px dotted #59c;
    border-right: 1px dotted #59c;
    border-bottom: 1px dotted #59c;
  }

  #advertisement .section ul {
    margin-top: 0px;
  }

#seo-h1 {
  display: none;
}

.section {
  margin-bottom: 10px;
  padding-left: 10px;
}

  .section ul {
    list-style: none;
  }

#banner ul {
  list-style: none;
}

.page-navi {
  text-align: center;
}

/* Site list */

#site-list {
  padding: 10px 10px 10px 10px;
}

  #site-list h4 {
    margin-top: 10px;
    padding:3px 0px 3px 5px;
    color: #fff;
    background: #59c;
  }

table.siteList {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 10px 0;
  color: #222;
}

  table.siteList th {
    width: 6em;
    height: 1.2em;
    padding-left: 5px;
    text-align: left;
  }

  table.siteList td {
    padding-left: 5px;
    text-align: left;
  }

  table.siteList p {
    padding: 5px 5px 5px 5px;
  }

  table.siteList span a:hover  {
    background-color: #fff;
  }

  .siteImg img {
    width: 267px;
    border: 1px solid #000;
  }

  .rating {
    
  }
  .ratingMessage, .ratingCount {
    font-size: 85%;
  }

/* Search */

#search-left {
  float: left;
  width: 310px;
}

#search-right {
  float: left;
  width: 360px;
}

#geo-map {
 padding-right: 5px;
}

#my-clip {
 padding-right: 5px;
}

  #my-clip .section {
    padding-right: 10px;
    border-left: 1px dotted #59c;
    border-right: 1px dotted #59c;
    border-bottom: 1px dotted #59c;
    background: #cfe5ff;
  }

  #my-clip .section table.profList tbody td.profPhoto {
    width: 60px;
    padding: 0px 0px 0px 0px;
  }

#area-table {
  padding-left: 5px;
}

table.areaList {
  border-collapse: collapse;
  width: 100%;
  margin: 0px 0px 10px 0px;
  color: #222;
}

  table.areaList tbody {
    border: 1px solid #666;
  }

  table.areaList tbody th {
    text-align: left;
    border: 1px solid #666;
  }

  table.areaList tbody td {
    text-align: right;
    border: 1px solid #666;
  }

  table.areaList td, table.areaList th {
    margin: 0px;
    padding: 1px 5px;
  }

  table.areaList thead {
    border: 1px solid #333;
  }

  table.areaList .header {
    background-color: #333;
    color: #fff;
  }

  table.areaList tr {
    border: 1px solid #333;
  }

table.profList {
  border-collapse: collapse;
  width: 100%;
  margin: 0px 0px 10px 0px;
  color: #222;
}

  table.profList tbody th {
    width: 4em;
    padding-left: 5px;
    text-align: left;
    border: 1px solid #666;
  }

  table.profList tbody td {
    padding-left: 5px;
    text-align: left;
    border: 1px solid #666;
    background: #fff;
  }

  table.profList tbody td.profPhoto {
    width: 74px;
    padding: 0px 0px 0px 0px;
  }

  table.profList tbody td.profPhoto img {
    border: 1px solid #222;
  }

  table.profList tbody td.profView {
    text-align: center;
  }

/*******************************************
 *
 * RAILS SPECIFIC
 *
 *******************************************/

#errorExplanation h2 {
  background: #e33;
}

.errorExplanation {
  margin-bottom: 20px;
  font-size: 90%;
}

  .errorExplanation h3, .errorExplanation h2 {
    background: #e33;
    padding: 3px;
    margin-bottom: 0;
    font-size: 110%;
    color: #fff;
  }

  .errorExplanation ul {
    background: #fff;
    list-style: square;
    border-bottom: 2px solid #e33;
    margin: 0 0 5px 0;
    padding: 5px 0 5px 20px;
  }

  .errorExplanation li {
    color: #000;
    margin:0;
    margin-left: 0;
    padding: 0;
  }

  .errorExplanation p {
    font-size: 90%;
    color: #000;
    background: #eee;
    margin: 0;
    padding: 5px;
  }

.fieldWithErrors {
  display: inline;
}

  .fieldWithErrors input, .fieldWithErrors select, .fieldWithErrors textarea, .fieldWithErrors iframe {
        border: 1px solid #999;
        border-left: 4px solid #c00;
  }


.content-header {
  font-weight: bold;
  padding: 0 0 0.1em 0;
  margin: 1em 2px 0.5em 2px;
  border-bottom: 1px solid #eee;
  font-size: 95%;
}

.content-footer {
  font-weight: bold;
  font-size: 90%;
  border-top: 1px solid #eee;
  margin: 2em 0 0 0;
  padding: 0.2em 2px 0 2px;
}

#flash-box-container {
  position: absolute;
  left: 0;
  width: 1000px;
  background-color: #f6f6f9;
  border-top: 1px solid #999;
  border-bottom: 1px solid #999;
  z-index:100;
  cursor: pointer;
}

  #flash-box-container #flash-box { padding: 1em 6em }

  #flash-box-container .content {
    padding: 2px;
    font-weight: bold;
    text-align: center;
  }

  #flash-box-container .error { color: #c00; }
  #flash-box-container .warning {  color: #660; }
  #flash-box-container .notice {  color: #c00; }

ul.sortable {
  list-style: none;
  padding: 0;
  margin: 0;
}

  ul.sortable li {
    border: 1px solid #e8e8e8;
    padding: 3px 3px 3px 18px;
    margin: 5px 0;
    background-image: url(../images/sortable.png);
    background-repeat: no-repeat;
    background-position: center left;
  }

  ul.sortable * {
    cursor: pointer;
  }

/* inplace editor */

.inplaceeditor-form {
  font-weight: normal;
  margin: 1em 0;
}

  .inplaceeditor-form .editor_field {
    border: 1px solid #999;
    background-color: #fff;
  }


  .inplaceeditor-form textarea.editor_field {
    margin: 0 0 5px 0;
  }

  .inplaceeditor-form input.editor_field {
    width: 50%;
    margin: 0 5px 0 0;
  }

  .page-title .inplaceeditor-form {
    display: inline;
    font-size: 45%;
  }

  h1 .inplaceeditor-form {
    display: inline;
    font-size: 50%;
  }
  h2 .inplaceeditor-form {
    display: inline;
    font-size: 70%;
  }
  h3 .inplaceeditor-form {
    display: inline;
    font-size: 90%;
  }


  .inplaceeditor-form .editor_ok_button {
    border: 1px solid #666;
    background-color: #fff;
  }

  .inplaceeditor-form .editor_ok_button:hover {
    color: #fff;
    background-color: #59c;
  }

  .inplaceeditor-form .editor_cancel {
    margin: 0 0 0 10px;
  }

.inplaceeditor-handle {
  font-weight: bold;
  font-size: 85%;
}

.inplaceeditor-inline-handle {
  display: inline;
}

  h1 .inplaceeditor-inline-handle {
    font-size: 50%;
  }
  h2 .inplaceeditor-inline-handle {
    font-size: 60%;
  }
  h3 .inplaceeditor-inline-handle {
    font-size: 70%;
  }

/* sample search */
#search {
  width: 100%;
  padding-left: 30px;
  margin: 2px 5px;
}

#search .user_list {
  float: left;
  width: 138px;
  height: 40px;
  overflow: hidden;
  margin: 5px 2px;
  border: solid 1px #ccc;
}

#search .user_list .list_img {
  float: left;
  width: 60px;
  height: 100%;
  text-align: center;
  background-color: #000;
}

#search .user_list .list_img img {
  height: 40px;
}

#search .user_list dl {
  padding: 5px 0;
  text-align: center;
  font-size: 12px;
  line-height: 14px;
}

#search .user_list dd {
  width: 68px;
  height: 2.5em;
  padding-left: 3px;
  overflow: hidden;
  text-align: center;
}

#search .resent_user_list {
  width: 600px;
  height: 100px;
  overflow: auto;
  font-size: 95%;
  border: solid 1px black;
  margin: 5px 0px;
}

#search .resent_user_list .list_img {
  float: left;
  width: 75px;
  height: 100%;
  text-align: center;
}

#search .resent_user_list .list_img img {
  height: 50px;
}

#search .resent_user_list dl dt dd {
  float: left;
  padding: 5px;
}

#search .resent_user_list dt {
  width: 10em;
  height: 1.5em;
  overflow: hidden;
  font-weight: bold;
}
