/* main css file */

body {
  font-family:'Open Sans',sans-serif;
  margin:0;
  padding:0;
  background: #ffffff url('../img/bg.jpg') repeat-x left top;
}

div#main {
  margin-top:24px;
  margin-left:auto;
  margin-right:auto;
  width:1144px;
  padding:0px 28px 16px 28px;
  background-color:#fff;
}

#main a,
.sub_popup a {
  text-decoration:none;
  color:#7ca600;
}
#main a:hover,
.sub_popup a:hover {
  color:#f60;
}

div#topnav {
  float:left;
  background-color:#555;
  width:100%;
  position:absolute;
  top:0px;
  padding-bottom:2px;
  height:22px;
}

div#topnav_left {
  display:inline-block;
  float:left;
}

div#topnav_right {
  display:inline-block;
  float:right;
}

#topnav a {
  text-decoration:none;
  color:#ddd;
  font-size:14px;
  padding:2px 5px 0px 5px;
  margin-left:5px;
  margin-right:5px;
  vertical-align:top;
  display:inline-block;
}

#topnav a.active {
  border-top:2px solid #7CA600;
  padding-top:0px;
  color:white;
}
#topnav a:hover,
#topnav a.active:hover {
  border-top:2px solid #f60;
  padding-top:0px;
  color:white;
}



div#control {
  margin-top:20px;
  margin-bottom:20px;
  padding-top:60px;
}

div#subcontrol {
  margin-top:6px;
  height:48px;
}

div.page_navigation {
  margin-top:10px;
  margin-bottom:10px;
  width:100%;
  text-align:center;
}

table#kwic_table {
  border-spacing:0;
  width:100%;
}

tr.kwicline {
  white-space:nowrap;
  line-height:20px;
}

tr.even {
  background-color:#eee;
}

span.hi1_kwic {
  font-weight:bold;
  cursor:pointer;
}
span.hi1_kwic:hover {
  color:#f60;
}

span.hi2, span.hi1 {
  font-weight:bold;
}

td.pre_hit {
  text-align:right;
  overflow:hidden;
}
td.hit_plus {
  text-align:left;
  padding-left:4px;
  overflow:hidden;
}

div.simple_context,
div.context {
  display:none;
  background-color:white;
  border-radius:4px;
  width:50%;
  padding:5px;
}

div.close_icon,
#main a.link_icon {
  float:right;
  cursor:pointer;
  color:#555;
}

#main a.link_icon {
  margin-right:12px;
}

.hidden {
  display:none;
}

#main a.page_nav {
  font-size:16px;
  color:black;
  padding:0px 5px 0px 5px;
  background-color:#ddd;
  border-radius:3px;
  border:1px solid #ddd;
}

#main a.page_nav:hover {
  color:#fff;
  background-color:#f60;
  border-color:#f60;
}

div.close_icon:hover,
#main a.link_icon:hover {
  color:#f60;
}

div.nav_arrows_left {
  float:left;
}

div.nav_arrows_right {
  float:right;
}

span.nav_hitcount {
  display:inline-block;
  font-size:14px;
  text-align:center;
  width:480px;
  margin:0 auto;

}

button.search_button {
  cursor:pointer;
  background-color:#aaa;
  color:#fff;
  border:1px solid #999;
  padding:0px 8px 0px 8px;
  border-color:#999;
  border-style:solid;
  border-width:1px 1px 1px 0px;
  border-radius:0px 3px 3px 0px;
  margin:0px;
  font-size:16px;
  height:28px;
  vertical-align:bottom;
}
button.search_button:hover{
  background-color:#7ca600;
  border-color:#7ca600;
}

button.submit_button,
input[type="submit"] {
  cursor:pointer;
  background-color:white;
  border:1px solid #999;
  border-radius:3px;
}

span.btn_submenu {
  font-size:12px;
  padding-right:3px;
  padding-left:3px;
  cursor:pointer;
}

fieldset#search_options {
  margin-top:9px;
  padding:1px;
  border:none;
  font-size:12px;
}

input#query {
  padding:0px 4px 0px 4px;
  border:1px solid #999;
  border-radius:3px 0px 0px 3px;
  margin-right:0px;
  font-size:16px;
  height:26px;
  vertical-align:bottom;
}

