html, body{
    padding: 0;
    margin:0;
    --bg-prime: #f7931f;
    --bg-prime-inactive: #fbc98f;
    --blackish:#1a1a1a;
}
/* desktop: 970x250
 mobile: 410x530 */

#W-wrap {
    position: relative;
    max-width: clamp(240px, 1140px, 100%);
    /* max-width: clamp(240px, 970px, 100%); */
    
    height: 250px;
 
    box-sizing: border-box;
    /* display: flex;
    flex-direction: column; */
    overflow: hidden;
    /* display: flex; */
    font-family: Taz, Helvetica, sans-serif;
}
#W-wrap .W-cloak {
    display: none;
}
#W-wrap .W-show-mobile {
    display: none;;
}
#W-wrap .W-flex-grow-1 {
    display: flex;
    flex-grow: 1;
}
/* tabs header */
#W-wrap .W-header {
    
}
#W-wrap .W-tabs {
    height: 40px;
    display: flex;
    flex-direction: row;
}
#W-wrap .W-tabs h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
    font-size: 32px;
    font-weight: normal;
    line-height: 1;
    padding: 0;
    margin:3px 10px;
    width: 318px;
}
#W-wrap .W-tabs a{
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: center;
    padding: 3px;
    font-size: 24px;
    line-height: 1;
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
    text-align: center;
    font-weight: normal;
    text-transform: uppercase;
    text-decoration: none;
    color:white;
    background-color: var(--bg-prime-inactive);
    transition: color .2s linear, background-color .2s linear;
}
#W-wrap .W-tabs a.active {
    background-color: var(--bg-prime);
}

/* tabs */
#W-wrap.W-mode-table #W-table {
    display: blcok;
}
#W-wrap.W-mode-table #W-table-swiper,
#W-wrap.W-mode-table .swiper-table-container .swiper-button-next,
#W-wrap.W-mode-table .swiper-table-container .swiper-button-prev   {
    display: block;
}
#W-wrap.W-mode-table .W-footer,
#W-wrap.W-mode-table #W-rez,
#W-wrap.W-mode-table .swiper-rez-container .swiper-button-next,
#W-wrap.W-mode-table .swiper-rez-container .swiper-button-prev  {
    display: none;
}
#W-wrap.W-mode-rez #W-table,
#W-wrap.W-mode-rez #W-table-swiper,
#W-wrap.W-mode-rez .swiper-table-container .swiper-button-next,
#W-wrap.W-mode-rez .swiper-table-container .swiper-button-prev {
    display: none;
}

#W-wrap.W-mode-rez #W-rez,
#W-wrap.W-mode-rez .swiper-rez-container .swiper-button-next,
#W-wrap.W-mode-rez .swiper-rez-container .swiper-button-prev  {
    display: block;
}
#W-wrap.W-mode-rez .swiper-rez-container .swiper-button-next svg path,
#W-wrap.W-mode-rez .swiper-rez-container .swiper-button-prev svg path{
    fill:var(--bg-prime);
}

#W-wrap.W-mode-rez .swiper-rez-container .swiper-button-disabled{
    display: none;
}

/* tablica */
#W-wrap #W-table .W-table-flex{
    display: flex;
    padding: 10px 5px;
    overflow-y: auto;
    height: 210px;
    flex-direction: row;
    justify-content: space-between;
}
#W-wrap .W-table {
    width: 380px;
    color:var(--blackish);
    border-collapse: collapse; 
}
#W-wrap .W-table th:nth-child(1) {
    text-align: left;
}
#W-wrap .W-table thead {
    margin-bottom: 8px;
}
#W-wrap .W-table th {
    padding: 0 5px;
    font-size: 18px;
    color:var(--blackish);
    font-family: "TazBold", Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
