
@import "style.css";


@media only screen and (max-width: 7680px) and (min-width: 1965px)  {
	header {
		width: 1965px;
		margin-left: auto;
		margin-right: auto;
	}

	.container {
		padding-right: 15px;
		padding-left: 100px;
		margin-right: auto;
		margin-left: auto;
	}

	.resultWrapper {
		width: 1965px;
		margin-right: auto;
		margin-left: auto;
	}


	footer {
		width: 1965px;
		margin-right: auto;
		margin-left: auto;
	}

	section.details {

		width: unset;
		position: relative;
		margin-left: auto;

		float: right;
		margin-right: 455px;
		margin-top: -25px;
	}
	.how-to-play-content {
		width: 1965px;
		margin-left: auto;
		margin-right: auto;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(2) {
		display: block;
	}
	.generate-numbers {
		margin: 0 auto;
		width: 1965px;
		background: url(../img/patternbg.jpg) repeat;
	}
	.statistic-period {
		width: 1965px;
	}
}

@media (max-width: 1820px) {
	section.details {
		margin-left: 62%;
		margin-top: -2.5%;
	}
}

@media (max-width: 1720px) {
	section.details {
		margin-left: 63%;
	}
}

@media (max-width: 1620px) {
	section.details {
		margin-left: 64%;
		margin-top: -3%;
	}
}

@media (max-width: 1520px) {
	section.details {
		margin-left: 65%;
	}
}

@media (max-width: 1420px) {
	section.details {
		margin-left: 66%;
		margin-top: -3.5%;
	}

	header#header .logo {
		margin-top: -215px;
	}
}

@media (max-width: 1280px) {
	section.details {
		margin-left: 67%;
		margin-top: -1.5%;
		width: 259px;
	}

	section.details p:nth-of-type(1) {
		font-size: 26px;
	}

	section.details > p:nth-of-type(2) span:nth-of-type(1) {
		font-size: 31px;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(2) {
		font-size: 35px;
	}
	/*.stats-balls:not(:last-child){
    	margin-right: 10px !important;
	}*/
}

@media (max-width: 1199px) {
	header#header div.nav-menu {
		float: right!important;
	}

	.nav>li>a {
		position: relative;
		display: block;
		padding: 10px 10px;
	}

	.container {
		padding-left: 15px;	
	}

	.balls0{
		margin-left: 20.8px !important;
	}
	/*.stats-balls:first-of-type {
    	margin: auto 22.5px;
	}

	.stats-balls:not(:last-child){
    	margin-right: 3.5px !important;
	}*/
}

@media (max-width: 1080px) {
	header#header .logo img {
		width: 70%
	}

	section.details {
		margin-left: 70%;
	}
}

@media (max-width: 1078px) {
	.pages .logo {
		width: 221px;
	}	
}

@media (max-width: 1048px) {
	.pages .logo, .pages .logo img {
		width: 168px;
	}	
}

@media (max-width: 1199px) {
	/*.stats-balls:last-child{
    	margin-right: 10.5px;
	}
	.stats-balls:first-of-type{
    	margin-right: 10.5px;
	}
	.stats-balls:not(:last-child){
		margin-left: 19px !important;
    	margin-right: 3px !important;
	}*/
} 

@media (max-width: 1024px) {
	.pages-container {
		padding: 0;
	}
	.btn-generate-numbers {
		width: 54% !important;
	}
	.btn-reset-number, .btn-check-number {
		width: 26% !important;
	}
	/*.stats-balls:first-of-type {
		margin-left: 21px;
	}
	.stats-balls:not(:last-child){
		margin-left: 21px !important;
		margin-right: 8px !important;
	}*/
/*	#myChart {
		width: 530px !important;
	}*/
/*	.chartdiv{
		width: 529.5px;
	}*/
	.balls6{
		margin-left: 15px !important;
	}
}

@media (max-width: 991px) {
	.navbar-default .navbar-nav>li>a {
		font-size: 10.5px;
	}

	section.details {
		width: 214px;
	}

	section.details p:nth-of-type(1) {
		font-size: 22px;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(1) {
		font-size: 26px;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(2) {
		font-size: 29px;
	}

	.container {
		margin-left: auto;
	}

	.resultWrapper .event {
		margin-left: 25%;
	}
	.featured-box {
		width: auto;
	}
	/*.stats-balls:first-of-type {
		margin-left: 23px !important;
	}
	.stats-balls:last-child {
		margin-right: 13.5px;
		margin-left: 16px;
	}
	.stats-balls:not(:last-child) {
		margin-right: 1px !important;
		margin-left: 16px !important;
	}*/
	.balls0{
		margin-left: 19px !important;
	}
	.balls2, .balls3{
		margin-left: 8px !important;
	}
	.balls6{
		margin-left: 9px !important;
	}
	
}

@media (max-width: 991px) and (min-width: 767px) {
	header#header .logo {
		padding: 15px;
	}
	header#header .logo img {
		width: 50%
	}
}

