body {
  overscroll-behavior-x: none;
  letter-spacing: -0.01rem;
}

footer span,
footer a {
  margin-right: 2em;
  color: #666;
}

.ajaxlink {
  cursor: pointer;
  color: #007bff;
}

#helpModal h4 {
  font-size: 1em;
}
.sgg-btn.ajaxlink,
.sgg-btn.ajaxlink:hover {
  color: #fff;
  text-decoration: none;
}

.ajaxlink:hover {
  text-decoration: underline;
  color: #0056b3;
}

.container img {
  max-width: 100%;
}
.converting {
  padding: 10px;
  background-color: white;
  color: gray;
  position: absolute;
  top: 40%;
  left: 30%;
  font-size: 2em;
  z-index: 10000;
  display: none;
}

.luckiest-guy {
  font-family: "Luckiest Guy", sans-serif;
}

.light-yellow {
  background-color: #ffdc73;
}
/* LOGO */

nav.navbar {
  padding: 0.35em !important;
  font-size: 14px !important;
  /* prevent preroll ad message from covering the mobile dropdown. */
  z-index: 100;
}

.navbar-brand {
  font-weight: 300;
  margin-bottom: -1px;
  padding: 0.1em;
}
.navbar-brand img {
  width: 9vw;
  max-width: 130px;
  margin-top: -4px;
}

.all-game-container {
  position: relative;
  text-align: center;
  border-radius: 10px;
}

.all-game-gradient {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #00000000, #00000066);
  border-radius: 10px;
}
.all-game-thumbnail {
  aspect-ratio: 5 / 3;
  background-size: contain;
  background-repeat: no-repeat;
  background-color: #005000;
  background-position: center;
  border-radius: 10px;
}

.all-game-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-shadow: 0px 0px 5px #000;
  padding: 20px 30px;
  border-radius: 20px;
  border: 1px solid white;
  background: linear-gradient(#005000, #003000);
  box-shadow: 5px 5px 5px #00000066;
  font-size: 1.5em;
  width: 80%;
}

nav.navbar a,
nav.navbar span,
nav.navbar .nav-item.dropdown a.nav-link {
  color: #1c7430;
  font-size: 0.8rem;
}
.nav-item.trophy-case .sgg-btn {
  cursor: pointer;
}

.nav.navbar-nav.solitaire a.solitaire-nav-link,
.nav.navbar-nav.spider a.spider-nav-link,
.nav.navbar-nav.freecell a.freecell-nav-link,
.nav.navbar-nav.mahjong a.mahjong-nav-link,
.nav.navbar-nav.hearts a.hearts-nav-link,
.nav.navbar-nav.spades a.spades-nav-link,
.nav.navbar-nav.pyramid a.pyramid-nav-link,
.nav.navbar-nav.tripeaks a.tripeaks-nav-link,
.nav.navbar-nav.yukon a.yukon-nav-link,
.nav.navbar-nav.golf a.golf-nav-link,
.nav.navbar-nav.fortythieves a.fortythieves-nav-link,
.nav.navbar-nav.canfield a.canfield-nav-link,
.nav.navbar-nav.yahtzee a.yahtzee-nav-link,
.nav.navbar-nav.phrazle a.phrazle-nav-link,
.nav.navbar-nav.crossword a.crossword-nav-link,
.nav.navbar-nav.cluehurdle a.cluehurdle-nav-link,
.nav.navbar-nav.wordhunt a.wordhunt-nav-link {
  font-weight: 700;
}

span.sol {
  display: none;
}

h1.game-title {
  color: #fff;
}
#nav-title {
  display: none;
}

.nav-item.l-border {
  border-left: 1px solid #ccc;
}

.sgg-timer {
  position: absolute;
  bottom: 10px;
}

.timer_container,
#timerContainerBottom {
  font-size: 12px;
}
.timer_container .btn {
  padding: 0.35em !important;
  font-size: 13px !important;
}

