/* Стили для модалки */
.modal-subscription-buh {
	display: none;
	position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	justify-content: center;
	align-items: center;
}

/* Серая подложка */
.modal-subscription-buh .modal-background {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.59);
	/* Серая прозрачная подложка */
}

/* Контент модалки */
.modal-subscription-buh .modal-content {
	position: relative;
	background-color: white;
	border-radius: 10px;
	text-align: center;
	z-index: 1001;
	/* Выше подложки */
	max-width: 650px;
	max-height: 380px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Изображение в модалке */
.modal-subscription-buh .modal-content img {
	max-width: 100%;
	height: 100%;
	border-radius: 10px;
	object-fit: cover;
}

/* Крестик для закрытия */
.modal-subscription-buh .close-button {
	position: absolute;
	top: 3px;
	right: 15px;
	font-size: 24px;
	color: #222;
	cursor: pointer; 
	transition: all 0.5s ease-in-out;
	-webkit-transition: all 0.5s ease-in-out;
	-moz-transition: all 0.5s ease-in-out;
	-ms-transition: all 0.5s ease-in-out;
	-o-transition: all 0.5s ease-in-out;
}

/* Крестик при наведении */
.modal-subscription-buh .close-button:hover {
	color: #122e46;
}

.modal-content .ad,
.modal-content > div{
height: 100%;
}

@media (max-width: 459px) {
	.modal-subscription-buh .modal-content {
		max-width: 320px;
		height: 300px;
	}

	
}