/*Groups row styles*/
.tf-groups-section {
    background-color: #ffffff;
}

.tf-groups-section-wrp {
    padding: 20px 0;
}

.tf-groups__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 30px;
}

.tf-groups__table {
    background-color: #ffffff;
    margin: 0;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #d8d8d8;
}

.tf-groups__name {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 10px;
    color: #000000;
}

.tf-groups__inner-wrp {
    display: flex;
    align-items: flex-start;
    margin-bottom: 10px;
}

.tf-groups__inner-wrp:last-child {
    margin-bottom: 0;
}

.tf-groups__inner-place {
    margin-right: 5px;
}

.tf-groups__inner-wrp span {
    font-size: 16px;
    display: inline-block;
    color: #000000;
    line-height: 1;
}

.tf-groups__inner-team {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.tf-groups__inner-image {
    width: 20px;
    object-fit: cover;
    display: inline-block;
    margin: 0 3px 0 0;
    border: 1px solid #d8d8d8;
}

.tf-groups__inner-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    color: #008488;
    text-decoration: none;
    transition: all 0.3s;
}

.tf-groups__inner-link:hover {
    color: #0b0b0b;
    text-decoration: none;
}

.tf-groups__inner-link img {
    width: 100%;
    max-width: 44px;
    margin: 0 5px 0 0;
}

