.wgt-meczyki .container {
    /* max-width: 930px; */
    background: #fff;
}

.wgt-meczyki a {
    text-decoration: none;
}

.wgt-meczyki {
    border-radius: 3px;
    padding: 8px;
    background: #fff;
    margin-bottom: 6px;
}

.wgt-meczyki.collapsed {
    height: 38px;
}

.wgt-meczyki div.logostandalone {
    display: none;
}

.wgt-meczyki.collapsed .container,
.wgt-meczyki.collapsed .bottom {
    display: none;
}

.wgt-meczyki header {
    margin-bottom: 4px;
    position: relative;
}

.wgt-meczyki header div.powered {
    position: absolute;
    right: 32px;
    top: 2px;
}

.wgt-meczyki header div.tables {
    position: absolute;
    top: 4px;
    left: 105px;
    font-size: 12px;
}

.wgt-meczyki header div.tables a {
    color: #0084a4;
    padding: 1px 6px;
    border-radius: 3px;
    transition-duration: .2s;
}

.wgt-meczyki header div.tables a b {
    font-weight: 600;
    font-size: 14px;
}

.wgt-meczyki header div.tables a:hover {
    /* color: #00566c; */
    background-color: rgba(200, 200, 200, .2)
}

.wgt-meczyki header div.closebutton {
    position: absolute;
    right: 0;
    top: 2px;
    /* border: 1px solid; */
}

.wgt-meczyki .wgt-meczyki-ico-open {
    display: none !important;
}

.wgt-meczyki.collapsed .wgt-meczyki-ico-open {
    display: block !important;
}

.wgt-meczyki .wgt-meczyki-ico-hide {
    display: block !important;
}

.wgt-meczyki.collapsed .wgt-meczyki-ico-hide {
    display: none !important;
}

.wgt-meczyki header div.closebutton i.fa-times {
    color: #4c4c4c !important;
    display: block;
    width: 11px;
    height: 13px;
}

.wgt-meczyki .container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.wgt-meczyki .container > * {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
}

.wgt-meczyki .scores {
    max-width: 35%;
    margin-right: 16px;
    -webkit-align-content: space-evenly;
    align-content: space-evenly;
    -webkit-flex-flow: row wrap;
    flex-flow: row wrap;
}

.wgt-meczyki .score > div {
    padding: 0 8px;
}

.wgt-meczyki .score .country > *:first-child {
    margin-right: 8px;
}

.wgt-meczyki .score .country {
    display: flex;
    flex-direction: row;
    flex-basis: auto;
}
.wgt-meczyki .score .country > * {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #748391;
}
.wgt-meczyki .score .country > img {
    display: inline-block;
    width: 18px;
    height: 18px;
    /* border-radius: 2px;
    background-color: #ecf0ec; */
}

.wgt-meczyki .score .country span {
    letter-spacing: -1px;
    display: inline-block;
    min-width: 36px;
    text-transform: uppercase;
}

.wgt-meczyki .score .country.left span {
    text-align: right;
}

.wgt-meczyki .data {
    flex: 1;
}

.wgt-meczyki .data {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
}

.wgt-meczyki article {
    display: flex;
    flex-direction: row;
    flex-basis: 100%;
    flex: 45%;
    padding: 4px;
}
.wgt-meczyki article a {
    font-size: 13px;
    /* line-height: 16px; */
    font-weight: 600;
    /* color: #344953; */
    color: #4383af;
}

.wgt-meczyki article * {
    transition-duration: .2s;
    transition-timing-function: ease-in-out;
    transform: scale(1.01);
    margin: 0;
}

.wgt-meczyki article figure a {
    display: block;
    overflow: hidden;
    /* border-top-left-radius: 6px;
    border-bottom-left-radius: 6px; */
    border-radius: 3px
}

.wgt-meczyki article:hover a > img {
    transform: scale(1.1);
}
.wgt-meczyki article:hover p a {
    color: #1c5083;
}

.wgt-meczyki figure img {
    object-fit: cover;
    width: 67px;
    height: 50px;
    display: block;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
}

.wgt-meczyki article p {
    padding-right: 32px;
    padding-left: 8px;
    line-height: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    max-height: 50px;
}
.wgt-meczyki article p a:hover {
    color: #4383af;
}

.wgt-meczyki .score {
    display: flex;
    flex-direction: row;
    flex: auto;
    position: relative;
}

.wgt-meczyki .score .country {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    font-weight: 600;
    min-width: 74px;
    align-items: center; /* v2 */
}

