html{font-size:16px;}
@font-face {
   font-family: 'Kanit-Light';
   src: url('fonts/Kanit-Light.eot');
   src: url('fonts/Kanit-Light.eot?#iefix') format('embedded-opentype'),
      url('fonts/Kanit-Light.woff') format('woff'),
      url('fonts/Kanit-Light.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: 'Kanit-Medium';
   src: url('fonts/Kanit-Medium.eot');
   src: url('fonts/Kanit-Medium.eot?#iefix') format('embedded-opentype'),
      url('fonts/Kanit-Medium.woff') format('woff'),
      url('fonts/Kanit-Medium.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}
@font-face {
   font-family: 'Kanit-Regular';
   src: url('fonts/Kanit-Regular.eot');
   src: url('fonts/Kanit-Regular.eot?#iefix') format('embedded-opentype'),
      url('fonts/Kanit-Regular.woff') format('woff'),
      url('fonts/Kanit-Regular.ttf') format('truetype');
   font-weight: normal;
   font-style: normal;
}

body{
   font-family: 'Kanit-Light';
	cursor: default;
	position: relative;
	line-height:1.5;
	font-size: 1rem;
	color: #282828;
}
ul{
	padding: 0;
	margin: 0;
}
a{
	text-decoration: none;
	/*cursor: pointer;*/
	color: inherit;
	
}

#nav-icon3{
	z-index: 56;
	width: 35px;
	height: 25px;
	position: relative;
    top: 0rem;
    right: 0;
	left: auto;
	margin:0px 0;
	-webkit-transition: .5s ease-in-out;
	-moz-transition: .5s ease-in-out;
	-o-transition: .5s ease-in-out;
	transition: .5s ease-in-out;
	cursor: pointer;
	box-shadow: none;
	background: none;
	border: none; 
}
#nav-icon3 span{
	display: block;
	position: absolute;
	height: 3px;
	width: 60%;
    background: #3b79bd;
    border-radius: 6px;
	opacity: 1;
	right: 0%;
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg);
	-o-transform: rotate(0deg);
	transform: rotate(0deg);
	-webkit-transition: .25s ease-in-out;
	-moz-transition: .25s ease-in-out;
	-o-transition: .25s ease-in-out;
	transition: .25s ease-in-out;
}
#nav-icon3 span:nth-child(1) {
	top: 0;
}
#nav-icon3 span:nth-child(2),#nav-icon3 span:nth-child(3) {
	top: 10px;
	width: 100%;
}
#nav-icon3 span:nth-child(4) {
	top: 20px;
}
#nav-icon3.open span:nth-child(1) {
	top: 18px;
	width: 0%;
	left: 50%;
}
#nav-icon3.open span:nth-child(2) {
	-webkit-transform: rotate(45deg);
	-moz-transform: rotate(45deg);
	-o-transform: rotate(45deg);
	transform: rotate(45deg);
	width: 80%;
}
#nav-icon3.open span:nth-child(3) {
	-webkit-transform: rotate(-45deg);
	-moz-transform: rotate(-45deg);
	-o-transform: rotate(-45deg);
	transform: rotate(-45deg);
	width: 80%;
}
#nav-icon3.open span:nth-child(4) {
	top: 18px;
	width: 0%;
	left: 50%;
}
/*#nav-icon3.open{
	top: -1.5rem;
    right: .0rem;
}*/
/*///////////Start-Header///////////////*/
.headbar-main{
    padding: 0rem 0;
	display: block;
    transition: all 0.6s;
	background-color:#FFF;
}
.slim.headbar-main{box-shadow: 0 2px 5px rgba(0,0,0,0.3);}
.hamburgers-box{
    width: 100%;
	height: 100%;
	padding: 0;
    position: relative;
	display: flex;
	align-items: center;
	justify-content: flex-start;
}
.headbar-main .row{margin: auto;}
.navbar-brand {
	width: 100%;
    text-align: left;
	color: #FFF;
    margin: 0 ;
	padding: 0;
    transition: all 0.5s;
}
.navbar-brand img{
	/*width: 70px;*/
	width: 130px;
	transition: all 0.5s;
	margin: auto;
}

.navbar-collapse .navbar-brand{
	padding: 1rem ;
	margin: auto;
	text-align: center;
	display: block;
	width: 100%;
	background: #3b79bd;
}
.navbar-collapse .navbar-brand img{width: 120px;}

