/*************************
*******Typography******
**************************/
*{
  margin: 0;
  padding: 0;
  outline: none;
  border: none;
  box-sizing: border-box;
}
*:before,
*:after{
  -webkit-box-sizing: border-box;
}
body {
  font-family: 'DB HeaventRounded', sans-serif;
  font-size: 26px;
  color: rgba(100, 100, 100, 1);
  margin: 0 auto;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: rgba(255, 255, 255, 1);
  scroll-behavior: smooth;
}

section {
  clear: both;
}
figure {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6,select {
  line-height: inherit;
  font-weight: inherit;
  font-family: 'DB HeaventRounded Med';
}
h1 {
  font-size: 1.8em;
}
h2 {
  font-size: 1.5em;
}
h3 {
  font-size: 1.4em;
}
h4 {
  font-size: 1.3em;
}
h5 {
  font-size: 1.2em;
}
h6 {
  font-size: 1em;
}
a {
  text-decoration: underline;
  color: inherit;
}
select {
  font-size: 1em;
}
table {
  width: 100%;
  margin: auto;
}

footer {
  width: auto;
  padding: 1em;
  background: rgb(101,102,108);
  background: linear-gradient(90deg, rgba(101,102,108,1) 0%, rgba(51,52,60,1) 25%, rgba(51,52,60,1) 35%, rgba(187,187,187,1) 100%);
  color: rgba(255, 255, 255, 1);
}
footer > h6:after {
  content: " 2016-2021 All Rights Reserved." ;
}

button {
  font-family: 'DB HeaventRounded Med';
  font-size: 1em;
  cursor: pointer;
}

img {
  display: block;
  height: auto;
  max-width: 100%;
}

.hidden {
  display: none;
}

.list-num {
  list-style: decimal;
}

#logo {
  position: absolute;
  top: 0px;
  left: 20px;
  z-index: 10;
  width: 60px;
}

.btn-back {
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 5px;
  cursor: pointer;

  background: rgba(0, 0, 0, 1);
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.3);
  box-shadow: 1px 2px 5px 0 rgba(0,0,0,0.3);

  position:fixed;
  right: 0.5em;
  bottom: 0.5em;
  z-index: 1;

  display: none;
}

.nav-jump {
  background: rgb(101,102,108);
  background: linear-gradient(135deg, rgba(101,102,108,1) 0%, rgba(51,52,60,0.6) 30%, rgba(187,187,187,1) 100%);
}

.nav-jump ul{
  width: 95%;
  max-width: 1700px;
  margin: auto;
  padding: 0.5em 0;
  display: flex;
  flex-flow: row wrap;
}

.nav-jump ul li{
  margin: 0.2em;
  list-style: none;
  background-color: rgba(255, 255, 255, 1);
  padding: 0.2em 0.5em;
  border: 2px solid rgba(100, 100, 100, 0.3);
  border-radius: 10px;
  cursor: pointer;
}
.nav-jump ul li a {
  font-family: 'DB HeaventRounded Med';
  text-decoration: none;
}

/* ---- Background ---- */
.bg-gradient-grey01 {
  background: rgb(199,185,184);
  background: linear-gradient(90deg, rgba(199,185,184,1) 0%, rgba(231,229,226,1) 35%, rgba(231,229,226,1) 60%, rgba(174,174,174,1) 100%);
}

.bg-gradient-grey02 {
  background: rgb(101,102,108);
  background: linear-gradient(135deg, rgba(101,102,108,1) 0%, rgba(51,52,60,0.6) 30%, rgba(187,187,187,1) 100%);
}

/* ---- font color ---- */
.grey01 {
  color: rgba(102, 102, 102, 1);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}
.pink01 {
  color: rgba(231, 41, 123, 1);
}

/* ---- shadow ---- */
.shadow01 {
  -webkit-box-shadow: 2px 2px 3px 2px rgba(0,0,0,0.3);
  box-shadow: 2px 2px 6px 0 rgba(0,0,0,0.3);
  border-radius: 25%;
}

