/* CSS Document */
@font-face {
  font-family: montserrat;
  src: url(/css/font/Montserrat-Regular.ttf);
  font-display: swap;
}
body {
  margin: 0px;
  padding: 0;
  font-size: 12px;
  color: #002b50;
  font-family: montserrat, arial, sans-serif;
  background: #0073dd;
  position: relative;
  min-height: 100%;
}
html {
  height: 100%;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%; /* Prevent font scaling in landscape while allowing user zoom */
}
dl,
dt,
dd,
ul,
li,
h1,
h2,
form,
input,
textarea,
p,
td,
h4,
h3 {
  padding: 0;
  margin: 0;
}
ul,
dl {
  list-style: none;
}
img {
  vertical-align: top;
  border: 0;
}
.clear {
  clear: both;
}
.left {
  float: left;
}
.right {
  float: right;
}

div.allgames {
  margin-left: auto;
  margin-right: auto;
}

div.thumb {
  text-align: center;
  position: relative;
  aspect-ratio: 1 / 1;
  float: left;
}
div.thumb {
  --margin: 4px;
  --allWidth: calc(100% - 16px);
  --width: calc((100% - 16px) / 2);
  margin: var(--margin);
  width: var(--width);
  overflow: hidden;
}
.tag-featured {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 40%;
  height: 40%;
  max-width: 65px;
  max-height: 65px;
  background: url(/images/blue/tag-featured.png) 0 0 no-repeat;
  background-size: cover;
  display: none;
}
@media only screen and (min-width: 300px) {
  div.thumb {
    --margin: 4px;
    --allWidth: calc(100% - 32px);
    --width: calc((100% - 32px) / 3);
    margin: var(--margin);
    width: var(--width);
  }
  .tag-featured {
    display: block;
  }
  div.allgames {
    margin-left: 8px;
  }
}
@media only screen and (min-width: 540px) {
  div.thumb {
    --margin: 4px;
    --allWidth: calc(100% -40px);
    --width: calc((100% - 40px) / 4);
    margin: var(--margin);
    width: var(--width);
  }
  .tag-featured {
    display: block;
  }
  div.allgames {
    margin-left: 8px;
  }
}
@media only screen and (min-width: 720px) {
  div.thumb {
    --margin: 5px;
    --allWidth: calc(100% - 70px);
    --width: calc((100% - 70px) / 6);
    margin: var(--margin);
    width: var(--width);
  }
  .tag-featured {
    display: block;
  }
  div.allgames {
    margin-left: 9px;
  }
}
@media only screen and (min-width: 1200px) {
  div.thumb {
    --margin: 6px;
    --allWidth: calc(100% - 108px);
    --width: calc((100% - 108px) / 8);
    margin: var(--margin);
    width: var(--width);
  }
  .tag-featured {
    display: block;
  }
  div.allgames {
    margin-left: 11px;
  }
}
@media only screen and (min-width: 1600px) {
  div.thumb {
    --margin: 7px;
    --allWidth: calc(100% - 140px);
    --width: calc((100% - 140px) / 9);
    margin: var(--margin);
    width: var(--width);
  }
  .tag-featured {
    display: block;
  }
  div.allgames {
    margin-left: 10px;
  }
}
div.thumb a img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  -ms-border-radius: 10px;
  -o-border-radius: 10px;
  border: #fafafa 2px solid;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

div.thumb a {
  color: #f5f500;
  text-decoration: none;
}

div.thumb div.GameName {
  position: absolute;
  bottom: 0px;
  left: 2px;
  width: calc(100% - 4px);
  height: auto;
  display: none;
  color: #035193;
  background-color: #ffcc00;
  padding: 5px 0 5px 0;
  font-size: 14px;
  font-weight: bold;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

#loadingmoregames {
  clear: both;
  width: 100%;
  text-align: center;
  padding: 5px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.foot {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 40px;
  width: 100%;
  min-width: 300px;
  line-height: 40px;
  color: #fff;
  clear: both;
  overflow: hidden;
  text-align: center;
  background: #0c2c4e;
}
.foot a {
  color: #fff;
  text-decoration: none;
}

div.bottomtext {
  clear: both;
  padding: 5px 10px 10px 10px;
  color: #fff;
  width: 100%;
  min-width: 240px;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  font-size: 14px;
  line-height: 20px;
}
div.bottomtext a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
}
div.bottomtext h1 {
  font-size: 18px;
  display: inline-block;
}