@media only screen and (max-width: 1024px) {
    .tf-groups__wrapper {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 768px) {
    .tf-groups__wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
}

@media only screen and (max-width: 460px) {
    .tf-groups__wrapper {
        grid-template-columns: 1fr;
    }
}

/*Group - Results row styles*/
.tf-group-results-section {
    background-color: #ffffff;
}

.tf-group-results-section-wrp {
    padding: 20px 0;
}

.tf-group-results__table-wrp {
    display: block;
    width: 100%;
    background-color: #ffffff;
    border-radius: 10px;
    border: 1px solid #d8d8d8;
    padding: 20px;
    margin-bottom: 20px;
}

.tf-group-results__table-wrp:last-child {
    margin-bottom: 0;
}

.tf-group-results__table {
    display: table;
    width: 100%;
    height: 100%;
    background-color: #ffffff;
}

.tf-group-results__tr.tf-group-results__main-tr {
    height: auto;
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.tf-group-results__main-tr th {
    font-size: 14px;
    color: #008488;
    padding-right: 10px;
}

.tf-group-results__main-tr .tf-group-results__group-name {
    font-size: 18px;
    font-weight: 700;
    color: #000000;
    width: 450px;
}

.tf-group-results__tr td {
    font-size: 16px;
    color: #000000;
    width: 40px;
    vertical-align: top;
    border-bottom: 1px solid #d8d8d8;
    padding: 10px 0;
}

.tf-group-results__tr:last-child td {
    border-bottom: 0;
}

.tf-group-results__tr .tf-group-results__td-pts {
    font-weight: 700;
    padding-right: 0;
}

.tf-group-results__m-info-wrp {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.tf-group-results__m-info-count {
    margin-right: 5px;
    line-height: 1;
}

.tf-group-results__m-info-book-title {
    font-size: 18px;
    color: #000000;
    line-height: 1;
    display: block;
    margin-bottom: 7px;
}

.tf-group-results__m-info-country-wrp {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.tf-group-results__m-info-country {
    line-height: 1;
}

.tf-group-results__m-info-image {
    width: 18px;
    object-fit: cover;
    display: inline-block;
    border: 1px solid #d8d8d8;
    margin-right: 4px;
}

.tf-group-results__m-info-book-link {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    display: block;
    color: #008488;
    text-decoration: none;
    transition: all 0.3s;
    margin-right: 5px;
}

.tf-group-results__m-info-book-link:hover {
    color: #000000;
    text-decoration: none;
}

.tf-group-results__m-info-book-link img {
    width: 100%;
    max-width: 60px;
}

@media only screen and (max-width: 640px) {
    .tf-group-results__m-info-book-title,
    .tf-group-results__m-info-book-link {
        font-size: 14px;
        text-transform: capitalize;
    }

    .tf-group-results__tr td {
        font-size: 14px;
    }

    .tf-group-results__m-info-book-link img {
        max-width: 40px;
    }

    .tf-group-results__m-info-image {
        width: 20px;
        margin: 0 2px;
    }
}

@media only screen and (max-width: 490px) {
    .tf-group-results__m-info-image {
        display: none;
    }

    .tf-group-results__m-info-book-title,
    .tf-group-results__m-info-book-link {
        font-size: 12px;
    }

    .tf-group-results__tr td {
        font-size: 12px;
    }

    .tf-group-results__m-info-book-link img {
        max-width: 20px;
    }
}

@media only screen and (max-width: 440px) {
    .tf-group-results__m-info-book-link img {
        display: none;
    }

    .tf-group-results__m-info-count {
        margin-right: 0;
    }
}

/*Match row styles*/
.tf-tabs__wrapper {
    padding: 20px 0;
    background-color: #ffffff;
}

.tf-tabs {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 35px;
}

.tf-tab__wrp {
    padding-right: 30px;
}

.tf-tabs-show-view[show_views="all"] .tf-tab {
    display: inline-block;
}

.tf-tabs-show-view[show_views="knockout"] .tf-tab.tf-tab-groups {
    display: none;
}

.tf-tabs-show-view[show_views="groups"] .tf-tab.tf-tab-knockouts {
    display: none;
}

.tf-tab_item {
    display: none;
}

.tf-tab_item:first-child {
    display: block;
}

.tf-tabs-show-view[show_views="knockout"] .tf-tab_item {
    display: block;
}

.tf-tabs-show-view[show_views="knockout"] .tf-tab_item:first-child {
    display: none;
}

.tf-tab {
    font-size: 16px;
    color: #242424;
    margin-right: 30px;
    text-transform: uppercase;
    line-height: 1;
    padding-bottom: 5px;
    display: inline-block;
    cursor: pointer;
    transition: color 0.3s;
}

.tf-tab:hover {
    color: #3d3d3d;
}

.tf-tab:last-child {
    margin-right: 0;
}

.tf-tab.active {
    border-bottom: 2px solid #242424;
}

.tf-tabs__dd {
    width: 100%;
    max-width: 700px;
    text-align: right;
}

.tf-tabs__dd-wrapper {
    position: relative;
    z-index: 10;
}

.tf-tabs__dd-nav {
    font-size: 16px;
    color: #242424;
    line-height: 1.5;
    cursor: pointer;
}

.tf-tabs__dd-nav span {
    font-weight: 600;
    display: inline-block;
    margin-left: 10px;
    line-height: 1.5;
}

.tf-tabs__dd-nav i {
    color: #008488;
    margin-left: 10px;
}

.tf-tabs__dd-ul {
    display: none;
    position: absolute;
    top: 105%;
    right: 0;
    margin: 0;
    padding: 20px;
    background-color: #ffffff;
    list-style: none;
    box-shadow: 0 4px 15px 0 rgba(0, 0, 0, 0.1);
    border: 1px solid #d8d8d8;
}

.tf-tabs__dd-ul.active {
    display: block;
}

.tf-tabs__dd-ul li {
    font-size: 16px;
    color: #242424;
    line-height: 1.5;
    margin-bottom: 5px;
    text-decoration: none;
    display: inline-block;
    width: 100%;
    cursor: pointer;
    text-align: left;
    position: relative;
    padding-right: 5px;
    transition: all 0.3s;
}

.tf-tabs__dd-ul li:hover {
    color: #008488;
    text-decoration: none;
}

.tf-tabs__dd-ul li.active-book {
    color: #008488;
}

.tf-tabs__dd-ul li.active-book::after {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 14px;
    content: '\f00c';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.tf-match-section {
    margin-bottom: 30px;
}

.tf-match-section:last-child {
    margin-bottom: 0;
}

.tf-match-section-wrp {
    border: 1px solid #d8d8d8;
    border-radius: 10px;
}

.tf-match__title {
    padding: 17px 15px 13px;
    border-bottom: 1px solid #d8d8d8;
}

.tf-match__post {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #d8d8d8;
    padding: 30px 15px;
}

.tf-match__post:last-child {
    border-bottom: 0;
}

.tf-match__post.active {
    display: flex;
}

.tf-match__post:not(.active) {
    display: none;
}

.tf-match__post-wrp__nomatch p {
    font-size: 17px;
    color: #242424;
    line-height: 1;
    padding: 20px;
    text-align: center;
}

.tf-match__post-info {
    width: 100%;
    max-width: 200px;
}

.tf-match__post-info p,
.tf-match__post-info p span {
    font-size: 15px;
    margin: 0;
    line-height: 1.35;
    color: #000000;
}

.tf-match__post-info p span {
    font-weight: 700;
}

.tf-match__post-match-center {
    display: flex;
    justify-content: center;
    padding: 0 15px;
    width: 100%;
}

.tf-match__post-match-center__inner {
    display: flex;
    margin: 0;
    padding: 0;
}

.tf-match__post-match-center__home-wrp {
    margin-right: 30px;
    text-align: right;
}

.tf-match__post-match-center__home-wrp-mobile,
.tf-match__post-match-center__away-wrp-mobile {
    display: flex;
    flex-direction: row;
}

.tf-match__post-match-center__away-wrp {
    margin-left: 30px;
    text-align: left;
}

.tf-match__post-match-center__link {
    font-size: 16px;
    color: #008488;
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    display: inline-block;
    margin-top: 20px;
    text-decoration: none;
    outline: none;
    transition: all 0.3s;
}

.tf-match__post-match-center__link:hover {
    color: #000000;
    text-decoration: none;
}

.tf-match__post-match-center__flag {
    width: 100%;
    max-width: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.tf-match__post-match-center__book img {
    width: 100%;
    max-width: 120px;
}

.tf-match__post-match-center__title {
    font-size: 20px;
    color: #000000;
    font-weight: 700;
    text-transform: uppercase;
    display: block;
    line-height: 1;
}

.tf-match__post-match-center__score {
    display: flex;
    align-self: center;
    margin: 0 40px;
    background-color: #008488;
    border-radius: 50px;
    padding: 7px 30px;
    height: fit-content;
}

.tf-match__post-match-center__score span {
    font-size: 24px;
    color: #ffffff;
    line-height: 1;
    display: inline-block;
}

.tf-match__post-match-center__inner .tf-match__post-match-center__inner-minus {
    margin: 0 8px;
}

@media only screen and (max-width: 1024px) {
    .tf-match__post-match-center__home-wrp {
        margin-right: 10px;
    }

    .tf-match__post-match-center__away-wrp {
        margin-left: 10px;
    }

    .tf-match__post-match-center__score {
        margin: 0 15px;
    }

    .tf-match__post-match-center__title {
        font-size: 16px;
    }

    .tf-match__post-match-center__link {
        margin-top: 10px;
    }

    .tf-match__post-match-center__score span {
        font-size: 20px;
    }

    .tf-tabs__dd {
        max-width: 450px;
    }
}

@media only screen and (max-width: 768px) {
    .tf-match__post {
        flex-direction: column;
        align-items: center;
    }

    .tf-match__post-info {
        max-width: 100%;
        text-align: center;
        margin-bottom: 15px;
    }

    .tf-match__post-match-center {
        padding: 0;
    }

    .tf-tabs {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .tf-tab__wrp {
        padding-right: 0;
        margin-bottom: 20px;
    }

    .tf-tabs__dd {
        max-width: 100%;
        text-align: left;
    }
}

@media only screen and (max-width: 640px) {
    .tf-match__post-match-center__home-wrp-mobile {
        flex-direction: column-reverse;
    }

    .tf-match__post-match-center__away-wrp-mobile {
        flex-direction: column;
    }

    .tf-match__post-match-center__home-wrp,
    .tf-match__post-match-center__away-wrp {
        margin: 0;
    }

    .tf-match__post-match-center__book img {
        margin-bottom: 5px;
    }

    .tf-match__post-match-center__score {
        padding: 5px 10px;
    }

    .tf-match__post-match-center__score span {
        font-size: 18px;
    }

    .tf-match__post-match-center__flag {
        display: inline-block;
        max-width: 20px;
        margin: 0;
        padding-bottom: 3px;
    }

    .tf-match__post-match-center__title {
        display: inline-block;
    }

    .tf-match__post-match-center__link {
        margin-top: 5px;
        display: block;
    }
}

/*Brackets row styles*/
.tf-brackets-section {
    background-color: #ffffff;
    width: 100%;
    display: none;
}

.tf-brackets__wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.tf-brackets__ul-title {
    font-size: 16px;
    color: #242424;
    line-height: 1;
    padding: 5px;
    margin-bottom: 10px;
    text-align: center;
}

.tf-brackets__ul {
    padding: 0;
    margin: 0 10px 0 0;
    width: 99%;
}

.tf-brackets__ul:last-child {
    margin: 0;
}

.tf-brackets__match.tf-mn-64 {
    background-color: #000f2c;
    padding: 15px 8px;
}

.tf-brackets__match.tf-mn-64 .tf-brackets__match-score {
    background-color: transparent;
}

.tf-brackets__match.tf-mn-64 span,
.tf-brackets__match.tf-mn-64 p,
.tf-brackets__match.tf-mn-64 a {
    color: #ffffff;
}

.tf-brackets__match {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    list-style: none;
    padding: 5px;
    border: 1px solid #d8d8d8;
    border-radius: 10px;
    margin-bottom: 20px;
    width: 100%;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
    min-height: 110px;
}

.tf-brackets__match.tf-mn-63 {
    z-index: 2;
}

.tf-brackets__match.tf-mn-49::before,
.tf-brackets__match.tf-mn-53::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 11px;
    background-color: #d8d8d8;
    right: -11px;
    bottom: 10px;
}

.tf-brackets__match.tf-mn-51::before,
.tf-brackets__match.tf-mn-55::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 11px;
    background-color: #d8d8d8;
    left: -11px;
    bottom: 10px;
}

.tf-brackets__match.tf-mn-50::before,
.tf-brackets__match.tf-mn-54::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 11px;
    background-color: #d8d8d8;
    right: -11px;
    top: 10px;
}

.tf-brackets__match.tf-mn-52::before,
.tf-brackets__match.tf-mn-56::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 11px;
    background-color: #d8d8d8;
    left: -11px;
    top: 10px;
}

.tf-brackets__match.tf-mn-57::before,
.tf-brackets__match.tf-mn-59::before {
    content: '';
    position: absolute;
    height: 140%;
    width: 2px;
    background-color: #d8d8d8;
    bottom: -140%;
    left: 50%;
    transform: translateX(-50%);
}

.tf-brackets__match.tf-mn-61::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 55%;
    background-color: #d8d8d8;
    top: 50%;
    transform: translateY(-50%);
    left: -55%;
}

.tf-brackets__match.tf-mn-61::before {
    content: '';
    position: absolute;
    height: 2px;
    width: 140%;
    background-color: #d8d8d8;
    top: 50%;
    transform: translateY(-50%);
    right: -140%;
}

.tf-brackets__match.tf-mn-62::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 55%;
    background-color: #d8d8d8;
    top: 50%;
    transform: translateY(-50%);
    right: -55%;
}

.tf-brackets__match.tf-mn-64::before {
    content: '';
    position: absolute;
    height: 140%;
    width: 2px;
    background-color: #d8d8d8;
    top: -140%;
    left: 50%;
    transform: translateX(-50%);
    z-index: -1;
}

.tf-brackets__match.tf-mn-57,
.tf-brackets__match.tf-mn-59 {
    margin-top: 85px;
}

.tf-brackets__match.tf-mn-58,
.tf-brackets__match.tf-mn-60 {
    margin-top: 140px;
}

.tf-brackets__match.tf-mn-61,
.tf-brackets__match.tf-mn-62 {
    margin-top: 210px;
}

.tf-brackets__match.tf-mn-63 {
    margin-top: 45px;
    margin-bottom: 150px;
}

.tf-brackets__team {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tf-brackets__team-inner__info {
    display: flex;
    align-items: center;
}

.tf-brackets__team-inner__info-img {
    width: 100%;
    max-width: 13px;
    margin-right: 2px;
    border: 1px solid #242424;
}

.tf-brackets__team-inner__info-title {
    font-size: 11px;
    color: #242424;
    line-height: 1;
}

.tf-brackets__team-inner__link {
    font-size: 12px;
    color: #008488;
    text-align: center;
    display: inline-block;
    transition: all 0.3s;
}

.tf-brackets__team-inner__link:hover {
    color: #242424;
    text-decoration: none;
}

.tf-brackets__team-inner__link-image {
    display: block;
    margin-bottom: 5px;
}

.tf-brackets__team-inner__link-image img {
    width: 100%;
    max-width: 40px;
}

.tf-brackets__match-score-wrp {
    padding: 5px 3px;
    text-align: center;
}

.tf-brackets__match-score {
    background-color: #008488;
    border-radius: 50px;
    padding: 1px;
    margin-bottom: 7px;
}

.tf-brackets__finalp {
    font-size: 12px;
    margin: 0 0 5px 0;
    text-align: center;
    line-height: 1;
}

.tf-brackets__match-score span {
    font-size: 14px;
    color: #ffffff;
    line-height: 1;
}

.tf-brackets__match-title {
    font-size: 10px;
    font-weight: 500;
    color: #242424;
    margin: 0;
    padding: 0;
}

@media only screen and (max-width: 1600px) {
    .tf-brackets__match.tf-mn-61::after {
        left: -56%;
        width: 56%;
    }

    .tf-brackets__match.tf-mn-62::after {
        right: -56%;
        width: 56%;
    }
}

@media only screen and (max-width: 1350px) {
    .tf-brackets__match.tf-mn-61::after {
        left: -57%;
        width: 57%;
    }

    .tf-brackets__match.tf-mn-62::after {
        right: -57%;
        width: 57%;
    }
}

@media only screen and (max-width: 1100px) {
    .tf-brackets__match.tf-mn-61::after {
        left: -58%;
        width: 58%;
    }

    .tf-brackets__match.tf-mn-62::after {
        right: -58%;
        width: 58%;
    }
}

@media only screen and (min-width: 2000px) {
    .tf-brackets__wrapper {
        max-width: 2000px;
        margin: 0 auto;
    }
}

@media only screen and (min-width: 1024px) {
    .tf-brackets-section {
        display: block;
    }
}
