@charset "utf-8";

@font-face {
    font-family: 'tp_kubuaregular';
    src: url('tp_kubua_0.eot');
    src: url('tp_kubua_0.eot?#iefix') format('embedded-opentype'),
         url('tp_kubua_0.woff2') format('woff2'),
         url('tp_kubua_0.woff') format('woff'),
         url('tp_kubua_0.ttf') format('truetype'),
         url('tp_kubua_0.svg#tp_kubuaregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'boontook_mon_ultramon-ultra';
    src: url('boontook-mon-ultra.eot');
    src: url('boontook-mon-ultra.eot?#iefix') format('embedded-opentype'),
         url('boontook-mon-ultra.woff2') format('woff2'),
         url('boontook-mon-ultra.woff') format('woff'),
         url('boontook-mon-ultra.ttf') format('truetype'),
         url('boontook-mon-ultra.svg#boontook_mon_ultramon-ultra') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'thaisans_neueregular';
    src: url('thaisansneue-regular-webfont.eot');
    src: url('thaisansneue-regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('thaisansneue-regular-webfont.woff2') format('woff2'),
         url('thaisansneue-regular-webfont.woff') format('woff'),
         url('thaisansneue-regular-webfont.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;

}
body{
	font-family: 'thaisans_neueregular';
	background:url(../images/bg_tanrat.jpg) no-repeat center top;
}
.wrapper{
	width:1170px;
	margin:0 auto;
	display:block;
	color:#656565;
}
.wrapper:after{
	content:"";
	display:block;
	height:1px;
	clear:both;
}
.wrap_slideshow{
	width:100%;
	min-width:1170px;
	height:630px;
	display:block;
	position:relative;
}
.wrap_botslide{
	width:100%;
	min-width:1170px;
	display:block;
	height:163px;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:auto;
}
.wrap_onlinebut{
	width:1170px;
	margin:0 auto;
	height:53px;
	position:relative;
}
.onlinebutton{
	height:53px;
	width:1088px;
	position:absolute;
	right:295px;
}
.wrap_edu{
	width:100%;
	min-width:1170px;
	height:110px;
	display:block;
	background:rgba(0,0,0,0.75);
}
.edu_home{
	width:1170px;
	height:110px;
	display:block;
	margin:0 auto;
}
.edu_item{
	display:inline-block;
	width:234px;
	height:110px;
	position:relative;
	overflow:hidden;
}
.edu_item img {
	width:auto;
	height:110px;
	display:block;
	position:absolute;
	left:50%;
	-ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}
.edu_item:before{
	position:absolute;
	content:attr(data-edulist);
	right:7px;
	bottom:3px;
	color:#FFF;
	z-index:8;
	font-size:16px;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.edu_item:after{
	content:"";
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	width:234px;
	background:rgba(0,0,0,0.3);
	display:block;
	height:110px;
	z-index:5;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
	transition: all 0.5s ease-in-out;
}
.edu_item:hover:before{
	font-size:18px;
	
}
.edu_item:hover:after{
	background:rgba(0,0,0,0.8);
}
.wrap_boxhome{
	width:1170px;
	float:left;
}
.box_home{
	float:left;
	width:349px;
	margin-left:61px;
	margin-top:50px;
}
.box_home:first-child{
	margin-left:1px;
}
.box_home img{
	display:block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.box_home div{
	font-size:17px;
	display:block;
	text-align:center;
	font-weight:bold;
	margin-top:15px;
	line-height:30px;
}
.wrap_newshome{
	float:left;
	width:710px;
}
.head_newshome{
	font-family: 'boontook_mon_ultramon-ultra';
	font-size:30px;
	color:#00ade0;
	float:left;
	width:100%;
	clear:both;
}
.box_newshome{
	float:left;
	width:325px;
	margin-right:60px;
	margin-top:25px;
	text-align:center;
}
.box_newshome:last-child{
	margin-right:0;
}
.box_newshome div.newshomepic{
	width:325px;
	height:185px;
	display:block;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	overflow:hidden;
}
.box_newshome > div.newshomepic > img{
	display:block;
	width:100%;
	height:auto;
}
.box_newshome div.textnews_home{
	font-size:16px;
	display:block;
	text-align:left;
	font-weight:bold;
	margin-top:10px;
	line-height:24px;
	height:50px;
}
.btn_readmore{
	background:#00ade0;
	padding:3px 25px;
	font-size:14px;
	color:#FFF;
	display:inline-block;
	margin:0 auto;
	text-decoration:none;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	margin-top:10px;
}
.wrap_homeright{
	width:380px;
	float:left;
	margin-left:80px;
	margin-top:15px;
}
.homeright_box{
	width:380px;
	height:90px;
	float:left;
	margin-bottom:5px;
	display:block;
	position:relative;
}
.homeright_box span{
	position:absolute;
	bottom:5px;
	color:#000;
	font-weight:bold;
}
.textbothome{
	text-align:center;
	width:100%;
	float:left;
	font-size:17px;
	margin-top:30px;
	line-height:33px;
	margin-bottom:25px;
}
.wrap_banner{
	width:100%;
	min-width:1170px;
	height:405px;
	display:block;
	position:relative;
	background-position:center top;
	background-repeat:no-repeat;
}
.about_bg{
	background-image:url(../images/about_bg.jpg);
}
.news_bg{
	background-image:url(../images/news_bg.jpg);
}
.course_bg{
	background-image:url(../images/course_bg.jpg)
}
.wrap_botslide_inside{
	width:100%;
	min-width:1170px;
	display:block;
	height:53px;
	position:absolute;
	left:0;
	right:0;
	bottom:0;
	top:auto;
}
.head_about{
	font-family: 'boontook_mon_ultramon-ultra';
	font-size:30px;
	color:#00ade0;
	float:left;
	width:1170px;
	text-align:center;
	margin-top:30px;
	margin-bottom:10px;
}

.text_about{
	text-align:center;
	font-size:16px;
	line-height:38px;
}
.text_about2{
	float:left;
	text-align:left;
	font-size:16px;
	line-height:48px;
	width:600px;
	margin-left:30px;
	margin-top:30px;
}
.wrap_news{
	float:left;
	width:1170px;
	margin-top:30px;
}
.news_list{
	width:255px;
	display:inline-block;
	margin-right:42px;
	margin-bottom:40px;
	text-decoration:none;
	color:#656565;
}
.news_list:nth-child(4n){
	margin-right:0;
}
.news_pic{
	width:255px;
	height:160px;
	display:block;
	overflow:hidden;
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}
.news_pic img{
	display:block;
	width:100%;
	height:auto;
}
.news_head{
    width: 255px;
    overflow: hidden;
    height:50px;
	line-height:24px;
	font-weight:bold;
	margin-top:10px;
	color:#000;
	font-size:16px;
}
.news_date{
	color:#00ade0;
	display:block;
	font-size:13px;
	font-weight:bold;
	margin-top:7px;
}
.news_detail{
	width: 255px;
    overflow: hidden;
    height:80px;
	line-height:26px;
	margin-top:3px;
	font-size:15px;
}
.head_contacts{
	font-family: 'boontook_mon_ultramon-ultra';
	font-size:30px;
	color:#00ade0;
	float:left;
	width:1170px;
	text-align:left;
	margin-top:30px;
	margin-bottom:10px;
}
.wrap_address{
	width:530px;
	float:left;
	}
.wrap_maps{
	width:500px;
	margin-left:100px;
	float:left;
	}
.contact_name{
	color:#000;
	font-size:20px;
	font-weight:bold;
	margin:10px 0;
	}
.contact_titlename{
	color:#393939;
	font-size:18px;
	font-weight:bold;
	}
.office_addres{
	line-height:30px;
	margin:15px 0 0 15px;
	}
.office_addres2{
	line-height:30px;
	margin:40px 0 0 15px;
	}
.w_maps{
	margin-bottom:30px;
	}
.link_social{
	margin:40px 0 0 15px;
	}
.form_contacts{
	margin:40px 0 0 15px;
	}
.frm_contacts{
	width:375px;
	padding:3px 5px;
	border:1px solid #c5c5c5;
	}
input[type="text"].frm_contacts, input[type="email"].frm_contacts{
	height:20px;
	}
input[type="button"].btnsend{
	border:0;
	background:url(../images/images/button.png) no-repeat;
	width:97px;
	height:31px;
}
input[type="button"].btnsend:active{
	position:relative;
	top:1px;
}
textarea.frm_contacts{
	max-width:375px;
}
.box_table{ margin:20px 0 50px 0;}
.box_table td{
	padding:8px 0;
}
.course_pic{
	width:510px;
	float:left;
	margin-top:25px;
}
.wrap_table_course{
	float:left;
	width:510px;
	background:url(../images/course_shadow.jpg) no-repeat center bottom;
	padding-bottom:6px;
}
.table_course{
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	border-collapse:collapse;
	margin-top:25px;
}
.table_course tr:nth-child(odd){
	background:#e1e2e3;
}
.table_course tr:nth-child(even){
	background:#FFF;
}
.table_course tr.bg_table01{
	background:url(../images/course_td_bg1.jpg) repeat-x center center;
	height:33px;
	color:#FFF;
}
.table_course .bg_table01 td:first-child{
	-webkit-border-top-left-radius: 5px;
	-moz-border-radius-topleft: 5px;
	border-top-left-radius: 5px;
	border:0;
	border-right:1px solid #d7d9dc;
}
.table_course .bg_table01 td:last-child{
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topright: 5px;
	border-top-right-radius: 5px;
	border:0;
}
.table_course tr.bg_table02{
	background:url(../images/course_td_bg2.jpg) repeat-x center center;
	height:42px;
	color:#FFF;
}
.table_course tr.bg_table02 td{
	border:0;
}
.table_course tr.bg_table02 td:first-child{
	border-right:1px solid #d7d9dc;
}
.table_course td{
	text-align:center;
	padding:5px;
	border:1px solid #d7d9dc;
	border-top:0;
	border-bottom:0;
}
.table_course tr:last-child td:first-child{
	border-bottom:1px solid #d7d9dc;
}
.table_course tr:last-child td:last-child{
	border-bottom:1px solid #d7d9dc;
}
.text_table{
	color:#15528c;
	line-height:24px;
	margin:10px 0 30px 0;
	float:left;
}
.course_detail{
	float:left;
	margin-left:45px;
	width:615px;
	line-height:30px;
	margin-bottom:15px;
	margin-top:30px;
}
.course_detail div{
	margin-bottom:15px;
	float:left;
	width:100%;
}
.course_detail div span{
	color:#000;
	font-weight:bold;
}
.course_detail div p{
	display:block;
	margin-top:5px;
	padding-left:40px;
	background:url(../images/dot.jpg) 25px 13px no-repeat;
}
.inlinepic{
	display:block;
	width:100%;
}
.inlinepic img{
	max-width:100%;
	width:auto;
	height:auto;
	display:block;
	max-height:400px;
	margin:0 auto;
}
.inlinehead{
	font-size:18px;
	font-weight:bold;
	color:#333;
	margin:15px 0 15px 0;
	text-align:center;
}
.inlinedetail{
	font-size:15px;
	color:#656565;
	text-align:left;
}

img.fullwidth {
	display:block;
	width: auto;
	max-width:100%;
	margin:20px auto;
}