/*   
Theme Name: NewsRabble
Theme URI: http://newsrabble.com
Description: The official styles of NewsRabble.
Author: NewsRabble
Author URI: http://newsrabble.com
Version: 1.0
*/

/* Apply a natural box layout model to all elements: http://paulirish.com/2012/box-sizing-border-box-ftw/ */
* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }

.chromeframe {position: absolute; top: 0;}

/* Ok, this is where the fun starts.
-------------------------------------------------------------------------------*/

/* Using local fonts? Check out Font Squirrel's webfont generator: http://www.fontsquirrel.com/tools/webfont-generator */

/* Custom text-selection colors (remove any text shadows: http://twitter.com/miketaylr/status/12228805301) */
::-moz-selection{background: rgba(255,129,0,0.85); color: #fff; text-shadow: none;}
::selection {background: rgba(255,126,0,0.85); color: #fff; text-shadow: none;} 

/*	j.mp/webkit-tap-highlight-color */
a:link {-webkit-tap-highlight-color: rgba(0,0,0,0.18);} 

/* Mozilla dosen't style place holders by default */
input:-moz-placeholder { color:#a9a9a9; }
textarea:-moz-placeholder { color:#a9a9a9; }


/* Custom theme styles.
-------------------------------------------------------------------------------*/

@font-face {
    font-family: 'League Gothic';
    src: url('_/inc/fonts/League_Gothic.otf');
    src: url('_/inc/fonts/League_Gothic.otf') format('otf'),
    font-weight:normal;
    font-style:normal;
    font-variant:normal;
}

body {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 15px;
	line-height: 20px;
	background-color: #525252;
	color: #555555;
}

a,
a:link,
a:visited {
	color: #ff7e00;
	text-decoration: none;
	word-wrap: break-word;
	white-space: normal;
}

a:hover {
	text-decoration: underline;
}

.wrapper {
	display: block;
	max-width: 1024px;
	margin: 0 auto;
}

.page-container {
	background-color: white;
	box-shadow: 0px 1px 22px rgba(0,0,0,0.65);
	overflow-y: auto;
	overflow-x: hidden;
}

#header {
	padding-top: 15px;
	overflow: visible;
}

h1#logo {
	float: left;
	background-color: white;
	border-radius: 5px 5px 0px 0px;
	padding: 25px 15px;
	box-shadow: 0px -8px 14px rgba(0,0,0,0.1)
}

h1#logo a {
	width: 253px;
	height: 51px;
	display: inline-block;
	text-indent: -9999em;
	background-image: url(_/inc/images/logo.png);
	background-size: 100%;
	background-repeat: no-repeat;
	background-position: center center;
}

.spacer {
	clear: both;
	display: block;
}

.banner-promo {
	float: right;
}

#nav {
	background-color: #ff7e00;
	padding: 0 15px;
}

#nav ul,
#nav li {
	display: inline;
}

#nav li a {
	font-family: 'League Gothic', sans-serif;
	display: inline-block;
	font-size: 24px;
	line-height: 24px;
	text-transform: uppercase;
	color: #525252;
	padding: 9px 15px 7px 15px;
}

#nav li a:hover,
#nav li.current-menu-item a {
	text-decoration: none;
	color: white;
}

#nav li.right-menu {
	float: right;
}

#content {
	float: left;
	width: 630px;
	margin: 30px 0 30px 30px;
}

#sidebar {
	float: right;
	width: 300px;
	margin: 30px 30px 30px 0;
	position: relative;
}

#sidebar section {
	border-top: 5px solid #ff7e00;
	border-left: 1px solid #d4d4d4;
	border-right: 1px solid #d4d4d4;
	border-bottom: 1px solid #d4d4d4;
	background-color: white;
	padding: 10px 20px 20px 20px;
	margin-bottom: 30px;
}

#sidebar section h4 {
	font-size: 30px;
	line-height: 32px;
	margin-bottom: 7px;
	text-align: center;
	text-transform: uppercase;
}

#sidebar section li a {
	display: inline-block;
	width: 100%;
	color: #838383;
	padding: 5px 0;
	border-bottom: 1px dotted #bbbbbb;
}

#sidebar section li a:hover {
	text-decoration: none;
	color: #4c4c4c;
}

#sidebar section.widget_recent_entries li a {
	text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'League Gothic', sans-serif;
	font-weight: normal;
	color: #4c4c4c;
}

