@import url(//fonts.googleapis.com/css?family=Open+Sans:300,400,400italic,600,600italic);

body {
  padding-bottom: 40px;
  color: #222;
  /*font-family: 'Open Sans', 'Georgia', sans-serif;*/
  font-family: 'Open Sans',Georgia,sans-serif;
  background-color: #fdfdfd;
  line-height: 1.5;
  /*  background-image: url(static/dust.png); */
}
img {
  max-width: 100%;
  max-height: 100%;
}
.drop-shadow {
  position:relative;
  float:left;
  background: white;
  -webkit-box-shadow:0 1px 1px rgba(0, 0, 0, 0.3), 0 0 2px rgba(0, 0, 0, 0.1) inset;
  -moz-box-shadow:0 1px 1px rgba(0, 0, 0, 0.3), 0 0 2px rgba(0, 0, 0, 0.1) inset;
  box-shadow:0 1px 1px rgba(0, 0, 0, 0.3), 0 0 2px rgba(0, 0, 0, 0.1) inset;
  -moz-border-radius:3px;
  border-radius:3px;
}

.drop-shadow:before,
.drop-shadow:after {
  content:"";
  position:absolute;
  z-index:-2;
  bottom:15px;
  left:10px;
  width:50%;
  height:20%;
  max-width:300px;
  max-height:100px;
  -webkit-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
  -moz-box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
  box-shadow:0 15px 10px rgba(0, 0, 0, 0.7);
  -webkit-transform:rotate(-3deg);
  -moz-transform:rotate(-3deg);
  -ms-transform:rotate(-3deg);
  -o-transform:rotate(-3deg);
  transform:rotate(-3deg);
}

.drop-shadow:after {
  right:10px;
  left:auto;
  -webkit-transform:rotate(3deg);
  -moz-transform:rotate(3deg);
  -ms-transform:rotate(3deg);
  -o-transform:rotate(3deg);
  transform:rotate(3deg);
}
svg {
  width: auto\9;
  height: auto;
  max-width: 100%;
  vertical-align: middle;
  border: 0;
  -ms-interpolation-mode: bicubic;
}
svg {
    fill: #2779d3;
}
.logo img, .logo svg {
  max-height: 200px;
  max-width: 100%;
  width: 100%;
}
.lined {
    border-top: 1px solid rgba(69,54,37,0.2);
    line-height: 1;
    text-align: center;
    margin-bottom: 0;
}
.lined .date {
  background-color: #fdfdfd; /* body */
  margin-top: -1em;
  position: relative;
  padding: 0 50px;
  top: -0.45em;
  letter-spacing: 0.2em;
  font-weight: 200;
}
.date {
  text-transform: uppercase;
  font-size: smaller;
  color: #999;
  font-weight: 800;
}
.bear-color, .bear {
  color: #abad6a;
}
a, .blue {
  color: #2779d3;
  text-decoration: none;
}
.gray {
  color: #333;
}
.bear {
  font-size: 96px;
}
#sidebar {
  /*background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAAAAAA6mKC9AAAAAnRSTlMA/1uRIrUAAAAeSURBVBjTY/iPBhj+/z/3HxkzYKhAlf+PRcXQNQMAcMz44fe3nNQAAAAASUVORK5CYII=);*/
  position: fixed;
  width: 12%;
  padding-left: 2%;
  margin-left: 0;
  z-index: 1;
  min-height: 100%;
  min-width: 120px;
  padding: 30px;
  background-color: #fafafa;
  box-shadow: 3px 3px #eee inset;
}
#sidebar .about {
  position: fixed;
  bottom: 0px;
  max-width: 12%;
}
blockquote {
  margin: 0 0 20px;
  padding: 0 0 0 15px;
  background-color: #eeeeee;
  border-left: 10px solid #2779d3;
}
blockquote p{
  margin-bottom: 0;
}
h6.also {
  text-transform: uppercase;
}
.also a {
  font-size: smaller;
}
aside {
  margin-bottom: 30px;
  align: center;
}
small {
  font-size: smaller;
  color: gray;
}