.navbar-nav li{
	padding: 0 15px;
	margin-bottom: 1rem;
	position: relative;
	transition: all 0.5s;
	text-transform: uppercase;
}
.navbar-nav li a{
	padding: 8px 15px;
	display: block;
	color: #282828;
	text-align: left;
	text-decoration: none;
	transition: all 0.5s;
	position: relative;
}
.navbar-nav li.active a, .navbar-nav a:hover{
	color: #6495ed;
}
.navbar-nav li .dropdown-menu{
	padding: 0;
	border: none;
	background: #f5f5f5;
	border-radius: 0;
	margin: 0 -15px;
}
.navbar-nav li .dropdown-menu a{
	display: block;
	text-align: left;
	padding: 10px 30px;
}
.navbar-nav li .dropdown-menu a.active,
.navbar-nav li .dropdown-menu a:hover{
	color: #FFF;
	background: #3b79bd;
}
.social-header{
	text-align: left;
	padding: 0 30px;
	margin: 2rem auto 0;
	width: 100%;
}
.social-header img{
	width: 25px;
	margin-right: 10px;
	transition: all 0.8s;
}
.social-header img:hover{
	transform: scale(.95);
}
.social-header a:hover{color: #6495ed;}
.social-header ul{
	list-style: none;
}
.social-header ul li{margin-bottom: 5px;}
.contactbar{
	display: none;
	padding: 5px 0;
	color: #FFF;
	background: #3b79bd;
}
.hotline img{
	width: 25px;
	margin-right: 10px;
	filter: brightness(0) invert(1);
}
.hotline a:hover{color: #70d5fa;}
.hotline ul{
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-end;
}
/*///////////End-Header///////////////*/
/********************/
 
.box-loading #overlay{
  position:fixed;
  z-index:99999;
  top:0;
  left:0;
  bottom:0;
  right:0;
  background:#000;/*rgba(0,0,0,0.9);*/
  transition: 1s 0.4s;
}
 
.box-loading #progstat{
  font-size:0.7em;
  letter-spacing: 3px;
  position:absolute;
  top:50%;
  margin-top:-40px;
  width:100%;
  text-align:center;
  color:#fff;
}

/*///////////Start-mainSlide///////////////*/
#carouselmainSlide .carousel-item{position: relative;}
#carouselmainSlide .carousel-item img{
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
}
#carouselmainSlide .carousel-control-next, 
#carouselmainSlide .carousel-control-prev{z-index: 5;}

#carouselmainSlide .carousel-indicators {
    align-items: center;
    margin-bottom: 0;
    justify-content: center;
    bottom: .75rem;
	z-index: 4;
}
#carouselmainSlide .carousel-indicators button{
	width: 12px;
	height: 12px;
	margin: 0 3px;
	opacity: .6;
	border: none;
	background: #3b79bd;
	border-radius: 50%;
}
#carouselmainSlide .carousel-indicators button.active{
	opacity: 1;
}

/*banner*/
.banner-captions{
    position: absolute;
    width: 100%;
    color: #FFF;
    /*text-transform: uppercase;*/
    text-shadow: 0px 1px 0.98px rgba(0, 0, 0, 0.49);
}
/*
caption1  == บนซ้าย
caption2  == บนกลาง
caption3  == บนขวา
caption4  == กลางซ้าย
caption5  == กลาง
caption6  == กลางขวา
caption7  == ล่างซ้าย
caption8  == ล่างกลาง
caption9  == ล่างขวา
*/
/*.caption1{left: 2rem; bottom: 2rem;}
.caption2{bottom: 2rem;text-align: center;}
.caption3{top: 1rem;left: 2rem;}
.caption4{right: 2rem;top: 4rem;text-align: right;}
.caption5{right: 2rem;bottom: 2rem;text-align: right;}
.caption7{
    text-align: center;
    top: 50%;
    transform: translate(0,-50%);
}*/
.caption1{left: 2rem;top: 2rem;}
.caption2{top: 2rem;text-align: center;}
.caption3{top: 2rem;text-align: right; right: 2rem;}
.caption4{left: 2rem; top: 35%;}
.caption5{
    text-align: center;
    top: 35%;
    transform: translate(0,-50%);
}
.caption6{
	right: 2rem;
	top: 35%;
	text-align: right;
}
.caption7{left: 2rem; bottom: 2rem;}
.caption8{bottom: 2rem;text-align: center;}
.caption9{bottom: 2rem;text-align: right; right: 2rem;}


