* {
	margin: 0;
	padding: 0;
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}
.newsticker{
	display: flex;
	flex-direction: row;
	/* Below sets up your display method, ex: flex-start|flex-end|space-between|space-around */
	justify-content: flex-start; 
	/* Below removes bullets and cleans white-space */
	list-style: none;
	padding: 0;
	/* Bonus: forces no word-wrap */
	white-space: nowrap;
}

.ticker-container {
	height: 60px;
	width: 100%;
	text-align: center;
	position:absolute;
	bottom:0px;
	overflow: hidden;
	background-color: rgba(0,0,0,1);
	color: #3399FF;
	/*background-color: white;
	color: black;*/
	font-size: 1.2em;
	margin-bottom: 0px;
}
.ticker-container .mask { /* that serves as a mask. so you get a sort of padding both left and right */
	#position: relative;
	left: 130px;
	top: 8px;
	width: 100%;
	overflow: hidden;
	font-size: 1.2em;
	font-weight: bold;
}
ul.newsticker { /* that's your list */
	position: relative;
	left: 750px;
	list-style-type: none;
	margin: 0;
	padding: 0;

}
ul.newsticker li {
	float: left; /* important: display inline gives incorrect results when you check for elem's width */
	margin: 0;
	padding: 0;
}
ul.newsticker a {
	white-space: nowrap;
	padding: 0;
	color: #3399FF;
	text-decoration:none;
	margin: 0 50px 0 0;
} 
ul.newsticker span {
	margin: 0 10px 0 0;
}
.ticker-container .ticker-caption {
	height: 50%;
	width: 100%;
	background-color: #EC0B43;
	display: table;
	position: absolute;
	color: white;
	font-size: 0.8em;
	z-index: 1;
}
.ticker-container .ticker-caption p {
	height: inherit;
	width: inherit;
	display: table-cell;
	vertical-align: middle;
	font-weight: bold;
}
.ticker-container ul {
	list-style: none;
	padding: 0;
	height: auto;
}
.ticker-container ul div {
	overflow: hidden;
	position: absolute;
	z-index: 0;
	display: inline;
	min-width: 100%;
	left: 0;
	height: 50%;
	transition: 0.25s ease-in-out;
}
.ticker-container ul div.ticker-active {
	top: 30px;
}
.ticker-container ul div.not-active {
	top: 60px;
}
.ticker-container ul div.remove {
	top: 0;
}
.ticker-container ul div li {
	padding: 5px 0;
}
.ticker-container ul div li a {
	color: #EC0B43;
}

@media (min-width: 500px) {
	.ticker-container {
		height: 30px;
		position:absolute;
		bottom:0px;
		text-align: left;
	}
	.ticker-container .ticker-caption {
		height: 100%;
		width: 150px;
		background: url('./ticker-caption-bg.png');
	}
	.ticker-container .ticker-caption p {
		text-align: left;
		padding-left: 7px;
	}
	.ticker-container ul {
		margin-left: 170px;
		height: 100%;
	}
	.ticker-container ul div {
		height: 100%;
		left: 170px;
	}
	.ticker-container ul div.ticker-active {
		top: 0;
	}
	.ticker-container ul div.not-active {
		top: 30px;
	}
	.ticker-container ul div.remove {
		top: -30px;
	}
}

@media (min-width: 768px) {
  .ticker-container {
    margin-bottom: 0px;
	position:absolute;
	bottom:0px;
  }
}

@media (min-width: 992px) {
  .ticker-container {
	position:absolute;
	bottom:0px;
    margin-bottom: 0px;
  }
}