.page-sub-navigation {
	background-color: #f4f2f2;
	padding: 1em;
}
.page-sub-navigation ul {
	margin-left: 0px;
	padding-left: 0px!important;
}

hr.green-border {
	border-bottom: 5px solid #b6d054;
	margin-bottom: 30px;
	margin-top: 30px;
}

h1,
h2,
h3,
h4,
h5 {
	color: #164444;
	line-height: 1.25em;
}

h2,
h3 {
	font-weight: 600;
}


.has-light-green-text-color{
	color: #b6d054!important;
}
.light-grey-background-color
{
	background-color: #dfe4e7;
}
.funding-stream-bg-image img
{
	margin:0px!important;
	padding:0px!important;
	height: 100%!important;
}
.funding-stream-title-container
{
	padding: 30px;
}
.funding-stream-description
{
	padding: 20px;
}
.page-sub-navigation h4 {
	border-bottom: 1px solid #000000;
	color: #000000;
}

.page-sub-navigation li {
	list-style-type: none;
}
.page-sub-navigation li.current-page-item
{
	font-weight: bold;
}

.nav-spacing-top {
	margin-top: 30px;
}

.priority-container {
	background-color: #b6d054;
	margin-bottom: 20px;
	clear: both;
}
.priority-container.funding-stream-container
{
	background-color: #164444;
}
.priority-container.funding-stream-container h3
{
	color:white;
}

.priority-content {
	width: 55%;
	padding-top: 35px;
	padding-left: 35px;
}

.priority-content h3 {
	font-size: 28px;
	line-height: 30px;
}

.priority-toggle-btn {
	background-color: white;
	display: inline-block;
	width: 30px;
	height: 30px;
	color: black;
	border-radius: 50px;
	text-align: center;
	text-decoration: none;
	line-height: 28px;
}

.padding-below {
	padding-bottom: 30px;
}

.priority-toggle-btn:hover {
	text-decoration: none;
}

.priority-toggle-btn::before {
	content: '+';
}

.priority-toggle-btn.expanded::before {
	content: '-';
}

.priority-expandable-content {
	display: none;
}

.priority-expandable-content.expanded-content-area {
	display: block;
	padding:1em;
	margin-bottom: 90px;
}
.priority-expandable-content h3 {
	margin-top: 20px;
}

.priority-learn-more {
	border-top:4px solid #164444;
	margin-bottom: 92px;
	margin-top: 20px;
}

.priority-learn-more a {
	background-color: #164444;
	color: white;
	display: inline-block;
	padding: 1em;
	text-decoration: none;
	float: right;
}

.priority-learn-more a .learn-more-plus{
	background-color: white;
	border-radius: 50px;
	width: 30px;
	height: 30px;
	display: inline-block;
	text-align: center;
	color: #164444;
	text-decoration: none;
	line-height: 27px;
	margin-left: 30px;
}

.level-2-header-container
{
	background-color: #b6d054;

}
.level-2-header-container h4 {
	font-size: 18px;
}
.level-2-header-content {
	width: 50%;
	padding:30px;
	padding-top: 50px;
padding-bottom: 50px;
}
.level-2-header-content h1{
	font-size: 33px;
	font-weight: bold;
	line-height: 33px;
}
.level-3-header-container {
	background-color: #164444;

}
.level-3-header-container h4 {
	color:#b6d054;
}
.level-3-header-container h1 {
	color:#ffffff;
}
.level-3-header-number {
	color:#048059;
	font-size: 100px;
	font-weight: 800;
	padding-top: 30px;
	display: inline-block;
}
.padding-before
{
	padding-top: 30px;
}
.level-3-header-content
{
	padding: 30px;
	padding-bottom: 15px;
}
.grey-box-container
{
	background-color: #f4f2f2;
	padding: 1em;
	margin-top: 30px;
	margin-bottom: 30px;
}


a.resource-link {
background-color: #048059;
display: block;
padding:20px;
color:white;
text-decoration: none;
margin-bottom: 15px;

}
a.resource-link::after {
	content:' ';
	display: inline-block;
	background-image: url('https://www.gov.mb.ca/asset_library/en/scap/resource-link-icon.png');
	background-repeat: no-repeat;
	background-size: contain;
	width: 30px;
	height: 20px;
	float: right;
}

