/* @override http://dl.dropbox.com/u/21689/Tumblr%20Files/css/base.css */

/* ============ */
/* ! Normalize  */
/* ============ */

@import "http://static.tumblr.com/2ohcpel/kKjm052kx/normalize.min.css";


/* ============ */
/* ! Font Face  */
/* ============ */

@font-face {  
  font-family: Cabin Sketch Web;
  font-style: normal;
  font-weight: bold;
  src: url(http://themes.googleusercontent.com/static/fonts/cabinsketch/v5/ki3SSN5HMOO0-IOLOj069BAPw1J91axKNXP_-QX9CC8.woff) format("woff");  
}

@font-face {  
  font-family: Anonymous Pro Web;
  font-style: normal;
  font-weight: normal;
  src: url(http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/Zhfjj_gat3waL4JSju74E2hf89WnxcRaqxnpCB_GMi0.woff) format("woff");  
}

@font-face {  
  font-family: Anonymouse Pro Web;
  font-style: normal;
  font-weight: bold;
  src: url(http://themes.googleusercontent.com/static/fonts/anonymouspro/v3/WDf5lZYgdmmKhO8E1AQud6bFb7dg54i-VmmWhYOQ_f4.woff) format("woff");  
}


/* ======= */
/* ! Base  */
/* ======= */

html { 
	font-size: 62.5%;
}

body {
	width: 90%;
	margin: 0 auto;
  background: #f1f4f5 url(http://static.tumblr.com/2ohcpel/aqZly2ypt/old_mathematics.png);
  color: #666;
  font-family: "Anonymous Pro Web", Courier, serif;
  font-size: 15px; font-size: 1.5rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

h1 {
  font-family: "Cabin Sketch Web", Arial, sans-serif;
}

p {
  padding-top: 1rem;
  margin: 0;
}

a:link,
a:visited {
	color: #669999;
	text-decoration: none;
}

a:hover { 
	border-bottom: 0.1rem solid #d8e4e4;
}

ol, ul {
	padding: 0;
	padding-top: 1rem;
	margin: 0;
}

del {
	color: #999;	
}

ins {
	padding: 0.2rem;
	background: #efefef;
	text-decoration: none;
}

blockquote {
	padding-left: 1rem;
	margin: 1rem 0 0 0;
	border-left: 0.3rem solid #d8e4e4;
	font-size: 13px; font-size: 1.3rem;
	line-height: 1.4;
}

blockquote p {
	padding: 0;
}

::selection {
	background-color: #d8e4e4;
  text-shadow: none;
}


/* ========= */
/* ! Layout  */
/* ========= */

#header {
  padding-top: 0.5rem;
  border-bottom: 0.3rem solid #222;
  text-align: center;
}


#header h1 {
  margin: 0;
  font-size: 45px; font-size: 4.5rem;
}
  
#header h1 a:link,
#header h1 a:hover,
#header h1 a:focus,
#header h1 a:active,
#header h1 a:visited {
  border: none;
  color: #222;
}

#header h1:before { /* Brain */
  position: absolute;
  top: -0.5rem;
  left: 50%;
  margin-left: -22rem;
  content: url(http://static.tumblr.com/2ohcpel/HDolybtl0/brain.svg);
  opacity: 0.5;
}
  
#header h2 {
  margin: -1.4rem 0 0 0;
  color: #222;
  font-size: 15px; font-size: 1.5rem;
  font-weight: normal;
}

#header hgroup {
  padding-bottom: 1.5rem;
  margin-bottom: 0.1rem;
  border-bottom: 0.1rem solid #222;
}

#header:after { /* Box */
  position: absolute;
  top: -7rem;
  left: 50%;
  z-index: -1000;
  width: 32rem;
  height: 20rem;
  margin-left: -19rem;
  background: #669999;
  content: "";
  opacity: 0.6;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}

#maincontent { 
	padding-top: 5%;
}

#extra { 
	border-bottom: 0.3rem solid #222;
}

#page {
	display: none;
	float: left;
	width: 100%;
	margin-bottom: 5%;
}

#page a {
	display: inline-block;
	padding: 1rem 2rem;
	background: #d8e4e4;
	text-align: center;
	border-radius: 0.2rem;
}

#page a:hover {
	border: none;
	color: #fff;
	background: #669999;
	opacity: 0.6;
}

#page .is-next {
	float: right;
}


/* ============== */
/* ! Third Party  */
/* ============== */

