/* DESKTOP */

.italic-text {
    font-style: italic;
}

.stats-page-table {
    border-collapse: collapse;
    width: 100%;
    height: 138px;
    margin-bottom: 20px;
    margin-top: 20px;
    border-spacing: 0;
    border: unset;
}

.stats-page-table tbody,
.stats-page-table tfoot,
.stats-page-table thead,
.stats-page-table tr,
.stats-page-table th,
.stats-page-table td {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    vertical-align: baseline;
    background: transparent;
    text-rendering: optimizelegibility;
    -webkit-font-smoothing: antialiased;
}

.stats-page-table tr,
.stats-page-table td {
    height: 25px;
    font-weight: 500 !important;
    color: black;
    font-size: 16px;
}

.stats-page-table tr:nth-last-child(2) td:last-child {
    border-bottom-right-radius: 0px !important;
}

.stats-page-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.stats-page-table tr:nth-child(odd) {
    background-color: rgba(94, 164, 229, 0.20);
}

.larger-table-td {
    width: 70%;
}

.stats-page-body {
    background-color: #f9f9f9;
}

.stats-page-body .footer {
    margin-top: 0px !important;
    border-top: 0px !important;
}

.stats-page-hero,
.stats-page-body-section,
.stats-page-chapter-intro {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.stats-page-hero {
    min-height: auto;
    padding: 30px 40px 40px 40px;
    background-color: #2882d7;
    margin-top: -50px;
}

.stats-page-list li {
    margin-bottom: 15px;
}

.stats-page-body h1,
.stats-page-body h2,
.stats-page-body h3,
.stats-page-body h4 {
    max-width: 600px;
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center;
}

.stats-page-body h3 {
    font-size: 32px;
    line-height: 38px;
}

.stats-page-body-section.with-smaller-headings h3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 40px;
    font-size: 27px;
    text-align: left !important;
    line-height: 34px;
    max-width: unset;
}

.stats-page-hero-title {
    color: #fff;
    line-height: 130%;
    font-size: 39px;
    font-weight: 600;
    text-align: center;
}

.stats-page-author {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
}

.stats-page-author-img {
    width: 40px;
    margin-right: 15px;
    border-radius: 50%;
}

.stats-page-author-link,
.stats-page-author-name {
    color: #fff;
}

.stats-page-author-link:hover,
.stats-page-author-name:hover {
    color: #fff;
    text-decoration: none;
}

.stats-page-author-link:focus,
.stats-page-author-name:focus {
    color: #fff;
    text-decoration: none;
}

.stats-page-hero-intro-text {
    color: #fff;
    font-size: 21px;
    max-width: 550px;
    margin: 45px auto 0 auto;
    font-weight: 400;
}

.stats-page-hero-list {
    margin: 20px 0;
}

.stats-page-hero-list li a,
.stats-page-hero-list li a:hover {
    color: white;
}

.stats-page-body-section {
    padding-top: 15px;
    padding-bottom: 50px;
}

.stats-page-body-container {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding: 35px 20px 10px 20px;
}

.stats-page-body-container img {
    width: 100%;
    margin: 15px 0 25px 0;
    border: 1px solid #f2f2f2;
    border-radius: 10px;
    user-select: none;
}

.stats-page-summary-container {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    padding-right: 20px;
    padding-left: 20px;
}

.stats-page-summary-title {
    font-size: 35px;
    max-width: unset !important;
}

.stats-page-body-text {
    font-size: 18px;
    line-height: 27px;
    font-weight: 400;
}

.stats-page-summary-list {
    padding-left: 25px;
}

.stats-page-summary-list li {
    margin-bottom: 20px;
}

.stats-page-chapter-intro {
    padding: 50px;
    background-color: #2579C6;
    color: #fff;
    text-align: center;
}

.stats-page-chapter-number {
    margin-bottom: 13px;
    text-transform: uppercase;
    font-weight: 400;
}

.stats-page-chapter-title {
    font-size: 37px;
    line-height: 45px;
    color: white;
    margin-top: 0;
    max-width: 700px !important;
    margin-bottom: 0;
}

.stats-page-chapter-subtitle {
    max-width: 750px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 15px;
    font-size: 18px;
    text-align: left;
    font-weight: 400;
}

.stats-page-chapter-subtitle.centered {
    text-align: center;
}

.enlarged-img {
    width: 150% !important;
    margin-left: -25% !important;
}

.stats-table-scroll-wrapper {
    max-height: 562px;
    overflow-y: scroll;
    max-width: 600px;
    margin: 0px auto 40px;
    border: 1px solid #dddddd;
    border-radius: 10px;
}

.stats-table-scroll-wrapper.is--huge {
    width: 140% !important;
    margin-left: -20%;
    max-width: 140% !important;
}

.stats-table-scroll-wrapper .stats-table {
    max-width: 100% !important;
    margin-bottom: 0px !important;
}

.stats-table-scroll-wrapper::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.30);
    border-radius: 3px;
    background-color: #F5F5F5;
}

.stats-table-scroll-wrapper::-webkit-scrollbar-thumb {
    border-radius: 3px;
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.30);
    background-color: #5B9BD5;
}

.stats-table-scroll-wrapper::-webkit-scrollbar {
    width: 18px;
    background-color: #F5F5F5;
}

.stats-page-list-grid {
    display: flex;
    justify-content: space-around;
}

.stats-table-scroll-wrapper.no-scroll-bar {
    max-height: unset !important;
    overflow-y: unset !important;
    border: unset !important;
}

/* MOBILE */

@media(max-width: 1140px) {
    .enlarged-img {
        width: 140% !important;
        margin-left: -20% !important;
    }
    .stats-table-scroll-wrapper.is--huge {
        width: 100% !important;
        margin-left: -0%;
        max-width: 100% !important;
    }
    .stats-table-scroll-wrapper.is--huge .stats-table.larger-table {
        max-width: 1000px !important;
        width: 1000px !important;
    }
}

@media(max-width: 1040px) {
    .enlarged-img {
        width: 120% !important;
        margin-left: -10% !important;
    }
}

@media(max-width: 900px) {
    .enlarged-img {
        width: 100% !important;
        margin-left: 0% !important;
    }
    .stats-page-list-grid {
        flex-direction: column;
    }
    .stats-page-list-grid .stats-page-list {
        margin: 0px;
    }
}

@media screen and (max-width: 767px) {
    .stats-page-hero-title {
        font-size: 30px;
        line-height: 37px;
    }
    .stats-page-hero {
        padding-top: 30px;
    }

    .stats-page-author {
        font-size: 14px;
    }

    .stats-page-chapter-intro {
        padding: 25px;
    }

    .stats-page-chapter-title {
        font-size: 31px;
        line-height: 37px;
    }
}
