.modal-sun-overlay {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999999;
	background: #000000bf;
	opacity: 0;
	overflow:hidden;
	transition: 0.5s ease;
}

.modal-sun-overlay.open {
	opacity: 1;
}

.modal-sun {
	padding: 40px;
    max-width: 440px;
	overflow-y: auto;
	position: relative;
	max-height: 100%;
	background: #fff;
	width: 100%;
	position: absolute;
	left: 50%;
	top: 50%;
	box-shadow: 0 10px 50px 0 rgba(0, 15, 83, 0.10);
	border-radius: 16px;
	transform: translate(-50%, -50%);
}

.modal-sun-cf7__head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 24px;
}

.modal-sun-cf7__head .title {
	font-size: 28px;
	font-weight: 500;
	line-height: 1.1;
}

.modal-sun-cf7__head .text {
	font-weight: 400;
}

.modal-sun .modal-in .header_form {
	margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.modal-sun .header_form .header_form__title{
	margin: 0 0 16px;
	font-size: 24px;
	line-height: 1.2;
	font-weight: 500;
	text-transform:uppercase;
	color:#212121;
}

.modal-sun .header_form .header_form__desc{
	font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    display: block;
}

.modal-sun .modal-in-thanks .header_thanks {
	margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.thanks_close {
	font-size: 14px;
	letter-spacing: 0.56px;
	text-transform: uppercase;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 24px;
	color: #fff;
	background-color: var(--primary);
	border-radius: 8px;
	margin-top: 24px;
	width: 100%;
	height: 48px;
}

.body_thanks .text {
	font-size: 16px;
	font-weight: 400;
	text-align: center;
}

.modal-sun .modal-in-thanks .header_thanks .header_form__title {
    font-size: 22px;
    line-height: 1.2;
    text-align: center;
	font-weight: 500;
}

.modal-sun .modal-in-thanks .header_thanks .desc {
	font-size: 16px;
	margin-top: 30px;
	display: block;
}

.modal-sun .modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	display: flex;
	cursor: pointer;
}

.modal-sun .modal-close svg path {
	stroke: grey;
}