html, body {
  font-family: Lucida Grande, Bitstream Vera Sans, Verdana, sans-serif;
}

body {
  background: #747474 url(images/fond_degrade.png) repeat-x;
}

body, body * {
  margin: 0px;
  padding: 0px;
}

a img {
  border: 0px;
}

a, a:visited, a:hover {
  color: black;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

h3 a, h3 a:visited, h3 a:hover {
  color: white;
}

#header {
  text-align: center;
  height: 180px;
}

#search_people, #search_relation {
  margin: auto;
  width: 420px;
  display: none;
}

#search_query {
  width: 270px;
}

#search_from, #search_to {
  width: 136px;
}

.search_button {
  vertical-align: middle;
  cursor: pointer;
}

/*
 * Form Tabs
 */
.formTabs {
  width: 420px;
  text-align: left;
  padding-left: 5px;
  margin: 0px auto 6px auto;
  border-bottom: 1px solid #444;
  height: 20px;
  list-style-image: none;
  list-style-type: none;
}

.formTabs li {
  float: left;
  cursor: pointer;
  height: 20px;
  line-height: 20px;
  padding: 0px 5px;
  font-size: 0.8em;
}

.formTabs li.active {
  cursor: default;
  color: #4E9CD0;
}

/*
 * Results
 */
#results {
  min-width: 964px;
  height: 748px;
  background: #ebebeb url(images/people_search_03.jpg) 0px 0px repeat-x;
  position: relative;
  margin-top: 5px;
  border-left: 8px solid #4e9cd0;
  border-bottom: 1px solid #555555;
}

#results_list {
  position: absolute;
  z-index: 9999;
  width: 190px;
  padding: 0px 5px;
  border-right: 3px solid #4e9cd0;
  border-bottom: 3px solid #4e9cd0;
  background: white;
}

#results_list h3 {
  color: white;
  text-align: left;
  background: #4e9cd0;
  font-size: 1.4em;
  padding: 5px 10px;
  margin: 0px -5px 0px -5px;
}

#result_controls {
  margin-top: 10px;
  clear: both;
  display: none;
  text-align: center;
}

#browsing_path {
  font-size: 0.9em;
  color: #4e9cd0;
  position: absolute;
  left: 215px;
  top: 15px;
}

/*
 * Candidates list
 */
#candidates {
  overflow: hidden;
}

#candidates_toggler {
  cursor: pointer;
  position: absolute;
  left: 80px;
  bottom: -20px;
}

.candidate {
  text-align: left;
  border-bottom: 1px solid #bbb;
  padding: 3px 0px;
}

.candidate_name {
  font-size: 0.9em;
}

.candidate_links {
  background: transparent url(images/picto_link.gif) 0px 0px no-repeat;
  color: #666666;
  font-weight: bold;
  /*font-size: 0.8em;*/
  float: right;
  height: 30px;
  width: 30px;
  text-align: center;
  line-height: 29px;
}

.candidate_job {
  font-size: 0.55em;
  color: #666666;
}

/*
 * Mii Displaying
 */
.mii {
  position: absolute;
  font-size: 0.7em;
  background: url(images/fiche_contact.png) 0px 0px no-repeat;
  padding: 8px 10px 10px 6px;
  width: 245px;
  height: 145px;
  left: 50%;
}

.mainmii {
  position: relative;
  font-size: 0.7em;
  left: 50%;
  width: 327px;
  height: 162px;
  background: url(images/id_centre2.png) 0px 0px no-repeat;
  color: white;
  padding: 27px 20px 15px 12px;
}

.mii .mii_face {
  display: block;
  float: left;
  margin-top: -3px;
  margin-right: 5px;
  max-width: 90px;
  max-height: 100px;
  border-right: 3px solid #888888;
  border-bottom: 3px solid #888888;
}

.mainmii .mii_face {
  display: block;
  float: left;
  margin-top: -7px;
  margin-right: 10px;
  max-width: 110px;
  max-height: 110px;
  border: 3px solid white;
}

