body {
	font-family:verdana,helvetica,arial,sans-serif;
	font-size:0.8em;
	padding:0;
	border:0;
	margin:0;
	min-width:750px;
	color:#333;
}

/* Divs for page layout */

#main {
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: url(/mathfest/img/leftside.jpg) repeat-y 0px 0px;
	overflow: hidden;
}

#main1 {
	width: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: url(/mathfest/img/leftside1.gif) repeat-y 0px 0px;
	overflow: hidden;
}

#leftbar {
	float: left;
	width: 200px;
	font-size:90%;
	padding:0;
	margin:0;
	background: #201e1f;
	display: inline;
}

#leftbar1 {
	float: left;
	width: 200px;
	font-size:90%;
	padding:0;
	margin:0;
	background: #234189;
	display: inline;
}
#subnav {
	font-size:100%;
	font-variant: small-caps;
	background: #6ea7ae;
	padding: 0.5em 2em;
	margin-left: 200px;
}

#content {
	margin-left:200px;
	/*margin-right:20%;*/
	max-width: 60em;
	height:100%;
	padding:1.5em;
	line-height:1.3;
	min-height:445px;
}

#footer {
	border-top: 1px solid #000;
	width:100%;
	margin:0;
	padding:1.5em 0em;
	font-size:0.8em;
	text-align:center;
}

/* Subnavigation bar */
/* This must be used in conjunction with mftabs.css
for the top-row navigation bar */

#subnav ul {
	margin: 0;
	padding: 0;
	display: inline;	
}

#subnav ul li {
	display: inline;
	margin: auto 0.5em;
}

#subnav a:link, #subnav a:visited {
	color: #000;
	text-decoration : underline;
	font-weight: bold;
	font-size: 120%;
}

#subnav a:link:hover, #subnav a:visited:hover{
	color: #fff;
}

#subnav a#reg:link, #subnav a#reg:visited {
	color: #fff3b9;
	text-decoration : underline;
	font-weight: bold;
	font-size: 120%;
}

#subnav a#reg:link:hover, #subnav a#reg:visited:hover{
	color: #900;
}

#content ul#subsubnav {
	margin-left:2em;
	}
	
#content ul#subsubnav li {
	display: inline;
	background: url("/mathfest/img/subsubli.png") 0 50% no-repeat;
	padding-right: 2em;
	padding-left: 1em;
}

/* Links and such */
a:link {color:#285485; font-weight:bold; text-decoration: underline;}
a:visited {color:#285485; font-weight:bold; text-decoration: underline;} 
a:link:hover, a:visited:hover {color:#957169; font-weight:bold; text-decoration: underline;}

/* Headers */

h1, h2, h3, h4, h5, h6 {
	color: #562418;
	margin-bottom:0.3em;
	padding:0;
	font-weight: normal;
}

h1 {font-size: 1.6em; line-height: 1.1em;}
h2 {font-size: 1.4em; margin-top: 1.4em;}
h3 {font-size: 1.2em;}
h4 {font-size: 1.1em;}
h5, h6 {font-size: 1.0em;}

h2 + p, h3 + p, h4 + p, h5 + p, h6 + p {
	margin-top: 0.2em;
}

h2 a:link, h3 a:link, h4 a:link, h5 a:link, h6 a:link, h2 a:visited , h3 a:visited, h4 a:visited, h5 a:visited, h6 a:visited {
	color: #562418;
	font-size: 1.2em;
}

h2 a:link:hover, h2 a:visited:hover, h3 a:link:hover, h3 a:visited:hover, h4 a:link:hover, h4 a:visited:hover, h5 a:link:hover, h5 a:visited:hover, h6 a:link:hover, h6 a:visited:hover {
	color:#285485;
	font-size: 1.2em;
}



/* Lists */

#content ul {
	list-style-type: none;
	margin-left: 1em;
	padding: 0;
}

#content li {
	margin-top: 1ex;
}

/* Images and other misc */

#content img.pri , #content img.sec{
	float:right;
	display:inline;
	margin: 0em 0em 2em 1em;
}

iframe {
	/*margin-bottom:-10px;*/
	padding:0;
}

a img {
	border: 0;
}

#submain {
	width: 100%;
	float: left;
	margin-left: -200px;
}

/* Program classes */

.title {
	font-size: 1.3em;
	font-weight: bold;
}

.minititle {
	font-size: 1.2em;
	color: #562418;
}

.time {
	font-style: italic;
}

.cat {
	font-weight: bold !important;
}

.spk {
font-weight: bold !important;
}

.org {

}

.notice {
	font-weight: bold;
}

.exh {
	font-weight: bold;
	color: #88271f;
	
	font-family:cambria,times,"times new roman",serif;
	font-size: 1.2em;
}

.spn {
	font-weight: bold;
	color: #444e8d;
	font-family:cambria,times,"times new roman",serif;
	font-size: 1.2em;
}

p {
	margin-left: 1em;
}

#content ul.program  li{
	margin-top:2em;
	clear: right;
	zoom: 1;
}

#content ul.program  li li{
	margin-top: 1ex;
	/*margin-bottom: 1ex;*/
}

#content ul.program ul {
	margin-bottom: 1ex;
}

#content ul.program p {
	margin-left: 0;
}

ul#contactlist, ul#contactlist h2 {
	font-size: 1.2em;
}

img.eqn{
	display: inline;
	vertical-align: middle;
}

#content #sponsors {
	text-align: center;
}

#content ul.altlist {
	list-style-type: disc;
	list-style-position: inside;
}



#content #sponsors img {
		display: inline;
		margin-right:2em;
		margin-bottom: 1em;
		border: 1px;
}

#content #sponsors h2 {
	margin-bottom: 1em;
	font-size: 1.6em;
}
#content #exhlist img{
		height: 3em;
		vertical-align: middle;
}

/* Registration fees table */

#content table#regfees {
	border-collapse: collapse;
}

#content table#regfees tr {
	border-bottom: 1px solid #ccc;
}

#content table#regfees th{
	text-align: left;
	font-weight: normal;
}

#content table#regfees th, #content table#regfees td {
	padding-right: 2em;
}

#content table#regfees tr.newtype{
	border-top: 2px solid #666;
}

#content table#regfees tr.newtype th{
	font-weight: bold;
}
