.self-regis-3-provinces {
  max-width: 768px;
  margin: 0 auto;
}

.self-regis-3-provinces>header {
  background-color: #FFF;
  border-bottom: 1px solid #e4e4e4;
  text-align: center;
  padding: 8px 0 0;
}

.self-regis-3-provinces>header .nav-logo .icons {
  width: 47px;
  height: 47px;
}

.self-regis-3-provinces>section[class*="sc-"] {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}

.self-regis-3-provinces>section[class*="sc-"].bg-blue {
  background-color: #E4F3FF;
}

.self-regis-3-provinces section[class*="sc-"] .box-db {
  width: 100%;
}

.sc-welcome .container .how-to {
  padding-left: 15px;
  margin: 0;
  display: inline-block;
}

.sc-welcome .container .how-to li {
  text-align: left;
}

.sc-welcome .container .obj-barcode {
  max-width: 336px;
  padding: 0 15px;
}

.sc-sel-type {
  padding-bottom: 0 !important;
}

.type-card {
  padding: 0;
  list-style: none;
  margin-top: 30px;
  margin-bottom: 0;
}

.type-card li {
  padding: 0;
  margin-top: 10px;
}

.type-card li .wrap-inner {
  position: relative;
  border: 1px dashed #D6D6D6;
  padding: 15px;
  min-height: 118px;
  display: block;
}

.type-card li:nth-child(odd) .wrap-inner {
  margin-left: 15px;
  margin-right: 8px;
}

.type-card li:nth-child(even) .wrap-inner {
  margin-right: 15px;
  margin-left: 7px;
}

.type-card li .wrap-inner::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  width: 32px;
  height: 30px;
  background: url(../../assets/images/ico-card@2x.png) center center no-repeat;
  background-size: contain;
}

.type-card li .wrap-inner::after {
  content: '';
  position: absolute;
  top: 15px;
  right: 15px;
  border-radius: 100%;
  width: 28px;
  height: 28px;
  background: url(../../assets/images/ico-arrow-white@2x.png) center center no-repeat #007AD0;
  background-size: 10px auto;
}

.type-card li .wrap-inner p {
  margin-top: 62px;
}

.obj-home {
  position: relative;
  margin: 0 -15px;
  padding: 30px 0;
}

.obj-home img {
  max-width: 303px;
  margin: 0 auto;
  display: block;
  position: relative;
  z-index: 2;
}

.obj-home::after {
  content: '';
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../../assets/images/bg-curve@2x.png) top center no-repeat #E4F3FF;
  background-size: 100% auto;
}

.ex-card figure {
  margin-bottom: 0;
}

.ex-card figure img {
  max-width: 217px;
}

.box-take-photo .ico-camera-grey {
  display: block;
  width: 50px;
  height: 39px;
  margin: 0 auto;
}

.sc-take-photo {
  text-align: center;
}

.box-take-photo {
  border: 1px dashed #D6D6D6;
  display: inline-block;
  padding: 20px;
}

.box-captured {
  border: 1px dashed #D6D6D6;
  display: inline-block;
  padding: 20px 30px;
}

.box-captured figure {
  margin-bottom: 0;
}

.box-captured figure img {
  max-width: 217px;
}

.box-captured.captured-selfie figure img {
  max-width: 188px;
}

.box-captured .ico-camera-grey {
  display: inline-block;
  width: 18px;
  height: 14px;
  margin-right: 10px;
  vertical-align: middle;
}

.ex-selfie figure img {
  max-width: 147px;
}

.sc-lastest {
  padding-bottom: 80px !important;
}

.sc-lastest::after {
  content: '';
  position: absolute;
  z-index: 1;
  bottom: 0;
  left: 0;
  right: 0;
  height: 93px;
  background: url(../../assets/images/bg-curve@2x.png) top center no-repeat #E4F3FF;
  background-size: 100% auto;
}

.sc-lastest .container {
  position: relative;
  z-index: 2;
}

.sc-success figure {
  margin-bottom: 0;
}

.sc-success figure img {
  max-width: 160px;
  margin: 0 auto;
  display: block;
}

.circle {
  border-radius: 100%;
  padding: 50px;
  background-color: #DEF3FF;
  display: inline-block;
}

.circle .ico-sad {
  display: block;
  width: 65px;
  height: 65px;
  background: url(../../assets/images/ico-sad@2x.png) top center no-repeat;
  background-size: 100% auto;
}

.ico-camera-grey {
  background: url(../../assets/images/ico-camera-grey@2x.png) top center no-repeat;
  background-size: 100% auto;
}

.ico-camera-white {
  background: url(../../assets/images/ico-camera-white@2x.png) top center no-repeat;
  background-size: 100% auto;
}

.self-regis-3-provinces>footer {
  background-color: #FFF;
  padding: 20px 15px;
  border-top: 1px solid #D6D6D6;
}

/*loading*/
.loading .lds-ellipsis {
  visibility: visible;
}

