/* ==========================================================================
   HTML5 Boilerplate styles - h5bp.com (generated via initializr.com)
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #222;
}

body {
    margin: 0;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

img {
    vertical-align: middle;
    width: 100%;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ===== Initializr Styles ==================================================
   Author: Jonathan Verrecchia - verekia.com/initializr/responsive-template
   ========================================================================== */

body {
    font-size: 16px;
    font-family: 'Ideal Sans SSm A', 'Ideal Sans SSm B', 'sans-serif';
    font-weight: 400;
    font-style: normal;
}

.wrapper {
    width: 90%;
    margin: 0 5%;
}

/* ===================
    ALL: Orange Theme
    Colors: http://colorschemedesigner.com/#0v21Tw0w0w0w0
   =================== */

.header-container {
    border-bottom: 10px solid #e44d26;
}

.footer-container,
.main aside {
    border-top: 0;
}

.main aside {
    margin-left: 0;
    margin-right: 0;
}

.header-container,
.footer-container,
.main aside {
    background: #ff7600;
}

.title {
    color: white;
}

/* ==============
    MOBILE: Menu
   ============== */

nav ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

nav a {
    display: block;
    margin-bottom: 10px;
    padding: 15px 0;

    text-align: center;
    text-decoration: none;
    font-weight: bold;

    color: white;
    background: #e44d26;
}

nav a:hover,
nav a:visited {
    color: white;
}

nav a:hover {
    text-decoration: underline;
}

/* ==============
    MOBILE: Main
   ============== */

.main {
    padding: 0;
}

.main article h1 {
    line-height: 35px;
}

.main aside {
    color: white;
    padding: 0px 10px 10px 10px;
}

.main aside p, .main aside h2 {
  margin-top: 6px;
  margin-bottom: 0;
}

#recent-posts {
    display: none;
    visibility: hidden;
}

.footer-container footer {
    color: white;
    padding: 20px 0;
}

/* ===============
    ALL: IE Fixes
   =============== */

