@import url('https://fonts.googleapis.com/css?family=Nunito');

body {
	margin: 0;
	font-family: 'Nunito';
    color: #142d8a;
	min-height: 100vh;
    position: relative;
    text-align: center;

    background: url(../assets/img/bg.jpg);
    background-repeat: no-repeat;
    /*background-size: 100% 100%;*/
    /*background-size: cover;*/
    /*background-position: center center;*/

    -moz-background-size: cover;
    -webkit-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-position:center center;
    background-attachment:fixed;
}
a, a:focus, a:hover {
    text-decoration: none !important;
}
a {
	color: #102162;
}
button {
    outline: none;
    cursor: pointer;
}
.title {
    text-transform: uppercase;
    text-decoration: underline;
    font-size: 25px;
    font-weight: 600;
}

/* --- SIDEBAR CSS --- */
#sidebar {
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    z-index: 999;
    background: #191919;
    color: #fff;
    transition: all 0.3s;
    overflow-y: scroll;
    display: none;
}
#sidebar.active {
    left: 0;
}
#dismiss {
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    background: #980e22;
    color: #fff;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}
.overlay {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
.overlay.active {
    display: block;
    opacity: 1;
}
#sidebar .sidebar-header {
    padding: 20px;
    background: #6d7fcc;
}
#sidebar ul p {
    color: #fff;
    padding: 10px;
}
#sidebar ul li a {
    padding: 10px;
    font-size: 1.1em;
    display: block;
    color: #fff;
}
#sidebar ul li a:hover {
    color: #980e22 !important;
    text-decoration: none;
    font-weight: bolder;
}
a[data-toggle="collapse"] {
    position: relative;
}
.list-unstyled {
    padding-top: 20px;
    padding-left: 20px !important;
    padding-right: 20px;
    text-align: left;
}
.list-unstyled li {
    border-bottom: 1px solid #525252;
    list-style: none;
}
.list-unstyled li span {
    margin-right: 10px;
    color: #808080;
}

#sidebarCollapse {
    background: none;
    border: none;
    color: #102162;
    font-size: 25px;
    float: left;
    margin-top: 12px;
    display: none;
}
/* --- END SIDEBAR CSS --- */

/* -- MENU CSS -- */
.menu {
    background: #ffffff;
	color: #102162;
    width: 100%;
    text-transform: uppercase;
    padding: 15px 0;
    text-align: left;
    position: fixed;
    border-bottom: 5px solid #102162;
}
.menu-content,
.footer-content {
    width: 55%;
    margin: auto;
    display: block;
}
.logo {
    height: 47px;
}
.menu-list {
    display: inline-block;
    vertical-align: top;
    /*margin-top: 18px;*/
    margin-top: 38px;
    float: right;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
}
.menu-list a:not(:last-child) {
	margin-right: 20px;
    /*margin-right: 38px;*/
}
.menu-list a:hover,
.active {
	color: #b2061f !important;
	font-weight: 600;
}
/* -- END MENU CSS -- */

