/*
* Styles for statistic pages
*/

#main {
background: #f7f7f7;
}

#statistic-wrapper {
padding: 1.32em 0.6em 5.2em 0.6em;
color: #34495e;
background: #f7f7f7;
}

h1.standing-title {
margin: 0.8em 0 1.2em 0;
font-size: 1.2em;
font-weight: normal;
text-align: center;
}

div.standing-title-wrapper {
position: relative;
}

img.standing-country-flag {
width: 40px;
height: 30px;
position: absolute;
right: 0;
top: -4px;
background: #ffffff;
}

h2.standing-group-title {
margin: 3.2em 0 1.2em 0;
text-align: center;
font-size: 1.2em;
font-weight: normal;
}

h2.standing-group-title-games {
margin: 3.2em 0 -1.2em 0;
text-align: center;
font-size: 1.2em;
font-weight: normal;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

h2.standing-subtitle {
margin: -0.88em 0 0.92em 0;
text-align: center;
font-size: 1em;
font-weight: normal;
text-transform: lowercase;
}

h2.standing-country-group-title {
margin: 4.2em 0 1em 0.6em;
text-align: left;
font-size: 1.2em;
font-weight: normal;
}

h2.standing-country-group-title-fisrt {
margin-top: 1.4em
}

.standing-group-details {
margin: 1em 0.6em 0 0;
text-align: right;	
font-size: 1.2em;
}

.standing-group-details a {
text-decoration: none;
color: #2455c3;
}

.standing-group-details a:hover {
text-decoration: underline;
}

.standing-group-details a:visited {
color: #2455c3;
}

#standing-navigation {
padding-left: 1em;
padding-bottom: 0.6em;
border-bottom: 1px solid #ecf0f1;
}

#standing-navigation ul {
margin: 0;
padding: 0;
list-style: none;
}

#standing-navigation li {
display: inline-block;
margin-right: 1.4em;
}

#standing-navigation li:last-of-type {
margin-right: 0;
}

#standing-navigation a {
text-decoration: none;
color: #2455c3;
}

#standing-navigation a:hover {
text-decoration: underline;
}

#standing-navigation a:visited {
color: #2455c3;
}

#standing-navigation span {
color: #d64541;
}

#standing-navigation span.standing-navigation-disabled {
color: #95a5a6;
}

#standing-navigation img {
margin-right: 1.4em;
vertical-align: -3px;
background: #ffffff;
}

#standing-group-navigation {
padding-left: 1em;
margin-bottom: 0.6em;
padding-bottom: 0.6em;
border-bottom: 1px solid #ecf0f1;
}

#standing-group-navigation ul {
margin: 0;
padding: 0;
list-style: none;
}

#standing-group-navigation li {
display: inline-block;
margin-right: 1.4em;
}

#standing-group-navigation li:last-of-type {
margin-right: 0;
}

#standing-group-navigation a {
text-decoration: none;
color: #2455c3;
}

#standing-group-navigation a:hover {
text-decoration: underline;
}

#standing-group-navigation a:visited {
color: #2455c3;
}

#standing-group-navigation span {
color: #d64541;
}


@media screen and (max-width: 640px) {
#standing-navigation, #standing-group-navigation {
padding-left: 0;
border-bottom: 0 none #ecf0f1;
}
#standing-navigation li, #standing-group-navigation li {
display: block;
line-height: 2.2em;
margin-left: 0.6em;
margin-right: 0.6em;
padding-left: 0.4em;
padding-right: 0.4em;
border-bottom: 1px solid #ecf0f1;
}
#standing-navigation li:last-of-type, #standing-group-navigation li:last-of-type {
margin-right: 0.6em;
}
#standing-navigation a, #standing-group-navigation a {
display: block;
}
img.standing-country-flag {
right: 10px;
}
}