#backToTop {
  width: 60px;
  height: 50px;
  position: fixed;
  bottom: 50px;
  right: 10px;
  display: none;
  background: url(/images/blue/backtotop.png);
  cursor: pointer;
}

a.gameCard {
  width: calc(100% - 30px);
  text-decoration: none;
  color: #fff;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  height: 100px;
  float: left;
  box-shadow: 4px 4px 2px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #fff;
  border-radius: 5px;
  overflow: hidden;
  margin: 5px;
  padding: 5px;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}
a.gameCard::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
a.gameCard:hover {
  background-color: #007bd7;
}
a.gameCard img {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  flex-grow: 0;
  flex-shrink: 0;
}
a.gameCard .gameCard_detail {
  color: #fff;
  /* min-height: 100px; */
  /* flex-grow: 1; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* align-items: center; */
  padding-left: 10px;
  /* text-align: center; */
  height: 100px;
  overflow: scroll;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}
a.gameCard .gameCard_detail::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
a.gameCard .gameCard_detail b {
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  width: calc(100% - 5px);
}
a.gameCard .gameCard_detail span {
  color: #fff;
  height: 80px;
  overflow: scroll;
  line-height: 16px;
  -ms-overflow-style: none; /* for Internet Explorer, Edge */
  scrollbar-width: none; /* for Firefox */
  overflow-y: scroll;
}
a.gameCard .gameCard_detail span::-webkit-scrollbar {
  display: none; /* for Chrome, Safari, and Opera */
}
@media only screen and (min-width: 700px) {
  a.gameCard {
    width: calc((100% - 50px) / 2);
  }
}
@media only screen and (min-width: 1280px) {
  a.gameCard {
    width: calc((100% - 80px) / 3);
  }
}
@media only screen and (min-width: 1600px) {
  a.gameCard {
    width: calc((100% - 100px) / 4);
  }
}


/* 底部标签 */
.game-category {
    width: 100%;
    overflow: hidden;
}

.game-category .title {
    text-align: center;
    color: #fff;
    font-size: 22px;
    padding-bottom: 10px;
}

.game-category .list {
    overflow: hidden;
    margin: 0 -12px 0 5px;
}

.game-category .list a {
    display: none;
    font-size: 12px;
    float: left;
    color: #fff;
    box-shadow: -1px 1px 6px 0 rgba(0, 0, 0, 0.2);
    margin: 5px 12px 5px 0;
    padding: 3px;
    overflow: hidden;
    width: calc(33% - 12px);
    box-sizing: border-box;
}

.game-category .list a:nth-child(-n + 36) {
    display: block;
}

.game-category .list a:hover {
    color: #fdb504;
}

.game-category .list .item {
    width: 100%;
    height: 100%;
    float: inherit;
}

.game-category .list .item img {
    height: 100%;
    width: 100%;
    border-radius: 10px;
}