h2 {
	font-size: 40px;
	line-height: 42px;
	margin-bottom: 15px;
}

h2.page-title {
	margin-bottom: 30px;
}

h2 .highlighted {
	color: #ff7e00;
}

h2 .faded,
#sidebar section .faded {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 16px;
	line-height: 16px;
	font-weight: bold;
	border-radius: 4px;
	padding: 3px 12px 5px 12px;
	color: white;
	background-color: #b7b7b7;
	position: relative;
	bottom: 8px;
	margin-left: 4px;
}

h4 {
	font-size: 30px;
	line-height: 34px;
	margin-bottom: 25px;
	text-transform: uppercase;
}

#content h3 {
	font-size: 32px;
	line-height: 34px;
	margin-bottom: 5px;
	text-transform: uppercase;
}

#content h3 a {
	color: #4c4c4c;
}

#content h3 a:hover {
	color: #ff7e00;
	text-decoration: none;
}

#content h3 a:active {
	background-color: #fff5dc;
}

#content h3 a .hostname {
	font-size: 24px;
	color: #c5c5c5;
	font-weight: normal;
	position: relative;
	bottom: 3px;
}

.single #content h3 {
	font-size: 38px;
	line-height: 42px;
}

#footer {
	padding: 40px;
	text-align: center;
	color: #c0c0c0
}

.news-item {
	overflow: auto;
	margin-bottom: 40px;
	display: inline-block;
	width: 46%;
	vertical-align: top;
	margin-right: 3%;
	-webkit-transition: 0.1s ease-in-out;
	-moz-transition: 0.1s ease-in-out;
	-o-transition: 0.1s ease-in-out;
	-ms-transition: 0.1s ease-in-out;
	transition: 0.1s ease-in-out;
}

.single .news-item {
	display: block;
	width: 100%;
	margin-right: 0;
	margin-bottom: 20px;
}

.news-item .upvote {
	float: left;
	position: absolute;
	width: 50px;
	height: 50px;
	margin-left: -60px;
	border-radius: 50%;
	vertical-align: middle;
	text-align: center;
	font-size: 17px;
	font-weight: bold;
	background-color: #ececec;
	color: #868686;
	cursor: pointer;
	overflow: hidden;
}

.news-item .upvote .count.voted {
	background-color: #9bce00;
	color: white;
}

.news-item .upvote .count.is-author {
	background-color: #ff7e00;
	color: white;
}

.news-item .upvote:hover {
	color: white;
}

.news-item .upvote .count,
.news-item .upvote .plus,
.news-item .upvote .minus {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	width: 50px;
	height: 50px;
}

.news-item .upvote .plus,
.news-item .upvote .minus {
	display: none;
	position: relative;
	/* font-size: 28px; */
}

.news-item .upvote a.plus {
	color: white;
}

.news-item .upvote:hover .plus,
.news-item .upvote:hover .minus {
	display: table-cell;
	color: white;
	text-decoration: none;
}

.news-item .upvote .plus {
	background-color: #9bce00;
}

.news-item .upvote .minus {
	background-color: #e54d00;
}

.news-item .upvote:hover .count {
	display: none;
}

.news-item .upvote:hover .count.is-author {
	display: table-cell;
}

.news-item .upvote input[type="submit"] {
	width: 50px;
	height: 50px;
	-webkit-appearance: none;
	opacity: 0;
	position: absolute;
	top: 0px;
	left: 0px;
}

.news-item .headline-container {
	padding-left: 65px;
}

.news-item .meta {
	color: #a7a7a7;
	font-size: 14px;
}

.news-item .meta a {
	color: #a7a7a7;
}

nav#sort {
	border-bottom: 1px solid #e0e0e0;
	margin-bottom: 45px;
}

nav#sort a {
	display: inline-block;
	padding: 8px 25px;
	color: #a1a1a1;
	font-style: italic;
	font-size: 18px;
	background-color: white;
}

nav#sort a.selected {
	border-left: 1px solid #e0e0e0;
	border-top: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;
	border-radius: 5px 5px 0px 0px;
	position: relative;
	top: 1px;
	margin-left: 20px;
}

nav#sort a:hover {
	text-decoration: none;
	color: #777777;
}

#nav select {
	border: 0 !important;
	margin: 7px 0;
	padding: 4px 7px !important;
	background-color: white;
}

