/* home */
html {
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'Prompt';
  font-weight: 600;
  src: url('/assets/font/Prompt-Regular.ttf') format('truetype');
  unicode-range: U+0E01-0E5B, U+200C-200D, U+25CC;
}

/* @font-face {
  font-family: "Kanit";
  src: url('/assets/font/Kanit-Bold.ttf') format('truetype');
  font-style: bold;
  font-weight: 500;
}

@font-face {
  font-family: "Kanit";
  src: url('/assets/font/Kanit-Bold.ttf') format('truetype');
  font-style: bold;
  font-weight: 600;
}

@font-face {
  font-family: "Kanit";
  font-weight: bold;
  src: url('/assets/font/Kanit-BoldItalic.ttf') format('truetype');
  font-style: italic;
}
@font-face {
  font-family: "Kanit";
  src: url('/assets/font/Kanit-Italic.ttf') format('truetype');
  font-style: italic;
} */

body {
  font-family: 'Prompt', sans-serif;
  font-weight: 600;
  background-color: #F8FAFA;
}

a {
  color: inherit;
}

a:hover, a:visited {
  color: inherit;
  text-decoration: none;
}

button:hover {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  transform: scale(1.06);
}
.btn:hover {
  color: inherit;
}

.btn-menu-blue {
  background-color: #004c85 !important;
  color: #ffffff !important;
}

.btn-menu {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
  color: #004c85;
  border-radius: 100px;
}
.btn-menu-about-us {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
  color: #004c85;
  border-radius: 100px;
  position: absolute;
  left: 45%;
  bottom: -20px;
}

@media screen and (max-width: 768px) {
  .btn-menu-about-us {
    left: 41%;
  }
}
@media screen and (max-width: 492px) {
  .btn-menu-about-us {
    left: 35%;
  }
}

[aria-expanded="true"] .fa-angle-double-down,
[aria-expanded="false"] .fa-angle-double-up {
    display:none;
}

.section-grey {
  padding-bottom: 30px;
  background-color: #F8FAFA;
}
.section-sky {
  background-color: #e2eef4;
}
.section-white {
  background-color: #ffffff;
}
.section-padding {
  margin-top: -100px;
  padding-top: 200px;
  padding-bottom: 200px;
}
.carousel-indicators li {
  border-radius: 100%;
  width: 10px;
  height: 10px;
}
.text-blue {
  color: #004c85;
}
.text-black {
  color: #000000;
}
.text-grey {
  color: #8d8d8d;
}
.text-light-grey {
  color: #b7b7b7;
}
.navbar-bam {
  height: 80px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #004c85;
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}
.custom-toggler.navbar-toggler {
  border: none !important;
}
.navbar-toggler:focus,
.navbar-toggler:active,
.navbar-toggler-icon:focus {
    outline: none;
    box-shadow: none;
}

.img-logo-bam {
  width: 48px;
}
.nav-link {
  font-size: 16px !important;
  color: #ffffff !important;
}

.btn-navbar {
  border-radius: 100px;
  background-color: #ffffff;
  padding: 6px 25px;
  font-size: 16px;
  color: #004c85;
}
.btn:focus {
  outline: none;
  box-shadow: none;
}
.btn-arrow {
  width: 64px;
  height: 40px;
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
}
.btn-left-arrow {
  position: absolute;
  bottom: 20px;
  right: 110px;
}
.btn-right-arrow {
  position: absolute;
  bottom: 20px;
  right: 30px;
}
.btn-arrow:hover {
  color: #004c85 !important;
}
.btn-bam {
  padding: 10px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #004c85;
  color: #ffffff !important;
  margin-left: 5px;
  margin-right: 5px;
}

.btn-bam-new {
  padding: 10px 22px;
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #004c85;

  font-size: 16px;
  color: #ffffff;

  margin-left: 5px;
  margin-right: 5px;
}

.btn-bam-new::after {
  content: 'NEW';
  margin-left: 5px;
  padding: 0px 5px;
  background-color: #fc1515;
  border-radius: 4px;
}

.img-banner {
  height: 380px;
  width: 100%;
  border-radius: 4px;
  background-size: cover;
  background-image: url('../images/image-carousel.png');
}

.tab-menu {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  padding: 15px;
  /* margin-top: 20px; */
}

.tab-menu-sticky {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  padding: 15px 15px 0px 15px;
  /* margin-top: 20px; */
}

.tab-menu-sticky-about-us {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  width: 100%;
  text-align: center;
  padding: 15px;
  /* margin-top: 20px; */
}

@media screen and (min-width: 1000px) {
  .h-80 {
    height:80px;
  }
  .m-off-top-15 {
    margin-top: -15px;
  }
}

@media only screen
  and (min-device-width: 1024px)
  and (max-device-width: 1366px)
  and (-webkit-min-device-pixel-ratio: 2)
  and (orientation: portrait) {

    .h-80 {
      height:140px;
    }

}

@media screen and (max-width: 768px) {
  .m-off-top-15 {
    margin-top: 35px;
  }
}
.box-nav-item {
  height: 60px;
  cursor: pointer;
  padding: 15px 10px;
  color: #004c85;
}
.box-nav-item2 {
  height: 60px;
  cursor: pointer;
  padding: 15px 0px;
  color: #004c85;
}

.active-nav-item, .active-nav-item2 {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  color: #ffffff;
}

.box-bam {
  width: 100%;
  height: 320px;
  padding: 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  position: relative;
}
.position-btn-bam {
  position: absolute;
  bottom: 30px;
  left: 27%;
}
.image-cover {
  object-fit: cover;
}
.image-cover-menu {
  border-radius: 6px;
  width: 317px;
  height: 120px;
}

.img-icon-graphic {
  width: 60px;
  height: 60px;
  padding: 15px;
  background-color: #ffffff;
  border-radius: 6px;
}
.box-stat {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  width: 100%;
  padding: 25px 30px;
}

