.mortgage-main h2,
.mortgage-main h3,
.mortgage-main strong {
  font-family: 'Soyuz Grotesk', sans-serif;
  font-weight: 700;
  line-height: 100%;
  text-transform: uppercase;
}

.mortgage-main small,
.mortgage-main p,
.mortgage-main span,
.first-months {
  font-family: 'Helvetica Neue', sans-serif;
}

.mortgage-main {
  background: rgba(255, 255, 255, 1);
  padding: 80px 0;
}

i {
  transition: 0.3s;
  display: flex;
}

.mortgage-main h2 {
  font-size: 68px;
  color: rgba(20, 20, 20, 1);
}

.mortgage-main h3 {
  font-size: 48px;
  color: rgba(26, 26, 26, 1);
}

.btn-calc {
  background: rgba(53, 168, 223, 1);
  max-width: 179px;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 1);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: 'Soyuz Grotesk', sans-serif;
}
.btn-calc:hover {
  opacity: 0.7;
}
.btn:hover {
  background: unset;
}

.calculate-mortgage {
  margin-top: 48px;
}

.calculate-box {
  width: 100%;
}
.calculate-box-wrap {
  gap: 80px 50px;
  width: 100%;
}

.calculate-menu small,
.filter-block small {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  font-family: 'Soyuz Grotesk', sans-serif;
  color: rgba(51, 51, 51, 0.5);
}

.calculate-menu-click {
  background: #ffffff;
  width: 100%;
  padding: 0 25px 13px 0;
  position: relative;
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  transition: 0.3s;
  cursor: pointer;
  gap: 16px;
  border-bottom: 1px solid rgba(51, 51, 51, 0.5);
}

