@font-face {
    font-family: AgencyFB;
    src: url(../font/AGENCYB.TTF);
}
/* heading */
.alert-login {
    position: fixed;
    right: 80px;
    top: 25px;
    z-index: 9;
    font-family: 'Roboto';
}
#notif {
    visibility: hidden;
    position: fixed;
    right: 80px;
    top: 25px;
    z-index: 9999;
    font-family: 'Roboto';
}
.notif-text {
    padding-left: 10px;
}
.notif-text p {
    margin-bottom: 8px;
}
#notif.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;} 
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;} 
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
.navbar-rayong>.container {
    align-items: stretch;
}
.navbar-logo {
    width: 200px;
}
.time-space-header {
    display: flex;
    align-items: flex-end;
    font-weight: bold;
}
.navbar-rayong .lang-icon {
    width: 35px;
}
.navbar-rayong #navbar-dekstop {
    display: flex;
    flex-basis: auto;
    flex-grow: 1;
    margin-left: 20px;
}
.navbar-rayong li.nav-item {
    margin: 2px 0;
}
.rayong-item-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 15px;
}
.rayong-item-menu a.nav-link {
    padding: 7px 20px;
    text-align: center;
    margin-right: 25px;
}
.navbar-expand-lg.navbar-rayong .navbar-nav .dropdown-menu {
    top: 42px;
}
#navbar-mobile {
    display: none;
}
#navbar-dekstop .rayong-item-menu a.nav-link {
    font-size: 16px;
    font-weight: bold;
    border-radius: 15px;
    background: transparent;
    transition: 0.5s;
}
#navbar-dekstop a.nav-link:hover {
    background: #005952;
}
.nav-link, .nav-link:hover, .nav-link:focus {
    color: #fff;
}
.navbar-expand-lg .navbar-nav .nav-link.btn-navbar {
    background: #005952;
    margin-right: 5px;
    margin-left: 5px;
    border-radius: 15px;
    padding-left: 20px;
    padding-right: 20px;
}
#navbar-dekstop a.nav-link.active {
    background: #005952;
    border-radius: 15px;
}
.container {
    z-index: 1;
    position: relative;
}
body {
    background: #00302c;
    color: #fff;
}
.body-lottery {
    overflow: hidden;
    position: relative;
    height: fit-content;
    font-family: 'Times New Roman', Times, serif;
}
.bg-ball-1 {
    z-index: 0;
    position: absolute;
    top: 120vh;
    left: 100px;
    background: url(../img/bola38.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
    animation: spin 5s linear infinite;
}
.bg-ball-2 {
    z-index: 0;
    position: absolute;
    top: 140vh;
    right: 120px;
    background: url(../img/bola6.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100px;
    height: 100px;
    animation: spin 5s linear infinite;
}
.bg-ball-3 {
    z-index: 0;
    position: absolute;
    top: 225vh;
    left: 50px;
    background: url(../img/bola23.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 80px;
    height: 80px;
    animation: spin 5s linear infinite;
}
.bg-ball-4 {
    z-index: 0;
    position: absolute;
    top: 250vh;
    right: 50px;
    background: url(../img/bola10.webp);
    background-repeat: no-repeat;
    background-size: cover;
    width: 120px;
    height: 120px;
    animation: spin 5s linear infinite;
}
@-webkit-keyframes spin {
    0% { -webkit-transform: rotate(0deg); }
    100% { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@media (max-width: 768px) {
    #navbar-dekstop, .time-space-header {
        display: none !important;
    }
    button.navbar-toggler {
        margin-right: 15px;
        font-size: 30px;
        padding: 0 10px;
        border: none;
    }
    .navbar-nav .dropdown-menu {
        position: absolute;
        right: 0;
        left: unset;
    }
    #navbar-mobile {
        height: 100%;
        display: block;
        height: 100%;
        top: 0;
        width: 0;
        position: fixed;
        z-index: 999;
        left: 0;
        overflow-x: hidden;
        transition: 0.5s;
    }
    .tray-menu {
        display: block;
        height: 100%;
        top: 0;
        width: 0;
        position: fixed;
        z-index: 999;
        left: 0;
        background-color: #00302c;
        overflow-x: hidden;
        transition: 0.5s;
        padding-top: 100px;
    }
    #navbar-mobile li.nav-item {
        width: 330px;
    }
    #navbar-mobile a.nav-link {
        width: 100%;
        text-align: start;
        padding-left: 30px;
        padding-top: 15px;
        padding-bottom: 15px;
        color: #fff;
    }
    #navbar-mobile a.nav-link.active {
        background: #005952;
    }
    #close-sidebar {
        position: absolute;
        top: 33px;
        right: 0;
    }
    .power-controls {
        scale: 0.7;
        translate: -7px;
    }
    .bg-ball-1, .bg-ball-2, .bg-ball-3, .bg-ball-4 {
        display: none;
    }
}