/* ---- text decoration ---- */
.underline {
    text-decoration: underline;
}
/* ---- note ---- */
.note {
  font-size: 0.9em;
  font-style: italic;
}

.note ul li{
  list-style: initial !important;
  margin: 0.2em 0;
}

.cover {
  width: 100%;
  height: 450px;
  padding-top: 75px;
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;

  position: relative;
}

.cover div {
  margin: auto;
}
.cover div *{
  text-align: center;
  margin: auto;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.02em;
}
.cover figure {
  width: 100%;
  margin: auto;
  margin-bottom: 0;
}
.cover figure img {
  height: 260px;
  margin: auto;
}

.content-intro {
  width: 90%;
  margin: 1em auto;
}
.content-intro div,
.content-intro div *{
  margin: 0.5em 0;
}
.content-intro div ul li {
  margin-left: 1em;
}

.content-nolist {
  width: 90%;
  margin: 1em auto;
}
.content-nolist div,
.content-nolist div *{
  margin: 0.5em 0;
}

.list-content {
  width: 90%;
  margin: 0.5em auto;
  display: block;
}
.list-content h3{
  flex: none;
  width: 100%;
}
.list-content ul ,
.list-content div ul {
  margin: 0.5em 0;
}
.list-content ul li,
.list-content ul p {
  margin: 0.3em 0 0.3em 1em;
}

.list-mono {
  width: 90%;
  margin: 0.5em auto;
}
.list-mono h3{
  flex: none;
  width: 100%;
}

.list-mono ul li{

  line-height: 1em;
  margin: 0.3em 0 0.3em 0.8em;
}

.dual-mobile {
  width: 90%;
  margin: 1em auto;
}

.dual-mobile div {
  width: auto;
  max-width: 1200px;
  margin: 1em auto;
}

.dual-mobile div  img,
.dual-mobile div  ul{
  width: fit-content;
  margin: 0.5em auto;
  list-style: decimal;
}

.dual-mobile div ul li{
  margin: 0.5em 0 0.5em 0.8em;
}

.qa {
  width: 90%;
  margin: 1em auto;
  display: block;
}
.qa h3,
.qa h5{
  width: 100%;
}

.qa div{
  margin: 1em auto;
  border-bottom: 2px dotted rgba(100, 100, 100, 0.3);
  padding: 0.5em;
}

.qa div:last-child{
  border: none;
}

.qa div h4 span,
.qa div h6 span{
  font-size: 1em;
  vertical-align:super;
  margin-right: 0.3em;
  color: white;
  background-color: black;
  padding: 0 9px;
  border-radius: 5px;
}
.qa div h4 span:after{
  content: "Q";
}
.qa div h6 span:after{
  font-family: 'DB HeaventRounded Med';
  content: "A";
}
.qa div h4 {
  font-size: 1.15em;
  margin-left: 1em;
  text-indent: -1.5em;
  color: black;
}
.qa div h6 {
  margin-left: 1em;
  text-indent: -1.5em;
}

.qa div h6 dl{
  margin-top: -1.3em;
  margin-left: 0;
  text-indent: 0;
}
.qa div h6 dl p{
  margin: 0.3em 0;
}
.qa div h6 ol {
  margin-left: 0.8em;
  margin-top: -1.3em;
  text-indent: 0;
}
.qa div h6 ol li,
.qa div h6 ol p{
  font-family: 'DB HeaventRounded Med';
}
.qa div h6 dl dt{
  color: rgba(0, 0, 0, 1);
}
.qa div h6 dl dd:before{
  content: "- ";
  margin-left: 0.8em;
}
.qa div h6 ol li {
  margin: 0.4em 0;
}
.qa div h6 ol li:first-child {
  margin-top: 0;
}
.qa div h6 ol p{
  font-size: 1.2em;
  margin-left: -0.7em;
}
.qa div h6 a{
  margin: 0 0.2em;
  color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
}
.qa div p span:after {
  content: "หมายเหตุ: ";
}