.game-category .list .name {
    float: left;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.game-category .list .name .text {
    float: left;
    text-align: center;
}

@media only screen and (min-width: 800px) {
    .game-category .list a {
        font-size: 13px;
    }
    .game-category .list .item {
        width: 100px;
        height: 100px;
        float: left;
    }

    .game-category .list .name {
        height: 100px;
        width: calc(100% - 100px);
    }
}

@media only screen and (min-width: 600px) {
    .game-category .list a {
        width: calc(25% - 14px);
    }
}

@media only screen and (min-width: 1400px) {
    .game-category .list a {
        width: calc((100% / 6) - 13px);
        font-size: 14px;
    }
}

/* 底部隐藏显示文本 */
.show-text-card,
.hide-text-card {
  line-height: 24px;
}
.show-text-card {
  margin: 16px;
  content-visibility: auto;
  contain: layout paint;
  contain-intrinsic-size: 400px;
  overflow-anchor: none;
  border-radius: 10px;
  background-color: #0050a4;
  height: auto;
  position: relative;
  color: #fff;
  font-size: 14px;
  overflow-anchor: auto;
}
.show-text-card h1,
.hide-text-card h1 {
  font-size: 18px;
  padding: 0 0 10px 0;
}
.show-text-card h2,
.hide-text-card h2 {
  font-size: 16px;
  padding: 10px 0 10px 0;
}
.show-text-card h3,
.hide-text-card h3 {
  font-size: 15px;
  padding: 0 0 10px 0;
}
.show-text-card ol,
.hide-text-card ol {
  margin-top: 0px;
  margin-bottom: 0px;
}
.show-text-card ul,
.hide-text-card ul,
.show-text-card dl,
.hide-text-card dl {
    list-style-type: disc;
    margin-left: 40px;
}
.show-text-card a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.show-text-card .show-text {
  height: 100%;
  overflow: hidden auto;
  padding: 30px 30px 0px;
}

.show-text-card .show-button {
  background-color: #0050a4;
  height: 50px;
  padding-top: 10px;
  padding-left: 30px;
}

.show-text-card .show-button .button-span {
  cursor: pointer;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #fdb504;
  font-weight: 700;
}

.hide-text-card {
  margin: 16px;
  content-visibility: auto;
  contain: layout paint;
  contain-intrinsic-size: 400px;
  overflow-anchor: none;
  border-radius: 10px;
  background-color: #0050a4;
  height: 200px;
  position: relative;
  color: #fff;
  font-size: 14px;
  overflow-anchor: auto;
}

.hide-text-card a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.hide-text-card .show-text {
  height: 100%;
  overflow: hidden auto;
  padding: 30px 30px 0px;
}

.hide-text-card .show-button {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 4px;
  background: linear-gradient(180deg, rgba(19, 20, 30, 0) 0%, #0050a4 35.42%);
  height: 50px;
  padding-top: 40px;
  padding-left: 30px;
}

.hide-text-card .show-button .button-span {
  cursor: pointer;
  -webkit-text-decoration: none;
  text-decoration: none;
  color: #fdb504;
  font-weight: 700;
}

  #moneyNoticeMessage {
    padding: 4px 10px 4px 10px;
    position: fixed;
    z-index: 1050;
    font-family: Verdana;
    min-width: 300px;
    max-width: 430px;
    width: 80%;
    min-height: 160px;
    color: #00335e;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0px 0px 11px #000000;
    -webkit-box-shadow: 0px 0px 11px #000000;
    box-shadow: 0px 0px 11px #000000;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
    background-image: url('/images/blue/msgBoxBackGround.png');
  }

  #moneyNoticeMessage div.msgBoxTitle {
    padding: 5px 0 5px 0;
    font-size: 16px;
    font-weight: lighter;
    color: #00335e;
    width: 100%;
    border-bottom: 1px solid #002c5f;
  }

  #moneyNoticeMessage div.msgBoxImage {
    margin: 0 5px 0 0px;
    display: block;
    float: left;
    height: 75px;
    width: 75px;
  }

  #moneyNoticeMessage div.msgBoxImage img {
    height: 75px;
    width: 75px;
  }

  #moneyNoticeMessage div.msgBoxContainer {
    line-height: 18px;
    padding: 10px 0 0 0;
  }

  @media screen and (min-width: 390px) {
    #moneyNoticeMessage div.msgBoxContainer {
      line-height: 22px;
    }
  }

  @media screen and (min-width: 523px) {
    #moneyNoticeMessage div.msgBoxContainer {
      line-height: 22px;
      font-size: 15px;
    }
  }

  #moneyNoticeMessage div.msgBoxButtons {
    display: inline-block;
    width: 100%;
    text-align: right;
  }

  #moneyNoticeMessage div.msgBoxButtons input[type='button'] {
    cursor: pointer;
    margin: 2px;
    height: 35px;
    width: 90px;
    border: 1px solid #AFAFAF;
    background-color: #004076;
    color: #FFFFFF;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    outline: none;
  }

  #moneyNoticeMessage div.msgBoxButtons input[type='button']:hover {
    background-color: #00549c;
    color: White;
  }

  #moneyNoticeMessage div.msgBoxButtons input[type='button']:active {
    background-color: #AAAAAA;
    color: White;
  }

  #moneyNoticeMessage div.msgBoxButtons input[type='button']:focus {
    outline: none;
    border: solid 2px #FFCC66;
  }

  #moneyNoticeMessage div.msgBoxButtons input[type='button']::-moz-focus-inner

  /*remove firefox inner outline*/
    {
    outline: none;
    border: none;
  }



    #feedbackContainerDiv {
        display: none;
        padding: 4px 10px 4px 10px;
        position: fixed;
        z-index: 1050;
        font-family: Verdana;
        min-width: 300px;
        max-width: 500px;
        width: 80%;
        color: #00335e;
        -moz-border-radius: 6px;
        -webkit-border-radius: 6px;
        border-radius: 6px;
        -moz-box-shadow: 2px 3px 5px #222;
        -webkit-box-shadow: 2px 3px 5px #222;
        box-shadow: 2px 3px 5px #222;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        opacity: 1;
        background-color: #f4f6fa;
        /* overflow: scroll;
    /* background-image: url('/images/blue/msgBoxBackGround.png'); */
    }

    #feedbackDiv {
        overflow: scroll;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }
    #feedbackDiv::-webkit-scrollbar {
        display: none;
    }

    #feedbackContainerDiv div.feedback-title {
        padding: 5px 0 5px 0;
        font-size: 16px;
        font-weight: lighter;
        color: #00335e;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid #002c5f;
    }

    #feedbackContainerDiv label {
        font-size: 12px;
        color: #00335e;
        line-height: 30px;
    }

    #feedbackContainerDiv input,
    #feedbackContainerDiv select,
    #feedbackContainerDiv textarea {
        width: 100%;
        height: 30px;
        border: 1px solid #cccccc;
        padding: 0px 5px;
        box-sizing: border-box;
    }

    #feedbackContainerDiv textarea {
        height: 200px;
    }

    #feedbackContainerDiv #submitFeedback {
        width: 200px;
        margin: 10px 0 10px 0;
        background-color: #e5e7ea;
        /* background-color: #00335e; */
        color: #fff;
        font-weight: bold;
    }

    #feedbackContainerDiv #submitFeedback:disabled {
        cursor: not-allowed;
        pointer-events: all !important;
    }

    #closefeedbackContainerDiv {
        background: url(/images/blue/delete.png) 0 0;
        background-size: 100% 100%;
        width: 32px;
        height: 32px;
        position: absolute;
        top: -12px;
        right: -12px;
        cursor: pointer;
        z-index: 1100;
    }
    
    