/* Infinite Scroll */
#infscr-loading,
#infscr-loading img {
	display: none;
}

/* UItoTop */
/*#toTop {
	position: fixed;
	right: 1rem;
	bottom: 1rem;
	display: none;
	width: 5rem;
	height: 5rem;
	text-indent: -500rem;
	background: pink;
}

#toTopHover {
	background: #666;
	width:51px;
	height:51px;
	display:block;
	overflow:hidden;
	float:left;
	opacity: 0;
	-moz-opacity: 0;
	filter:alpha(opacity=0);
}

#toTop:active, #toTop:focus {
	outline: none;
}*/

/* ScrollToTop */
#scroll {
	position: fixed;
	right: 2rem;
	top: 2rem;
	display: none;
	width: 4rem;
	height: 4rem;
	text-align: center;
	line-height: 2.1;
	font-size: 20px; font-size: 2rem;
	background: #d8e4e4;
	border-radius: 100%;
}

#scroll:hover {
	border-bottom: none;
	color: #fff;
	background: #669999;
	opacity: 0.6;
}

#scroll:active,
#scroll:focus {
	outline: none;
}


/* ========= */
/* ! Module  */
/* ========= */

/* Blog Post Module */
.post {
	padding-bottom: 5%;
	margin-bottom: 5%;
	background: #fff;
	border-radius: 0.2rem;
	box-shadow: 0 0.2rem 0.2rem hsla(0, 0%, 26%, 0.35);
}

.post .post-image img {
  display: block;
  width: 100%;
  height: auto;
  border-top-right-radius: 0.2rem;
  border-top-left-radius: 0.2rem;
}

.post .post-image + .post-meta:after,
.post .post-video + .post-meta:after {
	position: absolute;
	top: -3rem;
	left: 50%;
	margin-left: -1.5rem;
	border: 1.5rem solid transparent;
	border-bottom-color: #fff;
	content: "";
}

.post .post-meta {
	position: relative;
	padding: 1.5rem 5% 0.5rem;
}

.post .post-meta a:link,
.post .post-meta a:visited {
  color: #999;
}

.post .post-meta a:hover,
.post .post-meta a:focus,
.post .post-meta a:active {
  border: none;
  color: #808080;
}

.post .post-comment {
  position: absolute;
  right: 5%;
}

.post .post-body {
	padding: 0 5%;
}

.post .post-body h1 {
	margin: 0;
	color: #669999;
	font-size: 40px; font-size: 4rem;	
	line-height: 1.1;
	text-shadow: 0.2rem 0.2rem 0 #fff, 0.4rem 0.4rem 0 #d9d9d9;
	-webkit-hyphens: auto;
	-moz-hyphens: auto;
	-ms-hyphens: auto;
	-o-hyphens: auto;
	hyphens: auto;
}

.post .post-body ul {
	border-bottom: 1px solid #efefef;
	color: #999;
	font-size: 14px; font-size: 1.4rem;
	list-style: none;
	text-transform: uppercase;
	letter-spacing: 0.2rem;
}

.post .post-body li {
	padding: 0.2rem 1rem;
	border-top: 0.1rem solid #efefef;
}

.post .post-body li strong {
	position: relative;
	color: #669999;
	font-weight: normal;
	font-size: 20px; font-size: 2rem;
}

.post .post-body li em {
	position: relative;
	color: #ccc;
	font-size: 20px; font-size: 2rem;
	font-weight: normal;
	font-style: normal;
}

/* Faces */
/*.post .post-body li:hover strong:after,
.post .post-body li:hover em:after {
	position: absolute;
	top: 50%;
	left: -0.3rem;
	margin-top: -1.1rem;
	background: #fff;
	font-size: 19px; font-size: 1.9rem;
	content: "\263a"; /* White Smiling Face *!/
}

.post .post-body li:hover em:after {
	content: "\2639"; /* White Frowning Face *!/
}*/

.post .post-source {
	padding: 0 5%;
	font-size: 12px; font-size: 1.2rem;
}

.post .post-tags {
	padding: 0 5%;
	font-size: 12px; font-size: 1.2rem;
	line-height: 1.1;
	text-transform: uppercase;
	letter-spacing: 1px; letter-spacing: 0.1rem;
}

.post .post-tags a {
	color: #ccc;
	white-space: nowrap;
}

.post .post-tags a:hover {
	color: #999;
}