.img-news {
  width: 100%;
  /* height: 500px; */
  background-image:linear-gradient(0deg, rgba(0, 76, 133, 0.8), rgba(0, 76, 133, 0.8)), url("../images/image-section-news.png");
  border-radius: 6px;
  position: relative;
  top: -100px;
  padding: 50px 90px;
  background-size: cover;
}
.box-news {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 15px 30px;
  margin-bottom: 20px;
}
.header-news {
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  padding: 5px 10px;
  color: #ffffff;
  font-size: 14px;
  width: fit-content;
}
.date-news {
  font-size: 14px;
  color: #8d8d8d;
  float: right;
}

.box-card {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 20px;
  height: 167px;
}
.img-mobile {
  width: 100%;
  height: 185px;
  position: absolute;
  top: -70px;
  left: 0;
}
.img-app {
  height: 30px;
}

.main-footer {
  background-color: #ffffff;
  padding: 30px 0px;
}
.sub-footer {
  height: 150px;
  background-color: #004c85;
}

.position-text-footer {
  padding: 28px 0px;
}

.back-to-top {
  position: absolute;
  background-color: #004c85;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  width: 100px;
  border-radius: 6px;
  right: 0;
  top: -355px;
  padding: 10px;
}

@media only screen and (max-width: 1200px) {
  .image-cover-menu {
    border-radius: 6px;
    width: 250px;
    height: 120px;
  }
  .box-application {
    padding: 15px !important;
  }
  h5 {
    font-size: 16px;
  }
  .img-news {
    height: 600px;
  }
}

@media screen and (max-width: 1024px) {
  .img-news {
    height: auto;
  }
}

@media only screen and (max-width: 1024px) {
  .warper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height: 45px;
  }
}
@media screen and (max-width: 1024px) {
  .navbar-collapse {
    background-color: #004c85;
    z-index: 100;
    width: 100%;
    padding: 20px;
    left: 0;
    top: 80px;
    position: absolute;
    z-index: 2000;
  }
}

@media only screen and (max-width: 768px) {
  .box-contact {
    height: 210px !important;
  }
  .image-cover-menu {
    border-radius: 6px;
    width: 180px;
    height: 100px;
  }
  .navbar-collapse {
    background-color: #004c85;
    z-index: 100;
    width: 100%;
    padding: 20px;
    left: 0;
    top: 80px;
    position: absolute;
    z-index: 2000;
  }
  .warper {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height: 45px;
  }

  .box-nav, .box-nav-item {
    height: 55px;
  }
  .box-nav-careers {
    height: auto;
  }
  .box-bam {
    height: 295px;
    padding: 10px;
  }
  .position-btn-bam {
    left: 13%;
  }
  .img-news {
    height: auto;
    padding: 25px 20px;
  }
  .box-condo-center {
    height: auto !important;
  }
  .box-application {
    padding: 15px !important;
  }
  .box-app-download {
    padding-top: 15px !important;
  }
  .position-text-footer {
    padding: 15px 0px;
  }
  .section-grey {
    padding-bottom: 0px;
  }
}

@media only screen and (max-width: 492px) {
  .box-nav-item2 {
    padding: 15px;
  }
  .h-warper {
    height: 90px !important;
  }
  .img-banner {
    border-radius: 0px;
    background-size: contain;
    background-repeat: no-repeat;
    height: 200px;
    background-position: center;
  }
  .position-btn-bam {
    left: 26%;
  }
  .box-stat {
    padding: 20px;
  }
  .img-news {
    padding: 25px 10px;
  }
  .box-news {
    padding: 15px;
  }
  .margin-mobile {
    margin-top: 170px !important;
  }
  .box-card {
    height: auto;
    padding: 15px;
  }
  .sub-footer {
    height: auto;
  }
  .img-mobile {
    height: 220px;
  }
  .box-app-download {
    padding: 15px !important;
  }
  .image-cover-menu {
    width: 100%;
    height: 120px;
  }
  .back-to-top {
    position: relative;
    right: 0;
    top: 0;
    display: block;
    margin: 10px auto 20px;
  }
}
.bg-white {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
}

.footer-banner {
  width: 100%;
  border-radius: 6px;
}

.box-application {
  display: flex;
  padding: 30px;
}

.box-app-download {
  padding-top: 30px;
}

.box-condo-center {
  padding: 20px;
  height: 132px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
}



/* about us */

.box-logo-bam {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 300px;
}

.box-logo-badge {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
  padding: 30px 15px;
  margin: 15px;
}

.section-logo-badge {
  margin-top: -100px;
}

.img-icon {
  width: 90px;
  height: 90px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 100%;
  padding: 15px;
}
.section-bg-about-us {
  background-image: url('../images/bg/bg-about-us.png');
  width: 100%;
  height: 550px;
  padding: 100px 0px;
}

.icon-quote {
  width: 40px;
}
.position-right-quote {
  position: relative;
  top: -30px;
}
.box-address {
  width: 100%;
  /* height: 268px; */
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
}
.box-header {
  height: 64px;
  width: 100%;
  border-radius: 6px 6px 0px 0px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  padding: 15px 10px;
}
.box-detail {
  padding: 10px 30px 10px 50px;
  border-bottom: 1px solid #f2f2f2;
  position: relative;
}
.box-detail:last-child {
  border-bottom: none;
}
.text-address::before {
  content: '\f3c5';
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 25px;
  color: #004c85;
}
.text-tel::before {
  content: '\f2a0';
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 25px;
  color: #004c85;
}
.text-fax::before {
  content: '\f1ac';
  font-family: "Font Awesome 5 Free";
  position: absolute;
  left: 25px;
  color: #004c85;
}

.box-badge {
  font-size: 24px;
  background-color: #004c85;
  color: #ffffff;
  display: initial;
  padding: 5px 15px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  cursor: pointer;
}
.box-mission {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 20px;
  width: 100%;
}
.img-mission {
  width: 100%;
  height: 80px;
  border-radius: 6px;
  object-fit: cover;
}
.box-date-white {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px 40px;
  margin-bottom: 15px;
}
.box-date-sky {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #e2eef4;
  padding: 30px 40px;
  margin-bottom: 15px;
}
.box-number {
  width: 100%;
  height: 50px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  font-size: 24px;
  text-align: center;
  color: #ffffff;
  padding: 6px;
}
.padding-bottom-date {
  padding-bottom: 120px !important;
}

