/* Core Stuff */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

#top {
    max-width: 1024px;
    margin: 0 auto;
}

body {
    font-size: 1rem;
    line-height: 1.7;
    color: #606d6e;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #454B4D;
}

h2 { margin-top: -10px; }

a {
    color: #1F8CD6;
    text-decoration: none;
}

a:hover {
    color: #175E91;
}

pre {
    background: #F0F0F0;
    margin: 1rem 0;
    border-radius: 2px;
    font-family: 'Inconsolata', monospace;
}

code {
    font-family: 'Inconsolata', monospace;
}

blockquote {
    border-left: 10px solid transparent;
    margin: 0;
    padding: 0 2rem;
}

/* Utility Classes */
.wrapper {
    margin: 0 3rem;
}

.padding {
    padding: 0rem 1rem;
}

.left {
    float: left;
}

.right {
    float: right
}

.rightpad {
    padding-right: 1rem;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

/* Content Styling */
.header .padding {
    padding: 1rem 0;
}

/*.header {
    background-color: #1F8DD6;
    color: #eee;
}

.header a {
    color: #fff;
}
*/
.header .logo {
    /*font-size: 1.7rem;*/
    /*text-transform: uppercase;*/
}

.footer {
    padding: 1rem 0;
    background-color: #eee;
    text-align: center;
}

/* Font Family */
html, button, input, select, textarea,
.pure-g [class *= "pure-u"] {
    /* Set your content font stack here: */
    font-family: 'Lato', sans-serif;
}

.topiclist .count {
    font-weight: normal;
    font-size: smaller;
    padding-left: 0.25rem;
}

.topiclist ul {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.topiclist li.text:before {
    content: "\f0f6";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: middle;
    padding-right: 0.5rem;
}

.topiclist li.video:before {
    content: "\f1c8";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: middle;
    padding-right: 0.5rem;
}

/*.topiclist h2:before {
    content: "\f114";
    font-family: FontAwesome;
    display: inline-block;
    vertical-align: middle;
    padding-left: -2rem;
}
*/

#sidebar h1 {
    font-size: 1.25rem;
}

.frontrow {
    border-top: #eee solid 1px;
}

#sidebar h1 {
    border-bottom: 3px double #eee;
    line-height: 0;
    padding-top: 1em;
}

#sidebar h1 span {
    background: #fff;
    padding-right: 0.5em;
}

.header .search {
    background: aliceblue;
    padding: 1em;
}

section.header .details {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 0.5em 0;
    font-size: smaller;
}

section.header .details span {
    padding-right: 1rem;
}

table { width: 100%; table-layout: fixed; padding: 10px; }
td { height: 50px; }

/* THIS IS NEW */

.header {
		width: 100%;
		letter-spacing: 0;
}

header {

	  padding: 20px 0px;
}

.inner {
	  max-width: 1000px;
	  margin: 0 auto;
	  padding: 0px;
	  position: relative;
}

.logo {
	  text-decoration: none;
	  color: #1F8CD6;
	  font-weight: 800;
	  font-size: 30px;
	  line-height: 40px;
}

nav > ul {
  	float: right;
    list-style-type: none;
	margin: 0px;
	padding: 0px;
}

nav > ul > li {
  	text-align: center;
	  line-height: 40px;
	  margin-left: 30px;
}

nav > ul li ul li {
	  width: 100%;
  	text-align: left;
}

nav ul li:hover {
	  cursor: pointer;
	  position: relative;
}
nav ul li:hover > ul {
  	display: block;
}
nav ul li:hover > a {
	  color: #444;
}
nav > ul > li > a {
		cursor: pointer;
		display: block;
		outline: none;
		width: 100%;
		text-decoration: none;
		color: #777;
}

nav > ul > li {
  	float: left;
}
nav a {
	  color: white;
}
nav > ul li ul {
  	display: none;
  	position: absolute;
left: -140px;
right: -20px;
top: 100%;
/*  	width: 100%; */
	  z-index: 2000;
list-style-type: none;
background-color: white;
}
nav > ul li ul li > a {
	  text-decoration: none;
color: #777;
}

[type="checkbox"], label {
	  display: none;
}

@media screen and (max-width: 880px) {
	nav ul {
		  display: none;
	}
  
  .logo {
	  font-size: 20px;
	  line-height: 40px;
}

	label {
  		display: block;
		  width: 40px;
  		height: 40px;
  		cursor: pointer;
		  position: absolute;
		  right: 20px;
  		top: 0px;
	}
.wrapper { margin: 0 0.5rem; }
  
label:after{
  content:'';
  display: block;
  width: 30px;
  height: 5px;
  background: #777;
  margin: 7px 5px;
  box-shadow: 0px 10px 0px #777, 0px 20px 0px #777
}

	[type="checkbox"]:checked ~ ul {
  		display: block;
  		z-index: 9999;
  		position: absolute;
		  right: 00px;
		  left: 00px;
	}
  
  header {
    height: 60px;
    padding-top: 10px;
  }

	nav a {
		  color: #777;
	}

	nav ul li {
		  display: block;
  		float: none;
  		width: 100%;
  		text-align: left;
  		background: #fff;
		  text-indent: 20px;
	}

	nav > ul > li {
  		margin-left: 0px;
	}

	nav > ul li ul li {
  		display: block;
		  float: none;
	}
  
	nav > ul li ul {
		  display: block;
  		position: relative;
left: -20px;
  		width: 100%;
		  z-index: 9999;
		  float: none;
	}
nav ul li:hover > a {
background-color: #eee;
}
nav ul li ul li:hover > a {
background-color: #eee;
}

h1 {
	  font-size: 26px;
}
.search .padding {padding: 0;}
}