* {
  box-sizing: border-box;
}

body {
  background: #e6f4fd;
  font-family: 'Roboto', sans-serif;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

textarea {
  overflow: hidden;
}

.dflex-row {
  display: flex;
  flex-direction: row;
}

.dflex-column {
  display: flex;
  flex-direction: column;
}

.ui-form {
  max-width: 430px;
  margin: 50px 30px;
  margin-bottom: auto;
  background: white;
  border-radius: 12px;
  padding-bottom: 35px;
  display: flex;
  flex-direction: column;
}

.ui-form h3 {
  font-weight: 500;
  font-size: 20px;
  line-height: 23px;
  color: #565656;
  margin-bottom: 15px;
}

.poster-box {
  max-width: 430px;
  border-radius: 8px 8px 0 0;
  margin-bottom: 50px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.poster {
  height: 100%;
  width: 100%;
  position: relative;
}

.form-row {
  position: relative;
}

.form-row input:not(input[type="checkbox"]),
.form-row textarea,
.form-row select {
  border-radius: 8px;
  background-color: #F5F5F6;
  width: 100%;
  color: #8A8A8A;
  height: 44px;
  border: 0;
  margin-bottom: 10px;
  padding: 6px 12px;
}

.desc {
  font-size: 14px;
  line-height: 16px;
  color: #565656;
  margin-bottom: 30px;
}

.ui-form input[type="submit"] {
  width: 100%;
  padding: 0;
  color: white;
  font-size: 20px;
  background-color: #319BF7;
  border: none;
  height: 44px;
  margin: 30px 0 15px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  cursor: pointer;
}

.ui-form p {
  margin: 0;
  padding-top: 10px;
}

.field-list {
  width: 70%;
  margin: 0px auto;
  text-align: center;
}

.field-list .field-item{
  align-items: center;
  margin-left: -30px;
}

.field-list .required-ico {
  width: 30px;
}

.required-alert {
  width: 100%;
  text-align: left;
  margin-left: -20px;
  margin-top: 10px;
  color: #858585;
  font-size: 15px;
}

.field-list small {
  color: #AAAAAA;
  font-weight: 300;
  font-size: 11px;
  line-height: 12px;
}

.field-list small span {
  color: #319BF7;
  cursor: pointer;
}

/* для элемента input c type="checkbox" */
input[type="checkbox"] {
  position: absolute;
  z-index: -1;
  opacity: 0;
}

/* для элемента label, связанного с .custom-checkbox */
input[type="checkbox"]+label {
  display: inline-flex;
  align-items: center;
  user-select: none;
}

/* создание в label псевдоэлемента before со следующими стилями */
input[type="checkbox"]+label::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  flex-grow: 0;
  border: 1px solid #adb5bd;
  border-radius: 0.25em;
  margin-right: 0.5em;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 50% 50%;
}

label,
h4 {
  text-align: left;
  margin: 0;
  margin-bottom: 10px;
  color: #565656;
  font-size: 14px;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
}

/* стили для чекбокса, находящегося в состоянии checked */
input[type="checkbox"]+label::before {
  border-color: #319BF7;
  width: 30px;
  height: 30px;
  border-radius: 6px;
}

input[type="checkbox"]:checked+label::before {
  border-color: #319BF7;
  background-color: #319BF7;
}

/* стили для чекбокса, находящегося в состоянии disabled */
input[type="checkbox"]:disabled+label::before {
  background-color: #e9ecef;
}

.successfull-card {
  width: fit-content;
  min-height: 300px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 10px;
  color: #565656;
  display: flex;
  justify-content: center;
  flex-direction: column;
}

.successfull-card span{
  text-align: center;
}

.successfull {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #E5E5E5;
  opacity: 0;
}

select {
  height: 44px;
  background-color: #F5F5F6;
  border-radius: 8px;
  width: 100%;
  border: none;
  color: #8A8A8A;
  padding-left: 10px;
}

select option {
  color: #565656;
}