.container {
  max-width: 800px;
  padding: 0 30px;
  margin: auto;
}

.downloads-header {
  position: relative;
  padding: 40px 80px;
  background-color: #0096DC;
  color: #FFFFFF;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.downloads-header:after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 120%;
  height: 100%;
  background: #FFFFFF;
  transform-origin: left center;
  transform: rotate(-5deg);
  z-index: 1;
}
.product-logo {
  width: 100%;
  grid-column: 1/2;
  grid-row: 1/2;
}
.product-downloads-text-01,
.product-downloads-text-02,
.product-downloads-text-03,
.product-downloads-text-04 {
  font-size: 16px;
  line-height: 1.5;
  word-break: keep-all;
}
.product-downloads-text-01 {
  grid-column: 1/2;
  grid-row: 2/3;
}
.product-downloads-text-02 {
  grid-column: 1/2;
  grid-row: 3/4;
  margin: 0;
}
.product-downloads-text-03 {
  grid-column: 1/2;
  grid-row: 5/6;
}
.product-downloads-text-04 {
  grid-column: 1/2;
  grid-row: 7/8;
  justify-self: center;
  width: 560px;
  text-align: center;
}
.product-downloads-list {
  grid-column: 1/2;
  grid-row: 4/5;
  line-height: 1.5;
}
.product-downloads-link {
  color: #FFFFFF;
}
.product-downloads-link:hover {
  text-decoration: none;
}
.product-image {
  grid-column: 2/3;
  grid-row: 1/9;
  width: 300px;
  height: calc(100% - 60px);
  z-index: 8;
  border: 10px solid #000;
  border-radius: 20px;
  justify-self: right;
}

@media screen and (min-width: 768px) {
  .downloads-header {
    position: relative;
    padding-bottom: 50px;
    background-color: #0096DC;
    color: #FFFFFF;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }
  .downloads-header:after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 120%;
    height: 100%;
    padding-bottom: 111px;
    background: #FFFFFF;
    transform-origin: left center;
    transform: rotate(-5deg);
    z-index: 1;
  }
}

.stores {
  grid-column: 1/2;
  grid-row: 6/7;
  display: flex;
  justify-content: center;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-self: center;
}

.stores li:first-child{
  margin-right: 16px;
}

.stores img {
  width: 166px;
  vertical-align: bottom;
}

.stores img:hover {
  opacity: 0.8;
}

@media screen and (max-width: 450px) {
  .product-image {
    width: 200px;
  }
  .stores img {
    width: 130px;
  }
}

@media screen and (min-width: 600px) {
  .stores li:first-child{
    margin-right: 26px;
  }
  .stores img {
    width: 202px;
  }
}

.news {
  border-top: 1px solid #D3D3D3;
  border-bottom: 1px solid #D3D3D3;
  margin-bottom: 56px;
  margin-top: 80px;
}

.news h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1;
}

.news ul {
  height: 94px;
  padding: 0;
  margin: 0;
  font-size: 14px;
  list-style: none;
  overflow-y: scroll;
}

.news li:after{
  content: '';
  display: block;
  clear: both;
}

.news time {
  float: left;
}

.news .description {
  margin: 0 0 0 90px;
}

.news .description p {
  float: left;
  display: block;
  margin-top: 0;
  margin-right: 20px;
  margin-bottom: 14px;
}

.description:after {
  content: '';
  display: block;
  clear: both;
}

.news a {
  color: #1080C8;
  text-decoration: none;
}

.news a:hover {
  text-decoration: underline;
}

.more-icon:before {
  content: url(../images/right-arrow-small.png);
  padding-left: 10px;
}

