@charset "utf-8";
/* CSS Document */
@import url(fonts/th_baijam.css);
body{
	font-family:"THBaijam";
	 font-size: 14px;
	/*background:#CCCCCC;*/
	background:url(../img/bg1.png);
	background-size:100%;
	background-attachment:fixed;
	}

#bodypage{
width:1024px;
/*border:#000000 1px solid;*/
margin:10px auto;
box-shadow:0 0 7px rgba(0,0,0,3);
background:#FFFFFF;
padding-top:5px;
padding-bottom:5px;

}
#header{
width:99%;
height:150px;
background:url(../img/header.png);
margin:0px auto;
}
#head_text{
width:30%;
height:80px;
margin-left:67%;
padding-top:65px;
color:#FFFFFF;

}
#head_text a:link{
color:#FFFFFF;
text-decoration:none;

}
#head_text a:hover{
text-decoration:none;


}
#head_text a:visited{
color:#FFFFFF;
text-decoration:none;

}
#main{
width:99%;
/*border:1px solid red;*/
margin:auto;
height:auto;


}
#left{
width:450px;
float:left;
/*border:#FF6633 1px solid;*/
}
.boxpic{
width:350px;
height:346px;
/*border:1px solid red;*/
margin-left:20px;


}
#right{
width:550px;
/*border:#000000 1px solid;*/
float:right;
}
#right a:link{
text-decoration:none;
color:#000000;
}
#right a:hover{
text-decoration:none;
color:#CC0000;
}
#right a:visited{
text-decoration:none;
}
.e{
margin-left:30px;
}
#footer{
width:99%;
height:70px;
background:url(../img/footer.png);
padding-top:5px;
margin:auto;

}
ul.tab {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #ccc;
    background-color: #f1f1f1;
}

/* Float the list items side by side */
ul.tab li {float: left;}

/* Style the links inside the list items */
ul.tab li a {
    display: inline-block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;

}

/* Change background color of links on hover */
ul.tab li a:hover {background-color: #ddd;}

/* Create an active/current tablink class */
ul.tab li a:focus, .active {background-color: #ccc;}

/* Style the tab content */
.tabcontent {
    display: none;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-top: none;
}