.doiDau {
    border-bottom: 1px solid #ccc;
    padding: 2px 10px 4px;
}

.doiDau .top {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.doiDau .top .time {
    flex: 1;
    text-align: left;
    color: #000;
    margin-bottom: 4px;
}

.doiDau .top .league {
    text-align: right;
    font-weight: bold;
    background: #51b025;
    padding: 2px 4px;
    border-radius: 14px;
    line-height: 18px;
    font-size: 14px;
}

.doiDau .content {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.doiDau .content .doiNha {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.doiDau .content .tiSo {
    padding: 2px 10px;
    width: 60px;
    justify-content: center;
    text-align: center;
    color: #c40f2c;
}

.doiDau .content .doiKhach {
    flex: 1;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.doiDau .content .doiNha p, .doiDau .content .doiKhach p {
    padding: 0px 10px;
    color: #000;
}

.doiDau .content .doiNha img, .doiDau .content .doiKhach img {
    width: 30px;
    height: 30px;
}

#doiDau {
    display: none;
}


.viewDoiHinhRaSan {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    min-width: 900px;
}

.viewDoiHinhRaSan .item {
    height: 100%;
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-around;
    align-items: center;
}

.viewDoiHinhRaSan .item-user {
    position: relative;
    text-align: center;
}

.viewDoiHinhNha {
    width: 50%;
    height: 100%;
    float: left;
    display: flex;
    flex-direction: row;
    min-width: 450px;

}

.viewDoiHinhKhach {
    width: 50%;
    height: 100%;
    float: right;
    display: flex;
    flex-direction: row;
    min-width: 450px;

}


.viewDoiHinhRaSan .item-user img {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 20px;
    margin: auto;
}

.viewDoiHinhRaSan .item-user p {
    font-size: 11px;
    margin: auto;
    white-space: nowrap;
    text-overflow: clip;
    color: #fff;
    font-weight: bold;
}


.viewDoiHinhRaSan .item-user:hover img {
    border: 2px solid #fff;
}

.viewDoiHinhRaSan .item-user:hover p {
    background: green;
    color: #fff;
    padding: 0px 3px;
    border-radius: 5px;
}

.san-box {
    position: relative;
    overflow-y: scroll;
    max-height: 500px;
}

.img-san {
    width: 100%;
    min-width: 900px;
    height: 500px;
}

.item-user {
    position: relative;
}

.rate-user {
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    border-radius: 3px;
    color: white;
    min-width: 32px;
    height: 18px;
    letter-spacing: 0px;
    font-weight: 500;
    font-size: 12px;
    white-space: nowrap;
    position: absolute;
    top: -11px;
    right: -11px;
}


.Yellow {
    display: block;
    width: 14px;
    height: 22px;
    border-radius: 3px;
    background-color: #f8bf00;
}

.Red {
    display: block;
    width: 14px;
    height: 22px;
    border-radius: 3px;
    background-color: red;
}

.suKien {
    display: flex;
    flex-direction: row;
    padding: 4px 0px;
    justify-content: center;
}

.suKien .flex1 {
    flex: 1;
}

.suKien.doiNha .flex1 {
    display: flex;
    flex-direction: row-reverse;
}

.suKien.doiKhach .flex1 {
    display: flex;
    flex-direction: row;
}

.suKien.AddedTime {
    align-items: center;
    justify-content: center;
}


.suKien.doiNha {
    justify-content: flex-start;
    align-items: center;
}

.suKien.doiKhach {
    justify-content: end;
    align-items: center;
    flex-direction: row;
}

.suKien .AddedTime {

}


.suKien .imgShow {
    width: 30px;
    text-align: center;
    margin: 0;
}

.suKien .imgShow img {
    width: 20px;
}

.suKien .imgShow span {
    margin: auto;
}

.suKien.doiKhach .time {
    text-align: right;
}

.suKien .time {
    width: 40px;
    padding: 6px 12px;
    border-radius: 15px;
    background-color: var(--theme-events-timeOfEvent, rgb(240, 241, 242));
    height: 30px;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    grid-area: 1 / 2;
    color: #51b025;
}

.suKien .content {
    margin: 0 15px;
    color: #000;
}

.suKien .content .vao {
    display: block;
    color: #00985f;
}


.suKien .content .ra {
    display: block;
    color: #e55d5a;
}


.suKien.AddedTime .content {
    background: #ccc;
    padding: 3px 20px;
    border-radius: 20px;
    color: #000;
    font-size: 16px;
}

.hetHiep {
    background: #0f4cd9;
    color: #fff;
    padding: 3px 10px;
    display: block;
    border-radius: 20px;
}

.hetGio {
    background: #c40f2c;
    color: #fff;
    padding: 3px 10px;
    display: block;
    border-radius: 20px;
}

#suKien .content_ctn, #doiHinhRaSan .content_ctn, #thongKe .content_ctn, #suKien .content_ctn, #doiDau .content_ctn,
#sanVanDong .content_ctn {
    background: white;
}

#sanVanDong .content_ctn {
    padding-left: 15px;
}

#doiDau {
    margin-top: 15px;
}