@media (max-width: 930px) {
	.pages {
		padding: 0px;
	}
	.pages .row {
		margin: 0;
	}
	.result-header, .result-content {
		padding: 0 15px !important;
	}
}

@media (max-width: 920px) {
	section.details {
		margin-left: 73%;
		width: 200px;
	}
	section.details p:nth-of-type(1) {
		font-size: 20px;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(1) {
		font-size: 24px;
	}
	section.details > p:nth-of-type(2) span:nth-of-type(2) {
		font-size: 27px;
	}

	.pages .logo {
		width: 100%;
	}
	.pages .logo img {
		width: auto;
	}
	.pages .navbar-default .navbar-nav>li>a {
		font-size: 11px;
	}
	.pages .navbar-default {
		margin: 0px 0px 0;
	}
}

@media (max-width: 768px) {
	/*.stats-balls:first-of-type {
		margin-left: 21px !important;
	}
	.stats-balls:last-child {
		margin-right: 13.5px;
	}
	.stats-balls:not(:last-child) {
	    margin-right: 7px !important;
	    margin-left: 16px !important;
	}*/
}

@media (max-width: 768px) {
	.search-result.form-inline .form-group{
		display: inline-block;
		margin-bottom: 0;
		vertical-align: middle;
	}
	.search-result.form-inline .input-group {
		display: inline-table;
		vertical-align: middle;
	}
	.search-result.form-inline .input-group .form-control, .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn {
		width: auto;
	}
	.about-us-content p {
		padding: 0 84px;
	}
	.btn-generate-numbers {
		width: 69% !important;
	}
	.btn-reset-number, .btn-check-number {
		width: 33% !important;
	}
	.ball-wrapper .balls {
		display: inline-block;
		width: calc(90%/5);
		margin: 0 0 15px;
	}
	.ball-wrapper .balls img {
		width: unset;
		margin: 0 auto;
	}
/*	#myChart {
		width: 410px !important;
	}*/
	/*.stats-balls {
		width: 18px; 
	}*/
}

@media (min-width: 768px) {
	.navbar-nav>li>a {
		padding-top: 0;
		padding-bottom: 0;
	}
	.push-bottom {
		position: absolute;
		bottom: 0;
		right: 0;
		left: 0;
	}
}

@media (max-width: 767px) {
	header#header .logo {
		display: block;
	}

	.nav>li:last-child {

		padding: 10px 15px;

	}

	.navbar-nav {
		margin: 7.5px -15px;
		background-color: rgb(120, 10, 11);
		border-color: #7a0709;
	}

	header#header {

		background-position: 35% 100%;

	}

	section.details {

		display: none;
	}
	.logo img{
		float: left;
    	margin-bottom: -36px;
	}
	button.navbar-toggle.collapsed{
		margin-top: -12px;
	}
}

@media (max-width: 741px) {
	.balls0{
		margin-left: 17px !important;
	}
}

@media (max-width: 730px) {
	/*.stats-balls:first-of-type {
		margin-left: 21px !important;
	}
	.stats-balls:last-child {
		margin-right: 13.5px;
	}
	.stats-balls:not(:last-child) {
	    margin-right: 2px;
	}*/
}

@media (max-width: 669px) {
	.results ul li {
		width: 24%;
	}
	/*.stats-balls:first-of-type {
		margin-left: 21px !important;
	}
	.stats-balls:last-child {
		margin-right: 13.5px;
	}
	.stats-balls:not(:last-child) {
	    margin-right: -1px;
	}*/
}

@media (max-width: 667px) {
	.balls2{
		margin-left: 6px !important;
	}
	.balls3{
		margin-left: 6px !important;
	}
	.balls5{
		margin-left: 2px !important;
	}
	.balls6{
		margin-left: 7px !important;
	}
}

@media (max-width: 660px){
	/*.stats-balls:first-of-type {
		margin-left: 21px !important;
	}
	.stats-balls:last-child {
		margin-right: 13.5px;
	}
	.stats-balls:not(:last-child) {
	    margin-right: -3px !important;
	}*/
}

@media (max-width: 654px) {
	.video-box {
		width: auto;
		margin-bottom: 15px;
	}
	.featured-box {
		width: 100%;
	}
	.balls0{
		margin-left: 15px !important;
	}
}

