@charset "utf-8";
body {
  background-color: #000000;
  color: #ffffff;
  background-image: url("/h/_images/aic/games_bg_grades_45.jpg");
  background-repeat: no-repeat;
  background-position: top;
  margin: 0px;
  font-family: starfall_blockregular, Helvetica, sans-serif;
  font-size: 12pt;
  background-attachment: fixed !important;
  overflow-x:hidden;
}
footer{
    /*margin: 7% auto 7em auto;*/
    width: 100%;
    color: #b3b3b3;
    /*max-width: 1200px;*/
    text-align: center;
    font-size: 14px;
    /*display: none;*/
    line-height: 1.1em;
}
.hd footer{
    display: block;
}
.button-label{
    margin-top:-15px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    display: none;
}
.hd .button-label{
    display: block;   
}
.demo a:link {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}
.demo a:visited {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: bold;
}
.demo a:hover {
  color: #7cceff;
  text-decoration: none;
  font-weight: bold;
}
.demo a:active {
  color: yellow;
  text-decoration: none;
  font-weight: bold;
}
#btnContainerFrame {
  text-align: center;
  width: 100%;
  float: left;
  margin-top: -50px;
  /*margin-bottom: 2%;*/
}
#btnContainer {
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
  margin-bottom: 2em;
}
.imgfloat-div {
  width: 100%;
  max-width: 200px;
  padding: 3px;
  display: inline-block;
  vertical-align: top;
}
img.imgfloat-title {
  margin-top: -20px;
}
/*.hd img.imgfloat-title{
    display: none;
}*/
#titleImageContainer {
  width: 100%;
  margin: 0 auto;
  display: block;
  text-align: center;
  padding-top: 10px;
}
#titleImage {
  width: 70%;
  max-width: 300px;
  /*margin-left: -139px;*/
}
img.imgfloat, img.imgfloat-title {
  width: 100%;
}
/* Responsive Designs Below */
@media only screen and (max-width: 900px) {
  .imgfloat-div {
    max-width: 100px;
    padding: 2px;
  }
  #backBtn {
    max-width: 70px;
    max-height: 70px;
    width: 100%;
  }
  #btnContainerFrame {
    margin-top: -40px;
  }
  #titleImage {
    width: 70%;
    margin-left: -70px;
    max-width: 200px;
    margin-bottom: 35px;
  }
  #btnContainer {
    max-width: 600px;
  } 
  img.imgfloat-title {
      margin-top: -5px;
      display: block;
  }
  .infoBtn {
      font-size: 17px !important;
      min-height: 30px !important;
      max-width: 120px;
      text-align: center;
      padding: 6px 2px 2px 2px;
      text-decoration: none;
  }
  #info #infoHeader {
      font-size: 20px !important;
  }
  #info h3, .keyboard-info-btn{
      font-size: 17px !important;
  }
  #info ul {
      font-size: 17px !important;
      line-height: 20px !important;
  }
  #info ul ul li {
      margin-bottom: 20px;
  }
  #infoContainer{
    margin-top: 20px;
  }
  body.aic-english #btnContainer {
    max-width: 520px;
  }    
}
@media only screen and (min-width: 901px) {
  .imgfloat-div {
    max-width: 125px;
  }
  #btnContainer {
    max-width: 600px;
    margin-top: 20px;
  }  
  #btnContainerFrame {
    margin-top: -85px;
  }
  body.aic-english #btnContainer {
    max-width: 770px;
  } 
  body.aic-math #btnContainer {
    max-width: 700px;
  }   
}
@media only screen and (min-width: 1000px) {
  .imgfloat-div {
    max-width: 150px;
  }
  #btnContainer {
    max-width: 1000px;
  }
  body.aic-math #btnContainer {
    max-width: 900px;
  }       
}
@media only screen and (min-width: 1050px) {
  #btnContainer {
    max-width: 950px;
  }
   
}
@media only screen and (max-width: 400px) {
  #titleImage {
    width: 100%;
    max-width: 170px;
    margin-left: -50px;
      margin-top: -10px;
  }
  #backBtn {
    max-width: 70px;
    max-height: 70px;
    width: 100%;
  }
  img.imgfloat-title {
      margin-top: -3px;
      display: block;
  }
}
@media only screen and (max-width: 640px) {
  body {
    background-position: center;
    background-size: cover;
  }
  #btnContainer {
    width: 100%;
  }  
  .imgfloat-div {
    width: 100%;
    max-width: 100px;
    padding: 2px;
  }
  #btnContainerFrame {
    margin-top: -40px;
  }   
}
#infoContainer {
  text-align: center;
  display: block;
  float: left;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}