.calculate-menu-click span,
.calculate-menu-click div {
  font-family: 'Soyuz Grotesk', sans-serif;
  background: rgba(51, 51, 51, 0.1);
  width: max-content;
  gap: 8px;
  padding: 8px 16px;
  font-weight: 700;
  font-size: 18px;
  line-height: 98%;
  color: rgba(51, 51, 51, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.calculate-menu-click:after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 24px;
  height: 24px;
  transition: 0.3s;
  background-image: url('../img/arrows-sel.svg');
}

.close-calc-filter {
  content: url('../img/close-filter.svg');
  width: 14px;
  height: 14px;
}

.calculate-menu-drop {
  background: #ffffff;
  border: 1px solid #e9e9e9;
  width: 100%;
  padding: 1rem;
  position: absolute;
  left: 0;
  top: 5.125rem;
  z-index: 111;
  display: none;
}

.calculate-menu-act .calculate-menu-drop {
  display: block;
}

.calculate-menu-drop li {
  padding: 10px 12px;
  color: rgba(51, 51, 51, 1);
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  gap: 0.5rem;
  display: flex;
  align-items: center;
  margin-bottom: 3px;
  font-family: 'Soyuz Grotesk', sans-serif;
}

.calculate-menu-drop .calculate-sel {
  background: #ffffff;
  color: rgba(51, 51, 51, 1);
}
.calc-percent {
  margin-top: -33px;
}
.calc-percent ul {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.calc-percent li {
  border: 1px solid rgba(51, 51, 51, 0.1);
  padding: 11px 5px;
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: rgba(51, 51, 51, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  width: 77px;
  transition: 0.3s;
  font-family: 'Soyuz Grotesk', sans-serif;
  cursor: pointer;
}
.calc-percent .calc-percent-act {
  border: 1px solid rgba(51, 51, 51, 0.5);
}

.reset-filters {
  font-family: 'Soyuz Grotesk', sans-serif;
  color: rgba(20, 20, 20, 1);
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  gap: 8px;
  box-shadow: 0px 4px 30px 0px rgba(255, 255, 255, 0.69);
  width: max-content;
  cursor: pointer;
  transition: 0.3s;
}
.range-row {
  display: flex;
  gap: 0.75rem;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  position: relative;
}
.range-value {
  position: absolute;
  top: -43px;
  left: 0;
  white-space: nowrap;
}
.range-value span {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  color: rgba(20, 20, 20, 1);
}

.range-wrap input[type='range'] {
  width: 100%;
}

.range-value input {
  font-weight: 700;
  font-size: 14px;
  line-height: 100%;
  color: rgba(20, 20, 20, 1);
  display: flex;
  align-items: center;
  min-width: 40px;
  width: auto;
  border: none;
  background: transparent;
  text-align: center;
}
.range-value--split {
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: auto;
  transform: none;
}
.range-value--split input {
  text-align: left;
  min-width: 12rem;
}
.range-value--split .range-percent {
  position: static;
  top: auto;
  right: auto;
  font-weight: 400;
  color: rgba(20, 20, 20, 0.45);
  flex-shrink: 0;
}
.range-percent {
  position: absolute;
  right: 1rem;
  top: 1.25rem;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 100%;
  text-align: right;
  color: #4f4f4f66;
}
.range-wrap {
  width: 100%;
  display: flex;
  position: relative;
  margin-top: 51px;
}
input[type='range'] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: rgba(51, 51, 51, 0.5);
}
input[type='range']::-webkit-slider-thumb {
  appearance: none;
  -webkit-appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-top: -2px;
  cursor: pointer;
  background-image: url('../img/range-thmb.svg');
}
input[type='range']::-moz-range-thumb {
  appearance: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url('../img/range-thmb.svg');

  cursor: pointer;
}

.checkbox-calc {
  height: 20px;
  max-width: 20px;
  width: 100%;
  background-color: unset;
  border: 1px solid rgba(20, 20, 20, 1);
  border-radius: 2px;
  position: relative;
  transition: 0.3s;
  display: flex;
}

.checkbox-calc:after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid rgba(20, 20, 20, 1);
  border-width: 0 2px 2px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  opacity: 0;
  transition: 0.3s;
}

.calculate-sel .checkbox-calc:after {
  opacity: 1;
}

.filter-block {
  width: calc(33.333333% - 34px);
}

.calculate-menu {
  position: relative;
  width: calc(33.333333% - 34px);
}

.calculate-mort-block {
  width: 100%;
  margin-top: 40px;
}

.calculate-mort-main {
  width: 100%;
  display: flex;
  gap: 1.5rem;
  height: 100%;
}

.calculate-mort-none {
  display: none;
}

.view-options-act .view-options-btn {
  display: none;
}

.view-options-act .compare-btn {
  display: flex;
}

.calculate-standard-wrap {
  width: 100%;
  gap: 1.5rem;
  align-items: flex-start;
}

.mortgageLoader {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.mortgageEmptyResult {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 24px;
  flex-direction: column;
  padding-left: 150px;
  padding-right: 150px;
}
.mortgageEmptyResult span {
  color: #6f6f6f;
  font-weight: 400;
  font-size: 18px;
  line-height: 110%;
  text-align: center;
}

.mortageFilterButton .showMortageCompare {
  display: none;
}

.family-mortgage-coll {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.family-mortgage {
  width: calc(50% - 14px);
  gap: 32px;
  padding: 32px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  background: rgba(51, 51, 51, 0.1);
}

.bid-mortg {
  position: absolute;
  top: 32px;
  right: 32px;
  width: max-content;
  white-space: nowrap;
  padding: 8px 12px;
  background: rgba(53, 168, 223, 0.5);
  font-family: 'Soyuz Grotesk', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  color: rgba(20, 20, 20, 1);
}

.family-mortgage h3 {
  width: 100%;
  max-width: 582px;
}

.family-mortgage-cnt {
  gap: 2.5rem;
}

.mortgage-price {
  gap: 12px;
  justify-content: space-between;
}

.mortgage-price p {
  font-weight: 300;
  font-size: 24px;
  line-height: 100%;
  transition: 0.3s;
  color: rgba(104, 104, 104, 1);
}

.mortgage-price strong {
  color: rgba(53, 168, 223, 1);
  transition: 0.3s;
  font-size: 48px;
}

.small-variant .family-mortgage-icons {
  background: rgba(26, 26, 26, 1);
  padding: 0.375rem;
  border-radius: 50%;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.small-variant .icon-arrow-top {
  width: 0.875rem;
  height: 0.875rem;
  content: url(../img/arrow-top-white.svg);
}
.icon-arrow-top {
  width: 24px;
  height: 24px;
  content: url('../img/arrow-top.svg');
}
.family-mortgage-flex {
  margin-top: 125px;
}

.family-mortgage-logos {
  gap: 0.5rem;
}

.family-mortgage-photo {
  width: 48px;
}

.family-mortgage-photo img {
  border-radius: 0.6875rem;
  width: 100%;
}

.mortgage-count {
  width: 48px;
  height: 48px;
  border-radius: 0.6875rem;
  background: #ffffff;
}

.mortgage-count span {
  color: #686868;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 100%;
}

.family-mortgage-price {
  gap: 1.125rem;
  margin-top: 1.125rem;
}

.family-mortgage-price span {
  color: rgba(104, 104, 104, 1);
  font-weight: 300;
  font-size: 18px;
  line-height: 100%;
  text-align: left;
}

.filters-found-flex {
  gap: 1.5rem;
  margin-top: 40px;
}
.mortageFilterButton {
  gap: 1rem;
}
.mortageFilterButton .btn-calc {
  max-width: max-content;
}

.mortgage-list {
  gap: 24px;
  height: 100%;
}

.mortgage-list.mortgage-list-show {
  display: flex;
  flex-wrap: wrap;
}

.mortgage-table {
  display: none;
}

.mortgage-table.mortgage-table-show {
  display: block;
}

.calculate-standard-name {
  gap: 0.5rem;
}

.calculate-standard-name img {
  max-width: 3rem;
  width: 100%;
}

.calculate-standard-name h4 {
  color: #1a1a1a;
  font-weight: 600;
  font-size: 1rem;
  line-height: 100%;
  text-align: left;
}

.selected-none {
  display: none;
}

.mort-bank-card {
  margin-top: 40px;
}

.bank-card-fon {
  background: rgba(255, 255, 255, 1);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 1);
}
.mort-bank-card .bank-act-drop:after {
  display: none;
}

.subsidy-mortgage {
  max-width: 300px;
  width: 100%;
  gap: 16px;
  padding-top: 15px;
}
.subsidy-mortgage img {
  width: 100%;
  max-width: 48px;
  height: 48px;
  border-radius: 50%;
}
.subsidy-mortgage-bank span {
  color: rgba(20, 20, 20, 1);
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
}
.subsidy-mortgage-name {
  background: rgba(79, 79, 79, 0.1);
  border: 1px solid rgba(79, 79, 79, 0.2);
  padding: 4px 12px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(79, 79, 79, 1);
  margin-top: 10px;
}
.bank-card-items {
  gap: 32px;
  width: 100%;
}
.subsidy-mortgage-flex {
  gap: 56px;
  max-width: 1053px;
  width: 100%;
}
.mortgage-scr-max {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.subsidy-mort-count p {
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(79, 79, 79, 0.4);
  margin-bottom: 8px;
}
.subsidy-mort-count span {
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  color: rgba(20, 20, 20, 1);
}
.subsidy-mobs {
  display: none;
}

.bank-card-btn {
  max-width: 215px;
  width: 100%;
}
.mort-bank-card .bank-card-items {
  gap: 1.5rem;
}
.bank-card-col {
  gap: 0.75rem;
}
.subsidized-rate-text {
  margin-top: 4px;
}
.subsidized-rate-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: rgba(79, 79, 79, 0.4);
}
.fill-out-form {
  font-family: 'Soyuz Grotesk';
  font-weight: 700;
  font-size: 18px;
  line-height: 130%;
  transition: 0.3s;
  background: unset;
  color: rgba(20, 20, 20, 1);
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(20, 20, 20, 1);
}
.open-bank-card {
  max-width: 36px;
  width: 100%;
  height: 36px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.arrow-right-sm {
  content: url('../img/arrow-right-sm.svg');
  margin-top: 6px;
}

.arrow-down {
  content: url('../img/arrow-down.svg');
  width: 20px;
  height: 20px;
  transform: rotate(-180deg);
}
.bank-card-opened .open-bank-card i {
  transform: rotate(-360deg);
}
.subsidy-mort-center {
  gap: 1rem;
}
.first-months {
  margin-top: 8px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid rgba(51, 51, 51, 0.5);
  padding: 8px 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  color: rgba(20, 20, 20, 1);
}
.first-months-one {
  border: 1px solid rgba(51, 51, 51, 0.1);
  color: rgba(79, 79, 79, 1);
}

.bank-card-bord {
  border-top: 1px solid rgba(79, 79, 79, 0.1);
  padding: 1rem 0;
}

.bank-card-drop {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  position: relative;
  top: 0.9375rem;
}

.bank-card-box.bank-card-opened .bank-card-drop {
  max-height: 31.25rem;
  overflow: visible;
}

@media (max-width: 1599px) {
  .mortgage-main h2 {
    font-size: 55px;
  }
  .mortgage-main {
    padding: 60px 0;
  }
  .mortgage-price strong {
    font-size: 40px;
  }

  .calculate-box-wrap {
    gap: 60px 24px;
    width: 100%;
  }
  .mortgage-price p {
    font-size: 20px;
  }
  .filter-block {
    width: calc(33.333333% - 16px);
  }

  .calculate-menu {
    position: relative;
    width: calc(33.333333% - 16px);
  }
  .mortgage-main h3 {
    font-size: 36px;
  }
  .family-mortgage h3 {
    max-width: 400px;
  }
}
@media (max-width: 1399px) {
  .bid-mortg {
    right: 24px;
    font-size: 18px;
  }
  .calculate-menu-click span,
  .calculate-menu-click div {
    gap: 6px;
    padding: 8px 12px;
    font-size: 16px;
  }
  .close-calc-filter {
    width: 12px;
    height: 12px;
  }
  .calculate-menu-drop {
    padding: 8px;
    top: 75px;
  }
  .calculate-menu-drop li {
    padding: 6px 12px;
    font-size: 16px;
  }

  .subsidy-mortgage-flex {
    gap: 32px;
  }
  .subsidy-mortgage {
    max-width: 266px;
  }
  .filter-block {
    width: calc(50% - 16px);
  }

  .calculate-menu {
    position: relative;
    width: calc(50% - 16px);
  }
  .family-mortgage {
    padding: 24px;
  }
}

@media (max-width: 1299px) {
  .family-mortgage h3 {
    max-width: 250px;
    font-size: 32px;
  }
  .family-mortgage-flex {
    margin-top: 80px;
  }
  .mort-bank-card .bank-card-items {
    gap: 1rem 1rem;
  }
  .subsidy-mort-center div:nth-child(3) {
    display: none;
  }
  .arrow-right-sm {
    display: none;
  }
  .subsidy-mortgage-flex {
    gap: 1.5rem;
    width: 100%;
    justify-content: space-between;
  }
  .first-months {
    display: none;
  }

  .mort-bank-card .bank-card-btn .btn {
    padding: 0.7rem 1rem;
    font-size: 0.82rem;
  }
  .bank-card-col {
    gap: 0.5rem;
  }

  .bank-card-fon {
    padding: 1rem 1rem;
  }

  .subsidy-mortgage {
    max-width: 217px;
    padding-top: 3px;
  }

  .subsidy-mortgage-bank span {
    font-size: 16px;
    line-height: 19px;
  }
  .subsidy-mortgage-name {
    padding: 4px 10px;
    font-size: 14px;
    line-height: 19px;
    margin-top: 9px;
  }
  .subsidy-mortgage-flex {
    max-width: 403px;
  }
  .fill-out-form {
    font-size: 16px;
    line-height: 121%;
    padding-bottom: 3px;
  }
  .btn-calc {
    padding: 12px 15px;
    font-size: 16px;
  }
  .bank-card-btn {
    max-width: 199px;
    width: 100%;
  }

  .mortgage-main h2 {
    font-size: 50px;
  }
  .filter-block {
    width: calc(50% - 12px);
  }
  .calculate-menu {
    width: calc(50% - 12px);
  }
}
@media (max-width: 1020px) {
  .mortgage-scr-max {
    gap: 24px;
  }
  .family-mortgage {
    padding: 20px;
    gap: 18px;
  }
  .calculate-menu small,
  .filter-block small {
    font-size: 15px;
    line-height: 120%;
  }
  .mortgage-main h2 {
    font-size: 40px;
  }
  .calculate-mortgage {
    margin-top: 32px;
  }
  .calculate-menu-click {
    font-size: 16px;
    gap: 10px;
  }
  .calc-percent li {
    padding: 9px 5px;
    font-size: 16px;
    line-height: 126%;
    width: 65px;
  }

  .mort-bank-card .bank-card-items {
    flex-wrap: wrap;
  }
  .mort-bank-card .bank-card-btn {
    max-width: 100%;
    justify-content: space-between;
  }
  .open-bank-card {
    max-width: 32px;
    height: 32px;
    border: 1px solid rgba(20, 20, 20, 1);
    border-radius: 50%;
    padding-top: 3px;
  }

  .subsidy-mort-count span {
    font-size: 16px;
  }
  .family-mortgage {
    width: 100%;
    max-width: 780px;
  }
  .subsidy-mortgage {
    max-width: 15rem;
    gap: 0.8rem;
    padding-top: 0;
  }
  .mort-bank-card .bank-card-items {
    gap: 1.5rem 1rem;
  }
  .subsidized-rate-text p {
    font-size: 0.705rem;
    line-height: 1rem;
  }
  .subsidized-rate-text {
    margin-top: 10px;
  }
}
@media (max-width: 767px) {
  .filter-block {
    width: 100%;
  }
  .calculate-menu {
    width: 100%;
  }
  .calculate-box-wrap {
    gap: 32px 24px;
    padding: 0 9px 0 0;
  }
  input[type='range']::-webkit-slider-thumb {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  input[type='range']::-moz-range-thumb {
    width: 32px;
    height: 32px;
    background-size: cover;
    background-repeat: no-repeat;
  }
  .range-value {
    top: -36px;
  }
  .range-wrap {
    margin-top: 40px;
  }

  .mortgage-main {
    padding: 40px 0;
  }
  .calc-percent {
    margin-top: -3px;
  }
  .subsidy-mortgage-name {
    padding: 4px 10px;
    font-size: 13px;
    line-height: 15px;
    margin-top: 5px;
  }
  .family-mortgage h3 {
    max-width: 312px;
    font-size: 27px;
  }
  .bid-mortg {
    right: 20px;
    font-size: 16px;
    top: 20px;
    padding: 6px 9px;
  }

  .fill-out-form {
    display: none;
  }
  .mort-bank-card .bank-card-items {
    gap: 16px 1rem;
  }

  .subsidy-mort-count p {
    font-size: 14px;
    line-height: 18px;
    margin-bottom: 3px;
  }
}
@media (max-width: 570px) {
  .mortgage-main h2 {
    font-size: 32px;
  }
  .calc-percent {
    margin: 0 auto;
  }
  .calculate-menu-click span,
  .calculate-menu-click div {
    padding: 7px 9px;
    font-size: 14px;
  }
  .calculate-menu-click:after {
    width: 18px;
    height: 18px;
  }
  .family-mortgage h3 {
    max-width: 190px;
    font-size: 24px;
  }
  .bid-mortg {
    font-size: 14px;
    padding: 5px 9px;
  }
  .mortgage-price strong {
    font-size: 32px;
  }

  .mortgage-price p {
    font-size: 16px;
  }
  .mortgage-price {
    gap: 6px;
  }

  .family-mortgage-coll {
    margin-top: 28px;
    gap: 30px;
  }
  .family-mortgage-flex {
    margin-top: 50px;
  }
  .family-mortgage {
    padding: 20px 16px;
  }
  .family-mortgage-logos {
    gap: 5px;
  }

  .mortgage-count {
    width: 100%;
    height: 34px;
    border-radius: 7px;
    background: #ffffff;
    max-width: 34px;
  }
  .mortgage-count span {
    font-size: 1.1rem;
  }
  .reset-filters {
    font-size: 16px;
    margin-left: auto;
  }
  .filters-found-flex {
    gap: 1rem;
    margin-top: 28px;
    flex-direction: column-reverse;
    width: 100%;
  }
  .icon-arrow-top {
    width: 18px;
    height: 18px;
  }
  .family-mortgage-price span {
    font-size: 16px;
  }
  .bank-card-fon {
    padding: 1rem 0;
  }
  .calculate-menu-drop li {
    padding: 6px 8px;
  }
  .btn-calc {
    font-size: 15px;
  }
}

.modal-overlay {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  transition: 0.6s;
  background: #00000066;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.fancybox__container #submit-application.modal-overlay,
.fancybox__content #submit-application.modal-overlay {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
  height: auto;
  opacity: 1;
  visibility: visible;
  display: block;
  transform: none;
  background: transparent;
}

.fancybox__container #submit-application .modal-form-main,
.fancybox__content #submit-application .modal-form-main {
  box-shadow: none;
}

#submit-application .modal-form-main {
  max-width: 1130px;
  width: 100%;
  padding: 48px;
  background: #ffffff;
  box-shadow: 4px 4px 30px 0px #00000026;
  margin: 0 auto;
}

#submit-application .modal-form-main h3 {
  text-align: center;
  font-weight: 700;
  font-size: 32px;
  line-height: 100%;
  color: #000000;
  margin-bottom: 24px;
  font-family: 'Soyuz Grotesk', sans-serif;
}

#submit-application .modal-inp {
  margin-bottom: 16px;
  width: 100%;
  position: relative;
}

#submit-application .required-field {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 100%;
  text-align: right;
  color: #009fe3b2;
  position: absolute;
  top: 19px;
  right: 16px;
}