@media (max-width: 640px) {
	span.ball-count{
		font-size: 10px;
	}
}

@media (max-width: 610px) {
	span.ball-count{
		font-size: 8px;
	}
}

@media (max-width: 605px) {
	/*.stats-balls:not(:last-child){
		margin-right: -5px !important;
	}
	.stats-balls:first-of-type{
		margin-left: 24px !important;
	}*/
	.balls0{
		margin-left: 13px !important;
	}
	.balls1{
		margin-left: 5px !important;
	}
	.balls2, .balls3, .balls5, .balls6{
		margin-left: 3px !important;
	}
}


@media (max-width: 587px) {
	.balls0{
		margin-left: 21.45px !important;
	}
	.balls1, .balls2, .balls3, .balls4, .balls5, .balls6{
		margin-left: auto !important;
	}
	span.ball-count{
		font-size: 14px;
	}
]

@media (max-width: 579px) {
	.results {
		margin-left: auto;
		margin-top: 15px;
	}

	.results ul li:nth-child(2) img {
		border-right: none;
	}

	/*.stats-balls:not(:last-child){
		margin-right: -7px !important;
	}*/
}

@media (max-width: 540px) {
	/*.stats-balls:not(:last-child){
		margin-right: -9px !important;
	}
	.stats-balls:first-of-type{
		margin-left: 23px !important;
	}*/
}

@media (max-width: 522px) {
	.balls0{
		margin-left: 18px !important;
	}
}

@media (max-width: 510px) {
	/*.stats-balls:not(:last-child){
		margin-right: -11px !important;
	}
	.stats-balls:first-of-type{
		margin-left: 23px !important;
	}*/
}

@media (max-width: 499px) {
	.balls0{
		margin-left: 18px !important;
	}
}

@media (max-width: 479px) {
	.balls0{
		margin-left: 17px !important;
	}	
}

@media (max-width: 479px) {
	.resultWrapper .event {
		margin-left: 15%;
	}

	.results ul li img {
		padding: 0px 10px;
	}
	/*.stats-balls:not(:last-child){
		margin-right: -12px !important;
	}*/
}

@media(max-width: 440px){
	/*.stats-balls:not(:last-child){ 
		margin-right: -15px !important;
	}*/
}

@media(max-width: 433px){
	.balls1{
		margin-left: 4px !important;
	}
}

@media (max-width: 425px) {
	header#header {
		background: url(../img/headerbg_mobile.png) no-repeat;
		background-size: cover;
		background-position: center;
		padding: 95px 0px;
	}

	header#header .logo {
		padding: 0;
		margin-top: -75px;
		margin-left: 25px;
	}

	header#header .logo img {
		width: 55%
	}

	header#header div.nav-menu {
		margin-top: -125px;
	}

	header#header nav .collapse .collapse.in {
		position: absolute;
		margin-left: -97px;
		z-index: 1000;
	}
}

@media(max-width: 415px){
	.balls1{
		margin-left: 4px !important;
	}
	.balls5{
		margin-left: 2px !important;
	}
	.balls4, .balls6{
		margin-left: 3px !important;
	}
	.balss8{
		margin-left: 2px !important;	
	}
	.balls9{
		margin-left: 7px !important;	
	}
}

@media (max-width: 400px) {
	.resultWrapper .event {
		margin-left: 0; 
	}
	.results {
		margin-left: auto;
	}
	#datemonth input, #dateyear input {
		width: 90px;
	}

	.resultWrapper > .pages-container {
		padding-left: 15px;
	}
}

@media (max-width: 414px) {
	.pages .logo {
		margin-bottom: 0;
	}

	.past-result h2 {
		text-align: center;
	}	

	.search-result .pull-right {
		float: none !important;
	}

	.pages .nav-menu {
		float: none !important;
		margin: 0 15px;
	}
	#datemonth input, #dateyear input {
		width: 110px;
	}
	.search-result {
		margin-top: 0px;
	}

	.about-us-game .game {
		margin-bottom: 10px;
	}
	.about-us-content p {
		padding: 0 24px;
	}
	.generate-numbers .ball-box {
		width: 130px;
	}
	/*.generate-numbers .ball-box img {
		width: 50%;
		margin: 7px auto;
	}*/
	.btn-generate-numbers {
		width: 73% !important;
	}
	.check-numbers .ball-box {
		width: 130px;
	}
	.check-numbers .ball-box img {
		width: 50%;
		margin: 7px auto;
	}
	.btn-reset-number, .btn-check-number {
		width: 73% !important;
		margin-bottom: 5px;
	}
	.input-group#date {
		margin: 0 auto;
	}
	.statistic-content hr {
		margin-top: 10px; 
		margin-bottom: 10px; 
		border: 0;
		border-top: 2px solid #d8b466;
		width: 90%;
	}
	.balls-wrapper {
		padding: 10px;
		text-align: center;
		display: inline-block;
		width: calc(90%/5);
	}
	#myChart {
		width: 97% !important;
	}
	/*.stats-balls:not(:last-child) {
		margin-right: -2px !important;
	}*/
	.chartdiv{
		width: 91%;
	}
	.logo img{
	    width: 150px !important;
	    margin-bottom: -4px;
	    margin-left: -10px;
	}
	button.navbar-toggle.collapsed{
	    margin-top: -30px !important;
	    margin-bottom: 14px;
	    margin-right: 0px;
	}
}

