body { 
  padding: 0;
  margin: 40px 0 25px 33px;
  background-color: white;
  background-image: url('/images/background_header.png');
  background-repeat: no-repeat;
  /*background-position: 7px -2px;*/
  font-family: sans-serif, arial;
}

a, a:visited {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
}

h1 {
  font-size: 25px;
}

#top {
  position: absolute;
  float: left;
  width: 845px;
  height: 30px;
  top: 0;
  left: 22px;
  padding: 8px 5px 0 5px;
  font-size: 0.8em;
}

#top-left {
  float: left;
}

#top-right {
  float: right;
  text-align: right;
  width: 300px;
  margin-top: 1px;
}

#top a, #top a:visited {
  color: darkblue;
  text-decoration: none;
}

#top a:hover, #top a:visited:hover {
  text-decoration: underline;
}

#top img { 
  border: 0;
  padding: 0px 0 8px 0;
}

#page {
  width: 845px;
  margin: 0;
  padding: 0;
}

#header {
  padding: 0;
  margin: 0;
  height: 90px;
  width: 640px;
}

#header a {
  text-decoration: none;
  display: block;
  margin-left: -15px;
  width: 670px;
  height: 76px;
  position: relative;
}

.help-icon {
  background-color: white;
  border: 1px solid black;
  padding: 0px 3px 0px 3px;
  color: red;
  font-weight: bold;
}

#content {
  float: left;
  width: 640px;
  margin: 0;
  padding: 0px;
}

#content h1, #content h2 {
  margin: 5px 0 5px 0;
}

#content .content {
  height: auto !important;
  height: 500px;
  min-height: 500px;
  padding: 10px;
}

.content-profile {
  height: 500px;
  padding: 0;
  margin-top: 0;
}

#content .full {
  width: 847px;
  height: auto !important;
  height: 500px;
  min-height: 500px;
  margin: -12px 0 0 -11px;
  padding: 5px;
  /*position: absolute;*/
  background: white url('/images/background_full.png') no-repeat;
}

#content .scroll {
  overflow: auto;
}

#login {
  width: 100%;
}

#login form {
  padding: 0;
  margin: 0;
}

#login .form-text { 
  border: 0;
  height: 20px;
  width: 182px;
  padding: 0 10px 0 10px;
  background: url(/images/input-text.png) no-repeat;
}

#userbox {
  float: right;
  text-align: right;
}

#userbox a, #userbox a:visited {
  text-decoration: none;
}

#userbox a:hover, #userbox a:visited:hover {
  text-decoration: underline;
}

#userbox .username {
  height: 40px;
  overflow: hidden;
}

#userbox .stats {
  font-size: 12px;
  overflow: hidden;
}

#header-sidebar {
  float: right;
  width: 182px;
  height: 78px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#sidebar {
  float: right;
  width: 170px;
  height: 483px;
  padding: 0 0 0 0;
  position: relative;
  top: 6px; left: 4px;
  overflow: auto;
  overflow-x: hidden;
  font-size: 0.8em;
}

#sidebar ul {
  list-style-type: none;
  margin: 0;
  padding: 0 12px 0 12px;
}

#sidebar li {
  text-indent: -10px;
}

#sidebar a {
  text-decoration: none;
}

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

#scroll {
  position: absolute;
  top: 610px;
  left: 709px;
  width: 158px;
  height: 10px;
  margin: 0;
  padding: 0;
  border-top: 1px solid #a6a6a6;
  /*background: url('/images/scroll.png') no-repeat;*/
}

#scroll .up {
  float: left;
  display: block;
  width: 78px;
  height: 100%;
  padding: 5px 0 5px 0 !important;
  padding: 1px 0 1px 0;
  margin: 0;
  border-right: 1px solid #a6a6a6;
  background: url('/images/up.png') no-repeat center center;
}

#scroll .down {
  float: right;
  display: block;
  width: 79px;
  height: 100%;
  padding: 5px 0 5px 0 !important;
  padding: 1px 0 1px 0;
  margin: 0;
  background: url('/images/down.png') no-repeat center center;
}

#scroll img {
  border: none;
}

#map-nav {
  width: 100%;
}

#nav {
  margin: 0 0 0 1px !important;
  margin: 0;
  padding: 0 !important;
  padding: 0 2px 1px 2px;
  float: left;
}

#nav .text {
  padding-left: 10px;
}

#nav a:link, #nav a:visited {
  position: relative;
  color: black;
  font-weight: bold;
  text-decoration: none;
  display: block;
  float: left;
  width: 85px;
  height: 22px;
  margin: -1px;
  background: url('/images/map-button.png') no-repeat bottom left;
}