.home-header-wrapper
{
	background-color: #164444;
	margin-bottom: 100px;
	height: 350px;
}

.home-header-icon img
{
	width: 400px;
}
.home-header-content {
	position: relative;
bottom: -50px;
z-index: 1;
}
.home-header-bottom-image
{
	background-image: url('https://www.gov.mb.ca/asset_library/en/scap/home-header-bg.png');
	background-size: cover;
	width: 100%;
	position: relative;
	height: 183px;
	background-repeat: no-repeat;
	bottom: 200px;

}
.priority-6-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-6.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.priority-5-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-5.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.priority-4-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-4.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.priority-3-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-3.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}
.priority-2-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-2.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}
.priority-1-header-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/level-2-priority-1.png');
	background-position: 127% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}




.funding-stream-1-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/stream_1_header.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-2-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/stream_2_header.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-3-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/stream_3_header.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-4-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/stream_4_header.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.number-spacer
{
	height: 78px;
	display: block;
}

.level-3-header-number
{
	font-size: 0px!important;
	height: 78px;
	display: block;
}
.funding-stream-agroforestry-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/funding-stream-agroforestry.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-riparian-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/funding-stream-riparian.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-wetlands-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/funding-stream-riparian.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}

.funding-stream-water-retention-heading-bg
{
	background-image:url('https://www.gov.mb.ca/asset_library/en/scap/funding-stream-water-retention.png');
	background-position: 100% 100%;
	background-size: contain;
	background-repeat: no-repeat;
}




.home-header-headings {
	padding-left: 40px;
  }
  .home-header-headings h1 {
	font-weight: bold;
  }
  .priority-image img
  {
	padding:0px!important;
	margin-bottom: -5px !important;
	height: 100%;
  }
#main-content   .priority-image img
{
	height: 100%;
}
  .footer-logo-wrapper
  {
	clear: both;
	padding: 40px;
  }

  .footer-mb-logo-partner{
	width: 200px;
  }
  .footer-canada-logo-partner
  {
	width: 140px;
  }

  .align-text-right
  {
	text-align: right;
  }


.two-col-container
{
	padding-bottom: 50px;
}

  @media only screen and (max-width:895px)
  {
	.two-col-container {
		flex-direction: column-reverse;
	}
	.two-col-left-container 
	{
		flex: none;
		width: 100%;
	}
	.level-2-header-content
	{
		width: 100%;
		padding-top: 20px;
		padding-bottom: 150px;
	}
	.level-2-header-container
	{
		background-size: 60%!important;
	}

	.funding-stream-description
	{
		flex:100%;
	}
	.priority-container .flex-container {
		flex-wrap: wrap;
	}
	.table-overflow-wrapper
	{
		max-width: 100%;
		overflow-x:auto;
	}
	.level-3-header-content
	{
		padding-bottom: 150px;
	}
	.level-3-header-container
	{
		background-size: 40%;
	}
  }
  @media only screen and ( max-width:850px)
{
	.home-header-bottom-image
	{
		bottom: 160px;
	}
}
  @media only screen and ( max-width:800px)
  {
	.home-header-bottom-image
	{
		bottom: 150px;
	}
  }
  @media only screen and ( max-width:700px)
  {
	.home-header-bottom-image
	{
		bottom: 120px;
	}
  }


  @media only screen and ( max-width:670px)
  {
	.home-header-bottom-image
	{
		bottom: 55px;
	}
  }



  @media only screen and (max-width:635px)
{
	.priority-content
	{
		width: 90%;
		padding:20px!important;
	}
	.priority-image.flex-col-40
	{
		flex: none;
		text-align: right;
	}
	.home-header-content.flex-container
	{
		display: block;
	}
	.home-header-icon
	{
		display: block;
		width: 47%;
		float: right;
	}
	.home-header-bottom-image
	{
		height: 78px;
		background-repeat: no-repeat;
		bottom: -155px;
		
	}
	.priority-image.flex-col-40 img
	{
		width: 80%;
	}
	.priority-container.flex-container
	{
		display: block;
	}
	.level-3-header-container
	{
		background-size: 60%;
	}
	
}

@media only screen and (max-width:500px)
{
	.level-2-header-container
	{
		background-size: contain!important;
	}
	.level-3-header-container
	{
		background-size: 70%;
	}
}

.footer-canada-logo-partner {
	padding-top: 9px !important;
  }