.margin-bottom-structrue {
  margin-bottom: -60px !important;
}
.img-structure {
  width: 100%;
  position: relative;
  top: -120px;
}

.box-bam-structure-first {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 20px 30px 20px 70px;
  position: relative;
}
.box-bam-structure {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 32px 30px 32px 70px;
  position: relative;
}
.position-number-structure {
  position: absolute;
  left: 30px;
  top: 33%;
}
.bam-structure-top-40 {
  margin-top: 40px;
}
.box-docs {
  position: relative;
}
.img-docs {
  width: 90%;
}
.text-docs {
  width: 90%;
  position: absolute;
  bottom: 0;
}
.btn-white {
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  font-size: 16px;
  color: #004c85;
  display: block;
  padding: 10px 22px;
}
.btn-white:hover {
  color: #004c85 !important;
}
.border-bam {
  border: 1px solid #004c85;
}
.warper-docs {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  height: 100%;
}

ul {
  text-align: center;
  list-style-position: inside;
  padding: 0px;
}

.director-heading {
  margin-bottom: 120px;
  text-align: center;
}

.box-director {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  border-radius: 6px;
  padding: 30px;
  margin-bottom: 120px;
  height: 420px;
}

.box-director-title {
  margin-top: 15px;
  height: 100px;
}

.img-director {
  margin-top: -100px;
  background-color: white;
  border-radius: 100px;
}

.box-btn-logo-badge {
  width: 100%;
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;

}

.bg-blue {
  background:linear-gradient(0deg, rgba(0,76,133,0.9), rgba(0,76,133,0.8)), url('../images/bg/bg-strategy.png');
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  border-radius: 6px;
  padding: 60px 90px;
}

.box-right {
  padding: 50px;
}

.box-left {
  padding: 50px;
  margin-top: -100px;
}

@media only screen and (max-width: 1200px) {
  .bg-blue {
    padding: 40px 40px;
  }
}

@media only screen and (max-width: 768px) {
  .box-left, .box-right {
    padding: 25px;
  }
  .bg-blue {
    padding: 25px;
  }
  .box-docs {
    margin-right: 30px;
  }
  .img-docs {
    width: 260px;
    height: 350px;
  }
  .text-docs {
    width: 100%;
  }
}
@media only screen and (max-width: 492px) {
  .box-left {
    margin-top: 15px;
  }
  .bg-blue {
    margin: 5px 0px;
    padding: 15px;
  }
  .box-logo-badge {
    text-align: center;
  }
  .section-bg-about-us {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 100%;
  }
  .position-left-quote {
    position: absolute;
    left: 15px;
    top: -30px;
  }
  .position-right-quote {
    top: 0px;
  }
  .box-badge {
    display: block;
  }
  .bam-structure-top-40 {
    margin-bottom: 40px;
  }
}

/* term */
.box-text {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px 100px 50px 100px;
}
@media only screen and (max-width: 492px) {
  .box-text {
    padding: 30px 15px 50px 15px;
  }
}


