@import url("initial.css");
@import url("hacks.css");
@import url("font.css");

/* --------------Metadata---------------- 
Filename: basic.css 
Title : Primary CSS file
Author : Laura Zimmerman, lmzimmerman@world.oberlin.edu
URL :
License: Copyright 2007, Laura Zimmerman, All Rights Reserved. 
Description : This base style sheet imports other style sheets
and provides basic styling for XHTML elements.
--------------------------------------- */ 

/* ------Sample Comment Openers----------
TODO: Works, but needs further styling.
BUG: Doesn't work properly.
KLUDGE: Workaround, could use adjustment.
---------------------------------------*/

/* ------------ Glossary ----------- 
	
Colors:

	Pale Blue:    #8A92EB
	Soft Blue:    #6974E6
	Yellow:       #E6DC6B
	Pale Purple:  #7469E6
	Dark Purple:  #5d478b
	Green:	      #D2F8D5
	Minty Green:  #7CE186
	Red:	      #e8746a
	Rose:	      #cd6090
	Gold:	      #ffc125
	
Serif fonts: Georgia, "Times New Roman", serif 
Sans-serif fonts: Verdana, Arial, Helvetica, sans-serif 
---------------------------------------- */ 

/* ---------Text-sizing hack-------
(included here rather than in hacks.css, for its ubiquity of use)
100 percent is equal to 1 em. Now that 1 em is 10 pixels,
our math becomes very easy: 1 em is 10 pixels, .8 em is
8 pixels, 1.4 em is 14 pixels, and so on.
--------------------------------- */

body { 
font-size:62.5%;
font-family: "Trebuchet MS", Verdana, sans-serif;
background-color: #8A92EB;
color: #000;
margin: 0 auto;
padding-left: 10px;
text-align: center;
} 

body a:link {
color: #6974e6;
font-weight: bold;
}

body a:hover {
color: #cd6090;
}

body a:visited {
color: #5d478b;
}


h1 { font-size: 1.6em; line-height: 1.5em;}
h2 { line-height: 1.5em; }
h3 {}

hr { border: 0; }

p {
font-size:1em;
margin-top: 1.3em;
margin-bottom: 1.3em;
}

/* ------------------------
Wrapper
-------------------------*/
#wrapper {
margin: 0 auto;
padding-right: 39px;
width: 93em;
text-align: center;
background: url('../images/right_shadow.jpg');
background-repeat: repeat-y;
background-position: right;
}

/* ------------------------
Logo
-------------------------*/
	/* Logo fonts: Comic Sans, "Open Arms"; Fertigo, "Christian . . ." */

#logo {
height: 12em;
margin-top: 2em;
margin-left: -2px;
margin-right: -2px;
font-size: 1.3em;
line-height: 1.5em;
}

#logo_content {
width: 80%;
float: left;
padding: 3em 6em;
padding-top: 2.5em;
padding-bottom: 0;
}

.ne {
margin-right: -9px;
background: url("../images/ne.gif") no-repeat top right;
}

.nw {
  margin-left: -8px;
  height: 100px;
  background: url("../images/nw.gif") no-repeat top left;
}

/* -----------------------
Right Header
------------------------*/
#right_header {
float: right;
width: 18em;
}

#right_header img {
margin-bottom: 2em;
}

/* ------------------------
Shadow
--------------------------*/
#shadow {
margin: 0 auto;
background-image: url('../images/left_shadow.jpg');
background-repeat: repeat-y;
background-position: -10px;
}

/* -----------------------
Container
-------------------------*/
#container {
margin: 0 auto;
margin-left: 14px;
text-align: center;
width: 93em;
padding-right: 2px;	/* Matches (border-width x 2) in menu */
background: #fff url('../images/gold.jpg') no-repeat;
background-position: top;
}


/*-------------------------
Menu
-------------------------*/

#menuholder {
background: #660000;
width: 93em;
}

#menu {
float: left;
width: 93em;
margin: 0; padding: 0;
margin-left: -1px;
padding-left: 1px;
	/* Appearance */
background-color: #800000;
background: #fff url('../images/menu.jpg');
background-repeat: repeat-x;
border: 1px solid #a9a9a9;
}

#menu a {
display: block;
white-space: nowrap;
	/* Appearance */
height: 2em;
font-weight: bold;
padding-top: 1em;
padding-bottom: 0em;
padding-left: 1em;
text-decoration: none; 
color: #fff;
background-color: #800000;
background-image: url('../images/menu.jpg');
background-repeat: repeat-x;
} 

#menu h2 {
display: block;
white-space: nowrap;
	/* Appearance */
margin: 0;
height: 2em;
padding-top: 1em;
padding-bottom: 0em;
font-weight: bold;
font-size: 1em;
line-height: 1em;
color: #fff;
background: #660000;
background-image: url('../images/menu.jpg');
background-repeat: repeat-x;
}


#menu a:hover {
color: #fff;
background: #7469E6;
background: #660000;
background-image: url('../images/hover.jpg');
background-repeat: repeat-x;
}


#menu h2:hover, #menu h2-hover {
color: #fff;
background: #660000;
background-image: url('../images/hover.jpg');
background-repeat: repeat-x;
}


#menu ul {
list-style: none;
margin: 0 8em;
padding: 0;

font-size: 1.3em;
text-align: center;
}


#menu li {
float: left;
position: relative;

padding: 0; margin: 0;
width: 9em;
border-left: 1px solid #999;
border-right: 1px solid #a9a9a9;
}


#menu ul ul{
position: absolute;
z-index: 500;
top: auto;
display: none;
padding: .1em 0;
padding-top: -.1em;
width: 16em;
font-size: 1em;
background: #FFF;
}
	
