/* CSS Document */
a:visited {
  /*color: #000000!important;*/
}

a:link  {
 color:#000000;
}

a.genric-btn:link {
     color: #ffffff!important; 
}
a.genric-btn:hover {
     color: #000000!important; 
}
a.genric-btn.sv:hover {
     color: #66CC00!important; 
}
.indexbtn {
	background: #212761;
    padding: 27px 44px;
    text-transform: capitalize;
    font-family: "Rubik",sans-serif;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    border-radius: 5px;
    -moz-user-select: none;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 0;
    margin-bottom: 0;
    margin: 10px;
    cursor: pointer;
    transition: color 0.4s linear;
    position: relative;
    z-index: 1;
    border: 0;
    overflow: hidden;
    margin: 0;
}
a.indexbtn:link {
 color: #ffffff!important; 
}
a.indexbtn:hover {
 color: #62d30c!important; 
	 transform: scale(1.05);
    transition: transform 0.2s ease-in-out;
}


.font-kanit {
	font-family:kanit;!important
}
.font-sarabun {
	font-family:sarabun;!important
}
.slider-height2 {
min-height:320px!important;
}
.btn {
    background: #474545;
    padding: 27px 44px;
    text-transform: capitalize;
    font-family: "Rubik",sans-serif;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    border-radius: 5px;
    -moz-user-select: none;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 0;
    margin-bottom: 0;
    margin: 10px;
    cursor: pointer;
    transition: color 0.4s linear;
    position: relative;
    z-index: 1;
    border: 0;
    overflow: hidden;
    margin: 0;
}
.btn::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 101%;
    height: 101%;
    background: #14bbb0;
    z-index: 1;
    border-radius: 5px;
    transition: transform 0.5s;
    transition-timing-function: ease;
    transform-origin: 0 0;
    transition-timing-function: cubic-bezier(0.5, 1.6, 0.4, 0.7);
    transform: scaleX(0);
    border-radius: 0;
}
.zoom {
	transition: transform .2s;
}
.zoom:hover {
	transform: scale(1.2);
}	

.zoom-2 {
	transition: transform .2s;
}
.zoom-2:hover {
    transform: scale(1.05);
}

		
.dropdown-menu .first-li:hover {
 	/*color: #000; !important
	background-color: #ff0000; !important
	*/
}




a:hover {
  color: #ec5b53;
}

.two-rows {
  height: 2.6em!important; 
}
.genric-btn.readmore {
    color: #fff;
    background: #474545;
    border: 1px solid transparent;
}
.genric-btn.readmore:hover {
    color: #474545;
    border: 1px solid #343838;
    background: #fff;
}


.modal-dialog {
    max-width: 800px;
    margin: 1.75rem auto;
	top:20%;
}

.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;  
  overflow: hidden;
  height:2.5em;
}
.playlist-hover:hover
{
	background-color:#00FF00;
	color:#000000;
}
.border-right-2 {
   border-right: 1px solid #666666; !important; 
}
.content_vdo p {
	color:#FFFFFF!important;
	font-size:14px;
}

.fb {
  background: #3B5998;
  color: white;
}
.yt {
  background: #bb0000;
  color: white;
}
.sv {
	background-color:#474545;
	color: white;
}

/* index css */
.p-content-header { 
	letter-spacing: 0.8px;
	line-height: 1.6;
	font-size: 20px;
	font-weight: 700;
	font-family: sarabun;
	text-align: justify;
}
.p-content-detail { 
	line-height: 1.6;
	font-size: 20px;
	font-weight: 500;
	font-family: sarabun;
	
}
.category-content-header { 
	letter-spacing: 0.8px!important;
	line-height: 1.6!important;
	font-size: 20px!important;
	font-weight: 700!important;
	font-family: sarabun!important;
	text-align: justify!important;
}
.en-name {
			font-size: 18px;
			font-family: sarabun;
			font-weight: bold;
			color: #1f2b7b;
		}	
