:root {
  --main: #f4b2d0; 
  --main-w: #fafafa;   
  --main-b: #171a21;
  --color--body--light: #515151;
  --color--link-underline: #212121;
} 

a{
  text-decoration: none !important; 
}
a:hover{
  text-decoration: none;
} 
body{ 
  font-family: "Noto Sans Thai", sans-serif; 
  position: relative;
} 
header{
  padding: 22px 48px;
  border-bottom: 1px solid #eaeaea;
  position: relative;
  background-color: #fff;
}
.logo-home{
  max-height: 120px;
  position: absolute;
  left: 0;
  right: 0;
  top: -30px;
}
.bars{
  color: #000;
  padding: 10px 20px;
  font-size: 24px; 
  cursor: pointer;
  width: 60px;
  margin-top: 15px;
}
header ul{
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
header ul li{
  margin: 3px;
}
.rightx{
  text-transform: uppercase;
  padding-top: 12px;
}
.rightx a{
  padding: 13px 10px 4px;
  color: #000;   
  font-size: 18px;
  transition: .33s all ease-out;  
}
.rightx a:hover{ 
  color: var(--main);    
}
.rightx a i{ 
  font-size: 20px;
}
.menu-left {
  position: absolute;
  top: 0;
  overflow: visible;
  display: block;
  z-index: 100;
  min-height: 100vh;
  width: 80%;
  max-width: 400px;
  background-color: #fff;
  -webkit-transform: translateX(-100%);
  transform: translate(-100%); 
  transition: .33s all ease-out;  
  text-transform: uppercase;
}
.menu-left.active{ 
  transform: translateX(0%); 
  position: fixed;
}
.menu-left + .dropx{ 
  display: none; 
} 
.menu-left.active + .dropx{
  position: fixed;
  width: 100%;
  height: 100%;
  bottom: 0px;
  left: 0;
  display: block;
  background-color: rgba(0, 0, 0, .3);
  z-index: 4;
  cursor: pointer;
}
.menu-left .h{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.menu-left .h a{
  padding: 20px;
  font-size: 16px;
  color: #000; 
  font-weight: bold;
}
.menu-left .h span{
  padding: 20px;
  font-size: 16px;
  color: #000; 
  font-weight: bold;
}
.menu-left ul{
  list-style: none;
  margin: 0;
  padding: 0;
} 
.menu-left ul li{
  border-top: 1px solid #eaeaea; 
  display: block;
  border-bottom: 1px solid #eaeaea;
}
.menu-left ul li a {
  position: relative;
  display: block;
  z-index: 0;
  line-height: 1.3;
  padding: 20px 35px 20px 20px;
  color: #000; 
  font-weight: bold;
  font-size: 16px; 
  transition: .33s all ease-out;  
} 
.menu-left ul li a i{ 
  position: absolute;
  right: 15px;
  font-size: 16px;
} 
.menu-left ul li p i{ 
  position: absolute;
  left: 15px;
  font-size: 16px;
} 
.menu-left ul > li:hover > a { 
  color: var(--main);
} 
.menu-left .closex{
  position: absolute;
  right: -35px;
  color: #fff;
  top: 10px;
  font-size: 33px;
  display: none;
  cursor: pointer;
}
/*
.menu-left.active .closex{
  display: block;
} 
*/
.sub ul{ 
  top: 60px;
  position: absolute; 
  overflow: hidden !important;
  display: none;
  z-index: 101;
  min-height: 100vh;
  width: 100%;
  max-width: 400px;
  background-color: #fff;
  -webkit-transform: translateX(-100%);
  transform: translate(-100%); 
  transition: .33s all ease-out;    
}
.sub.active ul{ 
  transform: translateX(0%); 
  position: fixed;
  overflow: visible;
  display: block;
}
.sub ul li a{ 
  padding-left: 30px;
}
.sub p{
  position: relative;
  display: block;
  z-index: 0;
  line-height: 1.3;
  padding: 20px 35px 20px 20px;
  color: #000; 
  font-weight: bold;
  font-size: 16px; 
  transition: .33s all ease-out;  
  padding-bottom: 0px; 
  text-align: center;
  cursor: pointer;
} 
.menu-left.active .closex{
  display: block;
} 
.div-des{
  display: flex;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.div-des > div{
  max-width: 400px;
}
.div-des h2{
  font-weight: bold;
}
.div-des p span{
  font-weight: bold;
}
.box2{
  display: flex;
  height: 100%;
  width: 100%; 
  justify-content: center;
  align-items: center;
  background-color: var(--main);
  padding: 32px 48px;
}
.box2 h2{
  color: #fff;
  font-weight: 700;
}
.box2 a{
  color: #fff;
}
.sec3{
  padding-bottom: 50px;
  padding-top: 50px;
}
.sec3 .des{ 
  height: 100%;
  width: 100%;
  display: flex; 
  align-items: center;
}
.sec3 .des > div{
  padding-left: 50px;
  max-width: 400px;
}
.sec3 h2{
  font-weight: bold;
  text-transform: uppercase;
}
.sec4{
  padding-bottom: 50px;
  padding-top: 50px;
}
.sec5{
  padding-bottom: 50px;
  padding-top: 50px;
}
.programes{
  position: relative;
}   
.programes h5{
  margin-top: 15px; 
  font-size: 16px;
  overflow: hidden;
} 
.programes img{
  cursor: pointer;
  transition: .33s all ease-out;   
  overflow: hidden;
}
.programes img:hover{
  overflow: hidden;
  opacity: .75;
  transform: scale(1.01);
} 
.programes a{
  color: var(--color--link-underline); 
  transition: .33s all ease-out;  
}
.programes a:hover{
  color: var(--main);
} 
a.link{
  text-transform: uppercase;
  font-size: 22px;
  text-decoration: underline !important;
  color: var(--color--link-underline); 
}
.sec6{
  padding-bottom: 100px;
  padding-top: 50px;
}
.sec6 h2{
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
} 
.sec8{
  padding-bottom: 50px;
  padding-top: 50px;
}
.sec8 .des{ 
  height: 100%;
  width: 100%;
  display: flex; 
  align-items: center;
}
.sec8 .des > div{
  padding-left: 50px;
  max-width: 400px;
}
.sec8 h2{
  font-weight: bold;
  text-transform: uppercase;
}
.blog-posts h3{
  margin-top: 15px;
  font-size: 20px;
}  
.blog-posts p{
  padding-right: 10px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-bottom: 10px;
  font-size: 16px;
  @supports (-webkit-line-clamp: 2) {
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: initial;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
  }
}   
.blog-posts a{ 
  text-decoration: underline !important;
  font-size: 16px;
  font-weight: bold;
  color: var(--main-b);
}  
.btn-outline{
  background-color: transparent;
  border: 2px solid var(--main);
  border-radius: 0px;
  padding: 4px 20px;
  color: var(--main);
  transition: .33s all ease-out;  
  font-weight: bold;
  border-radius: 2px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  font-size: 14px;  
  line-height: 41px;
}
.btn-outline:hover{
  background-color: var(--main);
  border: 2px solid var(--main); 
  color: #fff; 
}
.btn-full{
  background-color: var(--main);
  border: 2px solid var(--main);
  border-radius: 0px;
  padding: 0px 12px !important;
  color: #fff;
  transition: .33s all ease-out;   
  font-weight: bold;
  border-radius: 2px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  font-size: 14px;  
  line-height: 41px;
}
.btn-full:hover{
  background-color: #fff;
  border: 2px solid var(--main); 
  color: var(--main); 
}
.btn-full2{
  background-color: var(--main);
  border: 2px solid var(--main);
  border-radius: 0px;
  padding: 4px 20px;
  color: #fff;
  transition: .33s all ease-out;   
  font-weight: bold;
  border-radius: 2px; 
  text-transform: uppercase; 
  letter-spacing: 1px;
  font-size: 14px;  
  line-height: 41px;
  margin-right: 10px;
}
.btn-full2:hover{
  background-color: #fff;
  border: 2px solid var(--main); 
  color: var(--main); 
}
.sec7{
  background-color: #f7f7f7; 
  padding-top: 60px;
  padding-bottom: 60px; 
}
.sec7 input{
  height: 48px;
  border-radius: 2px;
}
.sec8{
  background-color: #f7f7f7; 
  padding-top: 60px;
  padding-bottom: 60px; 
}
.sec8 input{
  height: 48px;
  border-radius: 2px;
}

footer{
  padding: 50px 40px 10px;
}
footer{
  padding: 50px 40px 10px;
}
footer h6{
  margin-top: 40px;
}
footer .logo{
  max-height: 140px;
  margin-top: -30px;
}
footer ul{
  list-style: none;
  padding-left: 0px;
  margin-bottom: 0px;
}
footer ul li{
  margin-bottom: 10px;
}
footer ul li a{
  transition: .33s all ease-out;  
  margin-bottom: 15px;
  color: #000;
  position: relative;
  padding-left: 35px;
}
footer ul li a:hover{
  color: var(--main);
}
footer h3{
  margin-bottom: 15px;
} 
footer ul li a i{ 
  color: #000;
  font-size: 22px;
  position: absolute; 
  left: 0;
  color: var(--main);
} 
.carousel-item div{
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
  background-position: center !important;
  height: calc(100vh - 100px);
}
.course-cart{
  padding: 50px;
  background-color: #fafafa; 
}
.course-des{
  background-color: #fff;
  padding: 15px 15px 30px;
}
.course-des h4{
  color: #000;
  margin-top: 10px;
  margin-bottom: 10px;
}
.course-des h4 span{
  color: #C5312D;
  font-size: 14px;
  text-decoration: line-through;
}
.course-des label{
  margin-top: 15px;
  margin-bottom: 10px;
  color: #000;
}
.course-des label{
  margin-top: 15px;
  margin-bottom: 0px;
  color: #000;
}
.course-des select{
  margin-top: 15px; 
  color: #000;
  height: 48px;
  border-radius: 2px;
  margin-bottom: 15px;
}
.main-img{
  max-height: 800px; 
  cursor: pointer;
  display: none !important;
}
.main-img.active{
  display: block !important;
}
.img-cart{ 
  cursor: pointer;
  transition: .33s all ease-out;  
}
.img-cart:hover{ 
  opacity: .8;
} 
.modal-img #prevBtn{
  position: absolute;
  top: 50%;
  left: 10px;
  background-color: var(--main);
}
.modal-img #nextBtn{
  position: absolute;
  top: 50%;
  right: 10px;
  background-color: var(--main); 
}
.custom-modal-bg {
  background-color: rgba(0, 0, 0, 0.65);  
}
.custom-modal-bg .modal-content{
  background-color: transparent !important;
}
.login{
  padding-top: 50px;
  padding-bottom: 50px;  
}
.login h2{
  text-align: center;
  font-weight: bold;
  margin-bottom: 15px;
}
.login label{ 
  font-weight: bold;
  margin-bottom: 5px;
  text-transform: uppercase;
  margin-top: 25px;
}
.login input{ 
  height: 48px;
  border-radius: 2px;
}
.login .link{ 
  font-size: 16px !important;
}
.login h2{ 
  font-weight: bold; 
  text-transform: uppercase; 
}
.img-list{
  position: absolute;
  right: 0;
  top: 0;
  list-style: none;
}
.img-cart{
  margin-bottom: 10px;
}
.img-cart img{
  max-height: 100px;
  margin-bottom: 10px;
  transition: .33s all ease-out;  
}
.img-cart img:hover{ 
  opacity: .85;
}
.modal-close{
  cursor: pointer;
  position: absolute;
  right: 20px;
  top: 20px;
  background-color: #fff;
  border-radius: 50%;
  color: #000;
  font-size: 24px;
  padding: 5px 14px 4px;
}
.modal-close:hover{
  cursor: pointer;
  opacity: 1;
  background-color: #fff;
  color: #000;
}
footer form .form-control{
  border-radius: 4px;
}
.payment-form{
  padding-top: 30px;
  padding-bottom: 30px;
  background-color: #f7f7f7;
}
.payment-form label { 
  margin-bottom: 10px;
}
.payment-form label span {
  color: red; 
}
.payment-form .form-control{
  border-radius: 2px; 
  margin-bottom: 15px;
}
.icon-input + i{
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 18px;
}
.mycourse{ 
  background-color: #f7f7f7;
  padding-top: 30px;
  padding-bottom: 30px;
}
.picx{
  height: 400px; 
  border-radius: 16px;
  margin-bottom: 40px;
  position: relative;
} 
.picx .coverx{ 
  height: 400px;  
  border-radius: 16px;
  object-fit: cover;
}
.picx .profilex{ 
  height: 180px;  
  border-radius: 100%;
  object-fit: cover;
  position: absolute;
  left: 45px;
  bottom: -20px;
  border: 5px solid #fff;
}
.menu-profile{
  background-color: white;
  border-radius: 8px;
  padding: 30px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
  min-height: 300px;
}
.menu-profile h5{
  text-transform: uppercase;
  margin-bottom: 25px;
}
.menu-profile ul{
  list-style: none;
  padding-left: 0px;
}
.menu-profile ul li { 
  transition: .33s all ease-out;   
  margin-bottom: 15px;
}
.menu-profile ul li a{
  display: block;
  color: var(--color--link-underline);
  position: relative;
  padding-left: 35px;
  font-weight: 500;
}
.menu-profile ul li:hover a{  
  color: var(--main);
}
.menu-profile ul li.active a{  
  color: var(--main);
}
.menu-profile ul li a i{
  position: absolute;
  left: 0;
  font-size: 18px;
  padding-top: 4px;
}
.mycourse .programes { 
  margin-bottom: 30px;
  background-color: #fff;
  border-radius: 4px; 
  box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.06) 0px 2px 4px -1px;
}