#nav a:hover, #nav a:visited:hover {
  color: blue;
  background: url('/images/map-button.png') no-repeat bottom left;
}

#nav a:focus { 
  -moz-outline-style: none;
}

#search {
  float: right;
  height: 22px;
  width: 224px;
  padding: 0;
  margin: 0;
}

#search form {
  padding: 0 0 0 3px;
  margin: 0;
}


#search input {
  padding-left: 2px;
  border: 1px solid #ccc;
  width: 122px;
  text-align: left;
}

#icons {
  float: right;
}

#search img { 
  border: 0;
}

#searchbox {
  background: url('/images/searchbox.png') no-repeat;
  width: 200px;
  height: 120px;
  position: absolute;
  bottom: 0;
  margin: 0;
  padding: 2px;
  bottom: 25px;
  left: 378px;
  display: none;
}

#searchbox .form-title {
  font-size: 12px;
  font-weight: bold;
  margin: 0;
  padding: 0;
}

#searchbox .form-label {
  font-size: 10px;
}

#searchbox .form-text {
  font-size: 12px;
  position: absolute;
  left: 55px;
  width: 140px;
  border: 1px solid #aaa;
}

#searchbox .form-button {
  font-size: 10px;
  position: relative;
  left: 75px;
  top: -1px;
  width: 75px;
  border: 1px solid #888;
}

#searchbox .close {
  float: right;
  margin-right: 5px;
}

#helpbox {
  position: absolute;
  top: -75px;
  left: 250px;
  width: 200px;
  height: 80px;
  font-size: 14px;
  font-weight: bold;
  font-family: arial;
  display: none;
}

#beta {
  position: absolute;
  top: 100px;
  left: 200px;
  font-size: 14px;
  font-family: arial;
}

#beta .beta-title {
  color: red;
  font-weight: bold;
}

#beta .beta-text {
  font-size: 12px;
}

#helpWindow_content {
  padding: 5px;
  font-size:0.8em;
}

.gray {
  color: #888;
}

#footer {
  clear: both;
  text-align: center;
  padding: 10px;
  color: #888;
  font-size: 0.8em;
}

#blank-page {
  /*position: absolute;*/
  z-index: 10;
  left: 19px;
  top: 116px;
  width: 860px;
  height: 510px;
  background: white;
}

#map-page {
  width: 847px;
  height: auto !important;
  height: 500px;
  min-height: 500px;
  margin: -12px 0 0 -11px;
  padding: 5px;
  background: white url('/images/background_map.png') no-repeat;
  /*position: absolute;*/
  z-index: -1;
}

#map-left {
  width: 640px;
  margin: 7px 0 0 5px;
  padding: 0;
}

#map {
  width: 100%;
  height: 470px;
  margin: 0;
  padding: 0;
}

#overlay {
  position: absolute;
  top: 330px;
  left: 230px;
  width: 200px;
  padding: 20px;
  text-align: center;
  font-weight: bold;
  background: #aaa; 
  border: 1px solid #333;
  opacity: .75;
}

#init {
  position: absolute;
}

#clear, .clear { 
  clear: both;
}

div.profile-item {
  padding-bottom: 5px;
}

.form-item {
  padding-bottom: 5px;
}

.form-textarea {
 width: 300px;
}

.form-label, .profile-label {
  font-weight: bold;
}

.form-text {
  width: 300px;
}

.form-submit {
}

.form-comment {
	font-size: 0.8em;
}

.error {
  color: red;
  font-weight: bold;
  font-style: italic;
}

.msg {
  font-weight: bold;
  font-style: italic;
}

.disabled {
  color: #888;
}

.number {
  text-align: right;
}

.small {
  font-size: 0.8em;
}

.question {
  font-weight: bold;
  padding: 5px;
}

.answer {
  font-style: italic;
  padding: 5px;
}

#users-page th a {
  color: black;
  text-decoration: none;
}

.title {
  font-weight: bold;
}

#view {
  width: 300px;
  height: 270px;
}

#view-links {
  position: relative;
  top: -10px;
  width: 290px;
  height: 18px;
  margin-bottom: 2px;
  border-bottom: 1px solid black;
  font-size: 0.8em;
}

#view-links a, #links a:visited {
  text-decoration: none;
}

#view-links a:hover, #links a:visited:hover {
  text-decoration: underline;
}

#view-links-left {
  float: left;
}

#view-links-left select {
  position: relative;
  top: -5px;
}

