/*****************************************************************************/
/*
/* Common
/*
/*****************************************************************************/

/* Global Reset */
* {
  margin: 0;
  padding: 0;
}

html, body { height: 100%; }

body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: #fff;
  font-size: 1.6em;
  font-weight: 400;
  line-height: 1.5em;
  text-rendering: optimizeLegibility;
  color: #444;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 100%;
  font-weight: 700;
   }

p { margin: 1em 0; 
    line-height: 1.7em;
    vertical-align: baseline;
  }

a         { color: rgb(0, 109, 228); }
a:hover   { color: #000; }
a:visited { color: rgb(0, 109, 228); }

/*****************************************************************************/
/*
/* Home
/*
/*****************************************************************************/
ul.posts {
  list-style-type: none;
  margin-bottom: 2em;
}

ul.posts li {
  line-height: 1.75em;
}

ul.posts span {
  color: #aaa;
  font-size: 80%;
}

/*****************************************************************************/
/*
/* Site
/*
/*****************************************************************************/

.site {
  font-family: inherit;
  font-size: 1.2em;
  width: 29em;
  margin: 1.4em auto 2em;
}

.header {
  font-family: inherit;
  position: fixed;
  top: 0%;
  left: 0%;
  width: 12em;
  padding: 15px 15px;
  opacity: 0.96;
  background: #fff;
  /* border-bottom: 1px solid #ddd; */
  z-index: 2;
}

.header a {
  text-decoration: none;
}

.header h1.title {
  display: inline-block;
  margin: 1em 0 0 1em;
}

.header h1.title a {
  color: red;
  font-size: 2.3em;
  text-transform: uppercase;
}

.header h1.title a:hover {
  color: #ccc;
}

.header .extra {
  color: #aaa;
  margin: 0 0 1em 1em;
}

.header a.extra:hover {
  color: #000;
}

.page_head {
  color: #aaa;
  margin: 1em 0 1em 1em;
}

a.page_head:hover {
  color: #000;
}

.site h2 {
  font-family: inherit;
  font-weight: bold;
  font-size: 1.4em;
  line-height: 1.5;
}

.site .meta {
  color: #aaa;
  font-size: 0.8em;
}

.site .ul {
  line-height: 1.6em;
}

.site .footer {
  font-size: 80%;
  color: #666;
  border-top: 1px dotted #eee;
  margin-top: 3.5em;
  /* overflow: hidden; */
}

.site .footer .contact {
  float: left;
  margin-right: 3em;
}

.site .footer .contact a {
  color: #8085C1;
}

.site .footer .rss {
  margin-top: 1.1em;
  margin-right: -.2em;
  float: right;
}

.site .footer .rss img {
  border: 0;
}

/*****************************************************************************/
/*
/* Posts
/*
/*****************************************************************************/

/* standard */
.post pre {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .4em;
  margin-top: 3em;
  margin-bottom: 4em;
}

.post ul, .post ol {
  margin-left: 1.35em;
}

.post code {
  border: 1px solid #ddd;
  background-color: #eef;
  padding: 0 .2em;
}

.post pre code {
  border: none;
}

/* terminal */
.post pre.terminal {
  border: 1px solid #000;
  background-color: #333;
  color: #FFF;
}

.post pre.terminal code {
  background-color: #333;
}

.list-group-item {
  z-index: 1; /* corrects stacking order */
}

/* images */
img {
  vertical-align: middle;
  text-align: right;
  float: right;
  width: 220px;
  border-radius: 500px;
  margin: 0.857142857rem 0 0.857142857rem 1.714285714rem;
}

.nocircle {
  border-radius: 0px;
}

.largeimg {
  border-radius: 10px;
  float: none;
  width: 42em;
}

.horizimg {
  border-radius: 0;
  float: none;
  width: 100%;
  margin: 0;
}

.medimg {
  border-radius: 10px;
  float: none;
  width: 35em;

}

/* Disqus */

#disqus_thread {
  padding: 10px 2px 0 0;
}

/* Twitter embed */

.twitter-embed {
  margin-left: 10%;
}

/* iPhone 5, iPhone <= 4 */

@media (max-width: 480px), screen and (device-aspect-ratio: 40/71) {

.site {  
  width: 95%;
  margin: 0 auto 2em;
}

.header {
  top: 0%;
  left: 0%;
  width: 100%;
  padding: 6px 15px;
  position: relative;
}

.header h1.title {
  margin: 1em 0 0 0;
}

.header .extra {
  margin: 0;
}

img {
  width: 30%;
}

.twitter-embed {
  margin-left: 0;
}

}

/* Tablets and horizontal phones */

@media (min-width: 481px) and (max-width: 1150px) {

  .site {  
    width: 97%;
    margin: 0 auto 2em;
  }

  .header {
    top: 0%;
    left: 0%;
    width: 100%;
    padding: 6px 15px;
    position: relative;
  }

  .header h1.title {
    margin: 1em 0 0 0;
  }

  .header .extra, .header .page_head {
    margin: 0;
  }

}

/*****************************************************************************/
/*
/* Spinner
/*
/*****************************************************************************/

.infinite-spinner {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 40px;
  background-color: #333;
  margin: 60px auto;
  
  -webkit-animation: scaleout 1.0s infinite ease-in-out;
  animation: scaleout 1.0s infinite ease-in-out;
}

@-webkit-keyframes scaleout {
  0% { -webkit-transform: scale(0.0) }
  100% {
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}

@keyframes scaleout {
  0% {
    transform: scale(0.0);
    -webkit-transform: scale(0.0);
  } 100% {
    transform: scale(1.0);
    -webkit-transform: scale(1.0);
    opacity: 0;
  }
}