.post .post-tags i {
	font-size: 17px; font-size: 1.7rem;
	letter-spacing: 3px; letter-spacing: 0.3rem;
}

.post .post-notes {
	padding-top: 0.5rem;
	margin: 1.5rem 5% 0;
	border-top: 0.1rem dashed #d8e4e4;
	color: #999;
	font-size: 12px; font-size: 1.2rem;
	text-transform: uppercase;
}

.post .post-notes li {
	position: relative;
	margin-bottom: 0.6rem;
	list-style: none;
}

.post .post-notes li .action {
	display: block;
	margin-left: 2.3rem;
}

.post .post-notes li img {
	position: absolute;
	width: 1.6rem;
	height: 1.6rem;
	border-radius: 100%;
}

/* Link Icon Module */
.icon a:link {
  position: relative;
  padding: 0.2rem 0 0.2rem 2.5rem;
}

.icon a:before,
.icon a:after {
  position: absolute;
  top: 50%;
  left: 0;
  content: "";
}

/* Date */
.icon a.is-date:before {
  width: 1.6rem;
  height: 1.6rem;
  margin-top: -0.9rem;
  border-radius: 1.6rem;
  background: #ccc;
}

.icon a.is-date:after {
  left: 0.7rem;
  width: 0.4rem; 
  height: 0.4rem;
  margin-top: -0.6rem;
  border-left: 0.2rem solid #fff;
  border-bottom: 0.2rem solid #fff;
}

/*.icon a.is-date:hover:before,
.icon a.is-date:focus:before,
.icon a.is-date:active:before {
  background: #808080;
}*/

/* Permalink */
.post:hover .icon a.is-date:before,
.post:hover .icon a.is-date:after {
	width: 0.4rem;
	height: 0.4rem;
	margin-top: -0.5rem;
	border: 0.2rem solid #ccc;
	border-radius: 0.4rem;
	background: transparent;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);	    
}

.post:hover .icon a.is-date:before {
	border-top-right-radius: 0;
}

.post:hover .icon a.is-date:after {
	left: 0.9rem;
	border-bottom-left-radius: 0;
}

.post:hover .icon a.is-date:hover:before,
.post:hover .icon a.is-date:hover:after {
	border-color: #669999;
}

/* Comments */
/*.icon a.is-comment:before {
  width: 1.6rem;
  height: 1.1rem;
  margin-top: -0.7rem;
  border-radius: 0.2rem;
  background: #ccc;
}

.icon a.is-comment:after {
  left: 0.4rem;
  margin-top: 0.4rem;
  border: 0.2rem solid transparent;
  border-top-color: #ccc;
  border-left-color: #ccc;
}

.icon a.is-comment:hover:before,
.icon a.is-comment:focus:before,
.icon a.is-comment:active:before {
  background-color: #669999;
}

.icon a.is-comment:hover:after,
.icon a.is-comment:focus:after,
.icon a.is-comment:active:after {
  border-top-color: #669999;
  border-left-color: #669999;
}*/

/* Comments | Like */
.icon a.is-comment:before,
.icon a.is-comment:after {
	width: 1.3rem;
	height: 0.8rem;
	margin-top: -0.6rem;
	border-radius: 0.8rem 0 0 0.8rem;
	background: #ccc;
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);	
}

.icon a.is-comment:after {
	left: 0.4rem;
	-webkit-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-o-transform: rotate(135deg);
	transform: rotate(135deg);	
}

.icon a.is-comment:hover:before,
.icon a.is-comment:focus:before,
.icon a.is-comment:active:before,
.icon a.is-comment:hover:after,
.icon a.is-comment:focus:after,
.icon a.is-comment:active:after {
  background-color: #669999;
}

/* Social Icon Module */
.social ul {
  padding: 0;
  margin: 0;
  font-size: 0;
  text-align: justify;
}

.social li {
	display: inline-block;
	width: 25%;
	font-size: 14px; font-size: 1.4rem;
	text-align: center;
}

.social ul:after {
	display: inline-block;
	width: 100%;
	height: 0;
	content: "";
}

