.advertisement {
	display: none;
	margin: 5px;
	/* position: relative; */
	transition: transform 0.3s ease-out, top 0.3s ease-out;
	transform: translateX(0);
	/* position: absolute; */
	/* border: 1px solid #d2d2d2;
	background: #fff; */
	width: 357px;
	z-index: 9999;
}
.close-advertisement {
	position: absolute;
	top: -10px;
	right: 0;
	padding: 7px;
	line-height: 5px;
	background: #40e247;
	color: #fff;
	text-align: center;
	font-size: 12px;
	cursor: pointer;
	z-index: 99;
}
.advertisement-wrap {
	display: flex;
	justify-content: center;
	/* margin-bottom: 10px; */
}

.advertisement-url img {
	width: 100%;
}

a.adv-event-title {
	display: block;
	text-decoration: none;
	font-size: 14px;
	width: 100%;
	font-weight: 600;
	color: #424287;
	text-align: start;
	box-sizing: border-box;
	padding: 5px 10px;
}
a.adv-event-title:hover {
	color: #3e3eb4 !important;
}

.adv-event-text {
	margin: 0;
	padding: 5px 10px;
	color: #424287 !important;
	text-align: start;
	display: block;
	font-size: 13px !important;
	text-decoration: none !important;
}
.adv-event-text:hover {
	color: #424287;
}
.advertisement-post-wrap {
	display: flex;
	flex-direction: column;
	transition: 0.5s;
	animation: moving-animation 8s infinite;
}
.img-top {
	flex-direction: column;
}

.img-bottom {
	flex-direction: column-reverse;
}

.img-right {
	flex-direction: row-reverse;
}

.img-left {
	flex-direction: row;
}

.advertisement-post-content {
	/*display: none;*/
	background: #fff;
}


@keyframes moving-animation {

	0%,
	100% {
		transform: rotateX(0deg) rotateY(365deg) rotateZ(0deg);
		box-shadow: 0px 0px 0px 0px rgba(0, 0, 0, 0.4);
	}

	50% {
		transform: rotateX(0deg) rotateY(380deg) rotateZ(-3deg);
		box-shadow: -4px 4px 20px -5px rgba(0, 0, 0, 0.4);
	}
}