#age-errors,#age-errorsesbk {
  display:none;
  width: 100%;
  position: relative;
  top: 20px;
}
#age-errors h1,#age-errorsesbk h1 {color:#0b3a79;}
#age-errors p,#age-errorsesbk p { 
  color: #EF508A;
  font-size: 1.823vw;
  font-family: 'Spring Chicken W05 Regular';
  margin: 0 auto;
  margin-top: 20px;
  line-height: 2.604vw;
}
.age-modalDialog {display:none; }
#age-errors h1 {color: #004264}

.age-modalDialog:target {
  display:block;
}
.age-modalDialog:target  .age-success { display:block;}
.buttonWrap {
  margin-top: 2vw;
  margin-bottom: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (min-width: 1025px){
  .age-modalDialog:target  .age-success { display:block;}
.buttonWrap{
    margin-top: 0;
  }
}
.buttonWrap.hsb{
  left: 0;
  position: relative;
}
@media (min-width: 1112px){
  .buttonWrap.hsb{
    /* top: -0.5vw; */
  }
}
.buttonWrap > a {
  color: #fff;
  padding: 11.5px 20px;
  text-transform: uppercase;
  width: 156px;
  margin: 10px 0 0 20px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  font-size: 1.2vw;
  font-family: 'Spring Chicken W05 Regular';
  display: flex;
  justify-content: center;
  align-items: center;
  background-image: url(/images/eb-26-misc/CTA.png);
  background-size: 100% 100%;
}
.buttonWrap #button-okesbk {
  color: #ffffff;
  background: #E10787;
  border: 1px solid #E10787;
}
.age-modal-prompt {
  width: 51.510vw;
  height: 28.646vw;
  margin: 0 auto;
  position: relative;
  top: 26%;
  z-index: 1;
  text-align: center;
  background-image: url(/images/eb-26/bumper-frame.png);
  background-size: 100% 100%;
}
.border_wrap {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
}
@media (max-width: 1112px) {
.border_wrap {
    width: 90%;
  }
}

#prompt-background , .age-overlay, #prompt-backgroundesbk{
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999999;

}
.age-overlay{
 background:  #555;
 -webkit-background-size: cover;
 -moz-background-size: cover;
 -o-background-size: cover;
 background-size: cover;
 z-index: 9999999;
 opacity:0.9;
}
.close-btn{
  cursor: pointer;
  width: 3.385vw;
  height: 3.385vw;
  background: url(../images/eb-26-misc/popup-close.png) no-repeat;
  background-size: 100% 100%;
  position: absolute;
  top: -90px;
  right: 0;
}
.close-btn span{
  display: none;
}
#age-check-prompt .agegateTitle, #age-check-promptesbk .agegateTitle  {
  font-family: 'Lemon Yellow Sun W05 Bold';
  font-size: 2.083vw;
  color: #EF508A;
  text-transform: unset;
  padding: 20px;
  font-weight: 400;
}
#age-check-prompt #age-errors .errorMessage, #age-check-promptesbk #age-errorsesbk .errorMessage  {
  color: #EF508A;
  text-transform: unset;
  font-family: 'Lemon Yellow Sun W05 Regular';
  font-size: 2.083vw;
  margin: 0 auto;
  line-height: 2.604vw;
}
.hasbro_logo{
  background: url(/images/hasbroLogo.png);
}
.age-modalDialog ul li, .age-modalDialog select {
  background: #e3ebee;
  height: 52px;
  color: #EF508A;
  border: none;
  outline: none;
  display: inline-block;
  appearance: none;
  font-size: 1.823vw;
  text-transform: capitalize;
  font-family: 'Spring Chicken W05 Regular';
  -webkit-appearance:none;
  -moz-appearance:none;
}
.age-modalDialog select {width: 100%;margin:0 2px;}
.age-modalDialog ul {
  margin-top: 2vw;
  padding: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  width: 95%;
  margin: 0 auto;
}
.age-modalDialog ul li:nth-child(1){
  width: 100%;
  margin-top: 20px;
}
.age-modalDialog ul li:nth-child(2){
  width: 68%;
  margin-top: 20px;
}
.age-modalDialog ul li:nth-child(3){
  width: 29%;
  margin-top: 20px;
}
.age-modalDialog ul li {
  border-radius: 10px;
  text-align: left;
  position: relative;
}
.age-modalDialog ul li:last-child{
   margin-right: 0px;
}
.age-modalDialog label.custom-select {
  display: inline-block;
  width: 100%;
}
.age-modalDialog .custom-select select {
  padding: 4px 3px 3px 14px;
}
.custom-select select option{
  font-family: 'Spring Chicken W05 Regular';
}

