/* Main */
.main {}

.main__wrapper {
  display: flex;
}

/* Back Button  */
.back__btn {
  width: 100%;
  height: 65px;
}

.back__btn a {
  float: left;
  margin: 15px 0px 0px 15px;
}

/* Main image  */
.main__img {
  width: 50%;
  padding: 30px 0px 0px 0px;
  box-sizing: border-box;
}

/* Main Form */
.main__form {
  width: 50%;
  box-sizing: border-box;
}


.mleft__btn:hover {
  background-color: #004ebe;
}

.black:hover {
  background-color: #000000;
}

.header__titlle {
  padding: 20px 0;
}

.header__titlle h1 {
  margin: 0;
  font-family: Roboto;
  font-style: normal;
  font-weight: 600;
  font-size: 24px;
  color: #000000;
}

.header__titlle h2 {
  padding: 20px 0px;
  margin: 0;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #C4C4C4;
}

input[type="checkbox"] {
  display: none;
}

.header__checkbox label {
  padding-left: 10px;
  padding-right: 80px;
}

.header__checkbox label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #434343;
  vertical-align: middle;
  margin-left: -10px;
  margin-right: 10px;
  border-radius: 15%;
  cursor: pointer;
}

.header__checkbox label {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 18px;
  line-height: 21px;
  color: #434343;
  cursor: pointer;
}

input[type='checkbox']:checked+label::before {
  background-size: 100%;
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pgo8IS0tIEdlbmVyYXRvcjogQWRvYmUgSWxsdXN0cmF0b3IgMTkuMC4wLCBTVkcgRXhwb3J0IFBsdWctSW4gLiBTVkcgVmVyc2lvbjogNi4wMCBCdWlsZCAwKSAgLS0+CjxzdmcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeD0iMHB4IiB5PSIwcHgiIHZpZXdCb3g9IjAgMCA1MTIgNTEyIiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA1MTIgNTEyOyIgeG1sOnNwYWNlPSJwcmVzZXJ2ZSIgd2lkdGg9IjUxMnB4IiBoZWlnaHQ9IjUxMnB4Ij4KPGc+Cgk8Zz4KCQk8cGF0aCBkPSJNNTA0LjUwMiw3NS40OTZjLTkuOTk3LTkuOTk4LTI2LjIwNS05Ljk5OC0zNi4yMDQsMEwxNjEuNTk0LDM4Mi4yMDNMNDMuNzAyLDI2NC4zMTFjLTkuOTk3LTkuOTk4LTI2LjIwNS05Ljk5Ny0zNi4yMDQsMCAgICBjLTkuOTk4LDkuOTk3LTkuOTk4LDI2LjIwNSwwLDM2LjIwM2wxMzUuOTk0LDEzNS45OTJjOS45OTQsOS45OTcsMjYuMjE0LDkuOTksMzYuMjA0LDBMNTA0LjUwMiwxMTEuNyAgICBDNTE0LjUsMTAxLjcwMyw1MTQuNDk5LDg1LjQ5NCw1MDQuNTAyLDc1LjQ5NnoiIGZpbGw9IiMwMDAwMDAiLz4KCTwvZz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
}

.checkbox {
  cursor: pointer;
  border: 2px solid green;
}

/* TOP Form */
.top__form {
  display: flex;
}

.top__form p {
  margin-top: 30px;
  margin-right: 40px;
  margin-bottom: 0px;
}

.top__form b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.top__form input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 140px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.disabled input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Cars form */
.cars__form {
  display: flex;
}

.cars__main p {
  margin-top: 30px;
  margin-right: 47px;
  margin-bottom: 0px;
}

.cars__main b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.cars__main input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 320px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.cars__number p {
  margin-top: 30px;
  margin-right: 40px;
  margin-bottom: 0px;
}

.cars__number b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.cars__number input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 140px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

/* .cars__photo {
  display: flex;

  margin-top: 30px;
}

.container {

}

.сontainer label {
  display: block;
  max-width: 200px;
  margin: 0 auto 15px;
  text-align: center;
  word-wrap: break-word;
}

.label {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.input {
  margin-top: 5px;
}

.hidden, #uploadImg:not(.hidden)+label {
  display: none;
}

#file {
  display: none;
  margin: 0 auto;
}

#upload {
  min-width: 48px;
  min-height: 48px;
  padding: 15px 25px;
  font-family: Roboto;
  font-style: normal;
  display: block;
  border-radius: 10px;
  border: 0;
  margin: 0 auto;
  font-size: 15px;
  letter-spacing: 0.05em;
  cursor: pointer;
  background: #2A7EF6;
  color: #fff;
  outline: none;
  transition: .3s ease-in-out;

  &:hover, &:focus {
    background: #2A7EF6;
  }

  &:active {
    background: #2A7EF6;
    transition: .1s ease-in-out;
  }
}

img {
  display: block;
  margin: 0 auto 15px;
} */
.user__form {
  display: flex;
}

