/* for accessibility */

#skip a, #skip a:hover, #skip a:visited 
{ 
position:absolute; 
left:0px; 
top:-500px; 
width:1px; 
height:1px; 
overflow:hidden;
} 

#skip a:active, #skip a:focus 
{ 
position:static; 
width:auto; 
height:auto; 
} 


/* main */




body {
background:#8b8b8b;
color:#303030;
font:86% Verdana,Tahoma,Arial,sans-serif;
margin:0;
padding:0;
text-align:center;
line-height: 1.5;
}

a {

/* color:#505050; */
color: red;
font-weight:bold;
text-decoration:none;
}

a:hover {
color:#808080;
text-decoration:underline;
}

p {
/* line-height:1.5em;  I put this in body instead */
margin:0 0 15px;
}

/*** Main container ***/

#container {
background:#f0f0f0 url(img/bodybg.jpg) repeat-x;
color:#303030;
margin:0;
min-width:770px;
padding:0;
text-align:left;
width:100%;
}

/*** Header section ***/

#sitename {
color:#ffffff;
height:92px;
margin:0 20px 10px;
text-align:left;
}

#sitename h1,#sitename h2 {
font-weight:400;
letter-spacing:-2px;
margin:0;
padding:0;
}

#sitename h1 {
font-size:2.4em;
padding-top:20px;
}

#sitename h2 {
font-size:1.6em;
}

/*** Horizontal menu ***/



div#mainmenu {
	width:100%; 	/* makes the div full width */
	float:left; /*makes the div enclose the list */
	margin-bottom: 25px;
	}

#mainmenu ul {
font-size:16px;
margin:0;
padding:0;
}

div#mainmenu li {
	float:left;	/* causes the list to align horizontally instead of stack */
	position:relative; /* positioning context for the absolutely positioned drop-down */
	list-style-type:none;	/* removes the bullet off each list item */
	height: 35px;
	}
	
/*
div#mainmenu li:hover { 
	background-color:#97b66e; /*sets the background of the menu items 
	}
*/

div#mainmenu a {
	display:block; /*makes list items in drop down highlight and wrapped lines indent correctly */
	padding:11px 10px 10px; /*creates space each side of menu item's text */
	text-transform: uppercase;
	text-decoration:none;	 /* removes the underlining of the link */
	color:#606060;	/* sets the type color */
	border-right: 1px solid #b0b0b0;
	font-size: 0.7em;
}
#mainmenu a:hover {
background:#f0f0f0 url(img/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
}

#mainmenu a.current {
background:#f0f0f0 url(img/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
}

/* the horizontal menu ends here */
/* the drop-down starts here */
div#mainmenu ul li ul {
	margin:0; /* prevents the TEMP value inheriting from the horiz menu - OK to remove if you remove TEMP above */
	position:absolute; /* positions the drop-down ul in relation to its relatively positioned li parent */
	width:7em; /*sets the width of the menu - in combo with the li's 100% width, makes the menu stack*/
	left:-1px; /*aligns the drop exactly under the menu */
	top:35px;
	}
div#mainmenu ul li ul li {
	width:100%; /* makes the list items fill the list container (ul) */
	border-left:1px solid #fff; /*  three sides of each drop-down item */
	border-bottom:1px solid #fff;
	border-right:1px solid #fff;
	height:20px;
	padding:0 0 1px;
	}
div#mainmenu ul li ul li:first-child {
	border-top:1px solid #fff; /*the top edge of the dropdown */
	}	
	
div#mainmenu ul li ul li a{
padding:5px;
background:#d0e0bc;
/* background:#8b8b8b; */
font-weight:normal;
font-size:.6em;
}

div#mainmenu ul li ul li a:hover{
background:#f0f0f0 url(img/menuhover.jpg) top left repeat-x;
color:#505050;
text-decoration:none;
/*
background:#97b66e;
background-image:none;
color:#fff;
*/
}


	
/* make the drop-down display as the menu is rolled over */
div#mainmenu ul li ul {display:none;} /* conceals the drop-down when menu not hovered */
div#mainmenu ul li:hover ul {
display:block;
} /* shows the drop-down when the menu is hov


/*** Content wrap ***/

#wrap {
clear:both;
font-size:0.9em;
padding:0;
}

/*** Sidebars ***/

