/*
 * vim: ai tw=80 sw=3 ts=3 sts=3
 */

table {
   text-align: left;
   border-collapse: collapse;
}

thead th {
   border-bottom: 1px solid;
}

tr.span-header th {
   border-bottom: none;
   font-variant: small-caps;
}

/* colgroup */ .left-header {
   border-right: 1px solid;
}


/* colgroup */ .right-header {
   border-left: 1px solid;
}

table.grid td {
   border: 1px solid;
}

table.grid thead th {
   border-bottom-width: 2px;
}

table.grid .left-header {
   border-right-width: 2px;
}

table.grid .right-header {
   border-left-width: 2px;
}

th {
   text-align: center;
}

th, td {
   padding: 0.25em;
}

tr.division td {
   border-top-width: 2px;
}

tr.odd {
}

tr.even {
}

th.number, td.number {
   text-align: right;
}

.clearer {
   clear: both;
}

div.clearer {
   height: 0;
}

.center {
   text-align: center;
}

.full-width {
   width: 100%;
}

#signature {
   vertical-align: top;
}

.signature {
    text-align: right;
    font-style: italic;
}

span.signature {
    margin-left: 1em;
}

#pageName {
   display: inline;
   position: relative;
   top: 7px;
   margin-left: 10px;
}

.iphone-only {
   display: none;
}

#sidebar > div {
   background-color: #f6f6f6;
   border-color: #737373;
}

/* IN-CONTENT SIDEBARS**************************/

.sidebar {
   float: right;
   border-width: 1px;
   border-style: solid;
   padding: 0.5em;
   margin-left: 2em;
   max-width: 50%;
}

.sidebar > h1, .sidebar > h2, .sidebar > h3,
.sidebar > h4, .sidebar > h5, .sidebar > h6 {
   margin-top: 0.25em;
}

.small-sidebar {
   float: right;
   margin-left: 2em;
   padding: 0;
   max-width: 50%;
}

.small-sidebar > h1, .small-sidebar > h2, .small-sidebar > h3,
.small-sidebar > h4, .small-sidebar > h5, .small-sidebar > h6 {
   margin-top: 0.25em;
}

.small-sidebar > ul {
   margin-top: 0;
   margin-bottom: 0;
}


/* HEADINGS ************************************/

h1, h2, h3, h4, h5, h6 {
   clear: both;
}

h1 {
   margin-top: -0.05em;
}

h2 {
   border-bottom: 1px solid #999;
   margin-top: 1.5em;
}


/* LINKS ***************************************/

a, a:link {
   text-decoration: none;
}

a:visited {
}

a:hover {
   /*border-bottom: 1px dashed;*/
}

a.external {
   background: url(/images/icons/external.png) center right no-repeat !important;
   padding-right: 13px;
}

h2 span.ashaille a,
h2 span.lhenazi a,
h2 span.conlang2010 a,
h2 span.conlang2015 a {
   font-style: normal;
   color: black;
}

h2 span.ashaille a:hover,
h2 span.lhenazi a:hover,
h2 span.conlang2010 a:hover,
h2 span.conlang2015 a:hover {
   font-style: normal;
}

a.extra-info {
   position: relative;
   z-index: 24;
}

a.extra-info:hover {
   z-index: 25;
}

a.extra-info span.extra-info {
   display: none;
}

a.extra-info:hover span.extra-info {
   display: block;
   position: absolute;
   top: 2em;
   left: 2em;
   text-align: center;
   padding: 0.25em;
   border: 1px solid;
}


/* LISTS ***************************************/

dl {
   width: 100%;
}

dt {
   clear: left;
   float: left; /* allows dd to be on the same line as the dt */
   width: 7em;
   padding: 0 0.5em;
   margin: 0 1em;
   font-weight: bold;
   border: 1px solid;
}

dd {
   padding: 0 0.5em 0 8.5em;
   margin: 0.25em 1em 1em 2em;
}

dl.simple dt {
   background-color: transparent !important;
   border: none !important;
   width: auto !important;
}

dl.simple dd {
   padding: initial !important;
}

dl.with-colon dt:after {
   content: ":";
}

div.compact-entries dt {
   clear: none;
   margin: 0;
}

div.compact-entries dd {
   clear: none;
   margin: 0;
}

ol.outline {
   list-style-type: upper-roman;
}

ol.outline ol {
   list-style-type: upper-alpha;
}

ol.outline ol ol {
   list-style-type: lower-roman;
}

ol.outline ol ol ol {
   list-style-type: lower-alpha;
}


/* FORMS ***************************************/

fieldset {
   border: 1px dashed;
}

legend {
   border: 1px solid;
   padding: 0.1em 1em;
}

input[disabled] {
   font-style: italic;
   /* not part of any colorscheme */
   background-color: #ccc;
   color: #888;
}

label {
   font-weight: bold;
}

.button {
   border: 2px outset;
   color: black;
   cursor: pointer;
}

button {
   margin-left: 1em;
   color: black;
   cursor: pointer;
}

br {
   clear: left;
}


/* IMAGES **************************************/

img {
   border: none;
}

img.bordered, div.img.bordered {
   border: medium double;
}

p.img img, div.img {
   float: left;
   clear: left;
   margin: 2em;
   margin-left: 0;
}

p.odd img, div.odd.img {
   float: right;
   clear: right;
   margin: 0 0 0.5em 2em;
}

p.note img, div.note.img {
   vertical-align: middle;
}

div.img div.overlay {
   float: right;
   font-size: 120%;
   padding: 0.5em;
   margin-top: 10px;;
   margin-right: 10px;
   color: white;
   background-color: #8B0000; /* darkred */
   opacity: 0.5;
}

