body {
  overscroll-behavior-x: none;
}
.modal.show .modal-dialog {
  margin-top: 50px;
}
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.2em !important;
  font-size: 14px !important;
  /* prevent preroll ad message from covering the mobile dropdown. */
  z-index: 100;
}

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

nav.navbar a,
nav.navbar span,
nav.navbar .nav-item.dropdown a.nav-link {
  color: #1c7430;
}
.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.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;
}

.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 {
  display: none;
  flex: 0 0 405px;
  height: 120vh;
  overflow-x: hidden;
  margin-top: -32px;
}

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

.sidebar-stats .small {
  font-size: 0.65em;
  line-height: 1;
}
.sidebar-stats .sidebar-stats-adunit {
  width: 320px;
  min-height: 50px;
  max-height: 100px;
  overflow: hidden;
  margin: 0 auto;
  font-size: 1.75em;
  color: #005000;
}

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

.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 #solitairea_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 {
  text-transform: uppercase;
  display: inline-block;
  color: #fff;
}

.move-section {
  margin-left: 5px;
}
.timer-button {
}
#stockCount {
  /*width: 36px;
    display: inline-block;*/
}

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,
.footerbuttons .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 {
  display: inline-block;
}

#pauseTimer {
  font-variant-numeric: tabular-nums;
  display: inline-block;
  padding-left: 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;
}
#congrats h5 {
  font-size: 195%;
  text-transform: uppercase;
}
#congrats .btn.singlebtn {
  background: rgba(0, 0, 0, 0.5) !important;
}
/*
#congrats {
    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: 5vh 4vh 4vh 4vh;
    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 .trophy-personal-stats {
  border: 1px solid #529545;
  border-radius: 15px;
  box-shadow: 3px 3px 1px rgba(0, 0, 0, 0.2);
  background: #39752b;
  margin: -20px 20px 0;
  padding: 20px;
}
#congrats .trophy-personal-stats .col {
  width: 25%;
}
#congrats .trophy-personal-stats .col h4 {
  color: #ffd530 !important;
  font-size: 22px !important;
  font-weight: bold;
}
#congrats .wanna-play-again {
  border-top: 1px solid #529545;
  margin: 30px 0 20px;
}
#congrats .wanna-play-again p {
  border-top: 1px solid #438136;
  padding-top: 20px;
}
#congrats .modal-content {
  background: rgba(66, 139, 49, 0.95);
}
#congrats .trophy-personal-stats .col p {
  color: white !important;
  text-transform: capitalize !important;
}
#congrats .trophy-personal-stats .col .pr-trophy {
  display: none;
}
#congrats .congrats_text {
  color: #333;
  text-shadow: none;
  font-family: "Luckiest Guy", sans-serif;
  font-size: 5vh;
}
#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 {
  font-weight: bold;
  font-size: 1.5rem;
  color: #ccc;
  position: absolute;
  top: 5px;
  right: 16px;
}

a#closeCongrats: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: #89b789;
  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: 1rem;
}

#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 h2 {
  font-size: 1.5em;
  display: inline-block;
  margin-bottom: 0px;
  position: relative;
  font-weight: 500;
  top: 2px;
  margin-right: 10px;
}

.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;
}
.hint-helper {
  background-image: url("../images/hint-helper.png");
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: bottom right;
  width: 120px;
  height: 100px;
  display: block;
  align-self: flex-end;
}
.hint-helper-no-hints {
  background-image: url("../images/avatar-no-hints.png");
}
.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;
}

.report-bug {
  cursor: pointer;
}

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

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

#solitairea_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";
}

#new-user-modal .btn {
  margin: 10px 0;
}

.new-user-modal-img {
  width: 100%;
  cursor: pointer;
}

.new-user-modal-col {
  width: 45%;
}

.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: #89b78933;
}

#new-game-modal .dropdown-item:active {
  background-color: #89b789;
  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;
}
@media (max-width: 1200px) {
  #adSidebarContainer {
    margin-top: 0px;
  }
}
@media (max-width: 1018px) {
  #adSidebarContainer {
    flex: 0 0 300px;
  }
  #adSidebarContainer #solitairea_desktop_right_rail_2 {
  }

  #solitairea_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 160px;
  }
  #adSidebarContainer #solitairea_desktop_right_rail_2 {
    /* width: 160px; */
  }
  .leaderboard-nav-btn,
  #subscribeButton {
    display: none;
  }
  #usernameHelp {
    display: none;
  }
}

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

@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;
  }
}

@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;
  }

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

  #solitairea_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;
  }

  .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 .hint-helper {
    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 {
    display: inline-block;
  }

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

  .new-game-modal-all-games {
    max-height: 20vh;
  }
  .new-game-modal-description-container {
    max-height: 50vh;
  }
}

