/* --- 404 Page --- */

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}


/* */

#page_404 {
	margin: 0 0 100px;
	color: #000000;
}

#page_404 .inner {
	position: relative;
	padding-top: 220px;
}

#page_404 .title {
	font-family: "MyriadPro", sans-serif;
	font-size: 36px;
	font-weight: 600;
	line-height: 43px;
	text-align: center;
	color: inherit;
}

#page_404 .subtitle {
    max-width: 42%;
    margin: 15px auto 30px;
    font-family: "MyriadPro", sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 29px;
    text-align: center;
    color: inherit;
}

#page_404 .button-link {
	display: flex;
	justify-content: center;
	align-items: center;
	max-width: 320px;
	padding: 30px;
	margin: 0 auto;
	font-family: "MyriadPro", sans-serif;
	font-size: 24px;
	font-weight: 400;
	line-height: 29px;
	text-align: center;
	text-decoration: none;
	color: inherit;
	background-color: #f9ef25;
	border-radius: 10px;
	transition: all 0.5s;
}

#page_404 .button-link:hover {
	color: #ffffff;
	background-color: #f47b1e;
}

#page_404 .inner::after {
	content: "404";
	position: absolute;
	inset: 0;
	z-index: -1;
	display: block;
	margin: 0 auto;
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-size: 400px;
	font-weight: 900;
	line-height: 484px;
	text-align: center;
	color: #f9f8f8;
}


@media(max-width: 1024px) {
	#page_404 .subtitle {
    	max-width: 60%;
	}
	
	#page_404 .inner::after {
		font-size: 260px;
		line-height: 315px;
	}
}



@media(max-width: 767px) {
	#page_404 {
		margin: 80px 0 100px;
	}

	#page_404 .inner::after {
		font-size: 128px;
		line-height: 155px;
	}
	
	#page_404 .inner {
		padding-top: 60px;
	}
	
	#page_404 .subtitle {
    		max-width: 100%;
	}
}

/* --- /404 Page --- */


/* --- Правки формы --- */

.b24-window-panel .b24-form-wrapper {
    background: rgba(255, 255, 255, 0.8);
}

.b24-window-panel .b24-form-wrapper .b24-form-field-agreement .b24-form-control-container {
    display: flex;
    align-items: center;
    gap: 5px;
}
/* */