* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #26282c;
    color: #344158;
    font-size: 14px;
}
.website {
    width: 1180px;
    max-width: calc(100% - 40px);

    min-height: 2300px;

    margin: 0 auto;

    background: #fff;
}
.top-header {
    height: 72px;

    display: flex;
    align-items: center;

    background: #555;

    border-bottom: 1px solid #333;
}


.brand {
    width: 390px;

    padding-left: 14px;

    color: #ffcc00;

    font-size: 28px;
    font-weight: 700;
}


.top-links {
    height: 100%;

    display: flex;
    align-items: center;
}


.top-links a {
    height: 100%;

    display: flex;
    align-items: center;

    padding: 0 17px;

    color: #ffcc00;

    font-weight: 700;

    text-decoration: none;
}


.top-links a.active {
    background: #ff6900;
    color: #fff;
}
.main-nav {
    min-height: 70px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ff6900;

    padding: 0 13px;
}


.nav-left,
.nav-right {
    display: flex;
    align-items: center;
}


.nav-left a {
    color: #111;

    font-weight: 700;

    text-decoration: none;

    padding: 26px 12px;
}


.nav-left a:hover {
    background: rgba(255, 255, 255, .15);
}


.nav-left .home {
    color: #fff;
    font-size: 24px;
}


.yellow-button {
    min-width: 135px;

    margin-left: 20px;

    padding: 16px 18px;

    background: #ffd600;

    color: #111;

    font-weight: 700;

    text-align: center;

    text-decoration: none;
}
.page-layout {
    display: grid;

    grid-template-columns:
        270px
        minmax(0, 560px)
        265px;

    gap: 25px;

    padding: 12px;
}
.side-menu {
    margin-bottom: 18px;
}


.side-heading {
    background: #d90000;

    color: #fff;

    font-weight: 700;

    text-align: center;

    padding: 14px 8px;
}


.side-menu a {
    display: block;

    padding: 15px 25px;

    color: #555;

    background: #fff;

    border-bottom: 1px solid #e7e7e7;

    text-decoration: none;
}


.side-menu a:nth-child(even) {
    background: #f5f5f5;
}


.side-menu a:hover {
    color: #d90000;
}
.mini-calendar {
    margin-top: 70px;

    border: 1px solid #ccc;

    background: #fff;

    box-shadow: 0 2px 5px rgba(0, 0, 0, .12);
}


.calendar-header {
    height: 47px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid #ddd;

    padding: 0 10px;
}


.calendar-header button {
    border: 0;
    background: none;

    cursor: pointer;

    font-weight: 700;

    color: #555;
}


.calendar-week,
.calendar-days {
    display: grid;

    grid-template-columns:
        repeat(7, 1fr);

    text-align: center;
}


.calendar-week {
    padding: 10px 5px;

    color: #777;

    font-size: 11px;
    font-weight: 700;
}


.calendar-days {
    padding: 5px 8px 12px;

    gap: 3px;
}


.calendar-day {
    height: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f6f6f6;

    color: #555;

    cursor: pointer;
}


.calendar-day:hover {
    background: #ddd;
}


.calendar-day.selected {
    background: #3e82c4;

    color: #fff;

    font-weight: 700;
}


.calendar-day.sunday {
    color: #e44;
}
.result-section {
    width: 100%;
}


.result-title {
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #ddd;
    border-bottom: 0;

    background: #fff;

    font-size: 16px;
    font-weight: 700;
}


.lottery-statistics {
    width: 100%;
}


.lottery-statistics table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;

    background: #fff;
}


.lottery-statistics th,
.lottery-statistics td {
    height: 53px;

    padding: 8px 5px;

    border: 1px solid #ddd;

    text-align: center;

    font-weight: 700;

    color: #39475e;
}


.lottery-statistics th {
    background: #f1f1f1;
}


.prize-name {
    width: 37%;

    font-size: 15px;
}


.red-number,
#resultG1,
#resultG1History,
#resultG7_1,
#resultG7_2,
#resultG7_3,
#resultG7_4,
#resultG7_1History,
#resultG7_2History,
#resultG7_3History,
#resultG7_4History {
    color: #f0443e !important;
}

.information-box {
    margin-top: 65px;

    border: 1px solid #555;

    border-radius: 0 0 8px 8px;

    overflow: hidden;
}


.information-box h2 {
    margin: 0;

    background: #d60000;

    color: #fff;

    padding: 14px;

    font-size: 20px;
}


