@media only screen and (max-width:1200px) {

	.main-wrapper {
		max-width: 1024px;
	}

	.box-container {
    	justify-content: space-around;
	}

	.box {
		width: 215px;
		height: 60px;
	}

}

@media only screen and (max-width:1024px) {

	.main-wrapper {
		max-width: 768px;
	}

	body.en main {
		background-image: url(../img/bg-1024-en.jpg);
		background-position: center 0px;
	}

	body.th main {
		background-image: url(../img/bg-1024-th.jpg);
		background-position: center 0px;
	}

	body.en .title {
		width: 700px;
		height: 45px;
	}	

	body.th .title {
		width: 700px;
		height: 75px;
	}	

	body.en .input-box {
    	margin-top: 350px;
	}

	body.th .input-box {
    	margin-top: 325px;
	}

	.desc {
    	color: white;
    	font-size: 16px;
	}

	.main-wrapper {
		max-width: 768px;
	}

	.box-container {
		flex-wrap: wrap;
	}

	.box {
        width: 293px;
        height: 82px;
		margin: 15px 0px;
    }

}

@media only screen and (max-width:768px) {

	body.en main {
		background-image: url(../img/bg-768-en.jpg);
	}

	body.th main {
		background-image: url(../img/bg-768-th.jpg);
	}

	.main-wrapper {
		max-width: 600px;
	}

	body.en .title {
        width: 570px;
        height: 35px;
    }

	body.th .title {
        width: 570px;
        height: 68px;
    }

	body.en .title-box {
		padding-top: 25px;
	}

	body.th .title-box {
		padding-top: 20px;
	}

	body.en .desc {
        color: white;
        font-size: 14px;
    }

	body.th .desc {
    	font-size: 18px;
	}	

	body.en .input-box {
    	margin-top: 250px;
	}

	body.th .input-box {
    	margin-top: 210px;
	}

	.box {
        width: 250px;
        height: 70px;
    }

	.overlay-box {
		width: 600px;
		height: 500px;
		background-size: contain;
	}

	.scroll-pane {
		height: 370px;
	}

	.overlay-winners p {
		margin: 0 auto;
		position: relative;
		top: 100px;
	}

	body.th .overlay-winners p {
    	font-size: 30px;
		top: 130px;
	}

	body.th .overlay-winners p:nth-of-type(2) {
		font-size: 20px;
	}

	.slick-next, .slick-prev {
    	top: 185px !important;
	}

	.overlay-winners p:nth-of-type(2) {
    	margin-top: 120px;
	}

	.overlay-winners .slick-3 p:nth-of-type(1), .overlay-winners .slick-4 p:nth-of-type(1), .overlay-winners .slick-5 p:nth-of-type(1), .overlay-winners .slick-6 p:nth-of-type(1), .overlay-winners .slick-7 p:nth-of-type(1), .overlay-winners .slick-8 p:nth-of-type(1) {
		top: 0px;
	}

	.slick-3 .img, .slick-4 .img, .slick-5 .img, .slick-6 .img, .slick-7 .img, .slick-8 .img {
		height: 150px;
		margin-top: 40px;
	}

	.slick-slider {
    	height: 390px;
	}

	.overlay-winners .slick-3 p:nth-of-type(2), .overlay-winners .slick-4 p:nth-of-type(2), .overlay-winners .slick-5 p:nth-of-type(2), .overlay-winners .slick-6 p:nth-of-type(2), .overlay-winners .slick-7 p:nth-of-type(2), .overlay-winners .slick-8 p:nth-of-type(2) {
		top: 0px;
	}

	body.th .overlay-winners .slick-2 p:nth-of-type(2) {
        margin-top: 85px;
    }

	body.th .overlay-winners .slick-3 p:nth-of-type(1), body.th .overlay-winners .slick-4 p:nth-of-type(1), body.th .overlay-winners .slick-5 p:nth-of-type(1), body.th .overlay-winners .slick-6 p:nth-of-type(1), body.th .overlay-winners .slick-7 p:nth-of-type(1), body.th .overlay-winners .slick-8 p:nth-of-type(1) {
		font-size: 14px;
	}

	.table-winners-th {
		margin-left: 100px;
		margin-top: -10px;
	}

	.table-winners-en {
		margin-left: 100px;
		margin-top: -20px;
		transform: scale(0.9);
	}
}