.form-profile label { 
  margin-bottom: 10px;
}
.form-profile label span {
  color: red; 
}
.form-profile .form-control{
  border-radius: 2px; 
  margin-bottom: 15px;
}
.review{ 
  background-color: #f7f7f7;
  padding-top: 30px;
  padding-bottom: 30px;
}
.nav .nav-item button {
  color: #000 !important;
  background-color: transparent;
  min-width: 200px;
}
.nav .nav-item button.active {
  background-color: transparent;
  color: var(--main) !important;
  font-weight: bold;
}
.nav .nav-item button.active::after {
  content: "";
  border-bottom: 4px solid var(--main);
  width: 100%;
  position: absolute;
  left: 0;
  bottom: -1px;
  border-radius: 5px 5px 0 0;
}
.review .img-fluid{
  cursor: pointer;
  object-fit: cover;
  height: 400px; 
}
.fluidx{
  max-height: 92vh;
}
programes ul{
  list-style: none;
  padding-left: 0px;
  padding-bottom: 0px;  
  margin-bottom: 0px;
}
.programes li{
  position: relative;
  padding-left: 23px;
  margin-bottom: 10px;
}
.programes li a{
  font-size: 12px;
  line-height: 20px !important;
  text-decoration: underline !important;
}
.programes li i{
  position: absolute;
  left: 0;
  top: 5px;
  color: red;
  font-size: 16px;
  animation: colorBlink 1s infinite;
}  
@keyframes colorBlink {
  0%, 100% { color: rgba(255, 0, 0, .6); }
  50% { color: red; }
}       
.group-x .input-group input[type="button"] {
  -webkit-appearance: button;
  cursor: pointer;
}