#menu li ul li {
text-align: left;
margin-top: -.1em;
}

#menu li ul a {
padding-bottom: .5em;
padding-left: 3em;
width: 16em;
height: 1.3em;
margin-top: 0;
background-image: none;
border-top: 1px solid #000;
border-bottom: 1px solid #999;
border-left: 1px solid #a9a9a9;
border-right: 1px solid #a9a9a9;
}
		
#menu li:hover ul { left: -8.2em; }
		
div#menu h2:hover{
background-image: url('../images/hover.jpg') no-repeat -999px -9999px;
}

div#menu li:hover{
cursor:pointer;
z-index:100;
}

div#menu li:hover ul ul,
div#menu li li:hover ul ul,
div#menu li li li:hover ul ul,
div#menu li li li li:hover ul ul
{display:none;}

div#menu li:hover ul,
div#menu li li:hover ul,
div#menu li li li:hover ul,
div#menu li li li li:hover ul
{display:block;}

/* ------------------------
Announcements
-------------------------*/
#announce {
font-weight: bold;
width: 45%;
padding-right: 4em;
border-bottom: 1px dotted #000;
float: right;
margin-top: -2.5em;
line-height: 1.1em;
}

/* ------------------------
Content
-------------------------*/

#content {
	/* Layout */
margin-left: -1px;
margin-right: -2px;
padding: 2em 2em;
padding-left: 3em;
	/* Type */
text-align: left;
font-size: 1.3em;
line-height: 1.5em;
	/* Decoration */
color: #000000;
background: #fff;
border-left: 4px solid #660000;
border-right: 4px solid #660000;
}


#content p {
width: 80%;
margin-bottom: 1em;
}


#content li {
width: 80%;
}


#content h1 {
width: 80%;
margin-top: 1em;
margin-bottom: 1.5em;
padding-left: .6em;
border-left: 12px solid #ffc125;
border-bottom: 1px solid #ffc125;
}

#content h2 {
font-size: 1.3em;
margin-bottom: 2em;
width: 80%;
     /* Writing-paper style */
	border-top: 2px dashed /* #bcd2ee */ #6CA6CD;
    	border-bottom: 2px dashed #6CA6CD;
	padding: .4em 0;
}

#content h3 {
font-size: 1.2em;
margin-top: 1.2em;
margin-bottom: .5em;
}


#content hr {
color: #000000;
background-color: #000000;
width: 80%;
height: 1px;
}


.firstletter {
font-size: 1.8em;
}


#upper_corner {
padding: 3em 5.25em;
padding-right: 2em;
background: #fff url('../images/corner_ul.jpg') no-repeat top left;
}

#lower_corner {
padding: 1.5em 3.25em;
background: url('../images/corner_lr.jpg') no-repeat bottom right;
}


/* ------------------------
Contact
-------------------------*/
#contact {
padding: 1em;
text-align: center;
font-size: 1.1em;
color: #FFFFCC;
}


/* ----------------------
Footer
-----------------------*/
#footer {
clear: both;
font-size: 1em;
margin-left: -1em;
padding-top: .8em;
padding-left: 9em;
text-align: center;
background: #FFFFFF;
border-top: 2px solid #ffc125;
color: #000000;
}

#footer p {
margin-left: 2em;
}


/*-----------------------
Lists
-----------------------*/

ul {
margin: 0; padding-right: 1.2em;
list-style: none;
text-indent: -1.2em;
}

li {
	background-image: url('../images/bullet.gif');
	background-position: 0 50%;
	background-position:0 0.4em;
	background-repeat: no-repeat;
	padding: 0 0 .5em 40px;
}

/*-----------------------
Text
-----------------------*/
.nomargin { margin: 0; }

table {
border: 1px solid #000000;
font-size: 1.1em;
color: #000000;
}

td {
border: 1px solid #000000;
}

table#meet {
text-align: center;
border: 2px solid #6974E6;
}

table#meet td {
width: 12em;
font-weight: bold;
font-weight: normal;
padding: 1.5em;
padding-top: .8em;
border: 2px solid #6974E6;
background: #6974e6;
}

table#meet p {
padding: 0; margin: 0;
padding-top: .3em;
width: 100%;
text-align: center;
}

.title {
font-weight: normal;
font-weight: bold;
font-style: italic;
}

/*------------------------
Tables for Summer Program
------------------------*/


table.summer {
border: none;
width: 80%;
}

table.summer td {
border: none;
padding-right: 2em;
vertical-align: top;
}
/*-----------------------
Images and Elements
-----------------------*/

.left { float: left; margin-right: 2em;}

.right {
float: right;
padding-left: 2em;
padding-bottom: 3em;
}

.center { text-align: center;}
.clear {clear: both; height: 1%;}


/*-----------------------
Quotes
-----------------------*/

.quote {
margin-top: 2.5em;
margin-bottom: 2.5em;
font-style: italic;
margin-left: 2em;
margin-right: 2em;
}

.quote p+p {
margin-top: -1.5em;       /* Second paragraph is byline (.quote_byline). */
                        /* This moves the byline closer to the quote. */
}

.quote_byline {
margin-right: 2em;
font-style: normal;
text-align: right;
}

/*-----------------------
Captioned Images
-----------------------*/

.captioned {
/* float: left;
margin-right: 2em;
margin-top: 3em; */
}

.caption {
/* float: right;*/
font-style: italic;
}

.image_box {
float: right;
width: 20em;
margin-right: 9em;
margin-left: 1em;
padding: 0;
}

.sidecaption {
font-style: italic;
}
