.rv-main {
	position:relative;
	font-size:14px;
	padding:30px;
	background-color:#FFFFFF;
	border-radius:10px;
	border-top-left-radius:0;
	border-top-right-radius:0;
}

/* header  */

.rv-header {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	padding-bottom:15px;
	border-bottom:solid 1px #E6E6E6;
}

.rv-header > div {
	flex-basis:50%;
}

.rv-header > div:first-child {
	display:flex;
	align-items:center;
}

.rv-header > div:last-child {
	text-align:right;
}

@media screen and (max-width:575.98px) {
	.rv-header {
		flex-direction:column;
	}

	.rv-header > div:first-child {
		padding-bottom:13px;
	}
}

/* header score */

.rv-header-score {
	line-height:1;
	padding-right:10px;
}

.rv-header-score-star {
	display:block;
	cursor:default;
	height:14px;
	width:14px;
	margin-right:2px;
	background-image:url('images/star_full.svg');
	background-size:cover;
}

.rv-header-score-star-empty {
	display:block;
	cursor:default;
	height:14px;
	width:14px;
	margin-right:2px;
	background-image:url('images/star_empty.svg');
	background-size:cover;
}

/* header button */

.rv-header-button {
	cursor:pointer;
	display:inline-block;
	line-height:1;
	font-size:14px;
	font-weight:400;
	padding:10px 22px;
	border:1px solid var(--main_color);
	color:var(--main_color);
	border-radius:25px;
	transition:background-color 0.3s;
}

.rv-header-button:hover {
	background-color:var(--main_color_hover);
	border-color:var(--main_color_hover);
	color:#FFFFFF;
}

/* form */

.rv-form {
	display:grid;
	grid-template-rows:0fr;
	transition:grid-template-rows 0.4s ease-out;
	text-align:center;
	scroll-margin:110px;
}

.rv-form-open {
	grid-template-rows:1fr;
}

.rv-form-inner {
	overflow:hidden;
}

.rv-form-top-line {
	height:20px;
}

.rv-form-info {
	display:none;
	max-width:400px;
	padding:15px 20px;
	margin:0 auto 15px auto;
	font-size:16px;
	font-weight:500;
	text-align:center;
	background:#D9FFDE;
	border-radius:10px;
}

.rv-form-info-error {
	background:#FFD9D9;
}

.rv-form-title {
	line-height:1;
	padding-bottom:8px;
	font-size:16px;
	font-weight:500;
	color:#444444;
}

.rv-form-rating {
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom:15px;
}

.rv-form-rating-disabled > div {
	cursor:default !important;
}

.rv-form-rating-star {
	cursor:pointer;
	display:block;
	height:28px;
	width:28px;
	margin:0 2px 0 2px;
	background-image:url('images/star_empty.svg');
	background-size:cover;
	transition:transform 0.15s ease;
}

.rv-form-rating-star:hover {
	transform:scale(1.1);
}

.rv-form-rating-star-full {
	background-image:url('images/star_full.svg');
}

.rv-form-input {
	width:100%;
	max-width:400px;
	display:block;
	padding:0px 5px 0px 10px;
	margin:0 auto 15px auto;
	height:40px;
	line-height:40px;
	font-size:16px;
	font-weight:500;
	text-align:center;
	border-radius:20px;
	border:1px solid #C1C1C1;
	background-color:#FFFFFF;
	box-sizing:border-box;
}

.rv-form-input[disabled] {
	background:#F1F1F1 !important;
}

.rv-form-input-invalid {
	box-shadow:0 0 4px 1px rgba(200, 0, 0, 0.2) !important;
	border-color:rgba(200, 0, 0, 0.3) !important;
}

.rv-form-textarea {
	width:100%;
	max-width:400px;
	display:block;
	padding:12px 10px;
	margin:0 auto 15px auto;
	height:120px;
	line-height:1.4;
	font-size:16px;
	font-weight:500;
	text-align:center;
	border-radius:20px;
	border:1px solid #C1C1C1;
	background-color:#FFFFFF;
	box-sizing:border-box;
	resize:none;
}

.rv-form-textarea[disabled] {
	background:#F1F1F1 !important;
}

.rv-form-textarea-invalid {
	box-shadow:0 0 4px 1px rgba(200, 0, 0, 0.2) !important;
	border-color:rgba(200, 0, 0, 0.3) !important;
}

.rv-form-file {
	height:auto !important;
	line-height:normal !important;
	width:100%;
	max-width:400px;
	display:block !important;
	padding:10px 20px;
	margin:0 auto 15px auto;
	font-size:14px;
	border:1px solid #C1C1C1;
	border-radius:20px;
	background-color:#FFFFFF;
	box-sizing:border-box;
}

