html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

@font-face {
  font-family: 'bmwTypeWebBoldAll';
  src: url("../assets/bmwtypewebbo_all.woff") format("woff");
}
html, body {
  position: relative;
  width: 100vw;
  height: 100vh;
  margin: 0 auto;
  font-family: Arial, "microsoft jhenghei", Helvetica, "Noto Sans CJK TC", "Noto Sans", sans-serif;
  font-size: 20px;
}

a {
  text-decoration: none;
}

.container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  min-width: 900px;
  height: 95%;
  padding: 2.5% 0 0 0;
  margin: 0 auto;
  font-size: 0;
}

.loading {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 99;
}

.lds-ring > div {
  position: absolute;
  top: 25%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -10px 0 0 -10px;
  border-radius: 50%;
  border: 5px solid #1c69d4;
  border-color: #1c69d4 transparent transparent transparent;
  animation: lds-ring 1.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
.lds-ring > div:nth-child(2) {
  animation-delay: .19s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dealer-section, .map-section {
  position: relative;
  width: 50%;
  display: inline-block;
  vertical-align: top;
}

.dealer-section {
  font-size: 0;
}

.area-chosen {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 44%;
  font-size: .8rem;
}
.area-chosen > span {
  display: block;
  font-weight: 700;
}
.area-chosen .select-style {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 50%;
  padding: 0;
  margin: 10px 0 0 0;
  border: 2px solid #bababa;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.area-chosen .select-style:before, .area-chosen .select-style:after {
  position: absolute;
  content: '';
  width: 3px;
  height: 10px;
  top: 50%;
  right: 13px;
  background: #656565;
  transform: rotate(-45deg) translateY(-50%);
}
.area-chosen .select-style:before {
  right: 15px;
  transform: rotate(45deg) translateY(-50%);
}
.area-chosen .select-style select {
  font-size: .7rem;
  padding: 5px 8px 5px 10px;
  width: 100%;
  color: #666;
  border: none;
  box-shadow: none;
  background-color: transparent;
  background-image: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  cursor: pointer;
}
.area-chosen .select-style select:focus {
  outline: none;
}
.area-chosen .btn-getPosition {
  display: inline-block;
  width: 34px;
  height: 34px;
  cursor: pointer;
  margin-top: 10px;
  background-color: #1a69d4;
  background-image: url(../img/cursor-arrow.svg);
  background-repeat: no-repeat;
  background-size: 75%;
  background-position: 35% 40%;
}

ul.classification {
  position: relative;
  width: 100%;
  margin: 20px 0 0 0;
  padding: 0;
  list-style: none;
}
ul.classification li {
  padding: 0;
  display: block;
  margin: 10px 0;
}
ul.classification p.geolocationNAhint {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  width: calc(100% - 20px);
  height: 100%;
  line-height: 1rem;
  background: rgba(255, 255, 255, 0.9);
  font-size: .7rem;
  color: #999;
  padding-left: 20px;
  transition: 0.3s;
}
ul.classification p.geolocationNAhint.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}
ul.classification p.geolocationNAhint:before {
  position: absolute;
  content: '';
  top: 3px;
  left: 0;
  width: 0;
  height: 0;
  border-right: 7px solid transparent;
  border-bottom: 12.124px solid #999;
  border-left: 7px solid transparent;
}

ul.dealers-classification {
  width: 75%;
  margin: 0 0 0 10%;
  list-style: none;
}
ul.dealers-classification li {
  margin: 5px 0;
}

.radioBtn {
  display: none;
  outline: none;
}
.radioBtn + label {
  position: relative;
  cursor: pointer;
  padding: 0;
  vertical-align: top;
  color: #666;
  line-height: 21px;
  font-size: .7rem;
  font-weight: 700;
}
.radioBtn + label span {
  position: relative;
  display: inline-block;
  width: 15px;
  height: 5px;
  vertical-align: middle;
  margin-right: 5px;
  cursor: pointer;
  transform: rotate(-90deg);
}
.radioBtn + label span:before, .radioBtn + label span:after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  width: 50%;
  height: 100%;
  background: #bababa;
}
.radioBtn + label span:before {
  left: 0;
  transform: skew(0deg, 35deg);
}
.radioBtn + label span:after {
  right: 0;
  transform: skew(0deg, -35deg);
}
.radioBtn:checked + label {
  color: #1a69d4;
}
.radioBtn:checked + label span:before, .radioBtn:checked + label span:after {
  background: #1a69d4;
}
.radioBtn + label span, .radioBtn:checked + label span {
  transition: .3s;
}
.radioBtn + label span:before, .radioBtn + label span:after, .radioBtn:checked + label span:before, .radioBtn:checked + label span:after {
  transition: background 0.3s;
}

.radioBtn[disabled] {
  cursor: default;
}
.radioBtn[disabled] + label {
  color: #ccc;
  cursor: default;
}
.radioBtn[disabled] + label span:before, .radioBtn[disabled] + label span:after {
  background: #ccc;
}

.checkbox {
  position: relative;
  display: none;
  outline: none;
}
.checkbox + label {
  position: relative;
  cursor: pointer;
  padding: 0;
  vertical-align: top;
  color: #666;
  line-height: 21px;
  font-size: .7rem;
  font-weight: 700;
}
.checkbox + label:before {
  content: '';
  margin-right: 10px;
  display: inline-block;
  vertical-align: top;
  width: 15px;
  height: 15px;
  background: white;
  border: 2px solid #bababa;
}
.checkbox:checked + label {
  color: #1a69d4;
}

.checkbox:focus + label:before,
.checkbox:hover + label:before {
  background: #fff;
}