#view-links-right {
  float: right;
}

#view iframe { 
  display: none;
  position: absolute;
  height: 30px;
  width: 135px;
  top: -5px;
  left: 50px;
}

#view .event-question {
  font-weight: bold;	
}

#view .event-question-hilight {
  color: red;
}

#event-stats {
  font-size: 0.8em;
}

#view-scroll {
  clear: both;
  position: relative;
  top: -10px;
  left: -10px;
  width: 318px;
  height: 250px;
  overflow: auto;
  padding-right: 3px;
}

#view-body .close-button { 
  position: relative;
  width: 60px;
  left: 245px;
  padding: 2px;
  clear: both;
}

.full-height {

}

img.image { 
  float: right;
  margin-left: 10px;

  /*width: 150px;
  max-height: 400px;
  width: expression(width > height ? '150px' : 'auto');
  height: expression(height > width ? '200px' : 'auto');*/
}

#image-full { 
  max-width: 300px;
}

#view-footer {
  position: absolute;
  bottom: -10px;
  width: 300px;
  margin-top: 2px;
  border-top: 1px solid black;
  font-size: 0.8em;
}

#view-footer-left {
  float: left;
}

#view-footer-right {
  float: right;
}

#favlink {
  position: relative;
  height: 24px;
  padding: 4px 0 2px 24px;
  background-position: -2px -2px;
  background-repeat: no-repeat;
}

#name {
  padding-bottom: 5px;
}

#address {
  padding-bottom: 5px;
}

#tags {
  font-size: 0.8em;
  margin-top: 5px;
}

#edit {
  position: absolute;
  top: -10px;
  width: 300px;
  height: 290px;
}

#edit .form-text, #add .form-text {
  width: 100%;
}

#edit textarea, #add textaera {
  height: 60px;
}

#edit .form-select-row, #add .form-select-row {
  margin-bottom: 5px;
  width: 225px;
}

#edit .form-select-row select, #add .form-select-row select {
  position: absolute;
  left: 75px;
  width: 150px;
}

#edit .form-button {
  width: 59px;
  margin: 2px 1px 0 0;
}

#edit .form-icon, #add .form-icon {
  float: right;
}

#edit .form-icon .form-label, #add .form-icon .form-label {
  float: left;
  padding: 0 5px 0 0;
}

#add {
  width: 300px;
  height: 315px;
}

#add-body {
  position: absolute;
  top: -10px;
  width: 300px;
}

#form-lid {
  width: 300px;
}

#add-coords {
  /*clear: both;
  display: block;*/
  /*margin-top: 10px;k
  padding-top: 5px;
  border-top: 1px solid black;*/
  padding-bottom: 5px;
  font-size: 0.8em;
}

#add-coords a { 
  float: right;
  margin: 0px 10px 0 0;
}

#commentbox {
  padding: 10px;
  overflow: auto;
}

#favoritetab, #eventtab {
  width: 300px;
  height: 265px;
}

#fav-title, #event-title {
  position: relative;
  top: -10px;
  width: 290px;
  font-weight: bold;
}

#fav-scroll, #event-scroll {
  position: relative;
  left: -10px;
  top: -10px;
  width: 320px;
  height: 265px;
  overflow: auto;
}

.tabmsg {
  font-style: italic;
  text-align: center;
  margin-top: 130px;
}

#favoritetab .favheader, #eventtab .eventheader {
	font-weight: bold;
	margin: 0.5em 0 0.5em 0;
	padding: 0;
}

#favoritetab .favuser, #eventtab .eventuser {
  height: 40px;
  border: 0px solid #eee;
  margin: 0px 3px 0px 0;
  padding: 3px;
}

#favoritetab .favuser img, #eventtab .eventuser img {
  float: right;
}

#favoritetab .odd {
  background: #eee;
}

#favoritetab .even {
  background: #fff;
}

#eventtab .value-1-odd {
  background: #cfc;
}

#eventtab .value-1-even {
  background: #efe;
}

#eventtab .value-2-odd {
  background: #ffc;
}

#eventtab .value-2-even {
  background: #ffe;
}

#eventtab .value-3-odd {
  background: #dedede;
}

#eventtab .value-3-even {
  background: #eee;
}

#comment-form {
  margin-bottom: 10px;
}

#comment {
  padding: 5px;
  margin: 5px;
  border-bottom: 1px solid black;
}

.comment-header a {
  color: black;
}

.comment-header {
}

.comment-body { 
}

.icon {
  float: right;
  text-align: center;
  padding: 5px 5px 0 5px;
}

