body {
    margin:0px;
    width: 100%;
    text-align: center;
    width: 100%;
    color: aliceblue
}

body:before{
  content:"";
  display:block;
  position:fixed;
  top:0;
  left:0;
  z-index:-1;
  width:100%;
  height:100vh;
  background-image: url(back.png);
  background-size:cover;
}

h2.ranking_name{
    position: -webkit-sticky; /* safari対応 */
    position: sticky;
    top: 10px;
    color       : #ffffff;
    text-shadow:  2px  2px 10px #777 ,
                   -2px  2px 10px #777 ,
                    2px -2px 10px #777 ,
                   -2px -2px 10px #777;
    z-index: 2;
}

table {
    margin: auto;
    width: auto;
    border-collapse: separate;
    border-spacing: 0;
}

table th:first-child {
    border-radius: 5px 0 0 0;
}

table th:last-child {
    border-radius: 0 5px 0 0;
    border-right: 1px solid #3c6690;
}

table td {
    text-align: center;
    border-left: 1px solid #a8b7c5;
    border-bottom: 1px solid #a8b7c5;
    border-top: none;
    /*box-shadow: 0px -3px 5px 1px #eee inset;*/
}

table td:last-child {
    border-right: 1px solid #a8b7c5;
}

table tr:last-child td:first-child {
    border-radius: 0 0 0 5px;
}

table tr:last-child td:last-child {
    border-radius: 0 0 1px 0;
}

span.vertical_center{
    text-align: center; 
    vertical-align: middle;
}

ul.rank_list{
    margin-top: 100px;
    margin-bottom: 3px;
    list-style:none;
    font-size:16px;
    margin:0px;
    padding:0px;
}

.player_element li{
  border:1px solid black;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.deck_element li{
  border:1px solid black;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}

.player_element{
    border: 1px solid #a8b7c5;
    padding: 0px;
    margin: 0px;
}


li.deck_diff_in_deck_list{
    text-align: center; 
    vertical-align: middle;
    border: 0px none;
}

li.rank_in_rank_list{
    font-size: 1em;
    width: 12%;
    border: 0px none;
}

li.trophies_in_rank_list{
    font-size: 2em;
    width: 15%;
    border: 0px none;
}

li.player_status_in_rank_list{
    width: 70%;
    border: 0px none;
}

li.deck_status_in_deck_list{
    width: 100%;
    border: 0px none;
}

li.deck_users_in_deck_list{
    width: 100%;
    border: 0px none;
}

.rank_list li {
    padding: 10px 0 10px 0;
    position: relative;
    margin:0;
}
.rank_list ul:hover {
    opacity:0.8;
}
.rank_list li a {
    display:block;
    width:10%;
    text-decoration:none;
    color:#fff;
}
.rank_list li span {
    color:#fff;
}

span.name_in_rank_list{
  font-size:1.7em;
}

.clan_name_in_rank_list{
  font-size:0.8em;
}

.clan_tag_in_rank_list{
  font-size:0.8em;
}







h1.title {
    font-size: 3.5em;
    /*color: rgb(0, 153, 190)*/
}

.subtitle {
    font-size: 2em
}

a {
    color: rgb(255, 255, 255);
}

a[data-stt-changelang] {
    text-decoration: none;
    margin: 0 7px;
}

//アクティブなテキストのスタイル
a[data-stt-active] {
    font-weight: bold;
}
/*
div.top_player{
    display: block;
    height: 100px
    width: 100%;
    background-image: image("icons/league4-1.png");
}
*/

div.top_name{
    font-size: 4em
}

div.top_trophies{
    font-size: 3em
}

div.top_player {
    position: relative;
    margin: 1em 2em;
    padding: 0em 0em;
    border: solid 10px rgb(227, 170, 0);
    border-radius: 100px;
}

.flex{
  padding: 1% 0;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}
.flex > *{
  min-width: 8%;
  flex-basis: 5em;
  font-size: 32px;
  text-align: center;
}
.flex > *{
  border: 3px solid #aaa;
}

@media (max-width: 640px) {
    .table-scroll {
        overflow-x: scroll;
    }
}
/*
table tr td:nth-child(1) {
  width: 2em;
}
table tr td:nth-child(2) {
  width: 5em;
}
table tr td:nth-child(3) {
  width: 5em;
}
*/