.logo:before,
.logo:after {
  content: " ";
  display: table;
}
.logo:after {
  clear: both;
}
*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
body {
  font-family: 'Lato', sans-serif;
  line-height: 1.4;
  color: #444;
}
.p,
p,
blockquote,
address,
pre,
table,
ul,
ol,
dl,
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6,
.project {
  margin-top: auto;
  margin-bottom: 1rem;
}
.large,
h6,
.h6 {
  font-size: larger;
}
.loud,
.site-description,
.project .project-name {
  font-size: x-large;
  line-height: 1.2;
  letter-spacing: 0.06em;
}
.muted,
.quiet,
.footer {
  color: #808080;
}
.small,
.quiet,
.project .project-description,
.footer {
  font-size: smaller;
}
.quiet a,
a.quiet {
  color: #676767;
}
h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  line-height: 1.2;
}
h1,
.h1 {
  font-size: 3rem;
}
h2,
.h2 {
  font-size: 2.4rem;
}
h3,
.h3 {
  font-size: 2rem;
}
h4,
.h4 {
  font-size: 1.6rem;
}
h5,
.h5 {
  font-size: 1.4rem;
}
.subheading {
  margin-top: -0.5em;
  font-weight: normal;
  color: #808080;
}
.aside {
  padding: 1em;
  border: 1px solid #d8d8d8;
  background-color: #f2f2f2;
}
.aside > *:last-child {
  margin-bottom: auto;
}
@media (min-width: 768px) {
  .aside {
    float: right;
    width: 240px;
    margin-left: 2em;
  }
}
@media (max-width: 767px) {
  .aside {
    margin-bottom: 1rem;
  }
}
hr {
  margin: 1rem 0;
  height: 1px;
  border: 0;
  background-color: #d8d8d8;
}
ul,
ol {
  padding-left: 2rem;
}
a {
  color: #05b;
  text-decoration: none;
}
.img img {
  max-width: 100%;
  height: auto;
}
.section {
  padding: 2em;
}
.section .container > *:last-child {
  margin-bottom: auto;
}
.container,
hr {
  max-width: 984px;
  margin-left: auto;
  margin-right: auto;
}
.row {
  margin: -1rem -1rem;
}
.row:before,
.row:after {
  content: " ";
  display: table;
}
.row:after {
  clear: both;
}
.row > * {
  float: left;
  padding: 1rem 1rem;
}
.site-header {
  overflow: hidden;
  color: #fff;
  text-align: center;
  background-color: #003e7e;
  background-image: url("../frontpage-img/bg-pattern.png");
  background-image: url("../frontpage-img/bg-pattern.png"), linear-gradient(to right, #003e7e, #2d7dc5);
  -webkit-box-shadow: inset 0 0px 30px -10px rgba(0,0,0,0.4);
  -moz-box-shadow: inset 0 0px 30px -10px rgba(0,0,0,0.4);
  box-shadow: inset 0 0px 30px -10px rgba(0,0,0,0.4);
}
.site-header a {
  color: #ffb03b;
}
.site-header .container {
  position: relative;
  z-index: 1;
}
.logo {
  font-size: 12px;
  line-height: 1.4;
}
.logo hr {
  margin: 1em 0;
  height: 6em;
  width: 1px;
  display: inline-block;
  vertical-align: middle;
}
.logo .img {
  display: inline-block;
  height: 8em;
  vertical-align: middle;
}
.logo .logotype {
  display: inline-block;
  color: #fff;
  letter-spacing: 0.06em;
  text-align: left;
  font-size: 100%;
  vertical-align: middle;
}
.site-description {
  max-width: 24em;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.nav-list {
  list-style: none;
  padding-left: 0;
}
.nav-list li {
  display: inline-block;
}
.nav-list li a {
  display: inline-block;
  padding: 0.4em 0.5em;
  -webkit-border-radius: 3px;
  -moz-border-radius: 3px;
  border-radius: 3px;
}
.nav-list li a:hover {
  color: #444;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 3px -1px rgba(0,0,0,0.8);
  -moz-box-shadow: 0 1px 3px -1px rgba(0,0,0,0.8);
  box-shadow: 0 1px 3px -1px rgba(0,0,0,0.8);
}
.project-list {
  list-style: none;
  padding-left: 0;
}
.project-list .project {
  margin-bottom: auto;
}
@media (min-width: 768px) {
  .project-list {
    margin: -0.5rem -0.5rem;
  }
  .project-list:before,
  .project-list:after {
    content: " ";
    display: table;
  }
  .project-list:after {
    clear: both;
  }
  .project-list > * {
    float: left;
    padding: 0.5rem 0.5rem;
  }
  .project-list > li {
    width: 33.3333333333333%;
  }
}
@media (max-width: 767px) {
  .project-list > li {
    margin-bottom: 1rem;
  }
  .project-list > li:last-child {
    margin-bottom: auto;
  }
}
.project {
  -webkit-border-radius: 6px;
  -moz-border-radius: 6px;
  border-radius: 6px;
}
a.project {
  display: block;
}
.project .project-name {
  color: #ffb03b;
}
@media (min-width: 768px) {
  .project {
    text-align: center;
    border: 1px solid #d8d8d8;
    background-color: #f2f2f2;
  }
  .project .project-name {
    margin: -1px;
    padding: 2em 0.5em;
    -webkit-border-radius: 6px 6px 0 0;
    -moz-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    background-image: url("../frontpage-img/project-bg.png");
  }
  .project .project-description {
    padding: 1em;
    min-height: 3.8em;
    color: #444;
  }
}
@media (max-width: 767px) {
  .project {
    padding: 12px;
    background-image: url("../frontpage-img/project-bg.png");
  }
  .project .project-name {
    margin-bottom: 6px;
  }
  .project .project-description {
    color: #fff;
  }
}
.footer {
  border-top: 1px solid #d8d8d8;
}
.footer .to-top {
  float: right;
}
.footer address {
  font-style: normal;
}
