@charset "utf-8";
/*font face*/

@font-face {
		font-family: 'ttb-regular';
		src: url('../fonts/ttb-Regular.eot');
		src: local('☺'), url('../fonts/ttb-Regular.woff') format('woff'), url('../fonts/ttb-Regular.ttf') format('truetype'), url('../fonts/ttb-Regular.svg') format('svg');
		font-weight: normal;
		font-style: normal;
	}
	
@font-face {
	font-family: 'ttb-regular-bold';
	src: url('../fonts/ttb-Bold.eot');
	src: local('☺'), url('../fonts/ttb-Bold.woff') format('woff'), url('../fonts/ttb-Bold.ttf') format('truetype'), url('../fonts/ttb-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Ekachon-Bold';
	src: url('../fonts/Ekachon-Bold.eot');
	src: local('☺'), url('../fonts/Ekachon-Bold.woff') format('woff'), url('../fonts/Ekachon-Bold.ttf') format('truetype'), url('../fonts/Ekachon-Bold.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Ekachon-Regular';
	src: url('../fonts/Ekachon-Regular.eot');
	src: local('☺'), url('../fonts/Ekachon-Regular.woff') format('woff'), url('../fonts/Ekachon-Regular.ttf') format('truetype'), url('../fonts/Ekachon-Regular.svg') format('svg');
	font-weight: normal;
	font-style: normal;
}



body{
	font-family: 'ekachon-regular';
	color: #333333;
}
p{
	padding: 10px 0px 15px 0px;
	line-height: 25px;
	font-size: 18px;
}
a {
	color: #0056ff;
	text-decoration: none;
	font-size: 13px;
}
a:hover{
	text-decoration: underline;
}
h1 {
	font-size: 48px;
	color: #333333;
	text-transform: uppercase;
	font-family: 'ttb-regular-bold';
	padding: 10px 0px 15px 0px;
	color: #0056ff;
	text-align: center;
}
h2 {
	font-size: 38px;
	color: #333333;
	text-transform: uppercase;
	font-family: 'ttb-regular-bold';
	padding: 10px 0px 15px 0px;
	color: #0056ff;
}
h3 {
	font-size: 34px;
	color: #0056ff;
	padding: 10px 0px 15px 0px;
	font-family: 'ttb-regular-bold';
	text-transform: uppercase;
}
h4 {
	font-size: 30px;
	color: #0056ff;
	padding: 10px 0px 15px 0px;
	font-family: 'ttb-regular-bold';
	text-transform: uppercase;
}
h5 {
	font-size: 26px;
	ccolor: #0056ff;
	padding: 10px 0px 15px 0px;
	font-family: 'ttb-regular-bold';
	text-transform: uppercase;

}
h6 {
	font-size: 22px;
	color: #0056ff;
	padding: 5px 0px 5px 0px;
	font-family: 'ttb-regular-bold';
	text-transform: uppercase;

	line-height: 35px;
}
.container {
	width:100%;
	margin:0 auto;
}
/* button style */
.button-blue-solid-s3{
	background:#0056ff ;
    border-radius:10px;
    padding: 12px 35px;
    text-decoration:none;
    color:#fff;
    margin:0px 0px;
    cursor:pointer;
	text-decoration: none;
	display: inline-block;
	font-size: 15px;
}
.button-blue-solid-s3:hover{
	background:#ff6801 ;
    color:#ffffff;
	text-decoration: none;

}
/*  */
.button-orange-solid-s3{
	background:#ff6801 ;
	font-size: 15px;
    border-radius:10px;
    padding: 12px 35px;
    text-decoration:none;
    color:#fff;
    margin:0px 0px;
    cursor:pointer;
	text-decoration: none;
	display: inline-block;
}
.button-orange-solid-s3:hover{
	background:#0056ff ;
    color:#ffffff;
	text-decoration: none;

}
/*  */
.button-blue-line-s3{
	border:#0056ff 3px solid;
	font-size: 15px;
    border-radius:10px;
    padding: 12px 35px;
    text-decoration:none;
    color:#333;
    margin:0px 0px;
    cursor:pointer;
	text-decoration: none;
	display: inline-block;
}
.button-blue-line-s3:hover{
	background:#0056ff;
    color:#ffffff;
	text-decoration: none;
}
/*  */
.button-orange-line-s3{
	border:#ff6801 3px solid;
	font-size: 15px;
    border-radius:10px;
    padding: 12px 35px;
    text-decoration:none;
    color:#333;
    margin:0px 0px;
    cursor:pointer;
	text-decoration: none;
	display: inline-block;
}
.button-orange-line-s3:hover{
	background:#ff6801;
    color:#ffffff;
	text-decoration: none;
}

/* menu top */
.menubar{
	display: block;
	height: 58px;
	width: 100%;
	background-color: #0056ff;
	font-family: 'ttb-regular-bold';
	font-weight: bold;

}
.menubararea{
	text-align: right;
	padding-right: 25px;
	line-height: 58px;
	font-size: 15px;
	color: #fff;
}
.menubararea a {
	text-decoration: none;
	color: #fff;
}


/* Navigation Styles */


.mainnav{
	display: block;
	height: 79px;
	background: #fff;
	font-family: 'ttb-regular';
}
.mainnav ul{
	list-style-type: none;
	float: right;
	padding: 0px;
	margin: 0px;
	background: #fff;
	display:inline-flex;
}
.mainnav li{
	display: inline-block;
	height: 79px;
	line-height: 79px;
}

.mainnav a{
	text-decoration: none;
	color:#333;
	display: block;
	transition: .3s;
	padding: 0px 22px;
	font-size: 18px;
}
.mainnav a:hover{
	background: #0056ff;
	color:#fff
	
}
.mainnav a.active{
	background: #0056ff;
	color:#fff;
	font-family: 'ttb-regular-bold';
}
.mainnav ul li ul{	
	position: absolute;
	display: none;
}
.mainnav ul li:hover ul{	
	display: block;

}
.mainnav ul li ul li{	
	display: block;
	width: 250px;
	background-color: #fff;
	height: 50px;
	line-height: 50px;

}
.mainnav ul li ul li a{	
	font-size: 15px;
}

.logotmb {
	float: left;
	display: block;
	position: absolute;
	margin-left: 20px;
}
.logotmb .logo {
	background: url(../images/ttb_foundation2.png) no-repeat; 
	background-size: cover;
	text-indent: -5000px;
	width: 205px;
	height: 63px;
	text-decoration: none;
	cursor: point;
	margin: 8px 0px 0px 0px;
	padding: 0px;
}
.logotmb .logo a {
	display: block;
	width: 142px;
	height: 63px;
}
.logotmb .logo a:hover {
	background: none;
}
/* banner */
.bannerhome{
	display: block;
	width: 100%;
	background: #666666;
	height: 450px;
}
/* member */
.member{
	width: 100%;
	margin: auto;
	padding: 30px 0px 50px 0px;
	background: #ebebeb;
	margin: 0px 0px 30px 0px;
	display: flex;
}
.member h6{
	color: #333333;
	font-size: 20px;
}

.member-item-1, .member-item-2, .member-item-3{
	/* background: #fff; */
	margin: 0px;
	transition: 0.3s;
	width: 33%;
	float: left;
	text-align: center;
	/* font-size:20px; */
}
/* form */
p.headerdetailform{
	font-size: 14px;
	color: #1a396e;
	line-height: 25px;
}
::placeholder{
	color: #aeaeae;
	font-style: italic;
}
.placeorange ::placeholder{
	color: #ff6801;
	font-style: italic;
}


p.detailform{
	font-size: 14px;
	color: #666666;
	line-height: 25px;
}



input[type=text], [type=password], select, textarea {
	width: 100%;
	min-width:150px;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 10px;
	resize: vertical;
	margin: 5px 0px;
	font-size:16px;
  }


  
  label {
	padding: 12px 12px 12px 0;
	font-size: 13px;
	text-align: right;
	display: inline-block;
  }
 
  /* Clear floats after the columns */
  .row:after {
	content: "";
	display: table;
	clear: both;
  }
/* faq */
.faq {
	display: block;
	margin: 30px 0px;
	

}

.accordion {
	max-width: 900px;
	width: 95vw;
	margin: auto;
	border-radius: 5px;
	overflow: hidden;/*margin: auto;*/
	/* font-family: 'ttb-regular'; */
}
.accordion .item .heading {
	/* font-family: 'ttb-regular-bold'; */
	height: 50px;
	line-height: 50px;
	font-size: 20px;
	cursor: pointer;
	color: #fff;
	padding-left: 15px;
	background: #0056ff url('../images/arrow.png') no-repeat;
	background-position: right 20px top -95px;
	border-bottom: 1px solid #e5e5e5;
	box-sizing: border-box;
}

.accordion .item.open .heading, .accordion .item:last-child .heading {
	border: 0;
}
.accordion .item.open .heading {
	background-position: right 20px top -5px;
}
.accordion .item .content {
	display: none;
	padding: 15px;
	background: #fff;
	font-size: 16px;
	border: 1px #e5e5e5 solid;
	line-height: 25px;
}

/* baner */
.bannertop{
	width: 100%;
}
.iconover{
	position:relative;
	display: block;
	top: -66px;
	width: 115px;
	height: 5px ;
	margin: auto;
	z-index: 1;
	padding-bottom: 60px;
}
.responsive {
	background-size : cover;
 	background-position: center;
	width: 100%;
	margin-top:84px;
}
/* card design 3 block */

.maincard{
	background: url('../images/bg_3block.png');
	display: block;
	width: 100%;
	height: 820px;
}
.maincard h2, p.white{
	color: #fff;
}

.maincard-content {
	text-align: center;
	padding: 2em;
}
.content-card {
	padding: 2px 16px;
	text-align:center;
}
.flexcontainer{
	/* font-family: 'ttb-regular'; */
	display: flex;
	width: 100%;
	margin: auto;
	clear: both;
}
.flexcontainer img{
	padding: 0px;
	margin: 0px 0px 35px 0px;
}
.flexcontainer p{
	font-size: 15px;
	line-height: 20px;
}
.flex-item-1, .flex-item-2, .flex-item-3{
	background: #fff;
	margin: 12px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	transition: 0.3s;
	width: 350px;
	height: 520px;
	border-radius:18px;
	overflow: hidden;
	/* font-size:20px; */
}
/* subscribe */
.subscriber{
  padding: 0px 0px 0px 0px;
  position: relative;
  background-position: center;
  background-size: 100% cover;
  color: #fff;
  text-align: center;
	height: 350px;
	width: 100%;
	height:80px;
}
.subscriber h2{
	color: #ebebeb;
}

.menu1
{
	display:none;
}
.menu2
{
	height:auto;
}
.menu3
{
	width:49%;
	display:inline-block;
}
.menu_logo
{
	width:49%;
	display:inline-block;
	text-align: right;
}
.menu_4
{
	font-size:clamp(12px, 7vw, 20px);
	text-align:right;
	z-index:90;
}
.menu5
{
	display:none;
	left: 50%;
	background-color:white;
	line-height:2;
	width:50%;
	float:right;
	border-radius: 25px;
	border: 2px solid darkorange;
	position: absolute;
	z-index:90;
}
.menu_a
{
	color:blue;
}
.menu_btu
{
	font-size: 1.3em;
	font-weight: bold;
	border:none;
	background-color:#0057ff;
	color:white;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
}
.menu_btu2
{
	font-size: 1.3em;
	font-weight: bold;
	border:none;
	background-color:#0057ff;
	color:white;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
	white-space: nowrap;
}
.menu6
{
	position:relative;
}
.menu7
{
	margin-left:40px;
}
.menu8
{
	width:100%;
	display:inline-block;
}
.menu9
{
	float:right;
	margin-top:10px;
	margin-bottom:10px;
	margin-right:30px;
}
.menu10
{
	background-color:#0057ff;
	height:2px;
	width:100%;
	position: relative;
}
.menu11
{
	display: block;
	height: fit-content;
	position: relative;
	border-bottom:#ff7900 solid 1px;
	z-index: 99;
}
.menu_ul
{
	float:left;
	width:100%;
	z-index:10;
}
.menu12
{
	padding-right:30px;
}
.menu13
{
	font-size:1.4em;
	padding:15px 20px 15px 20px;
}
.menu14
{
	display: flex;
	flex-direction: row;
	gap: 10px;
	align-items: center;
	justify-content: flex-end;
}
.menu15
{
	font-size: 1.3em;
	font-weight: bold;
	border:none;
	background-color:#0057ff;
	color:white;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
}
.menu_btu3
{
	margin-left:20px;
	font-size: 1.3em;
	font-weight: bold;
	border:none;
	background-color:#0057ff;
	color:white;
	padding: 10px 15px 10px 15px;
	border-radius: 10px;
}

.footer1
{
	font-size:14px;
	color:#002D63;
	margin-left:20px;
	margin-right:20px;
	display:none;
}
.footer2
{
	margin-top:0px;
}
.footer3
{
	margin-top:30px;
	margin-left:30px;
	margin-right:30px;
}
.footer4
{
	margin-left:30px;
	margin-right:30px;
}
.footer5
{
	margin-top:100px;
}
.footer_ul
{
	list-style-type: disc;
	line-height: 2.0;
}
.footer_shop
{
	border: 1px solid transparent;
	color: #002D63;
	border-color: #002D63;
	font-weight: 600;
	border-radius: 30px;
	padding: 0 15px;
}
.footer_hr
{
	margin-top: 10px;
	margin-bottom: 10px;
	border: 1px solid #002D63;
	height:0px;
	width:100%;
}
.footer_link
{
	width:40px;
	height:40px;
	margin-right:10px;
}
.footer_link2
{
	width:40px;
	height:40px;
}
.footer_rights
{
	font-size:14px;
	color:#002D63;
	margin-left:20px;
	margin-right:20px;
}
.footer_contact
{
	width:70%;
	display:inline-block;
	font-size:26px;
	color:#002D63;
}
.footer_contact2
{
	margin-left: 5px;
}
.footer-a{
	font-weight: 600;
	color: #002D63;
	font-size: 18px;
}
.footerm-a{
	font-weight: 600;
	color: #002D63;
	font-size: 16px;
}
.footer6
{
	white-space: nowrap;
}

    .btn-register-custom {
        display: inline-block; /* ทำให้กดได้ทั้งปุ่ม */
        text-decoration: none; /* เอาขีดเส้นใต้ออก */
        font-weight: bold;
        border: none;
        background-color: #0057ff;
        color: white !important; /* บังคับตัวหนังสือสีขาว */
        border-radius: 10px;
        cursor: pointer;
        transition: background-color 0.3s; /* ใส่ลูกเล่นเปลี่ยนสีนุ่มๆ */
        width:fit-content;
        height: 50px !important;
        vertical-align: center;
        padding-top: 17px !important;
    }

.btn-register-custom{
    display: inline-flex;      /* เปลี่ยนจาก inline-block */
    align-items: center;       /* จัดกลางแนวตั้ง */
    justify-content: center;   /* จัดกลางแนวนอน */
    height: 50px;
    padding: 0 22px;
    background-color: #0057ff;
    color: white !important;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
}

    /* CSS จัดการเรื่องเมาส์ชี้ แทน onmouseover */
    .btn-register-custom:hover {
        background-color: #ff7900;
        color: white;
    }

/* footer copyright */
.copyright{
	background-color: #ebebeb;
	padding: 0px 0px 0px 0px;
	display:flex;
	clear: both;
	font-size: 15px;
}
.copyright-item-1{
	/* background-color: #ff6600; */
	width: 850px;
	float: left;
	margin-right: 20px;
}
.copyright-item-2{
	/* background-color: #ff6600; */
	width: 60px;
	height: 60px;
	margin-right: 5px;
	float: left;

}
.copyright-item-3{
	/* background-color: #ff6600; */
	width:170px;
	float: right;
}
.copyright p.copy1{
	font-size: 15px;
	padding: 0px 0px 5px 0px;
}
.copyright p.copy2{
	font-size: 22px;
	padding: 0px 0px 10px 0px;
}
.copyright p.copy3{
	font-size: 15px;
	padding: 0px 0px 5px 0px;

}
.footer{
	background-color: #ebebeb;
	padding: 95px 0px 50px 0px;
	display:flex;
	clear: both;
	font-size: 15px;
}
.footer a{
	color: #333333;
	text-decoration: none;
	line-height: 25px;
}
.footer a:hover{
	color: #0056ff;
	text-decoration: none;
}
.footer ul{
	list-style-type: disc;
}
.footer p {
	padding: 0px 0px 20px 0px;
}
.hr-footer{
	border: 1px solid;
	margin: 35px 0px;
	width: 100%;
	color: #707070;
}
.footer-item-1{
	/* background-color: #ff6600; */
	width: 265px;
	height: 275px;
	float: left;
	margin-right: 30px;
}
.footer-item-2, .footer-item-3{
	/* background-color: #ff6600; */
	width: 135px;
	height: 275px;
	float: left;
	margin-right: 15px;
}
.footer-item-4{
	/* background-color: #ff6600; */
	width: 165px;
	height: 275px;
	float: left;
	margin-right: 30px;
}
.footer-item-5{
	/* background-color: #ff6600; */
	float: right;
	height: 275px;
}

/* pdpa */
.comment{
	font-size: 14px;
	font-style: italic;
	color: #666666;
}

.pdpainfo{
	width: 100%;
	padding: 30px 0px 40px 0px;
}
.pdpacontaininer{
	display: block;
	width: 100%;
	margin: auto;
	background: #ebebeb;
	padding: 35px 65px;
	border-radius: 14px;
}
.pdpainfo input[type=text], input[type=password], select, textarea {
	width: 60%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 10px;
	resize: vertical;
	margin: 5px 0px;
  }

.pdpainfo hr {
	width: 100%;
	border-bottom: 2px solid #cbcbcb;
	border-top: none;
	height: 2px;
	margin: 25px 0px 5px 0px;
}

.fancytext {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
	font-size: 25px;
	color: #ff6801;
}

.fancytext:before, .fancytext:after {
    content: '';
    width: 100%;
    height: 2px;
    display:inline-block;
    background-color: #cbcbcb;
    vertical-align: 0.3em;
    margin: 0 -100%;
}
.fancytext:before {
  margin-right: 0.75em;
}
.fancytext:after {
  margin-left: 0.75em;
}

.fancytext-blue {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
	font-size: 25px;
	color: #0056ff;
}

.fancytext-blue:before, .fancytext-blue:after {
    content: '';
    width: 100%;
    height: 2px;
    display:inline-block;
    background-color: #cbcbcb;
    vertical-align: 0.3em;
    margin: 0 -100%;
}
.fancytext-blue:before {
  margin-right: 0.75em;
}
.fancytext-blue:after {
  margin-left: 0.75em;
}

.fancytext-orange {
    position: relative;
    z-index: 1;
    overflow: hidden;
    text-align: center;
	font-size: 25px;
	color: #ff6801;
}

.fancytext-orange:before, .fancytext-orange:after {
    content: '';
    width: 100%;
    height: 2px;
    display:inline-block;
    background-color: #cbcbcb;
    vertical-align: 0.3em;
    margin: 0 -100%;
}
.fancytext-orange:before {
  margin-right: 0.75em;
}
.fancytext-orange:after {
  margin-left: 0.75em;
}

/* contact */
.contactinfo{
	width: 100%;
	padding: 30px 0px 40px 0px;
}
.contactcontaininer{
	display: block;
	width: 100%;
	margin: auto;
	background: #ebebeb;
	padding: 35px 10px;
	border-radius: 14px;
}
.contactcontaininer input[type=text], select, textarea {
	width: 60%;
	padding: 12px;
	border: 1px solid #ccc;
	border-radius: 10px;
	resize: vertical;
	margin: 5px 0px;
  }
  .contactcontaininer textarea {
	width: 80%;
	height: 150px;
	resize: none;
  }
  /* block popup icon */
  .blockpopupicon ul{
	  width: 100%;
	  list-style-type: none;
	  display: flex;
  }
  .blockpopupicon li{
	  float: left;
	  display: inline-block;
	  width: 350px;
	  height: 222px;
	  background-color: #fde8d2;
	  border-radius: 20px;
	  margin: 0px 12px 0px 12px;
	  text-align: center;
	}
	.blockpopupicon a{
			text-decoration: none;
		color: #333;
		font-size: 20px;
	}
	.blockpopupicon a:hover{
		text-decoration: none;
	color: #0056ff;
	font-size: 20px;
}


/* video 3 block */
.vdocard{
	background: url('../images/bg_vdo-3block.png');
	display: block;
	width: 100%;
	height: 560px;
}
.vdocard h2, p.white{
	color: #fff;
}

.vdocard-content {
	text-align: center;
	padding: 2em;
}
.vdocard-card {
	padding: 2px 16px;
	text-align:center;
}
.vdocontainer{
	/* font-family: 'ttb-regular'; */
	display: flex;
	width: 100%;
	margin: auto;
	clear: both;
}
.vdocontainer img{
	padding: 0px;
	margin: 0px 0px 25px 0px;
}
.vdo-item-1, .vdo-item-2, .vdo-item-3{
	background: #fff;
	margin: 12px;
	box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
	transition: 0.3s;
	width: 350px;
	height: 420px;
	border-radius:18px;
	overflow: hidden;
	/* font-size:20px; */
}
.container-imageover {
	position: relative;
	width: 350px;
	height: 263px;
	/**max-width: 500px;**/
	margin-bottom: 25px;
  }
  
  .image {
	display: block;
	width: 100%;
	height: auto;

  }
  
  .overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .3s ease;
	background-color: rgba(0, 0, 0, 0.7);
  }
  
  .container-imageover:hover .overlay {
	opacity: 1;
  }
  
  .icon {
	color: white;
	font-size: 100px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	text-align: center;
  }
  
  /* .fa-play-circle-o:hover {
	color: #ff6801;
  } */