/* Seneca Libraries Web Site CSS */
/* last updated on August 9, 2010 by Jane Foo*/

/* GLOBAL SETTINGS */

body {
  margin: 5px 0 0 0;
  padding: 2px;
  background-color: #f8f8f8;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: small;
  background-image:url(../_site_graphics/background.jpg);
  background-repeat:repeat;
}

a	{
	color: blue;
	text-decoration:none;
	}

a:visited {
  	color: blue;
}	

a:hover	{
	color: blue;
	text-decoration: underline;	
	background-color:#fffff0;
}

form {
	margin: 0;
	padding: 2% 0 2% 0;
}

ul {
	list-style: url(../_site_graphics/bullet.gif) disc;	
	margin:  2% 0 2% 0;
}

/* CUSTOM STYLES */

.skiplink {
	display: none;
}

.small {
	font-size: small;
}
.tiny {
	font-size: x-small;
}

.footnote {
  font-size: x-small;
  /*font-style: italic;*/
  color: #888;
}

.mainheading {
	color: #ff0000;
	font-weight: bold;
	font-size: medium;
	/* using px instead of relative size to avoid display bug in IE */
	margin-left: 0px;
	padding-bottom: 1px;
	/*background: url(../_site_graphics/right.gif) top right repeat-y;*/
}

.sectionheading {
	color: #ff0000;
	font-weight: bold;
	font-size: small;
	background-color: #f6f6f6;
	padding: 1% 0 2% 2%;
	margin: 5% 0 2% 0;
	border-top: 1px #ccc dotted;
	line-height: 13px;
}

.smallheading {
	font-size: small;
	font-weight:bold;
} 

.section {
	/*color: #888; */
	font-weight: normal;
	font-size: x-small;
}

.section li {
	font-size: small;
}

.bookmark {
	text-align:left;
	padding: 0 0 0 2%;
}

.bookmark img {
	vertical-align:middle;
}

.redarrow {
	font-size: xx-small;
	color: #ff0000;
	font-weight: bold;
	margin-left: 2px;
}

.clear {
  clear: both;        /* extend height of .main to longest column */
  height: 0px;
  overflow: hidden;   /* prevent IE expanding the container */
  margin: 0;          /* keep flush with surrounding blocks */
}

/* button styling courtesy of WebDesignerWall at http://www.webdesignerwall.com/tutorials/css3-gradient-buttons */

.button {
	width: 5em;
	height: 3em;
	margin: 1%;
	display:inline-block;
	float:left;
	outline: none;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	vertical-align: middle;
	font: 14px/100% Arial, Helvetica, sans-serif;
	padding: .3em 1em .35em;
	text-shadow: 0 1px 1px rgba(0,0,0,.3);
	-webkit-border-radius: .5em;
	-moz-border-radius: .5em;
	border-radius: .5em;
	-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	-moz-box-shadow: 0 1px 2px rgba(0,0,0,.2);
	box-shadow: 0 1px 2px rgba(0,0,0,.2);
}

.button:hover {
	text-decoration: none;
}
.button:active {
	position: relative;
	top: 1px;
}

/* gray */
.gray {
	color: #9e9e9e;
	background: #6e6e6e;
	background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
	background: -moz-linear-gradient(top,  #888,  #575757);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
}
.gray:hover {
	background: #616161;
	background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
	background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
}
.gray:active {
	color: #*afafaf;
	background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
	background: -moz-linear-gradient(top,  #575757,  #888);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
}

/* green */
.green {
	color: #e8f0de;
	background: #64991e;
	background: -webkit-gradient(linear, left top, left bottom, from(#7db72f), to(#4e7d0e));
	background: -moz-linear-gradient(top,  #7db72f,  #4e7d0e);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#7db72f', endColorstr='#4e7d0e');
}

.green:hover {
	background: #fffff0;/*#538018; */
	/*background: -webkit-gradient(linear, left top, left bottom, from(#6b9d28), to(#436b0c)); 
	background: -moz-linear-gradient(top,  #6b9d28,  #436b0c);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#6b9d28', endColorstr='#436b0c'); */
}

.green:active {
	color: #a9c08c;
	background: -webkit-gradient(linear, left top, left bottom, from(#4e7d0e), to(#7db72f));
	background: -moz-linear-gradient(top,  #4e7d0e,  #7db72f);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#4e7d0e', endColorstr='#7db72f');
}


/* BANNER STYLING */
#banner {
  background-color: #fff; 
  margin: 0;
  padding: 0;
  border-bottom: 1px #666 dotted;
}

#banner #sitemap{
	margin-right: 0;
	float: right;
}

/* MAIN SECTIONS: MAIN + SIDEBAR + FOOTER */
#main {
  width: 100%;
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #fff;

/* background-color value is for content background.
   Image is 2000px wide, ~25% is colored, where sidebar should be 
   (exact pixel count of colored area is actually closer to 26%).
   Position corresponds to right sidebar, repeat img vertically.
   Could be easily modified for left sidebar - just flip the image,
   change bg position to 25% and change .content to float:right.
*/
}

/* main column styling */

#ticker {
	width: 100%; /* reduced from 70%, otherwise it will push the right section to the bottom in IE */
	background-color: #fff;
	text-align: center;
	text-size: 110%;
	margin: 3% 0 0 0;
	z-index: 5000;
	text-decoration: underline;
	/*font-stretch: extra-expanded;
	color: #000033;
	margin-left: 25px;
	margin-right: 25px;
	padding: 2px;*/
}

#maincolumn {
	width: 68%;
	float: left;
	margin: 0;
	padding: 0;
	margin-left: 2%;
	background-color:#fff;
}

#rightcolumn {
	width: 26%;
	height: auto;
	float: right;
	margin-right: 2%;
	background-color:#fff;
}

/* searchtab and links */

/* Tabs */
#books, #videos, #articles, #coursereadings, #guides, #digcoll {
/* for customization, go to _yui/tabview.css */
}

#searchtab {
	margin: 3% 0 3% 0;
}