#suKien {
    margin-top: 15px;
}

#doiHinhRaSan {
    margin-top: 15px;
}

#thongKe {
    margin-top: 15px;
}


.css-v9dyli-WithPadding {
    padding: 30px;
}

.css-1m5249w-StatsContainer-STitle-statsStyles {
    display: flex;
    width: 100%;
    justify-content: space-between;
    flex-direction: column;
}

.css-1i05xe5-STitle {
    letter-spacing: 0.8px;
    font-weight: bold;
    font-size: 16px;
}

.css-1m5249w-StatsContainer-STitle-statsStyles [class*="STitle"] {
    grid-area: 1 / span 3;
}

.css-pqh9gi-MFSGraphContainer {
    width: 100%;
    display: flex;
    flex-flow: row wrap;
}

.css-1m5249w-StatsContainer-STitle-statsStyles [class*="MFSGraphContainer"] {
    grid-area: 2 / span 3;
}

.css-1m5249w-StatsContainer-STitle-statsStyles:nth-of-type(n+2) {
    border-top: 1px solid rgb(232, 232, 232);
    margin-top: 5px;
}

.css-1judkml-MFSGraphTitle {
    font-size: 13px;
    letter-spacing: 0.2px;
    text-align: center;
}

.css-pqh9gi-MFSGraphContainer h5 {
    width: 100%;
}

.css-8vxkzn-MFSGraphItem {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: start;
    justify-content: flex-start;
    height: 32px;
    color: #000;
    font-size: 15px;
    letter-spacing: 0.45px;
    font-weight: 500;
    background-color: rgb(51, 51, 51);
    padding-left: 10px;
    margin-top: 25px;
    width: calc(44% - 3px);
}

.css-mgrf5c-MFSGraphItem:last-of-type {
    margin-left: 5px;
    width: calc(56% - 3px);
}

.css-mgrf5c-MFSGraphItem:last-of-type {
    border-radius: 0px 4px 4px 0px;
    -moz-box-pack: end;
    justify-content: flex-end;
    padding-right: 10px;
}

.css-mgrf5c-MFSGraphItem {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
    display: flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: start;
    justify-content: flex-start;
    height: 32px;
    color: #000;
    font-size: 15px;
    letter-spacing: 0.45px;
    font-weight: 500;
    background-color: rgb(51, 51, 51);
    padding-left: 10px;
    margin-top: 25px;
    width: calc(56% - 3px);
}

.css-1m5249w-StatsContainer-STitle-statsStyles [class*="StatRowWrapper"]:nth-of-type(n+2) > span {
    font-size: 16px;
    letter-spacing: 0.8px;
    color: #000;
}