.information-content {
    padding: 25px 15px 10px;

    color: #333;

    font-size: 15px;

    line-height: 1.7;
}


.information-content p {
    margin-top: 0;
}
.history-section {
    margin-top: 25px;
}


.history-toolbar {
    min-height: 52px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    background: #f4f6f8;

    border: 1px solid #d3d8df;
    border-bottom: 0;

    padding: 7px 8px 7px 14px;
}


.history-title {
    font-size: 14px;

    font-weight: 700;

    color: #435169;
}


.date-selector {
    margin-left: auto;

    display: flex;
    align-items: center;

    gap: 8px;
}


.date-selector span {
    color: #667085;

    font-size: 12px;
}


#datePickerHistory {
    width: 170px;

    height: 36px;

    padding: 5px 8px;

    background: #eef3fa;

    border: 1px solid #c5ccd6;
    border-radius: 5px;

    color: #637085;

    font-size: 15px;

    outline: none;
}


.history-table th {
    height: 52px;
}

.news-box {
    width: 100%;
}


.news-title {
    background: #d60000;

    color: #fff;

    padding: 15px;

    font-size: 20px;
    font-weight: 700;
}


.news-banner {
    height: 650px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 30%,
            #fff 0,
            #fff9a8 25%,
            #ffd500 60%,
            #ff4a00 100%
        );

    border: 1px solid #ddd;
}


.map-shape {
    position: absolute;

    top: 120px;
    left: 0;

    width: 100%;

    color: rgba(230, 50, 40, .65);

    text-align: center;

    font-size: 170px;
}


.map-pin {
    position: absolute;

    bottom: 130px;
    left: 50%;

    transform: translateX(-50%);

    width: 100px;
    height: 100px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50% 50% 50% 0;

    background: #b87a17;

    color: #fff;

    font-size: 55px;

    transform:
        translateX(-50%)
        rotate(-45deg);
}


.news-banner strong {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 25px;

    color: #fff;

    text-align: center;

    font-size: 28px;

    line-height: 1.15;

    text-shadow:
        1px 2px 3px rgba(0, 0, 0, .2);
}

.loading {
    display: inline-block;

    width: 18px;
    height: 18px;

    border: 3px solid #ccc;

    border-top-color: #ff6900;

    border-radius: 50%;

    animation: spin .8s linear infinite;
}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }

}

.footer {
    width: 1180px;

    max-width: calc(100% - 40px);

    margin: 80px auto 0;

    background: #eee;

    padding: 20px;

    text-align: center;

    color: #555;
}
@media (max-width: 1050px) {

    .website {
        max-width: calc(100% - 20px);
    }


    .page-layout {
        grid-template-columns:
            220px
            minmax(0, 1fr);
    }


    .right-sidebar {
        display: none;
    }


    .top-links {
        display: none;
    }


    .brand {
        width: auto;
    }


    .nav-right {
        display: none;
    }

}
@media (max-width: 700px) {

    body {
        background: #fff;
    }


    .website {
        width: 100%;
        max-width: 100%;

        min-height: auto;
    }


    .top-header {
        height: 58px;
    }


    .brand {
        font-size: 21px;
    }


    .main-nav {
        min-height: 50px;

        overflow-x: auto;

        padding: 0;
    }


    .nav-left {
        width: max-content;
    }


    .nav-left a {
        padding: 18px 10px;

        font-size: 12px;

        white-space: nowrap;
    }


    .page-layout {
        display: block;

        padding: 8px;
    }


    .left-sidebar,
    .right-sidebar {
        display: none;
    }


    .result-title {
        height: 45px;

        font-size: 13px;
    }


    .lottery-statistics th,
    .lottery-statistics td {
        height: 42px;

        padding: 5px 2px;

        font-size: 12px;
    }


    .prize-name {
        width: 34%;
    }


    .information-box {
        margin-top: 25px;
    }


    .information-box h2 {
        font-size: 16px;
    }


    .information-content {
        padding: 15px;

        font-size: 13px;
    }


    .history-toolbar {
        min-height: 45px;

        padding: 5px 6px 5px 10px;
    }


    .history-title {
        font-size: 12px;
    }


    .date-selector span {
        display: none;
    }


    #datePickerHistory {
        width: 145px;

        height: 34px;

        font-size: 12px;
    }


    .footer {
        width: 100%;

        max-width: 100%;

        margin-top: 50px;

        font-size: 12px;
    }

}