/*reset default browser styles*/
* { margin: 0; padding: 0; }
* { font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; }
ul { list-style: none inside; }
p { font-size: 1em; line-height: 1.7em; margin-bottom: 1.3em; color: #262626; }
a { outline: none; }
a img { border: none; }
/* end reset*/

a:hover { color: #262626; }

/*hacks */
div.clearing_div_hack {
  clear:both;
}

/* =============== */
/* = main layout = */
/* =============== */

div#page {
  width:900px;
  margin:100px auto;
}

div#comments {
  margin:10px 60px;
}

/* ============================ */
/* = main event summary block = */
/* ============================ */

div#event_summary_block {
  position:relative;
  /* border: 1px solid #ccc; */
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  background-color: #f3f3f3;
  padding:20px;
}

div#event_summary_block h1 {
  width:500px;
  float:left;
  font-size: 2em;
  line-height: 1em;
  letter-spacing: -1px;
  word-spacing: -1px;
  color:#262626;
  margin-bottom: .1em;
}

div#event_summary_block h2 {
  float:left;
  width:500px;
  font-size:1.5em;
  color:#888;
  font-family: Baskerville, Georgia, serif;
  font-style: italic;
  font-weight:normal;
  margin-bottom: .5em;
  word-spacing: -1px;
}

div#event_summary_block p.event_summary_text {
  margin:5px 0 15px 0;
}

div#event_summary_block h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  text-transform:uppercase;
  font-weight:bold;
  color:#4E9946;
  display:inline;
  float:left;
  font-size: .8em;
  margin-bottom:1.5em;
  text-shadow: 0 1px 2px #fff;
}

/* ====================================== */
/* = map and images in main event block = */
/* ====================================== */

div#event_visuals {
  width: 320px;
  float: right;
  clear:left;
}

div#event_visuals div#map {
  float: left;
}

div#event_visuals div#map img {  
  width: 130px;
}

div#event_visuals div#lead_photo img {
  height:90px;
}

div#event_visuals div#map span.caption,
div#event_visuals div#lead_photo span.caption {
  float:left;
  clear:both;
  color:#888;
  font-size: .6em;
  margin-top: .5em;
}

div#event_visuals div#lead_photo {
  float:right;
}

p.event_summary_text {
  float:left;
  margin-top:20px;
}

/* ======================== */
/* = event block metadata = */
/* ======================== */

div#event_metadata {
  position:absolute;
  bottom:20px;
  left:20px;
  font-size: .75em;
  color: #888;
}

div#event_metadata span.comment_count {
  padding:0 20px 0 20px;
  background: url('m_icon.gif') no-repeat 0%;
}

div#event_metadata span.event_participant_count {
  padding-left:30px;
  background: url('a_c_icon.gif') no-repeat 0px 0px;
}

/* ======================== */
/* = basic comment layout = */
/* ======================== */

div.comment {
  clear:both;
  float:left;
  width:100%;
  margin-top:30px;
  margin-left:50px;
  border-bottom:3px solid #000;
  padding-bottom:10px;
  position:relative;
}

div.comment div.main_col {
  width:400px;
  float:left;
}

div.comment div.secondary_col {
  width:300px;
  float:right;
  color:#999;
}

div.comment div.main_col p {
  float:left;
  font-size: .9em;
  line-height: 1.8888em;
}

/* ============================= */
/* = comment headers and links = */
/* ============================= */

h3 {
font-family: "Gill Sans", Arial, sans-serif;
}

div.comment a:link,
div.comment a:visited,
div.comment a:hover,
div.comment a:active {
  display:block;
  clear:both;
  color:#c3c3c3;
  font-size:1em;
  text-decoration:none;
}

div.comment div.main_col h3,
div.comment div.secondary_col h3 {
  margin:0 0 12px 0;
  text-transform:uppercase;
  color:#666;
  font-size:.7em;
  padding:4px 0px 0px 0px;
  float:left;
  font-weight:normal;
/*  border-top:1px solid #c3c3c3; */
/*  border-bottom:1px solid #c3c3c3; */
  width:100%;
  letter-spacing: 1px;
}
div.comment div.main_col h3 {
  text-align: left;
  color: #000;
  font-weight: bold;
/* background:#49433E; */

}