#iconselector {
  font-size: 0.8em;
  overflow: auto;
}

.iconselector-item {
  height: 75px;
  width: 75px;
  float: left;
  text-align: center;
}

.icon img, .iconselector-item img {
  border: none;
}

.iconselector-item-current img {
  border: dashed 2px #ccc;
  padding: 5px;
}

#top a {
  padding: 0 5px 0 5px;
}

#tagcloud {
  text-align: center;
  padding: 10px;
  overflow: auto;
}

#tagcloud a {
  text-decoration: none;
}

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

.hidden {
  display: none;
}

#profile {
  padding: 10px;
}

#profile .username {
  font-size: 1.5em;
  font-weight: bold;
  padding-bottom: 10px;
}

#groups-page form {
  margin: 0;
  padding: 0;
}

#groups-page input {
  margin: 0 0 5px 0;
}

#groups-page .groupname {
  cursor: pointer;
  width: 300px;
}

#groups-page .right {
  margin-right: 10px;
}

#userlist, #grouplist {
  width: 49%;
}

#userlist { 
  float: right;
}

#userlist select {
  /*width: 100%;
	height: 370px;
  margin-bottom: 5px;*/
}

#users, #groups {
  width: 100%;
  height: 370px;
  margin-bottom: 5px;
}

#friends-page h1, #friends-pending-page h1, #friends-recommend-page h1, #friends-search-page h1 {
  margin: 5px 0 5px 0;
}

#friends-page h2, #friends-pending-page h2, #friends-recommend-page h2, #friends-search-page h2 {
  margin: 5px 0 5px 3px;
}

#friends-page h1 a {
  color: black;
}

#user {
  width: 268px;
  float: left;
  background-color: white;
  margin: 5px;
}

#user .id {
  /*padding-bottom: 5px;*/
  height: 64px;
}

#user .name {
  padding: 5px;
  font-weight: bold;
  font-size: 14px;
  overflow: hidden;
}

#user .nickname {
  padding: 5px;
  font-weight: bold;
  font-size: 12px;
}

#user .location {
  padding: 5px;
  font-size: 0.8em;
}

#user img {
  padding: 2px;
}

#user .links {
  padding: 5px;
  font-size: 0.8em;
  padding-top: 8px;
  border-top: 1px solid #888;
}

.friend {
  border: 2px solid #dfd;
}

.friend .name {
  background: #dfd;
  padding: 3px;
}

.unknown {
  border: 2px solid #ddd;
}

.unknown .name {
  background: #ddd;
  padding: 3px;
}

.me {
  border: 2px solid #ddd;
}

.me .name {
  background: #ddd;
  padding: 3px;
}

.pending1 {
  border: 2px solid #fdd;
}

.pending1 .name {
  background: #fdd;
}

.pending2 {
  border: 2px solid #ddf;
}

.pending2 .name {
  background: #ddf;
}

a.tag1 {
 font-size: 0.8em;
}

a.tag2 {
 font-size: 1em;
 font-weight: 500;
}

a.tag3 {
 font-size: 1.2em;
 font-weight: 600;
}

a.tag4 {
 font-size: 1.4em;
 font-weight: 700;
}

a.tag5 {
 font-size: 1.6em;
 background-color: #FFFF99;
}

a.tag6 {
 font-size: 1.8em;
 background-color: #CCCCFF;
}

a.tag7 {
 font-size: 2.0em;
 background-color: #FFCCCC;
 font-weight: 900;
}

/**** scrollbar ****/

.scrollgeneric {
  line-height: 1px;
  font-size: 1px;
  position: absolute;
}

.vscrollerbase, .vscrollerbar {
  width: 15px;
  top: 0px;
}

.vscrollerbar {
  left: 0px;
}

.hscrollerbase, .hscrollerbar {
  height: 15px;
  left: 0px;
}

.hscrollerbar {
  top: 0px;
}

.hscrollerbar {
  top: 20px !important;
}

.vscrollerbar, .hscrollerbar {
  padding: 0;
  z-index: 2;
}

.vscrollerbarbeg {
  background: url(/images/vscroller.png) 0px -10px;
  width: 10px;
  height: auto;
}

.vscrollerbarend {
  background: url(/images/vscroller.png);
  width: 10px;
  height: 9px;
}

.vscrollerbase {
  width: 10px;
  background: none;
}

/**** menu ****/

#menu {
  float: right;
  text-align: left;
  margin: 0 0 0 10px;
}

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

#menu ul a {
  padding: 3px;
  margin: 0;
}

#menu li {
  padding: 0;
  list-style: none;
  display: inline;
}