.edition .timer_container {
  margin-top: -7px;
}
.timer_container .row {
  margin-left: 0px;
  margin-right: 0px;
}

.edition .timer_container #info-box {
  left: initial;
  right: 10px;
  color: white;
}

.mutiplayer-info-box {
  top: 95vh;
}
.mutiplayer-info-box .stopwatch {
  font-size: 1.2em;
}
.playerOneCardsLeft,
.playerTwoCardsLeft {
  font-size: 1.8em;
}

.mutiplayer-info-box .col,
.mutiplayer-info-box .col-2,
.mutiplayer-info-box .col-3,
.mutiplayer-info-box .col-md-4,
.mutiplayer-info-box .col-md-5,
.mutiplayer-info-box .col-md-2 {
  padding-right: 0px;
  padding-left: 0px;
}

.game_container {
  user-select: none;
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}

#gameRow {
  display: flex;
}

.pyramid-game-row {
  padding-top: 10px;
}

#canvasContainer {
  flex: 1;
}

#canvas {
  touch-action: none;
}

#adSidebarContainer {
  flex: 0 0 405px;
  height: 120vh;
  overflow-x: hidden;
  margin-top: -32px;
}

#solitaired_desktop_right_rail_1 {
  max-width: 300px;
  margin: 0 auto;
}

.sidebar-stats {
  background-color: #004000;
  border-radius: 10px;
}

.sidebar-stats {
  font-size: 0.8em;
}

.sidebar-stats .small {
  font-size: 0.7em;
  line-height: 1;
}

.sidebar-stats .sidebar-stats-adunit {
  width: 320px;
  min-height: 50px;
  max-height: 600px;
  overflow: hidden;
  margin: 0 auto;
  font-size: 1.75em;
  color: #136813;
}

#save-stats-text {
  color: #ffd1d1;
  font-weight: bold;
}

#save-stats-link {
  color: #ffd1d1;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
}

#momentsRegisterLink {
  text-decoration: underline;
  color: white;
  font-weight: bold;
}

.celtra-ad-inline-host .notranslate {
  max-width: 400px !important;
  max-height: 300px !important;
  position: initial !important;
}

#rewarded-root {
  padding-right: 10px;
  margin-top: 30px;
  display: none;
}

#rewarded-button {
  display: none;
  font-size: 0.9em;
  padding-top: 0;
  padding-bottom: 0;
}

#adSidebarContainer #solitaired_desktop_right_rail_2 {
  /* width: 100%; */
}

.interstitial-modal-content-container {
  padding: 35px 10px 10px 10px !important;
  max-height: 600px !important;
  height: auto !important;
  width: 680px !important;
  background: url("/images/interstitial-modal-bg.png") top left / 120% !important;
  border-radius: 16px !important;
}

.game-description {
  height: 15vh;
  overflow: auto;
}

.timer_container.work_nav {
  background-color: #ffffff;
  border-bottom: 4px solid white;
}

.timer_container.work_nav #turns,
.timer_container.work_nav #turnCount {
  color: #999;
}

.dialog-content {
  margin-top: 0;
}

.menu-buttons .btn.btn-clear {
  color: #efefef;
  background-color: rgba(0, 0, 0, 0.2);
  text-shadow: none;
  box-shadow: none;
}
.timer-icon {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 0px 2px;
  border-radius: 5px;
  min-width: 24px;
  display: inline-block;
  text-align: center;
  cursor: pointer;
}
.inner-btn {
  font-size: 0.9em;
  line-height: 0.9;
  background-color: rgba(0, 0, 0, 0.2);
  position: absolute;
  top: 3px;
  right: 4px;
  padding: 4px 6px 4px;
  border-radius: 5px;
  margin-left: 3px;
  min-width: 30px;
}

.audio-toggle {
  vertical-align: text-bottom;
}

#subscribeButton {
  top: 1px;
}

#info-box {
  font-size: 0.85em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: inline-block;
  color: #fff;
}

