/* Chrome & Grid */

body {
	margin: 0;
	padding: 0;
	color: #363a47;
	border: 1px solid #444;
	border-radius: 5px;
	font-size: 14px;
}

.container-fluid .row:first-of-type {
	border-radius: 5px 5px 0 0;
}

.container-fluid .row:last-of-type {
	border-radius: 0 0 5px 5px;
}

.row > div {
	padding-top: 20px;
	padding-bottom: 20px;
}

/* Rules */

#rules {
	background-color: #fafafa;
}

#rules > div {
	text-align: center;
}

#rules .input-group {
	width: 100%;
}

/* Table */

#table {
	color: #000;
	background-color: #222552;
	border-width: 1px 0;
	border-style: solid;
	border-color: #444;
}

#table > div:nth-of-type(2) {
	border-right: 1px solid #fff;
	background-color: #000;
	color: #fff;
}

#table h2 {
	margin-top: 0;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
    color:#fff !important;
}

/* Instructions */

#instructions {
	background-color: #fafafa;
	font-size: 16px;
}

@media (min-width: 768px) {
	#instructions #instructions-table {
		margin-right: 100px;
	}
}

#instructions #instructions-table td {
	vertical-align: top;
}

#instructions p:last-of-type {
	margin-bottom: 0;
}

#instructions span {
	font-weight: bold;
}

.bust {
	color: #fff;
	background-color: #900 !important;
	font-weight: bold;
}

/* Cards */

.card {
	margin: 0 auto;
	width: 60px;
	height: 84px;
	line-height: 84px;
	color: #fff;
	background-color: #444;
	border: 1px solid #fff;
	border-radius: 5px;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
}

.card:hover {
	color: #03989E;
	border-color: #51aee8;
	cursor: pointer;
}

.current {
	color: #03989E;
	border-color: #51aee8;
}

.selected {
	background-image:
		url(../img/op-suit.png),
		url(../img/op-suit.png),
		url(../img/op-suit.png),
		url(../img/op-suit.png);
	background-position:
		left 3px top 3px,
		right 3px top 3px, right
		3px bottom 3px, left
		3px bottom 3px;
	background-repeat: no-repeat;
}

h2.current {
	color: #444;
}

/* Card Selection */

#card-select {
	padding: 10px 0 0 10px;
	color: #fff;
	background-color: #444;
	border: 1px solid #444;
	border-radius: 5px;
    position: absolute;
    z-index: 9999;
}

#card-select ul,
#card-select li {
	margin: 0;
	padding: 0;
	list-style: none;
	overflow: hidden;
}

#card-select li {
	margin: 0 10px 10px 0;
	width: 43px;
	height: 60px;
	line-height: 60px;
	color: #363a47;
	background-color: #fff;
	border: 1px solid #484848;
	border-radius: 5px;
	font-size: 20px;
	text-align: center;
	float: left;
}

#card-select li:hover {
	color: #fff;
	background-color: #03989E;
	cursor: pointer;
}

#card-select li.selected {
	color: #fff;
	background-color: #03989E;
}

/* Tooltips */

.tooltip-inner {
	padding: 15px;
	width: 400px;
	max-width: 400px;
	line-height: 1.5em;
	font-size: 14px;
	text-align: left;
}

#rules{
  display: flex;
  justify-content: space-between;
}

#table{
  display: flex;
  column-gap: 20px;
  flex-grow: 20px;
}

.col-xs-3 {
  padding: 30px;
}
.btn-default {
  padding: 12px;
  cursor: pointer;
  margin-right: 5px;
  border: 1px solid;
  border-radius: 5px;
}
.btn-default.active{
  background: #34A8D9;
  color: #fff;
  border: 1px solid #34A8D9;
}


.btn-group {
  margin-top: 15px;
}
label.input-group{
  font-size: 16px;
}
#card-select {
  top: 70%!important
  
}
