.text-justify {
	text-align: justify;
}

.custom-doclist .nice-select .current {
	border-radius: 20px;
}

.custom-doclist .nice-select .list {
	border-radius: 20px;
}

.custom-doclist .nice-select .current {
	background: transparent;
	color: #002333;
	border: 1px solid #D9D9D9;
	margin: 10px 0 30px;
	height: auto;
	min-height: 42px;
}

.custom-doclist .nice-select .current:after {
	border-top-color: #000000;
	border-width: 4px;
	border-top-width: 6px;
	top: calc(50% - 1px);
}

.custom-doclist .nice-select .list {
	background: #FFFFFF;
	outline: 1px solid #003333;
	padding: 10px;
	overflow-y: auto;
	max-height: 200px;
	top: 0;
	z-index: 10;
}

@media screen and (max-width: 1029px) {
	.custom-doclist .nice-select .list {
		max-height: 50vh;
	}
}

.custom-doclist .nice-select .list::-webkit-scrollbar {
	width: 21px;
	background: #fff;
	border-radius: 21px;
}

.custom-doclist .nice-select .list::-webkit-scrollbar-thumb {
	border-radius: 21px;
	background: #D9E1E3;
	border: 7px solid #FFF;
}

.custom-doclist .nice-select li {
	color: #002333;
	padding: 10px;
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	line-height: 16px;
	cursor: default;
}

.custom-doclist .nice-select .option:not(.disabled) {
	cursor: pointer;
}

.custom-doclist .nice-select .option.selected {
	background: #D9D9D9;
}

.custom-doclist .nice-select .option.disabled {
	font-weight: 700;
}

.custom-doclist .nice-select .option.disabled:hover {
	color: #002333;
}

.custom-doclist .item-radio {
	margin-left: 28px;
}

.custom-doclist .item-radio-wrapper {
	display: inline-block;
	position: relative;
}

.custom-doclist .item-radio input {
	position: absolute;
	left: 0;
	top: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 2;
	opacity: 0;
}

.custom-doclist .item-radio input+.costum {
	position: absolute;
	left: 0;
	top: 3px;
	display: block;
	border-radius: 50%;
	border: 1px solid #CAD3DF;
	width: 16px;
	height: 16px;
	transition: 0.3s;
}

.custom-doclist .item-radio label {
	position: relative;
	display: block;
	letter-spacing: 0.03em;
	font-weight: 300;
	font-size: 16px;
	padding-left: 26px;
	line-height: 20px;
}

.custom-doclist .item-radio input:checked+.costum {
	border: 6px solid #DC0032;
}

.custom-doclist .item-radio label,
.custom-doclist .item-checkbox label {
	font-weight: 400;
}

.custom-doclist .item-checkbox {
	margin: 0;
}

.custom-doclist .item-checkbox-wrapper {
	padding: 0;
}

.custom-doclist .item-checkbox input+.costum {
	position: relative;
	top: auto;
	left: auto;
	width: 40px;
	height: 20px;
	background: #8ea0ab url(/local/templates/.default/i/close.png) no-repeat 26px 50%;
	border-radius: 10px;
	border-color: #8ea0ab;
}

.custom-doclist .item-checkbox input+.costum::before {
	opacity: 1;
	width: 18px;
	height: 18px;
	background: #fff;
	position: absolute;
	top: 0;
	left: 0;
	border-radius: 8px;
}

.custom-doclist .item-checkbox input:checked+.costum {
	background: #003333 url(/local/templates/.default/i/check.png) no-repeat 6px 50%;
	border-color: #003333;
}

.custom-doclist .item-checkbox input:checked+.costum::before {
	right: 0;
	left: auto;
}

.font-gray {
	color: #9299A2;
}

.custom-doclist-form {
	background: #F2F5F5;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
	max-width: 730px;
	margin: 40px auto 0;
	position: relative;
}

.custom-doclist-top,
.custom-doclist-bottom {
	padding: 30px;
}

.custom-doclist .question {
	padding: 15px 30px;
	font-size: 16px;
	line-height: 20px;
}

