.bon-agepopup {
  display: none;
  position: absolute;
  top: 50%;
  right: 50%;
  padding: 0;
  left: 50%;
  margin: 0 !important;
  width: 100%;
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

#bon-agepopup-adv .bon-agepopup-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 30px;
  height: 30px;
  cursor: pointer;
  color: #fff !important;
  z-index: 2;
  background: none;
  text-align: center;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#bon-agepopup-adv .bon-agepopup-close:hover,
#bon-agepopup-adv .bon-agepopup-dont:hover {
  color: #ccc !important;
}

.bon-agepopup-close:before {
  content: "✖";
  display: block;
  font-size: 17px;
  line-height: 30px;
}

#bon-agepopup-adv .bon-agepopup-dont {
  position: absolute;
  right: 5px;
  font-size: 11px;
  bottom: 5px;
  color: #fff !important;
  -moz-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

#bon-agepopup-adv .bonagegate-content h3 {
  font-size: calc(15px + (40 - 15) * ((100vw - 320px) / (1880 - 320)));
  margin-bottom: calc(5px + (15 - 5) * ((100vw - 320px) / (1880 - 320)));
  line-height: 120%;
  color: #505050;
  font-weight: 400;
}

#bon-agepopup-adv .bonagegate-content p {
  font-size: calc(10px + (20 - 10) * ((100vw - 320px) / (1880 - 320)));
  margin-bottom: calc(10px + (30 - 10) * ((100vw - 320px) / (1880 - 320)));
  line-height: 150%;
  color: #7a7a7a;
}

#bon-agepopup-adv .bonagegate-content p span {
  color: #505050;
}

.bon-agepopup-link {
  display: block;
}

#bon-agepopup-adv .bonagegate-wrapper {
  padding: 20px;
  max-width: 570px;
  width: 100%;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}

.bon-agepopup .bonagegate-content {
  margin-bottom: 20px;
}

.bon-agepopup .bon-agepopup .bonagegate-wrapper .bonagegate-content p {
  color: #fff;
  font-size: 1.5rem;
  margin: 0 0 7px 7px;
}


.bon-agepopup-inner {
  height: 100%;
  position: relative;
}

.bon-agepopup-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

#meerkat-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 15px;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-month,
.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-day,
.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-year {
  margin-bottom: 15px;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .list {
  max-height: 200px;
  overflow-y: auto;
  width: 100%;
  padding: 10px 10px 0 10px;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .list li {
  line-height: 150%;
  margin-bottom: 10px;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .nice-select span {
  display: inline-block;
  height: 100%;
  display: flex;
  align-items: center;
  line-height: 150%;
}
#bon-agepopup-submit {
  height: 100%;
}
.bon-agepopup .bon-agepopup-form .bon-agepopup-submit-wrapper {
  margin-bottom: 15px;
  margin-left: 15px;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-month {
  width: calc(100px + (130 - 100) * ((100vw - 320px) / (1880 - 320)));
  color: inherit;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-day {
  width: calc(50px + (65 - 50) * ((100vw - 320px) / (1880 - 320)));
  color: inherit;
}

.bon-agepopup .bonagegate-wrapper .bon-agepopup-form .bon-agepopup-year {
  width: calc(70px + (90 - 70) * ((100vw - 320px) / (1880 - 320)));
  color: inherit;
}


.bon-agepopup .bonagegate-wrapper .bon-agepopup-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

#meerkat-wrap-age.active {
  display: none;
}

.bon-agepopup-form ::-webkit-scrollbar {
  background-color: transparent;
  width: 2px;
}

.bon-agepopup-form ::-webkit-scrollbar-thumb {
  background-color: #656565;
}

.bon-agepopup-year.nice-select {
  margin-right: 0;
}

body.hidden {
  overflow: hidden;
}

@media screen and (max-width: 575px) {
  .bon-agepopup .bon-agepopup-form .bon-agepopup-submit-wrapper {
    flex-basis: 100%;
    margin-left: 0;
  }
}