.cookies-block {
	max-width:432px;
	background:#fff;
	box-shadow: 0px 20px 50px rgba(43, 27, 53, 0.25);
	border-radius: 20px;
	padding:24px;
	position:fixed;
	top:50%;
	left:50%;
        transform: translate(-50%, -50%);
	color: #2B1B35;
	font: 16px/20px var(--font-family-rg);
	z-index:10000000000 !important;
	transition: opacity 0.3s ease;	
}

.cookies-block-content {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    z-index: 10000000000 !important;
}

.cookies-block-content.show {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.cookies-block-background {
    position: fixed;
    top: 0px;
    left: 0px;
    background-color: black;
    z-index: 10000000000 !important;
    height: 100%;
    width: 100%;
    opacity: 0.5;
}

.cookies-block .name {
	font: 20px/26px var(--font-family-b);
	padding-right:80px;
	margin:0 0 8px;
}
.cookies-block .close {
	background: #F1F6FF;
	border-radius: 100px;
	position:absolute;
	right:24px;
	top:24px;
	width:40px;
	height:40px;
	cursor:pointer;
	-webkit-transition: opacity .3s ease, background .3s ease;
	-moz-transition: opacity .3s ease, background .3s ease;
	-ms-transition: opacity .3s ease, background .3s ease;
	-o-transition: opacity .3s ease, background .3s ease;
	transition: opacity .3s ease, background .3s ease;
}
.cookies-block .close:after {
	-webkit-transition:  opacity .3s ease, background .3s ease;
	-moz-transition:  opacity .3s ease, background .3s ease;
	-ms-transition:  opacity .3s ease, background .3s ease;
	-o-transition:  opacity .3s ease, background .3s ease;
	transition:  opacity .3s ease, background .3s ease;
	display:block;
	width:100%;
	height:100%;
	content:'';
	background:url(/resources/site/images/popup-close-icon.svg) no-repeat center center;
}
.cookies-block .close:hover:after {
	opacity:0.5;
}
.cookies-block .close:active {
	background: #E5EFFF;
}
.cookies-block .close:active:after {
	opacity:0.5;
}
.cookies-block p {
	margin-bottom:16px;
}
.cookies-block .button-btn {
	display: inline-block;
}
.cookies-block p a {
	color: #1248B2;
	-webkit-transition: opacity .3s ease;
	-moz-transition:opacity .3s ease;
	-ms-transition: opacity .3s ease;
	-o-transition:opacity .3s ease;
	transition: opacity .3s ease;
}
.cookies-block p a:hover {
	opacity:0.5;
}
@media only screen and (max-width: 560px) {
	.cookies-block {
		max-width: 90%;
		width: 90%;
	}
}

@media only screen and (max-width: 500px) {
	.cookies-block {
		right:24px;
	}
	.cookies-block .name {
		padding-right: 50px;
	}
}

.button-default.accept_cookie {
	min-width: unset;
	display: inline-block;
}