#leftside,#rightside {
margin:0;
padding:0 10px 10px;
/*width:165px;*/
width: 0px;
}

#leftside {
float:left;
margin-right:10px;
}

#rightside {
float:right;
margin-left:10px;
}

#leftside h1,#rightside h1 {
color:#505050;
font-size:1.6em;
font-weight:bold;
letter-spacing:-1px;
margin:0 0 12px;
}

#leftside h2,#rightside h2 {
font-size:1.1em;
margin:0 0 20px;
}

#leftside p,#rightside p {
font-size:0.9em;
line-height:1.4em;
margin:0 0 16px 10px;
}

.linklist {
list-style:none;
margin:0 0 16px 10px;
padding:0;
}

.linklist li {margin-bottom:0.7em;}

/*** Sidebar menu ***/

.nav {
background:#e8e9ea;
border:1px solid #b0b0b0;
color:#606060;
display:block;
margin-top:8px;
padding:5px 4px 4px 10px;
position:relative;
text-transform:uppercase;
/* width:140px; */
width: 0px;
}

.nav:hover,.active {
background:#f8f9fa;
border:1px solid #909090;
color:#303030;
text-decoration:none;
}

.sub {
font-size:0.8em;
letter-spacing:1px;
margin:3px 0 2px 10px;
padding:4px 2px 2px 8px;
/*width:125px;*/
width: 0px;
}

/*** Content ***/

#content,#contentalt {
background-color:#fafcff;
border:1px solid #909090;
color:#2a2a2a;
padding:15px 20px 5px;
}

/*
#content {margin:0 200px;}
#contentalt {margin:0 200px 0 20px;}
*/

#content {margin:0 20px;}
#contentalt {margin:0 20px 0 20px;}

#content h1,#content h2,#contentalt h1,#contentalt h2 {
background-color:inherit;
color:#606060;
font-size:1.8em;
font-weight:bold;
letter-spacing:-1px;
margin:0 0 15px;
padding:0;
}

#content h2,#contentalt h2 {
font-size:1.6em;
margin-bottom:10px;
}

#content img,#contentalt img {
border:1px solid #b0b0b0;
float:left;
margin:5px 15px 6px;
padding:5px;
}

#content img.nonfloated, #contentalt img.nonfloated {
float: none;
border:1px solid #b0b0b0;
margin:5px 15px 6px;
padding:5px;
}



/*** Footer ***/

#footer {
background:#8b8b8b url(img/footerbg.jpg) top left repeat-x;
clear:both;
color:#d0d0d0;
font-size:0.9em;
font-weight:bold;
margin:0;
padding:20px 0;
text-align:center;
width:100%;
}

#footer a {
color:#d0d0d0;
font-weight:bold;
}

/*** Various classes ***/

.thumbnail {
background:#fafbfc;
border:1px solid #b0b0b0;
margin:0 0 10px 10px;
padding:5px;
}


.clearingdiv {
clear:both;
height:30px;
width:1px;
}

.hide {display:none;}

/*** Text format ***/

.intro {
font-size:1.1em;
font-weight:bold;
letter-spacing:-1px;
}

.small {font-size:0.8em;}
.large {font-size:1.4em;}
.center {text-align:center;}
.right {text-align:right;}
.keyword {font-family: monospace; font-size: 1.2em;}


/********  Additions for CS115 ********/

.filler {float: right; margin: 0px 60px 0px 10px; }

table {
    border-collapse: collapse;
    margin-bottom: 10px;
}

td, th {
    border: dotted thin black;
    padding: 4px;
}

ol.sublist {
    list-style-type: lower-alpha;
}

pre {
    font-size: 1.2em;
    line-height: 1;
}


#lab9graphic {
    float: none;
    margin-left: auto;
    margin-right: auto;
}


#clearboth {
    clear: both;
}




/********   Additions for homepage **********/


#contact {
    border: 1px dotted gray;
    background-color: #d0d0d0;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    width: 50%;
    padding: 15px;
}

/*********    Additions for CS 10 ***********/

.divider {
	border-bottom: 1px black solid;
}

.standout {
	border: 1px black inset;
	padding: 10px;
}

div.standout {
	margin-bottom: 15px;
}

.underline {
	text-decoration: underline;
}

/*** End of file ***/