.group-x .input-group input::-webkit-outer-spin-button,
.group-x .input-group input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
.group-x{
  width: 145px; /* 29-04-65 */ 
}
.group-x .input-group input[type='button'] { 
  min-width: 38px; 
  transition: all 300ms ease;
  border: 1px solid #eaeaea;  
  font-size: 16px !important;
  width: 30px;
}
.group-x .input-group input {
  text-align: center;
  border:1px solid #eaeaea;  
  width: 40px;
  height: 30px;
  font-size: 14px !important;
}
.input-group input:focus {
  outline: 0 !important;
}
 
.table-cart{
  vertical-align: middle;
} 
.table-cart img{
  height: 200px;
  display: block;
  margin: auto;
  width: auto;
  max-width: 100%;
  padding: 10px;
}
.btn-cart{
  background-color: var(--main);
  color: #fff !important;
  min-width: 140px;
  border-radius: 0px;
  padding: 15px  15px;
}
.btn-cart:hover{
  background-color: var(--main); 
}
.discount{ 
  position: absolute;
  left: 40px;
  top: 40px;
  background-color: var(--main);
  color: #fff !important; 
  border-radius: 0px;
  padding: 7px  10px;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 22;
}
.box-check-l{
  border-right: 1px solid #DEDEDE;
  height: 100%;
  justify-content: flex-end; 
  background-color: #fff;
}
.box-check-r{
  background-color: #F5F5F5;
}
.form-checkout .inner{ 
  padding: 30px;
}
.form-checkout .link1{
  text-decoration: underline !important;
  color: var(--main);
  transition: .33s all ease-out;  
}
.form-checkout .link1:hover{ 
  color: var(--color--link-underline); 
}
.form-checkout label{
  font-size: 20px;
  font-weight: 500; 
  color: var(--color--link-underline); 
  margin-bottom: 5px;
}
.form-checkout .form-control{ 
  height: 45px;
  color: var(--color--link-underline); 
  font-size: 14px;
  border-radius: 5px; 
  text-transform: capitalize;
  margin-bottom: 10px;
  border-color: #DEDEDE;
}
.form-checkout .form-control:focus{ 
  outline: 2px solid var(--main);
  box-shadow: 1px solid var(--main) !important;
  border: 1px solid var(--main); 
}
.form-checkout .form-control::placeholder{ 
  color: var(--color--body--light);
}
.form-checkout .form-check{
  margin-top: 10px;
  margin-bottom: 10px;
}
.form-checkout .form-check-label{
  font-size: 14px !important;
  color: var(--color--link-underline); 
}
.form-checkout .form-check-input:checked {
  background-color: var(--main);
  border-color: var(--main);
}
.form-checkout .check-rad{
  width: 20px;
  height: 20px;
}
.check-red{
  margin-left: 20px;
  display: flex; 
}
.check-red label{
  margin-top: 11px;
  margin-left: 10px;
  cursor: pointer;
  width: 100%;
}
.form-checkout .accordion-body{
  background-color: #F4F4F4;
  padding: 10px;
}
.form-checkout .accordion-item{
  margin-top: -10px;
}
.form-checkout .img-ex{
  width: 65px;
  height: 65px;
  object-fit: cover;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}