.move-section {
  margin-left: 5px;
}
.timer-button {
  font-size: 1.5em;
}
#stockCount {
  width: 36px;
  display: inline-block;
}

#passthroughCount {
  width: 30px;
  display: inline-block;
}

.end-of-game-modal.fade {
  transition: opacity 0.5s linear;
}

img.sponsor {
  display: none;
}

#caption {
  border-radius: 5px;
  width: 0%;
  opacity: 0;
  padding: 5px;
}

.row.menu-buttons {
  color: #ffffff;
  margin-left: -5px;
}
.menu-buttons .btn,
.sgg-btn,
.gamenav-btn,
.sgg-container .btn {
  line-height: 1;
  padding: 4px 8px 4px 8px;
  position: relative;
  /* text-transform: uppercase; */
  font-size: 0.75em;
  /* letter-spacing: .05em; */
  font-weight: 600;
  text-shadow:
    -1px -1px 1px rgba(0, 0, 0, 0.2),
    0px 2px 1px rgba(255, 255, 255, 0.15);
}

span.edition-soli-link {
  font-size: 0.8em;
}

.menu-buttons .btn.edition-soli-link {
  text-transform: capitalize;
}

.menu-buttons .dropdown,
.menu-buttons .dropdown-more {
  display: inline-block;
}
#moreMenuDropdown a.ajaxlink:active {
  color: white;
}

.right-hand-mode,
.left-hand-mode {
  display: none;
}

.menu-buttons .btn,
.sgg-btn,
.gamenav-btn,
.sgg-container .btn {
  border-radius: 6px;
  box-shadow:
    2px -2px 2px rgba(0, 0, 0, 0.1),
    0px 1px 2px rgba(255, 255, 255, 0.1);
}

#all-games h5 {
  margin-bottom: 0px;
}
#pauseTimer,
#turns,
#undo,
#turnCount,
#workMode {
  cursor: pointer;
  color: #ffffff;
}
#turnCount {
  min-width: 36px;
  display: inline-block;
}

#pauseTimer {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  padding-right: 5px;
}

#turns {
  cursor: default;
}

#superBtn {
  left: 5px;
  bottom: 30px;
  position: absolute;
  display: none;
}

#winner {
  position: absolute;
}

#leaderboardContainer {
  display: none;
}
#commentList,
#leaderboard-list {
  max-height: 365px;
  overflow-y: scroll;
}

#congrats .congrats-stats {
  min-height: 120px;
}

#congrats .table-sm .bg-warning td:first-of-type {
  padding-left: 0.4rem;
}
#congrats .table-sm .bg-warning td:last-of-type {
  padding-right: 0.4rem;
}

#congrats .congrats-comment-input {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgb(0 123 255 / 25%);
}

#congrats .congrats-bottom {
  padding-top: 5px;
}

#congrats .table-sm td {
  padding: 0.3rem 0;
}

.plus-5-coin {
  position: absolute;
  font-size: 20px;
  width: 100px;
}