div.comment div.secondary_col h3 {
  text-align: right;
}

div.comment div.main_col h3 {
}

div.comment div.main_col h4 {
  font-family: "Gill Sans", Arial, sans-serif;
  text-transform: uppercase;
  font-size:0.7em;
  font-weight:bold;
  color:#888;
}

/* ========== */
/* = avatar = */
/* ========== */

div.comment div.main_col div.user_pic_and_name {
  margin-left:-110px;
  float:left;
  width:90px;
  text-align:center;
  background:#f3f3f3;
/*  border:1px solid #c3c3c3; */
  padding:1px;
  padding-bottom:5px;
}

div.comment div.main_col div.user_pic_and_name a img {
  width:80px;
  margin:5px;
  float:left;
}

div.comment div.main_col div.user_pic_and_name a.username:link,
div.comment div.main_col div.user_pic_and_name a.username:visited,
div.comment div.main_col div.user_pic_and_name a.username:hover,
div.comment div.main_col div.user_pic_and_name a.username:active {
  color:#888;
  padding:0;
  clear:left;
  display:block;
  text-decoration:none;
  text-transform:uppercase;
  font-size:.7em;
  float:left;
  width:100%;
}

div.comment div.main_col div.user_pic_and_name a.username:hover,
div.translation_attribution div.translator a.translator_name:hover {
  text-decoration:underline;
  color: #262626;
}

/* ==================== */
/* = comment metadata = */
/* ==================== */

div.comment div#comment_metadata {
  clear:both;
  font-size:.75em;
  text-transform:uppercase;
  color:#c3c3c3;
  float:left;
  width:100%;
  border-top:1px solid #e1e1e1;
  padding-top:15px;
  }
  
div.comment div#comment_metadata a:hover {
  color:#aaa;
  text-decoration:underline;
}

div.comment div#comment_metadataspan.user_location {
  float:left;
}

div.comment div#comment_metadata a.respond_to_comment {
  color:#888;
  clear:left;
  float:left;
  background:url('arrow_2.png') no-repeat;
  padding:2px 0 5px 20px;
  font-weight:bold;
}

div.comment div#comment_metadata a.respond_to_comment:hover {
  color:#262626;
  text-decoration: underline;
}

div.comment div#comment_metadata div.comment_datestamp {
  float:left;
  clear:left;
}

div.comment a.improve_translation {
  position:absolute;
  bottom:10px;
  right:0;
  font-family: Baskerville, Georgia, serif;
  font-style:italic;
  font-size:1.25em;
  color: #888;
}

div.comment a.improve_translation:hover {
  text-decoration:underline;
  color: #262626;
}

div.comment div#comment_metadata a.alert_moderator {
  float:left;
  clear:left;
  display:none;  /*still figuring out how to handle this one*/
}

/* ================ */
/* = link summary = */
/* ================ */

div.comment div.main_col div.link_summary_wrap {
  font-size:12px;
  padding:3px 10px 10px 10px;
  margin:20px 10px 30px 0;
  float:left;
  width:150px;
  border:1px solid #e1e1e1;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;

}

div.comment div.main_col p.link_summary_text {
  float:left;
}

div.comment div.main_col div.link_source {
  text-transform:uppercase;
  font-weight:bold;
  border-bottom:1px solid #888;
  float:left;
  background:url('m_icon.gif') no-repeat;
  padding: 5px 0 5px 18px;
  margin-bottom:8px;
  color: #262626;
  font-size:1em;
}

div.comment div.main_col span.link_url {
  float:left;
}

div.comment div.main_col span.link_location {
  color:#c3c3c3;
  font-weight: normal;
  float:left;
  clear:none;
}

div.comment div.main_col span.link_submitter {
  font-family: Baskerville, Georgia, serif;
  font-size:12px;
  font-style:italic;
  text-transform:none;
  font-weight:normal;
  float:left;
  clear:left;
  margin-top:5px;
}
div.comment div.main_col span.link_submitter a:link,
div.comment div.main_col span.link_submitter a:visited,
div.comment div.main_col span.link_submitter a:hover,
div.comment div.main_col span.link_submitter a:active {
  color:#262626;
}

