body {
    font-family: Poppins;
    color: #fff;
}

body p {
    font-size: 12px;
    margin-bottom: 0;
}

.img-sample {
    width: 100%;
    margin-top: 15px;
}

#header-site {
    background: #000;
}

.now-time {
    width: fit-content;
    text-wrap: nowrap;
    margin-right: 10px;
}

.navbar-brunei {
    padding: 0;
    display: flex;
    flex-direction: column;
}

#logo-brand {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
}

.img-banner {
    width: 100%;
}

.navbar-menu .menu-items {
    font-size: 14px;
    color: #000;
    text-decoration: none;
    font-weight: bold;
}

.navbar-menu {
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
}

.navbar-menu:last-child {
    margin-bottom: 0;
}

.navbar-brunei {
    background: #ffc706;
    padding-top: 5px;
    padding-bottom: 5px;
}

.navbar-brand {
    margin: 0;
    display: flex;
    justify-content: center;
    width: 100%;
}
.navbar-items {
    margin-right: 15px;
}

.navbar-items:last-child {
    margin-right: 0;
}

.page-width {
    width: 768px;
    margin: auto;
}

.marque-space {
    background: #ffc706;
    color: #000;
    padding-top: 5px;
    padding-bottom: 5px;
}

.right-side-navbar {
    margin-top: 15px;
}

.language-icon {
    height: 20px;
}

.btn-brunei {
    background: #6de1f7;
    padding: 0 10px;
    border-radius: 5px;
    line-height: 20px;
}

.img-broadcast {
    height: 30px;
}

.runing-text {
    display: flex;
    flex-direction: row;
    font-size: 16px;
    align-items: center;
}

#body-brunei {
    background: #000;
    background-position: top !important;
    min-height: calc(100vh - 450px);
}

#navigation {
    padding-top: 20px;
    padding-bottom: 20px;
}

.navigation-content .navbar-menu {
    justify-content: center;
}

.btn-menu-brunei {
    background: #001d23;
    color: #fff;
    font-family: Times;
    padding: 0 15px;
}

.btn-menu-brunei:hover {
    color: #6de1f7;
}

.menu-page {
    margin-bottom: 10px;
}

.menu-page .btn-menu-brunei {
    font-size: 22px;
}

#navigation .btn-menu-brunei {
    padding: 0 20px;
}

#navigation .navbar-items {
    margin-right: 5px;
}

#footer {
    background: #ffc706;
    color: #000;
    font-family: Arial;
    font-size: 12px;
    padding: 5px;
}

.img-home-page {
    width: 100%;
}

#body-brunei h1 {
    font-size: 24px;
    margin: 0;
}

.btn-generate {
    padding: 8px 25px;
    margin-top: 15px;
}

.landing-page {
    padding-top: 30px;
    padding-bottom: 30px;
}

.head-content {
    text-align: center;
}

#body-brunei h5 {
    font-size: 12px;
}

#body-brunei h5 span.block-text {
    background: #001d23;
    padding: 5px 10px;
    border-radius: 10px;
}

.body-content {
    display: flex;
    border-radius: 10px;
    justify-content: center;
}
.list-winner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
    border-bottom: 1px solid #ffc706;
    padding-bottom: 10px;
    padding-top: 5px;
    gap: 5px;
}
.circle-prize {
    display: inline-flex;
    width: 30px;
    height: 30px;
    justify-content: center;
    align-items: center;
    border: 2px solid #ffc706;
    border-radius: 100%;
    background: #453501;
    color: #ffc706;
    font-weight: bold;
}
.list-winner:last-child {
    margin-bottom: 0;
}

.list-winner .lable {
    font-size: 12px;
}

.list-winner .result-number {
    font-weight: bold;
}

.tablet-body p {
    font-size: 14px;
    margin-bottom: 5px;
}

.tablet-body p:last-child {
    margin-bottom: 0;
}

.prize-winner {
    width: 50%;
}

.prize-lucky,
.prize-consolation {
    width: 50%;
    padding: 5px;
}

.tablet {
    border: 1px solid #ffc706;
    height: 100%;
    overflow: hidden;
}

.tablet-title {
    text-align: center;
    background: #ffc706;
    padding: 5px 10px;
    color: #000;
}

.last-result {
    margin-top: 30px;
}

.tablet-body {
    padding: 0 20px;
    text-align: center;
}
.title-content-about {
    color: #000;
    background: #ffc706;
    padding-top: 10px;
    padding-bottom: 10px;
}
.title-content-about h4 {
    margin: 0;
}
.body-content-about table {
    color: #ffc706;
    margin: 0;
    border: 1px solid;
}
.content-result {
    padding-top: 15px;
    padding-bottom: 40px;
}
.footer-content {
    text-align: center;
    margin-top: 35px;
    background: #032c34;
    position: relative;
    padding: 5px;
    border-radius: 10px;
    font-style: italic;
}

