/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

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

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

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

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

/*
hr {
    display: block;
    width: 3px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}
*/
img {
    vertical-align: middle;
}

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


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


/* ==========================================================================
   Eero's tests
   ========================================================================== */

/*
a:link {color:#FF0000;}      /* unvisited link */
 a:visited {color:#00FF00;}  /* visited link */
 a:hover {color:#FF00FF;}  /* mouse over link */
 a:active {color:#0000FF;}  /* selected link */
 */

ul.circle {list-style-type:circle;}
ul.square {list-style-type:square;}
ul.x {list-style-image:url('sqpurple.gif');}

.navi {
 margin-left: 20px;
 padding: 0;
 font-family: arial;
 font-weight: bold;
 font-size: 1em;
 text-align:left
}

.lightred
 {
 background-color:rgba(255,0,0,0.5);
 }

/* Positioning */

h2.pos-left
{
position:relative;
left:-20px;
}

h2.pos-right
{
position:relative;
left:20px;
}

h2.pos-abs
 {
 position:absolute;
 left:100px;
 top:150px;
 }

 /* Navigation bar */

 ul.nav
 {
 list-style-type:none;
 margin:0;
 padding:0;
 }

 a.nav
{
display:block; /* Whole area clickable */
width:60px;
background-color:#dddddd;
}

 /* Horizontal navigation */

 li.horizontal
 {
 display:inline;
 }


.stars {
    color: #FFD700;
    text-align:right;
    padding-right:20px;
}
.stars-inline {
    color: #FFD700;
    margin-right: 0.2em;
}

.star-container {
  float:right;
}

.star-container a {
  color: #FFD700;
  text-decoration:none;
}

.star-container a:visited {
  color: #FFD700;
}

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

body {
margin: 1em;
font-family: "Nimbus Sans", Arial, sans-serif;
}

a, nav li a:visited {
color: #0065BD;
}

a:visited {
color: #6639b7;
}

a:active {
color: #00a8b4;
}


/* ==========================================================================
   Navigation Bar
   ========================================================================== */

nav {
float: left;
width: 12em;
margin: 0 1em;
}

#logo {
margin-bottom: 2em;
}


nav ul {
padding: 0;
margin: 0;
font-family: arial;
// font-weight: bold;
font-size: 1em;
list-style-type:none;
}

nav h1 {
padding: 0;
margin: 0;
font-family: arial;
font-weight: bold;
font-size: 1em;
}

nav h2 {
position:relative;
left:0.1em;
padding-left: 1em;
margin: 0;
font-family: arial;
font-weight: bold;
font-size: 1em;
}

nav ul {
position:relative;
left:0.1em;
padding-left: 1em;
font-size: 1em;
left-margin: 0.9em;
}

nav li a {
	font-size:1em;
	padding-left: 1em;
// left-margin: 1.5em;
// text-decoration: none;
}


/* ARTICLE */

article {
margin: 2em 2em 2em 14em;
max-width: 50em;
}

h1 {
font-weight: bold;
font-size: 1.2em;
}

h2 {
font-size: 1.1em;
/*background-color: #99CCFF;*/
}

h3 {
font-size: 1.0em;
font-style: italic;
}

article hr {
height: 3px;
color: blue;
background-color: blue;
}

#mainheading h1 {
font-size: 1.6em;
margin: 0;
padding: 0;
// border-bottom: 3px solid #FECB00;
border-bottom: 5px solid blue;
}

#h1_header_sub {
font-size: 90%;
font-style: italic;
font-weight: 500;
font-family: "Times New Roman",sans-serif;
}

#mainheading h2 {
margin: 0 0 2em 0;
font-family: Sentinel, Georgia, serif;
font-size: 1.1em;
}

img {
margin: 0;
}

textarea {
resize: vertical;
font-family: monospace;
font-size: 1em;
}

.code {
font-family: monospace;
font-size: 1em;
}

aside {
	font: 75% Sentinel, Georgia, serif;
float: right;
width: 20em;
margin: 0 0 2em 2em;
}

aside h1 {
font-size: 100%;
margin-top: 0;
}

#license img {
	margin-top: 5px;
	padding-left: 10px;
}

.graph-license {
	float: right;
}

/* jQuery Tweet styles */

.tweet,
.query {
}

.tweet_list {
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	border-radius: 0.5em;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-y: hidden;
/*	background-color: #8ADEE2; */
}

.tweet_list li {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5em 0;
	list-style-type: none;
}

.tweet_list li a {
/*	color: #0C717A; */
}

.tweet_list .tweet_even {
/*	background-color: #cccccc; */
}

.tweet_list .tweet_avatar {
	padding-right: .5em; float: left;
}

.tweet_list .tweet_avatar img {
	vertical-align: middle;
}

.tweet_time {
padding-right: 1en;
}


/* ==========================================================================
   Media Queries
   ========================================================================== */

@media only screen and (min-width: 35em) {

}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {

}

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

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

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

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

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

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

.invisible {
    visibility: hidden;
}

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

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

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

    /* don't show navigation elements in printout */
    nav { display: none; }
    article { margin: 0; }
}
