* {
  padding: 0;
  margin: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  height: 100%;
  -ms-overflow-style: none;
  overflow: -moz-scrollbars-none;
}

html::-webkit-scrollbar {
  width: 0;
}

body {
  background-color: #f1f1f1;
}

.header {
  height: 4em;
  background: rgba(0, 0, 0, .75);
  /*margin-bottom: 10em;*/
}

.header__wrapper {
  max-width: 1200px;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  padding: 1em;
}

.logo {
  width: 3em;
  min-width: 3em;
  height: 3em;
  min-height: 3em;
  background-color: #ff0024;
  border-radius: 50%;
  margin-right: 7em;
  position: relative;
}

.logo::after {
  content: '';
  display: block;
  width: .315em;
  height: .315em;
  background: #393939;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

.nav__item {
  height: 1.5em;
  width: 5em;
  background-color: #dfdfdf;
  margin-right: 3em;
}

.nav__item:nth-child(2n+1) {
  width: 7em;
}

.nav__item:last-child {
  width: 9em;
}

@media (max-width: 780px) {
  .header {
    margin-bottom: 1em;
  }

  .header__wrapper {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .logo {
    margin-right: 0;
  }

  .nav {
    display: none;
  }
}

.banner__topline {
  /*height: 16em;*/
  max-width: 1200px;
  padding: 1em 1em 0 1em;
  margin: auto;
}

.banner__topline > div {
  max-width: 1050px;
}

.main {
  max-width: 1200px;
  margin: auto;
  padding: 1em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  position: relative;
}

.content {
  -webkit-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
  width: 50em;
  margin-right: 2em;
}

.post {
  width: 100%;
  height: 9em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  margin-bottom: 2em;
}

.post__left {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
}

.post__right {
  -webkit-box-flex: 4;
  -ms-flex: 4;
  flex: 4;
  padding-left: 2em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.post__thumbnail {
  background-color: #dfdfdf;
  width: 140px;
  height: 144px;
}

.post__title {
  background-color: #464646;
  height: .9em;
  width: 70%;
  min-width: 14em;
}

.post__title::after {
  content: '';
  display: block;
  height: inherit;
  background-color: inherit;
  width: 9em;
  position: relative;
  top: 1.4em;
}

.post__content {
  height: 100%;
  margin-top: 2em;
  background: -webkit-repeating-linear-gradient(
    bottom,
    #f1f1f1,
    #f1f1f1 0.625em,
    #dfdfdf 0.625em,
    #dfdfdf 1.25em
  );
  background: -o-repeating-linear-gradient(
    bottom,
    #f1f1f1,
    #f1f1f1 0.625em,
    #dfdfdf 0.625em,
    #dfdfdf 1.25em
  );
  background: repeating-linear-gradient(
    0deg,
    #f1f1f1,
    #f1f1f1 0.625em,
    #dfdfdf 0.625em,
    #dfdfdf 1.25em
  );
}

@media (max-width: 780px) {
  .content {
    margin-right: 0;
  }

  .banner__topline {
    height: auto;
  }
}

@media (max-width: 470px) {
  .post {
    height: auto;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .post__thumbnail {
    width: 100%;
    height: auto;
    padding-top: 46%;
    margin-bottom: 1em;
  }

  .post__right {
    padding-left: 0;
  }

  .post__content {
    padding-top: 25%;

  }
}


.aside {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-left: .1em solid #dedede;
  padding-left: 2em;
}

.post-aside {
  width: 250px;
  margin-bottom: 1em;
  padding-bottom: 2em;
}

.post-aside__thumbnail {
  background-color: #dfdfdf;
  width: 100%;
  height: 200px;
  margin-bottom: 1em;
}

.post-aside__title {
  background-color: #464646;
  height: .9em;
  width: 100%;
}

.post-aside__title::after {
  content: '';
  display: block;
  height: inherit;
  background-color: inherit;
  width: 9em;
  position: relative;
  top: 1.4em;
}

@media (max-width: 780px) {
  .aside {
    display: none;
  }
}

.footer {
  height: 6em;
  width: 100%;
  background-color: #393939;
}
