html, body, div, span, h1, h2, h3, p, a, img, strong, ol, ul, li, form, button, input, label { margin: 0; padding: 0; border: 0; }

*, ::after, ::before { box-sizing: border-box; }

a, button, div, input, select, textarea, :focus, :active { outline: none; }
body, h1, h2, h3 { font-weight: normal; }
textarea { display: block; resize: none; border: none; overflow-y: hidden; }
ol, ul { list-style: none; }
img { display: block; border: none; }

:root {
	--regular: 'SFUIDisplay-Regular', sans-serif;
	--semibold: 'SFUIDisplay-Semibold', sans-serif;
	--bold: 'SFUIDisplay-Bold', sans-serif;
	--black: 'SFUIDisplay-Black', sans-serif;

	--size-sx: 13px;
	--size-sm: 14px;
	--size-base: 18px;
	--size-lg: 24px;

	--color-base: #000;
	--color-secondary: #465160;
	--color-primary: #0078ff;
	--color-success: #2ea702;
	--color-danger: #f00;
	--color-blue: #31c7ff;
	--color-gray: #7c7c7c;
	--color-border: #cbcbcb;
	--color-placeholder: #b2b2b2;

	--transition: all .2s ease-out;
}

html, body { width: 100%; min-height: 100%; }
body { font-family: var(--regular); font-weight: normal; font-size: var(--size-base); line-height: 1; background-image: url('../landing_16/bg_default-1440.jpg'); background-color: #D5E8F7; background-repeat: no-repeat; background-position: 0 0; background-size:cover; background-attachment: fixed; }
body.sex { background-image: url('../landing_16/bg_sex-1440.jpg'); background-color: #BC9166; }
body.wedding { background-image: url('../landing_16/bg_wedding-1440.jpg'); background-color: #DCDEEA; }

h2, h3 { font-family: var(--bold); font-size: var(--size-lg); text-align: center; margin-bottom: 24px; }
h3 { margin-bottom: 31px; }

.grid { display: grid; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.ai-center { align-items: center; }
.jc-center { justify-content: center; }
.jc-between { justify-content: space-between; }

.wrapper { min-height: 100vh; flex-direction: column; }
.wrap { padding: 0 30px; }
.container { flex-grow: 1; padding-top: 50px; }
.bbox { max-width: 700px; border-radius: 20px; margin: 0 auto 30px; padding: 47px 60px 40px; background: rgba(255,255,255,0.9); box-shadow: 0 0 0 10px rgba(0,0,0,0.2); }

.btn-success, .btn-primary { width: 100%; max-width: 214px; height: 60px; align-self: flex-end; font-family: var(--semibold); font-size: var(--size-lg); text-shadow: 0px 1px 0px rgba(0, 0, 0, 0.25); color: #fff; margin: 0 auto; border-radius: 10px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; background: linear-gradient(180deg, #9cf346 0%, #53b331 100%); cursor: pointer; }
.target-list .btn-success, .gender-list .btn-success { max-width: 100%; }
.btn-primary { display: flex; align-items: center; justify-content: center; margin: 0 auto; }

.btn-logon { width: 100%; max-width: 320px; height: 52px; display: flex; align-items: center; justify-content: center; font-weight: 400; font-size: 16px; color: #fff; text-decoration: none; margin-inline: auto; border-radius: 10px; }
	.btn-logon.btn-google-dark { display: flex; }
	.btn-logon img { margin-right: 10px; }
.btn-yandex { margin-top: 7px; margin-bottom: 16px; background: var(--color-base); }
.btn-vk { background: var(--color-primary); }
.mb20 { margin-bottom: 20px; }

/* form */
::-moz-placeholder { color: var(--color-placeholder); }
::-webkit-input-placeholder { color: var(--color-placeholder); }
:-ms-input-placeholder { color: var(--color-placeholder); }
::-ms-input-placeholder { color: var(--color-placeholder); }
::placeholder { color: var(--color-placeholder); }

.form-row { width: 100%; max-width: 580px; position: relative; margin: 0 auto 35px; }
.form-row__short { max-width: 328px; }
.form-row__bday { max-width: 464px; }

input[type="radio"], input[type="checkbox"] { display: none; }
select { -webkit-appearance: none; -moz-appearance: none; appearance: none; }
select:not([multiple]) { background-repeat: no-repeat; background-position: calc(100% - 8px) 23px; background-image: url('../arrow-down.svg'); }
select::-ms-expand { display: none; }

.answer-list { width: -webkit-max-content; width: -moz-max-content; width: max-content; margin: 0 auto; }
	.answer-list li + li { margin-top: 35px; }
.answer { width: 100%; height: 35px; cursor: pointer; }
.radio { position: relative; padding-left: 45px; }
.radio::before { width: 35px; height: 35px; display: block; content: ''; position: absolute; left: 0; top: 0; border: 2px solid #7c7c7c; border-radius: 100%; background: #fff; }
:checked + .radio::before { border-color: var(--color-success); }
:checked + .radio::after { width: 19px; height: 19px; display: block; content: ''; position: absolute; left: 8px; top: 8px; border-radius: 100%; background: linear-gradient(180deg, #9CF346 0%, #53B331 100%); }

.form-control, .inp_grd { width: 100%; height: 52px; display: block; font-family: var(--regular); font-size: var(--size-base); color: var(--color-base); padding: 0 17px; border-radius: 10px; border: 1px solid #000; background: #fff; }
.form-control__bday, .form-control__byear { width: 112px; flex-shrink: 0; }
.form-control__bmonth { flex-grow: 1; margin: 0 10px; }
.form-control__city { max-width: 328px; display: flex; align-items: center; position: relative; margin: 0 auto 35px; }
.bday-row .form-control { padding: 0 10px; }

.form-control__error { background-color: var(--color-danger); }
.add-error { font-size: var(--size-sm); color: var(--color-danger); line-height: 1; text-align: center; position: absolute; left: 0; right: 0; top: calc(100% + 4px); }

/* screen 1 */
.screen-1 { padding: 0 0 30px; }
	.screen-1 .logo { margin: 0 auto 8px; }
	.screen-1 h2 { margin-bottom: 14px; }
	.screen-1 .subtitled { text-align: center; margin-bottom: 32px; }
.title-box { line-height: 20px; text-align: center; margin-bottom: 20px; padding: 17px 20px; border-radius: 20px 20px 0 0; background: #e6dfd4; }

.target-list { width: 534px; grid-template-columns: 1fr 1fr; grid-template-rows: 170px 170px; gap: 20px 22px; margin: 0 auto; }
	.target-list .sex { background: url('../v4_2/bg_sex.png') no-repeat 50% 0; }
	.target-list .romance { background: url('../v4_2/bg_romance.png') no-repeat 50% 0; }
	.target-list .marriage { background: url('../v4_2/bg_marriage.png') no-repeat 50% 0; }
	.target-list .friendship { background: url('../v4_2/bg_friendship.png') no-repeat 50% 0; }
	.target-list .btn { align-self: self-end; }

/* screen 2 */
.gender-list { width: 100%; max-width: 540px; justify-content: space-between; margin: 0 auto; }
	.gender-list img { margin-bottom: 10px; }

/* screen 3 */
.gender-sex, .sex .gender-notsex { display: none; }
.gender-notsex, .sex .gender-sex { display: flex; }

/* screen 4 */
.screen-4 .form-row { max-width: 500px; }

/* screen 8 */
.resultheader { margin-bottom: 20px; }
.progressbar + .answer { margin-bottom: 17px; }

.progressbar, .progress { height: 17px; position: relative; overflow: hidden; border-radius: 10px; }
.progressbar { width: 100%; margin: 10px 0 20px; background-color: #979797; }
.progress { display: block; background: linear-gradient(180deg, #9cf346 0%, #53b331 100%); }

.screen-8 .answer::before, .rules-list li::before { display: block; content: ''; position: absolute; left: 0; background-image: url('sprite-css.svg'); }

.screen-8 .answer { padding-left: 45px; position: relative; cursor: default; }
.screen-8 .answer::before {  width: 34px; height: 34px; top: 0; background-position: -51px 0px; }
	.screen-8 .answer span { font-family: var(--bold); display: inline-block; padding: 0 5px; }

.rules-title { font-family: var(--bold); line-height: 24px; margin: 28px 0 31px; }
.rules-list { margin-bottom: 41px; }
	.rules-list li + li { margin-top: 27px; }
	.rules-list li { line-height: 24px; position: relative; padding-left: 50px; }
	.rules-list li::before { top: 50%; transform: translateY(-50%); }

.respect::before { width: 30px; height: 27px; background-position: -85px 0px; }
.hello::before { width: 32px; height: 32px; background-position: 0px -46px; }
.megaphone::before { width: 32px; height: 32px; background-position: -32px -46px; }

/* screen 11 */
#geomenu .form-control { height: 50px; border-color: transparent; box-shadow: none; }

.bbox-city { position: relative; }
	.bbox-city .add-error { top: 152px; text-align: center; }

.list-box { margin-top: 4px; max-height: 29vh; overflow-y: scroll; border: 1px solid var(--color-base); border-radius: 5px; background: #fff;}
	.list-box > div { padding: 6px 10px; cursor: pointer; }
	.list-box > div:hover { background-color: var(--color-border); }

@-webkit-keyframes hidden {
	from { opacity: 1; visibility: visible; }
	to { opacity: 0; visibility: hidden; }
}
@keyframes hidden {
	from { opacity: 1; visibility: visible; }
	to { opacity: 0; visibility: hidden; }
}
.hidden_anim{ -webkit-animation-name: hidden; animation-name: hidden; -webkit-animation-duration: 0.3s; animation-duration: 0.3s; -webkit-animation-timing-function: ease-in-out; animation-timing-function: ease-in-out; visibility: hidden; }

/* screen 12 */
.screen-12 .form-control, .screen-12 .btn-success { max-width: 328px; }
.screen-12 .form-control { margin: 0 auto; }
.screen-12 .add-error { top: calc(100% + 9px); }
.recovery-row { display: none; text-align: center; padding: 13px 0 5px;}
	.recovery-row a { color: var(--color-primary); text-decoration: none; }

.delimiter-box { max-width: 328px; height: 20px; font-size: 16px; text-align: center; position: relative; margin: 20px auto 19px; }
.delimiter-row { width: 100%; position: absolute; top: 10px; }
	.delimiter-row span { width: calc((100% - 43px) / 2); height: 1px; display: block; background-color: rgba(0, 0, 0, 0.3); }
.btn-google { position: relative; background: var(--color-primary); }
	.btn-google span { width: 40px; height: 40px; position: absolute; left: 5px; top: 6px; border-radius: 8px; background-color: #fff; }
		.btn-google span img { margin: auto; }
.btn-google-dark { height: 52px; margin-top: 0; padding-left: 0; background: #131314; }

/* screen 13 */
.icon-stack { display: inline-block; flex-shrink: 0; background-size: cover; background-position: 50%; }
.icon-eye-open { width: 24px; height: 24px; background-image: url('../landing_23/sprite.stack.svg#eye-open'); }
.icon-eye-close { width: 24px; height: 24px; background-image: url('../landing_23/sprite.stack.svg#eye-slashed'); }
.icon-eye-open, .icon-eye-close { position: absolute; right: 12px; top: 14px; z-index: 3; cursor: pointer; }

/* screen 14 */
.screen-14 .form-row { max-width: 270px; }
.captcha-row { margin-bottom: 20px;}
.refresh-row { color: var(--color-primary); cursor: pointer; }
.refresh { width: 30px; height: 30px; display: block; margin-top: -2px; background: url('../refresh.svg') no-repeat 50%; }

/* screen 15 */
.screen-15 .btn-success { max-width: 320px; }
.screen-15 .text { text-align: center; margin-bottom: 24px; }
.approved { width: 78px; height: 78px; display: block; margin: 0 auto 18px; }


/* footer */
.footer { font-size: var(--size-sx); color: var(--color-secondary); position: relative; background: #fff; }
	.footer .wrap { height: 50px; margin: 0 auto; }
	.footer a { font-weight: 700; color: var(--color-secondary); }
.footer-age { width: 30px; height: 30px; flex-shrink: 0; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); background: url('../lp14/sprite.png?1763116897') 0 -157px no-repeat; }

/* popup */

.dialog_modal { position: fixed; left: 0; right: 0; top: 0; bottom: 0; z-index: 10; background: rgba(0, 0, 0, 0.75); transition: var(--transition); }
.dlg_gnl_box { width: 94%; max-width: 700px; position: relative; border-radius: 20px; margin: 50px auto 30px; padding: 47px 60px 40px; background: #fff; }
	.dlg_gnl_box .container { display: block; padding-top: 0; }
.dlg_gnl_title { font-family: var(--black); font-size: var(--size-lg); text-align: center; margin-bottom: 31px; }
.dlg_gnl_close { font-family: var(--regular); font-size: 36px; color: var(--color-gray); text-decoration: none; position: absolute; right: 16px; top: 7px; }
.warning_box_yel { text-align: center; margin-bottom: 30px; }
.login_lbox { width: 328px; margin: 0 auto; }
	.login_lbox .fbold { font-family: var(--semibold); }
	.login_lbox .mb15 { margin-bottom: 15px; }
	.login_lbox .inp_grd { margin-bottom: 20px; }
.reminder .btn + p, .login_rbox, .login-col-right, .btn-social-row, .login-col-left ul li:first-child, .inblock + div, .login_box div:last-child, .refresh_but { display: none; }

.warning_box_reg .warning_box { color: var(--color-danger); text-align: center; margin-bottom: 30px; }
.login-col-left { width: 390px; margin: 0 auto; }
	.login-col-left ul { width: 328px; margin: 0 auto 25px; }
	.login-col-left li:not(:last-child) { margin-bottom: 15px; }
	.login-col-left .text { font-size: var(--size-sm); line-height: 1.25; color: var(--color-gray); text-align: center; }
		.login-col-left .text a { color: var(--color-gray); }
.inblock { width: -webkit-max-content; width: -moz-max-content; width: max-content; display: block; color: var(--color-primary); text-decoration: none; margin: 13px auto 0; }

.login_box .reminder p { line-height: 1.25; text-align: center; margin-bottom: 10px; }
#dlg_pict .flex { margin-bottom: 15px; }

/* cookie warning */
.text-center { text-align: center; }
.warning-cookie { height: 50px; font-size: 12px; line-height: 1.3333; color: var(--color-gray); position: fixed; left: 0; right: 0; bottom: 0; z-index: 1001; padding: 0 3px 0 5px; border-top: 1px solid rgba(0, 0, 0, .1); background: rgba(255, 255, 255, .9); }
	.warning-cookie a { font-size: 12px; color: var(--color-gray); text-decoration: underline; text-underline-offset: 3px; }
.warning-close { height: 30px; width: 30px; flex-shrink: 0; font-size: 16px; color: var(--color-gray); position: static; cursor: pointer; }

/* adaptive */

@media screen and (max-width:768px){
	.wrap { padding: 0 20px; }
	.container { padding-top: 30px; }
}

@media screen and (max-width:660px){
	.container { padding-top: 20px; }
	.target-list { width: 256px; display: block; }
		.target-list li { height: 170px; }
		.target-list li:not(:last-child) { margin-bottom: 20px; }
}

@media screen and (max-width:640px) {
	.gender-list { max-width: 214px; }
	.gender-list:not(.gender-notsex):not(.gender-sex) { display: block; }
	.gender-notsex, .sex .gender-sex { display: block; }
	.gender-list > div:first-child { margin-bottom: 20px; }

	.screen-7 .form-row { width: -webkit-max-content; width: -moz-max-content; width: max-content; display: block; }
	.screen-7 .answer-list { width: auto; }
	.screen-7 .answer-list:first-child { margin-bottom: 34px; }

	.footer .wrap { height: 60px; flex-direction: column; align-items: flex-start; justify-content: center; }
	.count-row { margin-top: 6px; }
}

@media screen and (max-width:560px) {
	.bbox:not(.bbox.screen-1), .screen-1 .content-box { padding-left: 20px; padding-right: 20px; }
}

@media screen and (max-width:480px) {
	.screen-4 .form-row { width: -webkit-max-content; width: -moz-max-content; width: max-content; display: block; }
	.screen-4 .answer-list:first-child { margin-bottom: 34px; }
}

@media screen and (max-width:420px) {
	.wrap { padding: 0 10px; }
	.bbox { border: 1px solid #3c3c3c; box-shadow: none; }

	select:not([multiple]) { background-position: calc(100% - 8px) 22px; }
	.form-control, .inp_grd { height: 48px; }
	.bday-row .form-control { padding: 0 8px; }
	.form-control__bday, .form-control__byear { width: 75px; }
	.form-control__bmonth { margin: 0 5px; }

	#geomenu .form-control { height: 46px; }
	.list-box { max-height: 37vh; }
	.bbox-city .add-error { top: 150px; }

	.dlg_gnl_box { padding-left: 20px; padding-right: 20px; }
}

@media screen and (max-width:320px) {
	.bbox:not(.bbox.screen-1), .screen-1 .content-box { padding-left: 10px; padding-right: 10px; }
	.screen-15 .btn-success { font-size: 22px; }
}

@media screen and (max-width:800px) and (orientation:portrait) {
	body { background-image: url('../landing_16/bg_default-720.jpg'); }
	.sex { background-image: url('../landing_16/bg_sex-720.jpg'); }
	.wedding { background-image: url('../landing_16/bg_wedding-720.jpg'); }
}

@media screen and (max-width:480px) and (orientation:portrait) {
	body { background-image: url('../landing_16/bg_default-480.jpg'); }
	.sex { background-image: url('../landing_16/bg_sex-480.jpg'); }
	.wedding { background-image: url('../landing_16/bg_wedding-480.jpg'); }
}

@media screen and (max-width:375px) and (orientation:portrait) and (max-height:780px) {
	body { background-image: url('../landing_16/bg_default-375.jpg'); }
	.sex { background-image: url('../landing_16/bg_sex-375.jpg'); }
	.wedding { background-image: url('../landing_16/bg_wedding-375.jpg'); }
}

[hidden] { display: none !important; }
