/*
Theme Name: alexking.org
Theme URI:
Description: Theme for alexking.org (v3)
Version: 1.1
Template: favepersonal
Author: Alex King
Author URI:
*/

select {
/*
	background: url(../img/select-arrows.png) no-repeat right center;
	background-size: 14px 16px;
 */
	border: 1px solid #ccc;
	border-radius: 0;
	font-family: 'Titillium600', Helvetica, Arial, Verdana, sans-serif;
	font-size: 13px;
	padding: 5px;
/*
	padding: 5px 20px 5px 5px;
	-webkit-appearance: none;
 */
	-webkit-border-radius: 0;
}

.eml-section {
	font-size: 12px;
	line-height: 16px;
	margin: 5px;
}
.eml-label {
	display: inline-block;
	padding-right: 5px;
	text-align: right;
	width: 60px;
}
/* hat tip: http://codepen.io/thetwistedtaste/pen/lCpvm */
.airmail-border-bottom {
	background-image: repeating-linear-gradient(135deg, #F29B91 0px, #F09290 30px, transparent 30px, transparent 40px, #83B3DB 40px, #84ADCB 70px, transparent 70px, transparent 80px);
	height: 10px;
	margin-top: 30px;
	max-width: 480px;
}
.airmail-border-top {
	background-image: repeating-linear-gradient(135deg, #F29B91 -10px, #F09290 20px, transparent 20px, transparent 30px, #83B3DB 30px, #84ADCB 60px, transparent 60px, transparent 70px);
	height: 10px;
	margin-bottom: 30px;
	max-width: 480px;
}
.category-cancer-email .entry-content {
	font-family: monospace;
	font-size: 12px;
}
.eml-info {
	background: #e8e8e8;
	color: #333;
	font: 13px Helvetica, Arial, Verdana, sans-serif;
	font-weight: 300;
	line-height: 20px;
	padding: 10px;
}

.featured-footer {
	padding: 30px 0 10px;
}
.featured-footer h1 {
	margin-bottom: 0;
	line-height: 13px;
}
.featured-footer a,
.featured-footer a:link,
.featured-footer a:visited {
	text-decoration: none;
}
.featured-footer .h3,
.featured-footer p {
	display: inline;
	font-size: 13px;
}
.featured-footer ul {
	list-style: none;
	padding-left: 0;
}
.entry-content .featured-footer li {
	margin-bottom: 15px;
}

#nav-blog {
	display: none;
}

@media only screen and (min-width: 768px) {
	#nav-blog {
		background: #d3d3f7;
		display: block;
		font-family: Titillium400, Helvetica, Arial, Verdana, sans-serif;
		padding: 30px 0;
	}
	#nav-blog .col {
		float: left;
		width: 198px;
	}
	#nav-blog h2 {
		font-size: 14px;
		line-height: 100%;
		margin: 0 0 10px 0;
		padding: 0;
		text-transform: uppercase;
	}
	#nav-blog h2.under {
		margin-top: 30px;
	}
	#nav-blog .projects-2 h2 {
		visibility: hidden;
	}
	#nav-blog li {
		font-size: 13px;
		line-height: 24px;
		text-align: left;
		text-transform: none;
	}
	#nav-blog select {
		background-color: #fff;
	}
}

#masthead {
	padding-bottom: 31px;
	padding-top: 26px;
}
#masthead .featured {
	height: 140px;
}
#masthead .featured.has-featured-img,
#masthead .featured.featured-format-gallery {
	height: 150px;
}

/* mobile nav tweaks */
@media screen and (max-width: 768px) {
	#nav-main .menu > li {
		padding-bottom: 10px;
		text-align: right;
	}
	#nav-main .menu > li:first-child {
		padding-top: 10px;
	}
}

/* CONTENT */
@media only screen and (min-width: 1009px) {
	/* let's try a larger right-side gutter in desktop view */
	.entry-content {
		margin-right: 30px;
		width: 480px;
	}
	/* except for gallery posts, whoops! */
	.format-gallery .entry-content {
		margin-right: 0;
		width: 510px;
	}
}
/* Slightly smaller titles for link posts */
article.format-link .entry-header {
	min-height: 20px;
}
article.format-link .entry-header .entry-title {
	font-size: 20px;
	line-height: 21px;
}
article.format-link .entry-header .entry-date {
	line-height: 16px;
}

