@font-face {
  font-display: swap;
  font-family: 'Montserrat';
  src:
    local('Montserrat'),
    url('../fonts/Montserrat.woff2') format('woff2 supports variations'),
    url('../fonts/Montserrat.woff2') format('woff2-variations');
  font-weight: 300 400 500;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: #f8f9fa;
}

input {
  display: block;
  margin-bottom: 10px;
}

button {
  font-family: inherit;
  width: 300px;
  height: 20px;
  display: block;
}

.wrapper {
  width: 1024px;
  margin: 0 auto;
}

.container {
  background-color: #ffffff;
  padding: 20px;
}

.form_section {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 5px;
  margin-bottom: 30px;
}

.form_section_title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 24px;
  color: #343a40;
  background-color: #f8f9fa;
  padding: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 5px 5px 0 0;
}

.form_section_data {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form_section_data_group {
  width: 50%;
}

.form_selection_data_group_full {
  width: 100%;
}

.form_section_data_group_title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #343a40;
  background-color: #f8f9fa;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 5px 5px 0 0;
}

.form_section_data_row {
  display: flex;
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 34px;
  height: 44px;
}

.form_section_data_row_cell {
  padding: 0 15px;
}

.form_section_data_row_cell_flex {
  display: flex;
  align-items: center;
}

.form_section_data_row_cell:first-child {
  width: 40%;
  text-align: right;
}

.form_section_data_row_cell:last-child {
  width: 60%;
}

.form_selection_data_group_full .form_section_data_row_cell:first-child {
  width: 20%;
  text-align: right;
}

.form_selection_data_group_full .form_section_data_row_cell:last-child {
  width: 80%;
}

.form_section_data_row_cell:last-child input {
  width: 100%;
}

.ct.form_section_data_row_cell:last-child input {
  width: calc(100%-70px);
}

.ct {
  display: grid;
  grid-template-columns: 194px 65px;
  gap: 5px;
}

.required::after {
  content: "*";
  margin-left: 3px;
  font-weight: 400;
  color: #ff6347;
}

.form_data {
  height: 34px;
  padding: 13px;
  border-radius: 5px;
  border: 1px solid rgba(0, 0, 0, 0.125);
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.form_data::placeholder,
input[type='date'] {
  color: #999;
  font-weight: 300;
}

.form_section .form_section_data_row .form_data_checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #000000;
  margin-top: 5px;
}

.form_data_radio {
  width: 20px;
  height: 20px;
}

.form_data_radio_label {
  padding-bottom: 10px;
  text-align: right;
}

.btn-new {
  background-color: #555353;
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px;
  cursor: pointer;
  transition: 0.2s;
}

.btn-new:hover {
  background-color: #353535;
  transition: 0.2s;
}

.form_data_select {
  width: 100%;
}

input[type="number"] {
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}