.infoBtn {
  background-color: #000;
  border-radius: 16px;
  min-height: 50px;
  font-weight: normal;
  font-size: 22px;
  border: 0px;
  color: #ffffff;
  border-color: #ffffff;
  border-width: 3px;
  border-style: solid;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: starfall_blockregular, Helvetica, sans-serif;
  box-shadow: 0 0 10px #5033ff;
  display: block;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-top: 20px;
  clear: both;
  max-width: 120px;
  text-align: center;
  padding: 6px 2px 2px 2px;
  text-decoration: none;
}
  .infoBtn:hover{
      text-decoration: none;
      background-color: #000000;
      color: #ffffff;
  }
  #feedbackContainer{
     text-align: center;
      margin-bottom: 5em;
  }
#info {
  background-image: linear-gradient(to bottom right, rgba(44, 47, 102, 0.7), rgba(102, 47, 148, 0.7));
  border-radius: 40px;
  margin: 0px 2% 2% 2%;
  text-align: left;
  padding: 5px 25px;
  color: #ffffff;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.2);
  border-width: 2px;
  display: none;
  box-shadow: 0 0 10px #5033ff;
  padding-bottom: 30px;
}
#infoBtnLess {
  display: none;
}
#info p {
  line-height: 35px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
#info ul {
  margin-bottom: 0px;
  margin-top: 0px;
  font-size: 22px;
  line-height: 35px;
  padding: 25px;
  text-shadow: 2px 2px 10px rgb(0 0 0 / 20%);
}
#info ul li {
  font-weight: bold;
}
#info ul ul {
  margin-top: -20px;
}
#info ul ul li {
  font-weight: normal;
}
#info h2 {
  text-align: center;
  font-weight: bold;
  font-size: 40px !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
#info h3 {
  font-size: 25px;
  margin: 0px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}