#submit-application .modal-inp label {
  display: flex;
  width: 100%;
}

#submit-application .modal-inp input {
  width: 100%;
  transition: 0.3s;
  height: 56px;
  padding: 16px 16px 16px 24px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 1);
  border: 1px solid #4f4f4f1a;
  font-weight: 400;
  font-size: 18px;
  line-height: 100%;
  color: #000000;
}

#submit-application .modal-inp input::placeholder {
  color: #6f6f6f;
}

#submit-application .modal-inp input:hover {
  border: 1px solid #009fe3b2;
}

#submit-application .frame-select {
  max-width: 100%;
}

#submit-application .check-form {
  margin-top: 16px;
  width: 100%;
}

#submit-application .check-form label {
  display: block;
  position: relative;
  padding-left: 28px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  max-width: 700px;
  width: 100%;
}

#submit-application .check-form label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

#submit-application .check-form label small {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 100%;
  font-weight: 400;
  color: #000000;
}

#submit-application .check-form label small a {
  color: #009fe3;
  display: inline;
  text-decoration: underline;
  transition: 0.3s;
}

#submit-application .check-form label small a:hover {
  text-decoration: unset;
}

#submit-application .checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  border: 1px solid #4f4f4f1a;
  border-radius: 4px;
}

#submit-application .check-form label input:checked ~ .checkmark {
  background: #1ea6de;
  border: 1px solid #1ea6de;
}

