/*   
Theme Name: Fog Creek Blog 2.0
Theme URI: http://fogcreek.com
Description: Fog Creek Blog WordPress Theme
Author: Max Kramer
Author URI: http://fogcreek.com
Version: 2.0
*/


body {
	-webkit-font-feature-settings: "kern";
	-moz-font-feature-settings: "kern";
	font-feature-settings: "kern";
}
a { 
  	color: #006595; 
}
a:hover { 
  	color: #44A6CC; 
}


/* header and nav */
#universal-nav a {
  	white-space: nowrap;
}
#header-branding { 
  	bottom: 20px;
}
#header-branding a { 
  	background: transparent url('http://fogcreek.com/images/fogcreek/fog_creek_logo.png') no-repeat 0 0;
  	height: 40px;
  	width: 200px;
}
#header-nav a:hover,
.home #header-nav li.home a,
.careers #header-nav li.careers a,
.about #header-nav li.about a,
.blog #header-nav li.blog a,
.support #header-nav li.support a,
.contact #header-nav li.contact a,
#header-nav li.header-nav-active a {
  	background: #D1E1E6 url(http://fogcreek.com/images/gradient.png) bottom left repeat-x;
  	border-color: #b3b3b3;
  	box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  	-moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  	-webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}


/* general blog styles */
.blog .section .content {
  	float: none;
  	margin-left: auto;
  	margin-right: auto;
  	width: 70%;
}
.blog .section .aside {
  	float: right;
}
/* Match <ol> styles with the <ul> styles from kraken */
.blog .section .content ol {
  	margin-bottom: 15px;
}
.blog .section .content ol li {
  	list-style-type: decimal;
}
.blog .section .content ul ul {
  	margin-bottom: 0;
}
/* <pre> too wide */
.blog .section .content pre {
  	width: 100%;
  	position: static;
}
/* <h3> needs margin-top like <h2>, which has 40px */
.blog .section .content h3 {
  	margin-top: 30px;
}
/* No need for space between title and h2:first-child */
.blog .section .content h2:first-child {
  	margin-top: 0;
}
.blog-sidebar {
  	margin-top: 42px;
}
.blog-sidebar li img {
  	padding: 0 4px 0 0;
}
.blog .post {
  	margin: 0 0 70px;
}
.blog .post img {
  	border: 1px solid #b3b3b3;
  	box-shadow: 0 0 3px rgba(0,0,0,0.25), 0 1px 0 rgba(255, 255, 255, 1) inset;
  	-moz-box-shadow: 0 0 3px rgba(0,0,0,0.25), 0 1px 0 rgba(255, 255, 255, 1) inset;
  	-webkit-box-shadow: 0 0 3px rgba(0,0,0,0.25), 0 1px 0 rgba(255, 255, 255, 1) inset;
  	margin: 15px 0 10px 0;
}
.blog .post h1 {
  	margin: 0;
}
.blog .post h1 a {
  	text-decoration: none;
}
.blog .post .quiet {
  	font-size: 85%;
  	margin-bottom: 20px;
}
.blog .post .quiet a { 
  	color: #006595; 
}
.blog .post .quiet a:hover { 
  	color: #44A6CC; 
}
.blog .post .entry {
  	padding: 30px 0;
}
.blog .post .entry p {
	font-size: 18px;
	line-height: 1.3;
}
.blog .post .entry.excerpt p {
  	margin-bottom: 0px;
}
.blog .post .read-more a {
  	text-decoration: none;
}
.blog .post .info {
  	padding: 20px 0;
}
.blog .post .info p {
  	margin: 0;
}
.blog .postmetadata {
  	padding: 20px 0;
}


/* pagination */
#postPaging div a {
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	float: left;
	margin-top: 10px;
	padding: 5px 10px;
}
#postPaging div a:hover {
	background: #ddd;
}
.next-posts { 
	float: left;
}
.prev-posts {
	float: right;
}

#archive-posts {
	width: 70%;
	margin-left: auto;
	margin-right: auto;
	text-align:center;
	margin-top: 18px;
}
#archive-posts p {
	margin-bottom: 5px;
}


/* single post footer */
.post-footer {
	background: white;
	border: 1px solid #B3B3B3;
	border-radius: 4px;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	box-shadow: 0 0 3px rgba(0,0,0,.1);
	-moz-box-shadow: 0 0 3px rgba(0,0,0,.1);
	-webkit-box-shadow: 0 0 3px rgba(0,0,0,.1);
	color: #333;
	margin: 40px 0 0;
	overflow: hidden;
	padding: 20px 0;
	position: relative;
	text-decoration: none;
}
.post-footer h2 {
	clear: both;
	margin: 10px 0 10px;
}
.social {
	border-bottom: 1px dotted #ccc;
	border-top: 1px dotted #ccc;
	float: left;
	margin: 0;
	width: 667px;
}
.social-header {
	padding: 0 20px;
}
.social-section {
	border-right: 1px dotted #ccc;
	float: left;
	width: 60px;
	padding: 10px 30px 6px;
	text-align: center;
}
.social-section:nth-of-type(1) {
	padding-left: 28px;
	padding-right: 42px;
}
.social-section:nth-of-type(3),
.social-section:nth-of-type(4) {
	height: 33px;
	padding-top: 0px;
}
.social-section:nth-of-type(3) a {
	position:absolute;
	top: 58px;
	left: 276px;
}
.social-section:nth-of-type(4) a {
	position:absolute;
	top: 58px;
	left: 424px;
}
.social-section.last {
	border-right: 1px dotted transparent;
	padding-left: 27px;
}
.content .page-bottom-widget {
	border-bottom: 1px dotted #ccc;
	clear: both;
	padding: 20px;
}
.content .page-bottom-widget li {
	font-size: 18px;
	line-height: 1.5em;
}