.entry-content a,
.page-content a,
.social-comment-body a {
	text-decoration: underline;
}
.entry-content li,
.page-content li,
.social-comment-body li {
	margin-bottom: 3px;
}
.entry-content strong,
.entry-content b {
	color: #333;
}
.entry-content .footnotes {
	font-size: 12px;
	margin-top: 40px;
}
.entry-content .redacted {
	background: #000;
	color: #fff;
	font-family: 'Courier New', 'Courier', monospace;
	font-weight: bold;
	padding: 1px 4px;
}
.entry-content table.numbers {
	width: 100%;
}
.entry-content table.numbers th,
.entry-content table.numbers td {
	text-align: right;
}
.threads-post-notice {
	background: #e8e8e8;
	color: #333;
	font: 13px Helvetica, Arial, Verdana, sans-serif;
	font-weight: 300;
	line-height: 20px;
	padding: 10px;
}
.threads-post-notice a {
	font-weight: bold;
}
.post-status-meta a {
	text-decoration: none;
}
.post-status-meta .view-on {
	display: inline-block;
	line-height: 16px;
	padding-left: 20px;
	position: relative;
}
.post-status-meta .view-on span {
	background: #d3d3f7 url('/wp-content/themes/favepersonal/assets/img/comment-icons-sprite.png') 0 0 no-repeat;
	display: block;
	height: 16px;
	left: 0;
	position: absolute;
	top: 0;
	width: 16px;
}
.post-status-meta .view-on-facebook span {
	background-position: -100px 0;
}
.post-status-meta .view-on-twitter span {
	background-position: -50px 0;
}
pre, pre code, .gist {
	font-size: 12px;
	line-height: 14px;
}
@media only screen and (min-width: 768px) {
	#content .format-image.excerpt {
		overflow: visible;
		position: relative;
	}
	.format-image.excerpt .entry-media {
		max-height: 300px;
		overflow: hidden;
	}
	.format-image.excerpt a.hovered img {
		box-shadow: 0px 3px 5px #444;
		position: absolute;
		top: 46px;
		z-index: 5;
	}
}
hr {
	margin: 30px auto;
	width: 40%;
}

/* META */
.format-status.excerpt .entry-meta-replies {
	margin-top: 4px;
}
.entry-meta a.category {
	white-space: nowrap;
}

/* COMMENTS */
#social .depth-2 .children,
#social .depth-2 .social-children {
	margin: 0;
	padding: 0;
}

/* ADS */
#text-ads {
	border-top: 1px solid #89c;
	padding: 3px 0;
	text-align: center;
}
#text-ads,
#text-ads a,
#text-ads a:visited {
	color: #d3d3f7;
	font-size: 9px;
}
#carbonads-container .carbonad {
	background: #e8e8e8;
	border: 0;
	height: auto;
	margin-bottom: 25px;
	min-height: 90px;
	width: auto;
}
#carbonads-container .carbonad-img {
	margin: 0 9px 0 0;
}
#carbonads-container .carbonad-text {
	padding-top: 6px;
}
#carbonads-container .carbonad-tag,
#carbonads-container .carbonad-tag a {
	color: #999;
	font-size: 10px;
	margin-top: 7px;
	text-align: left;
}
.shortcode_widget .widget-title {
	background: #e8e8e8;
	color: #666;
}
.sponsor a {
	text-decoration: underline;
}

/* CONTACT */
#email_form legend {
	display: none;
}
#email_form input {
	padding: 5px;
	width: 350px;
}
#email_form textarea {
	height: 350px;
	padding: 5px;
	width: 450px;
}
#email_form #submit_button {
	width: 150px;
}

/* ShareThis */
span.st_sharethis {
	display: block;
	margin-top: 20px;
}
span.stButton,
span.stButton .chicklets {
	color: #666;
	font-family: inherit;
	font-size: 12px;
	margin-right: 0;
	padding-right: 0;
}
span.stButton .chicklets {
	padding-top: 1px;
}