.coin {
  background: url("/images/coin.png");
  display: inline-block;
  background-size: contain;
  height: 20px;
  width: 20px;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.gotd-streak-flex {
  display: flex;
  align-items: center;
}

.gotd-reminder-tooltip {
  padding: 10px;
}

.gotd-reminder-tooltip {
  padding: 10px;
}

.gotd-reminder-icon {
  background: url('data:image/svg+xml,<svg width="15" height="15" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 10V13" stroke="%23dc3545" stroke-width="2" stroke-linecap="round"/><path d="M12 16V15.9888" stroke="%23dc3545" stroke-width="2" stroke-linecap="round"/><path d="M10.2518 5.147L3.6508 17.0287C2.91021 18.3618 3.87415 20 5.39912 20H18.6011C20.126 20 21.09 18.3618 20.3494 17.0287L13.7484 5.147C12.9864 3.77538 11.0138 3.77538 10.2518 5.147Z" stroke="%23dc3545" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>');
  display: inline-block;
  background-size: contain;
  height: 20px;
  width: 20px;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.heart-icon {
  background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 107.39'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23ed1b24;fill-rule:evenodd;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Ered-heart%3C/title%3E%3Cpath class='cls-1' d='M60.83,17.18c8-8.35,13.62-15.57,26-17C110-2.46,131.27,21.26,119.57,44.61c-3.33,6.65-10.11,14.56-17.61,22.32-8.23,8.52-17.34,16.87-23.72,23.2l-17.4,17.26L46.46,93.55C29.16,76.89,1,55.92,0,29.94-.63,11.74,13.73.08,30.25.29c14.76.2,21,7.54,30.58,16.89Z'/%3E%3C/svg%3E");
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.diamond-icon {
  background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 122.88 122.88'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill:%23fe0000;fill-rule:evenodd;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eplaying-card-diamond-shape%3C/title%3E%3Cpath class='cls-1' d='M0,61.51A234.72,234.72,0,0,0,61.51,0a204.09,204.09,0,0,0,61.37,61.37,229.27,229.27,0,0,0-61.39,61.51A215.26,215.26,0,0,0,0,61.51Z'/%3E%3C/svg%3E");
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.club-icon {
  background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 119.53 122.88'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill-rule:evenodd;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eplaying-card-club-shape%3C/title%3E%3Cpath class='cls-1' d='M30.14,41.83c.64,0,1.28,0,1.91.06a30.14,30.14,0,1,1,55.52,0c.61,0,1.21-.06,1.83-.06A30.14,30.14,0,1,1,65.55,90.38c5.35,10,11.91,20.24,22.73,25.61v6.89h-57V116c8.36-3,15-12.62,20.84-23.38a30.14,30.14,0,1,1-22-50.78Z'/%3E%3C/svg%3E");
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.spade-icon {
  background-image: url("data:image/svg+xml,%3Csvg id='Layer_1' data-name='Layer 1' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 116.93 122.88'%3E%3Cdefs%3E%3Cstyle%3E.cls-1%7Bfill-rule:evenodd;%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Eplaying-card-spade-shape%3C/title%3E%3Cpath class='cls-1' d='M62.61,91.7a35.65,35.65,0,0,0,5.2,5.22c17.88,14.5,43.85,5.1,48.52-17.79a26.74,26.74,0,0,0-.27-12.43c-2.17-7.89-9.4-15.88-17.15-23.19-3.71-3.5-7.27-6.76-10.77-10C77.7,23.73,66.06,12.12,58.47,0h0C50.87,12.12,39.23,23.73,28.79,33.48c-3.5,3.27-7.06,6.53-10.77,10C10.27,50.82,3,58.81.87,66.7A26.74,26.74,0,0,0,.6,79.13C5.27,102,31.24,111.42,49.12,96.92A35.68,35.68,0,0,0,54.88,91c-5.41,12.62-13,21.27-23.79,25.27v6.62h55v-6.62C75.47,112.33,68,103.93,62.61,91.7Z'/%3E%3C/svg%3E");
  display: inline-block;
  background-size: contain;
  vertical-align: middle;
  background-repeat: no-repeat;
}

.coin.coin-small {
  height: 12px;
  width: 12px;
  vertical-align: text-bottom;
}

#congrats,
#lasVegasNewGameModal {
  display: none;
  position: absolute;
  min-width: 40%;
  z-index: 200;
  top: 50%;
  left: 50%;
  transform: translate(-60%, -50%);
  background: rgba(255, 255, 255, 0.95);
  padding: 3vh 3vh 3vh 3vh;
  border-radius: 10px;
  -webkit-box-shadow: 0px 0px 44px 5px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 44px 5px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 44px 5px rgba(0, 0, 0, 0.55);
  text-align: center;
}

#congrats .congrats_text {
  color: #333;
  text-shadow: none;
  font-family: "Luckiest Guy", sans-serif;
  font-size: 4vh;
}
#congrats .social_share {
  font-family: "Luckiest Guy", sans-serif;
  font-size: 1.3em;
}

#congrats .congrats-stats {
  font-size: 1em;
}

#congrats .co2-message {
  display: inline-block;
  background-color: #c0e1c8;
  color: #005000;
}