#W-wrap .W-table th:first-child {
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
}
#W-wrap .W-table th:last-child,
#W-wrap .W-table td:last-child {
    color: var(--bg-prime);
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
}
#W-wrap .W-table td:nth-child(1) 
{
    text-align: left;
}
#W-wrap .W-table td:last-child
{
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
    font-weight: normal;
}
#W-wrap .W-table td {
    padding: 5px 5px;
    text-align: center;
    font-family: "TazBold", Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    font-size: 15px;
    border-bottom: 1px solid #D9D9D9;
}
#W-wrap .W-table tr:last-child td{
    border: none;
}
#W-wrap .W-table .W-position {
    font-family: "TazBlack", Arial, Helvetica, sans-serif;
    display: inline-block;
}
#W-wrap .W-table .W-team{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
}
#W-wrap .W-table .W-flag {
    border-radius:20px;
    height: 25px;
    margin-right: 5px;
    display: flex;
    outline: 1px solid rgba(0,0,0,0.2);
}
/* table icons */
#W-wrap .W-table-icons {
    width: 122px;
    margin:0 34px;
    display: flex;
    flex-direction: column;
    gap:20px;
}
#W-wrap .W-table-icons .W-icon-row {
    display: flex;
    direction: row;
    align-items: center;
    justify-content: center;
    gap:20px;
}
#W-wrap .W-table-icons img {
    height: 30px;
}
/* swiper rezultati */
#W-rez-swiper {
    margin-top: 34px;
    height: 102px;
    padding: 0 55px;
}
#W-wrap .swiper-slide.W-sponzor-slide {
    display: none;
}
#W-wrap .swiper-slide {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
#W-wrap .swiper-wrapper >*:not(:last-child)::after {
    content: " ";
    position: absolute;
    top:28.5px;
    bottom: 28.5px;
    right:-30px;
    width: 1px;
    background-color:#D9D9D9;
}

#W-wrap .swiper-slide .W-sponzor {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size:24px;
    font-family: "TazBold" Arial, Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
    width: 100%;
    height: 100%;
    background-color: var(--bg-prime-inactive);
    text-align: center;
    vertical-align: middle;
}
/* swiper arrows */
#W-wrap  .swiper-button-next,
#W-wrap  .swiper-button-prev {
    --swiper-navigation-size:27px;
    width: 16px;
    height: 29px;
    /* margin-top:10px; */
}
#W-wrap #W-table-swiper .swiper-button-next,
#W-wrap #W-table-swiper .swiper-button-prev  {
     margin-top:12px;
}
#W-wrap .swiper-button-prev {
    margin-left: 0;
    left:27px;
}
#W-wrap  .swiper-button-next{
    margin-right: 0;
    right:27px;
}
#W-wrap .swiper-button-next::after,
#W-wrap .swiper-button-prev::after {
    content: "";
}
/* swiper hide pagination */
#W-wrap .swiper-pagination{
    display: none;
}

