/*//////////////////////////////////////////////////////////
Advertisement
/////////////////////////////////////////////////////////*/

.ads-container {
	text-align: center;
	margin: 0 auto;
}

.ads-container img {
	max-width: 100%;
	height: auto;
	object-fit: cover;
}

/*/////////////////////////////////////////////////////////*/

.ads-fixed-left {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	left: 0;
	z-index: 999;
}

@media (min-width: 1300px) {
	.ads-fixed-left {
		left: calc( 50% - 700px );
	}
}

.ads-fixed-right {
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	right: 0;
	z-index: 999;
}

@media (min-width: 1300px) {
	.ads-fixed-right {
		right: calc( 50% - 700px );
	}
}

.ads-fixed-left-close {
	left: 0;
}

.ads-fixed-right-close {
	right: 0;
}

.ads-fixed-left-close,
.ads-fixed-right-close {
	position: absolute;
	top: 0;
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background: var(--primary);
	color: var(--light);
	cursor: pointer;
}

@media (max-width: 1024px) {
	.ads-fixed-right,
	.ads-fixed-left {
		display: none;
	}
}

/*/////////////////////////////////////////////////////////*/

.ads-fixed-bottom {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: var(--light);
}

.ads-fixed-bottom-close {
	position: absolute;
	right: 0;
	top: 0;
	display: inline-block;
	width: 20px;
	height: 20px;
	line-height: 20px;
	text-align: center;
	background: var(--primary);
	color: var(--light);
	cursor: pointer;
}

/*/////////////////////////////////////////////////////////*/

.ads-parallax-wrapper {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
	clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
	margin-bottom: 1em;
}

.ads-parallax-container {
	height: auto;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
}

/*/////////////////////////////////////////////////////////*/

.ads-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .8);
    z-index: 9998;
}

.ads-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999;
    color: var(--light);
    padding: 0 1em;
}

.ads-popup-header div span {
    display: inline-block;
    padding: .10em .5em;
    background: rgba(0, 0, 0, .5);
    font-size: var(--text-x5s);
    border-radius: 50px;
}

.ads-popup-main span {
    position: absolute;
    top: -15px;
    right: -15px;
    display: inline-block;
    width: 25px;
    height: 25px;
    line-height: 3px;
    border-radius: 25px;
    text-align: center;
    background: var(--light);
    border: 1px solid #000000;
}

.ads-popup-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 440px) {
	.ads-popup {
		width: 100%;
	}
}