#congrats hr.dotted-border {
  border-top: 1px dashed #ccc;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  width: 90%;
}

a#closeCongrats,
a#closeVegasCongrats {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ccc;
  position: absolute;
  top: 5px;
  right: 16px;
}

a#closeCongrats:hover,
a#closeVegasCongrats:hover {
  text-decoration: none;
}

#congrats.minimizeCongrats {
  height: 25%;
  min-height: 150px;
  top: 73%;
}

#congrats.maximizeCongrats {
  height: auto;
  top: 50%;
}

#shareScore.btn:hover,
#shareScore.btn-outline-success:hover {
  color: #28a745;
  background-color: #ffffff;
}
.trophy-bg {
  width: 70px;
  height: 70px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.trophyHeadlines {
  font-family: "Luckiest Guy", sans-serif;
}

#gotd-streak-status:hover {
  text-decoration: none;
}

.trophy-month-streak-labels {
  margin: 0 5px;
}

.trophy-month-streak-labels .col {
  padding: 0;
}

#congrats .congrats-stats .jumbotron {
  margin-bottom: 0.5rem;
}

#congrats .highscore-body {
  max-height: 150px;
  overflow-y: scroll;
  overflow-x: hidden;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  padding: 0 !important;
  margin: 0 !important;
  text-transform: capitalize;
}

#congrats .highscore-body .table {
  margin-bottom: 0rem;
}

.pr-trophy {
  animation: medal 0.5s ease-out infinite alternate;
}
@keyframes medal {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.5);
  }
}

.pr-wins-trophy {
  animation: trophyScale 2s ease-out 1 alternate;
}

@keyframes trophyScale {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    opacity: 0.9;
  }
  80% {
    transform: scale(12);
    opacity: 0;
  }
  81% {
    transform: scale(0.1);
    opacity: 0;
  }
  97% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.high-score-username {
  word-break: break-all;
}
.page-link {
  font-size: 1.2em;
}
.post img {
  max-width: 100%;
}

.complete_container {
  display: none;
  position: absolute;
  z-index: 1000;
  top: 50%;
  width: 90%;
  text-align: center;
}

.version {
  color: gray;
}

.cc-window.cc-banner,
.cc-window.cc-floating {
  width: 40%;
  margin-left: 30%;
  font-size: 0.7em;
}

#timerContainer h1,
#timerContainer .game-title,
#timerContainer h2 {
  font-size: 1.5em;
  display: inline-block;
  margin-bottom: 0px;
  position: relative;
  font-weight: 500;
  top: 2px;
  margin-right: 10px;
}
#timerContainer .game-title {
  line-height: 1.2;
}

.btn-gotd .badge {
  top: 0px;
  display: inline;
  text-shadow: none;
  font-size: 0.7em;
}

.btn-gotd.active {
  cursor: text;
}

#gotd {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background-color: rgba(0, 0, 0, 0.2);
  display: inline;
  border-radius: 5px;
  color: white;
}

#gotd {
  font-family: "Luckiest Guy", sans-serif;
}