/* items */
#W-wrap .W-tekma {
    display: display;

    width:231px;
    text-align: center;
    /* text-transform: uppercase; */
    color:#0A3E83;

    font-weight: normal;
    font-family: "TazBlack", Helvetica, sans-serif;
}
#W-wrap .W-tekma .W-group {
    color:#0A3E83;
    font-size: 23px;
    line-height: 1;
    margin:0;
    margin-top:20px;
    margin-bottom: 16px;

    font-weight: normal;
    font-family: "TazBlack", Helvetica, sans-serif;
    transition:color .2s linear;
}
#W-wrap  .W-tekma .W-date {
    color:var(--blackish);
    font-size: 19px;
    line-height: 1;
    margin:0;
    margin-bottom:4.4px;
    font-weight: normal;
    font-family: "TazBold", Helvetica, sans-serif;
    text-transform: uppercase;
}
#W-wrap  .W-tekma .W-location { 
    font-size: 9.57px;
    line-height: 1;
    margin:0;
    margin-bottom: 12.15px;
    font-weight: normal;
    font-family: "TazLight", Helvetica, sans-serif;
}
/* teams */
#W-wrap .W-tekma .W-team-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
#W-wrap .W-tekma .W-score-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}
#W-wrap .W-tekma .W-team-flex .W-score-flex strong {
    color:var(--bg-prime);
    font-size: 32px;
    line-height: 1;
    margin:0;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-weight: normal;
    font-family: "TazBlack", Helvetica, sans-serif;
}
#W-wrap .W-tekma .W-team-flex .W-vs-symbol-bold
{
    font-size: 30px;
    font-weight: normal;
    font-family: "TazBlack", Helvetica, sans-serif;
}
#W-wrap .W-tekma  .W-team-flex span {
    display: block;
    margin: 0 5px;
    font-size: 30px;
    font-weight: normal;
    font-family: "Taz", Helvetica, sans-serif;
}
/* team */
#W-wrap .W-tekma  .W-team-flex .W-team{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#W-wrap .W-tekma  .W-team-flex .W-team.W-left {
    margin-right:9px;
}
#W-wrap .W-tekma  .W-team-flex .W-team.W-right {
    margin-left:9px;
}
#W-wrap .W-tekma  .W-team-flex  small{
    font-size:9.57px;
    font-weight: normal;
    font-family: "Taz", Helvetica, sans-serif;
}
#W-wrap .W-tekma  .W-team-flex .W-flag {
    margin-top: 15px;
    margin-bottom: 4.4px;
    border-radius:20px;
    width: 27px;
    height: 27px;
    display: flex;
    outline: 1px solid rgba(0,0,0,0.2);
}
#W-wrap .W-tekma  .W-team-flex .W-team small {
    /* position: absolute;

    bottom: -14px; */
    color: var(--blackish);
    font-size:15px;
    font-family: "TazBold", Helvetica, sans-serif;
    font-weight: normal;
    text-transform: uppercase;
}
/* footer */
#W-wrap .W-footer
{
    position: absolute;
    left: 0;
    bottom: 0;
    right:0;
    height: 50px;
    z-index: 10;

    padding: 5px 0;

    background-color: white;
    box-shadow: -4px 0 17px rgba(0,0,0,0.1);

    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
#W-wrap .W-footer img {
    height: 30px;
}
/* responsive 410x530*/
@media only screen and (max-width: 481px) {
    #W-wrap{
        position: relative;
        max-width: 100%;
        height: 395px;
    }
    #W-wrap .W-content {
        padding: 10px;
        height: 395px;
        overflow-y: auto;
    }
    #W-wrap .W-show-mobile {
        display: block;
    } 
    #W-wrap .W-hide-mobile {
        display: none!important;
    } 
    /* tabs */
    #W-wrap .W-tabs {
        height: 46px;
    }
    #W-wrap .W-tabs a {
        padding: 15px;
    }

    /* title */
    #W-wrap .W-mobile-title  {
        text-align: center;
        font-size: 32px;
        margin-top:0;
        margin-bottom: 5px;
        font-family: "TazBlack", Arial, Helvetica, sans-serif;
        font-weight: normal;
    }
    /* sponzor */
    #W-wrap .W-sponzor {
        color:black;
        font-family: "TazBold", Arial, Helvetica, sans-serif;
        font-weight: normal;
    }
    /* tablica */
    #W-wrap.W-mode-table .W-bg {
        border-top-width: 70px;
    }
    #W-wrap #W-table {
        margin-top:10px;
        padding: 0;
        height: auto;
    }
    #W-wrap .W-table {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 120px;
    }
    #W-wrap .W-table th{
        padding: 0 5px;
        font-family: "TazBold", Arial, Helvetica, sans-serif;
        font-weight: normal;
        font-size: 18px;
    }
    #W-wrap .W-table th:first-child {
        font-family: "TazBold", Arial, Helvetica, sans-serif;
    }
    #W-wrap .W-table th:first-child,
    #W-wrap .W-table td:first-child{
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
    #W-wrap .W-table td {
        width:21px;
        padding:15px 5px;
        font-size:14px;
        font-family: "TazBold", Arial, Helvetica, sans-serif;
        font-weight: normal;
        letter-spacing: 0;
    }
    #W-wrap .W-table tr:last-child td {
        border-bottom: 1px solid #999999;
    }
    #W-wrap .W-table .W-flag{
        height: 30px;
        margin-right: 5px;
        width: auto;
    }

    /* rezultati */
    #W-wrap #W-rez {
        padding-bottom: 110px;
    }
    #W-wrap #W-rez .W-tekma {
        width: 100%;
        border-bottom: 1px solid #D9D9D9;
        padding: 10px 0;
    }
    #W-wrap #W-rez .W-tekma .W-date{
        font-size: 18px;
        margin-top: 5px;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    #W-wrap #W-rez .W-tekma .W-score-flex {
        min-width: 62px;
        margin: 0 8px;
    }
    #W-wrap #W-rez .W-team-flex {
        justify-content: center;
    }
    #W-wrap #W-rez .W-tekma .W-team {
        display: flex;
        flex-direction: row;
        width: 135px;
    }
    #W-wrap #W-rez .W-tekma .W-team .W-flag-wrap { 
        min-width:45px;
        display: flex;
        flex-direction: row;
        justify-content: center;
    }
    #W-wrap #W-rez .W-tekma .W-team .W-flag {
        margin:0;
        height: 45px;
        width: auto;
    }
    #W-wrap #W-rez .W-tekma .W-team small{
        display: flex;
        flex-grow: 1;
        align-items: center;

        font-size: 15px;
        margin:0;
        max-width: 85px;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-left {
        flex-direction: row-reverse;
        margin: 0;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-left small{
        text-align: right;
        justify-content: end;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-left .W-flag-wrap {
       margin-left: 10px;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-right {
        margin: 0;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-right small{
        text-align: left;
        justify-content: start;
    }
    #W-wrap #W-rez .W-tekma .W-team.W-right .W-flag-wrap {
       margin-right: 10px;
    }
    #W-wrap  .W-sponzor {
        display: flex;
        justify-content: center;
        align-items: center;
        font-size:24px;
        font-family: "TazBold" Arial, Helvetica, sans-serif;
        font-weight: normal;
        text-transform: uppercase;

        height: 67px;
        background-color: var(--bg-prime-inactive);
        text-align: center;
        vertical-align: middle;
    }
   
    /* footer */
    #W-wrap .W-footer {
        display: flex!important;
    }

   
}