.wgt-meczyki .score .info {
    font-size: 11px;
    line-height: 22px;
    vertical-align: baseline;
    width: 30%;
    color: #748391;
    flex: 1;
    white-space: nowrap;
    min-width: 62px;
    padding-top: 2px; /* v2 */
}

.wgt-meczyki .score .result {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    min-width: 70px;
    justify-content: center;
}

.wgt-meczyki .score .result > div {
    font-weight: 600;
    padding: 0 4px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wgt-meczyki .score > a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    border-radius: 3px;
}
.wgt-meczyki .score > a:hover {
    background: rgba(200, 200, 200, .2);
}

.wgt-meczyki .score .info,
.wgt-meczyki .score .info.penalty a,
.wgt-meczyki .score .result > div.announcement,
.wgt-meczyki .score .result > div.squads {
    font-size: 10px;
    font-weight: 400;
    text-transform: uppercase;
}

.wgt-meczyki .score .info.penalty,
.wgt-meczyki .score .result > div.squads,
.wgt-meczyki .score .info.penalty a,
.wgt-meczyki .score .result > div.squads a {
    color: #ee6969;
}

.wgt-meczyki .score .info.time a,
.wgt-meczyki .score .result > div.announcement a {
    color: #4383af;
}

.wgt-meczyki .bottom {
    background: #f4f8fa;
    border-top: 1px solid #ecf0ec;
    padding: 8px 4px 4px 4px;
    margin-top: 8px;
    position: relative;
    display: none;
    border-radius: 3px;
}

.wgt-meczyki .bottom img:last-child {
    position: absolute;
    top: 2px;
    right: 0;
}






.brick.night {
    background: #1c1c1c;
}

/************************ NIGHT MODE ************************/
.night .wgt-meczyki,
.night .wgt-meczyki .container,
.night .wgt-meczyki .score .country > * {
    background: #2c2c2c;
    color: #aaaaaf;
}

.night .wgt-meczyki article p a {
    color: #aaaaaf;

}
.night .wgt-meczyki article p a:hover {
    color: #cccccf;
}

.night .wgt-meczyki .score .result > div,
.night .wgt-meczyki .score .result > div.squads,
.night .wgt-meczyki .score .result > div.announcement {
    background: #2c2c2c;
    box-shadow: -4px 0 6px rgba(44, 44, 44, 1);
}

.night .wgt-meczyki .bottom {
    background: #444444;
    border-top: #4a4a4a;
}

.night .wgt-meczyki header div.tables a:hover {
    background-color: rgba(200, 200, 200, .1)
}

.night .wgt-meczyki .score > a:hover {
    background: rgba(200, 200, 200, .1);
}

.night .wgt-meczyki header div.closebutton i.fa-times {
    color: #bcbcbc !important;
}

/* .night .wgt-meczyki .score > a {
    border-right: 1px solid #444444;
} */





/* .screening */
body.screening .wgt-meczyki article:nth-child(2n+0) {
    display: none;
}

body.screening .wgt-meczyki .scores {
    max-width: 50%;
}

body.screening .wgt-meczyki article {
    flex: 100%;
}







/************************ MEDIA QUERIES ************************/
/* @media (max-width: 950px) { */
@media (max-width: 1250px) {

    .wgt-meczyki .score > div {
        padding: 0 4px;
    }

    .wgt-meczyki .score .country > *:first-child {
        margin-right: 4px;
    }

}



/* @media (max-width: 920px) { */
@media (max-width: 1120px) {

    .wgt-meczyki article:nth-child(2n+0) {
        display: none;
    }

    /* .wgt-meczyki .scores {
        max-width: 40%;
    } */
    .wgt-meczyki .scores {
        max-width: 50%;
    }

    .wgt-meczyki article {
        flex: 100%;
    }

}


/* @media (max-width: 720px) { */
/* @media (max-width: 920px) { */

/* .wgt-meczyki .scores {
    max-width: 50%;
} */

/* } */