@media (max-width: 412px) and (min-width: 400px) {
	.resultWrapper .event {
		margin-left: 15%;
	}
	#datemonth input, #dateyear input {
		width: 100px
	}

}

@media (max-width: 850px) {
	.balls0{
		margin-left: 19.5px !important;
	}
	.balls1, .balls5{
		margin-left: 3px !important;
	}
	.balls2, .balls6{
		margin-left: 2px !important;
	}
	.balls3{
		margin-left: 4px !important;
	}
	.balls4{
		margin-left: 0px !important;
	}
	.balls7{
		margin-left: 1px !important;
	}
	.balls8, .balls9{
		margin-right: 6px !important;
	}
	.balls9{
		margin-right: 7px !important;	
		margin-left: 3px !important;
	}
}

@media (max-width: 403px) {
	.balls0{
		margin-left: 19px !important;
	}
	.balls1, .balls2, .balls3, .balls4, .balls5, .balls6, .balls7, .balls9{
		margin-left: auto !important;
		margin-right: auto !important;
	}
	.balls8{
	    margin-left: 3px !important;
    	margin-right: 3px !important;
	}
	.balls9{
		margin-right: 8px !important;
	}
}

@media (max-width: 391px) {
	.balls1{
		margin-left: auto !important;
	}
}

@media (max-width: 380px) {
	.balls0{
		margin-left: 18px !important;
	}
	.balls8{
		margin-left: 4px !important;
		margin-right: auto !important;
	}
	.balls9{
		margin-right: 7px !important;
	}
}

@media (max-width: 375px) {
	#datemonth input, #dateyear input {
		width: 95px;
	}
	.btn-generate-numbers {
		width: 81% !important;
	}
	.btn-reset-number, .btn-check-number {
		width: 81% !important;
		margin-bottom: 5px;
	}
/*	#myChart {
		width: 335px !important;
	}*/
	/*.stats-balls:first-of-type {
		margin-left: 21px;
	}
	.stats-balls:not(:last-child) {
		margin-right: -6px;
	}*/
	.balls0{
		margin-left: 17px !important;
	}
	.balls3, .balls4{
		margin-left: 2px !important;
	}
	.balls5{
		margin-left: 1px !important;	
	}
	.balls6{
		margin-left: 3px !important;
	}
	.balls8{
		margin-left: 4px !important;
		margin-right: : auto !important;
	}
	.balls9{
		margin-right: 6px !important;
	}
	span.ball-count{
		font-size: 10px;
	}
}

@media (max-width: 360px) {
	header#header {
		padding: 75px 0px;
	}

	header#header .logo {
		width: 155px;
		float:left;
		margin-top: 4px;
		margin-bottom: -47px;
		margin-left: -15px;
		padding: 0;
		margin-top: -65px;
		margin-left: 25px;
	}

	.navbar-toggle.collapsed{
		margin-bottom: 20px;
	}

	header#header div.nav-menu {
		margin-top: -115px;
	}
	#datemonth input, #dateyear input {
		width: 90px;
	}
	.btn-generate-numbers {
		width: 86% !important;
	}
	.generate-another-wrap button {
		margin-top: 5px;
	}
	.btn-reset-number, .btn-check-number {
		width: 86% !important;
	}
	span.ball-count{
		font-size: 11px;
	}
}

@media (max-width: 341px) {
	.balls1, .balls2, .balls3, .balls4, .balls5, .balls6, .balls7, .balls8{
		margin-left: auto !important;	
	}
	.balls9{
		margin-right: 4px !important;
	}
}

@media (max-width: 325px) {
	.balls9{
		margin-right: 6px !important;
	}
}