.wrapper input[type="text"],
.wpuf-post-form input[type="text"],
.wrapper textarea,
.wpuf-post-form textarea,
.wrapper select,
.wpuf-post-form select,
.wrapper input[type="password"],
.wpuf-post-form input[type="password"],
.wrapper input[type="email"],
.wpuf-post-form input[type="email"] {
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 18px !important;
	padding: 7px !important;
	color: #adadad;
	border: 3px solid #e9e9e9 !important;
	width: 100% !important;
}

.wrapper input[type="text"]:focus,
.wpuf-post-form input[type="text"]:focus,
.wrapper textarea:focus,
.wpuf-post-form textarea:focus,
.wrapper select:focus,
.wpuf-post-form select:focus,
.wrapper input[type="password"]:focus,
.wpuf-post-form input[type="password"]:focus,
.wrapper input[type="email"]:focus,
.wpuf-post-form input[type="email"]:focus {
	outline: none;
	color: #414141;
	border: 3px solid #ff7e00 !important;
	background-color: white !important;
}

.wrapper input.requiredField.invalid,
.wrapper select.requiredField.invalid {
	color: #a62500 !important;
	border: 3px solid #a62500 !important;
	background-color: #fff2ee !important;
}

.category-wrap {
	width: 100%;
}

select {
	-webkit-appearance: none;
    -moz-appearance: none;
    -webkit-user-select: none;
    -moz-user-select: none;
	cursor: pointer;
	background-color: white;
}

#wpuf-post-area label,
.wpuf-post-form li:nth-child(4) {
	width: 100%;
	display: none;
}

.wpuf-post-form #new-post-title {
	font-weight: bold;
}

.wrapper button,
.wrapper input[type="submit"],
.wrapper .wpuf-post-form input[type="submit"],
.wrapper a.button,
.navigation a {
	background: #939393 !important;
	color: white !important;
	font-size: 15px !important;
	font-weight: bold !important;
	display: inline-block !important;
	padding: 7px 18px !important;
	border-radius: 4px !important;
	text-shadow: none !important;
	border: 0 !important;
	border-bottom: 3px solid #636363 !important;
	position: relative;
}

.wrapper button:hover,
.wrapper input[type="submit"]:hover,
.wrapper .wpuf-post-form input[type="submit"]:hover,
.wrapper a.button:hover,
.navigation a:hover {
	background: #848484 !important;
	text-decoration: none;
}

.wrapper button:focus,
.wrapper input[type="submit"]:focus,
.wrapper .wpuf-post-form input[type="submit"]:focus,
.wrapper a.button:focus {
	outline: none;
}

.wrapper button:active,
.wrapper input[type="submit"]:active,
.wrapper .wpuf-post-form input[type="submit"]:active,
.wrapper a.button:active,
.navigation a:active {
	border-bottom: 0px !important;
	margin-top: 3px !important;
}

.wpuf-post-form #cf_url {
	margin-bottom: 7px;
}

.post-categories,
.post-categories li {
	display: inline;
}

ol.commentlist {
	list-style: none;
}

li.comment {
	color: #4a4a4a;
	padding: 17px 2000px;
	margin: 17px -2000px;
	
}

li.depth-1:nth-child(even) {
	background-color: #f5f5f5;
}

li.depth-2 .comment-body {
	margin-left: 7%;
}

li.depth-3 .comment-body {
	margin-left: 14%;
}

li.depth-4 .comment-body {
	margin-left: 21%;
}

li.depth-5 .comment-body {
	margin-left: 28%;
}

li.comment .comment-body {
	padding-left: 70px;
	font-size: 15px;
	line-height: 20px;
}

ul.children li {
	margin-bottom: 0px;
	padding-bottom: 0px;
}

li.comment .avatar {
	position: absolute;
	margin-top: 5px;
	margin-left: -70px;
}

li.comment cite {
	font-family: 'League Gothic', Helvetica, sans-serif;
	font-style: normal;
	font-size: 32px;
	line-height: 36px;
}

li.comment .says {
	display: none;
}

li.comment .comment-meta a {
	color: rgba(255,255,255,0);
	font-size: 13px;
}

li.comment .comment-meta abbr {
	color: #a9a9a9;
}

li.comment .reply {
	text-align: right;
}

li.comment .reply a {
	font-weight: bold;
}

textarea#comment {
	margin-bottom: 15px;
}

p.confirm {
	background-color: #d9ffac;
	color: #4f7700;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
	cursor: pointer;
}

