/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
	font-family:sans-serif;
}

html
{
color:#fff;
font-family:'Open sans',sans-serif;
font-size:16px;
line-height:1.4;
text-align:justify;
}

body {
    font-size: 1em;
    line-height: 1.4;
	background: #222;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

   .container
{
max-width:990px;
min-width:720px;
padding:0 10px;
margin:0 auto
}

.site-header
{
padding-top:30px
}

.cf:before,.cf:after
{
content:" ";
display:table
}

.cf:after
{
clear:both
}

.site-logo
{
float:left;
vertical-align:middle;
padding:.6em 1em;
border:none;
color:#ffff55;
font-size:1.5em;
text-decoration:none;
}

.site-logo a
{
float: left;
color:#ffff55;
font-size:1.5em;
font-weight: bold;
text-decoration: none;
border-left: thick #222 solid;
padding:3px 10px;
}

.site-logo a:hover
{
color:#ffffaa;
border-left: thick #ffffaa solid;
}

.site-nav
{
float:right;
padding:0;
margin:10px 0 0;
list-style:none;
}

.site-nav a
{
display:inline-block;
font-weight: bold;
position:relative;
display:inline-block;
vertical-align:middle;
padding:.3em .8em;
border:1px solid #995309;
color:#222222;
background:yellow;
border-radius:8px;
box-shadow:0 2px 5px -2px #111,inset 0 2px 5px 0 rgba(255,255,255,.3);
font-size:1.5em;
text-decoration:none
}

.site-nav a:hover,.site-nav a:focus,.site-nav a:active
{
background:#ffffAA;
color:#black;
}

.cta-option
{
position:relative;
display:inline-block;
margin:2.5em .5em 0;
vertical-align:top
}

.btn-download
{
position:relative;
display:inline-block;
vertical-align:middle;
padding:.6em 1em;
border:1px solid #995309;
color:#fff;
background:#d9750b;
border-radius:4px;
box-shadow:0 2px 5px -2px #111,inset 0 2px 5px 0 rgba(255,255,255,.3);
font-size:1.5em;
text-decoration:none
}

.btn-download:hover,.btn-download:focus,.btn-download:active
{
background:#e0811b;
text-decoration:none
}

.btn-download:active
{
box-shadow:inset 0 2px 3px 0 rgba(0,0,0,.2);
background:#cf6a00
}

.btn-download-alt
{
margin-top:.25em;
border-color:#222;
background:#444;
box-shadow:none;
font-size:1.25em
}

.btn-download-alt:hover,.btn-download-alt:focus,.btn-download-alt:active
{
background:#555
}

.btn-download-alt:active
{
background:#3f3f3f
}

.last-update
{
display:block;
margin-top:10px;
color:#999;
font-size:.75em
}

.site-content
{
clear:left;
overflow:hidden;
padding:1em 0 0;
color:#333;
background:#fafafa;
}

h1
{
margin:0 0 .75em;
font-size:3em;
line-height:1.2em
}

h2
{
margin:1.5em 0 1em;
font-size:2em
}
  
h3
{
margin:0 0 .5em;
color:#555;
font-size:1.25em
}

h4
{
margin-top: -25px;
margin-bottom: .5em;
font-size:2em
}

p
{
margin:0 0 2em
}

.inline-block-list
{
padding:0;
margin:0;
list-style:none
}

.inline-block-list li
{
display:inline-block;
padding:0;
margin:0 0 0 2px;
vertical-align:top
}

.inline-block-list li:first-child
{
margin-left:0
}

.site-promo
{
padding:3em 0;
margin-left:auto;
margin-right:auto;
width:970px;
max-width:80%;
border: solid blue thick;
}

.site-promo p
{
margin:0;
font-size:1.25em;
color:#ddd
}

.site-promo h1
{
	text-align: center;
}

.site-promo img
{
	float:left;
	margin: 40px 40px 10px 0; 
	width:18%;
	max-width:150px;	
	min-width:90px;
	vertical-align: bottom;
}

.titleheader
{
	text-align: center;
}

.grid
{
margin:0 -15px;
letter-spacing:-.31em;
word-spacing:-.43em;
text-rendering:optimizespeed
}

.grid-cell
{
margin-left:3%;
display:inline-block;
vertical-align:top;
width:30%;
letter-spacing:normal;
word-spacing:normal;
text-align:left;
text-rendering:auto
}

.grid-cell>*
{
padding:0 15px
}

.grid-cell a
{
color: #E08524;
text-decoration: none;
font-weight: bold;
}

.grid-cell a:hover
{
color: #222222;
}

.num_left
{
float: left;
font-size: 6em;
font-weight: bold;
color: #aaaaaa;
text-shadow:1px 1px 0 #222222;
padding: 0px;
width:45px;
text-align:right;
}

.num_right
{
float: left;
width:66%;
}

.num_right h3
{
text-align:left;
}

.in-the-wild
{
max-width:500px;
margin:0 auto;
font-size:1.25em;
font-weight:700
}

.site-footer
{
padding:2em 0;
font-size:.875em
}

.site-footer .container
{
max-width:500px
}

.site-footer a
{
color:#e08524
}

.aside
{
padding:1em 0;
border:solid #e3e3e3;
border-width:1px 0;
background:#eee;
font-size:1.125em;
text-align: center;
}

.aside a
{
color: #006699;
text-decoration: none;
padding-right: 15px;
}

.icon
{
position:relative;
top:5px;
float:left;
margin-right:5px
}

.flex-embed
{
position:relative;
float: left;
height:0;
overflow:hidden;

border:1px solid #999;
width: 50%;
height: 397px;
}

.flex-embed iframe,.flex-embed embed,.flex-embed object
{
position:absolute;
left:0;
top:0;
}

.signup1
{
float:left;
margin-left:70px;
padding-top:0px;
padding-bottom:0px;
width:40%;
text-align: center;
}

.signup2
{
line-height:2.3em;	
}

.signup2 input
{
width: 80%;
padding:2px;
font-size: 1.5em;
color: #444444;
}

.signup3
{
clear: both;
}

.signup3 input
{
width:100px; 
float:right;
font-size: 1.5em;
padding: 2px;
color: #444444;
margin-right: 80px;
margin-top: -20px;
}

.alignright
{
float:left;
text-align: right;
padding-right:10px;
line-height: 3.5em;
}

.alignleft
{
float:left;
text-align: left;
line-height: 3.5em;
}

.submit
{
float:right;
text-align: right;
font-size: 1.5em;
color: #222222;
width: 100px;
}
































/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses 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 screen and (max-width: 980px) {

	.site-promo
	{
		width: 80%;
	}
	
	.site-promo h1
	{
		margin:0 0 .75em;
		font-size:2.5em;
		line-height:1.2em
	}
	
	.site-promo p
	{
		font-size:1.15em;
	}
}

@media screen and (max-width: 750px) {

	.site-promo
	{
		width: 80%;
	}
	
	.site-promo h1
	{
		font-size:2em;
	}
	
	.site-promo p
	{
		font-size:1em;
	}
	
@media screen and (max-width: 540px) {

   .container
	{
		min-width:100px;
		padding:0;
		margin:0;
		width:100%;
	}

	.site-promo
	{
		max-width: 100%;
		width:95%;
	}
	
	.site-promo h1
	{
		font-size:2em;
	}
	
	.site-promo img
	{
		display:none;
	}
	
	.site-promo p
	{
		text-align: left;
	}	
}

@media screen and (max-width: 380px) 
{
	.site-promo h1
	{
		font-size: 1.25em;
	}
	
	.site-promo 
	{
		width:95%;
	}
	
}


@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@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;
    }
}
