

section.calc-block {
	padding: 30px 0;
}

.calc-block__form {
	background: url(img/form-bg.png);
	border: 1px solid rgba(245, 245, 245, 1);
	padding: 34px;
	display: flex;
	flex-direction: column;
	gap: 25px;
}

.calc-block__title {
	color: rgba(76, 84, 91, 1);
	font-family: Roboto Slab;
	font-size: 36px;
	font-weight: 600;
	line-height: 100%;
}

.calc-block__inputs {
	display: flex;
	gap: 20px;
}

.cb-inputs__col {
	display: flex;
	flex-wrap: wrap;
	gap: 16px 10px;
	width: calc(50% - 10px);
}

.cb-inputs__title {
	color: rgba(76, 84, 91, 1);
	font-family: Roboto Slab;
	font-size: 18px;
	font-weight: 500;
	line-height: 100%;
	width: 100%;
}

.cb-inputs__input {
	border: 1px solid rgba(234, 234, 234, 1);
	border-radius: 5px;
	background: rgba(255, 255, 255, 1);
	padding: 18px 16px;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 400;
	line-height: 100%;
	height: 47px;
	width: calc((100% - 20px)/3);
	color: rgba(76, 84, 91, 1);
}

.cb-inputs__input:hover {
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
}

.cb-inputs__input::placeholder {
	color: rgba(145, 145, 145, 1);
}

.calc-block__checkboxs {
	display: flex;
	flex-wrap: wrap;
	gap: 13px 20px;
}

.cb-checkboxs__block {
	width: calc(50% - 10px);
	padding: 14px 18px;
	border: 1px solid rgba(73, 158, 52, 1);
	border-radius: 8px;
	backdrop-filter: blur(0px);
	background: rgba(255, 255, 255, 0.75);
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.cb-checkboxs__title {
	width: fit-content;
	padding: 7px 13px;
	background: rgba(73, 158, 52, 1);
	border-radius: 3px;
	color: rgba(255, 255, 255, 1);
	font-family: Roboto Slab;
	font-size: 18px;
	font-weight: 500;
	line-height: 13px;
}

.calc-block__checkboxs-row {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	flex-direction: column;
}

.cb-checkboxs__label {
	display: flex;
	align-items: center;
	gap: 9px;
}

.cb-checkboxs__label:has(input[type="radio"]:checked), .cb-checkboxs__label:has(input[type="checkbox"]:checked) {

color: rgba(76, 84, 91, 1);
}

.cb-checkboxs__label input[type="radio"] {
	display: none;
}

.cb-checkboxs__label:has(input[type="radio"]):before {
	content: '';
	display: block;
	width: 22px;
	height: 22px;
	min-width: 22px;
	border: 1px solid rgba(234, 234, 234, 1);
	background: rgba(255, 255, 255, 1);
	border-radius: 100%;
	box-sizing: border-box;
	box-shadow: inset 0 0 0px 4px rgba(255, 255, 255, 1);
}

.cb-checkboxs__label:has(input[type="radio"]:checked):before {
	background: rgba(73, 158, 52, 1);
	border-color: rgba(73, 158, 52, 1);
}

.cb-checkboxs__label input[type="checkbox"] {
	display: none;
}

.cb-checkboxs__label:has(input[type="checkbox"]):before {
	content: '';
	content: '';
	display: block;
	width: 22px;
	height: 22px;
	min-width: 22px;
	border: 1px solid rgba(234, 234, 234, 1);
	background: rgba(255, 255, 255, 1);
	border-radius: 4px;
	box-sizing: border-box;
}

.cb-checkboxs__label:has(input[type="checkbox"]:checked):before {
	background-image: url(img/check.svg);
	background-position: center;
	background-repeat: no-repeat;
	baseline-shift: 20px;
	border-color: rgba(73, 158, 52, 1);
}

.calc-block__checkboxs-row.radio-wrap {
	display: grid;
	grid-template-columns: auto auto;
	width: fit-content;
}

.calc-block__textarea {
	height: 69px;
	border: 1px solid rgba(234, 234, 234, 1);
	border-radius: 5px;
	background: rgba(255, 255, 255, 1);
	resize: none;
	font-family: Roboto;
	font-size: 15px;
	font-weight: 400;
	line-height: 100%;
	padding: 17px 16px;
	color: rgba(76, 84, 91, 1);
}

.calc-block__textarea::placeholder {
	color: rgba(145, 145, 145, 1);
}

.calc-block__textarea:hover {
	box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.08);
}

.calc-block__footer {
	display: flex;
	flex-wrap: wrap;
	gap: 22px;
	align-items: center;
}

.calc-block__btn {
	padding: 23px 55px;
	background: rgba(242, 137, 75, 1);
	color: rgba(255, 255, 255, 1);
	font-family: Roboto;
	font-size: 19px;
	font-weight: 700;
	line-height: 14px;
	text-transform: uppercase;
	border: none;
	cursor: pointer;
}

.calc-block__btn:hover {
	background: rgba(73, 158, 52, 1);
}

.calc-block__accept {
	display: flex;
	align-items: center;
	gap: 9px;
}

.calc-block__accept:has(input[type="checkbox"]:checked) {
	color: rgba(76, 84, 91, 1);
}

.calc-block__accept input[type="checkbox"] {
	display: none;
}

.calc-block__accept:has(input[type="checkbox"]):before {
	content: '';
	content: '';
	display: block;
	width: 22px;
	height: 22px;
	min-width: 22px;
	border: 1px solid rgba(234, 234, 234, 1);
	background: rgba(255, 255, 255, 1);
	border-radius: 4px;
	box-sizing: border-box;
}

.calc-block__accept:has(input[type="checkbox"]:checked):before {
	background-image: url(img/check.svg);
	background-position: center;
	background-repeat: no-repeat;
	baseline-shift: 20px;
	border-color: rgba(73, 158, 52, 1);
}

@media(max-width: 768px) {
	.calc-block__form {
		padding: 20px;
		gap: 20px;
	}

	.calc-block__title {
		font-size: 28px;
	}

	.calc-block__inputs {
		flex-direction: column;
		gap: 15px;
	}

	.cb-inputs__col {
		width: 100%;
		gap: 10px;
	}

	.cb-inputs__input {
		width: 220px;
		min-width: calc((100% - 20px)/3);
		max-width: 100%;
	}

	.calc-block__checkboxs {
		flex-direction: column;
	}

	.cb-checkboxs__block {
		width: 100%;
	}
}

@media(max-width: 700px) {
  .cb-inputs__input {
    width: calc((100% - 10px)/2);
  }
  
  .calc-block__checkboxs-row.radio-wrap
   {
      grid-template-columns: auto;
  }
  
  .calc-block__btn {
    padding: 15px 15px;
    font-size: 16px;
    width: 100%;
  }
  
  .calc-block__accept {
    flex-wrap: wrap;
}
  
}

@media(max-width: 500px) {
  .cb-inputs__input {
    width: 100%;
  }
}
