
@charset "utf-8";
@font-face {
    font-family: THSarabun;
    src: url('../fonts/THSarabun/THSarabun.otf');
    src: url('../fonts/THSarabun/THSarabun.eot')format('eot');
    src: url('../fonts/THSarabun/THSarabun.svg')format('svg');
    src: url('../fonts/THSarabun/THSarabun.ttf')format('truetype');
    src: url('../fonts/THSarabun/THSarabun.woff')format('woff');
    font-weight: normal;
}

@font-face {
    font-family: BSR;
    src: url('../fonts/THSarabun/BSRUBANSOMDEJ-Black.otf');
    src: url('../fonts/THSarabun/BSRUBANSOMDEJ-Bold.otf')format('otf');
    src: url('../fonts/THSarabun/BSRUBANSOMDEJ.svg')format('svg');
    src: url('../fonts/THSarabun/BSRUBANSOMDEJ-BoldOblique.otf')format('truetype');
    src: url('../fonts/THSarabun/BSRUBANSOMDEJ-SemiBold.otf')format('otf');
    font-weight: normal;
}

html{
    font-family:'THSarabun';
    font-size:20px;
    color:#fff;
}
html>body{
	margin: 0 auto;
    padding: 0px 0px 0px 0px;
    background: #380104 url(../images/bg-main.jpg) 50% 0 no-repeat;
    background-attachment: fixed;
    font-family:'THSarabun';
    font-size:20px;

}

#pwap{
	width:980px; 
	margin: 0 auto;
}
#right{
	width: 650px;
	border: 1px solid #6f0303;
	
	float: left;
	margin: 10px;
	padding: 10px;
	font-size: 22px;
	border-radius: 5px;
}
#phome{
	background:url('../img/bb.png');
	height: 266px;
	width: 650px;

}
.box{
	background: black url('../img/back.png') repeat-x;
	border-radius: 5px;
	border: 1px solid #bfa704;
	padding: 10px 0px 10px;


}
.box img{
	

}
.listBox{
	width: 200px;
	margin: 20px;
	float: left;
	
}
.listBox img{
	width: 200px;
	height: auto;
	

}
.listBox3{
	width: 150px;
	height: 40px;
	list-style: none;
	
	float: right;
}
.listBox3 ul{
	list-style: none;
	padding: 0px;
}
.listBox3 ul li a{
	color:white;
	padding: 4px 30px 4px 30px;

	height: 50px;
	color: gold;
	text-decoration: none;
	text-transform: none;
	background: #333333;
	list-style: none;
	border-radius: 3px;
	line-height: 50px;
	


}
#imgs img{
	float: left;
	padding: 10px;
}

#left{
	width: 260px;
	float: left;
	
	font-size: 22px;
}


#footer{
	width: 980px;
	height: 100px;
	text-align: center;
	margin: 0 auto;
	padding: 10px;
	text-align: center;

}
.fMenu li{
	list-style: none;
	float: left;
	width: 100px;
	text-align: center;
	
}
.fMenu li a{
	color: white;
	text-decoration: none;
}
#bar{
	border: 1px solid #6f0303;
	margin-top: 10px;
	border-radius: 5px;
}
#bartop h3{
	text-align: center;
	margin: 0px;
	padding: 5px;
	border-bottom: 1px solid #a90909;
	background: url('../img/bar.png');

}
.bark{
	padding: 10px;
	margin: 10px;
	text-align: justify;
}

hr {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(239, 194, 44, 0.75), rgba(0, 0, 0, 0));
}
.lis a{
	color:#f3df00;
	text-decoration: none;
	margin-left: 15px;

}



.panel {
	
	padding: 8px;
	margin: 20px auto;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	
	-webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
	-moz-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
	box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.5);
	
	overflow: hidden;
}

.panel ul {
	list-style: none;
	margin: 0 auto;
	overflow: hidden;
}

.panel ul li {
	float: left;
	margin: 0 5px;
}

.panel ul a {
	display: inline-block;
	text-decoration: none;
	line-height: 18px;
	padding: 10px 18px;
	
	color: #fff;
	font-weight: bold;
	outline: none;
	
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	
	/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#fff9f9+0,8f0222+6,6d0019+100 */
background: #fff9f9; /* Old browsers */
background: -moz-linear-gradient(top,  #fff9f9 0%, #8f0222 6%, #6d0019 100%); /* FF3.6-15 */
background: -webkit-linear-gradient(top,  #fff9f9 0%,#8f0222 6%,#6d0019 100%); /* Chrome10-25,Safari5.1-6 */
background: linear-gradient(to bottom,  #fff9f9 0%,#8f0222 6%,#6d0019 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff9f9', endColorstr='#6d0019',GradientType=0 ); /* IE6-9 */

	
	text-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
	
	-webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
	-moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4);
}


/* black */

.panel.black {
	border: 1px solid #111;
}
.panel.black ul a {
	background-color: #222222;
	border: 1px solid #111;
	margin-bottom: 20px;
	margin-top:10px;
}





