/*
Theme Name: Gold
Theme URI: http://jamesmcminn.com
Description: A golden yellow theme for the year 2012
Author: James McMinn
Author URI: http://jamesmcminn.com
Version: 1.0
*/

/*
#749836
#DB6245
#F2CA52
#F2F2F2
#262626
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  text-decoration: none;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1;
  background: #f3f3f3;
  font-weight: 400;
  color: #333;
  font-size: 0.9em;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

#container {
	max-width: 1020px;
	width: 100%;
  margin: 0 auto;
}

/*
1 grid section = 78px
*/

.row {
  max-width: 100%;
  margin: 15px auto 15px auto;
  overflow: hidden;
  border-top: 1px solid #e2e2e2;
  padding-top: 10px;
}

.row:first-child {
  border: 0;
  margin-top: 0;
  padding-top: 0;
}

.column {
	display: block;
	float:left;
	margin: 1% 0 1% 1.6%;
}

.column:first-child { margin-left: 0; }

.padded {
	padding: 0 15px;
}

.grid1 {
  width: 6.866%;
}
.grid2 {
  width: 15.33%;
}
.grid3 {
  width: 23.8%;
}
.grid4 {
  width: 32.26%;
}
.grid5 {
  width: 40.73%;
}
.grid6 {
  width: 49.2%;
}
.grid7 {
  width: 57.66%;
}
.grid8 {
  width: 66.13%;
}
.grid9 {
  width: 74.6%;
}
.grid10 {
  width: 83.06%;
}
.grid11 {
  width: 91.53%;
}
.grid12 {
  width: 100%;
}

pre {
  font-family: 'PT Mono', monospace;
  margin: 25px 25px 0 25px;
  border-left: 3px solid #666;
  background-color: #f2f2f2;
  padding: 20px;
  overflow: auto;
}

.filename {
  border-left: 3px solid #666;
  background-color: #666;
  color: #fff;
  padding: 5px 20px 5px 20px;
  font-family: 'PT Mono', monospace;

  margin-left: 25px;
  margin-right: 25px;
  margin-bottom: 0;
  margin-top: 25px;

  display: inline-block;
  text-transform: none;
}

.filename + pre {
  margin-top: 0;
}

.code {
  font-family: 'PT Mono', monospace;
}

blockquote {
  font-family: 'PT Serif';
  font-size: 1.2em;
  line-height: 1;
  font-weight: 700;
  font-style: italic;
  margin: 25px 25px 25px 25px;
  background: #ffe8a3;
  border-left: 3px solid #f2ca52;
  padding: 20px;
  clear: both;
}

blockquote p {
  color: #483c19;
}

blockquote p:first-child {
  margin-top: 0;
}

blockquote.side {
  width: 395px;
  margin-right: -380px;
  float: right;
  font-size: 1em;
}

.drop {
  margin-top: 50px;
}

img.size-medium {
  margin-right: -220px;
  border-left: 3px solid #e2e2e2;
}

img.alignright {
  margin-right: -380px;
  margin-left: 20px;
  padding: 20px 0 20px 20px;
  border-left: 3px solid #e2e2e2;
  float: right;
}

img.size-full {
  border-left: none;
}

img.aligncenter {
  display: block;
  padding: 3px;
  border: 3px solid #e2e2e2;
  margin: 20px auto 20px auto;
}

.wide,
.code {
  margin-right: -220px;
}

header {
  background: #262626;
  color: #f2f2f2;
}

footer {
  background: #262626;
  color: #f2f2f2;
  padding: 20px;
  font-size: 0.8em;
  font-weight: 600;
  border-top: 3px solid #f2ca52;
  text-transform: uppercase;
}

#logo {
  font-weight: 800;
  font-size: 20px;
  line-height: 26px;
  text-transform: uppercase;
  padding: 20px;
}

input,
textarea {
  border: 1px solid #999;
  margin: 5px 0 5px 0;
  padding: 3px;
  width: 340px;
  font-family: 'PT Serif', Serif;
  font-size: 1em;
  line-height: 1;
}

input:focus,
textarea:focus {
  border: 3px solid #f2ca52;
  margin: 3px -2px 3px -2px;
}

#logo span {
  color: #f2ca52;
}

#logo a {
  color: #f2f2f2;
}

#logo a:hover {
  color: #f2ca52;
}

nav {
  background: #f2ca52;
  color: #483c19;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  z-index: 1000;
}