@media (max-width: 399px) {
  .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,
  #solitairea_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;
  }

  .new-user-modal-game-title {
    font-size: 12px;
  }

  .new-user-modal-img {
    width: 80%;
  }
}

.menu-buttons .btn {
  border-radius: 25px;
  padding: 10px !important;
  font-size: 120% !important;
}

.btn-group {
  border: 1px solid #89b789 !important;
  border-radius: 25px;
  margin-right: 35px !important;
  background: rgba(0, 0, 0, 0.2);
}
.btn-success {
  background: transparent !important;
  border: 0 !important;
  color: #89b789;
}
.btn-success.active {
  background: white !important;
  color: #000 !important;
  border-radius: 25px !important;
}
.btn img {
  height: 18px;
  width: 18px;
  margin-right: 5px;
  background: transparent;
  vertical-align: -4px;
}
.btn.singlebtn,
.menu-buttons .btn.singlebtn,
.footer-buttons .btn.singlebtn {
  border-radius: 35px;
  border: 1px solid #89b789 !important;
  background: rgba(0, 0, 0, 0.2) !important;
  padding: 8px !important;
  color: #89b789;
}
#hintBtn,
#hintBtn2 {
  padding: 4px !important;
}
#hintBtn img,
#hintBtn2 img {
  margin: 0;
  height: 26px;
  width: 26px;
}
#restartBtn {
  padding: 4px 8px 4px 2px !important;
}
#restartBtn img {
  height: 26px;
  width: 26px;
  vertical-align: -8px;
}
.timer-button img#pauseButton {
  display: none;
}
.timer-button {
  margin-right: 15px !important;
  margin-left: 15px !important;
}
.timer-button img#playButton {
  display: inline-block;
}

.timer-button.playing img#pauseButton {
  display: inline-block;
}
.timer-button.playing img#playButton {
  display: none;
}

#info-box {
  border: 1px solid #89b789 !important;
  border-radius: 35px;
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 14px !important;
  font-weight: bold;
  vertical-align: middle;
  font-size: 120%;
}
#info-box img {
  vertical-align: -3px;
}
#dropdownMoreMenuOffset img,
#stats-dropdown img {
  margin: 0;
}
.footer-buttons .btn {
  line-height: 1 !important;
  font-size: 110% !important;
}
.footer-buttons img {
  vertical-align: middle;
}

.modal-content {
  background: #428b31;
  min-width: 300px;
}
.modal-header {
  border: 0;
  padding-top: 5px;
  padding-bottom: 5px;
}
.modal-content h5 {
  color: white;
  text-align: center;
  padding: 8px 20px;
  font-size: 130%;
  font-weight: bold;
}

@media (min-width: 992px) {
  #settingsModal .modal-lg,
  #settingsModal .modal-xl,
  #confirmleaveRestartModal .modal-lg,
  #confirmleaveRestartModal .modal-xl,
  #confirmleaveChangeModal .modal-lg,
  #confirmleaveChangeModal .modal-xl,
  #confirmleaveNewModal .modal-lg,
  #confirmleaveNewModal .modal-xl,
  #statsModal .modal-lg,
  #statsModal .modal-xl {
    max-width: 400px;
  }
}

.dropdown-item {
  color: white;
  border-bottom: 1px solid #529545;
  border-top: 1px solid #438136;
}
.dropdown-item:first-child {
  border-top: 0;
}
.dropdown-item:last-child {
  border-bottom: 0;
}
.dropdown-item:hover {
  background: transparent;
  color: white;
}
.tableOptions {
  float: right;
  text-align: center;
  margin-right: -15px;
}
.tableOptions #colorPicker {
  width: 40px;
  height: 40px;
}
.toggler {
  float: right;
  border-radius: 15px;
  background: rgb(23, 52, 19);
  background: linear-gradient(
    180deg,
    rgba(23, 52, 19, 1) 0%,
    rgba(49, 118, 33, 1) 61%
  );

  box-shadow: inset 2px 2px 3px rgba(23, 52, 19, 1),
    inset -2px -2px 2px rgba(39, 98, 33, 1);
  height: 22px;
  width: 45px;
}
.toggler.toggler-active {
  background: rgb(183, 82, 0);
  background: linear-gradient(
    180deg,
    rgba(183, 82, 0, 1) 0%,
    rgba(242, 152, 1, 1) 61%
  );
  box-shadow: inset 2px 2px 3px rgb(183, 82, 0),
    inset -2px -2px 2px rgba(255, 90, 1, 1);
}
.toggler span {
  height: 22px;
  width: 22px;
  border-radius: 18px;
  background: rgb(252, 249, 243);
  background: linear-gradient(
    180deg,
    rgba(252, 249, 243, 1) 0%,
    rgba(229, 210, 175, 1) 61%
  );
  float: left;
}
.toggler.toggler-active span {
  float: right;
}