/* Select arrow styling */
.age-modalDialog .custom-select:after {
 content: "";
  position: absolute;
  top: 42%;
  right: 15px;
  bottom: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 8px 0 8px;
  border-color: #EF508A transparent transparent transparent;
  pointer-events: none;
}
select::-ms-expand {
    display: none;
}
#hsb_container{
  position: relative;
  top: 20px;
}
#hsb_content, #hsb_contentesbk{
  display: flex;
  align-items: flex-start;
}
#hsb_contentesbk .leave_hasbro_logo{
  margin-left: -70px;
  width: 110px;
  min-width: 110px;
  display: none;
}
#hsb_content .leave_hasbro_logo {
  display: none;
}
.hsb_brand_logo{
  display: none;
}
#hsb_desc, #hsb_descesbk{
  text-align: center;
  width: 100%;
}
#hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #EF508A;
  text-transform: unset;
  font-family: 'Lemon Yellow Sun W05 Regular';
  font-size: 2.083vw;
  margin: 0 auto;
  line-height: 2.604vw;
  padding-bottom: 12px
}
#hsb_desc p,#hsb_descesbk p{
  font-family: 'Spring Chicken W05 Regular';
  margin: 0 auto;
  color: #EF508A;
  font-size: 1.3020833333333335VW;
  line-height: 2.083vw;
}
#hsb_desc p:first-child {
  margin-top: 30px;
}
#continueExternal{
  margin-left: 0;
}
@media (max-width: 1366px) {
  .age-modal-prompt{
    width: 55vw;
    top: 15%;
  }
  #age-check-prompt .agegateTitle, #age-check-promptesbk .agegateTitle {
    height: 5vw;
    font-size: 2vw;
  }
  .buttonWrap > a.confirm {
    font-size: 1.2vw;
  }
  .buttonWrap > a {
    font-size: 1.2vw;
  }
  .age-modalDialog ul {
    padding: 0 20px;
  }
  .close-btn.ageError {
    top: -60px;
  }
}

