@font-face {
    font-family: 'paaymaayregular';
    src: url('font/paaymaay_regular-webfont.woff2') format('woff2'),
         url('font/paaymaay_regular-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'bangna-new';
    src: url('font/bangna-new-webfont.woff2') format('woff2'),
         url('font/bangna-new-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
		font-family: 'superspace';
		src: url('font/superspace_regular_ver_1.00-webfont.woff2') format('woff2'),
			 url('font/superspace_regular_ver_1.00-webfont.woff') format('woff');
		font-weight: normal;
		font-style: normal;
}
@font-face {
    font-family: 'sri_sury_wongse';
    src: url('font/sri_sury_wongse-webfont.woff2') format('woff2'),
         url('font/sri_sury_wongse-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
#testfont{
	font-family: 'paaymaayregular';
	font-size:34px;
}
#container{
	padding:5px;
	max-width:1280px;
	margin:0 auto;
	box-shadow:0 10px 20px 0 rgba(0,0,0,0.2),0 4px 20px 0 rgba(0,0,0,0.19);
}
#myBtn {
	display: none;
	position: fixed;
	bottom: 20px;
	right: 30px;
	z-index: 99;
	border: none;
	outline: none;
	background-color:#01B754;
	color: white;
	cursor: pointer;
	padding: 15px;
	border-radius: 10px;
}
#myBtn:hover {
  	background-color:#0ECF48;
}
#ribbon{
	z-index: 2000;
	max-width:100%; 
	height:auto; 
	position:fixed; 
	bottom:0; 
	left:0;
display:none;
}
#title{
	font-family:'bangna-new';
	font-weight:bold;
	font-size:15px;
	color:white;
	max-width:1280px;
	height:25px;
	text-align:center;
	background-color:#006600;
	border-radius:5px;
}
#menu{
	font-family:'bangna-new';
	font-weight:bold;
}
#footer{
	padding:5px;
}
#header{
	border:2px solid #006600;
	border-radius:5px;
	margin:2px auto;
}

#alllink{
	margin:2px auto;
	height:auto;
	text-align:center;
}
#alllink img{
	border:1px solid #DFDFDF;
	padding:5px;
}
#face{
	z-index: 2000;
	position: fixed;
	bottom:53%;
	right:1%;
	height:45px;
}
#line{
	z-index: 2000;
	position: fixed;
	bottom:47%;
	right:1%;
	height:45px;
}
#line:hover,#face:hover{
	height:50px;
	margin-right:10px;
	opacity: 1;
	-webkit-animation: flash 1.5s;
	animation: flash 1.5s;
}
@-webkit-keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@keyframes flash {
	0% {
		opacity: .4;
	}
	100% {
		opacity: 1;
	}
}
@media only screen and (min-width:720px){	
	#news{
		padding:5px;
		margin:0 5px;
	}
	#alllink img{
		width:19%;
	}
}
@media only screen and (max-width:720px){
	#ribbon{
		width:50px;
	}
	#wellcome{
		display:none;
	}
	#timedateweb{
		display:none;
	}
	#news{
		padding:5px;
	}
	#alllink img{
		width:32%;
	}
	#footer{
		padding:2px;
	}
	#line,#face{
		height:35px;
	}
}