.form-checkout .inner h6{
  font-size: 16px;
  text-align: start;
}
.form-checkout .inner h5{
  font-size: 16px;
  text-align: end;
}
div.j{
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-items: center; 
  background-color: #515151;
  width: 24px;
  height: 24px;
  position: absolute;
  font-size: 13px;
  color: #fff;
  right: 0px;
  top: -7px;
}

/* 
transition: .33s all ease-out;  
######################################################################################################
###################################################################################################### 
*/ 

@media only screen and (max-width: 1024px) { /* MOBILE */
  .mb-x{
    display: none !important;
  } 
  .div-des h2 {
    margin-top: 30px;
  }
  .box2 { 
    padding: 20px;
  }
  .des h2 {
    margin-top: 30px;
  }
  .sec3 .des > div {
    padding-left: 10px; 
  }
  .sec3{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .sec4{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .sec5{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .sec6{
    padding-top: 20px;
    padding-bottom: 20px;
  }
 .sec8 .des > div {
  padding-left: 10px; 
  }
  .sec8{
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .blog-posts{
    margin-bottom: 30px;
  }
  footer{
    padding: 10px 20px 10px;
  }
  footer h4{ 
    font-size: 18px;
    margin-bottom: 10px;
  }
  footer h6{
    padding: 20px 20px 10px;
    font-size: 14px;
  }
  footer h3{
    margin-top: 20px;
  }
  footer h6{
    margin-top: 10px;
  }
  footer .logo{
    margin: auto;
  }
  header{
    padding: 10px;
  }
  .rightx  li:nth-child(1){
    display: none;
  }
  .rightx  li:nth-child(2){
    display: none;
  }
  .bars{
    padding: 0px;
  }
  .div-des{
    padding-bottom: 30px;
  }
  .logo-home{
    max-height: 100px;
    top: -16px;
  }
  header ul { 
    padding-left: 0;
  }
  .course-cart {
    padding: 10px;
    background-color: #fafafa;
  }
  .course-cart > div > div > div:nth-child(1){
    order: 2 !important;
  }
  .course-cart > div > div > div:nth-child(2){
    order: 1 !important;
  }
  .img-list{
    position: relative; 
    list-style: none;
    display: flex;
    justify-content: center;
    padding-left: 0px;
  }
  .img-cart{
    margin-left: 5px;
    margin-right: 5px;
  }
  .img-cart img{
    max-height: 60px !important;
    width: auto !important;
  }
  .carousel-item div{ 
    background-size: auto 100%  !important; 
  }
  .nav .nav-item button { 
    min-width: unset;
    font-size: 14px;
  }
  .review .p-5{
    padding: 0px !important;
  }
  .table-cart td.img{
    min-width: 100px;
    height: 50px !important;
    object-fit: cover;
  }
  .table-cart td img{ 
    height: auto !important;
    object-fit: cover;
    padding: 0px;
  }          
}
@media only screen and (min-width: 1025px) { /* PC */
  .pc-x{
    display: none !important;
  }     
}     