/*! normalize.css v3.0.1 | MIT License | git.io/normalize */html{font-family:sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%}body{margin:0}article,aside,details,figcaption,figure,footer,header,hgroup,main,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background:0 0}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}b,strong{font-weight:700}dfn{font-style:italic}h1{font-size:2em;margin:.67em 0}mark{background:#ff0;color:#000}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sup{top:-.5em}sub{bottom:-.25em}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{-moz-box-sizing:content-box;box-sizing:content-box;height:0}pre{overflow:auto}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}button,input,optgroup,select,textarea{color:inherit;font:inherit;margin:0}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{-webkit-appearance:button;cursor:pointer}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{border:0;padding:0}input{line-height:normal}input[type=checkbox],input[type=radio]{box-sizing:border-box;padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}input[type=search]{-webkit-appearance:textfield;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}fieldset{border:1px solid silver;margin:0 2px;padding:.35em .625em .75em}legend{border:0;padding:0}textarea{overflow:auto}optgroup{font-weight:700}table{border-collapse:collapse;border-spacing:0}td,th{padding:0}

@font-face {
    font-family: 'Lato';
    src: local('Lato Regular'), local('Lato-Regular'), url('latoregular.woff2') format('woff2'), url('latoregular.woff') format('woff'), url('latoregular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Lato';
    src: local('Lato Bold'), local('Lato-Bold'), url('latobold.woff2') format('woff2'), url('latobold.woff') format('woff'), url('latobold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

html {
  font-size: 10px;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);}
body {
  font-family: 'Lato', Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.42857143;
  color: #000;
  background-color: #fff; }
a {
  color: #000;
  text-decoration: underline; }
a:hover,
a:focus {
  color: #000;
  text-decoration: none; }
a:focus {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px; }
figure { margin: 0; }
img { vertical-align: middle; }
@-ms-viewport { width: device-width; }

/**
 * ====================================================================
 * ---> MICRO CLEARFIX HACK <---
 * http://nicolasgallagher.com/micro-clearfix-hack/
 * http://stackoverflow.com/questions/211383/which-method-of-clearfix-is-best
 * ====================================================================
 */
.clearfix:before, .clearfix:after { display: table; content: " "; }
.clearfix:after { clear: both; }
.text-center { text-align: center; }

/* * THE CUSTOM STYLES STARTS HERE * */

.holder {
  margin: 0 auto;
  padding-right: 20px;
  padding-left: 20px;
  max-width: 1280px; }
  .main-article .holder { max-width: 980px; }
@media (max-width: 480px) { .holder { padding-right: 10px; padding-left: 10px; } }

.halfic {
  display: inline-block;
  vertical-align: top;
  width: 50%; }
@media (max-width: 768px) { .halfic { display: block; width: auto; } }

.centrifico {
  display: flex;
  justify-content: center;
  flex-direction: row; }
  .centrifico > .halfic {
    display: flex;
    justify-content: center;
    flex-direction: column;
  }
@media (max-width: 768px) {
  .centrifico { display: block; }
  .centrifico > .halfic { display: block; }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 = - = - = HEADER = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - */
.header {
  padding: 124px 0;
  background: #ececec url('pattern.png') repeat center top;
  box-shadow: 0 -5px 5px 0px rgba(92, 92, 92, 0.11) inset;
}
.header .logo { text-align: center; }
  .header .logo img { max-width: 100%; width: 253px; vertical-align: top; }

.header .pow-by-rails {
  position: absolute;
  top: 0; right: 76px;
  width: 92px; }
  .header .pow-by-rails img { max-width: 100%; }

/*.header .headline {  }*/
  .header .headline h1 {
    margin: 0;
    padding: 12px 24px;
    font-size: 26px;
    font-weight: normal;
  }
  .header .headline strong { color: #BD202E; }
  .header .headline .btn-line { margin-top: 12px; padding: 0 24px; }
  .header .headline .gh-button {
    display: inline-block;
    border: 1px solid #d6d6d6;
    border-radius: 6px;
    padding: 4px 18px 2px 18px;
    background: #000;
    box-shadow: 2px 2px 1px #a6a6a6;
    text-decoration: none;
    line-height: 32px;
    color: #fff; }
    .header .headline .gh-button:before {
      content: '';
      position: relative;
      top: 4px;
      display: inline-block;
      margin-right: 12px;
      width: 20px; height: 20px;
      background: url('GitHub-Mark-64px-invert.png') no-repeat left top;
      background-size: 100%;
    }
    .header .headline .gh-button:hover, .header .headline .gh-button:focus { box-shadow: 3px 3px 1px #a6a6a6; }
    .header .headline .gh-button:hover { background: #323232; }
    .header .headline .gh-button:active { box-shadow: none; }
@media (max-width: 768px) {
  .header { padding: 24px 0 32px; }
  .header .logo img { width: 253px; }
  .header .pow-by-rails { right: 10px; }
  .header .headline { margin-top: 24px; text-align: center; }
  .header .headline .btn-line { text-align: center; }
}
@media (max-width: 560px) {
  .header .pow-by-rails { display: none; }
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 = - = - = ARTICLE = - = - = - = - = - = - = - = - = - = - = - = - = - = - =  */

.main-article > section { margin-top: 64px; }
  .main-article > section.closer { margin-top: 12px; }
@media (max-width: 768px) {
  .main-article > section.closer { margin-top: 42px; }
}
.centercol, .content .centercol {
  margin-right: auto;
  margin-left: auto;
  max-width: 726px
}
.illust { text-align: center; }
  .illust img { max-width: 100%; }
.content p {
  margin: 0;
  padding: 0 24px;
  font-size: 20px;
}
.content p + p { margin-top: 42px; }
.content p.accent { font-size: 22px; font-weight: bold; color: #BD202E; text-align: center; }
.content p.descent { margin-top: 2px; font-size: 16px; }
.content a.thin-underline {
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid #000; }
  .content a.thin-underline:hover, .content a.thin-underline:focus {
    border-color: #fff;
    border-color: transparent;
  }
.content a.pm-link {
  display: inline-block; }
  .content a.pm-link:after {
    content: '';
    display: inline-block;
    margin-left: 4px;
    width: 16px;
    height: 20px;
    background: url('pm_logo.png') no-repeat left top;
  }
.learning-illust-wrapper { padding-top: 52px; }

.learning-section {
  padding: 0 0 29px;
  background: #ffc938 url('pattern_bright.png') repeat center top;
  box-shadow: 0 0 5px 5px rgba(92, 92, 92, 0.11) inset;
}

/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 = - = - = FOOTER = - = - = - = - = - = - = - = - = - = - = - = - = - = - = - */
.footer {
  margin-top: 32px;
  padding: 18px 0;
  text-align: center;
}