.footer-content .bi-info-circle-fill {
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 32px;
    color: #6de1f7;
}

.footer-content span {
    color: #6de1f7;
    text-transform: uppercase;
}

#logo-footer {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    margin-bottom: 10px;
}

.img-footer {
    width: 300px;
}

.footer-text {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
    font-weight: bold;
}

.btn-generate {
    padding: 8px 25px;
    margin-top: 15px;
    font-family: times;
}
.box-countdown {
    display: flex;
    /* border: 2px solid #ffc706; */
    background: #453501;
    padding: 5px 10px;
    justify-content: space-between;
    align-items: center;
}
.timer-canvas {
    width: 380px;
}

#timer-countdown {
    display: flex;
    justify-content: space-between;
}

#timer-countdown .timer {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.text-content {
    color: #ffc706;
}
#timer-countdown h1 {
    margin-bottom: 0;
    color: #ffc706;
    border-radius: 10px;
    font-size: 38px;
    font-family: 'Times New Roman', Times, serif;
    font-weight: bold;
    text-align: center;
}
#timer-countdown .timer h1 {
    width: 60px;
}
.timer p {
    color: #ffc706;
    margin-top: -5px;
}
.label-countdown p {
    font-family: Times;
    font-size: 28px;
    text-align: center;
}

.result-show {
    margin-top: 15px;
}

.result-show .head-content {
    margin-bottom: 30px;
}

#draw-result .prize-winner {
    width: 100%;
}

#draw-result .body-content {
    display: flex;
    flex-direction: column;
}

#draw-result .prize-lucky,
#draw-result .prize-consolation {
    width: 50%;
}

.extra-prize {
    display: flex;
    flex-direction: row;
    width: 50%;
}
#draw-result .extra-prize,
.modal-dialog .extra-prize {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
}
#footer .input-group {
    height: fit-content;
    padding: 20px;
    background: rgb(51 51 51 / 70%);
    width: 400px;
    border-radius: 10px;
}
#footer .form-control {
    height: fit-content;
    font-style: italic;
    background: #000;
    border: 0;
    color: #ffc706;
}
.btn-subscribe {
    background: #ffc706;
    font-weight: bold;
    font-style: italic;
    border-radius: 0 5px 5px 0;
    border: 0;
}
.footer-section {
    display: flex;
    align-items: center;
    justify-content: center;
}
.input-group-append {
    height: fit-content;
}
.prize-box-parent {
    width: 50%;
}
.ext-text p, .modal-result-text {
    font-size: 20px;
    font-weight: bold;
    color: #ffc706;
    letter-spacing: 5px;
}
.modal-content .tablet-body {
    border: 1px solid #ffc706;
}
#history-page .table {
    margin-bottom: 0;
    text-align: center;
}

#history-page .body-content {
    display: block;
    padding: 20px;
}

.head-content h2 {
    font-size: 22px;
}

.paginate-brunei {
    display: flex;
    justify-content: center;
}

.paginate-brunei .pagination {
    margin-bottom: 0;
    margin-top: 20px;
}

.paginate-brunei .page-link {
    background: #ffc706;
    border: none;
    margin-right: 5px;
    color: #001d23;
}

.paginate-brunei .page-item.active .page-link {
    background: #a5850e;
    color: #ffc706;
}

.paginate-brunei .page-item.disabled .page-link {
    background: #ffc706;
    color: #001d23;
}

.link-table {
    font-size: 14px;
    color: #ffc706;
}

.link-table:hover,
.link-table:focus {
    color: #a5850e;
}

.modal-content {
    background: #453501;
    background-position: top !important;
    background-size: cover;
    background-repeat: no-repeat;
}

.modal-dialog .result-show {
    margin-bottom: 0;
    padding: 25px;
}

.modal-dialog .prize-winner {
    width: 100%;
}

.modal-dialog .prize-lucky,
.modal-dialog .prize-consolation {
    width: 50%;
}

.modal-open .btn-close {
    position: absolute;
    right: 15px;
    top: 15px;
}

.modal-dialog .head-content {
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
}

.logo-part {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 10px;
}

.logo-modal {
    height: 60px;
}

.number-generator-content {
    margin-top: 30px;
}

.six-ball {
    margin-bottom: 30px;
}

.six-ball .card {
    width: 85px;
    height: 85px;
    background: #001d23;
}

#other-page ul p {
    margin-bottom: 0;
}

span.uppercase {
    text-transform: uppercase;
}

