@font-face {
  font-family: 'KingPowerHeadline-Black';
  src: url('../fonts/KingPowerHeadline-Black.woff2');
}
@font-face {
  font-family: 'KingPowerHeadline-Bold';
  src: url('../fonts/KingPowerHeadline-Bold.woff2');
}
@font-face {
  font-family: 'KingPowerHeadline-Light';
  src: url('../fonts/KingPowerHeadline-Light.woff2');
}
@font-face {
  font-family: 'KingPowerHeadline-Regular';
  src: url('../fonts/KingPowerHeadline-Regular.woff2');
}
@font-face {
  font-family: 'KingPowerHeadline-UltraLight';
  src: url('../fonts/KingPowerHeadline-UltraLight.woff2');
}
@font-face {
  font-family: 'KingPowerText-Bold';
  src: url('../fonts/KingPowerText-Bold.woff2');
}
@font-face {
  font-family: 'KingPowerText-Light';
  src: url('../fonts/KingPowerText-Light.woff2');
}
@font-face {
  font-family: 'KingPowerText-Regular';
  src: url('../fonts/KingPowerText-Regular.woff2');
}
* {
  padding: 0;
  margin: 0;
}
body {
  background: #f8f8f8;
  font-family: 'KingPowerText-Regular';
  max-width: 2440px;
  margin: 0 auto;
  user-select: none;
}

#dialog {
  width: 360px;
  height: 248px;
  border-radius: 8px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  border-bottom: 1px solid #c7d3e1;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.16), 0px 16px 32px -4px rgba(0, 0, 0, 0.16);
}
#dialog::backdrop {
  background: rgba(0, 0, 0, 0.25);
}
#dialog .content {
  position: relative;
  padding: 24px 24px 8px;
}
#dialog .content .icon {
  position: absolute;
  top: 31px;
  left: 27px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: #3d8c4e;
}
#dialog .content .icon::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 4px;
  height: 7px;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
}
#dialog .content .title {
  margin-left: 40px;
  color: #25303c;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
  font-family: 'KingPowerHeadline-Regular';
}
#dialog .content .detail {
  margin: 8px 0 0 40px;
  color: #5f7082;
  font-size: 16px;
  line-height: 24px;
}
#dialog .btn {
  position: absolute;
  right: 16px;
  bottom: 16px;
  height: 22px;
  line-height: 22px;
  padding: 9px 24px;
  color: #25303c;
  font-size: 14px;
  font-weight: 700;
  font-family: 'KingPowerHeadline-Regular';
  letter-spacing: 0.28px;
  border: 1px solid #c7d3e1;
  border-radius: 8px;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px -4px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}