/* WordPress Styles and Themes */
.clear {
	clear: both;
	float: none;
}
.half {
	float: left;
	width: 49%;
}
.wpdesigns h4 {
	font-size: 16px;
	margin-bottom: 5px;
}
.wpdesigns p {
	font-size: 14px;
	margin-bottom: 5px;
}
.wp_browser_preview {
	background: url(/images/wp_browser_back.gif) repeat-y;
	float: right;
	margin: 10px;
	margin-right: 11px;
	padding: 0 20px;
}
.wp_browser_preview p {
	margin: 0;
	text-align: center;
}
.wp_browser_preview p a img {
	border: 0;
}

/* Projects - GitHub Activity */

.github-recent {
	margin-bottom: 30px;
}
.github-recent a:hover {
	text-decoration: underline;
}
.github-recent .activity-item {
	border-bottom: 1px solid #eee;
	font-size: 12px;
	padding: 10px 0;
}
.github-recent .activity-item:first-of-type {
	padding-top: 0;
}
.github-recent .activity-item a {
	white-space: nowrap;
}
.github-recent .gravatar {
	display: none;
}
.github-recent img {
	height: 16px;
	margin-right: 3px;
	width: 16px;
}
.github-recent .time {
	color: #999;
	font-size: 10px;
	line-height: 1.2em;
}
.github-recent .commits {
	font-size: 12px;
}
.github-recent .commits ul,
.github-recent .commits ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.github-recent .commits ul li {
	padding-left: 10px;
}
.github-recent .commits ul li.more {
	font-size: 11px;
	padding: 0;
}
.github-recent .commits .message,
.github-recent .commits .message blockquote {
	display: inline;
}
.github-recent .commits .message blockquote {
	border: 0;
	padding-left: 3px;
}

/* Projects - Recent Posts */

.projects-recent-posts {
	margin-bottom: 30px;
}
.projects-recent-posts a:hover {
	text-decoration: underline;
}
.projects-recent-posts ul,
.projects-recent-posts ul li {
	list-style: none;
	margin: 0;
	padding: 0;
}
.projects-recent-posts ul li {
	margin-bottom: 10px;
}
.projects-recent-posts h2 {
	margin: 0;
	padding: 0;
}
.projects-recent-posts .meta {
	color: #999;
	font-size: 11px;
	margin: 0;
	padding: 0;
}

/* Projects */
.projects-breadcrumb {
	font-size: 12px;
	margin-top: 0;
}
.project-group {
	padding-bottom: 30px;
}
.project-summary {
	float: left;
	margin-right: 5%;
	width: 45%;
}
.project-summary .wp-post-image {
	max-width: 100%;
}
.project-links {
	background: #e8e8e8;
	border-bottom: 3px solid #d3d3f7;
	float: right;
	margin: 15px 0 10px 20px;
	width: 200px;
}
.project-links ul {
	list-style: none;
	margin: 0;
	padding: 3px 10px 5px;
}
@media screen and (max-width: 480px) {
	.project-links {
		float: none;
		margin: 10px 0;
		width: 100%;
	}
}