.bg-1{
	background: url("../img/background/bg-1.jpg");
	background-repeat:no-repeat;
}
.bg-2{
	background: url("../img/background/bg-2.jpg");
	background-repeat:no-repeat;
}
.bg-3{
	background: url("../img/background/bg-3.jpg");
	background-repeat:no-repeat;
}
.bg-4{
	background: url("../img/background/bg-4.jpg");
	background-repeat:no-repeat;
}
.bg-3-repeat {
	background: url("../img/background/bg-3.jpg");
	background-repeat:repeat-y;
}
.txt_category {
	font-size: 4rem; 
	font-weight: bold;
	color: #004aad;
}
.txt_thinking {
	font-size: 4rem; 
	font-weight: bold;
	color: #000;
}
.m-card {
	overflow: hidden;
	border-top-left-radius: 20px;
	border-top-right-radius: 20px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	transition: transform .2s;
}
.bd-card {
	border: 3px solid #fff; 
	overflow:hidden;
}
.bd-card-course {
	border: 1px solid #e1e2e6; 
	overflow:hidden;
}
.tag-outcome {
							padding-top: 13px;
							padding-bottom: 5px;
							padding-left: 10px;
							background: rgb(33,39,97);
							background: linear-gradient(90deg, rgba(33,39,97,1) 58%, rgba(0,212,255,1) 100%);
							color: #fff;
							font-family: kanit;
							font-size: 24px;
							font-weight: bold;
							border: 3px solid #fff;
   							overflow: hidden;
							border-top-left-radius: 10px;
							border-top-right-radius: 10px;
							border-bottom-left-radius: 10px;
							border-bottom-right-radius: 10px;
							transition: transform .2s;
						}
						.tag-outcome-2 {
							padding-top: 13px;
							padding-bottom: 5px;
							padding-left: 10px;
							background: rgb(33,39,97);
							background: linear-gradient(90deg, rgb(73 159 88) 58%, rgb(179 211 104) 100%);
							color: #fff;
							font-family: kanit;
							font-size: 24px;
							font-weight: bold;
							border: 3px solid #fff;
   							overflow: hidden;
							border-top-left-radius: 10px;
							border-top-right-radius: 10px;
							border-bottom-left-radius: 10px;
							border-bottom-right-radius: 10px;
							transition: transform .2s;
						}
						   
						div .p-content-header strong {
							color: #171862;
						}
						div .p-content-header {
							font-size: 16px;
						}
						.btn-quotion {
								font-size: 25px;
								font-family: sarabun;
								font-weight: bold;
								background: linear-gradient(45deg, rgba(62,1,103,1) 0%, rgba(125,98,158,1) 78%, rgba(42,43,46,1) 100%);
								color: #fff; /* ฟอนต์สีขาวเมื่อยังไม่คลิก */
								border: 1px solid #ccc;
								padding: 13px 30px 10px 30px;
								border-radius: 10px;
								transition: transform 0.2s, color 0.2s;
								cursor: pointer;
								width: 900px;
							}

							.btn-quotion:hover,
							.btn-quotion:focus,
							.btn-quotion:active {
								color: #ff0000; /* ฟอนต์สีดำเมื่อ hover, focus หรือ active */
							}
							/* กำหนดสีฟอนต์เป็นสีขาวสำหรับลิงก์ภายในปุ่ม */
									.btn-quotion a:link {
										color: #fff;
										text-decoration: none;
									}

						.tag-keyword {
							font-size: 18px;
							font-family: sarabun;
							font-weight: bold;
							background: #fffcd3;
							text-align: center;
							color: #fff;
							border: 1px solid #ccc;;
							padding-top: 5px;
							padding-bottom: 5px;
							padding-left: 5px;
							padding-right: 5px;
							border-top-left-radius: 10px;
							border-top-right-radius: 10px;
							border-bottom-left-radius: 10px;
							border-bottom-right-radius: 10px;
							transition: transform .2s;
							text-transform:capitalize;
							cursor: pointer;
						}
.slider-height {
    position: relative;
    background-image: url(../img/hero/h1_hero.jpg) !important;
    min-height: 1000px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    z-index: 1;
    overflow: hidden;
}

/* เพิ่ม overlay ทับพื้นหลัง */
.slider-height::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.20); /* ปรับความมืด: 0.3–0.5 */
    z-index: 2;
}

/* ให้เนื้อหาข้างในแสดงอยู่เหนือ overlay */
.slider-height > * {
    position: relative;
    z-index: 3;
}

/* Tablet: ความกว้างระหว่าง 769px - 1024px */
@media (max-width: 1024px) and (min-width: 769px) {
    .slider-height {
        background-image: url(../img/hero/h4_hero.jpg) !important;
    }
}

		
/* เมื่อหน้าจอกว้างไม่เกิน 768px (Mobile) */
@media (max-width: 768px) {
    .slider-height {
        background-image: url(../img/hero/h3_hero.jpg) !important;
    }
}

.bullet_why_coach {
	font-family: sarabun;
	font-size: 20px;
	color: #000;
	padding-top: 10px;
	line-height: 1.6;
}
.bullet_why_coach i {
  color: #1f2b7b; /* ปรับสีไอคอน */
}