@media screen and (max-width: 480px) {
h1.standing-title {
width: calc(100% - 50px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
h2.statistic-subtitle {
font-size: 1.22em;
}
}

@media screen and (max-width: 420px) {
img.standing-country-flag {
right: 4px;
}
}

@media screen and (max-width: 360px) {
h1.standing-title {
margin-top: 0.42em;
}
}


h2 {
margin: 2.72em 0 1.32em 0;
font-size: 1.2em;
font-weight: normal;
text-align: center;
white-space: unset;
overflow: unset;
text-overflow: unset;
}

.season-starts-from {
margin: 1.2em 0;
text-align: center;
font-size: 1.2em;
color: #d64541;
}


.seasons-select {
margin-top: 0.6em;
margin-bottom: 1em;
text-align: center;
}

.seasons-label {
color: #34495e;
padding-right: 0.32em;
}

.seasons-select a {
color: #0c59a3;
text-decoration: none;
white-space: nowrap;
font-size: 1em;
padding: 0.4em 0 0.4em 0.48em;
}

.seasons-select a span {
display: inline-block;
vertical-align: middle;
max-width: 220px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.seasons-select a:visited {
color: #0c59a3;
}

.seasons-select a:hover {
background: #dfe6e9;
}

.seasons-select-button {
width: 1.8em;
margin-left: 0.2em;
vertical-align: -0.58em;
}


.seasons-window {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 12000;
background: #ecf0f1;
max-height: 50%;
display: flex;
flex-direction: column;
}

.seasons-select-arrow {
position: relative;
display: block;
width: 100%;
height: 38px;
flex: none;
cursor: pointer;
background-color: #808e9b;
background-position: center;
background-repeat: no-repeat;
background-size: 38px 38px;
}

.seasons-select-arrow-up {
background-image: url("/images/svg/move-up2.svg");
}

.seasons-select-arrow-down {
background-image: url("/images/svg/move-down2.svg");
}

.seasons-select-items {
min-height: 0;
flex-grow: 1;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
height: 100%;
}

.seasons-select-item {
display: block;
color: #0c59a3;
text-decoration: none;
line-height: 32px;
padding: 4px 16px 4px 16px;
font-size: 18px;
white-space: nowrap;
max-width: 220px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
min-width: 132px;
}

.seasons-select-item:visited {
color: #0c59a3;
}

.seasons-select-item:hover {
background: #dfe6e9;
}

.seasons-close-button2 {
position: absolute;
top: 0;
right: 0;
cursor: pointer;
width: 38px;
height: 38px;
background-position: center;
background-repeat: no-repeat;
background-size: 24px 24px;
background-image: url("/images/svg/close2.svg");
}



@media screen and (max-height: 768px) {
.seasons-window {
max-height: 60%;
}
}


@media screen and (max-height: 640px) {
.seasons-window {
max-height: 70%;
}
}


@media screen and (max-height: 480px) {
.seasons-window {
max-height: calc(100% - 20px);
}
}




.league-stat-main {
display: flex;
justify-content: space-between;
}

table.league-stat-summary {
border-collapse: collapse;
width: 160px;
}

table.league-stat-summary th {
height: 2em;
line-height: 2em;
text-align: left;
padding: 0 0.24em;
font-weight: normal;
background: #dadfe1;
vertical-align: top;
}

table.league-stat-summary th:first-of-type {
border-radius: 2px 0 0 0;
}

table.league-stat-summary th:last-of-type {
border-radius: 0 2px 0 0;
}

table.league-stat-summary td {
height: 2em;
line-height: 2em;
text-align: left;
padding: 0 0.24em;
border-bottom: 1px solid #dadfe1;
vertical-align: top;
}

table.league-stat-summary td.data, table.league-stat-summary th.data {
width: 2.4em;
text-align: right;
}


table.goals-stat {
border-collapse: collapse;
width: 200px;
}

table.goals-stat th {
height: 2em;
line-height: 2em;
text-align: center;
padding: 0 0.24em;
font-weight: normal;
background: #dadfe1;
border-left: 1px solid #ffffff;
vertical-align: top;
}

table.goals-stat th:first-of-type {
border-radius: 2px 0 0 0;
border-left: 1px solid #dadfe1;
}

table.goals-stat th:last-of-type {
border-radius: 0 2px 0 0;
border-right: 1px solid #dadfe1;
}

table.goals-stat td {
height: 2em;
line-height: 2em;
text-align: left;
padding: 0 0.24em;
border: 1px solid #dadfe1;
vertical-align: top;
}

table.goals-stat td.number, table.goals-stat td.percent {
text-align: right;
padding-left: 0px;
}

table.goals-stat td.number {
width: 32px;
padding-right: 14px;
}

table.goals-stat td.percent {
width: 62px;
padding-right: 10px;
}

table.goals-stat td.label {
width: 70px;
text-align: center;
}

table.goals-stat td.label-right {
width: 42px;
padding-right: 32px;
text-align: right;
}

table.goals-stat td.label-right-small {
width: 38px;
padding-right: 37px;
text-align: right;
}

@media screen and (max-width: 860px) {
table.league-stat-summary {
width: 140px;
}
table.goals-stat {
width: 180px;
}
}

@media screen and (max-width: 768px) {
table.league-stat-summary {
width: 120px;
}
table.goals-stat {
width: 160px;
}
}

@media screen and (max-width: 680px) {
h2 {
margin-top: 3.6em;
}
#data-col {
padding-left: 0;
padding-right: 0;
}
.league-stat-main {
display: unset;
justify-content: unset;
}
.league-stat-wrapper {
max-width: 280px;
margin-left: auto;
margin-right: auto;
}
table.league-stat-summary, table.goals-stat {
margin: 2.4em auto;
width: 100%;
}
table.goals-stat td.number {
width: 24px;
padding-right: 22px;
}
table.goals-stat td.label-right, table.goals-stat td.label-right-small {
width: 28px;
padding-right: 46px;
}
}


.dc {
position: relative;
max-width: 100%;
display: block;
}

.dce {
position: absolute;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
width: 100%;
top: 0;
left: 0;
}