nav ol {
  list-style-type: decimal-leading-zero;
  list-style-position: inside;
}

nav ol li {
  float: left;
  color: #ffe8a3;
  background: #f2ca52;
  padding-left: 20px;
  -webkit-transition: all 0.2s ease-in;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

nav ol li:hover {
  color: #483c19;
  background: #ffe8a3;
}

nav ol li a {
  display: inline-block;
  color: #483c19;
  padding: 12px 20px 12px 49px;
  margin-left: -40px;
}

nav ol li a:hover {
  color: #483c19;
}

nav ol li.current-menu-item,
nav ol li.current_page_parent {
  background: #ffe8a3;
  color: #5b533a;
}

a {
  -webkit-transition: color 0.2s ease-in;
  -moz-transition: color 0.2s ease-in;
  -o-transition: color 0.2s ease-in;
  transition: color 0.2s ease-in;
}

.clear {
  clear: both;
}

#main {
  background: #ffffff;
}

#contents {
  background: #fff;
  margin: 0 auto 0 auto;
  padding: 5px 0 20px 0px;
  margin: 0 0 0 30px;
  z-index: 1000;
}

#contents .archive:first-child {
  padding-top: 45px;
}

h1 {
  font-size: 42px;
  font-weight: 100;
  color: #483c19;
  padding: 20px 20px 70px 20px;
  margin-bottom: -50px;
  border-bottom: 3px solid #f2ca52;
  background: #ffe8a3;
}

.header {
  background: url('img/amsterdam.jpg');
  background-size: 100%;
  margin-bottom: -50px;
  border-bottom: 3px solid #f2ca52;
	padding-top: 45%;
}

h1 + #contents,
.header + #contents {
  border-top: 3px solid #f2ca52;
}

h1 span {
  color: #e2ba42;
  display: block;
  text-transform: uppercase;
  font-size: 50%;
  font-weight: 400;
  padding-top: 15px;
}

h1 span a {
  color: #e2ba42;
}

.post {
  padding: 12px 0 12px 30px;
}

.post-twitter {
  padding: -10px 0 -10px 30px;
}

#twitter img.attachment-medium {
  display: none;
}

.sidecontent {
  padding: 12px 0 12px 80px;
}

.post-meta {
  padding: 0px 0 0px 80px;
}

.smalltitle {
  font-family: 'PT Serif';
  font-size: 1em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0;
  margin: 30px 0 0 0;
}

.post-meta p,
.small p,
.sidecontent p {
  font-size: 1em;
}

.tweet-meta {
  font-size: 1em;
  font-family: 'PT Serif', Serif;
  padding: 10px 10px 0 27px;
}

.abstract {
  font-size: 1.3em;
}

h2 {
  font-family: 'PT Serif', Serif;
  font-size: 1.75em;
  line-height: 1;
  font-weight: 700;
  padding: 0;
  margin: 30px 0 0 0;
  color: #444;
}

h3 {
  font-family: 'PT Serif';
  font-size: 1.2em;
  line-height: 1;
  font-weight: 700;
  padding: 0;
  margin: 15px 0 0 0;
  color: #432;
}

i {
  font-style: italic;
}

.tags {
  margin-top: 5px;
  font-family: 'PT Serif';
  font-size: 1em;
  line-height: 1;
  font-weight: 400;
  padding: 0;
}

h3:first-child {
  margin: 5px 0 0 0;
}

h4 {
  font-family: 'PT Serif';
  font-size: 1em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0;
  margin: 30px 0 0 0;
}

p {
  font-size: 1.1em;
  line-height: 1.45;
  margin: 25px 0 0px 0px;
  color: #333340;
  font-weight: 400;
  font-family: 'PT Serif', Georgia, Serif;
}

h2 + p,
h3 + p {
  margin-top: 5px;
}

h4 + p,
.smalltitle + p {
  margin-top: 0;
}

.tags + p {
  margin-top: 0;
}

p b,
p strong {
  font-weight: 700;
}

a {
  color: #db6245;
}

a:hover {
  color: #749836;
}

h3 i {
  display: inline-block;
  color: #fff;
  background: #222;
  -webkit-border-radius: 15%;
  -moz-border-radius: 15%;
  border-radius: 15%;
  font-size: 14px;
  text-align: center;
  width: 21px;
  height: 21px;
  line-height: 21px;
  margin-right: 5px;
}