div.comment div.main_col div.link_source img.article_icon {
  margin-top:2px;
  float:left;
}

/* ============== */
/* = link tools = */
/* ============== */

div.comment div.main_col div.link_summary_wrap div.link_tools {
  float:left;
  width:142px;
}

div.comment div.main_col div.link_summary_wrap div.link_tools a {
text-align:left;
width:142px;
}


div.comment div.main_col div.link_summary_wrap div.link_tools a:link,
div.comment div.main_col div.link_summary_wrap div.link_tools a:visited,
div.comment div.main_col div.link_summary_wrap div.link_tools a:active { 
  color:#888; 
  padding:6px 6px 6px 7px;
/*  border:1px solid #c1c1c1; */
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  text-decoration:none;
  float:left;
  background: #f3f3f3 url('arrow1.png') no-repeat right;
  padding-right:0px;
  display:inline;
  text-transform:none;
  text-align: left;
  }

div.comment div.main_col div.link_summary_wrap div.link_tools a:hover {
  background-color: #aaa;
  color: #fff;
}

/* ==================== */
/* = secondary column = */
/* ==================== */
  div.comment div.secondary_col div.comment_translation {
   float:right;
  }

  div.comment div.secondary_col div.comment_translation div.translation_attribution h3 {
    color:#c3c3c3;
    border:none!important;
    float:right;
  }
  
  div.comment div.secondary_col div.comment_translation div.translation_attribution div.translator {
    width:55px;
    text-align:center;
    float:left;
  }
  
  
div.comment div.secondary_col div.comment_translation div.translation_attribution div.translator a:hover {
  color:#262626;
  text-decoration: underline;
}


  div.comment div.secondary_col div.comment_translation div.translation_attribution div.translator img {
    width:50px;
    height:50px;
    float:left;
  }

  div.translation_attribution div.translator a.translator_name:link,
  div.translation_attribution div.translator a.translator_name:visited,
  div.translation_attribution div.translator a.translator_name:hover,
  div.translation_attribution div.translator a.translator_name:active {
    color:#c3c3c3;
    clear:left;
    width:50px;
    text-decoration:none;
    text-transform:uppercase;
    font-size:.7em;
    float:left;
  }


  /* ============================================ */
  /* = .indented_comment overrides for .comment = */
  /* ============================================ */
  div.indented_comment { margin-left:150px; width:675px;}
  div.indented_comment div.main_col { width:320px; }
  div.indented_comment div.secondary_col { width:290px; }
  div.indented_comment div.main_col div.user_pic_and_name { width:60px; margin-left:-80px; }
  div.indented_comment div.main_col div.user_pic_and_name a img { width:50px; }
  div.indented_comment a.respond_to_comment { display:none; }


/* =================================================== */
/* = #comments.notranslations overrides of #comments = */
/* =================================================== */
div#comments.no_translations div.main_col { width:100%; }
div#comments.no_translations div.secondary_col { display:none; }
div#comments.no_translations div.indented_comment { margin-left:150px; width:675px;}

/* =========== */
/* = toolbar = */
/* =========== */

div#toolbar {
  position:fixed;
  bottom:0;
  width:100%;
  text-align:right;
  background:#49433E;
  font-size:.7em;
  color:#c3c3c3;
  opacity: .5;
  filter: alpha(opacity=50);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
}

div#toolbar:hover {
  opacity: .9;
  filter: alpha(opacity=90);
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";

}

div#toolbar form#language {
  margin: 0 20px;
  float:left;
  padding-top:7px;
  color: #fff;
  text-shadow: 0 1px 2px #000;
}


div#toolbar span.links {
  text-align:right;  
  float:right;
  text-transform:uppercase;
  margin:0 12px 0 0;
}

div#toolbar a:link,
div#toolbar a:visited,
div#toolbar a:active {
  color:#fff;
  display:block;
  height:100%;
  float:left;
  border-left:2px groove #787878;
  padding:10px;
  text-decoration:none;
  text-shadow: 0 1px 2px #000;
}

div#toolbar a:hover {
  background-color:#111;
}