.custom-doclist .question:nth-child(2n) {
	background: #FFFFFF;
}

.custom-doclist .questions .flex-row {
	flex-wrap: nowrap;
}

.custom-doclist .bt {
	padding: 11px 26px;
	width: auto;
	cursor: pointer;
}

.custom-doclist .tabs-block {
	padding-top: 0;
}

.custom-doclist .tabs-wrapper {
	width: 380px;
	margin-right: 57px;
	flex: none;
}

.custom-doclist .docs-wrapper {
	width: calc(100% - 380px - 57px);
}

.custom-doclist h3 {
	font-size: 30px;
	margin-bottom: 28px;
}

.custom-tab {
	display: none;
}

.custom-tab.active {
	display: block;
}

.custom-doclist-label {
	font-size: 16px;
	font-weight: 700;
}

.custom-doclist .tabs-wrapper .tabs {
	display: flex;
	flex-direction: column;
	margin: -4px;
}

.custom-doclist .tabs-wrapper .tab-link {
	margin: 4px;
}

.custom-doclist .tabs-wrapper .tab-link:not(.red) {
	justify-content: flex-start;
}

.custom-doclist .tabs-wrapper .tab-link.red {
	background-color: #DC0032;
	color: #fff;
}

.doc {
	padding: 20px;
	background: #FFFFFF;
	box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.2);
	margin-bottom: 28px;
}

.flex-row.doc {
	flex-wrap: nowrap;
}

.custom-doclist .hint {
	flex: none;
	margin-left: 30px;
}

.custom-doclist .bt:disabled {
	background: #8ea0ab;
	border-color: #8ea0ab;
	pointer-events: none;
}

.custom-tab-step {
    position: absolute;
    top: 0;
    right: 30px;
    background: #8ea0ab;
    color: #fff;
    padding: 4px 16px;
    font-size: 16px;
}

@media screen and (max-width: 1029px) {
	.custom-doclist .tabs-wrapper {
		width: 100%;
		margin-right: 0;
		flex: auto;
	}

	.custom-doclist .tabs-wrapper .tabs {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.custom-doclist .docs-wrapper {
		width: 100%;
	}
}

@media screen and (max-width: 600px) {
	.custom-doclist .flex-row.question {
		flex-direction: column;
		align-items: flex-start;
	}

	.custom-doclist .item-radio {
		margin: 14px 28px 14px 0;
	}

	.custom-doclist .item-checkbox {
		margin: 14px 0 0;
	}

	.flex-row.custom-doclist-bottom {
		flex-direction: column;
	}

	.custom-doclist-bottom .bt:not(:first-child) {
		margin-top: 30px;
	}
	.doc {
		margin-bottom: 14px;
	}
}

@media screen and (max-width: 479px) {
	.custom-doclist .question, .custom-doclist-label, .custom-tab-step {
    		font-size: 14px;
    		line-height: 18px;
	}
	.custom-tab-step {
		padding: 3px 14px;
	}
}
.question1 .hint {
	margin-left: 0;
}
.question2 .hint {
	margin-left: 10px;
}
.question-name {
	display: flex;
    	align-items: center;
    	gap: 10px;
}

.no-hint {
	opacity: 0;
    	pointer-events: none;
}

.question1 .hint .hint-drop {
	width: max-content;
    	left: calc(100% + 12px);
	right: auto;
}

.question1 .hint:after {
	left: calc(100% + 4px);
	right: auto;
	transform: none;
}

.question1 .hint:hover .hint-drop, 
.question1 .hint:hover::after {
        opacity: 1;
}

.hint-text {
    width: 100%;
    max-width: 550px;
}
@media screen and (max-width: 759px) {
	.hint-text {
    		max-width: 66vw;
	}
}

.question-spoiler {
    display: none;
    margin: 15px -30px -15px;
}

.question-spoiler-inner {

    background-color: #E2E6E7;
    padding-left: 30px;
}

.custom-doclist .question-spoiler .question:nth-child(2n) {
    background: none;
}