aside.info ul, ul {
  margin-top: 30px;
  list-style-type: none;
}
aside.info li {
  margin-bottom: 18px;
  width: 100%;
  white-space: nowrap;
}
aside.info li a {
  color: #222;
  border: 1px solid #eee;
  border-radius: 30px;
  padding: 5px;
  -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  background-color: #fafafa;
  background-image: -moz-linear-gradient(top, #ffffff, #f2f2f2);
  background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#f2f2f2));
  background-image: -webkit-linear-gradient(top, #ffffff, #f2f2f2);
  background-image: -o-linear-gradient(top, #ffffff, #f2f2f2);
  background-image: linear-gradient(to bottom, #ffffff, #f2f2f2);
  background-repeat: repeat-x;
}
aside.about a {
  color: #222;
  text-decoration: underline;
}

aside.info li a:hover {
  color: #2779d3;
  border: 2px solid #2779d3;
  text-decoration: none;
  font-weight: bold;
}
.content ul {
  list-style-type: none;
}
.content ul li {
    margin-left: 15px;
}
.content ul li:before {
    font-family: "FontAwesome";
    content: "";
    margin: 0 15px 0 -15px;
    color: #e1e1e1;
}
ul.projects {
    list-style-type:none;
}
ul.projects li:before {
    content: "";
}
.content ol {
    list-style-type: upper-roman;
}

.content {
  width: auto;
  position: relative;
  margin-left: 18%;
  padding: 30px;
}
.content p, .content blockquote, .content pre, .content h1, .content h2, .content h3, .content code, .content li {
  max-width: 968px;
  font-size: 18px;
  line-height: 1.8;
  font-weight: 300;
  text-rendering: optimizeLegibility;
  word-break: break-word;
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
}
.content p {
    text-align: justify;
    text-justify: auto;
    text-justify: newspaper;
}
.content pre {
  color: orange;
}
article.content > p:first-of-type {
    font-size: 20px;
}
article.content > p:first-of-type::first-letter {
    font-size: 52px;
    line-height: 41px;
    padding-top: 0.3rem;
    padding-right: 0.5rem;
    padding-left: 0.188rem;
    float: left;
}
.content h1 {
  font-size: 2.747em;
  text-align: center;
  margin-bottom: 1em;
  font-weight: 600;
}
.content h2 {
    font-size: 2em;
}
.content h3 {
    font-size: 1.229em;
}
.content h1, .content h2, .content h3 {
  line-height: 1;
}
.content h1:first-of-type::after {
    content: "";
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.2em;
    display:block;
    text-align: center;
    color: rgba(69,54,37,0.6);
    border-bottom: 1px solid rgba(69,54,37,0.2);
    padding-bottom: 0.8em;
    margin-bottom: 0.8em;
    margin-top: 0.8em;
}
.content img {
    margin-left: auto;
    margin-right: auto;
    display: block;
}

pre, code {
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    /* don't want code to have scrollbars */
-ms-word-break: break-all;
    word-break: break-all;

    /* Non standard for webkit */
    word-break: break-word;

}
pre, pre code {
  padding: 0;
  background: #282828;
}
code {
    box-sizing:border-box;
    display: inline-block;
}
pre code, blockquote code {
  border: 0;
}
.blog-post-list a {
  text-transform: capitalize;
}
.badge {
  padding: 3px;
  background-color: #dedede;
  border-radius: 8px;
  font-size: 12px;
}
@media (max-width: 968px) {
  #sidebar, .content, .lined {
    position: relative;
    min-height: 0;
    margin-left: 0;
    max-width: 100%;
    border: 0;
  }
  #sidebar {
    width: 100%;
    padding: 0;
    text-align: center;
  }
  .logo img {
      width: 100%;
      height: 100%;
  }
  .content {
    padding: 0;
    border-top: 1px solid #eee;
  }
  .content p, .content blockquote, .content h1, .content h2, .content h3, .content h4, .content h5, .content h6, .content ul, .conten ol  {
    padding: 10px;
  }
  aside.about {
    display: none;
  }
  aside.info ul {
    width: 100%;
    margin: auto;
  }
  aside.info li {
    float: none;
    display: inline-block;
    clear: none;
    width: auto;
    margin: 0;
  }
  pre  {
  }
}