/* --- slider --- */

.slider div ul,
.slider div h6,
.slider div h5{
  margin: 0.3em auto;
  padding: 0 0.5em;
  text-align: center;
}
.slider div ul {
  width: fit-content;
  margin: auto;
}
.slider div ul li {
  list-style: decimal;
  text-align: left;
}

.slider div figure{
  position: relative;
  margin: 0.5em auto;
}
.slider div figure i {
  width: 36px;
  height: 36px;
  background-color: rgba(0, 0, 0, 1);
  /* background: rgb(168,0,128);
  background: linear-gradient(45deg, rgba(168,0,128,1) 0%, rgba(255,0,85,1) 100%); */
  border-radius: 3px;

  position: absolute;
  top: 0;
  left: 0;
  font-family: 'DB HeaventThin','DB HeaventRounded Med';
  font-style: normal;
  line-height: 1.1em;
  font-size: 1.3em;
  text-decoration: none;
  text-align: center;
  color: #fff;
}
.slider div h6 img,
.slider div ul li img{
  width: 30px !important;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.3em;
}

.remark ul li {
  font-size: 1em;
  font-style: italic;
  margin: 0.5em 0 0.5em 1em;
}
.remark ul li:nth-child(2) {
  margin-top: 0;
}

/* ------- start ------- */

.hilight {
  height: 420px;
  margin: auto;
  position: relative;

  /* background-color: #888; */
}
.hilight figure{
  width: 120px;
  position: absolute;
  left: 20px;
  bottom: 65px;
}

.hi01 {
  position: absolute;
  width: 50%;
  right: 0;
  bottom: 75px;
}
.hi01 img,
.hi01 h3{
  display: block;
  vertical-align: middle;
}

.hi01 > img{
  width: 75px;
}

.hi02 h3,
.hi02 > img {
  display: inline-block;
  vertical-align: middle;
}
.hi02 > img {
  width: 150px;
  margin: 5px 0;
}
.hilight h2 {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 0;
}

.newFeature01 {
  margin: 1em auto;
  position: relative;

}
.newFeature01 h2 {
  margin: auto;
  text-align: center;
}
.newFeature01 h2 span {
  display: block;
}
.newFeature01 img {
  width: 150px;
  margin: 0.5em auto;
  position: relative;
  z-index: 1;
}

.newFeature01 figure {
  background: url(../images/bg-logo01.png) no-repeat top left;
  background-size: cover;
  mix-blend-mode: multiply;

  width: 90%;
  height: 500px;
  position: absolute;
  top: 50px;
  right: 0;
  z-index: 0;
}

.newFeature02 {
  width: 100%;
  margin: 1em auto;

  position: relative;
  display: flex;
  flex-flow: column nowrap;
  align-items: center;
  z-index: 2;
}
.newFeature03 {
  margin: 0.5em auto;

  display: flex;
  flex-direction: row;
  align-items: center;
}
.newFeature03 img{
  width: 40%;
  margin: auto;
}
.newFeature04 {
  width: 60%;
  padding-right: 0.5em;
}
.newFeature04 h4,
.newFeature04 h5,
.newFeature04 p{
  letter-spacing: normal;
  line-height: 1em;
  color: rgba(102, 102, 102, 1);
  text-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}
.newFeature04 h5,
.newFeature04 p {
  font-family: 'DB HeaventThin','DB HeaventRounded Med';
  margin-top: 0.5em;
}
.download {
  width: 100%;
  max-width: 900px;
  margin: 1em auto;
}