@media only screen and (max-width:600px) {

	.lbox-msg {
        height: 123px;
        font-size: 16px;
        width: 300px;
        top: 6px;
    }
    .lbox-msg span{
        font-size: 13px;
        position: relative;
        top: 54px;
    }

	body.th .lbox-msg {
        height: 123px;
        font-size: 16px;
        width: 325px;
        top: 4px;
		left: -10px;
    }

	body.th .lbox-msg span {
        font-size: 16px;
        position: relative;
        top: 57px;
    }

	body.en .desc {
		font-size: 12px;
	}

	body.th .desc {
        font-size: 15px;
    }

	body.en main {
		background-image: url(../img/bg-600-en.jpg);
		background-position: center -70px;
	}

	body.th main {
		background-image: url(../img/bg-600-th.jpg);
		background-position: center -70px;
	}

	.main-wrapper {
		max-width: 480px;
	}

	body.en .title {
		background-image: url(../img/title-mobi-en.png);
        width: 404px;
        height: 121px;
    }

	body.th .title {
		background-image: url(../img/title-mobi-th.png);
        width: 465px;
        height: 65px;
    }

	.desc {
        color: white;
        font-size: 12px;
    }

	.tpl-logo-wrap {
        margin: 0 auto;
		float: none;
    }

	body.en .title-box {
        padding-top: 320px;
    }

	body.th .title-box {
        padding-top: 320px;
    }

	body.en .input-box {
        margin-top: 35px;
    }

	body.th .input-box {
        margin-top: 35px;
    }

	.input-box-inner {
    	flex-direction: column;
	}

	input[type=submit] {
		width: 300px;
		margin-left: 0px;
		margin-top: 5px;
	}

	.box-container {
    	padding: 15px 0px;
	}

	.box {
		margin: 10px 0px;
    }

	.overlay-box {
		width: 480px;
		height: 400px;
		background-size: contain;
	}

	.scroll-pane {
		height: 260px;
	}

	.overlay-box {
		padding: 10px 30px;
	}

	.overlay-winners h3 span {
    	font-size: 25px;
	}

	.overlay-winners p {
    	font-size: 35px;
		top: 65px;
	}

	.overlay-winners .slick-2 p {
    	font-size: 25px;
	}

	.slick-next, .slick-prev {
        top: 140px !important;
    }

	.overlay-winners p:nth-of-type(2) {
        margin-top: 70px;
		font-size: 16px;
    }

	.slick-prev:before, [dir=rtl] .slick-next:before {
		font-size: 65px !important;
	}

	.slick-next:before, [dir=rtl] .slick-prev:before {
    	font-size: 65px !important;
	}

	.slick-3 .img, .slick-4 .img, .slick-5 .img, .slick-6 .img, .slick-7 .img, .slick-8 .img {
        height: 110px;
    }

	.overlay-winners .slick-3 p:nth-of-type(2), .overlay-winners .slick-4 p:nth-of-type(2), .overlay-winners .slick-5 p:nth-of-type(2), .overlay-winners .slick-6 p:nth-of-type(2), .overlay-winners .slick-7 p:nth-of-type(2), .overlay-winners .slick-8 p:nth-of-type(2) {
   	 	margin-top: 35px;
	}

	body.th .overlay-winners p {
        font-size: 25px;
        top: 95px;
    }

	body.th .overlay-winners p:nth-of-type(2) {
        font-size: 16px;
    }

	body.th .overlay-winners .slick-2 p:nth-of-type(2) {
        margin-top: 50px;
    }

	.table-winners-th {
		width: 30%;
		margin-left: 105px;
		transform: scale(0.8);
		margin-top: -60px;
	}

	.table-winners-en {
		width: 30%;
		margin-left: 105px;
		transform: scale(0.7);
		margin-top: -70px;
	}

}

@media only screen and (max-width:480px) {

	body.en main {
		background-size: 480px;
	}

	body.th .title-box {
        padding-top: 240px;
    }

	body.th main {
		background-size: 480px;
	}

	.main-wrapper {
		max-width: 320px;
	}

	body.en .title-box {
        padding-top: 235px;
    }

	body.en .title {
        width: 275px;
        height: 85px;
    }

	body.th .title {
        width: 305px;
        height: 40px;
    }

	body.th .input-box p {
    	font-size: 15px;
	}

	body.th .overlay-winners p {
        font-size: 20px;
    }

	.slick-prev {
    	left: -15px !important;
	}

	.slick-next {
    	right: -15px !important;
	}

	body.th .overlay-winners h3 span {
        font-size: 20px;
    }

	.tpl-contacts span.tpl-social-media {
        display: inline-block;
        margin-top: 0px;
    }

	.overlay-box {
		width: 98%;
		height: 380px;
		border: 1px solid #fbd804;
		background-size: cover;
		padding: 10px 13px;
		border-radius: 10px;
	}

	.scroll-pane {
		height: 275px;
	}

	.overlay h2 {
		font-size: 20px;
		padding-top: 25px;
	}

	.overlay {
		font-size: 13px;
	}

	table tr th {
    	font-size: 10px;
	}

	.overlay-winners h3 span {
		font-size: 20px;
	}

	body.th .overlay-winners p:nth-of-type(2) {
        font-size: 13px;
    }

	.overlay-winners p {
        font-size: 30px;
		top: 80px;
    }

	.overlay-winners p:nth-of-type(2) {
        margin-top: 80px;
        font-size: 13px;
    }

	.overlay-winners .slick-2 p {
        font-size: 20px;
    }

	.overlay-winners .slick-2 p:nth-of-type(2) {
        font-size: 13px;
    }

}