#age-errors {display:none;}
#age-errors .agegateTitle {color:#0b3a79;}
#age-errors p { margin-top:20px; color: white;}
.age-modalDialog {display:none; }
.age-modalDialog:target {
  display:block;
}
.age-modalDialog:target  .age-success { display:block;}
.buttonWrap {
  margin-top: 2vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.buttonWrap.hsb{
  left: -2vw;
  position: relative;
}
.buttonWrap > a {
  background: #007ac7;
  border-radius: 4px;
  color: #fff;
  display: inline-block;
  max-height: 46px;
  padding:14px 20px;
  text-transform: uppercase;
  min-width:160px;
  margin:10px 0 0 20px;
  text-align:center;
  text-decoration:none;
  cursor:pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
  border-radius: 7px;
}
.buttonWrap > a.confirm{
  color: #007ac7;
  background: #fff;
  border: 1px solid #007ac7;
  display: flex;
  justify-content: center;
  align-items: center;
}
.age-modal-prompt {
  background: #007ac7;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 40vw;
  height: auto;
  margin: 0 auto;
  padding: 40px 50px 35px;
  position: relative;
  top: 33%;
  z-index: 1000000;
  text-align:center;
}
.border_wrap {
    padding-bottom: 1vw;
}
#prompt-background , .age-overlay{
  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{
  position: absolute;
  right: 15px;
  top: 25px;
  cursor: pointer;
}
.close-btn span{
  width: 32px;
  height: 5px;
  cursor: pointer;
  background: white;
  display: block;
  transform: rotate(-45deg) translateY(50%);
  margin-bottom: -1px;
}
.close-btn span:last-child{
  transform: rotate(45deg) translateY(-50%);
}
#age-check-prompt .agegateTitle, #hsb_desc .leavingMessage{
  font-size:1.6em;
  margin:0;
  color: #fff;
  top: 2vw;
  position: relative;
  font-family: lato, sans-serif;
  font-style: normal;
  font-weight: 800;
}
#age-check-prompt #age-errors .errorMessage {
  top: 0;
  color: #fff;
  font-family: lato, sans-serif;
  font-style: normal;
  font-weight: 800;
}
.hasbro_logo{
  background: url(/images/hasbroLogo.png);
}
.age-modalDialog ul li, .age-modalDialog select {
  background: #e3ebee;
  height:50px;
  color:#323a40;
  border:none;
  outline:none;
  display: inline-block;
  -webkit-appearance:none;
  -moz-appearance:none;
  appearance:none;
  cursor:pointer;
  font-size:18px;
  border-radius:3px;
  text-transform: uppercase;
}
.age-modalDialog select { width:130px; margin:0 2px;}
.age-modalDialog ul {
  margin-top: 3.5vw;
  padding: 0;
  display: flex;
  justify-content: center;
}
.age-modalDialog ul li {list-style-type:none; display:inline-block; margin-right:20px; padding:0 10px;  margin-top:10px;}
.age-modalDialog ul li:last-child{
   margin-right: 0px;
}
.age-modalDialog label.custom-select {
  position: relative;
  display: inline-block;
}
.age-modalDialog .custom-select select {
  padding: 4px 3px 3px 14px;
}
/* Select arrow styling */
.age-modalDialog .custom-select:after {
  content: "";  /* Current arrow I would like to change */
  position: absolute;
  top: 42%;
  right: 0;
  bottom: 0;
  font-size: 60%;
  line-height: 30px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 7.5px 0 7.5px;
  border-color: #323a40 transparent transparent transparent;
  pointer-events:none;
}
select::-ms-expand {
    display: none;
}
#hsb_content{
  display: flex;
  align-items: flex-start;
}
#hsb_content .leave_hasbro_logo{
  margin-left: -70px;
  width: 110px;
  min-width: 110px;
}
.hsb_brand_logo{
  display: none;
}
#hsb_desc{
  margin-left: 70px;
  text-align: left;
}
#hsb_desc .leavingMessage{
  text-align: left;
  text-transform: inherit;
  margin-bottom: 15px;
  top: 0;
}
#hsb_desc p{
  margin-bottom: 10px;
  color: white;
  width: 22vw;
}
#continueExternal{
  margin-left: 0;
}
@media only screen and (min-width: 260px) and (max-width: 767px) {
  #age-check-prompt .agegateTitle, #age-check-prompt #age-errors .errorMessage, #hsb_desc .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{
    width: 100%;
    font-size: 15px;
  }
}

@media only screen and (min-width: 260px) and (max-width: 773px) and (orientation : landscape){
  .age-modal-prompt{
    width: 70%;
  }
  .age-modalDialog select{
    width: 110px;
    margin: 0 1px;
  }
  .age-modalDialog .custom-select:after{
    right: 5px;
  }
}
@media (max-width: 767px){
  .age-modal-prompt{
    width: 85vw;
    top: 22%;
    max-height: 95vh;
    padding: 20px;
  }
  .age-modal-prompt.hsb{
    top: 10%;
  }
  #hsb_desc{
    margin-left: 5px;
    margin-top: 15px;
  }
  #hsb_content{
    flex-direction: column;
  }
  #hsb_content .leave_hasbro_logo{
    width: 80px;
    min-width: 80px;
    margin-top: -30px;
    margin-left: -10px;
  }
  .buttonWrap{
    margin: 0 auto;
    margin-top: 40px;
    width: 80%;
    display: flex;
    flex-direction: column-reverse;
  }
  .buttonWrap > a{
    width: 100%;
    margin-right: 0;
  }
  .buttonWrap.hsb{
    display: flex;
    flex-direction: column;
  }
  #hsb_desc .leavingMessage{
    text-align: center;
    padding-bottom: 3vw;
  }
  #age-success,#age-errors{
    padding-top: 40px;
    padding-bottom: 20px;
  }
  #age-check-prompt .agegateTitle, #age-check-prompt #age-errors .errorMessage, #hsb_desc .leavingMessage{
    width: 70%;
    margin: 0 auto;
  }
}
@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: 25px;
  }
  .age-modal-prompt{
    top: 8%;
  }
  .age-modal-prompt.hsb{
    top: 3%;
  }
}
@media (min-width: 768px) and (max-width: 1365px){
  .age-modal-prompt{
    width: 80vw;
  }
  #hsb_desc p{
    width: 100%;
  }
}
@media (min-width: 1366px) and (max-width: 1504px){
  .age-modal-prompt{
    top: 16%;
  }
}