.social a:link {
	display: inline-block;
	width: 8rem;
	height: 8rem;
	background-image: url(http://static.tumblr.com/2ohcpel/inmlybwx0/nav-social.svg);
	background-repeat: no-repeat;
	-webkit-background-size: 10rem 20rem;
	-moz-background-size: 10rem 20rem;
	background-size: 16rem 32rem;
	text-indent: 200%;
	white-space: nowrap;
	overflow: hidden;
}

.social a:hover {
  border: none;
  -webkit-transform: rotate(-5deg);
  -moz-transform: rotate(-5deg);
  -ms-transform: rotate(-5deg);
  -o-transform: rotate(-5deg);
  transform: rotate(-5deg);
}

/*.social a[title]:hover:after {
	position: absolute;
	left: 0;
	top: 30%;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	background: #fff;
	color: #222;
	font-size: 1.2rem;
	text-align: center;
	white-space: nowrap;
	text-indent: 0;
	content: attr(title);
	box-shadow: 0 0.2rem 0.2rem hsla(0, 0%, 26%, 0.35);
}*/

.social li:nth-child(even):hover a {
  -webkit-transform: rotate(5deg);
  -moz-transform: rotate(5deg);
  -ms-transform: rotate(5deg);
  -o-transform: rotate(5deg);
  transform: rotate(5deg);
}

/* Twitter */
.social .is-twitter {
  background-position: 0 -16rem;
}

.social .is-twitter:hover {
	background-position: -8rem -16rem;
}


/* Instagram */
.social .is-instagram {
  background-position: 0 -24rem;
}

.social .is-instagram:hover {
	background-position: -8rem -24rem;
}

/* Jeffrey */
.social .is-jeffrey {
  background-position: 0 -8rem;
}

.social .is-jeffrey:hover {
  background-position: -8rem -8rem;
}

/* gotomedia */
.social .is-gotomedia {
  background-position: 0 0;
}

.social .is-gotomedia:hover {
 background-position: -8rem 0;
}


/* ================ */
/* ! Media Queries  */
/* ================ */ 

/* iPhone */
@media only screen and (max-width: 600px) {
  .post {
    width: 100%;
    margin-bottom: 2rem; /* Fix Isotope Problem */
  }
  
  .post .post-body {
  	font-size: 17px; font-size: 1.7rem;
  }
}

/* iPad / Small Tablets */
@media only screen and (min-width: 600px) {
  /* 2 Columns */
  body {
    width: 100%;
  }
  
  #header,
  #extra,
  #maincontent {
    margin: 0 auto;
  }
  
  #header,
  #extra {
    width: 54rem;
  }
  
  #header {
  	padding-top: 1.5rem;
  }
  
  #header hgroup {
  	padding-bottom: 2.5rem;
  }
  
  #header h1 {
    font-size: 40px; font-size: 4rem;
  }
  
  #header h1:before {
    margin-left: -22rem;
  }
    
  #header h2 {
    font-size: 14px; font-size: 1.4rem;
  }
  
  #maincontent {
    width: 57rem;
    padding-top: 1.5rem;
  }
  
  .post {
  	width: 25.5rem;
    padding-bottom: 1.5rem;
    margin: 1.5rem;
  }
  
  .permalink .post {
  	width: 54rem;
  }
  
  .post .post-body h1 {
    font-size: 30px; font-size: 3rem;
  }
}

/* iPad Landscape / Netbook */
@media only screen and (min-width: 855px) {
  /* 3 Columns */
  #header {
    width: 82.5rem;
  }
  
  #extra {
    position: absolute;
    top: 1.2rem;
    width: 100%;
    border-bottom: none;
  }
  
  #maincontent {
    width: 85.5rem;
  }
  
  .permalink .post {
  	width: 82.5rem;
  }
  
  .social ul,
  .social li {
    display: inline;
  }
  
  .social a:link {
    position: absolute;
    left: 50%
  }
  
  .social .is-twitter {
    margin-left: -38rem;
  }
  
  .social .is-instagram {
    margin-left: -28rem;
  }
  
  .social .is-jeffrey {
    margin-left: 19rem;
  }
  
  .social .is-gotomedia {
    margin-left: 30rem;
  }  
}

/* Desktop */
@media only screen and (min-width: 1140px) {
  /* 4 Columns */
  #header {
    width: 111rem;
  }
  
  #maincontent {
    width: 114rem;
  }
  
  .permalink .post {
  	width: 111rem;
  }
    
  .social .is-twitter {
    margin-left: -42rem;
  }
  
  .social .is-instagram {
    margin-left: -31rem;
  }
  
  .social .is-jeffrey {
    margin-left: 21rem;
  }
  
  .social .is-gotomedia {
    margin-left: 32rem;
  }  
}