.ie7 .title {
    padding-top: 20px;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

h1, h2, h3, h1 a, h2 a, h3 a {
  font-family: 'Sentinel A', 'Sentinel B';
  font-weight: 700;
  font-style: normal;
  text-decoration: none;
}

h1 {
  font-size: 30px;
}

h2 {
  font-size: 24px;
  line-height: 28px;
}

h3 {
  font-size: 18px;
  line-height: 24px;
}

article {
  margin-bottom: 10px;
  padding-bottom: 20px;
  border-bottom: 4px solid #ffb473;
}

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

a:hover {
  color: #ff9840;
}

pre {
  background-color: #f8f8f8;
  border: 1px solid #ddd;
  border-radius: 3px;
  padding: 6px 10px;
}

pre {
  overflow-x: auto;
  word-wrap: normal;
  white-space: pre;
}

pre, code {
  font-size: 14px;
}

.older-posts {
  font-family: 'Ideal Sans SSm A', 'Ideal Sans SSm B', 'sans-serif';
  font-weight: 700;
  font-style: normal;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 30px;
}

.permalink, .permalink a {
  font-size: 13px;
}

.permalink, .permalink a, .entry-date {
  font-family: 'Ideal Sans SSm Small-Caps A', 'Ideal Sans SSm Small-Caps B', Helvetica, Helvetica Neue, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  letter-spacing: .8px;
}

.entry-date {
  font-size: 14px;
  color: #444;
}

aside h1, aside h2, aside h3, aside h4 {
  font-weight: 600;
  letter-spacing: 1.5px;
}

.social, .feed {
  clear: both; }
  .social a, .feed a {
    font-family: "SocialicoRegular";
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 40px; }
    .social a:hover, .feed a:hover {
      text-decoration: none; }
  .social a.twitter:before, .feed a.twitter:before {
    content: "l"; }
  .social a.twitter:hover, .feed a.twitter:hover {
    color: #00a7e6; }
  .social a.github:before, .feed a.github:before {
    content: "{"; }
  .social a.github:hover, .feed a.github:hover {
    color: black; }
  .social a.googleplus:before, .feed a.github:before {
    content: "|"; }
  .social a.googleplus:hover, .feed a.github:hover {
    color: #c83e2e; }
  .social a.facebook:before, .feed a.facebook:before {
    content: "f"; }
  .social a.facebook:hover, .feed a.facebook:hover {
    color: #3b5998; }
  .social a.skype:before, .feed a.skype:before {
    content: "h"; }
  .social a.skype:hover, .feed a.skype:hover {
    color: #00aff0; }
  .social a.linkedin:before, .feed a.linkedin:before {
    content: "i"; }
  .social a.linkedin:hover, .feed a.linkedin:hover {
    color: #0073a5; }
  .social a.rss:before, .feed a.rss:before {
    content: "r"; }
  .social a.rss:hover, .feed a.rss:hover {
    color: #de7f0c; }

@font-face {
  font-family: "SocialicoRegular";
  src: url("/typefaces/socialico-x.eot");
  src: url("/typefaces/socialico-x.eot?#iefix") format("embedded-opentype"), url("/typefaces/socialico-x.woff") format("woff"), url("/typefaces/socialico-x.ttf") format("truetype"), url("/typefaces/socialico-x.svg#SocialicoRegular") format("svg");
  font-weight: normal;
  font-style: normal;
}

.profile-container {
  text-align: center;
}

.profile-container div {
  display: inline-block;
  vertical-align: top;
  margin-left: auto;
  margin-right: auto;
}

.avatar-photo {
  height: 120px;
  width: 120px;
  border-radius: 100%;
  border: 3px solid #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,0.3);
  margin: 10px 10px 0 0;
}

.footer-container footer h4 {
  font-family: 'Ideal Sans SSm Small-Caps A', 'Ideal Sans SSm Small-Caps B', Helvetica, Helvetica Neue, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 18px;
}

.archive-list {
  list-style-type: none;
  padding-left: 0;
}

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

@media only screen and (min-width: 480px) {

/* ====================
    INTERMEDIATE: Menu
   ==================== */

    nav a {
        float: right;
        width: 27%;
        margin: 0 1.7%;
        padding: 5px 2%;
        margin-bottom: 0;
    }

    nav li:first-child a {
        margin-left: 0;
    }

    nav li:last-child a {
        margin-right: 0;
    }

    .main aside {
        margin-left: 0;
        margin-right: 0;
    }

/* ========================
    INTERMEDIATE: IE Fixes
   ======================== */

    nav ul li {
        display: inline;
    }

    .oldie nav a {
        margin: 0 0.7%;
    }
}

@media only screen and (min-width: 768px) {

/* ====================
    WIDE: CSS3 Effects
   ==================== */

    .header-container,
    .main aside {
        -webkit-box-shadow: 0 5px 10px #aaa;
           -moz-box-shadow: 0 5px 10px #aaa;
                box-shadow: 0 5px 10px #aaa;
    }

/* ============
    WIDE: Menu
   ============ */

    .title {
        float: left;
    }

    nav {
        float: right;
        width: 38%;
    }

/* ============
    WIDE: Main
   ============ */

    .main {
        padding: 30px 0;
    }

    .main article {
        width: 57%;
    }

    .main aside {
        float: right;
        width: 28%;
        padding: 0px 30px 0px 20px;
    }

    #recent-posts {
        display: block;
        visibility: visible;
    }

    .footer-container,
    .main aside {
        border-top: 10px solid #e44d26;
    }

/* ==============
    WIDE: Avatar
   ============== */
    .avatar-photo {
      height: auto;
      width: 100%;
      border-radius: 100%;
      border: 5px solid #fff;
      box-shadow: 0 2px 5px rgba(0,0,0,0.3);
      margin-left: auto;
      margin-right: auto;
    }
}

@media only screen and (min-width: 1140px) {

/* ===============
    Maximal Width
   =============== */

    .wrapper {
        width: 1026px; /* 1140px - 10% for margins */
        margin: 0 auto;
    }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