#submit-application .check-form label .checkmark:after {
  content: '';
  position: absolute;
  display: none;
  left: 6px;
  top: 1px;
  width: 5px;
  height: 10px;
  border: solid rgba(255, 255, 255, 1);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

#submit-application .check-form label input:checked ~ .checkmark:after {
  display: block;
}

#submit-application .btn-submit.disabled {
  pointer-events: none;
  background: #d6d6d6;
}

#submit-application .submit-request-flex {
  display: flex;
  gap: 32px;
}

#submit-application .parts-frame {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#submit-application .parts-frame-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-bottom: 8px;
  border-bottom: 1px solid #4f4f4f1a;
}

#submit-application .parts-frame-count p {
  font-family: 'Helvetica Neue', sans-serif;
  font-weight: 300;
  font-size: 18px;
  line-height: 26px;
  color: #00000080;
}

#submit-application .parts-frame-count span {
  font-family: 'Soyuz Grotesk', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 26px;
  text-align: right;
}

#submit-application .submit-request-tab {
  background: rgba(239, 239, 239, 1);
  max-width: 400px;
  width: 100%;
  border-radius: 24px;
  padding: 32px;
}

#submit-application .submit-request-mod {
  max-width: 606px;
  width: 100%;
}

#submit-application input.error {
  border: 1px solid rgba(243, 10, 10, 1) !important;
}