#customizeLink,
#customizeLink2 {
  cursor: pointer;
}
.modal-header {
  display: block;
  text-align: center;
}
button.close {
  color: white;
  font-size: 35px;
  text-shadow: none;
  opacity: 1;
  top: 10px;
  right: 10px;
  position: absolute;
}
.modal-content p {
  color: white;
}
#new-game-modal .singlebtn {
  background: #005000 !important;
  color: white !important;
  margin: 0 !important;
  line-height: 1 !important;
  vertical-align: middle;
}
.modal-content .table {
  color: white;
}

.modal-content .table th,
.modal-content .table td {
  border-bottom: 1px solid #529545;
  border-top: 1px solid #438136;
  font-weight: bold;
}
.modal-content .text-secondary {
  color: white !important;
}
.modal-content .rounded {
  background: #005000 !important;
  border-radius: 15px !important;
  min-width: 65px;
  color: white;
  padding-top: 0 !important;
  display: inline-block;
}
/*
.dropdown-item:first-child {
    border-top:0;
}
.dropdown-item:last-child {
    border-bottom:0;
}*/

#contactModal .form-buttons {
  text-align: right;
  color: white !important;
}
#contactModal .form-buttons .singlebtn {
  background: #005000 !important;
  color: white !important;
  line-height: 1;
}
#contactModal p {
  text-align: center;
  font-weight: bold;
}
#contactModal textarea,
#contactModal input[type="text"],
#contactModal input[type="email"] {
  background: #005000 !important;
  color: lightgrey;
  border: 0;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 15px;
}
#contactModal textarea::placeholder {
  color: lightgrey;
}
#statsModal .dropdown-item {
  font-weight: bold;
}
#statsModal .dropdown-item span {
  float: right;
}
#statsModal .reset-stats {
  color: white;
}

.footer-buttons-mobile {
  display: none;
}
#gamebuttons .btn.singlebtn {
  background: rgba(0, 0, 0, 0.55) !important;
  font-size: 0.975rem;
}
#gamebuttons .btn.singlebtn img {
  height: 24px;
  width: 24px;
  vertical-align: -6px;
}
@media (max-width: 992px) {
  .modal.show .modal-dialog {
    margin-top: 35px;
  }
  .menu-buttons {
    background: #013101;
    padding: 5px 0 !important;
  }
  .menu-buttons .hide-mobile {
    display: none !important;
  }
  .menu-buttons .btn img {
    max-height: 10px;
  }
  .menu-buttons .btn {
    border: 0 !important;
    padding: 4px 4px !important;
    margin: 0 !important;
    border-radius: 5px !important;
    box-shadow: none !important;
  }
  .menu-buttons .btn.active {
    padding: 4px 8px !important;
  }
  .btn-group {
    border: 0 !important;
    margin-right: 5px !important;
  }
  .btn.singlebtn,
  .menu-buttons .btn.singlebtn,
  .footer-buttons .btn.singlebtn {
    border: 0 !important;
    background: transparent !important;
  }
  #gamebuttons .btn.singlebtn {
    border: 1px solid #89b789 !important;
    background: rgba(0, 0, 0, 0.5) !important;
  }
  .footer-buttons-mobile .btn {
    width: 15%;
    text-align: center;
  }
  .footer-buttons-mobile .btn img {
    border-radius: 25px;
    width: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 3px;
    height: 40px !important;
    margin-right: 0;
    margin-bottom: 5px !important;
  }
  .footer-buttons-mobile .btn h6 {
    padding: 0;
    margin: 0;
    font-size: 10px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
  }
  #info-box {
    border: 0 !important;
    padding: 0 !important;
  }
  .timer_container {
    padding: 0 !important;
    font-size: 10px;
  }
  #timerContainer h1,
  #timerContainer h2 {
    font-size: 1.2em;
    font-weight: bold;
    margin: 0;
    vertical-align: middle;
    top: 0;
  }
  #pauseTimer {
    padding-right: 0;
  }
  .timer-button {
    margin: 0 4px !important;
  }
  #turnCount {
    min-width: 0;
  }
  .footer-buttons-mobile {
    display: block;
  }
  .report-bug {
    display: none;
  }
  #info-box {
    float: right;
  }
  #newGameMobile img {
    background: white;
  }
  #info-box img {
    max-height: 12px;
  }

  #congrats h5 {
    font-size: 110%;
  }
  #congrats h5 img {
    max-height: 22px !important;
  }
}

.custom-card-back img,
.custom-card-deck {
  border-color: #438136;
  color: white;
}

#timerContainerBottom {
  position: absolute;
  bottom: 20px;
  width: 100%;
}
