.dashboard {
	min-height: 90vh;
	padding: 60px 15px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.dashboard h1 {
	margin-top: 0;
	margin-bottom: 30px;
	position: relative;
}

.dashboard h1:before {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 60px;
	height: 2px;
	background: #9ECB3B;
}

.dashboard .sections {
	padding-bottom: 15px;
}

.dashboard .sections a {
	display: block;
	margin-top: 0;
	transition: .15s;
}

.dashboard .sections a .image {
	display: block;
	height: 230px;
	background-color: #053D35;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
	margin: 15px 0 0 0;
	border-radius: 15px 15px 0 0;
}

@media (min-width: 992px) and (max-width: 1600px) {
	.dashboard .sections a .image {
		height: 190px;
	}

	.dashboard .col-wrapper {
		padding: 0 90px;
	}
}



.dashboard .sections a .text {
	background: #9ECB3B;
	text-align: center;
	padding: 8px 15px 12px 15px;
	color: #fff;
	border-radius: 0 0 15px 15px;
	margin-bottom: 15px;
	font-size: 1.2rem;
	text-transform: uppercase;
	font-weight: 600;
	position: relative;
}

.dashboard .sections a .text:before {
	content: '';
	position: absolute;
	bottom: 12px;
	left: 50%;
	transform: translateX(-50%);
	width: 50px;
	height: 3px;
	background: #fff;
}

.dashboard .sections a:hover {
	margin-top: -3px;
	transition: .15s;
}

.news-feed {
	background: #F1F1F1;
	padding: 65px 15px 60px 15px;
}

.news-feed > .row > .container {
	position: relative;
}

.news-feed h2 {
	position: absolute;
	top: -92px;
	left: 15px;
	background: #9ECB3B;
	padding: 8px 100px 12px 0;
	border-radius: 0 10px 10px 0;
	color: #fff;
}

.news-feed h2:before {
	content: '';
	position: absolute;
	top: 0;
	left: -1000%;
	right: 100%;
	height: 100%;
	background: #9ECB3B;
}

.news-feed h2:after {
	content: '';
	position: absolute;
	left: 0;
	bottom: 12px;
	width: 50px;
	height: 3px;
	background: #fff;
}

.news-feed-posts {
	display: flex;
	justify-content: flex-start;
	align-items: center;
	overflow-y: hidden;
	overflow-x: scroll;
	padding-top: 10px;
	padding-bottom: 30px;
	scrollbar-width: thin;
	scrollbar-color: #9ECB3B #fff;
	cursor: url(https://branston.your-site.dev/wp-content/themes/branston-portal/assets/news-feed-arrows.png) 21 21, ew-resize;
}

.news-feed-posts::-webkit-scrollbar {
	height: 20px;
}

.news-feed-posts::-webkit-scrollbar-track {
	border-radius: 10px;
	background: #fff;
}

.news-feed-posts::-webkit-scrollbar-thumb {
	background-color: #9ECB3B;
	border-radius: 10px;
}

.news-feed-posts::-webkit-scrollbar-thumb:hover {
  	background: #053D35;
	cursor: pointer;
}

.news-feed-posts .post {
	flex: 0 0 23.5%;
	max-width: 23.5%;
	display: block;
	margin-right: 2%;
	transition: .15s;
	border-radius: 10px;
}

.news-feed-posts .post:hover {
	margin-top: -3px;
	transition: .15s;
}

.news-feed-posts .post:last-of-type {
	margin-right: 0;
}

.news-feed-posts .post .content {
	background: #fff;
	padding: 15px;
	border-radius: 10px 10px 0 0;
	color: #053d35;
}

.news-feed-posts .post .image {
	height: 140px;
	border-radius: 0 0 10px 10px;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
}


.news-feed-posts .post h3 {
	font-size: 1.1rem;
	font-family: 'Frutiger Bold', sans-serif;
	margin-bottom: 0;
}

.news-feed-posts .post .date {
	font-size: .9rem;
	margin-bottom: 10px;
}

.news-feed-posts .post .preview {
	margin-bottom: 0;
}


/* Back Button - included here as this stylesheet is loaded on all pages */

.back-to-all {
	text-align: center;
	position: relative;
	padding-top: 45px;
}

.back-to-all:before {
	content: '';
	position: absolute;
	top: 0;
	left: 15px;
	right: 15px;
	border-top: 1px solid #ccc;
}

.back-to-all a {
	padding: 8px 20px;
	background: #149181;
	color: #fff;
	border-radius: 30px;
}

.page-template-user-form .back-to-all:before {
	content: none;
}

/* End of Back Button */


/* Scroll To News Feed Button */
html {
	scroll-behavior: smooth;
}

.scroll-to-news-feed {
	position: fixed;
	bottom: 20px;
	left: 20px;
	padding: 8px 20px 8px 15px;
	color: #fff!important;
	background: #053D35;
	border-radius: 30px;
	box-shadow: 0 0 4px 1px rgba(0,0,0,.3);
	z-index: 1;
	opacity: 1;
	transition: .2s;
	display: flex;
	justify-content: center;
	align-items: center;
}

.scroll-to-news-feed.clicked {
	opacity: 0;
	transition: .2s;
}

.scroll-to-news-feed span {
	height: 20px;
	width: 17px;
	margin-right: 7px;
	display: inline-block;
	background-image: url('../arrow-white.svg');
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}



@media (max-width: 991px) {
	.dashboard {
		min-height: unset;
		padding: 15px;
	}

	.dashboard h1 {
		margin-top: 30px;
		margin-bottom: 0;
		text-align: center;
	}

	.dashboard h1:before {
		left: 50%;
		transform: translateX(-50%);
	}

	.dashboard .sections {
		padding-top: 30px;
		padding-bottom: 60px;
		margin-left: -7px;
		margin-right: -7px;
	}

	.dashboard .sections .col {
		padding: 0 8px;
	}

	.dashboard .sections a .image {
		height: 130px;
		margin-top: 0;
	}
	
	.dashboard .sections a .text {
		font-size: 1.1rem;
		padding: 3px 15px 10px 15px;
	}

	.dashboard .sections a .text:before {
		bottom: 8px;
	}

	.news-feed-posts .post {
		flex: 0 0 47.5%;
		max-width: 47.5%;
		margin-right: 5%;
	}

	.news-feed-posts .post h3 {
		font-size: .9rem;
	}

	.news-feed-posts .post .date {
		font-size: .7rem;
	}

	.news-feed-posts .post .preview {
		font-size: .8rem;
		line-height: 1.2;
	}

	.scroll-to-news-feed, .scroll-to-news-feed.clicked {
		display: none!important;
	}


}