/*
 * This file contains the styles used for the typography sample slide.  
 * It is a separate file to make it easier to experiment with it.  The 
 * styles for this example example are a little more advanced than the 
 * rest of the presentation.
 */

body {
    font-family:"ScalaSansOT-Regular", Georgia,"Times New Roman","Bitstream Charter",Times,serif;
    margin-left: 2em;
}

/*
 * We set default styles for all paragraphs.
 */
p {
    font-size: 1em;
    line-height: 1.25em;
    margin: 0.625em 0 0.625em -7em;
    padding: 0 0 0 8em;
    text-align: justify;
    width: 44em;
    font-family: "ScalaPro-Regular", Georgia,"Times New Roman","Bitstream Charter",Times,serif;
}

/*
 * Make the first line text larger and using small caps
 */
p:first-line {
    font-weight: 800;
    font-variant: small-caps;
}

/*
 * This style makes the first letter very large and sets the font to be
 * the sans serif version of the font used in the rest of the paragraphs.
 */
p:first-letter {
    font-size: 36em;
    line-height: 1em;
    font-weight: 400;
    float: left;
    margin: 0 0 0 -0.1em;
    font-family:"ScalaSansOT-Regular", Georgia,"Times New Roman","Bitstream Charter",Times,serif;
}

/*
 * Set the line-height and float so the rest of the paragraph is to the 
 * right and on the same spacing.
 */
p + p:first-letter {
    font-size: 1em;
    line-height: 1.25em;
    float: none;
    margin: 0;
}

/*
 * We only want to make the first line of the first paragraph bold and small
 * caps.  That means we need to set the other paragraphs back to the default
 * styles.
 */
p + p:first-line {
    font-weight: 400;
    font-variant: normal;
}