div.photo, div.photo-even {
   float: left;
   clear: left;
   margin-top: 0px;
   margin-left: 0px;
   margin-bottom: 1em;
   margin-right: 1em;
}

div.photo-even {
   float: right;
   clear: right;
   margin-left: 1em;
   margin-right: 0px;
}

.photo-desc {
   color: #333333;
   margin: 1em;
   font-style: italic;
}

.photo-set {
   float: left;
   margin: 0.5em;
   width: 150px;
}

a.photo {
   border: solid 2px #000000;
   float: left;
}

.photo-title {
   font-size: 80%;
   font-style: italic;
   margin-top: 0px;
}


/* BIBLIOGRAPHY & CITATIONS ********************/

.bib-author {
   font-weight: bold;
}

.bib-year, .bib-publisher {}

.bib-title {
   font-style: italic;
}

.quote {
   font-style: italic;
}

blockquote, div.recipe, div.chat, pre {
   clear: both;
   display: block;
   margin: 1em;
   padding: 1em;
}

blockquote > pre {
   margin: 0;
   padding: 0;
}

blockquote p {
   margin: 0;
}


/* MISCELLANEOUS *******************************/

.hidden {
   display: none;
}

.deleted {
   text-decoration: line-through;
}

.error {
   font-weight: bold;
   /* not part of any colorscheme */
   color: red;
   background-color: transparent;
}

.attention {
   /* not part of any colorscheme */
   color: red;
   background: transparent;
}

.important {
   color: red;
}

div.important {
   text-align: center;
   color: black;
   font-size: smaller;
   border: 2px solid red;
   background-color: #ffefef;
   padding: 0em 0.5em;
   margin: 1em;
   width: 85em;
}

div#mainClm div.important {
   margin: 0;
   margin-bottom: 1em;
   width: 100%;
}

div.important p.normal {
   text-align: justify;
}

div.important + #sidebar {
    margin-top: 4.75em;
}

.footnote {
   font-style: italic;
   font-size: 80%;
   margin: 1em 0 0 0;
   text-align: right;
}

.footnote-marker {
   font-style: italic;
   font-size: 80%;
   vertical-align: top;
}

.note {
   font-style: italic;
   font-size: 80%;
}

p.note {
   margin: 1em 2em 0 2em;
   line-height: 1.25em;
}

.timestamp {
   font-style: italic;
   font-size: 80%;
   margin: 0;
   text-align: right;
   float: right;
}

.browse {
   margin-left: 2em;
   margin-right: 2em;
}

abbr, acronym {
   font-variant: small-caps;
   border-bottom: none;
}


/* LANGUAGES ***********************************/

ul.lexemes .ashaille,
ul.lexemes .english,
ul.lexemes .lhenazi,
ul.lexemes .conlang2010,
ul.lexemes .conlang2015 {
   color: black;
}

.ashaille, .lhenazi, .conlang2010, .conlang2015 {
   font-style: italic;
}

.english {
   font-style: normal;
}

.english:before, .english:after {
   content: '"'
}

div.quote {
   margin: 1em;
   padding: 1em;
   border: 1px dashed;
}

pre.poem {
   font-family: Helvetica, "Lucida Sans Unicode", Arial, sans-serif; /* same as body */
   margin-left: 2em;
   padding: 0;
}

p.ashaille, p.english, p.lhenazi, p.conlang2010, p.conlang2015 {
   margin: 1em;
   padding: 1em;
   border: 1px solid;
   background: url("/images/blue-tile.gif") repeat;
}

p.ashaille, p.lhenazi, p.conlang2010, p.conlang2015 {
   width: 30%;
   float: left;
   clear: left;
}

p.english {
   margin-left: 40%;
}

a .ashaille, a .english, a .lhenazi, a .conlang2010, a .conlang2015 {
   font-weight: bold;
}

.note .english {
   font-style: italic;
}

.pos {
   font-style: italic;
   font-size: 80%;
}

.contributor {
   text-align: right;
   font-style: italic;
   font-size: 80%;
   clear: right;
}

.sidenote {
   text-align: right;
   font-style: italic;
   font-size: 80%;
   display: inline;
   float: right;
   margin-top: -1.1em;
}

.translation {
   font-style: italic;
}

.untranslated {
   font-style: italic;
   font-variant: small-caps;
   padding-right: 0.1em;
}

.ipa {
   font-size: 90%;
}

.kateinu {
    font-family: "Kateinu Yireb Bitty";
    font-size: 16px;
}

pre .ashaille, pre .lhenazi, pre .english, pre .conlang2010, pre .conlang2015 {
    font-family: Helvetica, "Lucida Sans Unicode", Arial, sans-serif;
}

@font-face {
    font-family: "Kateinu Yireb Bitty";

    /* define the font for IE which totally ignores local() directive */
    src: url(http://www.arthaey.com/conlang/ashaille/writing/KateinuYirebBitty.eot);

    /* use local to let IE jump this line and redefine the src for this font in
     * order to let other clever browser download *only* this font rather than 2
     */
    src: local("Kateinu Yireb Bitty"), url(http://www.arthaey.com/conlang/ashaille/writing/KateinuYirebBitty.ttf) format("truetype");
}

@font-face {
    font-family: Lhenazi;

    /* define the font for IE which totally ignores local() directive */
    src: url(http://www.arthaey.com/conlang/lhenazi/writing/lhenazi.eot);

    /* use local to let IE jump this line and redefine the src for this font in
     * order to let other clever browser download *only* this font rather than 2
     */
    src: local("Lhenazi"), url(http://www.arthaey.com/conlang/lhenazi/writing/lhenazi.ttf) format("truetype");
}