@media (max-width: 1024px){
  .age-modal-prompt{
    width: 55.51vw;
    height: 45.646vw;
    top: 50%;
    transform: translateY(-50%);
  }
  #hsb_desc p, #hsb_descesbk p{
    font-size: 2.5vw;
    width: 80%;
  }
  #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage{
    height: 7vw;
    font-size: 3vw;
  }
  .close-btn  {
    width: 4vw;
    height: 4vw;
    top: -60px;
  }
  .close-btn.ageError {
    width: 4vw;
    height: 4vw;
    top: -60px;
  }
  .buttonWrap > a {
    font-size: 2vw;
  }
  .buttonWrap > a.confirm {
    font-size: 2vw;
  }
  #age-check-prompt .agegateTitle, #age-check-promptesbk .agegateTitle {
    height: 7vw;
    font-size: 3vw;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
  }
  #age-check-prompt #age-errors .errorMessage, #age-check-promptesbk #age-errorsesbk .errorMessage {
    font-size: 3vw;
    width: 60%;
    padding-top: 50px;
    line-height: 4vw;
  }
  #age-errors p, #age-errorsesbk p {
    width: 70%;
    font-size: 2.5vw;
  }
}
@media (width: 1112px) {
  .close-btn {
    top: -45px;
    width: 3vw;
    height: 3vw;
  }
  #hsb_desc p, #hsb_descesbk p {
    font-size: 1.8vw;
  }
  #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage {
    font-size: 2vw;
  }
}
@media (max-width: 1024px) and (orientation: landscape) {
  .close-btn.ageError {
    top: -0.7vw;
    right: -5vw;
    width: 4vw;
    height: 4vw;
  }
  .close-btn {
    top: -0.7vw;
    right: -5vw;
  }
}
@media (width: 812px) {
  .close-btn {
    top: -35px;
  }
  #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage {
    height: 5vw;
    font-size: 2vw;
    margin-bottom: 10px;
  }
  #hsb_desc p, #hsb_descesbk p {
    font-size: 1.5vw;
    margin-bottom: 10px;
  }
  .buttonWrap > a {
    height: 35px;
  }
  .close-btn.ageError {
    width: 7vw;
    height: 7vw;
    top: -30px;
  }
}
@media (width: 812px) and (orientation:landscape){
  .close-btn {
    top: 0.6vw;
    right: -5vw;
  }
  .close-btn.ageError {
    width: 3vw;
    height: 3vw;
    top: 3px;
    right: -4vw;
}
}
@media only screen and (min-width: 260px) and (max-width: 767px) {
  #age-check-prompt .agegateTitle, #age-check-promptesbk .agegateTitle, #age-check-prompt #age-errors .errorMessage, #age-check-promptesbk #age-errorsesbk .errorMessage, #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage{
    font-size: 18px;
  }
  .age-modal-prompt{
    top:10%;
  }
  .buttonWrap > a {
    margin:10px 6px 0 0;
    padding: 12px 9px;
    max-width: 130px;
  }
  .age-modalDialog ul li{
    padding: 0 0;
    margin-right: 4px;
  }
  .age-modalDialog ul{
    margin-top: 8vw;
    display: block;
  }
  #hsb_desc p, #hsb_descesbk p{
    width: 100%;
    font-size: 15px;
    padding: 0 10px;
    margin-bottom: 20px;
  }
}
@media only screen and (min-width: 260px) and (max-width: 773px) and (orientation : landscape){
  .age-modal-prompt{
    width: 70%;
  }
  .age-modalDialog select{
    margin: 0 1px;
  }
  .age-modalDialog .custom-select:after{
    right: 5px;
  }
}
@media (max-width: 767px){
  .age-modal-prompt{
    width: 85vw;
    top: 22%;
    max-height: 95vh;
  }
  .age-modal-prompt.hsb{
    top: 52%;
  }
  #hsb_contentesbk .leave_hasbro_logo {
    width: 80px;
    min-width: 80px;
    margin-top: -30px;
    margin-left: -10px;
  }
  #hsb_content .leave_hasbro_logo {
    display: none;
  }
  .buttonWrap{
    margin: 0 auto;
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
  }
  .buttonWrap > a{
    width: 100%;
    margin-right: 0;
  }
  .buttonWrap.hsb{
    display: flex;
  }
  #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage{
    text-align: center;
    height: 15vw;
  }
  #age-success, #age-errors, #age-successesbk,  #age-errorsesbk{
    padding-bottom: 20px;
  }
  #age-check-prompt .agegateTitle, #age-check-prompt #age-errors .errorMessage, #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage{
    width: 100%;
    margin: 0 auto;
    margin-bottom: 10px;
  }
  #age-check-prompt #age-errors .errorMessage {
    padding-top: 50px;
  }
  .buttonWrap > a {
    font-size: 4vw;
  }
  .buttonWrap > a.confirm {
    font-size: 4vw;
  }
  .close-btn {
    width: 7vw;
    height: 7vw;
    top: -45px;
  }
  .close-btn.ageError {
    width: 15vw;
    height: 15vw;
    top: -45px;
  }
  .age-modalDialog ul li:nth-child(1){
    width: 70%;
  }
  .age-modalDialog ul li:nth-child(2){
    width: 70%;
  }
  .age-modalDialog ul li:last-child{
    width: 70%;
  }
  #age-errors p, #age-errorsesbk p {
    width: 60vw;
    font-size: 4vw;
  }
}
@media (max-width: 767px) and (orientation: landscape){
  .buttonWrap.hsb, .buttonWrap{
    flex-direction: row;
    margin: 0 auto;
    justify-content: space-evenly;
    top: -1vw;
  }
  .buttonWrap{
    margin-top: 10px;
  }
  .age-modal-prompt{
    top: 8%;
  }
  .age-modal-prompt.hsb{
    top: 53%;
  }
  #hsb_desc .leavingMessage, #hsb_descesbk .leavingMessage {
    height: 7vw;
  }
  .buttonWrap > a {
    font-size: 2vw;
    height: 40px;
  }
  .buttonWrap > a.confirm {
    font-size: 2vw;
  }
  .age-modal-prompt {
    max-height: 88vh;
  }
  #hsb_desc p, #hsb_descesbk p {
    font-size: 14px;
    margin-bottom: 10px;
  }
  .close-btn {
    width: 3vw;
    height: 3vw;
    top: 0vw;
    right: -4vw;
  }
  #age-check-prompt .agegateTitle, #age-check-promptesbk .agegateTitle {
    padding: 0;
    display: flex;
    height: 45px;
    justify-content: center;
    align-items: center;
  }
  .age-modalDialog ul {
    margin-top: 2vw;
  }
  .close-btn.ageError {
    width: 10vw;
    height: 10vw;
    top: -30px;
  }
  #age-errors p, #age-errorsesbk p {
    font-size: 3vw;
  }
}
#age-success::before, 
#age-errors::before {
  content: "";
  width: 8vw;
  height: 6vw;
  position: absolute;
  top: -3.5vw;
  left: -10vw;
  background-image: url(/images/eb-26/bumper-top-left.png);
  background-size: 100% 100%;
}
#age-success::after, 
#age-errors::after {
  content: "";
  width: 8vw;
  height: 6vw;
  position: absolute;
  top: -3.5vw;
  right: -10vw;
  background-image: url(/images/eb-26/bumper-top-right.png);
  background-size: 100% 100%;
}
#hsb_container::before {
  content: "";
  width: 5vw;
  height: 4vw;
  position: absolute;
  top: -0.5vw;
  left: -10vw;
  background-image: url(/images/eb-26/leave-top-left.png);
  background-size: 100% 100%;
}

