/*
 * This is the CSS for the CSS presentation.  
 */
 
/*
 * We start by setting the font for this presentation.  CSS fonts provide
 * a list so the browser can render the first font it available and fail
 * gracefully.
 */
body {
    font-family: Verdana,"Times New Roman","Bitstream Charter",Times,serif;
}

/*
 * Fieldsets are used to highlight external sample files.  They get a little
 * extra padding.
 */
fieldset {
    padding: 2em;
}

/*
 * A slide is the basic building block of the presentation.  A slide is just 
 * a div tag with this class to position it to cover the entire screen.
 */
.slide {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background: white;
}

/*
 * Title slides have a small amount of very large text.  The text is centered 
 * on the screen.
 */
.titleslide {
    position: relative;
    top: 33%;
    font-size: 72px;
    text-align: center;
    vertical-align: middle;
}

/*
 * Content slides have a title and then more content then a title slide.
 */
.contentslide {
    margin: 2em;
    height: 85%;
    width: 85%;
    display: inline;
    left: 10%;
    top: 10%;
}

/*
 * Code attributes are red, just like the "not so" part of the presentation title.
 */
#notso, .attribute {
    color: red;
}

/*
 * Code comments are green
 */
.comment {
    color: green;
}

/*
 * CSS property names are blue
 */

.propname {
    color: blue;
}

/*
 * We make text extra blue big so it jumps out
 */
.jumpout {
    font-size: 48px;
}

.strike {
    text-decoration: line-through;
}

/*
 * This class is used for eac of the six examples in the basic examples slide.
 * It handles borders, size, and layout.
 */
.basicexample {
    font-size: 1.25em;
    position: absolute;
    width: 10em;
    height: 10em;
    -moz-border-radius-bottomleft:11px;
    -moz-border-radius-bottomright:11px;
    -moz-border-radius-topleft:11px;
    -moz-border-radius-topright:11px;
    -moz-box-shadow:0 4px 18px #C8C8C8;
    border:1px solid black;
}

/*
 * This class is the one used over and over in the "one class" slide.
 */
.oneclass {
    background: lightblue;
    font-family: monospaced;
    font-size: 1.25em;
    padding: 0.5em;
    -moz-border-radius-bottomleft:11px;
    -moz-border-radius-bottomright:11px;
    -moz-border-radius-topleft:11px;
    -moz-border-radius-topright:11px;
    -moz-box-shadow:0 4px 18px #C8C8C8;
    border:1px solid black;
}

/*
 * We make all links big
 */
a {
    font-size: 24px;
}

/*
 * We make all fonts 25% larger than the default.
 */
p, .codepara {
    font-size: 1.25em;
}

/*
 * We needed to space the explanation slide because of the images.
 */
#explainslide p {
    position: relative;
}

#explainslide img {
    position: relative;
    top: 75px;
}

/*
 * These are the styles for the key in the upper right.  These styles don't
 * have any impact on the slides.
 */
#keysmall {
    display: none;
    position: absolute;
    top: 0px;
    right: 0px;
    z-index: 15;
    width: 43px;
    height: 48px;
    background-image: url('images/edge.gif'); 
    background-repeat: repeat-none;
    cursor: pointer;
}

#keydiv {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 15;
    width: 26em;
    padding: 0.5em;
    -moz-border-radius: 11px;
    -moz-box-shadow:0 4px 18px #C8C8C8;
    border:1px solid lightgray;
    background-image: url('images/blue_fade.gif'); 
    background-repeat: repeat-x;
    background-position: bottom left;
}

#keydiv a {
    font-size: medium;
}

#keydiv ul {
    list-style-type: none;
    position: relative;
    left: -1.5em;
}

#keydivcontainer div {
    width: 23em;
    line-height: 1.25em;
}

#keydivcontainer {
    position: relative;
}

#keydivclose {
    width: 19px;
    height: 19px;
    background:transparent url(images/close_button.gif);
    display:block;
    position:absolute;
    right: 5px;
    top: 5px;
    text-indent:-9999px;
}


/*
 * These styles are for the footer
 */
html, body, #wrap {
    height: 98%;
}

body > #wrap {
    height: auto; 
    min-height: 98%;
}

#main {
    padding-bottom: 1em;
}  /* must be same height as the footer */

#footer {
    position: fixed;
	margin-top: -0.5em; /* negative value of footer height */
	height: 4em;
	clear:both;
    z-index: 15;
    border-top: thin solid lightgray;
    background: white;
    width: 100%;
    left: 0px;
}
 
.footerleft {
    position: absolute;
    top: 5px;
    left: 20px;
}

.footerright {
    position: absolute;
    right: 20px;
    top: 5px;
}

/* CLEAR FIX*/
.clearfix:after {content: ".";
	display: block;
	height: 0;
	clear: both;
	visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix { height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */
