/* Webfont: DBHeaventRounded */
@font-face {
  font-family: "DB-HeaventRounded";
  src: url("../fonts/DB-HeaventRounded.woff2") format("woff2"),
    /* Modern Browsers */
    url("../fonts/DB-HeaventRounded.otf") format("opentype");
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

/* Webfont: DBHeaventRounded-Med */
@font-face {
  font-family: "DB-HeaventRounded-Med";
  src: url("../fonts/DB-HeaventRounded-Med.woff2") format("woff2"),
    /* Modern Browsers */ url("../fonts/DB-HeaventRounded-Med.otf")
      format("opentype"); /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

/* Webfont: DBHeaventRounded-Bold */
@font-face {
  font-family: "DB-HeaventRounded-Bold";
  src: url("../fonts/DB-HeaventRounded-Bold.woff2") format("woff2"),
    /* Modern Browsers */
    url("../fonts/DB-HeaventRounded-Bold.otf") format("opentype");
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

/* Webfont: DBHeavent-Black */
@font-face {
  font-family: "DB-Heavent-Black";
  src: url("../fonts/DB-Heavent-Black.woff2") format("woff2"),
    /* Modern Browsers */
    url("../fonts/DB-Heavent-Black.otf") format("opentype");
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: "DB-Heavent";
  src: url("../fonts/DB-Heavent.woff2") format("woff2"),
    /* Modern Browsers */
    url("../fonts/DB-Heavent.otf") format("opentype");
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: "DB-Heavent-Bd";
  src: url("../fonts/DB-Heavent-Bd.woff2") format("woff2"),
    /* Modern Browsers */
    url("../fonts/DB-Heavent-Bd.otf") format("opentype");
  /* Safari, Android, iOS */
  font-style: normal;
  font-weight: normal;
  text-rendering: optimizeLegibility;
}

.font-DB-default {
  font-family: "DB-HeaventRounded";
}

.font-DB-med {
  font-family: "DB-HeaventRounded-Med";
}
.font-DB-Heavent {
  font-family: "DB-Heavent";
}
.font-DB-Heavent-Bd {
  font-family: "DB-Heavent-Bd";
}
.font-DB-bold {
  font-family: "DB-HeaventRounded-Bold";
}

.font-DB-black {
  font-family: "DB-Heavent-Black";
}

.font-DB-HeaventRounded {
  font-family: "DB-HeaventRounded";
}
.font-DB-HeaventRounded-Bold {
  font-family: "DB-HeaventRounded-Bold";
}
.font-DB-Heavent-Black {
  font-family: "DB-Heavent-Black";
}

:root {
  --clr-primary: #ff1111;
  --clr-primary-hover: linear-gradient(90deg, #ff284f, transparent) #8f418e;
  /* linear-gradient(
    90deg,
    rgba(255, 40, 79, 1) 0%,
    rgba(143, 65, 142, 1) 100%
  ); */
  --clr-white: #ffffff;
  --clr-link: #318fe8;
  --clr-gray-1: #f1f4f8;
  --clr-gray-2: #eaedf0;
  --clr-gray-3: #dbdfec;
  --clr-gray-4: #c0c2c9;
  --clr-gray-5: #777777;
  --clr-black-1: #333333;
  --clr-black-2: #27231f;
  
  --Spacing-spacing-1: 4px; 
  --Spacing-spacing-2: 8px;
  --Spacing-spacing-3: 12px; 
  --Spacing-spacing-4: 16px;
  --Spacing-spacing-5: 20px;

  --Color-Border: #DBDFEC;
  --Color-Font-Black: #333;
  --Color-Font-Grey: #777;
  --Color-Old-CI-Red: #D40101;
  --Color-New-CI-Red: #FF1111;

  --box-shadow-1: 0 4px 6px rgba(154, 170, 207, 20%);
  --box-shadow-2: 0 4px 8px rgba(154, 170, 207, 20%);
  --box-shadow-1-hover: 0 4px 6px rgba(154, 170, 207, 40%);
  --box-shadow-2-hover: 0 4px 12px rgba(154, 170, 207, 50%);

  --font-medium: clamp(2.2rem, 2.5vw, 2.4rem);
  --font-default: clamp(2rem, 2.5vw, 2.2rem);
  --font-detail: clamp(1.8rem, 2.5vw, 2rem);
  --font-small: clamp(1.6rem, 2.5vw, 1.8rem);
  
  --fontDisplay: clamp(3.8rem, 2.5vw, 5.4rem);
  --fontSuperHead: clamp(3.4rem, 2.5vw, 4rem);
  --fontHead: clamp(3rem, 2.5vw, 3.4rem);
  --fontSubHead: clamp(1.6rem, 2.5vw, 2.4rem);
  --fontText: clamp(2rem, 2.5vw, 2.2rem);
  --fontSubText: clamp(1.8rem, 2.5vw, 2rem);
  --fontMark: clamp(1.4rem, 2.5vw, 1.6rem);
  --font48: clamp(5rem, 2.5vw, 5.4rem);
  --font36: clamp(4rem, 2.5vw, 4.4rem); 
  --font32: clamp(3.4rem, 2.5vw, 4rem); 
  --font30: clamp(3.2rem, 2.5vw, 3.4rem);
	--font28: clamp(3rem, 2.5vw, 3.2rem);
	--font24: clamp(2.6rem, 2.5vw, 3rem); 
	--font22: clamp(2.5rem, 2.5vw, 2.8rem); 
	--font20: clamp(2.4rem, 2.5vw, 2.6rem); 
	--font18: clamp(2.2rem, 2.5vw, 2.4rem); 
	--font16: clamp(2rem, 2.5vw, 2.2rem); 
	--font14: clamp(1.8rem, 2.5vw, 2rem);
	--font12: clamp(1.4rem, 2.5vw, 1.6rem);

  --bg-white: #fff; 
	--bg-red: #d40101;
	--bg-dark-red: #b90303;
	--bg-gray-young: #ebebeb; 
	--bg-gray: #bfbfbf;
	--bg-black-gray: #333;
}
.font-medium {
  font-size: clamp(2.2rem, 2.5vw, 2.4rem);
}

.font-default {
  font-size: clamp(2rem, 2.5vw, 2.2rem);
}

.font-detail {
  font-size: clamp(1.8rem, 2.5vw, 2rem);
}

.font-small {
  font-size: clamp(1.6rem, 2.5vw, 1.8rem);
}

/* font text class */
.font-text-48 {
  font-size: clamp(5rem, 2.5vw, 5.4rem);
}
.font-text-40 {
  font-size: clamp(4.4rem, 2.5vw, 4.8rem);
}
.font-text-36 {
  font-size: clamp(4rem, 2.5vw, 4.4rem);
}
.font-text-32 {
  font-size: clamp(3.4rem, 2.5vw, 4rem);
}
.font-text-28 {
  font-size: clamp(3rem, 2.5vw, 3.4rem);
}
.font-text-24 {
  font-size: clamp(2.6rem, 2.5vw, 3rem);
}
.font-text-22 {
  font-size: clamp(2.5rem, 2.5vw, 2.8rem);
}
.font-text-20 {
  font-size: clamp(2.4rem, 2.5vw, 2.6rem);
}
.font-text-18 {
  font-size: clamp(2.2rem, 2.5vw, 2.4rem);
}
.font-text-16 {
  font-size: clamp(2rem, 2.5vw, 2.2rem);
}
.font-text-14 {
  font-size: clamp(1.8rem, 2.5vw, 2rem);
}
.font-text-12 {
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-block: 0;
  word-break: break-word;
}

body *:is(h1, h2, h3, h4, h5, h6) {
  font-family: "DB-Heavent-Black";
}

html {
  font-size: 62.5%;
}

body {
  font-family: "DB-HeaventRounded";
  font-size: var(--font-default) !important;
  font-weight: normal;
  font-style: normal;
  transition: 0.3s ease-in-out;
  overflow-x: hidden;
  color: var(--clr-black-1);
  line-height: 1.1;
}

figure {
  margin: 0;
}

img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

i {
  font-size: clamp(1.4rem, 2.5vw, 1.6rem);
}

.calc {
  margin: 0 calc(-50vw + 50%);
  max-width: 100vw;
  width: 100vw;
}

a {
  display: block;
  outline: 0;
  height: auto;
  text-decoration: none !important;
}

a,
button {
  transition: 0.3s ease-in-out;
  cursor: pointer;
}

a:focus,
button:focus,
button {
  outline: none;
  border: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

label {
  cursor: pointer;
  display: block;
  margin-bottom: 0;
}

/* Box Shadow */
.box-shadow-1 {
  box-shadow: 0 4px 6px rgba(154, 170, 207, 20%);
}

.box-shadow-2 {
  box-shadow: 0 4px 8px rgba(154, 170, 207, 20%);
}

.box-shadow-1-hover {
  box-shadow: 0 4px 6px rgba(154, 170, 207, 40%);
}

.box-shadow-2-hover {
  box-shadow: 0 4px 12px rgba(154, 170, 207, 50%);
}

/* End Box Shadow */

/* Button */
.button-small {
  min-height: 3rem;
}

a.button-medium,
button.button-medium {
  background: var(--clr-primary);
  border-radius: 0.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-white);
  text-align: center;
  font-size: var(--font-detail);
  padding-inline: 1.6rem;
}

a.button-medium:hover,
button.button-medium:hover {
  background: var(--clr-primary-hover);
}

a.button-large,
button.a.button-large {
  background: var(--clr-primary);
  border-radius: 0.8rem;
  font-size: var(--font-medium);
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--clr-white);
  transition: background 1s;
  padding-inline: 3.2rem;
}

a.button-large:hover,
button.a.button-large :hover {
  background: var(--clr-primary-hover);
}
a.button-medium.more-all,
button.button-medium.more-all {
  
  font-family: "DB-HeaventRounded-Bold";
  text-decoration: none;
  border-radius: 0.8rem;
  position: relative;
  background-color: #fff;
  background-image: linear-gradient(to right, #FAFBFD, #FAFBFD);/**/
  -webkit-backface-visibility: hidden;
  z-index: 1;
 min-height: 4rem;
}
a.button-medium.more-all:after,button.button-medium.more-all:after {
  position: absolute;
 content: '';
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*background-color: #ff1111;*/
  background-image: linear-gradient(to right, #ff1111, #ff1111);
  transition: opacity 0.5s ease-out;
  z-index: 2;
  opacity: 0;/**/
  border-radius: 0.8rem;
  box-shadow: 2px 4px 6px rgba(154, 170, 207, 40%);
}
a.button-medium.more-all:hover:after,button.button-medium.more-all:hover:after {
  opacity: 1;
}
a.button-medium.more-all:hover span,button.button-medium.more-all:hover span {
  color: #fff;
  transition: all 0.5s ease-out;
}
a.button-medium.more-all span,button.button-medium.more-all span {
  position: relative;
  z-index: 3;
  color: #ff1111;
}
@media (max-width: 576px) {

  a.button-medium,
  button.button-medium {
    min-height: 3.5rem;
    padding-inline: 1.2rem;
  }

  a.button-large,
  button.a.button-large {
    min-height: 5rem;
  }
}

/* End Button */

.container {
  max-width: 128rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.container-fluid {
  padding-left: 3rem;
  padding-right: 3rem;
}

/* Banner Carousel */
.carousel-indicators {
  align-items: center;
  bottom: 0.8rem;
}

.carousel-indicators li {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 0.1rem solid var(--clr-gray-3);
}

.carousel-indicators .active {
  background: var(--clr-primary);
  border: 0.1rem solid var(--clr-gray-3);
  border-radius: 1rem;
  width: 3rem;
}

.carousel-indicators.banner li {
  opacity: 0.4;
}
.carousel-indicators.banner .active {
  opacity: 0.4;
}
/* End Banner Carousel */

/*backTOtop*/
.cd-top {
  display: inline-block;
  height: 40px;
  width: 40px;
  position: fixed;
  bottom: 40px;
  right: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  background: rgba(232, 98, 86, 0.8) url(../images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0.3s;
  transition: opacity 0.3s 0s, visibility 0s 0.3s;
  z-index: 99999;
}

.cd-top.cd-is-visible,
.cd-top.cd-fade-out,
.no-touch .cd-top:hover {
  -webkit-transition: opacity 0.3s 0s, visibility 0s 0s;
  -moz-transition: opacity 0.3s 0s, visibility 0s 0s;
  transition: opacity 0.3s 0s, visibility 0s 0s;
}

.cd-top.cd-is-visible {
  /* the button becomes visible */
  visibility: visible;
  opacity: 1;
}

.cd-top.cd-fade-out {
  /* if the user keeps scrolling down, the button is out of focus and becomes less visible */
  opacity: 1;
}

.no-touch .cd-top:hover {
  background-color: #e86256;
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .cd-top {
    right: 20px;
    bottom: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .cd-top {
    height: 60px;
    width: 60px;
    right: 30px;
    bottom: 80px;
  }
}

.img-logo {
  width: 100% !important;
  max-width: 250px !important;
}

.checkbox-in-dd input[type="checkbox"]:disabled {
  cursor: default;
  border-color: rgba(118, 118, 118, 0.3);
}
#footer .row{margin-left: 0; margin-right: 0;}
#footer .container{padding-left:0;  padding-right: 0;}
#footer .col-sm-4{padding-left:0;  padding-right: 0;}
#footer .footcol-4{width: 33%;}
.social {
  flex-wrap: wrap;
}
.social li{  width: 30px;height: 30px;}
.social a {
  display: inline-block;
  width: 29px;
  height: 29px;
}
.social a.fb {
  background: url(../images/facebook.svg) top center no-repeat;
  background-size: cover;
}
.social a.tw {
  background: url(../images/x.svg) top center no-repeat;
  background-size: cover;
}
.social a.yt {
  background: url(../images/youtube.svg) top center no-repeat;
  background-size: cover;
}
.social a.ig {
  background: url(../images/instragram.svg) top center no-repeat;
  background-size: cover;
}
.social a.ln {
  background: url(../images/linkin.svg) top center no-repeat;
  background-size: cover;
}
.social a.line {
  background: url(../images/line.svg) top center no-repeat;
  background-size: cover;
}
.social a.tiktok {
  background: url(../images/tiktok.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.fb {
  background: url(../images/facebook-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.tw {
  background: url(../images/x-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.yt {
  background: url(../images/youtube-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.ig {
  background: url(../images/instragram-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.ln {
  background: url(../images/linkin-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.line {
  background: url(../images/line-o.svg) top center no-repeat;
  background-size: cover;
}
.social a:hover.tiktok {
  background: url(../images/tiktok-o.svg) top center no-repeat;
  background-size: cover;
}
/* Pagination*/
.flexPagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}
.flexPagination a {
  color: var(--clr-black-1);
}
.flexPagination a:hover,
.flexPagination a.active {
  background: var(--clr-primary);
  color: var(--clr-white);
}
.page-link {
  padding: 0.2rem 1rem;
  border: 1px solid var(--clr-gray-3);
}
.page-item:first-child .page-link {
  margin-left: 0;
  border-top-left-radius: .5rem;
  border-bottom-left-radius: .5rem;
}
.page-item:last-child .page-link {
  border-top-right-radius: .5rem;
  border-bottom-right-radius: .5rem;
}
@media (min-width: 1280px) {
  #footer .col-12{padding-left:0;  padding-right: 0;}
}
@media (max-width: 576px) {
  #footer .footcol-4{width: 100%;}
  #footer .footcol-4 ul.store {width: 303px; margin-inline: auto;}
}


.pagination {
  font-size: var(--fontText);
  margin-top: 0;
}
.pagination > .active > a,
.pagination > .active > a:focus,
.pagination > .active > a:hover,
.pagination > .active > span,
.pagination > .active > span:focus,
.pagination > .active > span:hover {
  background: #d40101;
  color: #fff;
  border: 1px solid #d40101;
}
.pagination > li > a,
.pagination > li > span {
  color: #555;
}
.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover {
  background: #d40101;
  color: #fff;
}


  /* เพิ่มเติม */

.modal-content {
  border: 0;
  border: 0 rgba(0, 0, 0, 0);
}

.modal-body-pop {
  padding-top: 15px;
  padding-bottom: 15px;
  padding-right: 30px;
  padding-left: 30px;
}
.modal-content {
  border-radius: 7px;
  margin-top: 0px;
}
.login-header {
  border-radius: 6px 6px 0 0;
  background: #d40101;
}
.close-login {
  font-size: var(--font30);
  color: #ffffff;
  opacity: 0.5;
}
.text-login {
  color: #ffffff;
  text-align: center;
}
.enter-name {
  font-size: var(--font14);
  text-align: center;
}
/*.fade.in{ z-index: 9999;}
  .modal-open .modal{ z-index: 10001;} */

ul.checkbox-forget {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
  text-align: center;
}
ul.checkbox-forget li {
  padding: 15px;
  display: inline-block;
}

button.enter-register {
  border-radius: 10px;
  padding: 10px;
  background: #d40101;
  border: 1px solid #d40101;
  color: #ffffff;
  text-decoration: none;
  display: block;
  text-align: center;
  width: 100%;
  transition: all 0.3s ease-in;
  -webkit-transition: all 0.3s ease-in;
  -moz-transition: all 0.3s ease-in;
  -ms-transition: all 0.3s ease-in;
}
button.enter-register:hover {
  background: #eee;
  color: #d30102;
  border: 1px solid #eee;
}
.enter-register a {
  border-radius: 10px;
  background: #d40101;
  color: #ffffff;
  padding: 10px;
  text-decoration: none;
  display: block;
  text-align: center;
}
.enter-register a:hover {
  background: #eee;
  color: #d30102;
}

.register-member a {
  border-radius: 10px;
  padding: 10px;
  border: 1px solid #d40101;
  background: #ffffff;
  color: #d40101;
  text-decoration: none;
  display: block;
  text-align: center;
}
.register-member a:hover {
  background: #eee;
  color: #d40101;
  border: 1px solid #eee;
}

.jobbkk-line {
  border-right: 1px solid #ebebeb;
}
.social-enter a {
  display: block;
  text-decoration: none;
  color: #555;
  padding: 8px;
  border-radius: 10px;
  border: 1px solid #555;
  text-align: center;
  margin-bottom: 20px;
  background: #ffffff;
}


.social-enter a:hover i.color-fb,
.social-enter a:hover i.color-gplus,
.social-enter a:hover i.color-linkedin {
  color: #ffffff;
}
.social-enter a i.color-fb {
  color: #4267b2;
}
.social-enter a.fb:hover {
  background: #4267b2;
  color: #ffffff;
  border: 1px solid #4267b2;
}

.social-enter a i.color-gplus {
  color: #db4437;
}
.social-enter a.gplus:hover {
  background: #db4437;
  color: #ffffff;
  border: 1px solid #db4437;
}

.social-enter a i.color-linkedin {
  color: #287bbc;
}
.social-enter a.linkedin:hover {
  background: #287bbc;
  color: #ffffff;
  border: 1px solid #287bbc;
}

.jobbkk-border-regis {
  border-right: 1px solid #ebebeb;
}
.jobbkk-alert .alert-name {
  border-radius: 10px;
  border: 1px solid #d40101;
  color: #d40101;
  padding: 15px;
  text-align: center;
}
.alert-name h5 {
  color: #d40101;
}

@media (max-width: 767px) {
  .modal-content {
    margin-top: 0;
  }
}

@media (min-width: 767px) {
  .modal-dialog-pop {
    max-width: 750px;
    margin: 30px auto;
  }
  .modal-login-facebook {
    width: 690px;
  }
}
.margin-bottom-pop{
    margin-bottom: 20px;
}

.margin-top-pop{
    margin-top: 20px;
}
.margin-top-pop-2{
    margin-top: 40px;
}

.modal-header-pop{
    padding: 1rem 1rem;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.form-control-pop {
    display: block;
    font-size: var(--font16) !important;
    padding-left: 30px; 
    border-radius: 10px;
    height: 34px;
    border: 1px solid #ccc;
    width: 100%;

}

.form-control-feedback {
    position: absolute;
    left: 25px;
    top: 9px;
    color: #d40101;
    z-index: 0;
    font-size: 14px;

}
.eye-password-pop {
    position: absolute;
    right: 1.5rem; 
    top: 1%;
    transform: translateY(-50%);
    cursor: pointer;
}

.overflow-hidden {
    overflow: hidden;
}

.login-header {
    border-radius: 6px 6px 0 0;
    background: #d40101;
}

.modal-title, .subHead {
    font-size: var(--font18);
}

.enter-name, .validate-user {
    font-size: var(--font16);
}

.validate-error, .urgent-note {
    font-size: var(--font14);
}

@media (max-width:768px){
	.jobbkk-register-social{ text-align: center; margin-bottom: 0;}
	.jobbkk-register{text-align: center;}
	.jobbkk-share-social ul{ text-align: center;}
}

.large-swal-popup, .large-alert {
    width: 480px !important; 
    padding: 20px !important;
    height: 300px !important;
}

.large-swal-popup, .large-alert-noti {
  width: auto !important; 
  padding: 20px !important;
  height: auto !important;
}

.large-swal-title, .large-title {
    font-size: 34px !important; 
    font-weight: bold;
}

.large-swal-icon, .large-icon {
    font-size: 20px !important; 
    color: #007bff;             
}

.large-text {
  font-size: 24px !important; 
}

@media (min-width: 992px) { 
    .btn.slide-menu-control {
        display: none;
    }
}

.btn.slide-menu-control {
  padding: 12px 16px;
}

.no-custom-font {
  font-family: "DB-HeaventRounded";
}

.text-login {
  color: #ffffff;
  text-align: center;
}

/* สิ้นสุดเพิ่มเติม */

a.button-medium.more-all span {
  display: inline-flex; 
  align-items: center; 
  gap: 0.5rem;
  white-space: nowrap; 
}