@media (max-width: 1024px) {
  #hsb_container::before {
  top: -4vw;
  left: 0vw;
  }
}
@media (max-width: 1112px) {
  #hsb_container::before {
    top: -1vw;
    left: -0.2vw;
  }
}

.age-modal-prompt::before {
  content: "";
  width: 6vw;
  height: 5vw;
  position: absolute;
  bottom: 1.5vw;
  right: 2.5vw;
  background-image: url(/images/eb-26/bumper-heart.png);
  background-size: 100% 100%;
}

.buttonWrap.hsb #goBack {
  /* display: none; */
}

@media (max-width: 1440px) {
  #age-success::after {
    top: -1.25vw;
  } 
  #age-errors::after {
    top: -4.25vw;
    right: -11vw;
  }
  #age-success::before {
    top: -1.25vw;
  } 
  #age-errors::before {
    top: -4.25vw;
    left: -11vw;
  }
}
@media(max-width: 1112px) {
  #age-success::after{
    top: 0.75vw;
    right:0;
  } 
  #age-errors::after {
    top: -0.5vw;
    right: 0;
  }
  #age-success::before{
    top: 0.75vw;
    left:0;
  } 
  #age-errors::before {
    top: -0.5vw;
    left:0;
  }
}
@media(max-width: 1112px) and (orientation:landscape) {
  #age-success::after{
    top: 0.75vw;
    right:0;
  } 
  #age-errors::after {
    top: -6.5vw;
    right: 0;
  }
  #age-success::before{
    top: 0.75vw;
    left:0;
  } 
  #age-errors::before {
    top: -6.5vw;
    left:0;
  }
}
@media(max-width: 1112px) and (min-width: 1025px) {
  #age-success::after{
    top: 0.75vw;
    right:0;
  } 
  #age-errors::after {
    top: -6vw;
    right: 0;
  }
  #age-success::before{
    top: 0.75vw;
    left:0;
  } 
  #age-errors::before {
    top: -6vw;
    left:0;
  }
}
@media(max-width: 1024px) {
  #age-errors {
    position: unset;
  }
  #age-success::after, 
  #age-errors::after {
    width: 9vw;
    height: 7vw;
  }
  #age-success::before, 
  #age-errors::before {
    width: 9vw;
    height: 7vw;
  }
  .age-modal-prompt::before {
    width: 7vw;
    height: 6vw;
  }
}

@media(max-width: 1024px) and (orientation: landscape) {
  #age-success::after, 
  #age-errors::after {
    top: -3.5vw;
    right:0;
  }
  #age-success::before, 
  #age-errors::before {
    top: -3.5vw;
    left:0;
  }
  .age-modal-prompt::before {
    bottom: 2vw;
  }
}