/* -- CONTENT CSS -- */
.content {
    padding-top: 82px;
}
.box {
    display: block;
	background: #fff;
    width: 60%;
    margin: auto;
    padding-top: 20px;
}
.box-content {
	width: 92%;
    margin: auto;
}
.result-box {
	border: 1px solid #142d8a;
}
.box-title {
	background: #142d89;
    background: -moz-linear-gradient(top, #142d89 0%, #08133c 100%);
    background: -webkit-linear-gradient(top, #142d89 0%,#08133c 100%);
    background: linear-gradient(to bottom, #142d89 0%,#08133c 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#142d89', endColorstr='#08133c',GradientType=0 );
    text-transform: uppercase;
    color: #fff;
    padding: 10px 0;
    font-size: 20px;
    font-weight: 600;
}
.result-content {
	margin: 0 10px;
	text-align: left;
}
.result-col {
	padding: 10px 10px;
}
.result-col:not(:last-child) {
    border-bottom: 1px solid #142d8a;
    margin-bottom: 10px;
}
.date-today,
.period {
	display: inline-block;
	font-weight: bold;
	font-size: 18px;
}
.period {
	float: right;
}
.place-num,
.place-word,
.place-ball {
	display: inline-block;
    vertical-align: top;
}
.place-num {
	font-weight: bolder;
	font-size: 60px;
}
.place-word {
    font-size: 20px;
    margin-left: 20px;
}
.place-ball {
    float: right;
}
.ball {
    height: 90px;
    width: 90px;
    margin-right: 100px;
    transition: .5s ease-in-out;
}
.see-all {
    cursor: pointer;
    text-decoration: underline;
    margin-top: 10px;
    margin-bottom: 20px;
}
.count-box {
    background: url(../assets/img/bg-stripe.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fff;
}
.count-text {
    display: inline-block;
    width: 49%;
    vertical-align: top;
    font-size: 22px;
}
.count-text p,
.sched-box p {
    margin: 0 !important
}
.count-time {
    display: inline-block;
    width: 49%;
    font-weight: bolder;
    font-size: 75px;
}
.sm-txt-center {
    font-size: 10pt;
    text-align: left;
    display: inline-block;
}
/* -- END CONTENT CSS -- */

/* -- FOOTER CSS -- */
.footer {
    display: block;
    background: #102162;
    color: #fff;
    padding: 10px 0 20px 0;
}
.footer p {
    margin: 10px 0;
}
.footer img {
    width: 55%;
    max-width: 100%;
}
/* -- END FOOTER CSS -- */

/* -- RESULT CSS -- */
.result-sm-col,
.result-sm-col-5D {
    display: inline-block;
    width: 30%;
    text-align: left;
    margin: 10px;
}
.result-sm-col-5D {
    width: 35%;
}
.result-date,
.result-period {
    display: inline-block;
    font-weight: 600;
    vertical-align: top;
}
.result-period {
    float: right;
}
.result-box-col,
.result-box-col-5D {
    border-radius: 5px;
    border: 2px solid #142d8a;
    padding: 10px 5px 0 5px;
    text-align: center;
}
.result-box-col-5D {
    padding-bottom: 10px;
}
.result-ball {
    margin: 10px 0;
    padding-bottom: 10px;
}
.result-place:not(:last-child) .result-ball {
    border-bottom: 1px solid #142d8a;
}
.sm-ball {
    height: 37px;
    width: 37px;
}
.sm-ball:not(:last-child) {
    margin-right: 10px;
}
.result-5D {
    margin-top: 50px;
}
.result-row-5D {
    text-align: center;
    margin: 15px;
}
/* -- END RESULT CSS -- */

/* -- SCHEDULE CSS -- */
.sched-box {
    margin: 10px auto;
    width: 40%;
    border-radius: 5px;
    border: 2px solid #142d8a;
    padding: 20px 5px;
    font-weight: 600;
    font-size: 18px;
}
/* -- END SCHEDULE CSS -- */

/* -- CHECKER CSS -- */
.checker-text {
    font-size: 17px;
    margin: 10px 0;
}
.checker-box-ball {
    border-radius: 5px;
    border: 2px solid #142d8a;
    background: #B3B3B3;
    color: #fff;
    padding: 10px;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    margin: 20px 0 30px 0;
}
.check-ball-row {
    margin: auto;
    width: 70%;
}
.check-ball {
    cursor: pointer;
    display: inline-block;
    margin: 10px;
    width: 15%;
}
.check-ball img,
.check-box img {
    height: 86px;
    width: 86px;
}
.check-ball img:hover,
.check-ball-active {
    /*-webkit-filter: drop-shadow(0px 0px 10px #2a44a6);
    filter: drop-shadow(0px 0px 10px #2a44a6);*/
    -webkit-box-shadow: 0 0 10px 5px #ffffff;
    box-shadow: 0 0 10px 5px #ffffff;
    border-radius: 50px;
}
.check-box {
    display: inline-block;
    border-radius: 5px;
    border: 1px solid #142d8a;
    box-shadow: inset 0 0 15px #102162;
    -moz-box-shadow: inset 0 0 15px #102162;
    -webkit-box-shadow: inset 0 0 15px #102162;
    width: calc(65%/4);
    height: 150px;
    margin-bottom: 30px;
    vertical-align: top;
}
.check-box:not(:last-child) {
    margin-right: 5px;
}
.reset-btn,
.check-btn {
    border: none;
    border-radius: 5px;
    width: 313px;
    padding: 10px 0;
    font-size: 20px;
    border: 2px solid transparent;
}
.reset-btn {
    background: #cacaca;
    margin-right: 20px;
}
.check-btn {
    background: #142d8a;
    color: #fff;
}
.reset-btn:hover {
    background: transparent;
    border: 2px solid #cacaca;
}
.check-btn:hover:enabled {
    background: transparent;
    border: 2px solid #142d8a;
    color: #142d8a;
}
.choose-row {
    margin-bottom: 30px;
}
.choose-row p {
    font-weight: 900;
    font-size: 20px;
}
.checker-choose-btn,
.stat-choose-btn {
    background: transparent;
    border: 1px solid #142d8a;
    padding: 5px 20px;
    font-weight: 600;
    color: #142d8a;
}
.check-active {
    background: #142d8a;
    color: #ffffff;
}
/* -- END CHECKER CSS -- */

/* -- STATISTIC CSS -- */
.draw-box {
    background: #142d89;
    background: -moz-linear-gradient(top, #142d89 0%, #08133b 100%);
    background: -webkit-linear-gradient(top, #142d89 0%,#08133b 100%);
    background: linear-gradient(to bottom, #142d89 0%,#08133b 100%);
    border-radius: 5px;
    display: inline-block;
    width: 48%;
    margin: auto 5px;
    padding: 10px;
    vertical-align: top;
}
.draw-title {
    color: #fff;
    text-transform: uppercase;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}
.draw-range {
    display: inline-flex;
}
.draw-box .form-control {
    border: 1px solid #142d8a;
}
.select-range-to {
    background: transparent;
    border: none;
    color: #fff;
    padding: 8px 30px 8px 20px;
}
.stat-tbl-title {
    font-size: 25px;
    font-weight: 600;
    margin: 20px 0;
}
.freq-ball-row {
    padding-bottom: 30px;
    border-bottom: 1px solid #142d8a;
}
.freq-ball-col {
    display: inline-block;
    width: calc(75%/10);
    margin: 0 10px;
    vertical-align: top;
}
.freq-ball {
    width: 100%;
}
.freq-num {
    border: 2px solid #142d8a;
    margin-top: 10px;
    border-radius: 5px;
    padding: 5px 0;
}
.stat-bar {
    margin: 30px auto 0 auto;
    padding: 0 5px;
}
.stat-bar-data-row {
    padding-top: 10px;
}
.stat-bar-data {
    border: 2px solid #142d8a;
    display: inline-block;
    border-radius: 100px;
    width: 40px;
    height: 40px;
    padding-top: 8px;
    font-size: 15px;
    font-weight: 600;
}
.stat-bar-data:not(:last-child) {
    margin-right: 10px;
}
#myChart {
    margin: auto;
    /*height: 200px !important;*/
    height: 400px !important;
    width: 550px !important;
}

.check-numbers .ball-box {
    margin-right: 15px;
}
.check-numbers .ball-box {
    display: inline-block;
    border-radius: 5px;
    width: 110px;
    height: 80px;
    box-shadow: inset 0 0 15px #000000;
    -moz-box-shadow: inset 0 0 15px #000000;
    -webkit-box-shadow: inset 0 0 15px #000000;
    /*margin: 0 0 15px;*/
    background: #ccc;
}
.check-numbers .ball-box img {
    width: 60%;
    margin: 6px auto;
}
.result-table tbody td img:not(:last-child) {
    margin-right: 5px;
}
.result-table tbody td img {
    width: 35px;
    margin: 2px;
}

.active-balls{
    -webkit-box-shadow: 0 0 10px 5px #ffffff;
    box-shadow: 0 0 10px 5px #ffffff;
    border-radius: 20px;
}
.table-striped>tbody>tr:nth-of-type(odd) {
    background-color: #4B4B4B;
}
.table-striped>tbody>tr:nth-of-type(even) {
    background-color: #767676;
}

.flagicon{
    height:25px;
}

.flagdiv{
    position:relative;
    float:right;
    margin-left: -125px;
    font-weight: bold;
}

/* -- END STATISTIC CSS -- */

@media (max-width: 1820px) {
    .ball {
        margin-right: 90px;
    }
}
@media (max-width: 1751px) {
    .ball {
        height: 80px;
        width: 80px;
    }
    .ball {
        margin-right: 80px;
    }
}
@media (max-width: 1700px) {
    .freq-ball-col {
        width: calc(70%/10);
    }
}
@media (max-width: 1620px) {
    .ball {
        margin-right: 70px;
    }
}
@media (max-width: 1540px) {
    .ball {
        margin-right: 60px;
    }
}
@media (max-width: 1505px) {
    .menu-content,
    .footer-content {
        width: 65%;
    }
    .box {
        width: 70%;
    }
    .sched-box {
        width: 50%;
    }
    .ball {
        margin-right: 80px;
    }
}
@media (max-width: 1400px) {
    .menu-content,
    .footer-content {
        width: 70%;
    }
    .box {
        width: 75%;
    }
    .sched-box {
        width: 55%;
    }
}
@media (max-width: 1300px) {
    .menu-content,
    .footer-content {
        width: 75%;
    }
    .box {
        width: 80%;
    }
    .sched-box {
        width: 60%;
    }
}
@media (max-width: 1204px) {
    .ball {
        margin-right: 70px;
    }
}
@media (max-width: 1200px) {
    .menu-content,
    .footer-content {
        width: 80%;
    }
    .box {
        width: 85%;
    }
    .sched-box {
        width: 65%;
    }
    .sm-txt-center {
        font-size: 9pt;
    }
}
@media (max-width: 1100px) {
    .menu-content,
    .footer-content {
        width: 85%;
    }
    .box {
        width: 90%;
    }
    .sched-box {
        width: 70%;
    }
}
@media (max-width: 1020px){
    .ball {
        margin-right: 60px;
    }
}
@media (max-width: 1000px) {
    body {
        background: #980e22;
    }
    .menu-content,
    .footer-content {
        width: 90%;
    }
    .box {
        width: 95%;
    }
    .sched-box {
        width: 75%;
    }
    .reset-btn, .check-btn {
        width: 263px;
    }
    #myModal .modal-dialog {
        width: 98% !important;
    }
    .count-text {
        font-size: 20px;
    }
    .count-time {
        font-size: 65px;
    }
}
@media (max-width: 950px) {
    .result-date,
    .result-period {
        font-size: 11px;
    }
    .check-box {
        height: 120px;
    }
    .check-box img {
        width: 81px;
        height: 81px;
    }
    .ball {
        height: 70px;
        width: 70px;
    }
}
@media (max-width: 900px) {
    .menu-content,
    .footer-content {
        width: 95%;
    }
    .sched-box {
        width: 80%;
    }
    .freq-ball-col {
        width: calc(65%/10);
    }
    .ball {
        margin-right: 50px;
    }
}
@media (max-width: 840px) {
    .ball {
        height: 60px;
        width: 60px;
    }
}
@media (max-width: 820px) {
    .count-text {
        font-size: 16px;
    }
    .sm-ball {
        height: 32px;
        width: 32px;
    }
    .sched-box {
        width: 85%;
    }
    .check-ball-row {
        width: 80%;
    }
    .check-box {
        height: 110px;
        width: calc(75%/4);
    }
    .check-box img {
        width: 76px;
        height: 76px;
    }
    .menu-list {
        font-size: 14px;
    }
    .ball {
        margin-right: 40px;
    }
}
@media (max-width: 768px) {
    #sidebar,
    #sidebarCollapse {
        display: block;
    }
    .menu {
        text-align: right;
        padding: 10px 0 10px 10px;
    }
    .menu-list {
        display: none;
    }
    .box-content {
        width: 97%;
    }
    .result-sm-col {
        width: 45%;
    }
    .result-date,
    .result-period {
        font-size: 14px;
    }
    .check-ball-row {
        width: 90%;
    }
    .check-box img {
        width: 66px;
        height: 66px;
    }
    .reset-btn, .check-btn {
        width: 213px;
    }
    .freq-ball-col {
        width: calc(100%/10);
        margin: 5px 25px;
    }
    .draw-title {
        font-size: 17px;
    }
    .flagdiv {
        float: unset;
        margin-left: 20px;
        font-weight: bold;
        margin-top: 20px;
        text-align: left;
        color: #fff;
    }
    .flagdiv .dropdown-menu {
        color: #102162;
        float: unset;
        width: 212px;
    }
    .place-ball {
        margin-top: 10px;
    }
    .result-sm-col-5D {
    	width: 45%;
    }
    .content {
        padding-top: 62px;
    }
}
@media (max-width: 710px) {
    .ball {
        height: 50px;
        width: 50px;
    }
    .count-text {
        font-size: 14px;
    }
    .count-text {
        font-size: 14px;
    }
}
@media (max-width: 688px) {
    #sidebarCollapse {
        margin-top: 8px;
    }
    .result-date, .result-period {
        font-size: 12px;
    }
    .check-ball img{
        height: 76px;
        width: 76px;
    }
    .check-box {
        width: calc(85%/4);
    }
    .draw-box {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
    #CheckerTable {
        table-layout: fixed;
    }
    #CheckerTable th:first-child,
    #CheckerTable th:nth-child(2),
    #CheckerTable th:nth-child(3) {
        width: 90px;
    }
    #CheckerTable th:nth-child(4) {
        width: 120px;
    }
    #CheckerTable th:last-child {
        width: 210px;
    }
    .result-table tbody td img {
        width: 25px;
    }
    .ball {
        margin-right: 30px;
    }
}
@media (max-width: 618px) {
    .place-num {
        font-size: 50px;
    }
    .place-word {
        margin-left: 5px;
    }
    .check-ball-row {
        width: 100%;
    }
    #myChart {
        width: 450px !important;
    }
    .stat-bar-data {
        width: 30px;
        height: 30px;
        padding-top: 3px;
    }
    .result-sm-col-5D {
    	width: 95%;
    }
}
@media (max-width: 600px) {
    .ball {
        margin-right: 20px;
    }
}
@media (max-width: 578px) {
    #sidebarCollapse {
        font-size: 22px;
    }
    .logo {
        height: 37px;
    }
    .date-today,
    .period,
    .place-word {
        font-size: 16px;
    }
    .place-num {
        font-size: 40px;
    }
    .count-box {
        display: flex;
        flex-direction: column;
    }
    .count-text {
        order: 2;
        width: 100%;
        margin-bottom: 10px;
    }
    .count-time {
        order: 1;
        width: 100%;
    }
    .result-period {
        display: block;
        float: unset;
        margin-bottom: 5px;
    }
    .sched-box {
        width: 90%;
    }
    .check-ball {
        width: 13%;
        margin: 7px;
    }
    .check-ball img,
    .check-box img {
        height: 56px;
        width: 56px;
    }
    .reset-btn, .check-btn {
        width: 173px;
    }
    .freq-ball-col {
        margin: 5px 20px;
    }
    .place-ball {
        margin-top: 0;
    }
}
@media (max-width: 520px) {
    .ball {
        height: 40px;
        width: 40px;
    }
    .place-ball {
        margin-top: 10px;
    }
}
@media (max-width: 510px) {
    #myChart {
        width: 400px !important;
    }
    .stat-bar-data {
        width: 26px;
        height: 26px;
        padding-top: 3px;
        font-size: 12px;
    }
}
@media (max-width: 480px) {
    .place-ball {
        display: block;
        float: unset;
        margin-top: 0;
    }
    .result-col:not(:first-child) {
        text-align: center;
    }
    .result-sm-col {
        width: 90%;
    }
    .result-period {
        display: inline-block;
        float: right;
        margin-bottom: 0;
    }
    .check-box {
        height: 90px;
    }
    .reset-btn {
        margin-right: 7px;
    }
    .stat-tbl-title {
        font-size: 20px;
    }
    .ball {
        margin-right: 0;
    }
    .ball:not(:first-child) {
        margin-left: 20px;
    }
}
@media (max-width: 465px) {
    .freq-ball-col {
        margin: 5px 15px;
    }
}
@media (max-width: 450px) {
    #myChart {
        width: 350px !important;
    }
    .stat-bar-data:not(:last-child) {
        margin-right: 5px;
    }
    .stat-bar-data:first-child {
        margin-left: 10px !important;
    }
}
@media (max-width: 425px) {
    .stat-tbl-title {
        font-size: 17px;
    }
    .freq-ball-col {
        width: calc(130%/10);
        margin: 5px 10px;
    }
}
@media (max-width: 400px) {
    .check-ball img, .check-box img {
        height: 46px;
        width: 46px;
    }
    .reset-btn, .check-btn {
        width: 153px;
        font-size: 17px;
    }
    #myChart {
        width: 300px !important;
    }
    .stat-bar-data {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    .stat-bar-data:not(:last-child) {
        margin-right: 4px;
    }
}
@media (max-width: 386px) {
    .date-today {
        vertical-align: top;
    }
    .date-today, .period {
        font-size: 14px;
    }
    .sched-box {
        width: 95%;
    }
    .check-box {
        height: 80px;
    }
    .stat-bar-data:first-child {
        margin-left: 11px !important;
    }
}
@media (max-width: 360px) {
    .count-time {
        font-size: 45px;
    }
    .reset-btn, .check-btn {
        width: 133px;
        font-size: 15px;
    }
    .freq-ball-col {
        margin: 5px 10px;
    }
    .freq-ball-col {
        width: calc(120%/10);
    }
    .freq-num {
        padding: 5px 2px;
        font-size: 12px;
    }
    #myChart {
        width: 270px !important;
    }
    .stat-bar-data {
        width: 20px;
        height: 20px;
        font-size: 8px;
    }
    .stat-bar-data:not(:last-child) {
        margin-right: 3px;
    }
}
@media (max-width: 344px) {
    .date-today, .period {
        font-size: 12px;
    }
}
@media (max-width: 330px) {
    .stat-bar-data:first-child {
        margin-left: 8px !important;
    }
    .stat-bar-data:not(:last-child) {
        margin-right: 3px;
    }
}