
/*
    Krāsas: http://www.google.com/design/spec/style/color.html
    Vairāk: http://www.color-hex.com/
    Paletes: pavasaris, vasara, rudens, ziema
*/
*, ::after, ::before {
  box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    /* font-size: 100%; */
    font-weight: 400;
    color: #424242;
    background-color: #FFFFFF;
    margin: 0;
  }

table {
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0;
  width: 100%;
}

table.tooltip-table th {
  padding-right: 0.4rem;
  font-weight: normal;
}

table.tooltip-table td {
  color: #c0c0ff;
  font-weight: bold;
}

td {
  padding: 0;
}

img {
  display: block;
}

sup {
  vertical-align: top;
  font-size: 0.7em;
}

a:link    { color:inherit; text-decoration:underline; }
a:visited { color:inherit; text-decoration:underline; }
a:hover   { color:inherit; text-decoration:none; }
a:active  { color:inherit; text-decoration:none; }

a.word:link    { color:#424242; text-decoration:none; }
a.word:visited { color:#424242; text-decoration:none; }
a.word:hover   { color:#212121; text-decoration:none; }
a.word:active  { color:#212121; text-decoration:none; }

a.menu:link    { color:#616161; text-decoration:none; }
a.menu:visited { color:#616161; text-decoration:none; }
a.menu:hover   { color:#424242; text-decoration:none; }
a.menu:active  { color:#424242; text-decoration:none; }

.wordList {
  padding: 0 4px;
  color: #212121;
  /* background-color: #E8F5E9; */
  background-color: var(--first-color-lite);
  border: 1px solid var(--first-color);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
  -webkit-border-top-left-radius: 2px;
  -webkit-border-top-right-radius: 2px;
  -moz-border-radius-topleft: 2px;
  -moz-border-radius-topright: 2px;
}

.listBox {
  padding: 0;
  border: 1px solid var(--first-color);
  border-top: 0;
  border-bottom-right-radius: 2px;
  border-bottom-left-radius: 2px;
  -webkit-border-bottom-right-radius: 2px;
  -webkit-border-bottom-left-radius: 2px;
  -moz-border-radius-bottomright: 2px;
  -moz-border-radius-bottomleft: 2px;
}

.listItem {
  padding: 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  /* white-space: nowrap; */
  white-space: normal;
}

.listItem-current, .wordnet .listItem.homonymItem:hover {
  color: white;
  background-color: #D9D9D9;
  font-weight: bold;
  cursor: pointer;
}

.listItem:hover {
  white-space: normal;
}

.resultSet {
  margin-top: 0.5em;
}

.resultSet:first-child {
  margin-top: 0;
}

#exactMatch {
  background-color: #FFFFFF;
  border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
}

.fuzzy {
  border-style: dashed;
}

.fail {
  color: #EF5350;
  font-size: 0.9em;
}

.subtitle {
  margin: 1em 0;
  font-weight: 600;
}

.biblio {
  padding-top: 4px;
  font-weight: 300;
  vertical-align: top;
}

.code {
  font-weight: 400;
  width: 50px;
}

#overlay {
  position: fixed;
  z-index: 100;
  background-color: #FFFFFF;
  width: 100%;
  height: 100%;
  padding: 20px;
}

/* šķirkļi */

.doc {
  margin-bottom: 2.5em;
}

.sv_Entry {
  margin-top: 2em;
}

.sv_Entry:first-child {
  margin-top: 0;
}

.sv_Head {
  margin-bottom: 1em;
}

.sv_Sense {
  margin-top: 1em;
  color: #212121;
}

.sv_Subsense,
.sv_MWEs {
  margin-top: 1em;
  margin-left: 2em;
  font-weight: 300;
  font-size: 0.95em;
}

.sv_Idioms,
.sv_Derivatives {
  margin-top: 1.5em;
  font-weight: 300;
}

.sv_Section {
  font-variant: small-caps;
  font-weight: 300;
  margin-bottom: 0.15em;
  margin-top: 0.75em;
  margin-right: 0.5em;
}

.dict_Section, .dict_Subsection {
  font-family: sans-serif;
  font-variant: small-caps;
  font-weight: 300;
  margin-bottom: 0.15em;
  margin-top: 0.75em;
  margin-right: 0.5em;
  color: #408040;
  /* 129 199 132 */
}

.dict_Section {
  font-size: 1.3em;
}

.dict_Subsection {
  font-size: 1.15em;
}

.sv_VR {
  font-size: 1.3em;
  font-weight: 600;
  color: #212121;
}

.sv_IN {
  vertical-align: top;
  font-size: 0.7em;
}

.sv_GR,
.sv_NG,
.sv_AG,
.sv_PG,
.sv_FG,
.sv_DG {
  font-size: 0.85em;
  color: #616161;
}

.sv_NS,
.sv_AS {
  font-weight: 600;
}

.sv_NO,
.sv_AN,
.sv_PN,
.sv_FN {}

.sv_PI,
.sv_FR {
  font-style: italic;
  font-weight: 400;
}

.sv_DE {
  font-weight: 600;
}

.sv_LI {
  margin-top: 1.5em;
}

.sv_SK {}

.sv_Link {}

.sv_Source {
  cursor: pointer;
}

.sv_Source:hover {
  color: #616161;
}

.sv_Section span,
.morphology .sv_Section,
.morphology .summary {
  vertical-align: middle;
}

.sv_WordNet {
  margin-top: 1em;
}

#toggle_Idioms,
#toggle_Morphology,
#toggle_Examples  /* FIXME - klasi nevis id? */
{
  vertical-align: middle;
  display: inline;
  cursor: pointer;
}


/* Add-on */

.disclaimer {
  font-size: 0.8em;
  margin-top: 1em;
  color: #FF9800;
}

.blue {
  color: #00ACED;
}

.red {
  color: red;
}

.onGray {
  background-color: #CCCCCC;
}

#pronunciation,
.morphology,
#examples {
  margin-top: 1.5em;
  font-size: 0.9em;
}

.example {
  margin-top: 0.3em;
}

#tts {
  margin-top: 0.25em;
  font-size: 0.9em;
}

.sub-morphology {
  margin: 1em 1em 0 0;
}

.sub-text {
  font-weight: 300;
}

.tab-title {
  margin-right: 1em;
}

.sub-title {
  border-bottom: 1px solid #EBEBEB;
}

.inflections {
  width: auto;
}

table.inflections {
  margin-top: 0.3em;
}

.inflections td {
  padding: 0.25em 1em 0 0;
  text-align: left;
  font-weight: 300;
  font-style: italic;
}

.inflections th {
  padding: 0 1em 0 0;
  text-align: left;
  font-weight: 400;
}

span.inflection {
  font-weight: 300;
  font-style: italic;
}

.dict_Block {
    margin-top: 1.5em;
}

.dict_Entry {
    margin-top: 2em;
}

.dict_Entry:first-child {
    margin-top: 0;
}

.dict_Header {
    margin-bottom: 1em;
}

.dict_Lemma {
    font-size: 1.3em;
    font-weight: 600;
    color: #212121;
}

.dict_HomonymNumber {
    vertical-align: top;
    font-size: 0.7em;
}

.dict_Derivatives .dict_Lemma,
.dict_Sense>.dict_Lemma {
    font-size: 1em;
}

.dict_Pron, .dict_Inflection {
    font-family: 'Lucida Grande', 'Lucida Sans Unicode', 'Segoe UI', Cambria, Calibri, Arial, Tahoma, sans-serif;
}

.dict_Pron {
    color: #9E9E9E;
}

.dict_FlagText,
.dict_Source {
    font-size: 0.85em;
    color: #616161;
    /* margin-right: 0.5em; */
}

.dict_Verbalization {
  font-size: 0.85em;
  color: #616161;
  /* color: white; */
  /* background-color: #616161; */
  /* padding: 0 0.2em; */
  /* margin: 0 0.2em; */
  /* font-weight: 400; */
}

/* .dict_FlagText::after {
  content: " ";
} */

.dict_Lemma+.dict_Inflection {
  margin-left: 0.3em;
}

.dict_Sense {
    margin-top: 1em;
    color: #212121;
}

.dict_SenseNumber {
    font-weight: 600;
    margin-left: 0.5em;
    margin-right: 0.3em;
}

.dict_Gloss {}

.mlvv_Phrase,
.mlvv_Sense .mlvv_Sense,
.dict_Phrase,
.dict_Sense>.dict_Sense,
.dict_Sense .dict_Sense {
    margin-top: 0.5em;
    margin-left: 2em;
    font-weight: 300;
    font-size: 0.95em;
}

.dict_Variant {
    font-style: italic;
    font-weight: 400;
}

.dict_Phrase .dict_Sense,
.dict_StablePhrase .dict_Sense {
    display: inline;
}

.dict_StablePhrase,
.dict_Derivatives {
    margin-top: 1.5em;
    font-weight: 300;
}

.dict_Etymology,
.dict_Normative {
    margin-top: 1.5em;
    font-weight: 300;
    font-size: 0.95em;
}

.dict_Label {
	font-variant: small-caps;
}

.dict_Comment {
    background-color: #F0F0F0;
}

.mwe_decoration {
  margin-right: 0.5em;
  font-weight: 500;
}

.tmp_morphologyWrapper {
  background-color: gainsboro;
  padding: 1em;
  outline: 2px dashed #404040;
}

.entryNotes {
  background-color: tomato;
  color: white;
  padding: 0.5em;
  margin: 1em 0;
  opacity: 0.8;
  border-radius: 0.8em;
}

.dict_EntryHeader {
  margin-top: 1em;
}

.dict_EntryHead {
  font-size: 1.2rem;
  font-weight: bold;
}

.dict_Lexemes {
  /* margin-left: 0.4rem; */
  /* font-weight: bold; */
}

.dict_lexemeType {
  color: lightgray
}

.dict_WordNetLink {
  background-color: #F0F0F0;
}

.dict_MorphoTable {
  color: var(--color-2);
  overflow-x: scroll;
  padding-top: 0.5em;
}

.morphotable-toggler-inline {
  color: var(--first-color-dark-dimmed);
  padding: 0.2em 0.4em;
  cursor: pointer;

  &:hover {
    color: var(--dark-color);
    background-color: #f8f8f8;
  }

  &.active {
    color: black;
    background-color: var(--accent-color);
  }

  &::before {
    margin-right: 0.5em;
    content: '▶';  
    /* content: '˅';   */
  }

  &.active::before {
    content: '▼';  
    /* content: '˄';   */
  }
}

.morphotable-toggler-inline ~ .collapsible-from-inline {
  display: none;
}

.morphotable-toggler-inline.active ~ .collapsible-from-inline {
  display: block;
}

.dict_MorphoTable_usage {
  font-size: 0.7rem;
}

.dict_usageStats {
  /* margin-left: 0.5em; */
  margin-bottom: 1em;
  color: grey;
  font-size: 0.7em;
  font-weight: normal;
}

/* skaņošanai */
/* .dict_Sense {
  border: 1px dashed red;
}
.dict_Lemma {
  border: 1px dashed blue;
}
.dict_Gloss {
  border: 1px dashed rgb(80, 80, 82);
}
.dict_FlagText {
  border: 1px dashed green;
}
.dict_Inflection {
  border: 1px dashed greenyellow;
} */