/* New agegat styles for Eb-26 */
@media(max-width: 767px) {

  #age-success::after, 
  #age-errors::after {
    width: 20vw;
    height: 15vw;
    top: 5vw;
    right: 4vw;
  }
  #age-success::before, 
  #age-errors::before {
    width: 20vw;
    height: 15vw;
    top: 5vw;
    left: 4vw;
  }
  #hsb_container::before {
    width: 10vw;
    height: 8vw;
    top: 9vw;
    left: 6vw;
  }
  .age-modal-prompt::before {
    width: 15vw;
    height: 12vw;
    bottom: 4.5vw;
    right: 3vw;
  }
  .close-btn.ageError {
    width: 8vw;
    height: 8vw;
  }
  .border_wrap {
    width: auto;
    top: unset;
    left: unset;
    transform: unset;
  }
  #age-success {
    width: 75%;
    padding: 28vw 0 15vw;
    margin: 0 auto;
  }
  #age-check-prompt .agegateTitle {
    font-size: 23px;
  }
  .age-modal-prompt {
    max-height: unset;
    height: auto;
  }
  #age-success ul {
    padding: unset;
    margin-top: unset;
  }
  .age-modalDialog ul li:nth-child(1){
    width: 100%;
    margin-top: 20px;
  }
  .age-modalDialog ul li:nth-child(2){
    width: 46%;
    margin-top: 20px;
  }
  .age-modalDialog ul li:nth-child(3){
    width: 48%;
    margin-top: 20px;
  }
  .age-modalDialog ul li, .age-modalDialog select {
    height: 45px;
  }
  .age-modalDialog select {
    font-size: 7.5vw;
  }
  .buttonWrap {
    flex-direction: row;
  }
  .buttonWrap #button-exit,
  .buttonWrap .btn.confirm {
    height: unset;
    display: unset;    
    padding: 3vw 8vw;
    width: unset;
    line-height: unset;
    text-transform: capitalize;
    font-size: 5vw;
  }
  .buttonWrap #button-exit {
    margin-right: 2vw;
  }

  /* error bumper */
  #age-errors {
    padding: 20vw 0 12vw;
    width: 80%;
    top: unset;
    margin: 0 auto;
  }
  #age-check-prompt #age-errors .errorMessage {
    padding: unset;
    font-size: 7vw;
    line-height: 9vw;
  }
  #age-errors p {
    font-size: 7vw;
    line-height: 8vw;
  }
  .buttonWrap #button-ok {
    height: unset;
    display: unset;    
    padding: 3vw 13vw;
    width: unset;
    line-height: unset;
    text-transform: capitalize;
    font-size: 5vw;
    max-width: unset;
  }

  /* leaving bumper */
  #hsb_container {
    padding: 22vw 0 14vw;
    top: unset;
  }
  #hsb_desc .leavingMessage {
    width: 70%;
    font-size: 6vw;
    line-height: 8vw;
    font-weight: normal;
  }
  #hsb_desc p {
    width: 80%;
    font-size: 4.7vw;
    margin-bottom: unset;
    line-height: 5.5vw;
  }
  .buttonWrap.hsb #goBack {
    /* display: none; */
    min-width: 155px;
  }
  .buttonWrap.hsb #continueExternal {
    height: unset;
    display: unset;    
    padding: 3vw 10vw;
    width: unset;
    line-height: unset;
    text-transform: capitalize;
    font-size: 5vw;
    max-width: unset;
  }
}

@media(max-width: 767px) and (orientation: landscape) {
  #age-success::after, 
  #age-errors::after {
    width: 14vw;
    height: 9vw;
    top: 4vw;
    right: 3vw;
  }
  #age-success::before, 
  #age-errors::before {
    width: 14vw;
    height: 9vw;
    top: 4vw;
    left: 3vw;
  }
  .age-modal-prompt::before {
    width: 12vw;
    height: 9vw;
  }
  #hsb_container::before {
    width: 6vw;
    height: 5vw;
    top: 4vw;
    left: 4vw;
}
  .close-btn.ageError {
    width: 3vw;
    height: 3vw;
    top: 0vw;
    right: -4vw;
  }
  #age-success {
    width: 55%;
    padding: 10vw 0 4vw;
  }
  #age-check-prompt .agegateTitle {
    font-size: 28px;
  }
  .age-modalDialog select {
    font-size: 3.5vw;
  }
  .buttonWrap{
    width: 100%;
  }
  .buttonWrap #button-exit,
  .buttonWrap .btn.confirm {
    font-size: 3vw;
    padding: 2vw 6vw;
  }

  /* age error  */
  #age-errors {
    padding: 10vw 0 6vw;
    width: 65%;
  }
  #age-check-prompt #age-errors .errorMessage {
    font-size: 4.5vw;
    line-height: 5.5vw;
  }
  #age-errors p {
    font-size: 4.5vw;
    line-height: 5vw;
    width: 50vw;
  }
  .buttonWrap #button-ok {
    font-size: 3vw;
    padding: 2vw 9vw;
  }

  /* hsb bumper */
  #hsb_container {
    padding: 7vw 0 4vw;
  }
  #hsb_desc .leavingMessage {
    font-size: 5vw;
    line-height: 6vw;
    min-height: unset;
    height: unset;
    margin-bottom: unset;
  }
  #hsb_desc p {
    font-size: 3.25vw;
    margin-bottom: unset;
    line-height: 3.5vw;
  }
  .buttonWrap.hsb #continueExternal {
    font-size: 2.5vw;
    padding: 1.5vw 6vw;
    margin-top: 3vw;
  }
}