/* Cloisonne design, copyright 2006 Michael J. Cripps, Ph.D. - http://michaeljcripps.com
CSS for English 384: Writing for Electronic Media (Fall 2006), York College, CUNY.
Cloisonne is one of several CSS written for the course website.

Feel free to use this CSS as a source for ideas about CSS-based designs, but please do not simply lift this CSS without some attribution.
Navigation and header graphic images built using Samurai truetype font. Background image courtesy of http://squidfingers.com.  Special thanks to http://www.solardreamstudios.com and
to http://themaninblue.com this go 'round. I really learned something about IE hacks and sticking a footer to the foot of a document in CSS by mining their footerStickALT
tutorials. I'm also borrowing heavily from Paul O'Brien (http://www.pmob.co.uk/) to get the image rollovers to work with pure CSS, while preserving the option of text-nav with the html (yup,
I still owe a debt to Dave Shea for sub-text-with-image trick.)
*/


/*basic tags 
*/
html { height: 100%;
}

body {
	font-family: Verdana, Arial, helvetica, sans-serif;
	font-size: 8pt;
	font-color: #333333;
	height: 100%;
	background-image:  url(images/cloisonne/bg_cloisfade.gif);
	text-align: center;
	margin: 0;
	padding: 0;
	height: 100%;
}

p {
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	color: #333333;
}


h1 {font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 12pt;
	color: #333333; }

h2 {font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
	font-weight: bold;
	color: #333333; }
	
a {
	color: #333333;
	text-decoration: underline;
}

a:hover {color: #000000;
text-decoration: underline;
}

/*end basic tags 
*/

/*container elements 
*/

#container {
	width: 760px;
	min-height: 100%;  /* for modern browsers */
	height: auto !important; /*for modern browsers */
	height: 100%; /* for IE */
	margin: 5px auto 0 auto;
	text-align: left;
	position: relative; 
}


#introductory {
width: 760px;
min-height: 500px; /* for modern browsers */
height: auto !important; /* for modern browsers */
height: 500px; /* for IE */
padding: 0;
margin: 35px 0 0 0;
background: url(images/cloisonne/header.gif) no-repeat; 
position: absolute;
z-index: 0;
}

#main {
width: 590px;
min-height: 100px;
height: auto;
padding: 5px 2px 5px 2px;
margin: 70px 85px 15px 85px;
background: #FAF7EC;
filter: alpha(opacity=90); /* semi-transparency hack to cover IE, Mozilla, Opera */
-moz-opacity: .9;
-khtml-opacity: .9; 
border: 3px double #336600;
position: absolute;
z-index: 1;
}

 * html #main /* for IE */
{
height: 100px;
}

#close {
width: 760px;
min-height: 30px;
height: 30px;
margin: 0 0 0 0;
padding: 40px 0 2px 0;
position: relative; 
text-align: center;
font-weight: bold;

  }

#navigation {
width: 500px;
height: 35px;
margin: 0 130px 10px 130px; 
padding: 0;
border: 3px double #336600;
filter: alpha(opacity=80); /* semi-transparency for IE, Mozilla, Opera */
-moz-opacity: .8;
-khtml-opacity: .8;
background-color: #FAF7EC;
position: absolute;
z-index: 1;
}

* html #navigation {
	width: 506px; 
	w\idth: 506px;
}

#styles {
width: 130px;
height: 100px;
margin: 400px 35px 0 0;
position: absolute;
background-color: #FAF7EC;
}

/*end container elements 
*/

/*navigation elements 
Using CSS to control rollover effects on main navigation. Thanks to Eric Meyer's article at O'Reilly's (http://www.oreillynet.com/pub/a/javascript/2001/03/23/rollovers.html) and, especially, to Paul O'Brien (http://www.pmob.co.uk/).
*/

ul,li{
margin:0;
padding:0;
list-style:none;
}

/*main nav */
.schedule, .assignments, .blog, .students, .resources, .contacts {
float:left;
position:relative;
font-family: verdana, arial, helvetica, sans-serif;
width: 125px;
height: 35px;
margin:0; 
padding: 0; 
border:none;
}
.schedule  {background-image: url(images/cloisonne/over_schedule.gif);}
.assignments  {background-image: url(images/cloisonne/over_assignments.gif);}
/*.blog  {background-image: url(images/cloisonne/over_blog.gif);}
.students  {background-image: url(images/cloisonne/over_students.gif);} */
.resources {background-image: url(images/cloisonne/over_resources.gif);}
.contacts {background-image: url(images/cloisonne/over_contacts.gif);}

.schedule a {background-image: url(images/cloisonne/schedule.gif);
}
.assignments a {background-image: url(images/cloisonne/assignments.gif);}
/*.blog a {background-image: url(images/cloisonne/blog.gif);}
.students a {background-image: url(images/cloisonne/students.gif);} */
.resources a {background-image: url(images/cloisonne/resources.gif);}
.contacts a {background-image: url(images/cloisonne/contacts.gif);}

.schedule a:hover, .assignments a:hover, .blog a:hover, .students a:hover, .resources a:hover, .contacts a:hover{background:transparent}

/*css switcher nav*/
.cloisonne, .html {
float:left;
position:relative;
font-family: verdana, arial, helvetica, sans-serif;
width: 130px;
height: 25px;
margin:0; 
padding: 0; 
border:none;
}
.cloisonne  {background-image: url(images/cloisonne/over_cloisonne.gif);}
.html {background-image: url(images/cloisonne/over_html.gif);}

.cloisonne a {background-image: url(images/cloisonne/cloisonne.gif);}
.html a {background-image: url(images/cloisonne/html.gif);}

.cloisonne a:hover, .html a:hover{background:transparent}



/*styling the text navigation here. Span used here to hide text nav in html courtesy of Dave Shea and http://csszengarden.com.
*/

.schedule a, .assignments a, .blog a, .students a, .resources a, .contacts a {
display:block;
font-size: 10pt;
width: 125px;
height: 35px;
margin: 0;
padding: 0;
color: black; 
text-decoration: none; 
position:absolute;
margin:0;
cursor:hand;
}


.schedule span, .assignments span, .blog span, .students span, .resources span, .contacts span, .cloisonne span, .html span {display:none}


/*end navigation elements 
*/

/*some basic tags, redefined*/
h1 span {display: none;}
h2 span {display: none;}

#close p {
font: verdana, arial, helvetica, sans-serif 8pt small-caps;
}
#close a {color: #336600; text-decoration: none;}

#close a:hover { text-decoration: underline;}

/*specialty styles 
*/

.bold {font-weight: bold;}

.center {text-align: center;}

/*end specialty styles 
*/


