modalParts.css 7.38 KB
.modal-parts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 1030px;
  width: 100%;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.24);
          box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  position: absolute;
  top: 15%;
  left: 20%;
  margin: 0 auto;
  z-index: 101;
}
.modal-parts__hidden {
  display: none;
}
.modal-parts__close {
  position: relative;
  cursor: pointer;
}
.modal-parts__close:after {
  position: absolute;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_314_26000)'%3E%3Cpath d='M4 40L0 36L16 20L0 4L4 0L20 16L36 0L40 4L24 20L40 36L36 40L20 24L4 40Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_314_26000'%3E%3Crect width='40' height='40' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 40px;
  height: 40px;
  top: -42px;
  right: -38px;
}

.modal-parts-content {
  padding: 40px 37px 40px 65px;
  color: #333B49;
}
.modal-parts-content__title {
  font-weight: 700;
  font-size: 48px;
  line-height: 100%;
}

.modal-parts-model {
  margin-top: 7px;
  font-size: 16px;
  line-height: 22px;
}
.modal-parts-model__link {
  color: #F5851A;
}

.modal-parts-content-form {
  margin-top: 28px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.parts-content-form-top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
}

.parts-content-form-top-line-one {
  margin-right: 100px;
  -ms-flex-preferred-size: 400px;
      flex-basis: 400px;
  max-height: 268px;
  height: 100%;
}

.parts-content-form-top-line-two {
  -ms-flex-preferred-size: 430px;
      flex-basis: 430px;
  max-height: 268px;
  height: 100%;
}

.parts-content-form-bottom {
  max-width: 427px;
  width: 100%;
}
.parts-content-form-bottom__par {
  font-size: 14px;
  line-height: 16px;
  color: #ABB2BF;
}
.parts-content-form-bottom__button {
  background: #F5851A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
  color: #FFFFFF;
  border: 1px solid #F5851A;
  cursor: pointer;
  width: 100%;
  height: 60px;
  margin-top: 10px;
}
.parts-content-form-bottom__button:hover {
  border: 1px solid #F2994A;
  background-color: #FFFFFF;
  color: #F2994A;
  border-radius: 9.375px;
  font-weight: 600;
  font-style: normal;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
}

.form__label {
  font-weight: 600;
  font-size: 16px;
  line-height: 22px;
  color: #333B49;
  margin-bottom: 16px;
}
.form__label .required {
  color: #F2994A;
}
.form__label-question {
  max-width: 428px;
  width: 100%;
}
.form__label-file {
  display: inline-block;
  cursor: pointer;
  width: 400px;
  position: relative;
  border-bottom: 1px solid #ABB2BF;
  padding-bottom: 45px;
}
.form__label-file .svg-file {
  position: absolute;
  width: 14px;
  height: 22px;
  top: 38px;
  left: 0;
  cursor: pointer;
}
.form__label-file .choose-file {
  position: absolute;
  font-size: 16px;
  line-height: 22px;
  font-weight: 400;
  color: #ABB2BF;
  top: 40px;
  left: 24px;
}

.form-input {
  border: none;
  border-bottom: 1px solid #ABB2BF;
  height: 30px;
  margin-bottom: 32px;
  width: 400px;
  margin-top: 16px;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
}

::-webkit-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ABB2BF;
  opacity: 1;
}

::-moz-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ABB2BF;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ABB2BF;
  opacity: 1;
}

::-ms-input-placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ABB2BF;
  opacity: 1;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #ABB2BF;
  opacity: 1;
}

:-ms-input-placeholder {
  /* Internet Explorer 10-11 */
  color: #ABB2BF;
}

::-ms-input-placeholder {
  /* Microsoft Edge */
  color: #ABB2BF;
}

#file {
  display: none;
}

.form__question {
  resize: none;
  height: 129px;
  margin-bottom: 29px;
}

.modal-checkboxes {
  -ms-flex-item-align: start;
      align-self: start;
  font-size: 14px;
  line-height: 16px;
  letter-spacing: -0.01em;
  color: #636B78;
  margin-bottom: 31px;
  height: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.modal-checkboxes__title {
  margin-right: 20px;
}
.modal-checkboxes .label-checkbox {
  display: block;
  position: relative;
  cursor: pointer;
  padding-left: 23px;
  padding-right: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
.modal-checkboxes .label-checkbox .input-checkbox {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.modal-checkboxes .label-checkbox .checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 14px;
  width: 14px;
  background-color: #fff;
  border: 1px solid #ABB2BF;
  border-radius: 3px;
}
.modal-checkboxes .label-checkbox input:checked ~ .checkmark {
  background-color: #ABB2BF;
  background: #ABB2BF;
}

.modal-parts__overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 59, 73, 0.8);
  z-index: 100;
  overflow: hidden;
}
.modal-parts__overlay__hidden {
  display: none;
}

.order-parts {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  max-width: 1030px;
  width: 100%;
  background: #FFFFFF;
  -webkit-box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.24);
          box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.24);
  border-radius: 10px;
  position: absolute;
  top: 15%;
  left: 20%;
  margin: 0 auto;
  z-index: 101;
}
.order-parts .modal-parts__close {
  position: relative;
  cursor: pointer;
}
.order-parts .modal-parts__close:after {
  position: absolute;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_314_26000)'%3E%3Cpath d='M4 40L0 36L16 20L0 4L4 0L20 16L36 0L40 4L24 20L40 36L36 40L20 24L4 40Z' fill='white'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_314_26000'%3E%3Crect width='40' height='40' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: cover;
  width: 40px;
  height: 40px;
  top: -42px;
  right: -38px;
}

.order-parts__overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 59, 73, 0.8);
  z-index: 100;
  overflow: hidden;
}