@media screen and (min-width: 768px) {
  .news {
    margin-bottom: 56px;
  }

  .news h2 {
    float: left;
    width: 13%;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .news ul {
    float: left;
    width: 87%;
    height: 70px;
    padding: 20px 0 0;
    font-size: 14px;
  }

  .news time {
    float: left;
  }

  .news .description {
    margin: 0 0 0 90px;
  }
}

.after-install {
  margin: 80px 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.after-install h2 {
  margin-top: 0;
  margin-bottom: 29px;
  font-size: 20px;
  text-align: center;
  line-height: 1;
  padding-right: 10px;
}

.after-install h2 .none {
  display: none;
}

.after-install .button {
  position: relative;
  float: left;
  width: 100%;
  max-width: 500px;
  padding-top: 12px;
  padding-bottom: 12px;
  margin-bottom: 15px;
  border: 2px solid #1080C8;
  border-radius: 10px;
  background-color: #FFFFFF;
  color: #1080C8;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  outline: none;
  line-height: 1;
  box-sizing: border-box;
}

.after-install .button:hover{
  opacity: 0.8;
}

.after-install .button:last-child {
  margin-bottom: 0;
}

.after-install .button:after {
  position: absolute;
  top: 11px;
  right: 15px;
  content: url(../images/right-arrow-mid.png);
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .after-install h2 {
    float: left;
    width: 20.6%;
    margin: 0;
    font-size: 16px;
    text-align: left;
    line-height: 1.5;
    box-sizing: border-box;
    padding-right: 10px;
  }

  .after-install h2 .none {
    display: inline;
  }

  .after-install .button {
    width: 38.5%;
    padding-top: 11px;
    margin-right: 2.4%;
    margin-bottom: 0;
    font-size: 16px;
  }

  .after-install .button:last-child {
    margin-right: 0;
  }

  .after-install .button::after {
    top: 12px;
    right: 20px;
  }
}

@media all and (-ms-high-contrast: none) and (min-width: 768px) {
  .after-install .button {
    padding-top: 15px;
  }

  .after-install .button::after {
    top: 16px;
  }
}

/* ======================================================================
    KEY-VISUAL
   ====================================================================== */
.key-visual-wrapper {
  display: grid;
  grid-template-columns: 500px 400px;
  grid-template-rows: repeat(9, auto);
  justify-items: left;
}
@media screen and (max-width: 1000px) {
  .key-visual-wrapper {
    grid-template-columns: repeat(1, 450px);
    grid-template-rows: repeat(7, auto);
  }
  .product-image {
    grid-column: 1/2;
    grid-row: 8/9;
    margin-top: 20px;
    margin-bottom: 40px;
    justify-self: center;
  }
  .product-downloads-text-01 {
    grid-column: 1/2;
    grid-row: 2/3;
    text-align: center;
  }
  .product-downloads-text-02 {
    grid-column: 1/2;
    grid-row: 3/4;
    justify-self: center;
  }
  .product-downloads-list {
    grid-column: 1/2;
    grid-row: 4/5;
    justify-self: center;
    margin-left: -15px;
  }
  .product-downloads-text-03 {
    grid-column: 1/2;
    grid-row: 5/6;
    text-align: center;
  }
  .stores {
    grid-column: 1/2;
    grid-row: 6/7;
  }
  .product-downloads-text-04 {
    grid-column: 1/2;
    grid-row: 7/8;
    text-align: center;
    width: 440px;
  }
}
@media screen and (max-width: 600px) {
  .key-visual-wrapper {
    grid-template-columns: repeat(1, 300px);
  }
  .product-downloads-text-04 {
    width: 400px;
  }
}
@media screen and (min-width: 450px) and (max-width: 600px) {
  .product-image {
    width: 250px;
  }
}

/* ======================================================================
    FOOTER
   ====================================================================== */
.footer {
  padding: 40px;
  font-size: 10px;
  text-align: left;
  line-height: 1;
  color: #FFFFFF;
  background: linear-gradient(-76deg, #1298d4 28%, #1f68bc 72%);
}
.footer-bps-logo-wrapper {
  text-align: center;
}
.footer-bps-logo {
  width: 204px;
  vertical-align: bottom;
}
.footer-copyright {
  margin-top: 20px;
  margin-bottom: 0;
}

/* ======================================================================
    MEDIA-QUERY
   ====================================================================== */
@media screen and (max-width: 767px) {
  .footer {
    padding: 30px;
    font-size: 12px;
  }
  .footer-bps-logo {
    width: 167px;
  }
}

/* ======================================================================
    MEDIA-QUERY-HOVER-ENABLE
   ====================================================================== */
@media (hover: hover) {
  a img:hover {
    opacity: 0.8;
    transition: 0.5s;
  }
}

/* ======================================================================
    MEDIA-QUERY-HOVER-NONE
   ====================================================================== */
@media (hover: none) {
  a img:active {
    opacity: 0.8;
    transition: 0.5s;
  }
}