/* spinner lucky */
.power-controls {
    display: flex;
    flex-direction: row;
    justify-content: center;
    position: relative;
    height: 500px;
    margin-top: -100px;
}
.wells-rendered {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}
.power-controls button,
.power-controls button:hover,
.power-controls button:active,
.power-controls button:focus {
    color: #fff;
    background: transparent;
    padding: 1px;
    font-size: 30px;
    width: 350px;
    margin-top: 5px;
    font-weight: 700;
    border-radius: 15px;
    border: 4px solid white !important;
    box-shadow: none !important;
}
.slot-container {
    display: flex;
    justify-content: center;
    left: 20px;
    position: relative;
    width: fit-content;
    top: -40px;
}
.slot-container:before {
    content: '';
    width: 200px;
    height: 265px;
    background: #00302c;
    border-radius: 10px;
    display: block;
    position: absolute;
    z-index: 0;
    top: 75px;
    left: -160px;
}
.slot {
    background-color: #005952;
    border: 4px solid #00302c;
    border-radius: 10px;
    width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 68px;
}
.number-slot {
    display: flex;
    gap: 10px;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
}
.power-controls span {
    font-size: 40px;
    color: #fff;
    font-weight: bold;
    font-family: 'AgencyFB';
}
.img-pin {
    position: absolute;
    top: -23px;
    right: 0;
    left: 0;
    margin: auto;
    z-index: 9;
}

#hero-landing.section {
    background: url(../img/banner.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
    width: 100%;
    height: 30em;
    border-radius: 0 0 50% 50%;
    overflow: hidden;
}
.img-hero {
    width: 100%;
    position: relative;
    bottom: -40px;
}
.container-text-hero {
    margin-top: 6em;
}
.img-abs {
    position: relative;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}
#hero-landing h3.title {
    font-size: 35px;
    text-shadow: 0px 2px 8px black;
}
#hero-landing p {
    font-size: 22px;
    text-shadow: 0px 2px 8px black;
}
#hero-landing .btn-disable {
    background: #005952;
    border-radius: 8px;
    font-weight: bold;
    color: #fff;
    font-size: 22px;
    box-shadow: 0px 8px #002f2b;
    padding-left: 50px;
    padding-right: 50px;
}
#spinner .spinner-text {
    font-size: 22px;
    margin-top: 10px;
    margin-bottom: 0;
}

.card-box {
    background: #005952;
    border-radius: 15px;
}
.timer-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 20px;
}
.img-time-left {
    width: 60%;
}
.timer-canvas {
    width: 40%;
}
.img-time {
    width: 100%;
}
#timer-countdown {
    display: flex;
    justify-content: space-evenly;
}
#timer-countdown h1 {
    font-family: AgencyFB;
    font-size: 50px;
    background: #fff;
    color: #000;
    border-radius: 15px;
    border: 7px solid black;
    padding: 5px 15px;
    line-height: 1;
    width: 100px;
}
#timer-countdown p {
    margin-bottom: 5px;
    text-decoration: underline;
}

