/***Font Face***/

/* 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-DB-default {
  font-family: "DB-HeaventRounded";
}

.font-DB-med {
  font-family: "DB-HeaventRounded-Med";
}

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

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

/* .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);
  }
*/

.text-white {
  color: #fff;
}

.bg-portrait {
  background-image: url(../../images/ewe/bg_p.webp);
}

.bg-landscape {
  background-image: url(../../images/ewe/bg_l.webp);
  /*background-repeat: no-repeat;*/
  background-size: 100vw 100vh;
  background-attachment: fixed;
  /*height: 100vh;*/
}

.ewe-contain-landscape {
  max-width: 1336px;
  font-size: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /*margin-top: 160px; gap: 60px;*/
  margin-top: 40px;
  margin-bottom: 4%;
  /*display: flex; justify-content: center; align-items: center;*/
}

.ewe-contain-landscape h1 {
  font-size: 96px;
}

.ewe-contain-landscape h2 {
  font-size: 36px;
}

.ewe-contain-landscape figure {
  margin: 0;
}

.ewe-contain-landscape .img-h {
  margin-top: 0;
}

.regist-and-login {
  gap: 36px;
  margin-top: 40px;
}

.btn-to-register {
  margin: 10px;
  padding: 14px 56px;
  text-align: center;
  transition: 0.5s;
  border-radius: 80px;
  cursor: pointer;
  font-size: 40px;
  background-color: #fff;
  border: none;
}

.btn-to-register span {
  background: linear-gradient(to bottom right, #e51d20 0%, #984abd 50%, #2577c7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-to-login {
  border: none;
  color: #fff;
  text-decoration: underline;
  font-size: 28px;
  cursor: pointer;
}

.ewep-col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 25px;
  margin-top: 30px;
}

.ewep-col-panel {
  height: 208px;
  max-width: 240px;
  text-align: center;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.ewep-col-panel span {
  color: rgba(255, 255, 255, 1);
  font-size: 28px;
  font-family: "DB-HeaventRounded-Med";
  line-height: 1.2;
}


/****intro-Modal****/
.agree-info-modal {
  font-size: 24px;
  font-family: "DB-HeaventRounded";
  color: #333;
  line-height: 1.25;
}

.agree-info-modal h2 {
  font-size: 36px;
  color: #318fe8;
}

.agree-info-modal a {
  color: #318fe8;
}

.agree-info-modal label {
  margin-left: 36px;
}

.agree-info-modal label ul {
  margin-top: 10px;
  margin-bottom: 0;
  padding-inline-start: 15px;
}

.agree-info-modal label ul li {
  color: #777;
}

.agree-info-modal .modal-header {
  border-bottom: none;
  justify-content: center;
}

.agree-info-modal .modal-body {
  padding: 0 40px
}

.agree-info-modal .modal-footer {
  border-top: none;
  justify-content: center;
}

.agree-info-modal input[type=checkbox] {
  width: 32px;
  height: 32px;
  cursor: pointer;
}

.agree-info-modal .btn-custom {
  flex: none;
  background-image: linear-gradient(to bottom right, #4CC4E7 0%, #1360CF 100%);
  border-radius: 80px;
  padding: 8px 48px;
  width: auto;
  font-size: 28px;
  cursor: pointer;
}

.agree-info-modal .btn-custom[disabled] {
  background: #C0C2C9;
}


/****Form****/

.ewe-form-container {
  max-width: 1440px;
}

.ewe-form {
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 30%);
}

.ewe-form #form-tagline {
  background-color: #334155;
  border-radius: 32px;
  background-position: left 42px bottom 50px;
  padding: 3%;
}

.ewe-form #form-tagline h2 {
  font-size: 40px;
}

.ewe-form #form-tagline .dt {
  font-size: 28px;
}

.ewe-form #form-content {
  background: #fff;
  border-radius: 32px;
}

.ewe-form .upload-container {
  position: relative;
  overflow: visible;
}

.ewe-form .upload-icon {
  right: 0;
  left: 60px;
  bottom: -50px;
}

/*ewe-form .upload-container {
  border: 0;
}

.ewe-form .upload-icon {
  font-size: 20px;
  padding: 8px;
  color: #fff;
  bottom: 15px;
  right: 45px;
  background-color: #318fe8;
  border-radius: 50%;
  width: 36px;
  height: 36px;
}*/



.ewe-form .form-control {
  font-size: 22px;
  font-family: "DB-HeaventRounded";
  height: 44px;
}

.ewe-form label {
  font-size: 26px;
  margin-bottom: 0;
}

/*.ewe-form select {
  border:1px solid #ccc;
  vertical-align:top;
  height:20px;
}*/

.ewe-form ::placeholder {
  color: #c0c2c9;
}

.ewe-form input,
.ewe-form select {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

.ewe-form select.form-control:not([size]):not([multiple]) {
  height: 44px;
}

.icon-in-input-text {
  position: relative;
}


.icon-calendar {
  position: absolute;
  width: 20px;
  height: 20px;
  background-image: url(../../images/ewe/icon-calendar.svg);
  display: block;
  right: 5px;
  top: 53px;
  cursor: pointer;
}

.show-hide-button {
  background-color: transparent;
  border: 0;
}

.eye {
  position: absolute;
  top: 65px;
  /*top: 72px;*/
  right: 5px;
  transform: translateY(-50%);
}

.eye i {
  color: #C0C2C9;
  font-size: 20px;
}

.ewe-form .form-term input[type=checkbox] {
  width: 24px;
  height: 24px;
}

.form-term label {
  font-size: 24px;
  padding-left: 24px;
}

.remark-term {
  font-size: 26px;
  line-height: 1.2;
}


.ewe-form .btn-custom {
  padding: 0 15px;
}

.ewe-form .btn-custom[disabled] {
  background: gray;
}

#dialog-otp .btn-custom-otp {
  padding: 0 9px;
}