#dblist {
	float: left;
	margin-top: 10px;
	width: 48%;
	text-align: left;
}

#quicksearch {
	float: left;
	margin-top: 10px;
	border-left: solid thin #ccc;
	width: 48%;
	text-align: right;
}


#research {
	padding-top: 2%;
	font-size: 80%;
	width:85%;
  	margin: auto;
    background-color:#fff;
}

#research h3 {
	color:#FF0000;
	margin: 0;
}

.researchitem {
	float: left;
	border: #fff solid 1px;
	vertical-align:middle;
	padding: 12px 5px 0 5px;
	height: 65px;
	font-weight: bold;
	font-size: small;
	text-align:center;
	margin-left: 0.2em;
	margin-right: 0.2em;
	/* color and background all determined by gray */
	
  -moz-border-radius-topright: 5px;
  -moz-border-radius-topleft: 20px;
  -moz-border-radius-bottomright: 20px;
  -moz-border-radius-bottomleft: 5px;  
  -webkit-border-top-right-radius: 5px;
  -webkit-border-top-left-radius: 20px;
  -webkit-border-radius-bottomright: 20px;
  -webkit-border-radius-bottomleft: 5px;
}

.researchitem a {
	color:#fff;
}

.researchitem:hover a {
	color:#00c;
	background-color: #ededed;
}

.researchitem a:hover {
	color:#00c;
	background-color: #ededed;
}

.researchitem:hover{
	background-color: #ededed;
	border: #999 solid 1px;
}

#morelinks{
	padding: 0;
	margin: auto;
    background-color:#fff;
}

#morelinks h4 {
	color:#999;
	margin-bottom: 0;
}

.morelinksitem {
	float: left;
	font-size:70%;
	padding: 0 5px 0 5px;
	text-align: center;
}


/* sidebar */
#askon {
	text-align: center;
	padding: 5% 0 0 0; /* bottom padding comes from sectionheading */
    background-color:#fff;
}

#sidebar {
  margin-left: 72%;   /* past content */
  padding: 2%;
  background-color:#fff;
}

#news {
	/*background-color: #f6f6f6; */
	line-height: 0.8em;
	padding-bottom: 10px;
}

.dvdimg {
	float: left;
	padding: 1% 5% 0% 0%;
}

.bookcover {
	text-align: center;
	width: 100%;
	font-size: x-small;
	/*background-color: #f6f6f6; */
	padding: 1% 0 1% 0;
}

/* NEWS SECTION STYLING */
#feeddiv {
	padding: 0;
}
.newsdate {
	color: #888;
	font-size: x-small;
	font-weight:normal;
}

.newstitle {
	color: #888;
	font-weight:normal;
	font-size: x-small;
}

.newsitem {
	color: #888;
	font-size: x-small;
}

/* NEW BOOK COVERS STYLING */
.pics {
	height: 214px;
	width: 146px;
	padding:0;
	margin:0;
	overflow: hidden;
}
.pics img {
	height: 200px;
	width: 132px;
	padding: 6px;
	border: 1px solid #ccc;
	background-color: #eee;
	top:0;
	left:0;
}
.pics img {
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
#slideshow {
	margin: 1% auto 1% auto;
}
.nav a {
	text-decoration: none;
}
.nav {
	text-align: center;
}

#footer {
  width: 100%;
  background-color: #fff;  /* same bg color as h1 */
  border-top: 1px #666 dotted;
  margin-top: 0;
  padding: 0;
  font-size: x-small;
  color: #888;
}

/*.footer1 {
  width: 20%;
  text-align: left;
  float: left;
  background-color: #fff;
}

.footer2 {
  width: 80%;
  text-align: right;
  float: right; 
  background-color: #fff;
}*/

/* defines when the layout CSS is visible */
@media screen, projection, print {
/* exploit a parsing bug so @media rules are visible to MacIE5 */
.BeNiceToMacIE5 {
  font-family: "\"}\"";
  font-family: inherit;
}

#wrapper {
  margin: auto;
  min-width: 740px;
  max-width: 960px;
  padding: 2px; /* to make the rounded corners look good */
  /*width: 960px; */
  /* workaround for IE who does not use min-width and max-width \ */
  width: expression(document.body.clientWidth > 960? "960px": "auto" );
  background-color:#fff;
  border: thin solid #ddd;
  -moz-border-radius-topright: 10px;
  -moz-border-radius-topleft: 10px;
  -moz-border-radius-bottomright: 10px;
  -moz-border-radius-bottomleft: 10px;  
  -webkit-border-top-right-radius: 10px;
  -webkit-border-top-left-radius: 10px;
  -webkit-border-radius-bottomright: 10px;
  -webkit-border-radius-bottomleft: 10px; 
  -moz-box-shadow: 3px 3px rgba(0,0,0,0.3);
  -webkit-box-shadow: 3px 3px rgba(0,0,0,0.3);
}

/* Below CSS styles for printing pages */
@media print {
} /* end @media rules */
