/* jutpatti (P0369) - card table shared by the card games */
.cg-row { margin: 8px 0; }
.cg-lab { font-weight: bold; margin-right: 6px; }
.cg-sel, .cg-in { min-height: 46px; padding: 0 8px; border: 2px solid #8C96A6; border-radius: 10px; font: inherit; background: #FFFFFF; margin: 0 10px 8px 0; box-sizing: border-box; }
.cg-in { width: 7em; }
.cg-btn { min-height: 46px; padding: 0 14px; border: 2px solid #24334B; border-radius: 10px; background: #24334B; color: #FFFFFF; font: inherit; font-weight: bold; cursor: pointer; margin: 0 6px 8px 0; }
.cg-btn.cg-ghost { background: #FFFFFF; color: #24334B; }
.cg-btn[aria-pressed="true"] { background: #3B6970; border-color: #3B6970; color: #FFFFFF; }
.cg-table { background: #2E6B34; border-radius: 14px; padding: 10px; color: #FFFFFF; }
.cg-scores { border-collapse: collapse; background: #FFFFFF; color: #24334B; border-radius: 8px; margin: 0 8px 8px 0; display: inline-table; vertical-align: top; font-size: .95em; }
.cg-scores th, .cg-scores td { padding: 4px 8px; border-bottom: 1px solid #E5E0D5; text-align: left; }
.cg-scores tr.cg-turn th, .cg-scores tr.cg-turn td { background: #FBF1E4; font-weight: bold; }
.cg-scores tr.cg-turn th:before { content: "\25B6  "; color: #8A5A1F; }
.cg-center { margin: 8px 0; min-height: 110px; }
.cg-slot { display: inline-block; vertical-align: top; margin: 0 10px 8px 0; text-align: center; }
.cg-cap { display: block; font-weight: bold; font-size: .9em; margin: 0 0 4px; }
.cg-table .cg-cap { color: #FFFFFF; }
.cg-hand { margin: 4px 0 6px; }
.cg-card { display: inline-block; position: relative; box-sizing: border-box; width: 54px; height: 76px; margin: 0 4px 6px 0; padding: 0; border-radius: 7px; background: #FFFFFF; border: 1px solid #8C96A6; box-shadow: 0 1px 2px rgba(0,0,0,.35); font: inherit; vertical-align: top; text-align: left; }
button.cg-card { cursor: pointer; }
.cg-rank { position: absolute; left: 4px; top: 3px; font-weight: bold; font-size: 1em; line-height: 1.1; white-space: nowrap; }
.cg-pip { position: absolute; right: 6px; bottom: 4px; font-size: 1.7em; line-height: 1; }
.cg-red { color: #A3271F; }
.cg-black { color: #24334B; }
.cg-back { background: #3B6970; border: 2px solid #FFFFFF; background-image: repeating-linear-gradient(45deg, #3B6970 0, #3B6970 6px, #497C83 6px, #497C83 12px); }
.cg-none { background: transparent; border: 2px dashed #CFE3D1; box-shadow: none; }
.cg-off { opacity: .5; }
.cg-picked { transform: translateY(-10px); box-shadow: 0 0 0 3px #FBF1E4, 0 0 0 6px #8A5A1F; }
.cg-meld { transform: translateY(-6px); border-bottom: 5px solid #3B6970; }
.cg-gap { margin-left: 14px; }
.cg-small { width: 40px; height: 56px; }
.cg-small .cg-pip { font-size: 1.2em; }
.cg-table .cg-card:focus { outline: 3px solid #FBF1E4; outline-offset: 2px; }
.cg-note { margin: 4px 0 0; }
.cg-suitnow { display: inline-block; vertical-align: middle; font-weight: bold; margin: 20px 0 0; }
.cg-reveal, .cg-row-cards { margin: 8px 0; }
.cg-showline { margin: 0 0 6px; }
.cg-track { height: 12px; background: #FFFFFF; border-radius: 6px; margin: 4px 0 8px; max-width: 420px; overflow: hidden; }
.cg-fill { display: block; height: 100%; background: #C38B4A; }
.cg-fill2 { background: #497C83; }
.cg-log { max-height: 14em; overflow-y: auto; padding-left: 1.6em; color: #4A5568; }
.cg-actions .cg-sel { margin-bottom: 8px; }
@media (max-width: 480px) {
  .cg-card { width: 44px; height: 64px; margin-right: 3px; }
  .cg-rank { font-size: .9em; }
  .cg-pip { font-size: 1.3em; }
  .cg-small { width: 34px; height: 48px; }
  .cg-table { padding: 8px 6px; }
}
.cg-jok { display: inline-block; min-width: 54px; min-height: 76px; line-height: 1.3; padding-top: 12px; box-sizing: border-box; font-weight: bold; color: #FBF1E4; }
.cg-sel { max-width: 100%; }