/* 396 */
@media only screen and (max-width: 481px) and (max-height: 396px) {
    #W-wrap{
        position: relative;
        max-width: 100%;
        height: 395px;
    }
}
/* 340 */
@media only screen and (max-width: 340px) {
  #W-wrap .W-table th {
    width: 18px;
    padding: 0 3px;
    font-size: 14px;
  }
}
/* 240 */
@media only screen and (max-width: 240px) {
  #W-wrap .W-content {
    padding: 15px 5px;
  }
  #W-wrap .W-table .W-flag {
    height: 15px;
    margin-right: 2px;
  }
  #W-wrap .W-table th {
    width: 18px;
    padding: 0 2px;
    font-size: 12px;
  }
  #W-wrap .W-table td {
    padding: 10px 2px;
    font-size: 12px;
  }
  #W-wrap #W-rez .W-tekma .W-team {
    flex-direction: column!important;
  }
  #W-wrap #W-rez .W-tekma .W-team .W-flag-wrap{
    margin:0!important;
    width: 100%;
  }
  #W-wrap #W-rez .W-tekma .W-team  .W-flag{
    height: 30px;
  }
  #W-wrap .W-footer img{
    height: 20px;
  }
  #W-wrap #W-rez .W-tekma .W-team small {
    width: 100%!important;
    justify-content: center!important;
    text-align: center!important;
  }
}