/* blog */
.nav-sub {
  position: relative;
  z-index: 1;
  height: 60px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.item-nav-blog {
  width: auto;
  height: 60px;
  padding: 15px 0px;
  cursor: pointer;
  margin-right: auto;
}
.item-nav-blog:nth-child(5)::after,
.item-nav-blog:nth-child(6)::after {
  content: 'NEW';
  font-size: 14px;
  color: #ffffff;
  border-radius: 4px;
  background-color: #fc1515;
  padding: 0px 3px;
  margin-left: 4px;
}
.cover-blog {
  width: 100%;
  height: 300px;
  object-fit: cover;
}
.nav-category {
  position: relative;
  z-index: 1;
  height: 50px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.item-category {
  display: inline-block;
  margin-right: 20px;
  padding: 13px 0px;
  cursor: pointer;
}
.active-item-category {
  border-bottom: 2px solid #004c85;
  padding-bottom: 11px;
  color: #004c85;
}
.card-blog {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.tag-blog {
  position: absolute;
  z-index: 10;
  font-size: 14px;
  color: #004c85;
  padding: 5px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  top: 10px;
  right: 30px;
}
.img-blog {
  width: 100%;
  border-radius: 6px 0px 0px 6px;
  object-fit: cover;
  height: 300px;
  position: relative;
}
.text-blog {
  padding: 30px;
}
.h-img-blog {
  height: 200px;
}
.p-text-blog {
  padding: 0 !important;
}
.img-blog-2 {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 200px;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .img-blog {
    height: 140px;
  }
  .warper-nav-sub {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
    height: 50px;
  }
  .item-nav-blog {
    margin-right: 15px;
  }
  .warper-category {
    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .img-blog {
    height: 180px;
    border-radius: 6px 6px 0px 0px;
  }
  .text-mobile {
    font-size: 16px;
  }
  .sub-blog {
    background-color: #ffffff00 !important;
    box-shadow: none;
  }
  .img-sub-blog {
    border-radius: 6px;
  }
}
@media only screen and (max-width: 492px){
  .h-img-blog {
    height: 125px;
  }
}

/* category */
.img-cover-cat {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 200px;
  position: relative;
}
select {
  appearance: none;
  -webkit-appearance:none;
}
.custom-selector {
  font-size: 16px;
  /* color: #004c85; */
  color: #000000;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  border: 1px solid #ffffff;
  text-align-last: center;
}
.form-select::after {
  content: "\f078";
  font-family: 'Font Awesome\ 5 Free';
  position: absolute;
  right: 28px;
  top: 8px;
  color: #004c85;
}

.arrowdown::after {
  content: "\f078";
  font-family: 'Font Awesome\ 5 Free';
  margin-left: -30px;
  color: #004c85;
  margin-top:10px;
}

/* complain */

.bg-complain {
  background:linear-gradient(0deg, rgba(155,35,1,0.9), rgba(155,35,1,0.8)), url('../images/bg/bg-branch.png');
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}

/* branch */

.bg-branch {
  background:linear-gradient(0deg, rgba(0,76,133,0.9), rgba(0,76,133,0.8)), url('../images/bg/bg-branch.png');
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}

.branch-left-box {
  height: 1250px;
  border-radius: 6px 0px 0px 6px;
  padding: 45px;
}

.branch-right-box {
  height: 1250px;
  border-radius: 0px 6px 6px 0px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: white;
  padding: 45px;
}

.complain-left-box {
  height: 645;
  border-radius: 6px 0px 0px 6px;
  padding: 45px;
}

.complain-right-box {
  height: 645;
  border-radius: 0px 6px 6px 0px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: white;
  padding: 45px;
}

.input-field {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: solid 1px #d2e0e3;
  background-color: #ffffff;
  padding-left: 15px;
}

input:hover {
  border-radius: 4px;
  border: solid 1px #004c85;
  background-color: #ffffff;
}

input:focus {
  border-radius: 4px;
  border: solid 1px #004c85;
  background-color: #ffffff;
}

input:active {
  border-radius: 4px;
  border: solid 1px #004c85;
  background-color: #ffffff;
}

::-webkit-input-placeholder { /* Edge */
  color: #b7b7b7;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #b7b7b7;
}

::placeholder {
  color: #b7b7b7;
}

.text-area {
  border-radius: 4px;
  border: solid 1px #d2e0e3;
  background-color: #ffffff;
  padding-left: 15px;
  padding-top: 15px;
}

textarea {
  width: 100%;
  height: 120px;
}

.branch-dropdown {
  width: 256px;
  height: 40px;
  border-radius: 4px;
  border: solid 1px #d2e0e3;
  background-color: #ffffff;
  padding-left: 15px;
}

select {
  padding-right: 15px;
}

input[type=checkbox], input[type=radio] {
  height: 20px;
  width: 20px;
}

.required {
  color: red;
}

@media only screen and (max-width: 768px) {
  .branch-right-box {
    height: auto;
    padding: 15px;
    border-radius: 0px 0px 6px 6px;
  }
  .branch-left-box {
    padding: 30px;
    border-radius: 6px 6px 0px 0px;
  }
}

@media only screen and (max-width: 492px) {
  .branch-right-box {
    padding: 15px;
    border-radius: 0px 0px 6px 6px;
  }
  .branch-left-box {
    padding: 30px;
    border-radius: 6px 6px 0px 0px;
  }
}
/* branch */

/* sitemap */

.box-sitemap {
  background-color: white;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  border-radius: 6px;
  padding: 60px;
}

@media only screen and (max-width: 492px) {
  .box-sitemap {
    background-color: white;
    box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
    border-radius: 6px;
    padding: 30px;
  }
}

/* sitemap */


/* faq */
.bg-white-faq {
  background-color: #ffffff;
  border-radius: 0px 6px 6px 0px;
}
.form-group#search::before {
  content: 'ค้นหา';
  color: #000000;
  font-size: 16px;
  position: relative;
  top: 30px;
  left: -50px;
}
.box-shadow {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}
.border-rounded {
  border-radius: 6px;
}
.tab-menu-faq {
  background:linear-gradient(0deg, rgba(0,76,133,0.9), rgba(0,76,133,0.8)), url('../images/bg/bg-faq.png');
  border-radius: 6px 0px 0px 6px;
  background-position: 52% 0%;
  width: auto;
  min-height: 700px;
  height: 100%;
  padding: 30px;
}
.tab-menu-item {
  font-size: 20px;
  color: #ffffff;
  text-align: center;
  margin-bottom: 30px;
  width: 230px;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  padding: 8px;
}
.detail-faq {
  border-radius: 0px 6px 6px 0px;
  padding: 50px;
}
.active-tab-item {
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  position: relative;
  z-index: 1;
  color: #004c85;
  padding: 8px;
  cursor: pointer;
}
.card {
  border: none;
}
.card-header {
  background-color: #ffffff;
  padding-left: 0px;
  padding-right: 0px;
}
.accordion-menu > a {
  display: block;
  position: relative;
  z-index: 0;
  width: 90%;
}
.accordion-menu > a:after {
  content: '\f078';
  font-family: 'Font Awesome\ 5 Free';
  font-weight: 900;
  position: absolute;
  right: -50px;
  top: 20%;
}
.accordion-menu > a[aria-expanded="true"]:after {
  content: '\f077';
}

@media screen and (max-width: 768px) {
  .tab-menu-faq {
    width: auto;
  }
  .tab-menu-item {
    width: auto;
  }
}

@media only screen and (max-width: 492px) {
  .tab-menu-faq {
    width: auto;
    height: auto;
    background-position: 52% 56%;
    border-radius: 6px 6px 0px 0px;
  }
  .bg-white-faq {
    background-color: #ffffff00;
  }
  .detail-faq {
    padding: 30px;
    background-color: #ffffff;
    border-radius: 0px 0px 6px 6px;
  }
  .accordion-menu > a:after {
    right: -25px;
  }
}
/* faq */

/* weblinks */

.box-weblink {
  background-color: white;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  padding: 20px;
  display: inline-grid;
  min-height: 136px;
  width: 100%;
}

.btn-weblink {
  text-align: center;
  margin-top: 15px;
}

@media only screen and (min-width: 1200px) {
  .btn-weblink {
    margin-top: 0px;
  }
}

/* weblinks */

/* annual-report */

.tabs {
  background-color: white;
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  padding: 10px;
}

.img-cover {
  width: 100%;
  height: 480px;
  object-fit: cover;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}

.cover {
  position: relative;
}

.desc-cover {
  position: absolute;
  z-index: 10;
  bottom: 0;
  width: 100%;
  padding: 30px;
  background-image:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,0.8));
  color: #ffffff;
  text-align: center;
  border-radius: 6px;
}

@media only screen and (max-width: 492px) {

}

/* annual-report */

/* ebook */

.ebook-title {
  text-align: center;
  padding-top: 15px;
}

.ebook-label {
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: white;
  position: absolute;
  color: #004c85;
  border-radius: 6px;
  padding: 5px 10px;
  margin-left: -15px;
  margin-top: 10px;
}

/* ebook */

/* fianace */
.box-blue-finance {
  height: 100%;
  border-radius: 6px;
  background-color: #004c85;
  padding: 30px;
}
.menu-year {
  width: 200px;
  cursor: pointer;
  display: block;
  margin: 8px auto;
}
.box-finance-white {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px 50px;
}
.box-finance-sky {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #e2eef4;
  padding: 30px 50px;
}
@media only screen and (max-width: 492px) {
  .menu-year {
    width: 160px;
  }
  .box-finance-sky, .box-finance-white {
    padding: 20px;
  }
}
/* finance */

/* video */
.warper-4-item {
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
}
.menu-video {
  height: 60px;
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
}
.menu-video-item {
  width: 100%;
  text-align: center;
  padding: 8px;
  margin: 10px 40px;
  cursor: pointer;
}
.active-menu-video {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  color: #ffffff;
}
.card-video {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.tag-video {
  position: absolute;
  z-index: 10;
  font-size: 14px;
  color: #004c85;
  padding: 5px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  top: 10px;
  right: 30px;
}
.img-video {
  width: 100%;
  border-radius: 6px 0px 0px 6px;
  object-fit: cover;
  height: 300px;
  position: relative;
}
.text-video {
  padding: 30px;
}
.img-video-2 {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 200px;
  position: relative;
}
.page-item:first-child .page-link {
  margin-left: none !important;
}
.pagination {
  width: max-content;
  display: block;
  margin: 10px auto;
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
}
.page-item {
  display: inline-block;
}
.page-link, .page-link:hover {
  border: none;
  background-color: #ffffff00;
  margin: 4px 10px !important;
  color: #004c85;
}
.active-pagination > a, .active-pagination > a:hover {
  background-color: #004c85;
  color: #ffffff;
  border-radius: 6px;
}
.page-item.disabled .page-link {
  color: #000000;
}

@media only screen and (max-width: 768px) {
  .sub-video {
    background-color: #ffffff00 !important;
    box-shadow: none;
  }
  .img-video {
    height: 180px;
    border-radius: 6px 6px 0px 0px;
  }
}
@media only screen and (max-width: 492px) {
  .pagination {
    width: 100%;
  }
  .page-link, .page-link:hover {
    margin: 4px 3px !important;
  }
  .menu-video-item {
    margin: 10px 17px;
    padding: 8px 35px;
  }
}
/* video */


/* news */
.card-item {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
}
.tag-card {
  position: absolute;
  z-index: 10;
  font-size: 14px;
  color: #004c85;
  padding: 5px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  top: 10px;
  right: 30px;
}
.tag-card-news {
  position: absolute;
  z-index: 10;
  font-size: 14px;
  color: #004c85;
  padding: 5px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #ffffff;
  bottom: 20px;
  right: 20px;
}
.img-card {
  width: 100%;
  border-radius: 6px 0px 0px 6px;
  object-fit: cover;
  height: 300px;
  position: relative;
}
.text-card {
  padding: 30px;
}
.img-card-2 {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  height: 200px;
  position: relative;
}

@media only screen and (max-width: 768px) {
  .img-card {
    height: 180px;
    border-radius: 6px 6px 0px 0px;
  }
}
/* news */

/* news detail */
.box-share-news {
  width: 100%;
  border-radius: 6px;
  border: solid 1px #d2e0e3;
  background-color: #ffffff;
  padding: 30px;
}
.bam-logo-share {
  width: 65px;
  display: block;
  margin: 0px auto;
}
.text-14 {
  font-size: 14px;
}
.d-share {
  display: inline-block;
}
@media only screen and (max-width: 492px) {
  .d-share {
    display: block;
  }
  .btn-share {
    width: 100%;
    margin-top: 10px;
  }
}
/* news detail */

/* announce */
.img-bg-announce {
  width: 100%;
  height: 1600px;
  background-image:linear-gradient(0deg, rgba(0, 76, 133, 0.8), rgba(0, 76, 133, 0.8)), url("../images/image-section-news.png");
  background-color: #8d8d8d;
  /* position: relative; */
  /* top: -100px; */
  /* padding: 50px 90px; */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.section-announce {
  min-height: 550px;
  position: relative;
  margin-top: -1600px;
}
.box-white {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px;
}
.ann-header {
  border-radius: 100px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.1);
  background-color: #004c85;
  padding: 10px 30px;
  color: #ffffff;
  font-size: 14px;
}
/* announce */

/* interate */
/* .col-12.col-md-4.mb-3 > div.box-rate {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px
}
.col-12.col-md-4.mb-3 > div.box-rate:nth-of-type(2n+1) {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #e2eef4;
  padding: 30px
} */
.col-12.col-md-4.mb-4 > .box-rate {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #e2eef4;
  padding: 30px
}
.col-12.col-md-4.mb-4:nth-of-type(2n+1) > .box-rate {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px
}
.col-12.col-md-4.mb-4 > .box-rate {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #e2eef4;
  padding: 30px
}
.col-12.col-md-4.mb-4:nth-of-type(2n+1) > .box-rate > p.date-rate {
  text-align: left;
  color: #b7b7b7;
}
.col-12.col-md-4.mb-4 > .box-rate > p.date-rate {
  text-align: left;
  color: #b7b7b7;
}
/* interate */

/* careers */
.box-nav {
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  display: flex;
}
.box-nav-careers {
  border-radius: 16px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  display: flex;
}
.careers-item {
  width: 100%;
  text-align: center;
  padding: 10px;
  margin: 10px;
  cursor: pointer;
}
.thumb-career {
  background-color: #ffffff;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  color: #000000;
}
.thumb > .thumb-career:hover .thumb-text{
  color: #ffffff;
}
.thumb > .thumb-career:hover .text-blue{
  color: #ffffff;
}
.thumb > .thumb-career:hover{
  background-color: #004c85;
}
.thumb-text {
  padding: 30px;
}
.card-job {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  padding: 30px;
  position: relative;
}
.img-job {
  width: 164px;
  height: 160px;
  border-radius: 6px;
  object-fit: cover;
  margin: 0px auto;
  display: block;
  position: absolute;
  top: -55px;
}
.w-200 {
  width: 200px;
}
.box-contact {
  width: 100%;
  height: 160px;
  background-image:linear-gradient(0deg, rgba(0, 76, 133, 0.8), rgba(0, 76, 133, 0.8)), url("../images/bg/bg-career-contact.png");
  border-radius: 6px;
  position: relative;
  background-position: 0 80%;
  padding: 50px;
}
.card-welfare {
  padding: 30px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 6px;
  color: #004c85;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}
.welfare:nth-child(2n) > .card-welfare {
  padding: 30px;
  width: 100%;
  background-color: #004c85;
  border-radius: 6px;
  color: #ffffff;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}
.icon-welfare {
  height: 45px;
}


#s1[type=radio], #s2[type=radio], #s3[type=radio] {
  display: none;
}

#slider {
  height: 300px;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
  top: 50px;
  margin-bottom: 160px;
}

#slider label {
  margin: auto;
  width: 550px;
  height: 100%;
  border-radius: 6px;
  position: absolute;
  left: 0;
  right: 0;
  cursor: pointer;
  transition: transform 0.4s ease;
}

/* left */
#s1:checked ~ #slide3,
#s2:checked ~ #slide1,
#s3:checked ~ #slide2 {
  /* box-shadow: 0 6px 10px 0 rgba(0,0,0,.3), 0 2px 2px 0 rgba(0,0,0,.2); */
  transform: translate3d(-15%,0,-100px);
  position: absolute;
  top: -100px;
  left: -500px;
}

/* mid */
#s1:checked ~ #slide1,
#s2:checked ~ #slide2,
#s3:checked ~ #slide3 {
  /* box-shadow: 0 13px 25px 0 rgba(0,0,0,.3), 0 11px 7px 0 rgba(0,0,0,.19); */
  transform: translate3d(0,0,0);
}

/* right */
#s2:checked ~ #slide3,
#s3:checked ~ #slide1,
#s1:checked ~ #slide2 {
  /* box-shadow: 0 6px 10px 0 rgba(0,0,0,.3), 0 2px 2px 0 rgba(0,0,0,.2); */
  transform: translate3d(15%,0,-100px);
  position: absolute;
  top: -100px;
  right: -500px;
}

/* #slide1 {
  width: 100%;
  background-image: url('../images/image-album-01.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */
/* #slide1::after {
  content:"";
  background-image: inherit;
  width:inherit;
  height:40%;
  position: absolute;
  bottom:-41%;
  transform:scaleY(-1);

  width: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
}
#slide1::before {
  content:"";
  width:inherit;
  height: 42%;
  position: absolute;
  bottom: -43%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3),#f8f8f8);
  z-index: 1;
  width: 100%;
  border-radius: 6px;
} */
/* #slide2 {
  width: 100%;
  background-image: url('../images/image-album-02.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */
/* #slide2::after {
  content:"";
  background-image: inherit;
  width:inherit;
  height:40%;
  position: absolute;
  bottom:-41%;
  transform:scaleY(-1);

  width: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
}
#slide2::before {
  content:"";
  width:inherit;
  height: 42%;
  position: absolute;
  bottom: -43%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3),#f8f8f8);
  z-index: 1;
  width: 100%;
  border-radius: 6px;
} */

/* #slide3 {
  width: 100%;
  background-image: url('../images/image-album-03.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
} */
/* #slide3::after {
  content:"";
  background-image: inherit;
  width:inherit;
  height:40%;
  position: absolute;
  bottom:-41%;
  transform:scaleY(-1);

  width: 100%;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.5;
}
#slide3::before {
  content:"";
  width:inherit;
  height: 42%;
  position: absolute;
  bottom: -43%;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3),#f8f8f8);
  z-index: 1;
  width: 100%;
  border-radius: 6px;
} */
.image-gallery-name {
  text-align: center;
  position: relative;
  top: -104px;
  color: #ffffff;
  padding: 50px 30px 30px 30px;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 38%, #000000 94%);
  /* background-color: red; */
  border-radius: 0px 0px 6px 6px;
}
.img-slide-3d {
  position: relative;
  width: 100%;
  -webkit-box-reflect: below 0px -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(70%, transparent) , to(rgba(250, 250, 250, 0.2)));
}
.box-arrow {
  position: relative;
}
.btn-gallery-arrow-left {
  position: absolute;
  top: 50px;
  left: -80px;
}
.btn-gallery-arrow-right {
  position: absolute;
  top: 50px;
  right: -80px;
}

@media screen and (max-width: 1024px) {
  #slider label {
    width: 410px;
  }
}

@media screen and (max-width: 768px) {
  #slider label {
    width: 320px;
  }
  /* left */
  #s1:checked ~ #slide3,
  #s2:checked ~ #slide1,
  #s3:checked ~ #slide2 {
    left: -300px;
  }

  /* right */
  #s2:checked ~ #slide3,
  #s3:checked ~ #slide1,
  #s1:checked ~ #slide2 {
    right: -300px;
  }
  .btn-gallery-arrow-left {
    top: 0px;
    left: -15px;
  }
  .btn-gallery-arrow-right {
    top: 0px;
    right: -15px;
  }
  #slider {
    margin-bottom: 10px;
  }
}


@media only screen and (max-width: 492px) {
  .box-nav {
    display: block;
    height: auto;
    padding: 15px;
  }
  .box-nav-careers {
    display: block;
    height: auto;
    padding: 15px;
  }
  .img-job {
    position: relative;
  }
  .position-mb-job {
    margin-top: -40px;
  }
  .box-contact {
    padding: 30px;
    height: auto !important;
    background-position: 40% 75%;
  }

  #slider {
    height: 120px;
    margin-bottom: 100px;
  }
  #slider label {
    width: 200px;
  }

  /* left */
  #s1:checked ~ #slide3,
  #s2:checked ~ #slide1,
  #s3:checked ~ #slide2 {
    position: absolute;
    top: -60px;
    left: -120px;
  }

  /* right */
  #s2:checked ~ #slide3,
  #s3:checked ~ #slide1,
  #s1:checked ~ #slide2 {
    box-shadow: 0 6px 10px 0 rgba(0,0,0,.3), 0 2px 2px 0 rgba(0,0,0,.2);
    transform: translate3d(15%,0,-100px);
    position: absolute;
    top: -60px;
    right: -120px;
  }
  .image-gallery-name {
    padding: 15px;
    top: -78px;
  }
}

