/* --------------------------------------------------------------------------
   Fonts.
   -------------------------------------------------------------------------- */


@font-face {
    font-family: 'League Spartan';
    src: url('../fonts/leaguespartan-bold.eot');
    src: url('../fonts/leaguespartan-bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/leaguespartan-bold.woff2') format('woff2'),
         url('../fonts/leaguespartan-bold.woff') format('woff'),
         url('../fonts/leaguespartan-bold.ttf') format('truetype'),
         url('../fonts/leaguespartan-bold.svg#league_spartanbold') format('svg');
    font-weight: bold;
    font-style: normal;
}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-bold-webfont.eot');
    src: url('../fonts/crimson-bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-bold-webfont.woff') format('woff'),
         url('../fonts/crimson-bold-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;

}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-bolditalic-webfont.eot');
    src: url('../fonts/crimson-bolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-bolditalic-webfont.woff') format('woff'),
         url('../fonts/crimson-bolditalic-webfont.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;

}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-italic-webfont.eot');
    src: url('../fonts/crimson-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-italic-webfont.woff') format('woff'),
         url('../fonts/crimson-italic-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;

}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-roman-webfont.eot');
    src: url('../fonts/crimson-roman-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-roman-webfont.woff') format('woff'),
         url('../fonts/crimson-roman-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-semibold-webfont.eot');
    src: url('../fonts/crimson-semibold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-semibold-webfont.woff') format('woff'),
         url('../fonts/crimson-semibold-webfont.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;

}


@font-face {
    font-family: 'Crimson';
    src: url('../fonts/crimson-semibolditalic-webfont.eot');
    src: url('../fonts/crimson-semibolditalic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/crimson-semibolditalic-webfont.woff') format('woff'),
         url('../fonts/crimson-semibolditalic-webfont.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;

}

/* --------------------------------------------------------------------------
   Main.
   -------------------------------------------------------------------------- */

html,
button,
input,
select,
textarea {
    color: #222;
	}

html {
    font-size: 1em;
    line-height: 1.4;
    background-color: #aaa;
	}

body {
	margin-left: 5em;
	margin-right: 5em;
	margin-top: 0;
	margin-bottom: 0;
	padding: 3em;
	background-color: white;
	border: 1px solid gray;
	}
	
hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
	}

h1, h2, h3, h4, h5, h6 {
	font-family: 'League Spartan', Futura, sans-serif;
	}

p, li {
	font-family: 'Crimson', Palatino, 'Book Antiqua', serif;
	}


/* --------------------------------------------------------------------------
   Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   -------------------------------------------------------------------------- */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* --------------------------------------------------------------------------
   Print styles.
   Inlined to avoid required HTTP connection.
   -------------------------------------------------------------------------- */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
