﻿@import url(http://fonts.googleapis.com/css?family=Ovo);
@font-face {
  font-family: 'Tangut Yinchuan';
  src: url('../font/TangutYinchuan.ttf');
}

body {
  font-family: 'Ovo', sans-serif;
  background: white url("../img/paperfibers.png");
  background-attachment: fixed;
  font-size: 20px;
  color: #444;
  /*text-shadow: rgba(0, 0, 0, 0.2) 1px 1px 1px;*/
  margin: 0;
  padding: 0.809em;
}

#header {
  font-variant: small-caps;
  font-size: 16px;
}
#footer {
  font-variant: small-caps;
  font-size: 16px;
  text-align: center;
}

textarea#output {
  font-family: 'Tangut Yinchuan';
  font-size: 24px;
  width: 100%;
  height: 4.854em;
  padding: 0.4045em;
  text-align: left;
}

#dir-buttons { text-align: right; }
#dir-buttons img {
  margin-left: 10px;
  cursor: pointer;
}

#rollover-info {
  height: 2em;
  margin-top: 5px;
  overflow: auto;
  white-space: nowrap;
}

#search-results {
  font-family: 'Tangut Yinchuan';
  font-size: 32px;
  width: 100%;
  height: 2.618em;
  text-align: center;
  vertical-align: middle;
  background: white;
  border: 1px dashed rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin: 0.618em 0;
}

/* search results scrolling pane */
.results-viewport {
  width: 100%;
  min-width: 100%;
  max-width: 100%;
  margin: 0px auto;
  overflow: auto;
  white-space: nowrap;
}
.results-item {
  display: inline-block;
  padding: 14px;
  text-decoration: none;
  position: relative;
  cursor: pointer;
  margin: 0 0.4045em;
  padding: 0.4045em 0;
}
.results-item:hover { color: #D2830D; }

/*.results-prev, .results-next {
  cursor: pointer;
  margin-top: 0.809em;
}
.results-prev:hover, .results-next:hover { color: #D2830D; }*/


#component-pane, #stroke-pane {
  font-family: 'Tangut Yinchuan';
  font-size: 28px;
  width: 100%;
  vertical-align: middle;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 2px;
  margin: 0.618em 0;
  padding: 0.618em 0;
}

.nav-pills {
  font-size: 16px;
  position: fixed;
  bottom: 4.236px;
  right: 8.09px;
  z-index: 999;
}

#active-components-row {
  min-height: 2em;
  border-bottom: 1px dashed #aaa;
  margin-bottom: 0.618em;
}

.glyphicon-search {
  font-size: 16px;
}

.glyphicon-remove {
  cursor: pointer;
  margin-left: 0.618em;
}


.component-stroke-count {
  text-align: center;
}
.component-list {
  margin: 3.236px 0;
}
.component-row {
  margin: 3.236px 0;
}
.component-inactive, .component-active, .component-active2, .component-active3 {
  cursor: pointer;
  margin: 0 8.09px;
}
.component-inactive       { color: rgba(0, 0, 0, 0.7); }
.component-inactive:hover { color: #D2830D; }
.component-active        { color: #BF323C; }
.component-active:hover  { color: #F98C94; }
.component-active2       { color: #56B949; }
.component-active2:hover { color: #ACE7A3; }
.component-active3       { color: #844D9E; }
.component-active3:hover { color: #CCABDB; }

.toggler {
  cursor: pointer;
  margin-left: 16.18px;
}
.toggler:hover { color: #D2830D; }
.toggled { display: none; }

/* Stroke sequence search pane */

#stroke-pane {
  text-align: center;
  padding: 0.618em 1.618em;
}

#stroke-entry-field {
  width: 20em;
  max-width: 100%;
}

#stroke-pane .thumbnail {
  display: inline-block;
}

#stroke-pane .checkbox-wrapper {
  padding: 0 10px;
}

#stroke-table {
  margin-top: 1.618em;
  font-size: 16px;
}
#stroke-table .thumbnail {
  cursor: pointer;
}
#stroke-table img {
  width: 50px;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted #aaa;
}
a:hover {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #aaa;
}