.comments-count {
  display: inline-block;
  color: #fff;
  -webkit-border-radius: 15%;
  -moz-border-radius: 15%;
  border-radius: 15%;
  font-size: 14px;
  text-align: center;
  width: 21px;
  height: 21px;
  line-height: 21px;
  margin-right: 5px;
}

h3 a i {
  background: #db6245;
  -webkit-transition: background, border-radius 0.2s ease-in;
  -moz-transition: background, border-radius 0.2s ease-in;
  -o-transition: background, border-radius 0.2s ease-in;
  transition: background, border-radius 0.2s ease-in;
}

h3 a:hover i {
  background: #749836;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  border-radius: 50%;
}

h3 a {
  display: block;
  color: #432;
}

h3.tweet {
  font-weight: normal;
}

h3.tweet i {
  background: #db6245;
  -webkit-transition: background, border-radius 0.2s ease-in;
  -moz-transition: background, border-radius 0.2s ease-in;
  -o-transition: background, border-radius 0.2s ease-in;
  transition: background, border-radius 0.2s ease-in;
}

.coffee {
  padding-top: 10px;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.7em;
  font-weight: 600;
  line-height: 1.8em;
}

#contents ul,
#contents ol {
  font-size: 1.1em;
  line-height: 1.35;
  font-weight: 400;
  font-family: 'PT Serif';
}

#contents ul li {
  padding: 5px 0 0px 0;
}

#contents ul li#journal a,
#contents ul li#github a {
  display: block;
}

#contents .post ul {
  list-style-type: disc;
  padding-left: 35px;
  padding-top: 10px;
}

#contents ul#journal li:before,
#contents ul#github li:before {
  content: '›';
  display: inline-block;
  width: 14px;
  font-size: 1.25em;
  line-height: 1em;
  color: #666;
  font-family: 'PT Serif';
  margin-bottom: 5px;
}

#contents #twitter ul {
  -webkit-transition: max-height 4s ease-in-out;
  -moz-transition: max-height 4s ease-in-out;
  -o-transition: max-height 4s ease-in-out;
  transition: max-height 4s ease-in-out;
  max-height: 315px;
  overflow: hidden;
  font-size: 1em;
  line-height: 1.35;
}

#contents #twitter:hover ul {
  max-height: 9999px;
}

#contents #twitter li:first-child {
  border-top: 0px solid #e2e2e2;
  padding-top: 10px;
  padding-bottom: 5px;
}

#contents #twitter li {
  border-top: 1px solid #e2e2e2;
  padding-top: 10px;
  padding-bottom: 10px;
}

#contents .meta {
  font-size: 0.8em;
  margin-left: 14px;
}

#contents .small {
  font-size: 0.8em;
}

#contents #twitter ul li a.yatp_tweet_time_link {
  font-size: 0.8em;
}

.header-icon {
  float: right;
  margin-top: 5px;
  font-size: 3em;
  line-height: 0.55em;
  color: #ffdb70;
}

.head-icon div i {
  display: none;
}



@media only screen and (max-width: 600px) {
	.column {  margin: 1% 0 1% 0%; }

  .grid1,
  .grid2,
  .grid3,
  .grid4,
  .grid5,
  .grid6,
  .grid7,
  .grid8,
  .grid9,
  .grid10,
  .grid11,
  .grid12 {
    width: 100%;
	}


	.header-icon {
		display: none;
	}

	.code, .wide {
		margin-right: 0;
		overflow-x: scroll;
	}

	#contents {
		margin: 0;
	}

	.post {
		padding: 0 15px 0 15px;
	}

	.sidecontent {
		padding: 0px 15px;
	}

	.sidecontent .smalltitle {
		width: auto;
		display: inline-block;
		margin: 12px 10px 0 0;
	}

	.sidecontent p {
		width: auto;
		display: inline-block;
	}

	.drop {
		margin-top: 15px;
	}

	blockquote {
		margin-left: 0;
		margin-bottom: 15px;
	}

	blockquote.side {
		width: auto;
		max-width: 100%;
		margin-right: 0;
		float: none;
	}

	pre {
		margin: 15px 0 0 0;
	}

	.filename {
		margin: 0;
		margin-top: 15px;
	}

	nav ol {
		list-style-type: none;
	}

	nav ol li {
		max-width: 100%;
		width: auto;
		float: none;
		padding: 0;
	}

	nav ol li a {
		display: block;
		padding-left: 15px;
		margin-left: 0;
	}

}