.mii h3 {
  color: white;
  font-size: 1.25em;
  margin-bottom: 10px;
}

.mainmii h3 {
  font-size: 18px;
  margin-top: 5px;
  margin-bottom: 3px;
}

.mii_text {
  margin-bottom: 4px;
  color: #666666;
  font-size: 0.8em;
  font-weight: bold;
}

.mainmii .mii_text {
  color: white;
}

/*
 * Mii's contexts classes
 */
.mii_ctxt {
  position: absolute;
  clear: both;
  text-align: center;
  height: 31px;
  vertical-align: middle;
}

.mii .mii_ctxt {
  bottom: 22px;
  left: 30px;
  width: 195px;
  padding: 5px 16px 0px 2px;
}

.mainmii .mii_ctxt {
  bottom: 30px;
  left: 40px;
  width: 280px;
  padding: 0px 30px 0px 0px;
}

.ctxt_controller img {
  position: absolute;
  cursor: pointer;
}

.ctxt_controller a {
  color: #666666;
}

.mainmii .ctxt_ctl_left {
  left: 23px;
  bottom: 30px;
}

.mii .ctxt_ctl_left {
  bottom: 25px;
  left: 8px;
}

.mainmii .ctxt_ctl_right {
  bottom: 30px;
  right: 23px;
}

.mii .ctxt_ctl_right {
  bottom: 25px;
  right: 10px;
}

/*
 * Relation drawer
 */
.relation_drawer {
  z-index: 1200;
  position: absolute;
  display: none;
}

#relation_drawer_think1 {
  width: 25px;
  height: 25px;
}

#relation_drawer_text_wrapper {
  text-align: center;
  max-width: 500px;
}

#relation_drawer_text {
  background: url(images/bulle_middle.png) repeat-x;
  font-size: 0.6em;
  padding: 8px 0px;
  height: 50px;
  float: left;
  max-width: 430px;
  min-width: 110px;
}

/*
 * Relation Zapper
 */
#relation_zapper {
  position: absolute;
  left: 50%;
  margin-left: -100px;
  height: 45px;
  width: 200px;
  bottom: 0px;
  background: url(images/relation_zapper.png);
}

#relation_zapper_prev {
  cursor: pointer;
  position: absolute;
  bottom: 9px;
  left: 25px;
}

#relation_zapper_next {
  cursor: pointer;
  position: absolute;
  bottom: 9px;
  right: 25px;
}

#relation_zapper_text {
  font-weight: bold;
  font-size: 1em;
  line-height: 55px;
  color: #ffffff;
  text-align: center;
}

/*
 * Relation arrow
 */
.relation_arrow_48 {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
}

.relation_arrow_288 {
  width: 430px;
  height: 120px;
  font-size: 0.7em;
  text-align: center;
}

.relation_arrow_ctxt {
  position: absolute;
  color: white;
  width: 380px;
  top: 39px;
  left: 14px;
}

.relation_arrow_ctxt_edge {
  position: absolute;
  color: white;
  width: 380px;
  top: 39px;
  right: 13px;
}

.borkenLink {
  position: absolute;
  left: 50%;
  top: 300px;
  margin-left: -24px;
}

/*
 * Footer
 */
#footer {
  font-size: 0.6em;
  color: #444444;
  text-align: center;
  margin: 5px 0px;
}

/*
 * Autocompleter script !
 */
ul.autocompleter-choices {
  position: absolute;
  list-style: none;
  border: 1px solid #eee;
  background-color: white;
  border-right-color: #ddd;
  border-bottom-color: #ddd;
  text-align: left;
  font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
  z-index: 50;
}

ul.autocompleter-choices li {
  position: relative;
  padding: 0.1em 1.5em 0.1em 1em;
  cursor: pointer;
  font-weight: normal;
  font-size: 0.8em;
}

ul.autocompleter-choices li.autocompleter-selected {
  background-color: #444;
  color: #fff;
}

ul.autocompleter-choices span.autocompleter-queried {
  font-weight: bold;
}

ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried {
  color: #9FCFFF;
}