.lang {
  position: absolute;
  top: 20px;
  right: 24px;
  padding: 8px;
  height: 24px;
}
.lang .placehodler {
  display: flex;
  align-items: center;
  color: #5f7082;
  font-size: 16px;
  line-height: 24px;
  pointer-events: none;
}
.lang .placehodler .icon {
  margin-right: 8px;
}
.lang.clicked {
  border-radius: 8px;
  background: #f0f3f7;
}
.lang .lang-option {
  display: none;
  list-style: none;
  position: absolute;
  top: 40px;
  right: 0;
  width: 164px;
  height: 80px;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #c7d3e1;
  background: #fff;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.12), 0px 8px 24px -4px rgba(0, 0, 0, 0.12);
}
.lang .lang-option .item {
  position: relative;
  padding: 8px;
  display: flex;
  align-items: center;
}
.lang .lang-option .item:hover {
  border-radius: 6px;
  background: #f0f3f7;
}
.lang .lang-option .item.selected::after {
  content: '';
  position: absolute;
  top: 13px;
  right: 13px;
  width: 16px;
  height: 6px;
  border: 2px solid #0b56a4;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.lang .lang-option .item .item-text {
  margin-left: 8px;
  color: #25303c;
  font-size: 16px;
  line-height: 24px;
}
.head {
  position: relative;
  width: 100%;
  height: 80px;
  background: #fff;
}
.head .logo {
  margin-left: 24px;
  width: 80px;
  height: 80px;
}
.banner {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 340px;
  margin-bottom: -70px;
}
.form {
  font-size: 0;
  background: #fff;
  border-radius: 4px;
}
.form-title {
  font-size: 26px;
  font-weight: 700;
  line-height: 42px;
  font-family: 'KingPowerHeadline-Regular';
}
.split-line {
  margin: 32px 0 8px;
  width: 100%;
  height: 0;
  border-bottom: 1px solid #c7d3e1;
}
.form-item {
  position: relative;
  flex-direction: column;
}
.form-item .label {
  font-size: 12px;
  line-height: 18px;
  margin-bottom: 4px;
  color: #25303c;
}
.form-item .warning {
  position: absolute;
  left: 5px;
  bottom: -20px;
  line-height: 15px;
  font-size: 12px;
  color: #c5312f;
}
.form-item .mobile-wrap {
  display: flex;
}
.form-item.other-category {
  width: 100%;
}
.input,
.textarea {
  padding: 12px 16px;
  font-size: 16px;
  box-sizing: border-box;
  border: 1px solid #c7d3e1;
  border-radius: 8px;
  font-family: 'KingPowerText-Regular';
}
.input {
  height: 48px;
}
.textarea {
  resize: none;
}
.textarea::placeholder {
  color: #5f7082;
}
.input.mobile {
  flex: 1;
  min-width: 100px;
}
.mobile-select,
.subject-select,
.category-select,
.branch-select,
.country-select {
  position: relative;
  height: 48px;
  padding: 12px 16px;
  font-size: 16px;
  color: #5f7082;
  box-sizing: border-box;
  border: 1px solid #c7d3e1;
  border-radius: 8px;
  font-family: 'KingPowerText-Regular';
}
.mobile-select {
  margin-right: 16px;
}
.mobile-select .placeholder,
.subject-select .placeholder,
.category-select .placeholder,
.branch-select .placeholder,
.country-select .placeholder {
  pointer-events: none;
  overflow-x: hidden;
  white-space: nowrap;
  width: 92%;
}
.mobile-select .placeholder {
  margin-right: 23px;
  min-width: 50px;
}
.mobile-select .placeholder::after,
.subject-select .placeholder::after,
.category-select .placeholder::after,
.branch-select .placeholder::after,
.country-select .placeholder::after {
  content: '';
  position: absolute;
  top: 18px;
  right: 23px;
  width: 7px;
  height: 7px;
  border: 2px solid #b0bfd0;
  border-top: none;
  border-right: none;
  transform: rotate(-45deg);
}
.mobile-list,
.subject-list,
.category-list,
.branch-list,
.country-list {
  display: none;
  position: absolute;
  top: 56px;
  right: -1px;
  left: -1px;
  list-style: none;
  padding: 8px;
  border-radius: 8px;
  border: 1px solid #c7d3e1;
  background: #fff;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.12), 0px 8px 24px -4px rgba(0, 0, 0, 0.12);
  z-index: 1;
}
.mobile-list,
.branch-list,
.country-list {
  height: 320px;
  overflow-y: auto;
}
.scroll-ul {
  position: absolute;
  left: 8px;
  right: 16px;
  max-height: 320px;
  overflow-y: auto;
}
.scroll-ul::-webkit-scrollbar {
  width: 8px;
}
.scroll-ul::-webkit-scrollbar-thumb {
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.12);
}
.mobile-list .item,
.subject-list .item,
.category-list .item,
.branch-list .item {
  padding: 8px;
  border-radius: 6px;
  font-weight: 400;
  line-height: 24px;
  color: #25303c;
}
.mobile-list .item.selected,
.subject-list .item.selected,
.category-list .item.selected,
.branch-list .item.selected,
.country-list .item.selected {
  background: #f0f3f7;
}
.terms-wrap {
  margin: 24px 0;
}
.terms-wrap .terms-item {
  display: flex;
  align-items: center;
}
.terms-wrap .terms-item .terms {
  display: none;
}
.terms-wrap .terms-item .terms + label {
  position: relative;
  flex: 0 0 16px;
  height: 16px;
  border: 1px solid #ccc;
  box-sizing: border-box;
  border-radius: 2px;
}
.terms-wrap .terms-item .terms:checked + label {
  background: #0b56a4;
  border-color: #0b56a4;
}
.terms-wrap .terms-item .terms:checked + label::after {
  content: '';
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(40deg);
  width: 4px;
  height: 8px;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
}
.terms-wrap .terms-item .terms-label {
  margin-left: 8px;
  color: rgba(0, 0, 0, 0.8);
  font-size: 14px;
  line-height: 22px;
}
.terms-label .link {
  color: #0b56a4;
  text-decoration: none;
}
.btn-wrap .btn {
  height: 40px;
  padding: 9px 12px;
  background: #fff;
  border: 1px solid #c7d3e1;
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0px 0px 1px 0px rgba(0, 0, 0, 0.12), 0px 2px 4px -4px rgba(0, 0, 0, 0.06);
  color: #25303c;
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  letter-spacing: 0.28px;
  font-family: 'KingPowerHeadline-Regular';
}
.btn-wrap .btn.submit {
  background: #0b56a4;
  color: #fff;
  border-color: #0b56a4;
}
.btn-wrap .btn.disabled {
  border-color: rgba(25, 85, 153, 0.11);
  background: rgba(25, 85, 153, 0.03);
  color: #d9e2ed;
}
.cookie {
  background: #fff;
}
.footer {
  margin-top: 150px;
  padding: 16px;
  background: #fff;
  color: #b0bfd0;
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}
.footer .foot-link {
  position: relative;
  margin-left: 25px;
  text-decoration: none;
  color: inherit;
}
.footer .foot-link::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -12px;
  transform: translateY(-50%);
  width: 0;
  height: 12px;
  border-left: 1px solid #c7d3e1;
  box-sizing: border-box;
  border-radius: 0.5px;
}
.item, .search-item {
  padding: 8px;
  cursor: pointer;
}
.item:hover {
  background-color: #f4f4f4;
}