.ewe-form .btn-custom,
#dialog-otp .btn-custom-otp {
  font-size: 28px !important;
  font-family: "DB-HeaventRounded-Bold";
  height: 50px;
  border-radius: 80px !important;
  background-image: linear-gradient(to bottom right, #4CC4E7 0%, #1360CF 100%);
}

/**/


@media (min-height:1080px) {
  /*.bg-landscape{min-height: 100vh;}*/
}


@media (min-width: 992px) {
  .agree-info-modal.modal-lg {
    max-width: 890px;
    /*max-height: 675px;*/
  }

  .agree-info-modal .form-check .term-2 {
    line-height: 2;
  }

  .ewe-form .font-header {
    font-size: 36px;
  }

}

@media (min-width: 768px) {

  /***form***/
  .ewe-form #form-tagline {
    background-image: url(../../images/ewe/leftbottom-form-bg.webp);
    background-repeat: no-repeat;
  }
}


/*.man-on-right{max-height: 500px; width: 100%; max-width: 534px;}*/

@media (max-width: 1480px) {

  .ewe-form-container {
    max-width: 1140px;
  }
}

@media (max-width: 1360px) {

  .ewe-contain-landscape {
    max-width: 1220px;
  }

  .regist-and-login {
    margin-top: 20px;
  }
}

@media (max-width: 1220px) {

  .ewe-contain-landscape {
    max-width: 96%;
  }

  .man-on-right {
    max-height: 500px;
  }

}

@media (max-width: 1199px) {

  .bg-landscape {
    background-image: url(../../images/ewe/bg_p.webp);
    /*height: 100vh;*/
    background-size: 100% 100%;
    background-attachment: unset;
  }

  /***form***/
  .ewe-form-container {
    max-width: 960px;
  }
}

@media (max-width: 1130px) {
  .man-on-right {
    width: 100%;
    margin-top: 120px;
  }
}

@media (max-width: 991px) {

  .bg-landscape {
    height: auto;
  }

  .ewe-contain-landscape {
    margin-top: 20px;
  }

  .ewe-contain-landscape .img-h img {
    width: 100%;
  }

  .ewep-col {
    grid-template-columns: repeat(3, 1fr);
  }

  .ewe-contain-landscape h1 {
    font-size: 64px;
  }

  .btn-to-register {
    margin: 0;
  }

  /***form***/
  .ewe-form .upload-zone {
    margin-bottom: 32px;
  }

  /*.ewe-form .upload-icon {
        bottom: -120px;
        right: 65px;
        padding: 100px;
    }*/


}

@media (min-width: 768px) and (max-width: 991px) {
  .btn-to-register {
    padding: 14px 28px;
  }

  /***form***/
  .ewe-form #form-tagline {
    background-position: left 20px bottom 40px;
    padding: 3%;
  }

  .ewe-form-container {
    max-width: 720px;
  }


}

@media (max-width: 768px) {
  .container.ewe-form-container {
    width: 95%;
  }

  .ewe-form #form-content {
    margin-top: 0;
    padding: 4%;
  }

  .ewe-form .upload-icon {
    padding: 37px;
    left: 50px;
  }

  /*.ewe-form #form-tagline {
      margin-top: 30px;
  } 
  .ewe-form {
    background: transparent;
  }*/
}


@media (max-width: 767px) {

  .bg-landscape {
    background-image: url(../../images/ewe/bg_mobile.webp);
    /*height: 100vh;*/
  }

  .bg-portrait {
    background-image: url(../../images/ewe/bg_mobile_f.webp);
    /*height: 100vh;*/
  }

  .ewe-contain-landscape {
    font-size: 24px;
    text-align: center;
  }

  .ewep-col {
    grid-template-columns: repeat(2, 1fr);
  }

  .regist-and-login.form-row {
    flex-direction: column;
  }

  .regist-and-login {
    margin-top: 40px;
  }

  .agree-info-modal .modal-body {
    padding: 0 15px
  }

  /***form***/
  .ewe-form #form-tagline {
    margin-top: 0;
    padding: 8%;
  }

  .ewe-form .font-header {
    font-size: 28px;
  }

  .ewe-form #form-tagline h2 {
    font-size: 32px;
  }

  .ewe-form #form-tagline .dt {
    font-size: 26px;
  }

  .ewe-form #form-content {
    padding-top: 20px;
  }

  label.form-term {
    font-size: 22px;
  }

  .remark-term {
    font-size: 22px;
  }
}




@media (max-width: 576px) {
  .ewep-col {
    display: flex;
    flex-direction: column;
  }

  .ewep-col-panel {
    max-width: unset;
    flex-direction: row;
    justify-content: center;
    height: 140px;
    padding-inline: 15px;
  }

  .ewep-col-panel span {
    width: 192px;
  }

  .agree-info-modal {
    margin-top: 20px;
    font-size: 22px;
    margin-inline: 15px;
  }

  .agree-info-modal h2 {
    font-size: 28px;
  }

  .agree-info-modal.modal-dialog-centered {
    min-height: auto;
  }

  .ewe-form-container .img-h img {
    /*width: 100%;*/
    width: 95%;
  }

}