/* ======================================================================================== */
/*                                  Statistical Tables                                      */
/* ======================================================================================== */

/* ======================================================= General Table Properties */

table{border-collapse: collapse;}

/* ======================================================= Diagram Wrapper Tables */

table.DWrap-Table{
  margin-left: auto;
  margin-right: auto;
}

table.DWrap-Table td{
  text-align: center;
  vertical-align: top;
}

/* ======================================================= Legend Tables */

table.Legend-Table{
  margin: 0 auto;
  margin-top: 15px;
}
table.Legend-Table td{
  vertical-align: top;
  padding-left: 10px;
  text-align: left;
  width: auto;
}

/* ======================================================= Explanation Tables */

/* Some general table properties are also listed in the section >>> Tables */

table.Expl-Table{
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
  }
  
  table.Expl-Table td{
    padding-left: 5px;
    padding-right: 5px;
    text-align: justify;
  }
  
  /* ======================================================= Large-Icon Table */
  
  table.Expl-LargeIconTable td{
    vertical-align: top;
    padding-top: 15px;
  }
  table.Expl-LargeIconTable img{
    height: 50px;
  }

/* ======================================================= Statistic Tables - Table Properties */

div.Stat-Table-Wrap{ 
  /* required for the table shadow being visible when scrolling fully to the right */
  display: inline-block;
}

table.Stat-Table{
  border-collapse: collapse;
  margin-right: 10px;
  margin-bottom: 0px; /* Der horizontale Scrollbalken kommt erst unter dem Margin; daher hier kein Margin!*/
  -webkit-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.3);
  -moz-box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.3);
  box-shadow: 0px 0px 8px 2px rgba(0,0,0,0.3);
}

table.fullWidth{
  width: calc(var(--PageWidth) - 10px); /* equal width as wrapper causes problem in Chrome */
}

table.Stat-Table a{
  color: var(--TourColor);
}

/* ======================================================= Statistic Tables - Row Properties */

/*table.Stat-Table tr{transition: 0.2s;}*/

table.Stat-Table tr.header{
  background-color: #F2F2F2;
  color: #EEA900;
  font-weight: 500;
  position: relative;
  z-index: 1000;
}
table.Stat-Table tr.band1{
  background-color: #FFFFFF;
}
table.Stat-Table tr.band2{
  background-color: #F2F2F2;
}
table.Stat-Table tr.Fusszeile, table.Stat-Table tr.totrow{
  background-color: #F2F2F2;
  color: #555555;
  font-weight: 500;
}
table.Stat-Table tr.totrow td{
  height: 18px;
}
table.Stat-Table tr.hatched{
  background-color: transparent;
  background-image: linear-gradient(135deg, #F2F2F2 25%, transparent 25%, transparent 50%, #F2F2F2 50%, #F2F2F2 75%, transparent 75%, transparent);
  background-size: 7px 7px;
}
table.Stat-Table tr.rowgroup{
  height: 63px;
}

/* Rows which are link anchor targets */
table.Stat-Table tr.linkAnchorTarget{background-color: var(--TourColor);}
table.Stat-Table tr.hatched.linkAnchorTarget{
  background-image: linear-gradient(135deg, var(--TourColor) 25%, #F6BE35 25%, #F6BE35 50%, var(--TourColor) 50%, var(--TourColor) 75%, #F6BE35 75%, #F6BE35);
}

table.Stat-Table tr.spacerTop.band1{
  -webkit-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.1);
  box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.1); 
}
table.Stat-Table tr.spacerTop.band2{
  -webkit-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.05);
  box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.05);
}
table.Stat-Table tr.spacerTop.hatched{
  -webkit-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.075);
  -moz-box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.075);
  box-shadow: inset 0px 2px 2px 0px rgba(0,0,0,0.075);
}
table.Stat-Table tr.spacerBottom.band1{
  -webkit-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.1);
  -moz-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.1);
  box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.1); 
}
table.Stat-Table tr.spacerBottom.band2{
  -webkit-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.05);
  -moz-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.05);
  box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.05);
}
table.Stat-Table tr.spacerBottom.hatched{
  -webkit-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.075);
  -moz-box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.075);
  box-shadow: inset 0px -2px 2px 0px rgba(0,0,0,0.075);
}