.download-txt img{
  width: 100px;
  margin: auto;
}
.download-txt h3{
  margin: 0.5em auto;
  text-align: center;
}
.download-txt h3 span{
  display: block;
  margin: 0 0.2em;
}
.download-btn {
  width: 200px;
  margin: auto;
}
.download-btn a {
  display: block;
  margin: 0.5em auto;
}
.download-link {
  background-color: rgba(255,255,255,1);
  padding: 0em 0.2em;
  border: rgba(100, 100, 100, 0.5) 2px solid;
  border-radius: 10px;
  margin: 0.2em;
  line-height: 02em;
  text-decoration: none;
}
.download-link:hover {
  background-color: rgba(255,255,255,0.5);
}
.tagline {
  margin: 1em auto;
  position: relative;
}
.tagline img{
  width: 50%;
  margin: auto;
  position: relative;
  z-index: 1;
}
.tagline div{
  width: auto;
  margin: auto;
  position: relative;
  z-index: 1;
}
.tagline div h3{
  font-family: 'DB HeaventThin','DB HeaventRounded Med';
  text-align: center;
  font-size: 1.8em;
  margin: 0 auto;
  line-height: 0.9em;
}
.tagline div h2{
  text-align: center;
}
.tagline figure{
  background: url(../images/bg-logo02.png) no-repeat top left;
  background-size: cover;

  width: 90%;
  height: 500px;
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
}