select.submenu_option {
  background-color:white;
  border:none;
  cursor:pointer;
}

span.meta_ctxt {
  display: inline-block;
  margin:1px 12px 1px 0px;
  border: 1px solid #eee;
  background-color:#eee;
  border-radius:3px;
  padding-left:1px;
  padding-right:1px;
}

span.meta_label {
  font-size:12px;
  font-weight:bold;
}

span.meta_value {
  font-size:12px;
}

div.hitctxt {
  font-size:14px;
  border:1px dotted #999;
  border-radius:3px;
}

h3.h_ctxt {
  display:inline;
  font-size:16px;
}

div.filter {
  display:inline-block;
  vertical-align:top;
  width:200px;
  padding-top:1px;
}

div.filter_body input {
  font-size:12px;
  border:1px solid #ccc;
  width:30px;
  text-align:left;
  padding:0px 3px 0px 5px;
  margin:0;
}

span.reset_date {
  color:#999;
  cursor:pointer;
}

div.sub_popup {
  display:none;
  background-color:white;
  border-radius:4px;
  width:50%;
  padding:5px;
}
div.sub_popup h3 {
  display:inline;
  font-size:16px;
}

label.main_labels {
  font-size:12px;
  margin-right:12px;
  vertical-align:top;
}

label.chk_labels {
  font-size:12px;
  margin-right:12px;
  cursor:pointer;
  border:1px dotted #999;
  border-radius:3px;
  padding:1px;
}

label.display_default {
  border-left:4px solid #999;
}

input#id_terms_accepted,
input#id_news_wanted {
  display:inline;
}

input[type=checkbox],
input[type=radio] {
	display:none;
}
input[type=checkbox]:checked + label.chk_labels,
input[type=radio]:checked + label.chk_labels {
  background-color:#555;
  border:1px solid #999;
  color:white;
}

div.html_context,
div.img_context {
  border:1px dotted #999;
  border-radius:3px;
  padding-left:3px;
  padding-right:3px
}

div.html_context {
  padding:3px;
}

div.img_context {
  display:none;
}

span.btn_popup {
  font-size:14px;
  padding-right:3px;
  margin-right:10px;
  margin-left:5px;
  padding-left:3px;
  padding-bottom:10px;
  cursor:pointer;
}
span.btn_popup:hover {
  color:#f60;
}
span.active {
  font-size:18px;
  color:#7ca600;
  border-left:1px dotted #999;
}

span.hit_count {
  font-weight:bold;
}

.registration_button {
  font-size:14px;
}

table#table_join_form th {
  text-align:left;
  font-weight:normal;
  width:200px;
}

ul.errorlist {
  font-size:12px;
  color:#f60;
  display:inline;
  padding:0;
}

ul.errorlist li {
  list-style:none;
  display:inline;
}

p.errors {
  color:#f60;
}

div.main_logo {
  padding-top:55px;
}

div.logo_correction {
  margin-bottom:-40px;
}

div.search_logo {
  margin-top:30px;
  float:right;
}

div.search_logo img {
  width:400px;
}

div.infographics {
  margin-top:12px;
}

table#count_table {
  margin-bottom:20px;
  margin-top:12px;
  margin-left:16px;
}

.number_field {
  text-align:right;
  padding-left:6px;
}

table#table_chart_selection td {
  padding-top:12px;
  padding-bottom:12px;
  padding-right:30px;
}

th.key_field {
  text-align:left;
}

a.show_chart_inactive,
a.show_chart_inactive:hover {
  color:grey;
  cursor:default;
}

.nvd3.nv-scatter text.nv-label {
  fill:black !important;
}

.nvd3.nv-scatter .nv-point {
  fill-opacity: .8 !important;
  stroke-opacity: .8 !important;
}

svg#svg_icon_ch {
  width:49px;
}

svg#svg_icon_ch g#boundaries {
  stroke:#7ca600;
  fill:#7ca600;
}
svg#svg_icon_ch g#boundaries:hover {
  stroke:#f60;
  fill:#f60;
}

a.show_chart_inactive svg#svg_icon_ch g#boundaries {
  stroke:grey;
  fill:grey;
}

span.fill_in {
  cursor:pointer;
}