p.warning {
	background-color: #ffc4aa;
	color: #792800;
	padding: 10px;
	margin-bottom: 10px;
	text-align: center;
	cursor: pointer;
}

#sidebar .widget_advanced_text {
	border: 1px solid #d4d4d4;
	padding: 0;
	line-height: 0;
}

li.recent-comment,
li.recent-comment .recent-comment-avatar {
	margin: 0;
	padding: 0;
}

.navigation {
	overflow: auto;
	clear: both;
}

.next-posts {
	float: right;
}

.prev-posts {
	float: left;
}

#content ul {
	list-style: square;
	margin-left: 2%;
	padding-left: 5%;
}

#content ul.post-categories,
#content ul.wpuf_customs,
#content ul.post-categories ul,
#content ul.wpuf_customs ul,
#content ul.wpuf-post-form {
	margin: 0;
	padding: 0;
}

.mobile-options {
	color: #a0a0a0;
	text-align: center;
	display: none;
}

.mobile-options a {
	display: inline-block;
	padding: 10px 5px 10px 5px;
	color: #bfbfbf;
}

.thumbnail img {
	margin-bottom: 12px;
}

.promo-banner {
	background-color: #fff9cc;
	border-bottom: 1px solid #ffd549;
	color: #71614e;
	text-align: center;
	padding: 7px;
	display: none;
}

.user-info {
	overflow: auto;
}

.user-info a[href="/scoring/"] {
	color: #b2b2b2;
}

.user-info img {
	float: left;
	margin-right: 10px;
}

#sidebar section.user-info .faded {
	bottom: 0px;
	margin-bottom: 5px;
	display: inline-block;
	padding: 5px 12px 7px 12px;
}

#sidebar #text-2 {
	-webkit-transition: 0.5s ease-in-out;
	-moz-transition: 0.5s ease-in-out;
	-o-transition: 0.5s ease-in-out;
	-ms-transition: 0.5s ease-in-out;
	transition: 0.5s ease-in-out;
}

#sidebar #text-4 {
	background-color: #fff9cc;
	border: 1px solid #ffd549;
}

#sidebar #text-4 a.button {
	background-color: #8db800 !important;
	border-bottom: 3px solid #5d7a00 !important;
}

#sidebar #text-4 a.button:hover {
	background-color: #7fa500 !important;
}

#sidebar #text-4 a.button:active {
	border-bottom: none !important;
}
	
#sidebar .expanded {
	width: 600px;
	position: absolute;
	right: 0;
	background-color: rgba(255,255,255,0.95);
}

blockquote {
	width: 90%;
	display: block;
	margin: 20px auto;
	background-color: #f1f1f1;
	padding: 5px 25px;
	border-radius: 5px;
}

.alignright {
	float: right;
	margin-left: 10px;
	margin-bottom: 4px;
	max-width: 60%;
}

.alignleft {
	float: left;
	margin-right: 10px;
	margin-bottom: 4px;
	max-width: 60%;
}

.wp-caption {
	width: 100%;
	max-width: 100%;
	padding: 12px;
	border: 1px solid #ececec;
}

.wp-caption p {
	margin: 12px 0 0 0;
	font-size: 12px;
	color: #989898;
}



/* Print styles!
-------------------------------------------------------------------------------*/
@media print {

}


/* Media queries!
-------------------------------------------------------------------------------*/

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

	.banner-promo,
	#sidebar {
		display: none !important;
	}
	
	#content {
		padding: 25px;
		margin: 0;
		width: 100%;
		-webkit-box-sizing: border-box;
	    -moz-box-sizing: border-box;
	    box-sizing: border-box;
	}
	
	#header {
		margin-top: 0;
		padding-top: 0;
	}
	
	#header h1 {
		width: 100%;
		text-align: center;
		border-radius: 0;
	}
	
	.mobile-options {
		display: block;
	}
	
}

@media screen and (max-width: 520px) {
	
	nav#sort a {
		padding: 5px 18px;
		font-size: 17px;
	}
	
	#content h3 {
		font-size: 28px;
		line-height: 32px;
	}
	
	.news-item {
		margin-bottom: 35px;
		display: block;
		width: 100%;
		margin-right: 0;
	}
	
	.news-item .headline-container {
		overflow-x: hidden;
	}
	
}

@media all and (orientation: portrait) {
	
}

@media all and (orientation: landscape) {
	
}