.search-input {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
  /* border: none; */
  border: 1px solid #c7d3e1;
  font-family: 'KingPowerText-Regular';
  color: #5f7082;
  font-size: 16px;
}
@media screen and (min-width: 700px) {
  .banner {
    background-size: 100%;
  }
}
@media screen and (min-width: 721px) {
  .banner {
    background-image: url(../images/header-customer_image_desktop@3x.jpg);
    background-image: image-set(url(../images/header-customer_image_desktop.jpg) 1x, url(../images/header-customer_image_desktop@2x.jpg) 2x, url(../images/header-customer_image_desktop@3x.jpg) 3x);
    background-image: -webkit-image-set(url(../images/header-customer_image_desktop.jpg) 1x, url(../images/header-customer_image_desktop@2x.jpg) 2x, url(../images/header-customer_image_desktop@3x.jpg) 3x);
  }
  .form {
    padding: 40px;
    margin: 0 auto;
    max-width: 80%;
  }
  .form-item {
    display: inline-flex;
    margin: 24px 16px 0 0;
    width: calc(50% - 8px);
  }
  .form-item.last-name,
  .form-item.email,
  .form-item.category,
  .form-item.passport {
    margin-right: 0;
  }
  .form-item.branch,
  .form-item.description {
    width: 100%;
    margin-right: 0;
  }
  .btn-wrap {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0 50px;
  }
  .cookie {
    margin: -23px 0 19px;
    height: 49px;
    box-shadow: 0px -8px 24px -4px rgba(0, 0, 0, 0.12);
  }
  .footer {
    height: 18px;
  }
}
@media screen and (max-width: 720px) {
  .banner {
    background-image: url(../images/header-customer_image_tablet-mobile@3x.jpg);
    background-image: image-set(url(../images/header-customer_image_tablet-mobile.jpg) 1x, url(../images/header-customer_image_tablet-mobile@2x.jpg) 2x, url(../images/header-customer_image_tablet-mobile@3x.jpg) 3x);
    background-image: -webkit-image-set(url(../images/header-customer_image_tablet-mobile.jpg) 1x, url(../images/header-customer_image_tablet-mobile@2x.jpg) 2x, url(../images/header-customer_image_tablet-mobile@3x.jpg) 3x);
  }
  .form {
    padding: 40px 16px;
  }
  .form-item {
    display: flex;
    margin: 24px 0;
  }
  .form-item.other-category {
    margin: 0;
  }
  .btn-wrap {
    display: flex;
    flex-direction: column-reverse;
  }
  .btn-wrap .btn.submit {
    margin-bottom: 16px;
  }
  .cookie {
    margin: 32px 0 15px;
    min-height: 166px;
  }
  .footer .copyright {
    display: block;
  }
  .footer .foot-link.first {
    margin-left: 0;
  }
  .footer .foot-link.first::before {
    content: none;
  }
}
@media screen and (max-width: 400px) {
  .mobile-select .placeholder,
  .subject-select .placeholder,
  .category-select .placeholder,
  .branch-select .placeholder,
  .country-select .placeholder{
    width: 90%;
  }
}