#info a h3 {
  color: #ffffff !important;
  text-decoration: underline;
  font-weight: normal;
}
@media only screen and (min-width: 1000px) {
  #info {
    margin-left: 15% !important;
    margin-right: 15% !important;
  }
}
.sr-only {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.accordion {
  background-color: #0000006e;
  color: #fff;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-family: starfall_blockregular, Helvetica, sans-serif;
}
.accordion:first-of-type {
  border-radius: 30px 30px 0px 0px;
}
.accordion:last-of-type {
  border-radius: 0px 0px 30px 30px;
}
.accordion.active:last-of-type {
  border-radius: 0px;
}
.panel.active:last-of-type {
  border-radius: 0px 0px 30px 30px;
}
.active, .accordion:hover {
  background-color: #680082f2;
  color: #ffffff;
}
.panel {
  padding: 0 18px;
  background-color: #ffffffbf;
  color: #14008a;
  display: none;
}
.keyboard-info {
  display: none;
}
.keyboard-info-btn {
  border-radius: 16px;
  min-height: 50px;
  font-weight: bold;
  font-size: 22px;
  padding: 0px 10px;
  color: #14008a;
  border-color: rgb(102 47 148 / 70%);
  border-width: 2px;
  border-style: solid;
  margin-bottom: 10px;
  cursor: pointer;
  font-family: starfall_blockregular, Helvetica, sans-serif;
  text-shadow: 2px 2px 10px rgb(0 0 0 / 20%);
  background-color: transparent;
}
.keyboard-info-btn:hover {
  background-color: #ffffff;
}
body.hd .imgfloat{
    filter: grayscale(1);
    opacity: 0.75;
}
body.hd .imgfloat-div.demo .imgfloat{
    filter: none;
    opacity: 1;
}
#banner{
    display: none;
}
body.hd #banner{
    display: block;
    text-align: center;
    background-color: rgb(124 206 255);
    font-size: 20px;
    font-weight: bold;
    padding: 4px;
    color: rgb(2 71 166);
}
body.hd .bannerBtn{
    border-radius: 10px;
    border-style: none;
    padding: 5px 10px;
    margin-left: 20px;
    background-color: rgb(172 224 254);
    color: rgb(2 71 166);
    cursor: pointer;
    box-shadow: 2px 2px 4px 1px rgb(0 0 0 / 20%);
    font-size: 20px;
    font-weight: bold;
    font-family: starfall_blockregular, Helvetica, sans-serif;
}
body.hd .bannerBtn:hover {
  background-color: #ffffff;
}
body.hd #feedbackBtn {
  display: none;
}@media only screen and (min-width: 901px){
    .hd #btnContainerFrame {
        margin-top: -40px;
    } 
}
@media only screen and (max-width: 900px){
    .hd #titleImage {
        width: 70%;
        margin-left: 0px;
        max-width: 200px;
        margin-bottom: 30px;
        margin-top:10px;
    }
    #controlsBtn{
        display: none;
    }
}
.hd #titleImageContainer {
    width: 100%;
    margin: 0 auto;
    display: block;
    text-align: center;
    padding-top: 0px;
}
.hd .button-label {
    margin-top: -8px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
}
@media only screen and (min-width: 1280px){
  .hd .button-label {
      margin-top: -10px;
      font-size: 15px;
      font-weight: bold;
      text-transform: uppercase;
  }
  #aicLegalLogo{
    position: fixed;
    bottom: 10px;
    right: 0;
  }
  footer{
    position: fixed;
    bottom: 0;
  }
    #feedbackContainer{
        margin-bottom: 0;
    }
}
.aic-english.hd #btnContainer,.aic-math.hd #btnContainer {
  margin-top: 0px;  
}
#hiddenContent {
    display: none;
}
.modal-header, #controlsInfo, #defaultInfo {
    color: #1F1F1F;
}
#gameList {
    list-style: none;
}
#controlsInfo .keyboard-info, #controlsInfo .keyboard-info ul {
    display: block;
    list-style: none;
}
.infoTop {
    font-weight: bold;
}
.modal-header {
    background: linear-gradient(129deg, rgb(255 188 0) 0%, rgba(255 118 0) 100%);
}
.modal-content {
    font-size: 18px;
}
.modal-content a, .modal-content a:visited {
    color: #2b00ae !important;
}
.modal-content a:active {
    color: #ffc107 !important;
}
.close {
    opacity: 0.75;
}
.close:not(:disabled):not(.disabled):hover, .close:not(:disabled):not(.disabled):focus {
    opacity: 1;
}
.close img {
    max-width: 40px;
    max-height: 40px;
}
#aicLegal
{
    margin-bottom: 0px;
    width: 100%;
    padding: 0px;
    text-align: center;
}
#aicLegal p
{
    font-size: 11px;
    color: #9b62cd;
    background-color: black;
    margin-bottom: 0px;
}
#aicLegalLogo{
    float: right;
    margin-bottom: 0px;
    margin-top: -35px;
    margin-right: 10px;
    padding: 0px;
}
#aicLegalContainer{
    /*position: fixed;
    bottom: 0px;*/
    width: 100%;
    background-color: black;    
}
@media (hover: hover) and (pointer: fine) {
  .imgfloat-div:hover {
      transform: scale(1.1);
  }
}
.imgfloat-div {
    transition: transform 0.3s;
}
.imgfloat-div:focus-within,#feedbackBtn:focus,#backBtnLink:focus {
    box-sizing: border-box;
    cursor: pointer;
    outline: 0;
    box-shadow: 0 0 0 2px black,   /* inner outline */ 0 0 0 5px white;   /* outer outline */
    border-radius: 6px;
}
/* 2025 08 08 update */
header {
    height: 140px;
}
header, nav, main, footer {
    margin: 0;
}
#backBtnContainer {
    position: absolute;
    float: left;
    height: 139px;
    width: 139px;
}
#backBtnArrow {
    width: 100%;
}
#backBtn {
    width: 139px;
    height: 139px;
    overflow-clip-margin: content-box;
    overflow: clip;
}
#backBtnLink {
    pointer-events: auto;
    width: 48%;
    position: absolute;
    top: 4%;
    left: 5%;
}
#backBtnLink:focus {
    box-sizing: border-box;
    display: block;
}
#titleImage {
    width: 100%;
    max-width: 300px;
    margin-left: -139px;
    position: absolute;
    top: 5px;
}
.imgfloat-div a:focus {
    outline: 0;
    box-shadow: none;
}
@media all and (orientation:portrait) and (max-width: 500px) {
    #titleImage {
      width: 100%;
      max-width: 250px !important;
      margin-left: -90px !important;
      margin-top: 0px;
      position: absolute;
      top: 5px;
    }
}
@media only screen and (max-width: 400px) {
  #titleImage {
    width: 100%;
    max-width: 170px;
    margin-left: -50px;
    margin-top: 0px;
    position: absolute;
    top: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .imgfloat-div:hover {
      transform: none !important;
  }
}