.user__name p {
  margin-top: 30px;
  margin-right: 40px;
  margin-bottom: 0px;
}

.user__name b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.user__name input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 233px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.direction__form {
  display: flex;
}

.from__where p {
  margin-top: 30px;
  margin-right: 40px;
  margin-bottom: 0px;
}

.from__where b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.from__where input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 370px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.date__form {
  display: flex;
}

.start__date p {
  margin-top: 30px;
  margin-right: 15px;
  margin-bottom: 0px;
}

.start__date b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.start__date input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 240px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.start__time {
  display: flex;
}

.start__time p {
  margin-top: 30px;
  margin-right: 15px;
  margin-bottom: 0px;
}

.start__time b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.start__time input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 50px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.end__date p {
  margin: 30px 15px 0px 25px;
}

.end__date b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.end__date input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 240px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.end__time {
  display: flex;
}

.end__time p {
  margin-top: 30px;
  margin-right: 15px;
  margin-bottom: 0px;
}

.end__time b {
  padding-left: 8px;
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 14px;
  line-height: 16px;
  color: #434343;
}

.end__time input {
  font-family: Roboto;
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 16px;
  margin-top: 5px;
  padding: 15px;
  width: 50px;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 10px;
}

.bottom_checkbox label {
  padding-left: 10px;
  padding-right: 80px;
}

.bottom_checkbox label::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #434343;
  vertical-align: middle;
  margin-left: -10px;
  margin-right: 10px;
  border-radius: 15%;
  cursor: pointer;
}

.bottom_checkbox label {
  font-family: Roboto;
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
  display: flex;
  align-items: center;
  color: #6B7587;
  cursor: pointer;
}

input[type='checkbox']:checked+label::before {
  background-size: 100%;
  background-image: url(data:image/svg+xml;utf8;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNv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KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8Zz4KPC9nPgo8L3N2Zz4K);
}

.work, .terms {
  margin: 30px 0px;
}

.terms a {
  color: #2A7EF6;
  text-decoration: none;
}

.btn {
  text-decoration: none;
  width: 210px;
  height: 50px;
  border-radius: 10px;
  background: #2A7EF6;
  font-family: Roboto;
  font-style: normal;
  font-weight: 900;
  font-size: 18px;
  line-height: 21px;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  color: #FFFFFF;
  border-style: none;
  cursor: pointer;
}

.footer {
  width: 100%
}

.supp__btn {
  display: flex;
  flex-direction: row-reverse;
}

.support__btn {
  margin: 100px 140px 15px 0;
}

.black {
  background: #2E3033;
}

@media screen and (max-width: 1680px) {
  .main__img img {
    width: 829px;
    height: 665px;
  }
}

@media screen and (max-width: 1280px) {
  .main__img {
    display: none;
  }
}

@media screen and (max-width: 1170px) {
  .main__form {
    width: 100%;
  }
}

@media screen and (max-width: 870px) {
  .header__titlle h1 {
    font-size: 20px;
  }

  .header__titlle h2 {
    font-size: 14px;
  }
}

@media screen and (max-width: 640px) {
  .header__checkbox{
    margin-left: 10px;
    display: flex;
    flex-direction: column;
  }
  .header__checkbox label {
    padding: 15px 0px;

  }

  .top__form {
    flex-direction: column;
  }

  .top__form input {
    width: 100%;
  }

  .cars__main input {
    width: 100%;
  }

  .cars__form {
    flex-direction: column;
  }

  .cars__number input {
    width: 100%;
  }

  .user__form {
    flex-direction: column;
  }

  .user__name input {
    width: 100%;
  }

  .direction__form {
    flex-direction: column;
  }

  .from__where input {
    width: 100%;
  }

  .date__form {
    flex-direction: column;
  }

  .start__date input {
    width: 100%;
  }

  .end__date input {
    width: 100%;
  }

  .end__date p {
    margin: 30px 15px 0px 0px;
  }

  .bottom_checkbox label {
    display: block;
  }
  .support__btn{
    display: flex;
    justify-content: center;
    margin: 100px 20px 15px;
  }
}
input:focus {
  outline:none;
}