#gameStatusMessage {
  position: absolute;
  bottom: 0;
  left: 100px;
  display: inline-block;
  /* override */
  border: none;
  font-size: 0.8rem;
  display: flex;
  height: 100px;
  z-index: 1000;
}
/* override */
#gameStatusMessage .alert {
  padding: 4px 17px;
  border-radius: 20px;
  align-self: flex-end;
}
#gameStatusMessage .alert-success {
  color: rgba(255, 255, 255, 0.9);
  background-color: #577345;
  border: none;
}
#gameStatusMessage .alert .ajaxlink,
#gameStatusMessage .alert a {
  color: white;
  text-decoration: underline;
}
.freda {
  background-image: url("/images/freda.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom right;
  width: 120px;
  height: 100px;
  display: block;
  align-self: flex-end;
}

.custom-card-back img,
.custom-card-deck {
  border: 2px solid #fff;
}

.custom-card-deck img {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  margin: 2px;
}

.custom-card-back img {
  border: 1px solid #fff;
  border-radius: 5px;
  margin: 2px;
}

.custom-card-back .cardBackSelected,
.custom-card-deck.cardBackSelected {
  border: 2px solid #666;
}

.custom-card-deck {
  text-align: center;
  font-size: 0.7em;
  cursor: pointer;
}

#colorPicker {
  width: 60px;
  height: 60px;
}

#ot-sdk-btn.ot-sdk-show-settings,
#ot-sdk-btn.optanon-show-settings {
  font-size: 1em !important;
}

#ot-sdk-btn-floating.ot-floating-button {
  bottom: 30px !important;
  width: 20px !important;
  height: 20px !important;
}

.report-bug {
  cursor: pointer;
}

.report-bug:hover {
  text-decoration: underline;
}

#lngtd-video-player {
  z-index: 0 !important;
}

#solitaired_M_A {
  display: none;
}

#hint-explanations-enable {
  display: none;
}

#hint-explanation-modal {
  display: none;
  position: absolute;
  bottom: 30px;
  left: 10px;
  margin: 0;
  font-size: small;
  padding: 5px 10px;
  background: white;
  border-radius: 8px;
  border: 4px solid #005000;
  max-width: 640px;
}

#hint-explanation-modal .btn {
  font-size: 0.85em;
  font-weight: bold;
}

#hint-explanation-modal .rules-explanation {
  margin: 3px 0px 0px 7px;
}

#hint-explanation-modal-expander a.collapsed::after {
  content: "+ Show Explanation";
}

#hint-explanation-modal-expander a:not(.collapsed)::after {
  content: "- Hide Explanation";
}

.placed {
  width: 20%;
  display: inline-block;
  padding: 1px;
  text-align: center;
}

#userStats {
  min-height: 700px;
}

#new-game-modal .new-game-modal-game.dropdown-item {
  cursor: pointer;
}
.new-game-modal-all-games {
  max-height: 70vh;
}

.single-play-button {
  min-width: 150px;
}

.new-game-modal-description-container {
  max-height: 70vh;
  overflow: scroll;
}

.new-game-modal-col {
  overflow: scroll;
}

#new-game-modal .dropdown-item:hover {
  background-color: #28a74533;
}

#new-game-modal .dropdown-item:active {
  background-color: #28a745;
  font-weight: bold;
}

.new-game-modal-description-text {
  margin-bottom: 10px;
}
.new-game-modal-description-img {
  width: 350px;
  object-fit: contain;
  outline: 2px solid green;
}

.new-game-modal-description-additional {
  list-style: none;
  padding-left: 0px;
  margin-top: -10px;
}
.new-game-modal-description-additional h4 {
  font-size: 1em;
  padding-top: 10px;
  font-weight: bold;
}
.new-game-modal-description-additional ul {
  list-style: none;
  padding-left: 10px;
}
.new-game-modal-description-additional ul li {
  padding-bottom: 5px;
}

.disclaimer-modal {
  font-size: 0.6em;
  color: #999;
  text-align: left;
  max-width: 500px;
  margin-right: auto;
  margin-left: auto;
}
.personal-stats-secondary {
  font-size: 0.7em;
}

.reset-warning-message {
  background-color: #ffd1d1;
  font-size: 0.8em;
}

.reset-warning-green {
  background-color: #c0e1c8;
}

.helpdesk-topic {
  margin: 10px;
}