.lds-ellipsis {
  visibility: hidden;
  display: inline-block;
  width: 64px;
  height: 64px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin: -32px 0 0 -32px;
  z-index: 200;
  background-color: #FFFFFF;
  text-align: center;
  border-radius: 3px;
  box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.3);
}

.lds-ellipsis div {
  position: absolute;
  top: 27px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cef;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
  left: 6px;
  animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
  left: 6px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
  left: 26px;
  animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
  left: 45px;
  animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(0);
  }
}

@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(19px, 0);
  }
}

.hidden-xxs {
  display: none;
}

@media only screen and (max-width:374px) {
  .hidden-xxs {
    display: block;
  }
}



/* select country */
.head-language {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  z-index: 500;
  background: #F8F8F8;
}

.head-language .nav-language {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 100;
}

.head-language .nav-language .nav-lang {
  width: auto;
  padding: 8px 60px 4px 20px;
  margin-bottom: 0;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0);
  text-decoration: none !important;
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
}

.head-language .nav-language .nav-lang::before {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -20px;
  height: 10px;
  right: 0;
  background: #ffffff;
  z-index: 10;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
}

.head-language .nav-language .nav-lang::after {
  content: "";
  position: absolute;
  right: 25px;
  top: 10px;
  width: 15px;
  height: 15px;
  background: url('../images/icons/ico-caret.svg') center center no-repeat;
  -webkit-transition: all 0.35s ease-in-out 0s;
  -moz-transition: all 0.35s ease-in-out 0s;
  -ms-transition: all 0.35s ease-in-out 0s;
  -o-transition: all 0.35s ease-in-out 0s;
  transition: all 0.35s ease-in-out 0s;
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
  transform: rotate(180deg);
}

.head-language .nav-language .nav-lang.active {
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
}

.head-language .nav-language .nav-lang.active::after {
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -ms-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
}

.head-language .nav-language .nav-lang.active::before {
  visibility: visible;
  opacity: 1;
}

.head-language .language-dropdown {
  display: none;
  width: 100%;
  top: 33px;
  left: 0;
  position: absolute;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  background: #ffffff;
}

.head-language .language-dropdown .inner-wrapper {
  display: flex;
  width: 100%;
  justify-content: space-between;
  padding: 30px 25px 5px;
  flex-wrap: wrap;
  align-items: center;
}

.head-language .language-dropdown .nav-lang a::before {
  content: "";
  position: absolute;
  height: 3px;
  background: #1FAAF7;
  bottom: 0;
  width: 0;
  -webkit-transition: all 0.2s ease-in-out 0s;
  -moz-transition: all 0.2s ease-in-out 0s;
  -ms-transition: all 0.2s ease-in-out 0s;
  -o-transition: all 0.2s ease-in-out 0s;
  transition: all 0.2s ease-in-out 0s;
}

.head-language .language-dropdown .nav-lang:last-child {
  padding-right: 0;
}

.head-language .nav-lang {
  display: flex;
  width: auto;
  justify-content: space-between;
  padding-bottom: 5px;
  margin-bottom: 15px;
  color: #1A1A1A;
  position: relative;
  padding-right: 10px;
}

.head-language .nav-lang a {
  display: flex;
  width: auto;
  margin: 0;
  position: relative;
  color: #1A1A1A;
  text-decoration: none !important;
}

.head-language .nav-lang a:hover::before,
.head-language .nav-lang a.active::before {
  width: 100%;
}

.head-language .nav-lang span {
  font-size: 14px;
}

.head-language .icons {
  width: 15px;
  height: 15px;
  margin-right: 10px;
}

.ico-flag-thai {
  background-image: url('../images/icons/flag-thai.svg');
}

.ico-flag-english {
  background-image: url('../images/icons/flag-english.svg');
}

.ico-flag-myanmar {
  background-image: url('../images/icons/flag-myanmar.svg');
}

.ico-flag-cambodia {
  background-image: url('../images/icons/flag-cambodia.svg');
}

.ico-flag-arabic {
  background-image: url('../images/icons/flag-arabic.svg');
}

.ico-flag-china {
  background-image: url('../images/icons/flag-china.svg');
}

.language-dropdown.alight-right .inner-wrapper {
  justify-content: flex-end;
}

.language-dropdown.alight-right .inner-wrapper .nav-lang {
  justify-content: center;
  width: 20%;
}

@media only screen and (max-width: 767px) {
  .head-language .language-dropdown .inner-wrapper {
    justify-content: flex-start;
  }

  .head-language .nav-language .nav-lang {
    width: auto;
  }

  .language-dropdown.alight-right .inner-wrapper .nav-lang {
    margin-left: 0;
  }

  .head-language .language-dropdown .inner-wrapper {
    justify-content: flex-end;
  }

  .head-language .nav-lang {
    justify-content: flex-start;
  }

  .language-dropdown.alight-right .inner-wrapper .nav-lang {
    justify-content: center;
    width: 33.333333%;
  }

  .language-dropdown.alight-left .inner-wrapper {
    justify-content: flex-start;
  }

  .language-dropdown.alight-left .inner-wrapper .nav-lang {
    justify-content: flex-start;
    width: 33.333333%;
  }
}