/* careers */


/* job */
.box-alert-sky {
  border-radius: 6px;
  background-color: #c6e1ed;
  padding: 15px 30px;
  width: 550px;
}
.job-nav-item {
  width: 100%;
  text-align: center;
  padding: 10px;
  margin: 10px 40px;
  cursor: pointer;
  color: #004c85;
}
.active-job-nav {
  border-radius: 40px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #004c85;
  color: #ffffff;
}
.box-form {
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
  width: 100%;
  padding: 60px 85px;
  margin-bottom: 30px;
}
.custom-selector-job {
  font-size: 16px;
  color: #000000;
  border-radius: 4px;
  border: solid 1px #d2e0e3;
  background-color: #ffffff;
  text-align-last: center;
}
.custom-selector-job:hover {
  border: 1px solid #004c85;
}
.form-select-job > label,
.form-input > label {
    margin-bottom: 5px;
}
/* .form-select-job > label::after,
.form-input > label::after {
  content: ' *';
  color: #fc1515;
} */
.form-select-job::after {
  content: "\f078";
  font-family: 'Font Awesome\ 5 Free';
  position: absolute;
  right: 28px;
  top: 36px;
  color: #b7b7b7;
}
.form-control::placeholder {
  color: #b7b7b7;
}
input.custom-file[type="file"] {
  display: none;
}
.custom-file-upload {
  display: inline-block;
  padding: 6px 12px;
  cursor: pointer;
  color: #b7b7b7;
  position: relative;
}
.custom-file-upload:hover {
  border: solid 1px #004c85;
  cursor: pointer;
}
.custom-file-upload::after {
  content: 'เลือกไฟล์';
  font-size: 13px;
  color: #ffffff;
  background-color: #004c85;
  padding: 6px 7px;
  border-radius: 4px;
  position: absolute;
  top: 3px;
  right: 5px;
}
.mb-5px {
  margin-bottom: 5px;
}
.btn-form {
  border-radius: 4px;
  border: solid 1px #004c85;
  background-color: #e2eef4;
  border-style: dashed;
  cursor: pointer;
}
.box-educate {
  border-radius: 6px;
  border: solid 1px #c6e1ed;
  background-color: #ffffff;
  padding: 30px 0px 20px;
  position: relative;
  margin-bottom: 15px;
}
.close-box-educate {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #004c85;
  cursor: pointer;
}
.captcha {
  width: 300px;
  display: block;
  margin: 10px auto 20px;
}

@media only screen and (max-width: 492px) {
  .box-alert-sky {
    width: auto;
  }
  .box-form {
    padding: 30px 20px;
  }
  .job-nav-item {
    margin: auto;
  }
  .box-educate {
    padding: 30px 10px 20px;
  }
}
/* job */
/* press */

.bg-sky {
  width: 100%;
  background-color: #e2eef4;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
}
.mag-title {
  padding-left: 150px;
  padding-top: 100px;
  align-items: center;
  justify-content: center;
}
.img-mag {
  margin-top: -50px;
}
@media only screen and (max-width: 1024px) {
  .mag-title {
    padding: 70px;
  }
}
@media only screen and (max-width: 768px) {
  .mag-title {
    padding: 40px;
  }
  .img-mag {
    margin-top: -50px;
  }
  .img-mag-cover {
    width: 80%;
  }
}

@media only screen and (max-width: 492px) {
  .mag-title {
    padding: 30px;
  }
  .img-mag {
    margin: 0px;
  }
  .img-mag-cover {
    width: 80%;
  }
}

/* press */

/* customer center */
.accordion {
  width: 100%;
  /* max-width: 1080px; */
  height: 500px;
  overflow: hidden;
  margin: 50px 0px;
}

.accordion ul {
  width: 100%;
  display: table;
  table-layout: fixed;
  margin: 0;
  padding: 0;
}

.accordion ul li {
  display: table-cell;
  vertical-align: bottom;
  position: relative;
  width: 16.666%;
  height: 500px;
  background-repeat: no-repeat;
  background-position: center center;
  transition: all 500ms ease;
}

.accordion ul li div {
  /* display: block; */
  overflow: hidden;
  width: 100%;
}

.accordion ul li div a {
  /* display: block; */
  height: auto;
  width: 100%;
  position: relative;
  z-index: 3;
  vertical-align: bottom;
  box-sizing: border-box;
  color: #fff;
  text-decoration: none;
  font-family: Open Sans, sans-serif;
  transition: all 200ms ease;
  padding: 10px 50px;
}

.accordion ul li div a * {
  opacity: 1;
  margin: 0;
  width: 100%;
  text-overflow: ellipsis;
  position: relative;
  z-index: 5;
  white-space: nowrap;
  overflow: hidden;
  -webkit-transform: translateX(-20px);
  transform: translateX(-20px);
  -webkit-transition: all 400ms ease;
  transition: all 400ms ease;
  text-align: center;
  /* display: block; */
  margin: 0px auto;
}
.accordion ul li div a h2 {
  font-family: Montserrat,sans-serif;
  text-overflow: clip;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 2px;
/*   top: 160px; */
  color: #ffffff;
}

.accordion ul li div a p {
/*   top: 160px; */
  font-size: 16px;
  color: #ffffff;
}
.text-box {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 38%, #000000 94%);
  position: absolute;
  bottom: 0;
  padding: 30px;
  z-index: 10;
}
.image .text-box h4, .image .text-box p {
  display: none;
}
.image:hover .text-box h4, .image:hover .text-box p {
  display: block;
}



.img-accordion {
  max-height: 500px;
  height: 100%;
}
.image {
  position:relative;
  height:100%;
}
.image img {
  width:100%;
  object-fit: cover;
  object-position: 50% 50%;
  vertical-align:top;
}
.image:after {
  content:'\A';
  position:absolute;
  width:100%; height:100%;
  top:0; left:0;
  background:rgba(0,0,0,0.6);
  opacity:0.5;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
}
.image:hover:after {
  opacity:0;
}

