html, body{
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #222;
    /* color: #6cb96c; */
    color: white;
    padding: 10px;
    padding-bottom: 50px;
    -webkit-text-size-adjust: none;
    -moz-text-size-adjust: none;
    -ms-text-size-adjust: none;
}

a{
    color: #8ac88a;
    text-decoration: none;
}


.profile_img{
    height: 30px;
    border: ridge 2px gray;
    border-radius: 50%;
}

.subtitle{
    font-weight: lighter;
    color: grey;
    margin-left: 10px;
}

/* .profile_rank_1{
    border-color: gold;
    color: gold;
}
.profile_rank_2{
    border-color: silver;
    color: silver;
}
.profile_rank_3{
    border-color: #CD7F32;
    color: #CD7F32;
} */


.header{
    color: gray;
    margin: auto;
    text-align: center;
    padding: 0 8px 0 20px;
    font-size: smaller;
}
.info_tooltip{
    display: inline-block;
    background-color: grey;
    color: #222;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    cursor: help;
}
.rowWrapper{
    display: contents;
}
.hoverable_cell{
    display: flex;
    align-items: center;
    padding: 0 20px;
}
.hoverable:hover > .hoverable_cell{
    background-color: #1c1c1c;
}
.place{
    font-size: x-large;
    color: #373737;
    font-weight: bold;
    justify-content: center;
}
.sparkline_cell{
    padding: 0 15px;
}
.footer{
    padding: 10px 20px;
}


.medal{
    width:16px;
    height:16px;
    border-radius:50%;
    display: inline-block;
    margin-right:3px;
    border: 2px groove;
}
.medal-gold{
    background-color:gold;
    border-color:gold;
}
.medal-silver{
    background-color:silver;
    border-color:silver;
}
.medal-bronze{
    background-color:#CD7F32;
    border-color:#CD7F32;
}
.medal-condensed{
    /* TODO: implement */
    margin-right: -15px; 
}
.medal-condensed-text{
    /* TODO: implement */
    display: inline;
    margin-right: 6px;
    text-shadow: #000 -2px 0 4px;
    font-weight: bold;
    padding-left: 10px;
}


.add-rebuy-btn {
	background-color: darkgreen;
	border-color: darkgreen;
	color: lime;
}
.add-seven-two-btn {
	background-color: darkblue;
	border-color: darkblue;
	color: lightblue;
}

.rules > summary{
    color: #8ac88a;
    font-size: larger;
    cursor: pointer;
    margin-top: 0.5em;
}

.rules > p {
  margin-left: 1em;
  color: gray;
  font-size: 0.8em;
}

.card{
    border: #424242 1px solid;
    border-radius: 5px;
    display: inline-block;
    width: 42px;
    height: 30px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.card_black{
    color:white;
}

.card_red{
    color:red;
}

.card_faint{
    opacity: 0.3;
}

.hand_title {
    font-size: 1.1em;
    font-weight: bold;
}

.hand_description {
	color: gray;
	font-size: 0.8em;
	/* text-indent: 20px; */
}
.table_spacer {
	height: 15px;
}

.medal_cell_desktop{display: flex;}
.medal_cell_mobile{display: none;}

.mobile_medal{
    font-weight: bold;
    width: 33%;
    text-align: center;
}

/* .seven_two_cell{
} */

@media only screen and (max-width: 576px) {
    html, body{
        padding: 2px;
        padding-bottom: 25px;
    }

    .medal_cell_desktop{display: none;}
    .medal_cell_mobile{display: flex;}

    .game_grid, .result_grid{
        font-size: 0.65em;
    }

    .profile_img {
        height: 20px;
    }

    .subtitle{
        margin-left: 0px;
        display: block;
        font-size: 0.7em;
    }

    .header{
        padding: 0px 4px;
    }
    .info_tooltip{
        width: 10px;
        height: 10px;
        font-size: unset;
    }
    .result_grid > .header{
        font-size: 0.6em;
    }
    
    .place{
        padding-right: 4px !important;
    }
    .footer{
        padding: 10px 0px;
    }
    .hoverable_cell{
        padding: 0px;
    }
    .sparkline_cell{
        padding: 0px;
        margin: 0 -22px;
    }
    .sparkline_cell > svg {
        scale: 0.5;
    }
    .medal{
        width: 10px;
        height: 10px;
    }
    .seven_two_img{
        width: 18px;
    }    
    .seven_two_cell{
        font-weight: bold;
        color: limegreen;
    }
}