.checkbox:checked + label:before {
  background: #fff;
  color: #1a69d4;
  border: 2px solid #1a69d4;
}

.checkbox.disabled + label,
.checkbox[disabled] + label {
  cursor: default;
  color: #aaa;
}

.checkbox.disabled + label:before,
.checkbox[disabled] + label:before {
  box-shadow: none;
  background: #ddd;
}

.checkbox:checked + label:after {
  color: #1a69d4;
  content: '';
  position: absolute;
  left: 7px;
  top: 3px;
  width: 3px;
  height: 4px;
  box-shadow: 0px 3px 0 #1a69d4, 3px 0 0 #1a69d4, 3px 3px 0 #1a69d4, 0px 3px 0 #1a69d4, 3px -3px 0 #1a69d4;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  background: white;
}

.dealer-list-area {
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 55%;
  height: 535px;
  font-size: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
  overflow-y: auto;
}
.dealer-list-area span.area-title {
  display: block;
  width: 90%;
  font-size: .9rem;
  font-weight: 700;
  padding-bottom: 5px;
  margin-bottom: 10px;
  border-bottom: 4px solid #bababa;
}

.scroll-down {
  display: none;
  position: absolute;
  width: 50%;
  height: 30px;
  right: 5%;
  bottom: 0;
  background: white;
  cursor: pointer;
}
.scroll-down > span {
  display: block;
  position: absolute;
  width: 17px;
  height: 4px;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: arrowMove 3s infinite;
}
.scroll-down > span:before, .scroll-down > span:after {
  content: '';
  position: absolute;
  display: block;
  top: 0;
  width: 50%;
  height: 100%;
  background: #1a69d4;
}
.scroll-down > span:before {
  left: 0;
  transform: skew(0deg, 35deg);
}
.scroll-down > span:after {
  right: 0;
  transform: skew(0deg, -35deg);
}

@keyframes arrowMove {
  0% {
    margin-top: 0;
  }
  20% {
    margin-top: 10px;
    opacity: 0;
  }
  25% {
    margin-top: -10px;
    opacity: 0;
  }
  45%,
  100% {
    margin-top: 0;
    opacity: 1;
  }
}
ul.dealer-list {
  width: 100%;
  display: block;
  font-size: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
ul.dealer-list > li {
  width: 90%;
  padding: 10px 0 10px 10px;
  border-left: 4px solid #fff;
  font-size: .7rem;
  transition: .3s;
  color: #333;
}
ul.dealer-list > li:not(:last-child) {
  border-bottom: 1px solid rgba(186, 186, 186, 0.5);
}
ul.dealer-list > li:hover:not(.notAvailable), ul.dealer-list > li.active:not(.notAvailable) {
  cursor: pointer;
  border-left: 4px solid #1a69d4;
}
ul.dealer-list > li.active {
  cursor: initial;
}
ul.dealer-list > li.notAvailable {
  font-size: .7rem;
  color: #666;
  line-height: 1rem;
  border-bottom: none;
}
ul.dealer-list > li > span {
  display: block;
  margin: 9px 0;
}
ul.dealer-list > li .name {
  font-size: .8rem;
  font-weight: 700;
}
ul.dealer-list > li .time {
  display: none;
}
ul.dealer-list > li .time.active {
  display: block;
}
ul.dealer-list > li ul.special {
  padding: 5px 0 0;
  font-size: 0;
}
ul.dealer-list > li ul.special li {
  display: inline-block;
  font-size: .7rem;
  height: 17px;
  line-height: 17px;
  margin-right: 5px;
  color: #6e6e6e;
}
ul.dealer-list > li ul.special li.dealer-m img {
  width: 35px;
}
ul.dealer-list > li ul.special li.dealer-i img {
  width: 15px;
}
ul.dealer-list > li a.navigation {
  display: block;
  width: 80px;
  height: 17px;
  font-size: 0;
  margin-top: 9px;
}
ul.dealer-list > li a.navigation:link, ul.dealer-list > li a.navigation:visited {
  color: #6e6e6e;
}
ul.dealer-list > li a.navigation:hover, ul.dealer-list > li a.navigation:active {
  color: #bababa;
}
ul.dealer-list > li a.navigation:hover img, ul.dealer-list > li a.navigation:active img {
  opacity: .5;
}
ul.dealer-list > li a.navigation img {
  display: inline-block;
  width: 15px;
}
ul.dealer-list > li a.navigation span {
  display: inline-block;
  vertical-align: top;
  font-size: .65rem;
  letter-spacing: 1px;
  margin: 2px 0 0 5px;
}

.map-section {
  font-size: 1rem;
}

#map {
  width: 100%;
  height: 500px;
}

.map_info_name {
  font-weight: 700 !important;
  font-size: 1.1em !important;
}

ul.map_icon_info {
  width: 100%;
  display: block;
  font-size: 0;
  margin-top: 15px;
  text-align: right;
}
ul.map_icon_info li {
  width: 80px;
  height: 20px;
  line-height: 20px;
  display: inline-block;
  font-size: .6rem;
  letter-spacing: 1px;
  color: #666;
  padding-left: 25px;
  vertical-align: top;
  text-align: left;
}
ul.map_icon_info li:nth-child(1) {
  background: url(../img/marker/dealer.png) left center/contain no-repeat;
}
ul.map_icon_info li:nth-child(2) {
  background: url(../img/marker/service.png) left center/contain no-repeat;
}
ul.map_icon_info li:nth-child(3) {
  width: 150px;
  background: url(../img/marker/usedcar.png) left center/contain no-repeat;
}