/* Colors */
body {background-color: #556699;}a,a:visited {color: #223366;}a:hover,a:active {color: #8899cc;}::-moz-selection {background: #223366;}::selection {background: #223366;}#header {background-color: #223366;border-bottom: 4px solid #556699;}#header a,#nav-main {color: #ffffff;}#header a:hover {color: #8899cc;}#nav-main li {border-color: #223366;}#nav-main li:hover,#nav-main li.current-menu-item,#nav-main li.current-menu-parent {border-color: #556699;}#nav-main .sub-menu a:hover {color: #223366;}#nav-main .sub-menu {background: #556699;border-color: #223366;}#nav-main .sub-menu li.current-menu-item > a {border-left-color: #223366;border-right-color: #223366;}@media only screen and (max-width: 767px) {#nav-main h1 {border-color: #556699;}#nav-main .menu {background-color: #556699;border-color: #223366;}}#masthead {background-color: #556699;}#featured-posts .featured {background-color: #223366;border-bottom-color: #223366;}#featured-posts .featured-title,#featured-posts .has-featured-img .featured-format {background-color: #223366;color: #ffffff;}#featured-posts .featured-content {color: #ffffff;}#featured-posts .gallery-img-excerpt li.excerpt-img-0 {background-color: #d3d3f7;}#featured-posts .gallery-img-excerpt li.excerpt-img-1 {background-color: #8899cc;}#featured-posts .gallery-img-excerpt li.excerpt-img-2 {background-color: #8899cc;}#featured-posts .gallery-img-excerpt li.excerpt-img-3 {background-color: #d3d3f7;}#featured-posts .featured-format-video {background-color: #d3d3f7;border-bottom-color: #d3d3f7;}#featured-posts .featured:hover {border-bottom-color: rgba(211,211,247, .8);}#featured-posts .featured:hover .featured-content {background-color: rgb(211,211,247); background-color: rgba(211,211,247, .8);color: #223366;}.entry-date a:hover,.entry-meta a:hover {color: #223366;}.entry-media a:hover {border-bottom-color: #8899cc;}.link-screenshot:hover {border-bottom-color: #8899cc;}.bio-box a {color: #223366;}.bio-box a:hover {color: #ffffff;}.bio-box-gallery a.bio-carousel-nav:hover {background-color: #8899cc;}.bio-box-gallery,.bio-box-content,.bio-box-links {background-color: #8899cc;color: #ffffff;}.bio-box-title {color: #223366;}.bio-box-links ul li a:hover {border-color: #223366;}.widget-title,.searchform,.search-title {color: #556699;background-color: #d3d3f7;}#primary .heading,.full-archive-container .heading {background-color: #d3d3f7;}#primary .heading .page-title,.full-archive-container .page-title {color: #556699;}#primary .heading .page-title em,.full-archive-container .page-title em {color: #223366;}.search-title em {color: #223366;}.searchform #s {color: #223366;}.searchform #s::-webkit-input-placeholder {color: #556699;}.searchform #s:-moz-placeholder {color: #556699;}.searchform #searchsubmit:hover,.searchform #searchsubmit:focus {background-color: #556699;}.searchform #searchsubmit:active {background-color: #223366;}.img-vid-archive .entry-title-img {background-color: #223366;}.entry-header-img .comments-title:hover {color: #223366;}#footer {color: #ffffff;background-color: #556699;}#footer a {color: #d3d3f7;}.wp-caption dd {color: #556699;background-color: #ffffff;}.post .gallery-img-excerpt li a:hover,.attachment-next a:hover,.attachment-prev a:hover {border-bottom-color: #8899cc;}.post .gallery-img-excerpt li.gallery-view-all a {background-color: #ffffff;}.post .gallery-img-excerpt li.gallery-view-all a:hover {background-color: #d3d3f7;}.post .gallery-thumbs a:hover {border-bottom-color: #8899cc;}.post .gallery-thumbs a.activated {border-bottom-color: #223366;}.edit-link a {background-color: #556699;}.edit-link a:hover {background-color: #223366;}#content .gallery-item .gallery-icon a:hover {border-bottom-color: #8899cc;}#social #reply-title,#social .comments-title,#social .nocomments,#social .social-nav,#social .social-nav a span {background-color: #d3d3f7;}#social #reply-title,#social .comments-title {color: #556699;}#social .social-heading,#social .nocomments {color: #556699;}#social .social-nav a,#social #submit,#facebook_signin,#twitter_signin {background-color: #556699;}#social .social-nav a:hover,#social #submit:hover,#facebook_signin:hover,#twitter_signin:hover {background-color: #223366;}#social .social-nav a {color: #556699;}#social .social-current-tab a,#social .social-nav a:hover {color: #223366;background-color: #223366;}#social .social-posted-from {background-color: #d3d3f7;}#social .comment-awaiting-moderation {background-color: #d3d3f7;color: #223366;}#social .social-posted-when:hover,#social .social-actions a:hover {color: #8899cc;}

.gist-syntax .cs,.gist-syntax .ge{font-style:italic}.gist{color:#000}.gist .render-container .octospinner,.gist .render-container .render-viewer-error,.gist .render-container .render-viewer-fatal,.gist-data .blob-code-content p{display:none}.gist .gist-render iframe{width:100%}.gist table tbody{counter-reset:row-counter}.gist table tbody tr::before{counter-increment:row-counter;content:counter(row-counter);margin-right:10px}.gist pre{font:inherit;line-height:inherit;white-space:pre}.gist .gist-file{border-radius:3px;margin:10px 0;font-size:10px;font-family:ui-monospace,SFMono-Regular,SF Mono,Menlo,Consolas,Liberation Mono,monospace}.gist .gist-file.gist-render{border:none}.gist .gist-file .gist-meta{font:12px 'Helvetica Neue',Helvetica,arial,freesans,clean,sans-serif;text-shadow:1px 1px rgba(255,255,255,.8);overflow:hidden;color:#999;background-color:#f6f7f6;border-radius:0 0 5px 5px;background-repeat:repeat-x;padding:10px}.gist .gist-file .gist-meta a{font-weight:700;color:#666;text-decoration:none}.gist .gist-file .gist-data{overflow:auto;word-wrap:normal;border:1px solid #ddd;font-size:100%;border-radius:5px 5px 0 0;padding:10px 12px 0}.gist .gist-file.scroll .gist-data{position:absolute;top:0;right:0;bottom:30px;left:0;overflow:scroll}.gist .gist-file.scroll .gist-meta{position:absolute;bottom:0;right:0;left:0}.gist .gist-file .gist-data .line-data{padding:.5em!important}.gist .gist-file .gist-data .line-pre{font-family:Consolas,'Liberation Mono',Courier,monospace;background:0 0!important;border:none!important;margin:0!important;padding:0!important}.gist .gist-file .gist-data .gist-highlight{background:0 0!important}.gist .gist-file .gist-data .line-numbers{background-color:#ececec;color:#aaa;border-right:1px solid #ddd;text-align:right;padding:.5em}.gist .gist-file .gist-data .line-numbers .line-number{clear:right;display:none}.gist-syntax{background:#fff}.gist-syntax .err{color:#a61717;background-color:#e3d2d2}.gist-syntax .cp,.gist-syntax .cs{color:#999;font-weight:700}.gist-syntax .gd{color:#000;background-color:#fdd}.gist-syntax .gd .x{color:#000;background-color:#faa}.gist-syntax .ge{color:#000}.gist-syntax .gi{color:#000;background-color:#dfd}.gist-syntax .gi .x{color:#000;background-color:#afa}.gist-syntax .go{color:#888}.gist-syntax .gs{font-weight:700}.gist-syntax .gu{color:#aaa}.gist-syntax .nb{color:#0086b3}.gist-syntax .ni{color:purple}.gist-syntax .nt{color:navy}.gist-syntax .w{color:#bbb}.gist-syntax .sr{color:#009926}.gist-syntax .ss{color:#990073}.gist-syntax .c,.gist-syntax .c1,.gist-syntax .cm{color:#998;font-style:italic}.gist-syntax .k,.gist-syntax .kc,.gist-syntax .kd,.gist-syntax .kp,.gist-syntax .kr,.gist-syntax .o,.gist-syntax .ow{color:#000;font-weight:700}.gist-syntax .gr,.gist-syntax .gt{color:#a00}.gist-syntax .bp,.gist-syntax .gh{color:#999}.gist-syntax .gp,.gist-syntax .nn{color:#555}.gist-syntax .kt,.gist-syntax .nc{color:#458;font-weight:700}.gist-syntax .il,.gist-syntax .m,.gist-syntax .mf,.gist-syntax .mh,.gist-syntax .mi,.gist-syntax .mo{color:#099}.gist-syntax .s,.gist-syntax .s1,.gist-syntax .s2,.gist-syntax .sb,.gist-syntax .sc,.gist-syntax .sd,.gist-syntax .se,.gist-syntax .sh,.gist-syntax .si,.gist-syntax .sx{color:#d14}.gist-syntax .na,.gist-syntax .no,.gist-syntax .nv,.gist-syntax .vc,.gist-syntax .vg,.gist-syntax .vi{color:teal}.gist-syntax .ne,.gist-syntax .nf{color:#900;font-weight:700}