/* ---- Overall styles ---- */
body {
	background-color: #999;
	color: #000;
	font-family: Verdana, Helvetica, Arial, sans-serif;
	font-size: small;
}
a:link { color: #000066; }
a:visited { color: #000066; }

/* ---- Index styles ---- */
div#index_main {
	width: 750px;
	border: 1px solid black;
	margin: 7px auto;
	background-color: #FFF;
	padding: 20px;
}
div#index_header {
	margin: 0 auto;
	font-size: larger;
	padding-bottom: 13px;
	text-align: center;
}
div#umass_header {
	width: 30em;
	margin: 1em auto 1.5em auto;
}
ul#umass_links {
	list-style-type: none;
	font-style: italic;
	text-align: left;
	margin-left: 57px;
	padding-left: 1em;
}
ul#index_navbar {
	list-style-type: none;
	width: 25em;
	margin: 0 auto;
	font-size: large;
	padding: 3px;
	font-weight: bold;
}
ul#index_navbar li {
	display: inline;
	padding-right: 0.8em;
}
ul#index_navbar li.last {
	padding-right: 0;
}
div#index_content {
	padding: 1em 0.2em 0em 0.2em;
}

/* ---- Regular page styles ---- */
div#main {
	width: 750;
	margin: 0 auto;
	background-color: #FFF;
	border: 1px solid black;
}
div#header { margin: 6px; }
div#main_inner {
	padding-left: 5px;
	overflow-y:hidden;
}
div#content {
	padding-left: 0.5em;
	padding-right: 1em;
	margin-left: 90px;  /* 85 for the #navbar + 5 for padding */
}
div#content p#umass_links {
	text-align: right;
	font-style: italic;
	margin-top: 0;
}
ul#footer {
	text-align: center;
	list-style-type: none;
	padding: 0;
}
ul#footer li {
	display: inline;
}

/* ---- Navbar styles ---- */
ul#navbar {
	width: 85px;
	list-style-type: none;
	background-color: #9999FF;
	background: -webkit-linear-gradient(top, #99F 40%, white);
	background: -moz-linear-gradient(top, #99F 40%, white);
	background: -ms-linear-gradient(top, #99F 40%, white);
	background: -o-linear-gradient(top, #99F 40%, white);
	background: linear-gradient(to bottom, #99F 40%, white);
	float: left;
	padding: 1 1 100% 2;
	margin: 0 0 -100% 0;
}
ul#navbar a {
	max-width: 83px;
	min-width: 83px;
	overflow: hidden;
	height: 2.5em;
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	text-decoration: none;
	font: small Arial, Helvetica, sans-serif;
	font-weight: bold;
	padding: 0.25em 0;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	border-radius: .4em;
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
	/* color information */
	color: #BBF;
	border: solid 1px #000032;
	background: rgb(0, 0, 50); /* fallback */
	background: rgba(0, 0, 50, 0.75);
	background: -webkit-linear-gradient(top, rgba(255,255,255,0.5), rgba(0,0,50,0.5) 12%, rgba(0,0,50,0.5) 88%, rgba(0,0,0,0.5)),
							-webkit-linear-gradient(left, rgba(255,255,255,0.5), rgba(0,0,50,0.5) 5%, rgba(0,0,50,0.5) 95%, rgba(0,0,0,0.5));
}
ul#navbar a:active {
	background: -webkit-linear-gradient(top, rgba(0,0,0,0.5), rgba(0,0,50,0.5) 12%, rgba(0,0,50,0.5) 92%, rgba(255,255,255,0.5)),
							-webkit-linear-gradient(left, rgba(255,255,255,0.5), rgba(0,0,50,0.5) 5%, rgba(0,0,50,0.5) 95%, rgba(0,0,0,0.5));
}
ul#navbar a:hover {
	color: #9999FF;
}

ul#subnavbar {
    background: #9999FF;
    /* background: #262666; dark purple*/
    display: none;
    list-style-type: none;
    margin: 0;
    padding: 0;
}
ul#subnavbar a{
    background: #9999FF;
    /* background: #262666; dark purple*/
    color: #262666;
    border: 0;
    font-size: x-small;
    box-shadow: none;
    text-shadow: none;
    border-top: solid 1px black;
    border-bottom: solid 1px black;
}
ul#subnavbar a:hover {
	background: #BBF;
	color: #262666;
}
ul#subnavbar a:active {
	background: #262666;
	color: #BBF;
}
/* ---- people.shtml styles ---- */
div#people div {
	display: inline-block;
	padding-bottom: 1em;
	width: 100%;
}
div#people ul { list-style-type: none; }
div#people li {
	float: left;
	padding-right: 1em;
	min-width: 40%;
}
div#people h2 {
	display: inline;
	padding-right: 1em;
}

div#faculty img {
	width: 200px;
	height: 200px;
}

div#students li {
	min-width: 30%;
	padding-bottom: 1em;
}
div#students img {
	width: 100px;
	height: 100px;
}

/* ---- pubs.shtml styles ---- */
ul#pub_books {
	list-style-type: none;
}
ul#pub_books li {
	display: inline;
	padding-right: 0.7em;
}
ul#pub_books img {
	border: 1px solid black;
	height: 163px;
}
#pub_years {
	padding: 0 4em;
	text-align: center;
	line-height: 1.75em;
}
#pub_years a {
	display: inline;
	padding-right: 0.5em;
	font-weight: bold;
}
div#pub_content h3 {
	text-decoration: underline;
}
div#news li{
    font-size: medium;
}
div#news h1{
    text-decoration: underline;
    text-align: center;
}
div#news img{
  vertical-align: middle;
}
.news_name {
  font-size: medium;
  font-weight: bold;
}
.news_text {
  font-size: medium;
  font-weight: normal;
}
