/*****************************
*	horizontal news ticker
******************************/

.ticker-wrapper-h{
	display: flex;	
	position: relative;
	overflow: hidden;
	border: 1px solid #1d1d1d;
}

.ticker-wrapper-h .heading{
	background-color: rgb(76, 152, 240);
	color: #fff;
	padding: 5px 10px;
	flex: 0 0 auto;
	z-index: 1000;
}
.ticker-wrapper-h .heading:after{
	content: "";
	position: absolute;
	top: 0;
	border-left: 20px solid rgb(76, 152, 240);
	border-top: 17px solid transparent;
	border-bottom: 15px solid transparent;
}


.news-ticker-h{
	display: flex;
	margin:0;
	padding: 0;
	padding-left: 90%;
	z-index: 999;
	
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	animation-name: tic-h;
	animation-duration: 30s;
	
}
.news-ticker-h:hover { 
	animation-play-state: running; 
}

.news-ticker-h li{
	display: flex;
	width: 100%;
	align-items: center;
	white-space: nowrap;
	padding-left: 20px;
}

.news-ticker-h li a{
	color: #212529;
	font-weight: bold;
}

@keyframes tic-h {
	0% {
		-webkit-transform: translate3d(0, 0, 0);
		transform: translate3d(0, 0, 0);
		visibility: visible;
	}
	100% {
		-webkit-transform: translate3d(-100%, 0, 0);
		transform: translate3d(-100%, 0, 0);
	}
}
/*****************************
*	vertical news ticker
******************************/
.ticker-wrapper-v{
	display: flex;	
	position: relative;
	overflow: hidden;
	border: 1px solid #1d1d1d;
	height: 36px;
}

.ticker-wrapper-v .heading{
	background-color: rgb(76, 152, 240);
	color: #fff;
	padding: 5px 10px;
	flex: 0 0 auto;
	z-index: 1000;
}
.ticker-wrapper-v .heading:after{
	content: "";
	position: absolute;
	top: 0;
	border-left: 20px solid rgb(76, 152, 240);
	border-top: 17px solid transparent;
	border-bottom: 15px solid transparent;
}

.news-ticker-v{
	display: flex;
	flex-wrap: wrap;
	margin:0;
	padding: 0;
	z-index: 999;
	
	animation: tic-v 10s cubic-bezier(1, 0, .5, 0) infinite;
}
.news-ticker-v:hover { 
	animation-play-state: paused; 
}

.news-ticker-v li{
	display: flex;
	width: 100%;
	line-height: 30px;
	align-items: center;
	white-space: nowrap;
	padding-left: 20px;
}

.news-ticker-v li a{
	color: #212529;
	font-weight: bold;
}

@keyframes tic-v {
	0%   {margin-top: 0;}
	20%  {margin-top: -30px;}
	40%  {margin-top: -60px;}
	60%  {margin-top: -90px;}
	80%  {margin-top: -120px;}
	100% {margin-top: 0;}
}




/*****************************
*	vertical news ticker with image
******************************/
.ticker-wrapper-v-image{
	display: flex;	
	position: relative;
	width: 100%;
	height: 300px;
	overflow: hidden;
}

.news-ticker-v-image{
	list-style: none;
	margin:0;
	padding: 0;
	animation: tic-v-image 20s cubic-bezier(1, 0, .5, 0) infinite;
}

.news-ticker-v-image:hover { 
	animation-play-state: paused; 
}

.news-ticker-v-image li{
	margin-bottom: 20px;
}
	
.news-ticker-v-image .thumbnail {
	max-width: 100%;
	height: auto;
	float: left;
	margin-right: 10px;
	display: inline-block;
}
.ticker-wrapper-v-image .clear {
	clear: both;
}
.ticker-wrapper-v-image .news_title a{
	color: #1d1d1d;
	font-size: 20px;
	font-weight: bold;
}
.ticker-wrapper-v-image .news_title{
	line-height: 20px;
}
.ticker-wrapper-v-image .news-content{
	color: #1d1d1d;
	font-size: 16px;
}

@keyframes tic-v-image {
	0%   {margin-top: 0;}
	25%  {margin-top: -16%;}
	50%  {margin-top: -32%;}
	75%  {margin-top: -50%;}
	100% {margin-top: 0;}
}