.vdo-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.vdo-wrapper div {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
}
.vdo-wrapper div iframe{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.contact {
  width: 100%;
  margin: 0.5em auto;
}
.contact h4 {
  text-align: center;
}
.contact h4 span{
  display: block;
}
.contact-tel{
  width: 50%;
  max-width: 200px;
  margin: 0.5em auto;
}

.contact-fb {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}
.contact-fb a img,
.contact-fb a h6 {
  display: inline-block;
  vertical-align: middle;
}
.contact-fb a img{
  width: 50px;
  margin: 0.5em;
}

.contact-fb a h6{
  font-family: 'DB HeaventThin','DB HeaventRounded Med';
  font-size: 1.6em;
}
.myAgent-table {
  width: 90%;
  margin: auto;
}
.myAgent-table div{
  margin: 1em auto;
}

.myAgent-table div table{
  width: 100%;
}

.myAgent-table div table tr td{
  padding: 0.3em 0.5em;
  border-bottom: 2px rgba(100, 100, 100, 0.5)  solid;
  text-align: center;
}
.myAgent-table div table tr th{
  padding: 0.3em 0;
  background-color: rgba(100, 100, 100, 0.3);
}

.myAgent-table div:last-child table tr td:first-child {
  text-align: left;
}

.myAgent-table div:last-child table tr:nth-child(4) td {
  border: none;
}

/* --- setting acc --- */

.setting-acc-table {
  width: 90%;
  margin: auto;
}
.setting-acc-table table{
  width: 100%;
  max-width: 650px;
  margin: 1em auto;
}
.setting-acc-table table tr th{
  padding: 0.3em 0.8em;
  background: rgba(100, 100, 100, 0.5);
}
.setting-acc-table table tr td{
  padding: 0.3em 0.8em;
  border-bottom: 1px solid rgba(100, 100, 100, 0.5);
}
.setting-acc-table table tr td:last-child{
  text-align: right;
}
.setting-acc-table table tr:last-child td{
  border: none;
}

.setting-acc-non-GSB-01 {
  width: 90%;
  margin: 1em auto;
}
.setting-acc-non-GSB-01 div{
  margin: 1em auto;
}
.setting-acc-non-GSB-01 div figure{
  width: 230px;
  height: 230px;
  margin: auto;
  padding: 0 0.5em;
  border-radius: 30px;
  background-color: rgba(255, 255, 255, 0.3);

  display: flex;
  flex-flow: column wrap;
  position: relative;
  justify-content: center;
  overflow: hidden;
}
.setting-acc-non-GSB-01 div figure:first-child{
  border: rgba(243, 160, 128, 1) 5px solid;
}
.setting-acc-non-GSB-01 div figure:last-child{
  border: rgba(241, 203, 132, 1) 5px solid;
}
.setting-acc-non-GSB-01 div figure i{
  font-family: 'DB HeaventRounded Med';
  font-size: 2.5em;
  text-align: center;
  font-style: normal;
  padding: 0 0.4em;
  color: rgba(255, 255, 255, 1);

  position: absolute;
  border-radius: 0 0 75px  0;
  top: 0;
  left: 0;
}
.setting-acc-non-GSB-01 div figure:first-child i{
  background-color: rgba(243, 160, 128, 1);
}
.setting-acc-non-GSB-01 div figure:last-child i{
  background-color: rgba(241, 203, 132, 1);
}

.setting-acc-non-GSB-01 div figure h5{
  margin: auto;
  text-align: center;
}
.setting-acc-non-GSB-01 div img{
  width: 40px;
  margin: 0.5em auto;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
/* --- Group Transaction --- */

/* ------ APPLY ------ */

/* ------ NDID ------ */
.NDID-branch {
  width: 90%;
  margin: 1em auto;
}

.NDID-branch select {
  width: auto;
  padding:0.5em;
  margin: 0.3em 0;
  border-radius: 4px;
  cursor: pointer;
}

.NDID-branch ul {
  display: none;
  margin: 0 auto 1em;
  flex-flow: column nowrap;
}
.NDID-branch ul h3,
.NDID-branch ul h6{
  width: 100%;
}
.NDID-branch ul h3{
  display: none;
}
.NDID-branch ul li{
  list-style: none;
}

/* --- Retire --- */

/* --- Loan Covid19 --- */

/* --- Loan Covid19 Booking --- */

/* --- Digital Salak Activate --- */

/* --- Digital Salak 2 y --- */

.salak2y-table-container{
  width: 90%;
  margin: auto;
}
.salak2y-table-container div table tr th{
  text-align: center;
  padding: 0.3em 0.5em;
  background-color: rgba(100, 100, 100, 0.3);
}
.salak2y-table-container div table tr td{
  text-align: center;
  padding: 0.3em 0;
  border-bottom: 2px rgba(100, 100, 100, 0.5)  solid;
}
.salak2y-table-container div table tr:last-child td{
  border-bottom: none;
}
.salak2y-table-container div {
  width: 100%;
  margin: 1em auto;
}

.salak2y-table-container div p{
  margin-left: 1em;
  text-align: left;
  text-indent: -0.5em;
}
/* --- Debt Plan 2564 --- */
.debt-plan-table {
  width: 90%;
  margin: auto;
}
.debt-plan-table table{
  width: 100%;
  max-width: 900px;
  margin: auto;
}
.debt-plan-table table tr td{
  padding: 0.3em;
}
.debt-plan-table table tr td:first-child{
  font-family: 'DB HeaventRounded Med';
  min-width: 100px;
  width: 25%;
  background-color: rgba(100, 100, 100, 0.5);
}
.debt-plan-table table tr td:last-child{
  background-color: rgba(100, 100, 100, 0.2);
}
.debt-plan01 {
  width: 90%;
  margin: 1em auto;
}
.debt-plan01 div{
  margin: 1em auto;
}
.debt-plan01 div figure{
  width: 230px;
  height: 230px;
  margin: auto;
  padding: 0 0.5em;
  border: 5px solid;
  border-radius: 30px;

  display: flex;
  flex-flow: column wrap;
  position: relative;
  justify-content: center;
  overflow: hidden;
}
.debt-plan01 div figure:first-child{
  border-color: rgba(228,56,92,1);
}
.debt-plan01 div figure:last-child{
  border-color: rgba(64,211,226,1);
}
.debt-plan01 div figure h5{
  text-align: center;
}
.debt-plan01 div figure i{
  font-family: 'DB HeaventRounded Med';
  font-size: 1.2em;
  text-align: center;
  font-style: normal;
  padding: 0 0.4em;
  color: rgba(255, 255, 255, 1);

  position: absolute;
  border-radius: 0 0 15px  0;
  top: 0;
  left: 0;
}
.debt-plan01 div figure:first-child i{
  background-color: rgba(228,56,92,1);
}
.debt-plan01 div figure:last-child i{
  background-color: rgba(64,211,226,1);
}
.debt-plan01 div img{
  width: 40px;
  margin: 0.5em auto;
  -webkit-transform: rotate(90deg);
  -moz-transform: rotate(90deg);
  -o-transform: rotate(90deg);
  -ms-transform: rotate(90deg);
  transform: rotate(90deg);
}
.debt-plan01 ol li{
  margin: 0.3em 0 0.3em 1em;
}
/* --- Loan Imjai --- */
.imjai-table {
  width: 90%;
  margin: 0.5em auto;
}
.imjai-table table{
  width: auto;
  margin: auto;
}
.imjai-table table tr td{
  padding: 0.5em;
}
.imjai-table table tr td:nth-child(odd) {
  background: rgba(100, 100, 100, 0.5);
}
.imjai-table table tr td:nth-child(even) {
  background: rgba(100, 100, 100, 0.3);
}

/* --- Loan NCB --- */

.NCB01 {
  width: 90%;
  margin: 1em auto;
}
.NCB01 div {
  width: 100%;
  max-width: 1000px;
  margin: auto;
}
.NCB01 div figure {
  margin: 1em auto;
  width: 220px;
  height: 220px;
  border: 4px solid;
  border-radius: 20px;

  display: flex;
  flex-flow: column nowrap;
  justify-content: space-around;
  align-items: center;
}
.NCB01 div figure h3,
.NCB01 div figure h6 {
  text-align: center;
}
.NCB01 div figure h6 {
  padding: 0.5em;
}
.NCB01 div figure hr {
  width: 90%;
  border: 1px solid;
}

.NCB-table {
  width: 90%;
  margin: auto;
}
.NCB-table table {
  width: 100%;
  max-width: 1200px;
  margin: auto;
}
.NCB-table table tr{
  border: 1px solid;
  text-align: center;
}

.NCB-table table tr td{
  padding: 0.5em 0;
}
.NCB-table table tr td:first-child {
  font-family: 'DB HeaventRounded Med';
}
.NCB-table table tr td :last-child{
  text-align: left;
}
.NCB-table table tr:nth-child(odd) td{
  background-color: rgba(100, 100, 100, 0.3);
}
.NCB-table table tr th:nth-last-child(2),
.NCB-table table tr th:last-child {
  width: 35%;
  padding: 0.5em 0;
  background-color: rgba(100, 100, 100, 0.5);
}

/* --- insure smartcare + --- */
.insure-smart-table01 {
  width: 90%;
  max-width: 950px;
  margin: 0.5em auto;
}
.insure-smart-table01 table tr th:last-child{
  width: 20%;
  min-width: 90px;
}
.insure-smart-table01 table tr:nth-child(2) td:last-child{
  vertical-align: bottom;
}
.insure-smart-table01 table tr td {
  padding: 0.3em;
  border-bottom: 1px solid rgba(100, 100, 100, 0.8);
}
.insure-smart-table01 table tr td:first-child p{
  text-indent: -0.7em;
  margin-left: 0.5em;
}
.insure-smart-table01 table tr td:last-child {
  text-align: right;
}

/* --- insure travel --- */
.insure-travel-table01 {
  width: 90%;
  max-width: 900px;
  margin: 0.5em auto;
}
.insure-travel-table01 table tr td {
  padding: 0.3em;
  border-bottom: 1px solid rgba(100, 100, 100, 0.8);
}
.insure-travel-table01 table tr td:last-child {
  text-align: right;
}

.insure-travel-table01 table tr:last-child {
  border-bottom: none !important;
}

.insure-travel-table02 {
  width: 90%;
  max-width: 620px;
  margin: 1em auto;
}

.insure-travel-table02 table tr td{
  padding: 0.3em;
  text-align: center;
  border-bottom: 1px solid rgba(100, 100, 100, 0.8);
}
