html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

html {
	font-size:13pt;
}

h1,h2,h3,h4,h5,h6 { font-family: Signika,Tahoma,Arial,sans-serif; }

.tile h2, .tile h3, .tile h4 {
	text-align:center;
	margin:0;
	padding:3px 0;
	color:#333;
}

.tile h2 {
	font-size:1.4em;
	cursor:pointer;
}
.tile h3,.tile h4 {
	font-size:1.2em;
}
.tile h4{
	text-align:left;
}


h1,h2 { margin-top:0; margin-bottom:10px; }
h1 { font-size:1.8em; }
h2 { font-size:1.5em; margin-top:6px; color:#cc5200; }
h2.header { text-align:right; }

#contents h1, #latex2htmlcontents h1 { 
	color:#cc5200;
	margin-top:10px;
	text-align:center;
	padding-right:1em;
	padding-left:1em;
	border:1px black solid;
	border-radius: 15px;
	-moz-border-radius: 15px;
	-webkit-border-radius: 15px;
	box-shadow: 3px 3px 4px #000;
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
}

h2 a { color:#cc5200; }
a { color:#555; }

body{
	background-color:#F0F0EC;
}

/*
footer{
	border-top: 1px inset grey;
	margin-top: 40px;
	background: #F0F0EC
}
*/


.divider {
	background-image:url(../img/960x10.jpg);
	margin-bottom:10px;
	height:10px;
	border: 1px solid;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 3px 3px 4px #000;
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
}

.tile{
	overflow:hidden;
	margin: 10px 0;
	border: 1px solid grey;
	background: #EDEDE9;
	font-family: Oxygen,Tahoma, Arial, sans-serif;
	text-align: justify;
	color:#333;
	border-radius: 7px;
	-moz-border-radius: 7px;
	-webkit-border-radius: 7px;
	box-shadow: 3px 3px 4px #000;
	-moz-box-shadow: 3px 3px 4px #000;
	-webkit-box-shadow: 3px 3px 4px #000;
}

.wide
{
	background: rgb(98,177,208); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzYyYjFkMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhYWVlZmYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(98,177,208,1) 0%, rgba(170,238,255,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(98,177,208,1)), color-stop(100%,rgba(170,238,255,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(98,177,208,1) 0%,rgba(170,238,255,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(98,177,208,1) 0%,rgba(170,238,255,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(98,177,208,1) 0%,rgba(170,238,255,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(98,177,208,1) 0%,rgba(170,238,255,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#62b1d0', endColorstr='#aaeeff',GradientType=0 ); /* IE6-8 */
}

.mini
{
	background: rgb(255,153,34); /* Old browsers */
	/* IE9 SVG, needs conditional override of 'filter' to 'none' */
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmOTkyMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmZmRkOTkiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(255,153,34,1) 0%, rgba(255,221,153,1) 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,153,34,1)), color-stop(100%,rgba(255,221,153,1))); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  rgba(255,153,34,1) 0%,rgba(255,221,153,1) 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  rgba(255,153,34,1) 0%,rgba(255,221,153,1) 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  rgba(255,153,34,1) 0%,rgba(255,221,153,1) 100%); /* IE10+ */
	background: linear-gradient(to bottom,  rgba(255,153,34,1) 0%,rgba(255,221,153,1) 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff9922', endColorstr='#ffdd99',GradientType=0 ); /* IE6-8 */

}

.verse
{
	background:#bbb;
	font-family:Milonga,fantasy;
	padding:10px;
	padding-top:0px;
}

.tile ul{
	padding-left:10%;
	list-style-type:none;
	margin:0;
	padding-bottom:15px;
}

.grid_3 ul{
	padding-left:5%;
}

/*
.grid_3 div.tile{
	width: 220;
	height: 230;
}
*/

.grid_2p5 {
	display:inline-block;
	width: 225px;
}


h3 a { text-decoration:none; }
.tile a:link {color:#333;}
.tile a:visited {color:#333;}
.tile a:hover {color:#444;}
.ctile a:active {color:#444;}


.styless{
	list-style-type: none;
	overflow: auto;
}
.horiz{
	float: left;
	margin-right: 12.5%;
	margin-bottom: 1.5%;
}


/*Nav selectors------------------------------------------------------------------*/
nav div{
	margin-top: 5px;
	margin-bottom: 5px;
}
nav {
	padding-top: 25px;
	padding-bottom: 25px;
}
nav ul {
	float:right;
	padding-left:0;
	margin-top:10px;
	list-style-type:none;
}
nav li {
	margin-right: 0px;
	border-right: 1px solid #aaa;
	padding: 0 8px 0 3px;
	display:inline;
}
nav li:last-child {
	border-right:none;
	padding-right:0;
}
nav li:first-child {
	padding-left:0;
}

nav li a {
	text-decoration: none;
	color: #aaa;
	font: 1.3em Helvetica, Verdana, sans-serif;
	text-transform: uppercase;
	-webkit-transition: all 0.5s ease;
}
nav li a:hover {
	color: #555;
}
nav li.active a {
	font-weight: bold;
	color: #333;
}

div .tileContent{
	vertical-align:middle;
}

.clear {
	clear:both;
	*zoom:1;
}
aside {
	margin-top:20px;
	font-size:0.8em;
	color:#555;
}

.coursebody { display:none; }

span.exam { font-size:1.5em; }

#quote p { margin-top:5px; }

table.dirlisting td { font-size:1.6em; }
table.dirlisting th { font-size:1.6em; }

#degrees span {
	font-size:1.3em;
	font-weight:bold;
}

.pad {
	padding:5px;
}

div.small a { font-size:0.8em; }

@media screen and (max-width:760px) {
	h2.header { text-align:left; }
	nav ul { float:left; }
	img.purpose { width:100%; height:auto; }
}
@media screen and (min-width:760px) and (max-width:980px) {
	h2.header { text-align:center; }
	img.purpose { width:100%; height:auto; }
}


