/* @import url(https://fonts.googleapis.com/css?family=Lato:300italic,700italic,300,700); */
/* @import url(http://fonts.googleapis.com/css?family=Ubuntu+Mono:400,400italic,700,700italic); */
@import url(//fonts.googleapis.com/css?family=Merriweather:400,300);

body {
  padding:15px;
  font: 15px/1.75 'Merriweather', "Helvetica Neue", Helvetica, Arial, serif;
  color:#777;
  font-weight:300;
}

h1, h2, h3, h4, h5, h6 {
  color:#222;
  margin:0 0 20px;
}

p, ul, ol, table, pre, dl {
  margin:0 0 20px;
}

h1, h2, h3 {
  line-height:1.1;
}

h1 {
  font-size:28px;
}

h2 {
  color:#393939;
}

h3, h4, h5, h6 {
  color:#494949;
}

a {
  color:#39c;
  font-weight:400;
  text-decoration:none;
}

a:hover {
  color:#069;
}

a small {
  font-size:11px;
  color:#777;
  margin-top:-0.6em;
  display:block;
}

a:hover small {
  color:#777;
}

.wrapper {
  width:960px;
}

blockquote {
  border-left:1px solid #e5e5e5;
  margin:0;
  padding:0 0 0 20px;
  font-style:italic;
}

code, pre {
  font-family: Consolas, Monaco, Bitstream Vera Sans Mono, Lucida Console, Terminal,monospace;
  color:#333;
  font-size: 0.9em;
}

pre {
  padding:8px 15px;
  background: #f8f8f8;
  border-radius:5px;
  border:1px solid #e5e5e5;
  overflow-x: auto;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #e5e5e5;
}

dt {
  color:#444;
  font-weight:700;
}

th {
  color:#444;
}

img {
  max-width:100%;
}

strong {
  color:#222;
  font-weight:700;
}

header {
  width:270px;
  float:left;
  position:fixed;
}

header h2 {
  text-transform: lowercase;
}
header img {
  margin-left: 50px;
}

header ul {
  list-style:none;
  padding:0;
  margin: 0;
  text-transform: lowercase;
}

header li {
  width:89px;
}

header ul a {
  line-height: 2;
  font-size: 16px;
  display:block;
  text-align:left;
  height:25px;
  padding-left: 2px;
}

header ul a strong {
  font-size:14px;
  display:block;
  color:#222;
}

section {
  width:650px;
  float:right;
  padding-bottom:50px;
}

section .tags {
  float: right;
}

section div.entry-overview {
  margin: 25px 0;
}

section div.entry-overview h1,
section div.entry-overview div.summary,
section div.entry-overview div.summary p {
  display: inline;
  line-height: 25px;
}

section div.entry-overview h1 {
  margin: 0;
  font-size: 20px;
}

section div.entry-overview div.summary,
section div.entry-overview div.date,
section div.entry-overview div.summary p {
  margin: 0;
  padding: 0;
}

section div.entry-overview div.detail {
  margin-left: 140px;
}

section div.entry-overview div.date {
  float: left;
  width: 120px;
  color: #7a8fd9;
  text-align: right;
  font-size: 13px;
}

section div.entry-overview h1 {
  font-weight: normal;
}

section div.entry-overview h1::after {
  content: " —";
}

small {
  font-size:11px;
}

hr {
  border:0;
  background:#e5e5e5;
  height:1px;
  margin:0 0 20px;
}

footer {
  width:270px;
  float:left;
  position:fixed;
  bottom:50px;
}

footer p {
  margin: 0;
  font-size: 12px;
}

footer .social {
  font-size: 20px;
}

footer .social ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

footer .social ul li {
  display: inline;
  margin: 0 2px;
  padding: 0;
}

.avatar {
  border-radius: 10px;
}

@media print, screen and (max-width: 960px) {

  div.wrapper {
    width:auto;
    margin:0;
  }

  header, section, footer {
    float:none;
    position:static;
    width:auto;
  }

  header {
    padding-right:320px;
  }

  section {
    border:1px solid #e5e5e5;
    border-width:1px 0;
    padding:20px 0;
    margin:0 0 20px;
  }

  header a small {
    display:inline;
  }

  header ul {
    position:absolute;
    right:50px;
    top:52px;
  }

  header ul li {
    float: left;
  }
}

@media print, screen and (max-width: 720px) {
  body {
    word-wrap:break-word;
  }

  header {
    padding:0;
  }

  header ul, header p.view {
    position:static;
    padding-bottom: 30px;
  }

  pre, code {
    word-wrap:normal;
  }
}

@media print, screen and (max-width: 480px) {
  body {
    padding:15px;
  }

  header ul {
    display:none;
  }
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
    color:#444;
  }
}

/* github gists */
.gist{
  margin: 15px 0 !important;
}

.gist-file{
  border: none !important;
}

.gist-meta{
  height: 17px !important;
  border: 1px solid #D2d2d2 !important;
  padding-top: 1px !important;;
  /*padding: 0px !important;*/
  -moz-border-radius-bottomleft: 10px;
  -webkit-border-bottom-left-radius: 10px;
  -moz-border-radius-bottomright: 10px;
  -webkit-border-bottom-right-radius: 10px;
  font-size: 0.50em !important;

}

.gist-data{
  padding: 15px !important;
  border: 1px solid #D2d2d2 !important;
  border-bottom: none !important;
  -moz-border-radius-topleft: 10px;
  -webkit-border-top-left-radius: 10px;
  -moz-border-radius-topright: 10px;
  -webkit-border-top-right-radius: 10px;
}

/* docutils literals */

.about .docutils.literal {
  background: #eee;
  color: #000;
}

/* mahmoud insertions */
.command {
    text-align: center;
}
.command img {
    border: 1px solid #000;
}