/* @media (max-width: 800px) { */
@media (max-width: 600px) {

    .wgt-meczyki.collapsed div.logostandalone {
        display: block;
        position: absolute;
        top: 3px;
        right: 32px;
    }

    .wgt-meczyki.collapsed div.tables {
        display: none;
    }

    .night .wgt-meczyki .score > a {
        border-right: 1px solid #444444;
    }

    /* .wgt-meczyki header div:last-child {
        display: none;
    } */

    .wgt-meczyki header div.powered {
        display: none;
    }

    .wgt-meczyki .bottom {
        display: block;
    }

    body.screening .wgt-meczyki article:nth-child(3n+0),
    .wgt-meczyki article:nth-child(3n+0) {
        display: none;
    }

    body.screening .wgt-meczyki .scores,
    .wgt-meczyki .scores {
        max-width: 100%;
        flex-direction: row;
        /* margin-bottom: 12px; */
        margin-right: 0;
    }

    .wgt-meczyki .score {
        flex-direction: column;
        margin-bottom: 12px;
    }

    .wgt-meczyki .score:last-child{
        flex-grow: 0.1;
    }

    .wgt-meczyki .score > a {
        border-right: 1px solid #e1e2e5;
        border-radius: 0;
    }

    .wgt-meczyki .score:last-child > a {
        border-right: none;
    }

    .wgt-meczyki .result > div:first-child {
        position: absolute;
        top: 1px;
    }

    .wgt-meczyki .result > div + div + div {
        position: absolute;
        top: 35px;
        margin-top: 0 !important;
    }

    body.screening .wgt-meczyki article,
    .wgt-meczyki article {
        display: flex;
        flex-direction: row;
        flex-basis: 100%;
        flex: 100%;
    }

    .wgt-meczyki .score {
        position: relative;
    }

    .wgt-meczyki .score .result {
        /* writing-mode: vertical-rl;
        text-orientation: upright; */
        position: absolute;
        width: 100%;
        height: 100%;
        /* right: 0; */
    }

    .wgt-meczyki .score .result > div.announcement,
    .wgt-meczyki .score .result > div.squads {
        writing-mode: vertical-rl;
        text-orientation: upright;
    }

    .wgt-meczyki .score .info {
        order: 4;
        line-height: 11px;
        padding-top: 12px !important;
        border: none !important;
        /* background-color: lime; */
    }

    .wgt-meczyki .score > div.country.left {
        margin-bottom: 6px;
    }
    .wgt-meczyki .score > div.country.right {
        margin-top: 10px;
    }

    .wgt-meczyki .score > div {
        /* border-right: 1px solid #e1e2e5; */
        padding-right: 0px;
        margin-right: 4px;
    }
    .wgt-meczyki .scores > div:last-child div {
        border-right: none !important;
    }

    .wgt-meczyki .score .country span {
        letter-spacing: -1px;
    }

    .wgt-meczyki .score .result > div {
        max-width: 16px;
        background: #fff;
        box-shadow: -4px 0 6px rgba(255, 255, 255, 1);
        /* margin-top: -1px; */
        right: 3px;
    }

    .wgt-meczyki .score .result > div:nth-child(2) {
        display: none;
    }

    .wgt-meczyki .score .result > div:last-child {
        margin-top: 13px;

    }
    .wgt-meczyki .score .result > div.squads,
    .wgt-meczyki .score .result > div.announcement {
        margin-top: 0px;
        letter-spacing: -1px;
        background: #fff;
        box-shadow: -4px 0 6px rgba(255, 255, 255, 1);
        right: 3px;
    }

    .wgt-meczyki .score .country span {
        font-size: 14px;
        vertical-align: baseline;
        line-height: 18px;
    }

    .wgt-meczyki .score .country.left > span {
        text-align: left;
    }

    .wgt-meczyki .score .country.left > img {
        order: -1;
        margin-right: 4px;
    }

    .night .wgt-meczyki .score > div {
        /* border-right: 1px solid #4a4a4a; */
    }

}

/* CSS specific to iOS devices */
@supports (-webkit-touch-callout: none) {

    @media (max-width: 600px) {


        .wgt-meczyki .score .result > div {
            margin-top: 0 !important;
        }

        .wgt-meczyki .result > div:first-child {
            top: 2px !important;
            /* border: 3px solid red !important; */
        }

        .wgt-meczyki .result > div + div + div {
            top: 36px !important;
            /* border: 1px solid red !important; */
        }

        .wgt-meczyki .score .result > div.squads,
        .wgt-meczyki .score .result > div.announcement {
            right: 9px;
        }

    }

    @media only screen
    and (max-device-width: 640px),
    only screen and (max-device-width: 667px),
    only screen and (max-width: 480px)
    {

        .wgt-meczyki .score .result > div.squads,
        .wgt-meczyki .score .result > div.announcement {
            right: 14px;
            top: 1px
            /* border: 1px solid red; */
            letter-spacing: 1px;
        }

    }

}


/* baner mobile hack */
div.banermobilemeczyki > a > img {
    width: 100%;
    max-width: 400px;
}
