/**
 * Common CSS that I like to use across many themes.
 */


/*
 * Code for producing nice LaTeX and TeX logos
 */

.tex sub, .latex sub, .latex sup {
	text-transform: uppercase;
}

.tex sub, .latex sub {
	vertical-align: -0.5ex;
	margin-left: -0.1667em;
	margin-right: -0.125em;
}

.tex, .latex, .tex sub, .latex sub {
	font-size: 1em;
}

.latex sup {
	font-size: 0.85em;
	vertical-align: 0.15em;
	margin-left: -0.36em;
	margin-right: -0.15em;
}



/*
 * The following properties were added 
 * by Kevin for his projects/reports pages.
 */

dfn {
        font-style: italic;
}

var {
        font-style: italic;
}

.textsf {
        font-family: sans-serif;
}

table {
	border: none;
	font-size: 1.4em;
}

th,td {
	border: none;
}

.equation {
	border: none;
        width: 100%;
        text-align: center;
	border: none;
	margin: auto;
	margin-bottom: 13px;
}

.equation th {
        text-align: right;
        font-weight: normal;
	height: auto;
	border: none;
	vertical-align: middle;
	color: #999;
}

.equation td {
	text-align: center;
	margin: auto;
	border: none;
}

.equation td img {
	margin: auto;
	text-align: center;
	border: none !important;
}

/* figure */
.figure {
	text-align: center;
	margin-bottom: 3ex;
	margin-left: 4em;
	margin-right: 4em;
}

/* figure caption */
.figure p {
	font-size: 90%;
	text-align: justify;
	margin-top: -0.5ex;
}

/* figure image */
.figure img {
	text-align: center;
	border: none;
	/* width: 100%; */
}

/* tabular headers */
/*
caption {
	caption-side: bottom;
}

.tabular {
	margin-left: auto; 
	margin-right: auto;
	margin-bottom: 3ex;
}

.tabular th {
	border-top: thin black solid;
	border-bottom: thin black solid;
	padding-left: 0.5em;
	padding-right: 0.5em;
}
.tabular table {
	text-align: center;
	border-spacing: 0px;
	margin-left: auto;
	margin-right: auto;
}

.tabular p {
	font-size: 90%;
	text-align: justify;
	margin-left: 10em;
	margin-right: 10em;
	margin-bottom: 3em;
}
*/

/*
 * Tabular styles
 */

table.tabular {
	margin-left: auto;  /* center the table */
	margin-right: auto;
	border-spacing: 0px;
	/*
	border-top: 0.08em solid;
	border-bottom: 0.08em solid;
	*/
	border-top: 2px solid #637b93; /* for use with Simplr-kmg theme */
	border-bottom: 2px solid #637b93; /* for use with Simplr-kmg theme */
}

.tabular th {
	/* border-bottom: 0.05em solid; */
	border-bottom: 1px solid #637b93; /* for use with Simplr-kmg theme */
	padding: 0.65ex 0.5em 0.4ex 0.5em; 
	font-weight: normal;
	text-align: center;
}

.tabular th.cmid {
	/* border-bottom: 0.03em solid; */
	border-bottom: 0.5px solid #637b93; /* for use with Simplr-kmg theme */
}

.tabular th.nocmid {
	border-bottom: none;
}

.tabular tbody tr:first-child td {
	padding-top: 0.65ex; /* add 0.65ex space between thead row and tbody */
}

.tabular td {
	/* padding: 0.65ex 0.5em 0.4ex 0.5em; */
	padding-left: 0.5em;
	padding-right: 0.5em;
}

.tabular caption {
        font-size: 90%;
        text-align: left;
	width: auto;
	margin-left: auto;
	margin-right: auto;
	margin-top: 1ex;
	/* border: 1px dashed blue; */
	caption-side: bottom;
	/* font-style: italic; */
}

.captionlabel {
	/* text-transform: lowercase; */
	/* font-variant: small-caps; */
	padding-right: 0.5em;
	font-style: normal;
}

.l { text-align: left; }
.c { text-align: center; }
.r { text-align: right; }

/* bibliography */
.biblio {
	margin-left: 0;
	padding-left: 0; 
}

.biblio li {
	text-indent: -1.5em; 
	margin-left: 2em;
	margin-bottom: 0.5ex;
	list-style-type: none !important;
}

/*
code {
	display: block;
	background-color: #cccccc;
	padding: 0.5em 0.5em;
	margin: 1ex 1ex;
}
*/


.caps {
	font-variant:small-caps;
	letter-spacing: 0.1em;
}

.allcaps {
	font-variant: small-caps;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

abbr, acronym, .sc, .ampm, .smallcaps {
	text-transform: lowercase;
	font-variant: small-caps;
	font-style: normal;
	/* border-bottom: 0; */
	letter-spacing: 0.1em;
}

/*
 * Dreamhost FLV player
 */

.flvPlayer {
	text-align: center;
}

