﻿@charset "utf-8";
/* CSS Document */
button.close-x {
    position: absolute;
    right: 5px;
    top: 10px;
    z-index: 2;
    color: #fff;
    font-size: 16px;
}
.modal-dialog.prize {
    max-width: 550px;
	top: 5%;
}
.modal-content.prize {
	background: url("/event/assets/eg33/images/so-huat/popup-base.png")no-repeat;
	background-size: 100% 100%;
	border: none;
	text-align: center;
	padding: 0 30px 30px;
}
.modal-dialog.timeline {
    max-width: 750px;
	top: 5%;
}
.modal-content.timeline {
	background: url("/event/assets/eg33/images/so-huat/popup-base.png")no-repeat;
	background-size: 100% 100%;
	border: none;
	text-align: center;
	padding: 0 30px 30px;
}
.title-popup {
    margin-top: -18px;
	padding: 0 10px;
}
.table-wrapper .table-row {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    align-items: center;
    background: #e5dd00;
    margin: 5px 0;
    padding: 8px 5px;
    border-radius: 35px;
    color: #000;
    font-weight: 700;
    font-size: 17px;
}
.table-wrapper .table-row:nth-child(3) {
	background: #ffd202;
}
.table-wrapper .table-row:nth-child(4) {
	background: #f3b100;
}
.table-wrapper .table-row:nth-child(5), .table-wrapper .table-row:last-child  {
	background: #ffa357;
}
.table-timeline-wrapper .table-row {
    display: grid;
    grid-template-columns: 20% 45% 35%;
    align-items: center;
    background: #e5dd00;
    margin: 5px 0;
    padding: 8px 5px;
    border-radius: 35px;
    color: #000;
    font-weight: 700;
    font-size: 17px;
}
.table-row.title {
    background: #553113;
    color: #fff;
    text-transform: uppercase;
    line-height: 1;
}
.modal-dialog.terms {
    max-width: 750px;
	top: 5%;
}
.modal-content.terms {
	background: url("/event/assets/eg33/images/so-huat/popup-base.png")no-repeat;
	background-size: 100% 100%;
	border: none;
	text-align: center;
	padding: 0 30px 30px;
}
ul.terms {
	padding-left: 17px;
	text-align: left;
}
.modal-dialog.language {
	top: 5%;
}
.modal-content.language {
    background: url(/event/assets/eg33/images/so-huat/language-popup.png)no-repeat;
    background-size: 100% 100%;
    border: none;
    text-align: center;
    padding: 10px 30px 30px;
}
.language-wrapper {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    max-width: 80%;
    margin: 0 auto;
}
.language-wrapper img {
	max-width: 110px;
}
.modal-dialog.history {
	top: 5%;
}
.modal-content.history {
    background: url("/event/assets/eg33/images/so-huat/popup-base.png")no-repeat;
    background-size: 100% 100%;
    border: none;
    text-align: center;
    padding: 0 25px 30px;
}
.table-responsive.record-wrap {
    max-height: 300px;
    min-height: 150px;
}
.record-wrap::-webkit-scrollbar {
	width: 2px;
}
.record-wrap::-webkit-scrollbar-track {
  background: #fdb405;
}
.record-wrap::-webkit-scrollbar-thumb {
  background: #ffca00;
}
.record-wrap::-webkit-scrollbar-thumb:hover {
  background: #ffca00;
}
table.top-title tr td {
    background: #553113;
    padding: 5px 2px;
    font-weight: 700;
    text-transform: uppercase;
}
table.top-title {
    border-radius: 35px;
    overflow: hidden;
}
table.table-prize tr td {
	padding: 5px 2px;
}

.modal-dialog.result {
	top: 5%;
}
.modal-content.result {
    background: url("/event/assets/eg33/images/so-huat/popup-base.png")no-repeat;
    background-size: 100% 100%;
	max-width: 400px;
	margin: 0 auto;
    border: none;
    text-align: center;
    padding: 10px 30px 30px;
}
.rstable {
    background: linear-gradient(to bottom, rgba(242,245,252,1) 0%, rgba(242,245,252,1) 70%, rgba(231,236,251,1) 100%);
    border-radius: 6px;
    border: 1px solid #fefefe;
    padding: 5px;
	max-width: 300px;
	margin: 0 auto 15px;
	color: #000;
}
table.lotto-table {
    text-align: center;
    font-weight: 500;
}
table.lotto-table tr.lotto-header td {
	border: none;
	padding: 5px 10px;
}

tr.lotto-header img {
    max-height: 44px;
}
table.lotto-table.top tr td:first-child {
    background: #d5d8e3;
}
table.lotto-table tr th {
    background: #d5d8e3;
    border: 1px solid #c6c8cd;
    padding: 2px;
    text-transform: uppercase;
    font-weight: 500;
}
table.lotto-table tr td {
    background: #e0e5f4;
    border: 1px solid #c6c8cd;
    padding: 2px;
}
.magnum table.lotto-table tr.lotto-header td {
    color: #000;
    background: #ffea00;
}
.date-wrapper {
    background: #e5dd00;
    background-size: 100% 100%;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 275px;
    margin: 10px auto 10px;
    padding: 6px;
    border-radius: 35px;
}
.calendar-icon {
    font-size: 20px;
    margin-right: 15px;
    color: #000;
}
.input-date input {
    background: none;
    border: none;
	width: 100%;
    font-size: 16px;
}
.input-date input:focus {
	outline: none;
}

@media(max-width: 480px) {
button.close-x {
    top: 5px;
    font-size: 15px;
}	
.modal-content.timeline, .modal-content.terms, .modal-content.prize, .modal-content.language, .modal-content.history, .modal-content.result {
    background: #9c5011;
    border: 3px solid #f5c048;
    border-radius: 5px;
    box-shadow: inset 0 0 5px rgb(0,0,0,0.4);
	padding: 0 15px 15px;
}
.table-timeline-wrapper .table-row {
    font-size: 13px;
}
ul.terms {
    font-size: 14px;
    padding-top: 10px;
}	
.language-wrapper img {
    max-width: 100%;
}
table.top-title {
    font-size: 13px;
}
table.table-prize {
    font-size: 14px;
}	
}




