/* developer newsletter callout */
.callout-toggle-container {
	float: right;
	margin-top: 0.25em;
}
.callout-toggle-container a {
	text-decoration: none;
	color: #999;
	font-size: 70%;
}
.developer-newsletter {
	font-size: 20px;
	padding: 2em 0 0 0;
	margin-top: 1.5em;
}
#newsletter-form {
	padding-top: 30px;
}
.developer-newsletter h2 {
	text-align: center;
	margin: 30px 0;
}
.developer-newsletter #subForm {
	margin-left: auto;
	margin-right: auto;
	width: 70%;
}
.developer-newsletter #iilyyh-iilyyh {
	height: 22px;
	padding-left: 10px;
	padding-top: 7px;
	padding-bottom: 9px;
	font-family: ff-tisa-web-pro-1, ff-tisa-web-pro-2, Georgia, "Times New Roman", serif;
	font-size: 18px;
	margin-bottom: 10px;
	width: 79%;
	float: center;
	border-bottom-right-radius: 0;
	border-top-right-radius: 0;
}
::-webkit-input-placeholder { 
  padding-top:5px;
  font-style: italic;
}
input:-moz-placeholder {
  padding-top: 5px;
  font-style: italic;
}
input {
    -webkit-appearance: none;
    -webkit-border-radius:0; 
    border-radius:0;
}
.developer-newsletter .submit {
	float: center;
	font-size: 14px;
	margin-right: 0;
	margin-left: -5px;
	margin-bottom: 10px;
	padding-top: 11px;
	padding-bottom: 9px;
	cursor: pointer;
	border: none;
	border-bottom-left-radius: 0;
	border-top-left-radius: 0;
	background-color: #006595;
	border-color: #001142;
	color: #fff;
	text-shadow: 0 1px 0 rgba(0,0,0,.5);
	box-shadow: none;
	-webkit-box-shadow: none;
	-moz-box-shadow: none;
}
.submit::-moz-focus-inner { 
	border: 0; 
	padding: 0;
	padding-top: 2px; 
	margin:0; 
}
.developer-newsletter .submit:hover { 
	background-color: #44A6CC;
	color: #fff;
	border-color: #001142;
}
.developer-newsletter .text {
	margin-top: 4px;
	width: 500px;
}
.developer-newsletter .quote {
	margin-bottom: 5px;
	margin-top: 20px;
	text-align: center;
	clear: right;
}
.developer-newsletter .sayer {
	font-size: 16px;
	font-style: italic;
	color: #999;
	text-align: center;
}
#newsletter-success {
	padding-top: 30px;
	display: none;
}
.callout-footer {
	margin-top: 1.5em;
}


/* responsive styles */
@media only screen and (max-width: 1100px) {
	.footer-nav,
	.footer-contact,
	#copyright {
		width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
	.footer-col {
		clear: both;
		margin-top: 30px;
	}
	.footer-contact .third {
		margin-top: 30px;
	}
}
@media only screen and (max-width: 1020px) {
	img {
		max-width: 100%;
      		height: auto;
  	}
  	.wrapper {
      		width: 100%;
      		padding: 0px;
  	}
  	#header-shim {
      		padding: 0 1em 0 1em;
  	}
  	#header {
      		height: 80px;
  	}
  	#header-nav {
      		display: none;
  	}
  	.blog .post .quiet {
      		font-size: 90%;
  	}
  	.developer-newsletter #iilyyh-iilyyh {
		width: 75%;
  	}
	.developer-newsletter .quote {
		font-size: 80%;
	}
  	.footer-wrapper {
      		width: 100%;
      		padding: 40px 0px 80px 0px;
  	}
	.footer-nav,
	.footer-contact,
	#copyright {
		width: 70%;
		margin-left: auto;
		margin-right: auto;
	}
}
@media only screen and (max-width: 825px) {
	.developer-newsletter .submit {
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media only screen and (max-width: 775px) {
  	.blog .section .content,
	.footer-nav,
	.footer-contact,
	#copyright {
      		width: 85%;
  	}
	.developer-newsletter .submit {
		padding-left: 5px;
		padding-right: 5px;
	}
}
@media only screen and (max-width: 666px) {
  	.content .half.right {
      		float: left;
		margin-top: 1.5em;
  	}
	#archive-posts {
		clear: left;
	}
}
@media only screen and (max-width: 611px) {
	.developer-newsletter #iilyyh-iilyyh {
		width: 70%;
  	}
}
@media only screen and (max-width: 455px) {
	.developer-newsletter #iilyyh-iilyyh {
		width: 68%;
  	}
	.developer-newsletter #subForm {
		width: 95%;
	}
}