/* .accordion ul li:nth-child(1) {background-image: url("http://michael-ferry.com/assets/accordion1.jpg"); opacity: 0.3}
.accordion ul li:nth-child(2) {background-image: url("http://michael-ferry.com/assets/accordion2.jpg"); opacity: 0.3}
.accordion ul li:nth-child(3) {background-image: url("http://michael-ferry.com/assets/accordion3.jpg"); opacity: 0.3} */

.accordion ul:hover li {width: 10%;}
.accordion ul:hover li:hover {width: 60%; opacity: 1}
/* .accordion ul:hover li:hover a {background: rgba(0, 0, 0, 0.4);} */
.accordion ul:hover li:hover a * {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

@media screen and (max-width: 840px) {
  .accordion {
    height: auto;
  }

  .accordion ul li, .accordion ul li:hover, .accordion ul:hover li, .accordion ul:hover li:hover {
    position: relative;
    display: table;
    table-layout: fixed;
    width: 100%;
    -webkit-transition: none;
    transition: none;
  }
}
@media screen and (max-width: 492px) {
  .accordion ul li {
    height: 250px;
    display: block;
  }
  .accordion ul li:nth-child(1) {opacity: 1}
  .accordion ul li:nth-child(2) {opacity: 1}
  .accordion ul li:nth-child(3) {opacity: 1}
  .accordion ul li:nth-child(4) {opacity:1}

  .image:after {
    opacity: 0;
  }
}
/* customer center */

/* download */
.box-download {
  width: 100%;
  padding: 25px 40px;
  border-radius: 6px;
  box-shadow: 0 4px 10px 0 rgba(0, 76, 133, 0.1);
  background-color: #ffffff;
}

@media screen and (max-width: 492px) {
  .box-download {
    padding: 25px 20px;
  }
}

.icon-line {
  display: inline-block;
  height: 35px;
  width: 35px;
  background-position: center center;
  background-repeat: no-repeat;
  background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAyNCAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI0IDkuNzVDMjQgOC40MDYyNSAyMy42ODc1IDcuMTQwNjIgMjMuMDYyNSA1Ljk1MzEyQzIyLjQyMTkgNC43NjU2MiAyMS41NTQ3IDMuNzM0MzggMjAuNDYwOSAyLjg1OTM4QzE5LjM4MjggMS45Njg3NSAxOC4xMTcyIDEuMjczNDQgMTYuNjY0MSAwLjc3MzQzOEMxNS4yMTA5IDAuMjU3ODEyIDEzLjY1NjIgMCAxMiAwQzEwLjM0MzggMCA4Ljc4OTA2IDAuMjU3ODEyIDcuMzM1OTQgMC43NzM0MzhDNS44ODI4MSAxLjI3MzQ0IDQuNjA5MzggMS45Njg3NSAzLjUxNTYyIDIuODU5MzhDMi40Mzc1IDMuNzM0MzggMS41NzgxMiA0Ljc2NTYyIDAuOTM3NSA1Ljk1MzEyQzAuMzEyNSA3LjE0MDYyIDAgOC40MDYyNSAwIDkuNzVDMCAxMC45Mzc1IDAuMjUgMTIuMDc4MSAwLjc1IDEzLjE3MTlDMS4yNjU2MiAxNC4yNSAxLjk2ODc1IDE1LjIxODggMi44NTkzOCAxNi4wNzgxQzMuNzUgMTYuOTIxOSA0LjgwNDY5IDE3LjYzMjggNi4wMjM0NCAxOC4yMTA5QzcuMjU3ODEgMTguNzg5MSA4LjU5Mzc1IDE5LjE3MTkgMTAuMDMxMiAxOS4zNTk0QzEwLjIxODggMTkuNDA2MiAxMC40MjE5IDE5LjQ2ODggMTAuNjQwNiAxOS41NDY5QzEwLjg3NSAxOS42MjUgMTEuMDMxMiAxOS43NSAxMS4xMDk0IDE5LjkyMTlDMT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TMxIDcuMjAzMTIgMjAuMDE1NiA3LjM1OTM4IDIwLjAxNTYgNy41NDY4OEMyMC4wMTU2IDcuNzAzMTIgMTkuOTUzMSA3Ljg0Mzc1IDE5LjgyODEgNy45Njg3NUMxOS43MDMxIDguMDkzNzUgMTkuNTQ2OSA4LjE1NjI1IDE5LjM1OTQgOC4xNTYyNUgxNy42MjVWOS4yODEyNUgxOS4zNTk0WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+');
}

.icon-line:hover {
  opacity: 0.5;
}
/* download */


/* fade in */
/* .fade-scroll {
    opacity:0;
}

.fade-in {
	opacity: 1;
	animation-name: fadeInOpacity;
	animation-iteration-count: 1;
	animation-timing-function: ease-in;
	animation-duration: 2s;
}
@keyframes fadeInOpacity {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

.fade-right {
	animation: 2.5s fadeRight;
}
@keyframes fadeRight {
	from {
		opacity: 0;
		transform: translate3d(-30%, 0,0);
	}
	to {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
}

.fade-left {
	animation: 2.5s fadeLeft;
}
@keyframes fadeLeft {
	from {
		opacity: 0;
		transform: translate3d(30%, 0,0);
	}
	to {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
}

.fade-up {
	animation: 2.5s fadeUp;
}
@keyframes fadeUp {
	from {
		opacity: 0;
		transform: translate3d(0,50%,0);
	}
	to {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
}

.fade-down {
	animation: 2.5s fadeDown;
}
@keyframes fadeDown {
	from {
		opacity: 0;
		transform: translate3d(0,-50%,0);
	}
	to {
		opacity: 1;
		transform: translate3d(0,0,0);
	}
} */
/* fade in */

/* navbar */
.dropdown-menu {
  position: relative;
  z-index: 3000;

}
.dropdown-menu.show {
  width: 550px;
  display: block;
  margin: 0px auto;
}
.icon-menu-dropdown {
  border-radius: 6px;
  background-color: #c6e1ed;
  color: #004c85;
  padding: 10px;
  width: 35px;
  text-align: center;
}
.form-inline.my-2.my-lg-0 {
  display: block;
  text-align: center;
}
@media screen and (max-width: 492px) {
  .dropdown-menu.show {
    width: 100%;
  }
}
/* navbar */