@media (max-width: 1200px) {
  #adSidebarContainer {
    margin-top: 0px;
  }
}
@media (max-width: 1018px) {
  #adSidebarContainer {
    flex: 0 0 300px;
  }
  #adSidebarContainer #solitaired_desktop_right_rail_2 {
  }

  #solitaired_desktop_right_rail_2_container {
    display: none;
  }
  #congrats {
    width: 70%;
    top: 5%;
    left: 15%;
    height: 90%;
    transform: initial;
    z-index: 1000;
    overflow-y: scroll;
  }

  #congrats.minimizeCongrats {
    height: 25%;
    min-height: 150px;
    top: 71%;
  }

  #congrats.maximizeCongrats {
    height: 90%;
    top: 5%;
  }
}

@media (max-width: 919px) {
  #info-box {
    font-size: 0.7em;
  }
  .timer-button {
    font-size: 1.75em;
  }
  #adSidebarContainer {
    flex: 0 0 0px;
  }
  #adSidebarContainer #solitaired_desktop_right_rail_2 {
    /* width: 160px; */
  }
  .leaderboard-nav-btn,
  #subscribeButton {
    display: none;
  }
  #usernameHelp {
    display: none;
  }
  .all-game-text {
    font-size: 1em;
  }
}

@media (min-width: 431px) and (max-width: 919px) and (orientation: portrait) {
  #timerContainerBottom {
    height: 110px;
  }
}

@media (max-width: 770px) {
  #subscribeButton {
    display: none;
  }
  #adSidebarContainer {
    display: none;
  }
  #adSidebarContainer ins {
    display: none;
  }

  .all-game-thumbnail {
    aspect-ratio: 7 / 3;
  }
}

@media (max-width: 769px) {
  #adSidebarContainer {
    display: none;
  }
  #adSidebarContainer ins {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .navbar-brand {
    margin-right: 0;
  }
  .navbar-brand img {
    width: 40vw;
  }

  .personal-stats-secondary {
    font-size: 0.6em;
  }
}