.mobile-navbar {
    display: none;
}

.menu-mobile {
    display: none;
}
.second-row-livedraw {
    display: flex;
    flex-direction: row;
}
#button-togle-navbar-mobile {
    display: none;
    background: #001d23;
}

.btn-togle,
.btn-togle:hover {
    color: #001d23;
    font-size: 25px;
    background: #6de1f7;
    padding: 0px 8px;
    margin: 10px;
}

.loader,
.loader:before,
.loader:after {
    width: 5px;
    /* update this to control the size */
    aspect-ratio: .5;
    display: grid;
    background: radial-gradient(#fff 68%, #0000 72%) center/100% 50% no-repeat;
    animation: load 1.2s infinite linear calc(var(--_s, 0)*.4s);
    transform: translate(calc(var(--_s, 0)*150%));
}

.loader:before,
.loader:after {
    content: "";
    grid-area: 1/1;
}

.loader:before {
    --_s: -1
}

.loader:after {
    --_s: 1
}

@keyframes load {
    20% {
        background-position: top
    }

    40% {
        background-position: bottom
    }

    60% {
        background-position: center
    }
}

.tablet-body .ext-text {
    display: flex;
    padding: 6px;
    justify-content: center;
}
.banner-dekstop {
    display: block;
}
.banner-mobile {
    display: none;
}
.header-banner {
    background: url(../img/patternlogo.png);
    background-repeat: repeat;
    background-size: contain;
    height: 185px;
    display: flex;
}
.img-navbar {
    height: 180px;
    margin: auto;
}

@media (max-width: 768px) {
    .img-navbar {
        height: 55px;
    }
    .label-countdown p {
        font-size: 14px;
        text-wrap: nowrap;
    }
    .header-banner {
        height: 65px;
    }
    .banner-dekstop {
        display: none;
    }
    .banner-mobile {
        display: block;
    }
    
    .navbar-menu {
        padding: 0 15px;
    }
    .page-width {
        width: 100%;
        margin: auto;
    }
    .btn-menu-brunei {
        font-size: 16px !important;
        width: 100%;
    }

    #navigation .navbar-items {
        width: 100%;
        margin: 0;
    }

    .dekstop-navbar {
        display: none;
    }

    .mobile-navbar {
        display: flex;
        position: absolute;
        right: -5px;
        top: 15px;
        align-items: center;
    }

    .dropdown-menu[data-bs-popper] {
        right: 0 !important;
        left: unset;
    }

    #localitazion-menu {
        color: #fff;
        text-decoration: none;
    }
    .menu-mobile {
        display: block;
    }
    .img-banner {
        object-fit: cover;
    }
    /* .box-countdown {
        flex-direction: column;
    } */
    #body-brunei h1 {
        font-size: 18px;
        margin-top: 5px;
        margin-bottom: 5px;
    }
    #navigation {
        height: 0;
        overflow: hidden;
        padding: 0;
        position: absolute;
        width: 100%;
        background: #00313b;
        transition: 0.3s;
        z-index: 9;
    }
    .runing-text {
        font-size: 12px;
        padding: 0 10px;
    }
    #button-togle-navbar-mobile {
        display: block;
    }

    #navigation.show {
        height: auto;
    }

    .navigation-content {
        padding: 15px 10px;
    }

    img.img-fluid.img-home-page {
        margin-top: 60px;
        width: 90%;
        margin-left: 15px;
        margin-right: 15px;
    }

    #logo-brand {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        width: 100%;
        justify-content: space-between;
    }

    .body-content {
        flex-direction: column;
    }

    .prize-winner {
        width: 100%;
    }

    .prize-lucky,
    .prize-consolation {
        width: 50%;
    }

    #body-brunei {
        min-height: calc(85vh - 450px);
    }

    .logo-modal {
        height: 45px;
    }
    .footer-section {
        flex-direction: column;
    }
    #footer .input-group {
        width: 340px;
    }
    .modal-dialog h1 {
        font-size: 20px !important;
    }
    .second-row-livedraw {
        flex-direction: column;
    }
    .six-ball .card {
        width: 50px;
        height: 50px;
    }
    .footer-text {
        font-size: 12px;
    }
    img.ball {
        width: 40px;
        height: 40px;
        margin-top: -12px;
    }
    .img-footer {
        width: 200px;
    }
    .extra-prize {
        width: 100%;
    }

    #draw-result .body-content {
        width: auto;
    }

    .timer-canvas {
        width: 220px;
    }

    #timer-countdown .timer {
        display: flex;
        align-items: center;
        flex-direction: column;
    }

    .footer-content .bi-info-circle-fill {
        display: none;
    }
}