/* CSS Document */

.newspage-news-wrapper {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	color: #fff;
	padding: 20px 0 100px 0;
}
.col-news {
	flex-basis: 75%;
	display: flex;
	flex-wrap: wrap;
}
.col-sidebar {
	flex-basis: 25%;
}
.newspage-news-wrapper h2 {
	font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.5em;
    line-height: 1em;
    margin: 0 0 15px 0;
    padding: 0;
}
a.news-item {
	flex-basis: 44%;
	display: block;
	border-radius: 20px;
	border: 5px solid transparent;
	transition: all 0.4s;
	color: #fff;
	overflow: hidden;
	margin: 2% 1%;
}
a:hover.news-item {
	border: 5px solid rgba(199,222,130, 1);
	background: linear-gradient(to bottom, rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 100%);
	transform: scale(1.05);
	box-shadow: 0px 0px 20px 0px rgba(255,255,255,0.3);
}
a.news-item .news-date {
	text-transform: uppercase;
	font-size: 1em;
	line-height: 1em;
	color: #ccc;
	font-weight: 700;	
}
a.news-item h3 {
	color: #ABDFEE;
    font-weight: 100;
    font-size: 2em;
    line-height: 0.85em;
    margin: 5px 0 0 0;
    padding: 0;
    font-family: 'Source Sans Pro', sans-serif;
}

a.news-item .news-img {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	width: 100%;
	height: 250px;
}
a.news-item .news-item-wrapper {
	padding: 10px;
}
.news-sticky {
	position: -webkit-sticky; /* for Safari */
	position: sticky !important;
	top: 130px;
	align-self: flex-start; /* <-- this is the fix */
}

.col-sidebar ul a {
	color: #ABDFEE;
	transition: all 0.3s;
}
.col-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	width: 98%;
}
.col-sidebar ul li {
	margin-right: 2px;
}
.col-sidebar ul li a {
	padding: 2px 3px;
	border: 2px solid transparent;
	border-radius: 20px;
	display: block;
	font-size: 0.9em;
}
.col-sidebar ul a:hover {
	color: #fff;
	border-color: #fff;
}
@media only screen and (max-width: 1400px) { 

	a.news-item .news-img {
		height: 180px;
	}
	a.news-item h3 {
		font-size: 1.6em;
		line-height: 0.95em;	
	}
}
@media only screen and (max-width: 1000px) { 

	a.news-item .news-img {
		height: 140px;
	}
}
@media only screen and (max-width: 900px) { 
	a.news-item .news-img {
		height: 220px;
	}
	.col-news {
		flex-basis: 75%;
	}
	a.news-item {
		flex-basis: auto;
		margin: 4%;
	}	
}
@media only screen and (max-width: 700px) { 
	.newspage-news-wrapper {
	  flex-direction: column-reverse;
	}
	.news-sticky {
		position: relative !important;
		top: auto;
		align-self: auto; /* <-- this is the fix */
	}	
}
@media only screen and (max-width: 550px) { 

	a.news-item .news-img {
		height: 140px;
	}
}