/*///////////End-mainSlide///////////////*/

/*///////////Start-Content///////////////*/
.content-box{
	padding: 10% 0;
	background-size: cover !important;
}
.img-box{
	text-align: center;
	overflow: hidden;
	margin-bottom: 1rem;
}
.img-box img{
	width: 100%;
	transition: all 0.6s;
}
.title-box{
	text-align: center;
	margin-bottom: 2.5rem;
}
.title-box h1{
	font-size: 28px;
	margin: 0;
	font-family: 'Kanit-Medium';
	text-transform: uppercase;
}
.title-box h2{
	font-size: 24px;
	margin: 0;
	font-family: 'Kanit-Medium';
	text-transform: uppercase;
}
.title-box p{
	margin: 0;
	letter-spacing: 2px;
	color: #6495ed;
}
.title-box ul{
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
	margin: .5rem auto;
}
.title-box ul li{
	width: auto;
	margin: 0 10px 0 0;
	text-decoration: underline;
}
.title-box ul li a{margin-right: 5px;}
.title-box ul li.active {text-decoration: none;}
.title-box ul li a:hover{text-decoration: underline;}


.content-box.abouthome{background: #f0fbfe;}
.imgabout-home{
	width: 100%;
	margin-bottom: 1rem;
	aspect-ratio:2/2;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.15) 2.4px 2.4px 3.2px;
}
.imgabout-home img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.textabout-home h1{
	font-size: 1.5rem;
	margin-bottom: .75rem;
	text-transform: uppercase;
	color: #3b79bd;
	font-family: 'Kanit-Medium';
}
.textabout-home ul{list-style: none; /*list-style:inherit; padding-left:30px;*/}
.textabout-home ul li{
	margin-bottom: 10px;
}
.textabout-home img{
	width: 20px;
	margin-right: 5px;
}
.readmore-btn{
	width: 250px;
	padding: 5px 10px;
	text-align: center;
	margin: 1rem 0;
	color: #FFF;
	background: #3b79bd;
	border: 1px solid #3b79bd;
	transition: all 0.6s;
}
.readmore-btn:hover{
	color: #3b79bd;
	background: #FFF;
}
.readmore-btn a{
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.readmore-btn img{
	width: 30px;
	margin-left: 10px;
	transition: all 0.6s;
	filter: brightness(0) invert(1);
}
.readmore-btn:hover img{filter: invert(44%) sepia(16%) saturate(2138%) hue-rotate(171deg) brightness(95%) contrast(84%);}
/* Skew Forward */
.hvr-skew-forward {
  vertical-align: middle;
  -webkit-transform: perspective(1px) translateZ(0);
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transform-origin: 0 100%;
  transform-origin: 0 100%;
}
.hvr-skew-forward:hover, .hvr-skew-forward:focus, .hvr-skew-forward:active {
  -webkit-transform: skew(-10deg);
  transform: skew(-10deg);
}

.content-box.admishome{
	background: url("../images/bgaddmis.png") top center no-repeat #FFF;
	background-size: 100% !important;
}
.content-box.admishome .title-box h1{color: #FFF;}
.icon-box{
	margin-top: 3rem;
	margin-bottom: 1rem;
	background: #70d5fa;
	color: #FFF;
	padding: 2rem 1rem;
	transition: all 0.6s;
	text-align: center;
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
.icon-box:hover{
	background: #3b79bd;
	margin-top: 2rem;
}
.icon-box h1{
	font-size: 1rem;
	margin-bottom: 1rem;
	font-family: 'Kanit-Regular';
	
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    height: calc(1rem* 1.2* 2);
}
.icon-box img{
	width: 25px;
	transition: all 0.6s;
	filter: brightness(0) invert(1);
}
.icon-box .icon-img{
	text-align: center;
	width: 80px;
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	padding: 1rem;
	border-radius: 50%;
	background: #FFF;
	margin: -5rem auto 1rem;
	z-index: 1;
	transition: all 0.6s;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.icon-box .icon-img img{
	width: auto;
	max-width: 100%;
	transition: all 0.6s;
	filter: invert(78%) sepia(60%) saturate(672%) hue-rotate(166deg) brightness(99%) contrast(97%);
}
.icon-box:hover .icon-img img{
	filter: invert(39%) sepia(95%) saturate(381%) hue-rotate(170deg) brightness(93%) contrast(88%);
}

.content-box.whychoosehome{padding: 5% 0;}
.content-box.whychoosehome .title-box h1{color: #3b79bd;}
.textcenter-whychoose{
	text-align: center;
	margin-bottom: 2rem;
}
.textcenter-whychoose p{margin: 0;}
.textcenter-whychoose span{
	color: #3b79bd;
	font-family: 'Kanit-Medium';
	font-size: 1.2rem;
}
.choose-box{
	text-align: center;
	overflow: hidden;
	margin-bottom: 2rem;
	transition: all 0.6s;
	position: relative;
	box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}
.choose-box img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: all 0.6s;
}
.choose-box:hover img{transform: scale(1.05);}
.textchoose-home {
    padding: 2rem 1rem 1rem;
    text-align: center;
    background: #FFF;
    position: absolute;
    left: 0;
    top: 67%;
    width: 100%;
    height: 100%;
    transition: all 0.6s;
    z-index: 1;
}
.choose-box:hover .textchoose-home{top: 35%;}
.choose-box.choose-box2:hover .textchoose-home{top: 10%;}
.textchoose-home span{
	width: 55px;
	height: 55px;
	border-radius: 50%;
	margin: auto;
	background: #70d5fa;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: .5rem;
	font-size: 26px;
	color: #FFF;
	font-family: 'Kanit-Medium';
	position: absolute;
	left: 50%;
	top: -10%;
	z-index: 1;
	transform: translate(-50%,0);
}
.choose-box.choose-box2 .textchoose-home span{background: #3b79bd;}
.textchoose-home h1{
	font-size: 1rem;
	font-family: 'Kanit-Medium';
	margin-bottom: 1rem;
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    height: calc(1rem* 1.3* 2);
}
.textchoose-home h2{
	font-size: 1rem;
	margin: 0;
	color: #3b79bd;
}
.textchoose-home p{margin: 0;}

.bannertagline{
	overflow: hidden;
	position: relative;
}
.bannertagline img{width: 100%;transition: all 0.6s;}
.tagline{
	color: #FFF;
	font-family: 'Kanit-Medium';
	position: absolute;
	left: 10%;
	top: 50%;
	z-index: 1;
	transform: translate(0,-50%);
}
.tagline h1{
	font-size: 20px;
	margin: 0;
}
.tagline p{margin: 0;}

.content-box.partnershome .title-box h1{color: #3b79bd;}
.imgslide{
	text-align: center;
	overflow: hidden;
}
.imgslide img{
	width: 100%;
	transition: all 0.6s;
}

.slidepartners .slick-track{
	display: flex;
	align-items: center;
	justify-content: center;
}
.slidepartners .slick-slide{
	margin: 0 10px;
}
.slidepartners .slick-dots li{
	width: auto;
	margin: 0 5px 0 0;
	height: auto;
}
.slidepartners .slick-dots li button:before{display: none;}
.slidepartners .slick-dots li button{
	width: 11px;
	height: 11px;
	padding: 0;
	border-radius: 50%;
	background: #3b79bd;
	opacity: .5;
}
.slidepartners .slick-dots li.slick-active button,
.slidepartners .slick-dots li button:hover{opacity: 1;}





.bannerpage{
	padding: 10% 0;
	background: url("../images/bgaddmis.png") center center no-repeat;
	background-attachment: fixed!important;
	background-size: cover !important;
}

.bannerpage.studentlifepage,
.bannerpage.abouttheprogrampage{
	background: url( "../abouttheprogram/images/banner-fac.png") left center no-repeat;
}

.bannerpage .title-box{
	margin: 0;
	text-align: left;
	color: #FFF;
}

.committee-box{
	overflow: hidden;
	margin-bottom: 2rem;
	border: 1px solid #ececec;
	transition: all 0.6s;
	background: #FFF;
	box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
}
.committee-box:hover{border-color: #3b79bd; background: #3b79bd;color: #FFF;}
.committee-box.committee-box2:hover{transform: translateY(30px);}
.text-commit{padding: .5rem ;}
.text-commit h1{
	font-size: 1rem;
	margin: 0;
	text-align: center;
	font-family: 'Kanit-Medium';
}
.text-commit table{width: 100%;}
.text-commit table td{
	vertical-align: top;
	padding: 5px;
}
.text-commit table td:first-child{width: 80px;}
.text-commit table td.guestwidth{width: 100%;}

.textdetail-commit span,
.text-commit span{font-family: 'Kanit-Regular';}
.img-box.imgcommit,
.committee-box .img-box{background: #f5f5f5;margin: 0;}
.committee-box:hover img{transform: scale(1.05);}
.content-box.facultypage .row{justify-content: center;}

.textdetail-commit h1{
	font-size: 1.4rem;
	margin: 0;
	font-family: 'Kanit-Medium';
}
.textdetail-commit h2{
	font-size: 1.2rem;
	margin: 0;
	font-family: 'Kanit-Medium';
}
.textdetail-commit ul{
	list-style: none;
	margin: .5rem 0 1rem 1rem;
}
.textdetail-commit p{color: #7f7f7f;}
.textdetail-commit ul li{margin-bottom: .5rem;}



.program-box{
	border: 1px solid #ececec;
	overflow: hidden;
	background: #FFF;
	transition: all 0.5s;
	border-radius: 10px;
	padding:1rem  .5rem;
	text-align: center;
	margin-bottom: 2rem;
}
.program-box img{
	width: 70px;
	transition: all 0.6s;
	filter: invert(40%) sepia(77%) saturate(451%) hue-rotate(171deg) brightness(93%) contrast(91%);
}
.program-box:hover{box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;}
.program-box:hover img{
	transform: scale(.95);
	/*filter: brightness(0) invert(1);*/
}
.program-box:hover{border-color: #3b79bd;}

.text-program h1{
	font-size: 1.1rem;
	margin:1rem 0 0;
	font-family: 'Kanit-Medium';
	
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    height: calc(1rem* 1.5* 2);
}
.text-program ul{
	list-style: none;
	text-align: left;
}

.program-box .readmore-btn{
	width: 140px;
	text-transform: uppercase;
	margin: 1rem auto 0;
}
.program-box .readmore-btn img{
	width: 20px;
	filter: brightness(0) invert(1);
}
.program-box .readmore-btn:hover img{
	filter: invert(40%) sepia(77%) saturate(451%) hue-rotate(171deg) brightness(93%) contrast(91%);
}


.textdetail-program p{
	margin-bottom: 1rem;
}
.textdetail-program ul{
	list-style: none;
	margin: 1rem 0 1rem 1rem; 
}
.textdetail-program ul span{font-family: 'Kanit-Regular';}
.textdetail-program span{font-family: 'Kanit-Medium';}
.textdetail-program ul li{margin-bottom: 10px;}
.textdetail-program table{
	width: 100%;
	margin-bottom: 1rem;
}
.tablescroll{overflow-x: auto;}
.textdetail-program table.table1{
	width: auto;
	min-width: 768px;
}
.textdetail-program td{
	padding: 10px 5px;
	vertical-align: top;
}
.textdetail-program table ul{margin: 0;}
.textdetail-program h1{
	font-size: 1.2rem;
	margin-bottom: 1rem;
	font-family: 'Kanit-Medium';
}
.textdetail-program h2{
	font-size: 1.4rem;
	margin-bottom: 1rem;
	text-align: center;
	font-family: 'Kanit-Regular';
}
.textblue{ color: #3b79bd;}
.textred{ color: #C00000;}


#accordionCurriculum{
	border: none;
	border-radius: 0;
	padding: 0;
}
#accordionCurriculum .accordion-button{
	border: none;
	border-radius: 0;
	box-shadow: none;
	padding: 0;
	color: #3b79bd;
	font-family: 'Kanit-Medium';
	margin-bottom: 1rem;
	font-size: 1.1rem;
	background-color: transparent;
}
#accordionCurriculum .accordion-item{
	border: none;
	border-radius: 0;
	box-shadow: none;
	margin-bottom: 1rem;
}
#accordionCurriculum .accordion-button::after{display: none;}
#accordionCurriculum .accordion-body{
	padding: 0 1rem;
	background-color: #FFF;
}

.program-box.admission-box{
	color: #FFF;
	background: #3b79bd;
}
.program-box.admission-box:hover{
	background: #f5f5f5;
	color: #3b79bd;
}
.program-box.admission-box img{filter: brightness(0) invert(1);}
.program-box.admission-box:hover img{filter: invert(40%) sepia(77%) saturate(451%) hue-rotate(171deg) brightness(93%) contrast(91%);}



.textdetail-admissions ul{
	list-style: none;
	margin: 1rem 0 1rem 1rem;
}
.textdetail-admissions ul li{margin-bottom: 7px;}
.textdetail-admissions p{margin-bottom: 1rem;}
.textdetail-admissions h1{
	font-size: 1.2rem;
	margin: 0;
	color: #3b79bd;
	font-family: 'Kanit-Medium';
}
.img-admission{
	text-align: center;
	overflow: hidden;
	box-shadow: rgba(0, 0, 0, 0.15) 1.95px 1.95px 2.6px;
}
.img-admission img{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.program-box:hover{transform: translateY(-1rem);}
.program-box.admission-box img.readarrow{width: 28px;}
.content-box.admissionspage .title-box h1{color: #3b79bd;}
.readmore-btn.back-btn{width: 165px;padding: 8px;}
.readmore-btn.back-btn a{justify-content: center;}
.readmore-btn.back-btn img{margin: 0 10px 0 0; transform: rotate(180deg);}

.icon-box.admissionbox:hover{margin-top: 0rem;}

.studentlife-box{
	border: 1px solid #ececec;
	overflow: hidden;
	margin-bottom: 1rem;
}
.studentlife-box:hover img{transform: scale(1.05);}
.text-student {padding: .75rem;}
.text-student h1{
	font-size: 1rem;
	margin: 0;
	color: #3b79bd;
	font-family: 'Kanit-Regular';
	
	display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
    height: calc(1rem* 1.45* 2);
}


.textdetail-studentlife h1{
	font-size:1rem;
	margin-bottom: 1rem;
	font-family: 'Kanit-Medium';
}
.textdetail-studentlife h2{
	font-size:1.2rem;
	margin: 1rem auto;
	text-align: center;
	text-transform: uppercase;
	font-family: 'Kanit-Medium';
}
.textdetail-studentlife span{font-family: 'Kanit-Medium';}
.textdetail-program .fa-angle-right{
	font-size: 20px;
	margin-right: 5px;
	vertical-align: middle;
}
.textdetail-program .fa-circle,
.textdetail-studentlife .fa-circle {
    vertical-align: middle;
    font-size: 10px;
    margin-right: 5px;
}
.textdetail-studentlife .fa-circle-check{vertical-align: middle; margin-right: 10px;}
.textdetail-studentlife ul{
	/*list-style: none;*/
	margin-bottom: 1rem;
	margin-left: 1rem;
	padding-left: 30px;
}
.textdetail-studentlife ul li{
	margin-bottom: .5rem;
}
.readmore-btn.downloadbtn{width: 220px;}
.readmore-btn.downloadbtn img{margin: 0 10px;}


/*///////////Start-Policy///////////////*/
.policy-box{
    position: fixed;
    bottom: 0%;
    right: 0%;
    width: 100%;
    text-align: left;
    padding: 1rem ;
    color: #000 ;
    z-index: 1234;
    display: block;
    font-size: 1rem;	
	background:#FFF;
	box-shadow: 0 0 15px rgba(0,0,0,0.10);
}
.policy-box ul{
	list-style: none;
	padding: 0;
	margin: 0;
}
.policy-box ul li{padding: 0 10px;}
.policy-box p{
	font-size: 1.1rem !important; 
	margin-bottom: 0;
	color: #3b79bd;
	font-family: 'Kanit-Regular';
}
.policy-box a{text-decoration: underline;}
.policy-box a:hover{text-decoration: none;}
.policy-box .btn-policy{
    width: 150px;
    padding: 8px;
    transition: all 0.5s;
    cursor: pointer;
    text-align: center;
    color: #FFF ;
    margin: .5rem auto;
	display: flex;
    align-items: center;
	border: 1px solid #3b79bd;
    justify-content: center;
	border-radius: 8px;
	background:#3b79bd;
	text-transform: uppercase;
}
.btn-policy:hover{
	transform: scale(.96);
	background:#FFF;
	color: #3b79bd;
}


/*///////////End-Policy///////////////*/

/*///////////Start-Footer///////////////*/
.footer{
	color: #FFF;
	padding: 10% 0 5%;
	background: #3b79bd;
}
.footer ul{list-style: none;}
.footer h1{
	font-size: 20px;
	color: #FFF;
	margin-bottom: .5rem;
	font-family: 'Kanit-Medium';
	text-transform: uppercase;
}
.footer p{margin-bottom: 0rem;}
.footer a:hover{color: #70d5fa;}
.footer img{
	width: 23px;
	margin-right: 10px;
	filter: brightness(0) invert(1);
}
.contact-footer{margin: 1rem auto;}

.footer ul li{padding-bottom: 8px;}
.copyright-box{
	text-align: center;
	padding-top:1rem;
	margin:1rem auto 0;
	border-top:1px solid #FFF;
}
.social-footer{
	text-align: left;
	margin: 0;
}
.social-footer img:hover{transform: scale(1.02);}
.text-right{text-align: right;}
.text-left{text-align: left;}

.address-footer img{
	/*width: 90px;*/
	width: 140px;
	filter: none;
}


.subcate{
	padding: 8px 20px;
    text-align: center;
    color: #3b79bd;
    border: 1px solid #3b79bd;
    margin: 2rem auto;
    transition: all 0.6s;
	display:inline-block;
}
.subcate.active,
.subcate:hover{
    color: #FFF;
	background:#3b79bd;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.video-presents{
	overflow: hidden;
	width: 100%;
	aspect-ratio:3/2;
	border-radius: 10px;
	margin-bottom: 3rem;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.video-presents iframe{
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pageclick ul{justify-content: center;}
.page-item .page-link{border-color: #6d6768;color: #6d6768;}
.page-item:hover .page-link,
.page-item.active .page-link{ color: #FFF; background:#3b79bd; cursor:pointer;}


.detail-view-page ul{
	padding-left:30px;
}
.detail-view-page img,
.detail-view-page table{
	max-width:100%;
}

/*///////img-box-2///////*/
.pic-box,
.pic-box-2,
.pic-box-3 {
    text-align: center;
    position: relative;
    overflow: hidden;
    /* height: 220px; */
    padding-bottom: 140%;
}
.pic-box-2 {
    padding-bottom: 65%;
}
.pic-box-3 {
    padding-bottom: 60%;
}
.pic-box div ,
.pic-box-2 div ,
.pic-box-3 div {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    justify-content: center;
    /* height: auto; */
    height: 100%;
    width: 100%;
    /* width: auto; */
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%,-50%);
    -webkit-transform: translate(-50%,-50%);
    -moz-transform: translate(-50%,-50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}
.pic-box div img ,
.pic-box-2 div img ,
.pic-box-3 div img  {
	/*max-height: 100% !important;
    width: auto !important;
    max-width: none !important;*/
	/*width: 100% !important;
	height: auto !important;
    max-width: none !important;
	max-width: 100%;*/
    max-height: 100%;
    /*width: auto;
    height: 100%;*/
	/*width: 100%;
    height: 100%;*/
	
	height: 100%;
    width: 100%;
    transition: all 0.5s;
    flex-grow: 0;
    object-fit: cover;
}



/*///////////End-Footer///////////////*/
@media (max-width: 920px) {
	body{max-width: 100% !important;}
	.navbar-collapse{
        position: fixed;
        width: 80%;
		background: #FFF;
        height: 100% !important;
        max-height: none !important;
        top: 0%;
        display: block;
        left: -100%;
		opacity: 0;
        margin: 0 !important;
        z-index: 55;
		transition: all .5s;
        overflow-y: scroll;
        box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.1);
	}
	.navbar-collapse::-webkit-scrollbar{width: 0;}
	.navbar-collapse.in{
		left: 0;
		opacity: 1;
		transition: all .5s;
	}
	.navbar-collapse.show {
		left: 0;
		opacity: 1;
		transition: all .5s;
	}
	.all-container{
		width: 100%;
	}
	.all-container.-collapse{
		transition: all .5s;
	}
	.navbar-expand-lg, .navbar-collapse, .navbar-collapse.collapsing, .all-container.all-container.all-container {
		transition: all .5s !important;
	}
	.navbar-expand-lg.-collapse {
		width:100%;
		transition: all .5s;
	}

	
}