.css-1m5249w-StatsContainer-STitle-statsStyles [class*="StatRowWrapper"]:nth-of-type(n+2) > span:nth-of-type(3n+2) {
    font-size: 14px;
    color: #000;
    letter-spacing: 0.7px;
    text-align: center;
}

.css-1fc7uv9-StatRowWrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.css-1fc7uv9-StatRowWrapper span:first-of-type {
    font-size: 16px;
    border-radius: 4px;
    color: #000 !important;
}

.css-uopu3g-StatRowWrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    margin-bottom: 5px;
}

.css-uopu3g-StatRowWrapper span:last-of-type {
    font-size: 16px;
    border-radius: 4px;
    color: #000 !important;
}

.css-1gfrjfu-StatRowWrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
}

.css-z26kfx-TwoDItem-layout {
    margin-top: 25px;
    display: flex;
    flex-flow: column nowrap;
    -moz-box-pack: justify;
    justify-content: space-between;
    -moz-box-align: center;
    align-items: center;
    width: calc(50% - 5px);
    height: 110px;
    border: 3px none;
    background: rgb(250, 250, 250) url("/template/user/img/thongke-left.svg") no-repeat scroll center bottom / 104px 56px;
}

.css-9151zz-boxedStat {
    background-color: rgb(51, 51, 51);
    width: 40px;
    height: 32px;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    letter-spacing: 0.45px;
    font-weight: 500;
    color: #000;
    border-radius: 0px 0px 3px 3px;
}

.css-9151zz-boxedStat {
    background-color: rgb(51, 51, 51);
    width: 40px;
    height: 32px;
    display: flex;
    -moz-box-pack: center;
    justify-content: center;
    -moz-box-align: center;
    align-items: center;
    letter-spacing: 0.45px;
    font-weight: 500;
    color: #000;
    border-radius: 0px 0px 3px 3px;
}

.css-9151zz-boxedStat:last-of-type {
    border-radius: 3px 3px 0px 0px;
}

.css-z26kfx-TwoDItem-layout:last-of-type {
    margin-left: 10px;
}

.css-z26kfx-TwoDItem-layout:last-of-type {
    background-image: url("/template/user/img/thongke-right.svg");
}

.css-z26kfx-TwoDItem-layout:last-of-type > span:nth-of-type(n+1) {
}

.css-1m5249w-StatsContainer-STitle-statsStyles [class*="StatRowWrapper"]:first-of-type > span:nth-of-type(3n+2) {
    letter-spacing: 0.8px;
    font-weight: bold;
    font-size: 16px;
    color: #000;
    flex: 1;
    text-align: center;
}

.css-uopu3g-StatRowWrapper span {
    color: #000;
}

#thongKe, #doiDau, #suKien, #doiHinhRaSan, #sanVanDong {
    display: none;
}

#sanVanDong p {
    color: #000;
    margin: 0;
}

.row-custom {
    flex-direction: row;
    display: flex;
}

.row-custom canvas {
    max-width: 400px;
    max-height: 300px;
}

.cell {
    padding: 5px;
    justify-content: center;
    align-items: center;
}

.small-stats {
    width: 45%;
    display: inline-block;
    margin: 0 2%;
    float: left;
}

@media (max-width: 1010px) {
    .row-custom canvas {
        max-width: 200px;
        max-height: 200px;
        margin: auto;
    }

    .small-stats {
        width: 45%;
        display: inline-block;
        margin: 0 2%;
        float: left;
    }
}


@media (max-width: 800px) {
    .row-custom {
        flex-direction: column;
        display: flex;
    }

    .row-custom canvas {
        max-width: 400px;
        max-height: 400px;
        margin: auto;
    }

    .cell {
        border-top: 1px solid #ccc;
        margin-top: 10px;
        padding-top: 10px;
    }

    .small-stats {
        width: 100%;
        margin: 0;
        float: unset;
    }
}

.cell span {
    color: #000;
}
