/* Zingies Marquee frontend contract. */

.runtext-container {
	position: relative;
	z-index: 10;
	width: 100%;
	overflow-x: hidden;
	overflow-y: hidden;
	padding: 0 3px;
	background: #000;
	border: 1px solid #000;
}

.runtext-container .main-runtext {
	position: relative;
	height: 40px;
	margin: 0 auto;
	overflow: visible;
}

.runtext-container .custom-marquee {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100%;
	animation: scroll-text 40s linear infinite;
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
	line-height: 40px;
}

.runtext-container .holder {
	position: relative;
	display: inline;
	float: left;
	overflow: visible;
}

.runtext-container .holder .text-container {
	display: inline;
	margin: 0 10px;
}

.runtext-container .holder a {
	margin: 0 15px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
}

.runtext-container .holder a:hover {
	color: #c5c4c7;
}

.runtext-container .text-container a::before {
	position: relative;
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-right: 10px;
	content: '';
	background-color: #fff;
	border-radius: 100%;
}

.runtext-container .text-container a:hover::before {
	background-color: #c5c4c7;
}

.runtext-container .text-container a.fancybox::before {
	display: none;
}

.runtext-container .zingakia {
	height: 18px !important;
	margin-right: 10px;
}

body.en .runtext-container .custom-marquee .el-text {
	display: none;
}

body.el .runtext-container .custom-marquee .en-text {
	display: none;
}

/* Child-theme [smooth_marquee] parity. The shortcode also emits the legacy
 * static style block so cached/raw output keeps the same DOM contract. */
.custom-marquee-wrapper {
	position: relative;
	height: 40px;
	overflow: hidden;
	background-color: #000;
	border: 1px solid #000;
}

.custom-marquee-wrapper .custom-marquee {
	display: inline-block;
	white-space: nowrap;
	padding-left: 100%;
	animation: scroll-text 40s linear infinite;
	will-change: transform;
	transform: translateZ(0);
	backface-visibility: hidden;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 40px;
}

.custom-marquee-wrapper .custom-marquee a {
	margin: 0 15px;
	color: #fff;
	text-decoration: none;
}

.custom-marquee-wrapper .custom-marquee a:hover {
	color: #ccc;
}

@keyframes scroll-text {
	0% {
		transform: translateX(0%);
	}

	100% {
		transform: translateX(-100%);
	}
}

@media only screen and (max-width: 921px) {
	.runtext-container .custom-marquee {
		animation-duration: 30s;
	}

	.custom-marquee-wrapper .custom-marquee {
		animation-duration: 30s;
	}
}