/* Spacer for having space for the shadows */
table.Stat-Table td.spacer{
  height: 7px;
}

/* ======================================================= Statistic Tables - Cell Properties */

/* General Cell Properties */
table.Stat-Table td {
  text-align: right;
  height: 20px;
}

/* Special Cell Properties */

table.Stat-Table td.detailed-data-mother,
table.Stat-Table tr.detailed-data-mother td{
  height: 18px;
  vertical-align: bottom;
}
table.Stat-Table td.detailed-data,
table.Stat-Table tr.detailed-data td{
  font-size: 8pt;
  font-style: italic;
  color: grey;
  height: 15px;
  vertical-align: top;
}

table.Stat-Table td.CouSums{color: var(--TourColor); font-weight: 500;}
table.Stat-Table td.largeMonth{font-size: 15pt;}
table.Stat-Table td.valueSortedBy{color: var(--TourColor); font-weight: 500;}
table.Stat-Table span.stageTitle, table.Stat-Table span.tourTitle{
  color: var(--TourColor); font-size: 12pt;
}
table.Stat-Table td.Sp1Fuss, table.Stat-Table td.statName{padding-right: 30px;}
table.Stat-Table .countryName{color: #EEA900; font-weight: 500;}
table.Stat-Table td.finMit{color: #AAAAAA; font-size: 8pt;}

table.Stat-Table p.rowGroup{
  margin-top: 10px;
  margin-bottom: 10px;
  line-height: 10pt;
}

/* Sortierte Spalten-Header */
table.Stat-Table td.sortBut{
  background-image: url("../../graphics/navigation/arrows/up-down-inactive.svg");
  cursor: pointer;
  background-size: 15px auto;
  background-position: center;
  background-repeat: no-repeat;
} 
table.Stat-Table td.sortBut:Hover{
  background-image: url("../../graphics/navigation/arrows/up-down-preactive.svg");
}
table.Stat-Table td.sortAsc{background-image: url("../../graphics/navigation/arrows/up-slim.svg");}
table.Stat-Table td.sortDesc{background-image: url("../../graphics/navigation/arrows/down-slim.svg");}
table.Stat-Table td.sortAsc:Hover{background-image: url("../../graphics/navigation/arrows/up-slim.svg"); background-size: 25px auto;}
table.Stat-Table td.sortDesc:Hover{background-image: url("../../graphics/navigation/arrows/down-slim.svg"); background-size: 25px auto;}
table.Stat-Table td.sortAsc, table.Stat-Table td.sortDesc{background-size: 20px auto;}

/* ======================================================= General Cell Classes */

td.l{text-align: left !important;}
td.r{text-align: right !important;}
td.c{text-align: center !important;}
td.pl{padding-left: 5px !important;}
td.pr{padding-right: 5px !important;}
td.pt{padding-top: 5px !important;}
td.pb{padding-bottom: 5px !important;}
td.ppl{padding-left: 15px !important;}
td.ppr{padding-right: 15px !important;}
td.ppt{padding-top: 15px !important;}
td.ppb{padding-bottom: 15px !important;}
td.bbl1{border-left: solid 1px #F2F2F2 !important;}
td.bbl2{border-left: solid 1px #FFFFFF !important;}
td.bt{border-top: solid 2px #FFFFFF !important;}
td.dh{height: 35px !important;}
td.bold{font-weight: 600 !important;}

table.Expl-Table td.br{border-right: 1px solid #DDDDDD !important;}
table.Expl-Table td.bb, table.Expl-Table tr.bb{border-bottom: 1px solid #DDDDDD !important;}