* {
  -webkit-user-select: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
a {
  text-decoration: none;
}
html,
body {
  width: 100%;
  min-height: 100%;
}
body {
  min-width: 320px;
  height: 100%;
}
.bg {
  background-image: url(img/bmw-automobiles.jpg);
  background-attachment: fixed;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.fullscreen {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 960px;
  min-height: 500px;
  overflow: hidden;
}
header {
  display: block;
  box-sizing: border-box;
  margin: 15px;
  background-color: #2a1b0a;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}
h1,
h2,
h3 {
  display: block;
  box-sizing: border-box;
  margin: 0;
  padding: 10px 5px;
  font-family: 'BMWTypeGlobal-Regular', -apple-system, Arial, Helvetica, sans-serif;
  font-weight: 400;
  text-align: center;
}
h1 span,
h2 span,
h3 span {
  display: inline-block;
}
h1 {
  font-size: 16px;
  line-height: 18px;
  color: #2f2f2f;
  background: -webkit-linear-gradient(#ffffff, #dddddd);
  background: linear-gradient(#ffffff, #dddddd);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}
h2 {
  font-size: 12px;
  line-height: 14px;
  color: #ffffff;
}
h3 {
  font-size: 10px;
  line-height: 12px;
  color: #9e9e9e;
}
main {
  display: block;
  box-sizing: border-box;
  margin: 15px;
  padding: 16px;
  background-color: #ffffff;
  border-radius: 5px;
}
.box {
  box-sizing: border-box;
  height: 144px;
  cursor: pointer;
}
.box + .box {
  border-top: 1px solid #e6e6e6;
}
#mazliet {
  background-color: #ff5859;
  border: none;
}
#mazliet h3 {
  color: #ffffff;
}
.logo {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 110px;
  text-align: center;
}
.logo:before {
  content: "";
  display: inline-block;
  *display: inline;
  *zoom: 1;
  height: 100%;
  vertical-align: middle;
}
.logo img {
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: middle;
}
@media only screen and (min-width: 414px) {
  h1,
  h2 {
    padding: 15px 10px;
  }
  h1 {
    font-size: 18px;
    line-height: 20px;
  }
  h2 {
    font-size: 14px;
    line-height: 16px;
  }
  main {
    *zoom: 1;
    margin-top: 20px;
  }
  main:before,
  main:after {
    content: "";
    display: table;
  }
  main:after {
    clear: both;
  }
  .box {
    float: left;
    width: 50%;
  }
  .box + .box {
    border-top: none;
  }
  .box:nth-child(2n+0) {
    border-left: 1px solid #e6e6e6;
  }
  .box:nth-child(1n+3) {
    border-top: 1px solid #e6e6e6;
  }
  #mazliet {
    width: 100%;
  }
}
@media only screen and (min-width: 768px) {
  .outer {
    position: relative;
    z-index: 10;
    box-sizing: border-box;
    width: 100%;
    min-width: 768px;
  }
  .inner {
    *zoom: 1;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    width: 768px;
  }
  .inner:before,
  .inner:after {
    content: "";
    display: table;
  }
  .inner:after {
    clear: both;
  }
  h1,
  h2 {
    padding: 20px 15px;
  }
  h1 {
    font-size: 21px;
    line-height: 21px;
  }
  h2 {
    font-size: 16px;
    line-height: 16px;
  }
  header {
    margin-top: 35px;
  }
  main {
    margin-top: 35px;
  }
  .box {
    width: 33%;
    border-left: 1px solid #e6e6e6;
  }
  .box + .box,
  .box:nth-child(1n+3) {
    border-top: none;
  }
  .box:first-child,
  .box:nth-child(4n+0) {
    border-left: none;
  }
  .box:nth-child(1n+4) {
    border-top: 1px solid #e6e6e6;
  }
}
@media only screen and (min-width: 1024px) {
  .outer {
    min-width: 1024px;
  }
  .inner {
    width: 1024px;
  }
}
@media only screen and (min-width: 1366px) {
  .outer {
    min-width: 1366px;
  }
  .inner {
    width: 1366px;
  }
}