.type-37 {
  height: 100px;
  background-color: #0a519e;
}

.type-37 ul {
  display: block;
  height: 100%;
  font-size: 0;
  text-align: center;
}

.type-37 ul li {
  display: inline-block;
  vertical-align: top;
  width: 287px;
  height: 100%;
}

.type-37 ul li a {
  height: 100%;
  opacity: 0.5;
  background-color: transparent;
  -webkit-transition: opacity 0.4s ease;
  -moz-transition: opacity 0.4s ease;
  -o-transition: opacity 0.4s ease;
  transition: opacity 0.4s ease;
  display: -webkit-flex;
  display: flex;
  justify-content: center;
  -webkit-justify-content: center;
  align-items: center;
  -webkit-align-items: center;
}

.type-37 ul li a:hover {
  opacity: 0.9;
}

.type-37 ul li a:hover:before {
  bottom: 2px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.type-37 ul li .border {
  display: block;
  position: absolute;
  bottom: -5px;
  left: 11px;
  right: 11px;
  border-top: 4px solid #ffffff;
  -webkit-transition: bottom 0.4s ease;
  -moz-transition: bottom 0.4s ease;
  -o-transition: bottom 0.4s ease;
  transition: bottom 0.4s ease;
}

.type-37 ul li .border:before,
.type-37 ul li .border:after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
}

.type-37 ul li .border:before {
  left: -12px;
  border-width: 0 12px 4px 12px;
  border-color: transparent transparent #ffffff transparent;
}

.type-37 ul li .border:after {
  right: -12px;
  border-width: 0 12px 4px 12px;
  border-color: transparent transparent #ffffff transparent;
}

.type-37 ul li.active .border {
  bottom: 2px;
}

.type-37 ul li.active a {
  opacity: 1;
}

.type-37 ul li:hover .border {
  bottom: 2px;
}

.type-37 ul li:hover a {
  opacity: 1;
}

.type-37.v1 {
  height: 60px;
  background-color: #0d4786;
}

.type-37.v1 ul li {
  width: 207px;
}

.type-37.v1 ul li .lnk-05 {
  font-size: 13px;
}

.type-37.v1 ul li .border {
  bottom: -2px;
  border-top: 2px solid #ffffff;
}

.type-37.v1 ul li .border:before {
  left: -4px;
  border-width: 0 4px 2px 4px;
}

.type-37.v1 ul li .border:after {
  right: -4px;
  border-width: 0 4px 2px 4px;
}

.type-37.v1 ul li.active .border {
  bottom: 0;
}

@media all and (max-width: 767px) {
  .type-37 {
    height: 60px;
    padding: 0 0 0 35px;
  }

  .type-37 .gridWrapper {
    padding: 0 0;
  }

  .type-37 ul {
    text-align: left;
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
  .type-37 ul::-webkit-scrollbar {
    display: none;
  }
  .type-37 ul li {
    width: auto;
    margin-right: 35px;
  }

  .type-37 ul li .border {
    display: none;
  }

  .type-37 ul li:hover a {
    opacity: 0.5;
  }

  .type-37.v1 ul li {
    width: auto;
  }
}

@media all and (min-width: 768px) and (max-width: 1023px) {
  .type-37 {
    height: 70px;
  }

  .type-37 ul li {
    width: 200px;
  }
}

@media all and (min-width: 1024px) and (max-width: 1199px) {
  .type-37 {
    height: 70px;
  }

  .type-37 ul li {
    width: 200px;
  }
}

@media all and (min-width: 1200px) and (max-width: 1399px) {
  .type-37 {
    height: 80px;
  }

  .type-37 ul li {
    width: 250px;
  }
}

@media all and (min-width: 1400px) and (max-width: 1599px) {
  .type-37 {
    height: 80px;
  }

  .type-37 ul li {
    width: 250px;
  }
}