#menu ul ul {
  position: absolute;
  top: 31px;
  left: 713px;
  width: 140px;
  z-index: 500;
  border-bottom: 1px solid black;
  border-right: 1px solid black;
  border-left: 1px solid black;
  background: #eee;
}

#menu ul ul li {
  width: 100%;
  display: block;
}

#menu ul ul li:hover {
  background: #fff;
}

#menu ul ul a {
  width: 100%;
  height: 100%;
  display: block;
  padding: 3px 0 3px 0;
  margin: 0;
}

#menu a:hover, #menu a:visited:hover {
  text-decoration: none;
}

#menu ul ul img {
  margin-bottom: -3px;
  padding: 5px 0 0 5px;
}

#menu ul ul a.img {
  padding: 0;
  width: 15px;
}

#menu ul ul ul {
  position: absolute;
  top: 0;
  left: 100%;
  margin-top: -2px;
  padding-top: 1px;
}

#menu ul ul,
#menu ul li:hover ul ul,
#menu ul ul li:hover ul ul {
  display: none;
}

#menu ul li:hover ul,
#menu ul ul li:hover ul,
#menu ul ul ul li:hover ul {
  display: block;
}

.page {
  width: 100%;
  clear: both;
  text-align: center;
}

.invite-email-textbox {
  width: 300px;
}

.invite-wrong-mail {
  width: 300px;
  color: red;
}

#register-intro h2 {
	margin: 0 0 5px 0;
}

#register-intro p {
	margin: 5px 0 0 0;
}

#register {
	width: 49%;
}

#register .form-text { 
  width: 100%;
}

#register-login .form-text {
	width: 100%;
}

#register-login {
	float: right;
	width: 49%;
}

#register-login p {
	font-size: 0.9em;
}

#invite-page .form-title {
  font-size: 1.2em;
  font-weight: bold;
}

#invite-page .left {
  width: 400px;
}

#invite-page .right {
  float: right;
  width: 400px;
}

#invite-userlist {
  max-height: 200px;
  height: 200px;
  width: 100%;
	overflow: auto;
}

#invite-maillist input, #invite-single-tab .form-textarea {
  width: 100%;
}

#forum-page #comment {
  background-color: white;
  border: 3px solid #ccc;
  width: 400px;
  margin-left: 50px;
  margin-bottom: 20px;
  padding: 0;
}

#forum-page .admin#comment {
  border: 3px solid #fcc;
}

#forum-page #commentbox-forum {
  margin-left: 50px;
  margin-top: 20px;
  width: 400px;
}

#forum-page #commentbox .form-text{
  width: 390px;
}

#forum-page #comment .comment-header {
  background-color: #ccc;
  padding: 5px;
}

#forum-page .admin#comment .comment-header {
  background-color: #fcc;
}

#forum-page #comment .comment-body {
  padding: 5px;
}

a#bulletin {
  color: red;
  font-weight: bold;
}
.noscript {
  position: absolute;
  z-index: 1000;
  top: 200px;
  left: 200px;
  font-weight: bold;
  font-size: 1.2em;
}

#cluster {
  width: 300px;
  height: 265px;
}

#cluster-title {
  position: relative;
  top: -10px;
  width: 290px;
  font-weight: bold;
}

#cluster-content {
  position: relative;
  left: -10px;
  top: -10px;
  width: 320px;
  height: 255px;
  overflow: auto;
}


#cluster .cluster-row { 
  clear: both;
  padding: 5px 0 5px 0;
}


#cluster img {
  float: left;
}

#cluster .cluster-title {
  float: left;
  position: relative;
  left: 3px;
  top: 0;
  width: 260px;
}

#bulletin-page #comment {
  background-color: white;
  border: 3px solid #dfd;
  width: 400px;
  margin-left: 50px;
  margin-bottom: 20px;
  padding: 0;
}


#bulletin-page #commentbox-bulletin {
  margin-left: 50px;
  margin-top: 20px;
  width: 400px;
}

#bulletin-page #commentbox .form-text{
  width: 390px;
}

#bulletin-page #comment .comment-header {
  background-color: #dfd;
  padding: 5px;
}


#bulletin-page #comment .comment-body {
  padding: 5px;
}

.overlay_map {
  background-color: #cccccc;
  opacity: 0.6;
}

#address_search_box {
  position: absolute;
  top: 35px;
  left: 250px;
}

.address-example-text {
  font-size: 10px;
}

#upper-loading-icon {
  position: absolute;
  top: 55px;
  left: 500px;
  display: none;
}