@media (max-width: 576px) {
  .cc-window.cc-banner,
  .cc-window.cc-floating {
    width: 100%;
    margin-left: 0%;
    font-size: 0.7em;
  }

  .nav-item.l-border {
    border-left: 0px;
    margin-left: 0px;
    padding-left: 0px !important;
  }

  li.nav-item {
    margin: 5px 0px;
  }
  .row.menu-buttons .btn {
    /* display: block; */
    margin-bottom: 5px;
  }
  .row.menu-buttons .btn,
  .row.menu-buttons a {
    font-size: 0.8em;
  }
  .mutiplayer-info-box {
    top: initial;
    bottom: 150px;
  }
}
@media (max-width: 430px) {
  .interstitial-modal-content-container {
    padding: 20px 10px 10px 10px !important;
    height: auto !important;
    width: 340px !important;
    background: url("/images/interstitial-modal-bg.png") top left / 150% !important;
    border-radius: 16px !important;
  }

  .trophy-personal-stats .col {
    padding-right: 2px;
    padding-left: 2px;
  }

  .trophy-personal-stats h4 {
    font-size: 1.25rem;
  }

  .celtra-ad-inline-host .notranslate {
    max-width: none;
    max-height: 169px !important;
    position: initial !important;
  }

  #hint-explanation-modal {
    bottom: 200px;
  }

  #solitaired_ad_mobile {
    height: 50px !important;
    overflow: hidden !important;
  }

  #solitaired_M_A {
    display: block;
  }

  #congrats .congrats-title {
    height: 64px;
  }

  #congrats .congrats-stats {
    min-height: 120px;
  }

  #congrats .trophy-month-streak-labels {
    min-height: 25px;
  }

  span.navbar-brand {
    font-size: 0.65em;
  }
  .fullscreen-btn {
    display: none;
  }

  #congrats {
    width: 95%;
    height: 95%;
    top: 3%;
    left: 2.5%;
    transform: initial;
    padding: 3vh 2vh 3vh 2vh;
  }

  #lasVegasNewGameModal {
    width: 95%;
    height: 95%;
    top: 20%;
    left: 2.5%;
    transform: initial;
    padding: 3vh 2vh 3vh 2vh;
  }

  .co2-message {
    font-size: 0.85em;
  }

  #congrats-btn-replay {
    display: none;
  }
  #gameStatusMessage {
    position: absolute;
    bottom: 200px;
    left: 10px;
    display: inline-block;
    height: 50px;
    font-size: 0.5rem;
  }

  #gameStatusMessage .freda {
    height: 50px;
    width: 60px;
  }
  #gameStatusMessage .alert {
    margin-bottom: 0.2rem;
  }

  .row.menu-buttons .btn,
  .row.menu-buttons a {
    display: inline-block;
    margin-bottom: 5px;
    font-size: 0.8em;
  }
  .row.menu-buttons .col {
    padding-left: 11px;
    padding-right: 2px;
  }

  .timer_container {
    margin-bottom: 10px;
  }
  .timer_container .btn {
    font-size: 11px !important;
  }
  #timerContainer h1,
  #timerContainer h2 {
    display: inline-block;
    margin-bottom: 0px;
    position: relative;
    font-weight: 300;
    top: -2px;
    margin-right: 5px;
    padding: 3px 5px;
    font-size: 0.9em;
    line-height: 1.1;
  }
  .mr-2,
  .mx-2 {
    margin-right: 5px;
  }
  #turnCount {
    min-width: 14px;
    display: inline-block;
  }

  .game-description {
    height: 7vh;
  }
  .page-link {
    font-size: 1em;
  }
  .right-hand-mode,
  .left-hand-mode {
    display: block;
  }
  #stockCount {
    width: 18px;
  }

  #passthroughCount {
    width: 14px;
  }
  .new-game-modal-all-games {
    max-height: 20vh;
  }
  .new-game-modal-description-container {
    max-height: 50vh;
  }
  .navbar-brand img {
    max-width: initial;
  }
  nav.navbar span.navbar-toggler-icon {
    font-size: 1rem;
  }
  .navbar-toggler-icon {
    width: 1em;
    height: 0.5em;
  }
  .navbar-toggler {
    padding: 0.1rem;
    margin: 0.25rem 0.5rem 1rem 0.5rem;
  }
}

@media (max-width: 919px) and (max-height: 420px) {
  #site-header {
    height: 0;
    display: none;
  }

  .sidebar-slogan,
  .sidebar-stats,
  #solitaired_stats_D_1 {
    display: none;
  }

  .timer_container {
    position: absolute;
    width: 140px;
    top: 0px;
    right: 1px;
    left: initial;
  }

  .timer-container .row.menu-buttons .col {
    padding-left: 5px;
    margin-left: 5px;
  }
  .timer_container .btn {
    margin-bottom: 5px;
  }

  /* Make other game buttons flex vertically */
  div:not(.sgg-container) .timer_container .btn-group.turn-btns,
  div:not(.sgg-container) .timer_container #mahjong-shape-btns.btn-group {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  div:not(.sgg-container)
    .timer_container
    .btn-group.turn-btns
    > .btn-group.turn-btns:not(:last-child)
    > .btn,
  div:not(.sgg-container)
    .timer_container
    .btn-group.turn-btns
    > .btn:not(:last-child),
  div:not(.sgg-container)
    .timer_container
    #mahjong-shape-btns.btn-group
    > .btn-group.turn-btns:not(:last-child)
    > .btn,
  div:not(.sgg-container)
    .timer_container
    #mahjong-shape-btns.btn-group
    > .btn {
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
  }
}

#truex_container {
  position: fixed;
  width: 960px;
  top: 10px;
  left: max(0px, calc(50vw - 480px));
  z-index: 1052;
}

@media screen and (max-width: 960px) {
  #truex_container {
    width: 90vw;
    left: 5vw;
  }
}