@media (max-width: 320px) {
	.results ul li {
		width: 23%;
	}

	.search-wrap, .search-wrap button {
		margin-top: 5px;
		display: block;
		width: 100%;
	}
	#datemonth input, #dateyear input {
		width: 120px;
	}
	.generate-numbers .ball-box:nth-child(2) {
		margin-right: 0;
	}
	.generate-numbers .ball-box:last-child {
		margin-right: 0;
	}
	.btn-generate-numbers {
		margin-right: 0;
		width: 100% !important;
	}
	.check-numbers .ball-box:nth-child(2) {
		margin-right: 0;
	}
	.check-numbers .ball-box:last-child {
		margin-right: 0;
	}
	.btn-reset-number, .btn-check-number {
		width: 95% !important;
		margin-bottom: 5px;
		margin-right: 0;
	}
	.checker-result-box {
		width: 120px !important;

	}
	.statistic-content p {
		font-size: 14px;
	}
	#myChart {
		width: 285px !important;
	}
/*	.stats-balls {
		width: 13px;
	}*/
	span.ball-count{
		font-size: 9px;
	}
}

@media (max-width: 310px) {
	.balls0{
		margin-left: 12px !important;
	}
	.balls9{
		margin-right: auto !important;	
	}
	.stats-balls{
	    width: 19px;
    	height: 19px;
	}
}

@media (max-width: 767px) {
	.video-box{
		display:none;
	}
}

@media(max-height: 830px){
	.push-bottom{
		position: unset !important;
	}
}

/* MEDIA QUERY */
		@media (max-width: 991px) {
			.ball-count {
				font-size: 13px;
			}
		}
		@media (max-width: 739px) {
			.ball-count {
				font-size: 12px;
				padding: 5px 10px;
			}
		}
		@media (max-width: 713px) {
			.ball-count {
				padding: 5px 8px;
			}
		}
		@media (max-width: 673px) {
			.ball-count {
				padding: 5px;
			}
		}
		@media (max-width: 613px) {
			.ball-count {
				font-size: 11px;
				padding: 8px 5px;
			}
			#fromGetYear, #fromGetMonth, #toGetYear, #toGetMonth {
				width: 100% !important;
			}
		}
		@media (max-width: 587px) {
			.statistic-content hr,
			.chartdiv, #myChart {
				width: 85%;
			}
			.balls-wrapper {
				width: calc(75%/5);
			}
			.ball-count {
			    font-size: unset;
			    padding: 5px 10px;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-right: 10px !important;
			    margin-left: 21px !important;
			}*/
		}
		@media (max-width: 578px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-right: 8px !important;
			    margin-left: 22px !important;
			}*/
		}
		@media (max-width: 558px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 20px !important;
			}*/
		}
		@media (max-width: 535px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 18px !important;
			}*/
		}
		@media (max-width: 510px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 16px !important;
			}*/
			.ball-count {
				padding: 5px;
			}
		}
		@media (max-width: 480px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 16px !important;
			}*/
		}
		@media (max-width: 460px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-right: 5px !important;
			}*/
		}
		@media (max-width: 450px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 19px !important;
			}
			.stats-balls:not(:last-child) {
				margin-right: 0 !important;
			}
			.stats-balls:last-child {
				margin-right: 7px !important;
			}*/
			.ball-count {
				font-size: 13px;
			}
			#date .form-control {
				padding: 6px;
			}
		}
		@media (max-width: 426px) {
			.ball-count {
				font-size: 12px;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 17px !important;
			}*/
		}
		@media (max-width: 426px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 15px !important;
			}*/
		}
		@media (max-width: 408px) {
			.ball-count {
				font-size: 11px;
			}
		}
		@media (max-width: 391px) {
			.ball-count {
				font-size: 10px;
				padding: 7px 5px;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 13px !important;
			}
			.stats-balls:last-child {
			    margin-right: 5px !important;
			}*/
		}
		@media (max-width: 385px) {
			#date select {
				-webkit-appearance: none;
				-moz-appearance: none;
			}
		}
		@media (max-width: 374px) {
			.ball-count {
				padding: 7px 3px;
			}
			/*.stats-balls:not(:last-child), .stats-balls:last-child {
			    margin-left: 12px !important;
			}*/
		}
		@media (max-width: 360px) {
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 11px !important;
			}
			.stats-balls:last-child {
			    margin-right: 0 !important;
			}*/
		}
		@media (max-width: 347px) {
			.ball-count {
				font-size: 9px;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 10px !important;
			}*/
		}
		@media (max-width: 329px) {
			.ball-count {
				font-size: 8px;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 8px !important;
			}*/
		}
		@media (max-width: 320px) {
			#myChart {
			    width: 100% !important;
			}
			/*.stats-balls:not(:last-child),
			.stats-balls:last-child {
			    margin-left: 13px !important;
			}*/
		}