.rv-form-captcha {
	display:flex;
	align-items:center;
	justify-content:center;
	margin-bottom:15px;
}

.rv-form-captcha > img {
	display:block;
	flex-shrink:0;
	width:150px;
	height:35px;
	margin-right:10px;
}

.rv-form-captcha > input {
	max-width:150px;
	margin:0;
}

.rv-form-send {
	cursor:pointer;
	display:inline-block;
	line-height:1;
	padding:14px 30px;
	margin-bottom:10px;
	font-size:14px;
	font-weight:500;
	color:#FFFFFF;
	background-color:var(--main_color);
	border-radius:25px;
	transition:background 0.3s;
}

.rv-form-send:hover {
	background-color:var(--main_color_hover);
}

.rv-form-send-disabled,
.rv-form-send-disabled:link,
.rv-form-send-disabled:visited,
.rv-form-send-disabled:hover {
	cursor:default !important;
	background:#D7D7D7 !important;
}

.rv-form-checkbox-main {
	display:block;
	max-width:580px;
	margin:0 auto;
	font-size:14px;
}

.rv-form-checkbox-main a:link,
.rv-form-checkbox-main a:visited {
	text-decoration:underline solid #A8A8A8;
	text-underline-offset:2px;
}

.rv-form-checkbox-main a:hover {
	text-decoration:underline solid var(--main_color_active);
}

.rv-form-checkbox {
	display:inline-block;
	width:18px;
	height:18px;
	margin-right:3px;
	position:relative;
}

.rv-form-checkbox input {
	visibility:hidden;
}

.rv-form-checkbox label {
	cursor:pointer;
	width:18px;
	height:18px;
	position:absolute;
	top:0;
	left:0;
	background:none repeat scroll 0 0 #F5F5F5;
	border:1px solid rgba(200, 0, 0, 0.3);
	box-shadow:0 0 4px 1px rgba(200, 0, 0, 0.2);
	transition:border 0.6s, box-shadow 0.4s;
}

.rv-form-checkbox label:after {
	content:'\2714';
	line-height:1;
	position:absolute;
	top:2px;
	left:3px;
	font-weight:bold;
	font-size:15px;
	color:#444444;
	opacity:0;
	transition:opacity 0.3s;
}

.rv-form-checkbox input:checked + label {
	border-color:#C1C1C1;
	box-shadow:none;
}

.rv-form-checkbox input:checked + label:after {
	opacity:1;
}

.rv-form-bottom-line {
	height:1px;
	margin-top:20px;
	background:#E6E6E6;
}

/* list */

.rv-list {
	padding-top:20px;
	position:relative;
}

.rv-list-empty {

}

.rv-list-loader {
	display:none;
	width:100%;
	height:10px;
	margin-top:20px;
	background-image:url('images/loader.gif');
	background-repeat:no-repeat;
	background-position:center;
	background-size:contain;
}

.rv-list-element {
	padding-top:30px;
}

.rv-list-element:first-child {
	padding-top:0;
}

.rv-list-element-header {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
	justify-content:space-between;
	padding-bottom:5px;
}

.rv-list-element-header > div:first-child {
	font-weight:600;
}

.rv-list-element-header > div:last-child {
	display:flex;
	flex-wrap:wrap;
	align-items:center;
}

.rv-list-element-header > div:last-child > div:first-child {
	padding-right:10px;
	font-weight:500;
	color:#636363;
}

.rv-list-element-header > div:last-child > div:last-child {
	display:flex;
	align-items:center;
}

.rv-list-element-header-star {
	display:block;
	cursor:default;
	height:14px;
	width:14px;
	margin-right:2px;
	background-image:url('images/star_full.svg');
	background-size:cover;
}

.rv-list-element-header-star-empty {
	display:block;
	cursor:default;
	height:14px;
	width:14px;
	margin-right:2px;
	background-image:url('images/star_empty.svg');
	background-size:cover;
}

.rv-list-element-center {

}

.rv-list-element-footer {
	display:flex;
	flex-wrap:wrap;
	gap:15px;
	margin-top:15px;
}

.rv-list-element-footer-image {
	cursor:pointer;
	display:block;
	transition:opacity 0.3s;
}

.rv-list-element-footer-image:hover {
	opacity:0.8;
}

.rv-list-element-footer-image img {
	display:block;
	max-width:100px;
	max-height:100px;
	width:100%;
	height:100%;
	margin:0 auto;
	object-fit:cover;
	border-radius:10px;
	aspect-ratio:1 / 1;
}

@media screen and (max-width:575.98px) {
	.rv-list-element-footer {
		justify-content:center;
		gap:6px;
	}

	.rv-list-element-footer-image img {
		max-width:80px;
		max-height:80px;
	}
}