/* draw result */
.loadingContainer1 div {
    height:10px;
    width:10px;
    border-radius:50%;
    background: #005952;
    float:left;
    margin:0 3px;
    transform:scale(0);
}
.loadingContainer1 .ball1 {
    z-index:1;
    -moz-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation: grow 4.4s infinite ease-in-out;
}
.loadingContainer1 .ball2 {
    -moz-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.loadingContainer1 .ball3 {
    -moz-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.loadingContainer1 .ball4 {
    -moz-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation: grow 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}

@-moz-keyframes grow {
    0% {-moz-transform: scale(0);}
    25% {-moz-transform: scale(1);}
    50% {-moz-transform: scale(0);}
    75% {-moz-transform: scale(1);background:#00302c;}
    100% {-moz-transform: scale(0);background:#00302c;}
}
@-webkit-keyframes grow {
    0% {-webkit-transform: scale(0);}
    25% {-webkit-transform: scale(1);}
    50% {-webkit-transform: scale(0);}
    75% {-webkit-transform: scale(1);background:#005952;}
    100% {-webkit-transform: scale(0);background:#005952;}
}

.card-result {
    background: #005952;
    border-radius: 15px;
    overflow: hidden;
    padding: 5px;
}
.body-card {
    background: #00302c;
    border-radius: 0 0 15px 15px;
    padding: 20px;
}
.header-card {
    padding: 20px;
}
h1.title {
    color: #00ffeb;
    font-size: 30px;
    line-height: 1;
    margin-top: 25px;
}
h4.subtitle {
    line-height: 1;
    margin-bottom: 20px;
}
.prize-number {
    background: url(../img/prize-bg.webp);
    font-size: 50px;
    color: #005952;
    font-weight: bold;
    font-family: inherit;
    padding: 0 30px 5px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    width: 175px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.card-result h3 {
    font-size: 20px;
    color: #00ffeb;
    font-weight: bold;
}
.reward-prize {
    display: flex;
    justify-content: center;
}
.body-card .body-number {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 8px;
    font-family: inherit;
}
.loading-number {
    display: flex;
    justify-content: center;
    padding-bottom: 20px;
    padding-top: 20px;
}
.loading-number .loadingContainer1 div {
    background: #fff;
}
.loading-number .loadingContainer1 .ball1 {
    z-index:1;
    -moz-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation: numberload 4.4s infinite ease-in-out;
}
.loading-number .loadingContainer1 .ball2 {
    -moz-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.3s;
    animation-delay: 0.3s;
}
.loading-number .loadingContainer1 .ball3 {
    -moz-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.6s;
    animation-delay: 0.6s;
}
.loading-number .loadingContainer1 .ball4 {
    -moz-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation: numberload 4.4s infinite ease-in-out;
    -webkit-animation-delay: 0.9s;
    animation-delay: 0.9s;
}
@-moz-keyframes numberload {
    0% {-moz-transform: scale(0);}
    25% {-moz-transform: scale(1);}
    50% {-moz-transform: scale(0);}
    75% {-moz-transform: scale(1);background:#303030;}
    100% {-moz-transform: scale(0);background:#303030;}
}
@-webkit-keyframes numberload {
    0% {-webkit-transform: scale(0);}
    25% {-webkit-transform: scale(1);}
    50% {-webkit-transform: scale(0);}
    75% {-webkit-transform: scale(1);background:#ffffff;}
    100% {-webkit-transform: scale(0);background:#ffffff;}
}
.box-card-rayong {
    text-align: center;
    margin-top: 20px;
}
.box-card-rayong .card-body {
    padding: 0;
}
.accordion-separate {
    width: 33.3333%;
    text-align: center;
}
.accordion-button::after {
    display: none;
}
.box-card-rayong>.card-header {
    background: #00302c;
    border-radius: 15px 15px 0 0;
}
.accordion-button, .accordion-button:focus, .accordion-button:not(.collapsed) {
    background-color: #005952;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    color: #fff;
    box-shadow: none;
    border-bottom: 1px solid #00302c;
    padding: 15px 0 0;
}
.number-result-table {
    font-family: 'AgencyFB';
    color: #00ffec;
}
.accordion-item:last-child .accordion-button {
    border-bottom: 0;
}
.accordion-item {
    border: 0;
}
.accordion-body {
    background: #005952;
    border-bottom: 1px solid #00302c;
}
@font-face {
    font-family: "bootstrap-icons";
    src: url("./fonts/bootstrap-icons.woff2?a74547b2f0863226942ff8ded57db345") format("woff2"),
    url("./fonts/bootstrap-icons.woff?a74547b2f0863226942ff8ded57db345") format("woff");
}
.accordion-button.collapsed .btn-accordion-show-result:after {
    font-family: bootstrap-icons !important;
    content: '\F282';
}
.accordion-button .btn-accordion-show-result:after {
    font-family: bootstrap-icons !important;
    content: '\F286';
}
.btn-accordion-show-result,
.btn-accordion-show-result:hover,
.btn-accordion-show-result:focus {
    font-style: normal;
    font-weight: bold;
    margin-top: -9px;
    background: #00302c;
    color: #0ff;
    padding: 3px 15px;
}
.result-caption-table {
    margin-bottom: 6px;
    font-family: inherit;
}
.footer-head {
    background: #005952;
    margin-top: 20px;
    border-radius: 50% 50% 0 0;
    padding: 15px 0;
}
.footer-end {
    padding-top: 15px;
    padding-bottom: 15px;
    background: #00302c;
}
.accordion-body p:last-child {
    margin-bottom: 0;
}
.accordion-item:last-child .accordion-body {
    border-bottom: 0;
    border-top: 1px solid #00302c;
}
.paginate-rayong {
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.paginate-rayong .pagination {
    margin-bottom: 0;
}
.paginate-rayong .page-link, .paginate-rayong .page-item.active .page-link {
    background: #005952;
    border: 2px solid #0ff;
    color: #0ff;
}
.paginate-rayong .page-item.disabled .page-link {
    background: transparent;
    color: #0ff;
    border: 0;
    border-color: #0ff;
}
.paginate-rayong .page-item:first-child.disabled .page-link, .paginate-rayong .page-item:last-child.disabled .page-link {
    background: #0ff;
    border: 2px solid #0ff;
    color: #005952;
}
.paginate-rayong .page-item:first-child .page-link, .paginate-rayong .page-item:last-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    background: #0ff;
    color: #005952;
}
.paginate-rayong .page-item {
    margin-left: 5px;
}
.menu-day {
    display: flex;
    justify-content: space-evenly;
    padding: 10px;
    font-weight: bold;
}
.menu-day .link-history {
    color: #fff;
    text-decoration: none;
}
.history-title h1.title {
    text-transform: uppercase;
}
.card-statistic {
    background: #005952;
    border: none;
    border-radius: 15px;
    padding: 10px;
}
.modal-rayong .modal-content {
    background: #005952;
    color: #fff;
    border: none;
}
.modal-rayong .modal-header {
    background: #00302c;
    color: #fff;
    border: none;
}
.modal-language-select .modal-body {
    margin-left: 25%;
}
.modal-rayong .modal-footer {
    border: none;
}
.btn-buletin, .btn-buletin:focus, .btn-buletin:hover {
    background: #00302c;
    color: #fff;
    border-radius: 0;
    box-shadow: none;
}
h3.modal-title {
    color: #00ffeb;
}
.contact-text {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}
.contact-wa, .contact-email {
    display: flex;
    align-items: center;
}
.icon-contact {
    margin-right: 15px;
    font-size: 35px;
}
#footer {
    position: relative;
    z-index: 1;
}
.statistic-title {
    margin-bottom: 25px;
}
.navbar-toggler .bi {
    color: #fff;
}
@media (min-width: 1800px) {
    #hero-landing.section {
        height: 37em;
    }
    .container-text-hero {
        margin-top: 8em;
    }
    .img-hero {
        bottom: 0;
    }
}
@media (min-width: 1550px) {
    #hero-landing.section {
        height: 34em;
    }
}
@media (min-width: 992px){
    .modal-dialog.modal-rayong  {
        max-width: 750px;
    }
    .modal-rayong .modal-body {
        padding: 0 40px;
    }
    .modal-rayong .modal-footer {
        padding: 0 40px 20px;
    }
}
@media (max-width: 772px){
    .flex-center-m {
        align-items: center;
    }
    #hero-landing.section {
        height: 400px;
    }
    .container-text-hero {
        margin-top: 50px;
    }
    .img-abs {
        display: none;
    }
    .power-controls {
        margin-bottom: -70px;
    }
    .timer-box {
        flex-direction: column;
    }
    .img-time-left {
        width: 100%;
        margin-bottom: 20px;
    }
    #timer-countdown h1 {
        margin-bottom: 0;
    }
    #draw-history .card-result h3, #statistic .card-result h3 {
        font-size: 16px;
    }
    #footer h1.title {
        font-size: 36px;
    }
    .footer-head {
        padding: 50px 20px 10px;
    }
    .menu-day {
        flex-direction: column;
        align-items: center;
    }
    .menu-day .link-history {
        font-size: 16px;
        margin-bottom: 10px;
    }
    .menu-day .link-history:last-child {
        margin-bottom: 0;
    }
    h1.title {
        font-size: 36px;
    }
    .card-statistic {
        margin-bottom: 20px;
    }
    .alert-login {
        right: 0;
        left: 0;
        margin: auto;
        width: 280px;
    }
    .body-card .body-number {
        font-size: 25px;
    }
}