#submit-application .check-form input.error + .checkmark {
  border: 1px solid rgba(243, 10, 10, 1) !important;
}

#submit-application .btn-sp {
  width: 100%;
  margin-top: 32px;
  height: 48px;
  padding: 12px 24px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: #ffffff;
  text-align: center;
  font-weight: 700;
  font-size: 16px;
  line-height: 100%;
  background: #009fe3;
}

@media (max-width: 1360px) {
  #submit-application .modal-form-main {
    max-width: 540px;
    padding: 32px 28px;
  }
}

@media (max-width: 1275px) {
  #submit-application .submit-request-tab {
    max-width: 340px;
    padding: 20px;
  }

  #submit-application .btn-sp {
    margin-top: 16px;
  }

  #submit-application .submit-request-flex {
    gap: 24px;
  }

  #submit-application .modal-form-main {
    max-width: 900px;
    padding: 32px 24px;
  }
}

@media (max-width: 1020px) {
  #submit-application .modal-form-main {
    border-radius: 24px 24px 0 0;
    padding: 0 16px 24px;
  }

  #submit-application .modal-form-main h3 {
    font-size: 20px;
    margin-bottom: 32px;
    text-align: left;
  }

  .modal-overlay {
    overflow-y: unset;
    padding: 0;
    align-items: flex-start;
  }

  .modal-drag-zone {
    display: flex;
    justify-content: center;
    height: 40px;
    width: 100%;
    touch-action: none;
    padding-top: 6px;
  }

  .modal-close {
    display: none;
  }

  .modal-overlay {
    display: flex;
    transform: translateY(130%);
    transition: transform 0.3s;
    opacity: 1;
    visibility: visible;
    align-items: flex-end;
  }

  .modal-overlay.active {
    transform: translateY(0%);
  }

  #submit-application .submit-request-flex {
    flex-direction: column;
    align-items: center;
    overflow-y: scroll;
    height: 400px;
    padding-right: 6px;
    margin-right: -6px;
    overflow-x: hidden;
  }

  #submit-application .submit-request-flex::-webkit-scrollbar {
    width: 4px;
    height: 4px;
    background: #0000000d;
    border-radius: 8px;
  }

  #submit-application .submit-request-flex::-webkit-scrollbar-thumb {
    width: 4px;
    height: 4px;
    background: #009fe3;
    border-radius: 8px;
  }

  #submit-application .submit-request-tab {
    max-width: 100%;
    padding: 24px 16px;
  }

  #submit-application .modal-form-main h3 {
    margin-bottom: 20px;
  }
}

@media (max-width: 570px) {
  #submit-application .parts-frame-count p {
    font-size: 15px;
    line-height: 22px;
  }

  #submit-application .parts-frame-count span {
    font-size: 16px;
    line-height: 22px;
  }

  #submit-application .modal-inp input {
    height: 56px;
    padding: 16px 16px 16px 16px;
    font-size: 16px;
  }

  #submit-application .frame-select .jq-selectbox__select-text {
    padding: 16px 16px;
    height: 56px;
    font-size: 16px;
  }

  #submit-application .frame-select .jq-selectbox:after {
    top: 20px;
    right: 19px;
    width: 8px;
    height: 8px;
  }

  #submit-application .check-form label small {
    font-size: 14.4px;
  }

  #submit-application .frame-select .opened:after {
    top: 23px;
  }

  #submit-application .btn-sp {
    margin-top: 24px;
  }
}