#gamesPagination {
    clear: both;
    width: 100%;
    text-align: center;
    padding-top: 10px;
}
#gamesPagination ul {
    list-style: none;
    /* padding: 3px 5px 2px 10px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .31);
    background: #fff; */
}
#gamesPagination ul a {
    text-decoration: none;
    color: #fff;
}
#gamesPagination ul li {
    display: inline-block;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    border-radius: 50%;
    line-height: 50px;
    background-color: #0085ff;
    color: #fff;
}
#gamesPagination ul li.pagination-li-active {
    color: #fff;
    background-color: #0073dd;
    border: #fff 1px solid;
}
#gamesPagination ul li.pagination-li-split {
    background-color: transparent;
}
#gamesPagination ul li.pagination-li-first {
    background: #ffffff;
    color: #0f7bdf;
}
#gamesPagination ul li.pagination-li-first a {
    color: #0f7bdf;
}

#gamesPagination ul li.pagination-li-mobile {
    width: 200px;
    border-radius: 30px;
}
#gamesPagination ul li.pagination-li-mobile {
    display: none;
}
@media screen and (max-width: 600px) {
    #gamesPagination ul li {
        display: none;
    }
    #gamesPagination ul li.pagination-li-mobile {
        display: inline-block;
        margin: 10px 10px;
    }
}
