* {
	margin:0;
	padding:0;
}
body {
	font:13px Helvetica, Tahoma, Arial, sans-serif;
	background:#000;
	color:#777;
}
.header .login {
	background:#111;
	height:25px;
	overflow:hidden;
	padding:0 0 0 10px;
}
.nav ul {
	list-style:none;
	width:100%;
	float:left;
	background:#F5F5F5;
	height:40px;
	padding:0 10px;
	box-sizing:border-box;
}
.nav ul a,
.subnav ul a {
	color:#FFF;
}
.nav ul {
	height:auto;
	padding-left:250px;
}
.nav li,
.subnav li {
	float:left;
}
.logo  {
	margin:10px 20px;
	font-size:35px;
	text-decoration:none;
	vertical-align:middle;
	color:#FFF;
	position:absolute;
	top:20px;
}
.header #search {
    left: 50px;
    padding: 21px 20px 0;
    position: absolute;
    top: 17px;
}
.header #search input {
	border: 0 none;
    padding: 8px 10px;
	width:150px;
}
.header #search button {
	background:#404040;
	border:0;
	color:#FFF;
	border-radius:3px;
	vertical-align:middle;
	padding:4px 7px;
	cursor:pointer;
	display:none;
}
.logo img {
	vertical-align:middle;
	margin-right:20px;
}
.subnav {
	margin:10px 5px 20px;
}
.subnav ul {
	padding:10px;
}
.subnav ul li {
	display:inline-block;
	padding:0 5px;
}
.subnav ul li a {
	background:#39095d;
	color:#FFF;
	text-decoration:none;
	padding:6px 12px;
}
.subnav li.active a,
.subnav li a:hover {
	text-decoration:underline;
}
section.content {
	display:table;
	width:100%;
	background:#FFF;
}
#content {
	clear:both;
	padding:10px 0;
	box-sizing:border-box;
	overflow:hidden;
	word-break: break-all;
}
aside.sidebar {
	display:table-cell;
	width:300px;
	vertical-align:top;
}
.entry {
	padding:10px;
	border-bottom:1px solid #EEE;
	width:100%;
	display:table;
	box-sizing:border-box;
	position:relative;
}
.entry:hover {
	background:#F5F5F5;
}
.entry ul,
.entry ol {
	margin:10px 20px;
}
.entry .url {
	color:#0f6eca;
}
.entry p {
	padding:0 0 10px;
}
.entry h2,
.entry h3,
.entry h4,
.entry h5,
.entry h6 {
	font-size:24px;
	color:#000;
}
.entry a {
	color:#222;
	text-decoration:none;
}
.entry .image {
	display:table-cell;
	vertical-align:middle;
	padding:0 20px 0 0;
}
.entry img {
	width:100px;
}
.entry .image img {
	border-radius:3px;
}
.entry .content {
	display:table-cell;
	vertical-align:middle;
}
.entry .score,
.comment .content .score {
	position:absolute;
	top:50%;
	left:20px;
	padding:7px;
	background:#404040;
	color:#FFF;
	border-radius:3px;
	margin-top:-17px;
}
.comment {
	padding-left:20px;
	background:#FFF;
	width:100%;
	float:left;
	box-sizing:border-box;
	font-weight:200;
	font-size:12px;
	color:#555;
}
.comment:hover {
	color:#222;
}
.comment .content {
	float: left;
	box-sizing:border-box;
    padding: 10px;
    width: 100%;
	position:relative;
}
.comment .content .score {
	left:0;
	font-size:11px;
	padding:5px;
	margin-top:-13px;
}
.comment .user {
	color:#222;
}
.subreddits  {
	float:left;
	width:100%;
}
.subreddits li {
	list-style:none;
	float:left;
}
.subreddits li a {
	display:block;
	padding:0 3px;
	line-height:25px;
	color:#DDD;
	font-size:11px;
	text-decoration:none;
}
.subreddits li.user a {
	padding-left:10px;
	padding-right:10px;
	border-right:1px solid #000;
	margin-right:10px;
}
.nav ul li a {
	color: #222;
    display: block;
    font-size: 12px;
    line-height: 60px;
    padding: 0 6px;
    text-decoration: none;
}
.nav ul li.active a {
	font-weight:bold;
	color:#000;
}
.nav ul li a:hover {
	color:#000;
}
.subcategory h2.headline {
	padding:5px 20px;
	background:#DDD;
}
.subcategory h2.headline a {
    color: #222;
    font-size: 16px;
    font-weight: 300;
    text-decoration: none;
	height:29px;
	line-height:29px;
}
.subcategory {
	float:left;
	background:#FFF;
	width:100%;
}
#footer {
	float:left;
	width:100%;
}
.ads {
	margin:0 0 20px;
}
.sidebar .entry h2,
.sidebar .entry h3,
.sidebar .entry h4,
.sidebar .entry h5,
.sidebar .entry h6 {
	font-size:14px;
}
.sidebar .entry img {
	width:60px;
}
.sidebar .headline {
	background:#333;
	height:40px;
	line-height:40px;
	font-size:14px;
	color:#FFF;
	padding:0 10px;
	position:relative;
	border-top:1px solid #222;
}
.sidebar .headline:after {
	content:"";
	position:absolute;
	left:-1px;
	top:0;
	bottom:0;
	width:1px;
	background:#222;
}
.template {
	padding:20px;
	background:#FFF;
}
.template p {
	padding:0 0 10px;
}
#footer {
	margin:30px 0;
}
#footer ul li {
	float:left;
	list-style:none;
	color:#CCC;
}
#footer ul li:last-child {
	float:right;
}
#footer ul li a {
	padding:10px 20px;
	color:#EEE;
	text-decoration:none;
}
@media (max-width:780px) {
	#content,aside.sidebar {
		display:block;
	}
	aside.sidebar {
		width:100%;
	}
	.nav ul, .subnav ul {
		padding:10px;
	}
	.nav ul li a {
		font-size:13px;
	}
	.header #search {
		padding: 21px 20px 20px;
	}
	.header #search button {
		margin-top:-3px;
	}
}
.nav {
	width:100%;
	height: 58px;
	overflow: hidden;
}

@media (max-width:700px) {
	.nav {
		padding-top:50px;
	}
}