/*
Theme Name: Wonder
Theme URI: 
Description: Wonder Wordpress framework
Version: 1.0
Author: Michael Michniewicz
Author URI: http://www.masm.ca
*/

@import url('https://fonts.googleapis.com/css?family=Open+Sans:100,100i,300,300i,400,400i,500,500i,700,700i,900,900i'); /* Open Sans google font */

/* start wp-block overrides */
body .wp-block-cover {
	padding: 0;
}
.wp-block-cover__inner-container, .entry-content-wrap, .footercontent,  .category-banner {
    max-width: 1368px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
	width: 100%;
}
@media only screen and (min-width: 40.0625em)  {
	.wp-block-cover__inner-container, .entry-content-wrap, .footercontent, .category-banner {
		padding-left: 2rem;
    	padding-right: 2rem;
	}
}
@media only screen and (min-width: 64.0625em) {
	.wp-block-cover__inner-container, .entry-content-wrap, .footercontent, .category-banner {
		padding-left: 3rem;
    	padding-right: 3rem;
	}
}

.footer-wrap {
 background-color: #0f0c24;
}
.wp-element-button {
	text-decoration: none;
}
.wp-block-image img {
	height: auto;
	width: 100%;
}
/* end wp-block overrides */

/* start pagination */
.pagination {
    text-align: center;
    margin-top: 6rem;
	margin-bottom: 4rem;
}
@media only screen and (min-width: 40.0625em) {
	.pagination {
		margin-bottom: 6rem;
	}
}
@media only screen and (min-width: 64.0625em) {
	.pagination {
		margin-bottom: 0;
	}
}
.pagination .page-numbers {
    padding: 6px 12px;
    margin: 0 5px;
    color: #fff;
    text-decoration: none;
}
.pagination .current {
    background: #fff;
    color: #333;
	border-radius: .125rem;
}
.pagination .prev,
.pagination .next {
    background: none;
	color: #fff;
	
}
.pagination .prev {
	float: left;
}
.pagination .next {
	float: right;
}
/* end pagination */


/* team section */
body .wp-block-column.team-member {
	margin-left: auto;
	margin-right: auto;
	max-width: 280px;
	min-width: 280px;
}
.team-member-bio-wrap {
  position: relative;
  overflow: hidden;
	max-height: 363px;
	border-top-left-radius: 4.25rem;
	border-top-right-radius: 4.25rem;
}
.team-member-bio {
	position: absolute;
    top: 100%;
    left: 0;
    height: 343px;
    right: 0;
    background: rgba(15, 12, 36, 0.7);
    padding: 4rem 1rem;
    line-height: 1.5rem;
    transition: top 0.4s ease-in-out;
}
body p.team-member-title {
	margin-top: .75rem;
	padding-top: .75rem;
	border-top: 1px solid #61CE70;
	margin-bottom: .5rem;
}
.team-member:hover .team-member-bio {
  top: 0;
}
.team-member .wp-block-image img {
	transition: all 0.4s ease-in-out;
}
.team-member:hover .wp-block-image img {
	max-width: 103%;
    width: 103%;
    margin-top: -11px;
	margin-left: -3px;
}
/* end team section */

/* start category banner */
.category-banner-wrap {
	min-height: 400px;
    background-position: center;
    background-size: cover;
	display: flex;
	align-items: center;
}
.category-banner p {
	max-width: 600px;
	font-size: 1rem;
	line-height: 1.5rem;
}
/* end category banner */

/* start opportunity entry content */
.entry-content-wrap {
	padding-top: 3rem;
	margin-bottom: 6rem;
}
@media only screen and (min-width: 64.0625em) {
	.entry-content-wrap {
		display: flex;
		margin-bottom: 9rem;
	}
}
.entry-content-wrap p {
    font-size: 1rem;
    line-height: 1.5rem;
}
.entry-content-wrap img {	
	max-width: 100%;
	height: auto;
	border-top-left-radius: .4rem;
    border-top-right-radius: .4rem;
}
.entry-content ul {
    list-style-type: disc;
    padding-left: 20px;
}
.entry-content {
	padding-top:  1.25rem; /* 20px */
	padding-bottom: 0.625rem; /* 10px */
}
@media only screen and (min-width: 64.0625em) {
	.entry-content {
		width: 70%;
		padding-right: 3.75rem; /* 60px */
	}
	.entry-sidebar-content {
		margin-top: 1.25rem; /* 20px */
		padding-left: 3.75rem; /* 60px */
		border-left: 1px solid white;
		width: 30%;
	}
}
.entry-sidebar-content h2 {
	font-size: 1.7rem;
	line-height: unset;
	font-weight: 600;
}
.entry-sidebar-content ul {
	list-style-type: none;
}
.entry-sidebar-content ul li {
	margin-bottom: 1.125rem;
}
.entry-sidebar-content ul li a { 
	color: white;
	text-decoration: none;
}
.entry-sidebar-content ul li a:hover {
	text-decoration: underline;
}
.entry-content-search {
	margin-top: .5rem;
	margin-bottom: 2rem;
}
.entry-content-item {
	position: relative;
} 
.opportunity-tag {
	position: absolute;
	right: .625rem;
	top: .625rem;
	background-color: #555365;
	border-radius: 5px;
	padding: .25rem .5rem; /* 4px 8px */
}
.opportunity-tag a, .opportunity-tag a:visited {
	color: #97fce9;
	text-decoration: none;
	font-size: 0.875rem;
}
.opportunity-tag a:hover {
	color: #000;
}
.opportunity-link {
	text-decoration: none;
	color: white;
	font-weight: 600;
}
.entry-content-categories {
    border-top: .125rem solid white;
padding-top: 1rem;
}
/* end opportunity entry content */


/* start wp forms submit */
.wpforms-submit-container {
    text-align: center;
}
.wpforms-submit, div.wpforms-container-full .wpforms-form button[type=submit] {
    border-radius: 5px !important;
    font-size: 16px;
    width: 140px;
    height: 50px;
    padding: 0 !important;
    font-weight: 500 !important;
    text-transform: none;
    fill: #85FF89;
    background-color: #85FF89 !important;
    transition-duration: 0.5s;
    border-style: solid;
    border-width: 2px;
    border-color: #85FF89;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
	color: #000 !important;
}
body div.wpforms-container-full button[type=submit]:hover {
    background: #85FF89 !important;
    color: #000 !important;
}
/* end wp forms submit */

/* start wp block latest posts */
.wp-block-latest-posts li { 
	position: relative; margin: 0 0 3.25em 0 !important;
}
.wp-block-latest-posts li a { 
	font-size: 16px;
    color: #333;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
    padding-top: 178px;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    text-decoration: none;
}
@media only screen and (max-width: 60em)  {
	.wp-block-latest-posts li a { 
		padding-top: 19vw;
	}
}
@media only screen and (max-width: 40em)  {
	.wp-block-latest-posts li a { 
		padding-top: 52vw;
	}
}
.wp-block-latest-posts li a::before {
  content: "";
  position: absolute;
  width: 0%;
  height: 1px;
  bottom: -24px;
  background-color: #333;
  visibility: hidden;
  transition: width 0.3s ease-in-out 0s;
}
.wp-block-latest-posts li a:hover::before, .wp-block-latest-posts li a:focus::before {
  visibility: visible;
	width: 100%;
}
.wp-block-latest-posts__list { 
	text-align: center; 
	justify-content: space-between; 
}
.wp-block-latest-posts__list .wp-block-latest-posts__featured-image img {
	height: 168px;
    width: 100%;
}
@media only screen and (max-width: 60em)  {
	.wp-block-latest-posts__list .wp-block-latest-posts__featured-image img {
		height: 17vw;
	}
}
@media only screen and (max-width: 40em)  {
	.wp-block-latest-posts__list .wp-block-latest-posts__featured-image img {
		height: 51vw;
	}
}
/* end wp block latest posts */


/* helper classes */
body .bkg-img-fix .wp-block-cover__image-background { /* adding 'bkg-img-fix' on cover block as helper class under advanced will make background fixed */
	position: fixed;
    z-index: -1;
}
/* end helper classes */


/* start search form */
.search-form {
	font-size: .875rem;
}
.search-form input.search-field {
	width: 100%;
    padding: .875rem;
    border-radius: 1rem;
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    margin-top: .5rem;
}
.screen-reader-text {
	position: relative;
}
/* end search form */


/* footer  */

.footercontent {
	z-index: 2;
    position: relative;
    background-color: #0f0c24;
}

/* Start - Main styles */
html, body, * { padding: 0; margin: 0; }
p {
	margin-bottom: 1rem;
}
h1, h2, h3, h4 { 
	margin-bottom: 1rem; 
	font-weight: 600;
}
h1 { 
	font-size: 2.5rem;
	margin-top: 2rem;
} 
.content h1 {
	display: none;  /* temporary hidden */
}
hr {
	margin-top: 1rem;
	margin-bottom: 1rem;
}
a, a:visited, a:focus { 
	color: #fff; 
	text-decoration: underline;  
}
ul, #sidebar li li  { 
	list-style: outside none circle;
}
ul, ol {
	margin-bottom:  24px;
}
li {
	margin-bottom: 6px;
}
header { 
	width: 100%; 
}
fieldset { 
	border: medium none; 
	padding: 0; 
}
/* End - Main styles */


/* Start - Header styles */
.header {  
	background-color: #0F0C24; 
	min-height: 97px; 
	top: 0px;  
	position: relative;
}
@media only screen and (max-width: 64em)  {
	.header {  
		min-height: 50px;
   	    display: flex;
    }
}
.header_wrap {
	max-width: 1368px;
	margin-left: auto;
	margin-right: auto;
	display: flex;
	align-items: unset; 
	justify-content: space-between;
	padding: .75rem 1rem;
	width: 100%;
	box-sizing: border-box;
	background-color: #111111;
}
@media only screen and (min-width: 64.0625em)  {
	.header_wrap {
		background-color: transparent;
		padding: 0 0 0 3rem;
		align-items: center;
	}
}
.wondericon { 
	max-width: 188px;
}

/* start breadcrumbs */
.breadcrumbs { 
	margin-bottom: 1rem;
}
.breadcrumbs ul { 
	padding: 0px; 
	margin-bottom:  6px;
}
.breadcrumbs ul li, .breadcrumbs ul span { 
	float: left; 
	list-style-type: none; 
	padding-right: 10px; 
	margin-bottom: 0px;
}
.breadcrumbs ul li:after {
	content: '/';
	display: inline-block;
	margin-left: .5rem;
}
.breadcrumbs ul li a { 
	color: #fff; 
	text-decoration: none;
} 
/* end breadcrumbs */

/********************** End Header Styles ************************/


/********************** Start Main Content Styles ****************/

/* start mobile navigation toggle */
.mobile_navigation_toggle a { 
	display: block; 
	float: right; 
	height: 25px; 
	position: absolute; 
	right: 20px; 
	top: 22px; 
	width: 26px; 
	z-index: 5; 
	outline: none; 
}
.mobile_navigation_toggle a img { 
	height: 14px; 
}
.mobile_navigation_toggle .mobile_hamburg.navopen .nav-bit:nth-child(1) {
    transform: rotate(44deg); 
    transform-origin: 20% 2px;
	background-color: #666;
}
.mobile_navigation_toggle .mobile_hamburg.navopen .nav-bit:nth-child(2) {
	display: none;
}
.mobile_navigation_toggle .mobile_hamburg.navopen .nav-bit:nth-child(3) {
    transform: rotate(-44deg);
    transform-origin: 46% 3px;
	background-color: #666;
}
.header_logo {
	position: relative;
    z-index: 0;
	display: flex;
}
#navigation { 
	display: block; 
	z-index: 4; 
	height: 97px;
	overflow: hidden;
} 
@media only screen and (min-width: 64.0625em)  {
	#navigation { 
		display: flex !important; 
		align-items: center;
	}
}
@media only screen and (max-width: 64em)  {
	#navigation {
		background-color: #F7F7F7; 
		padding-bottom: 8px; 
		padding: 0px; 
		position: fixed; 
		margin-top: -.75rem;
        display: block;
        position: fixed;
        right: -250px; /* Hide the menu off-screen to the right */
        height: 100vh;
        width: 250px; /* Set a fixed width */
        overflow: unset;
        transition: transform 0.3s ease-in-out;
        -webkit-overflow-scrolling: touch; /* for smoother scrolling on iOS */
    }
	#navigation:before {
		content: "";
        background: transparent;
        width: 1000%;
        height: 100%;
        position: absolute;
        top: 0;
        right: -60rem;
        bottom: 0;
        left: -60rem;
		z-index: -1;
		pointer-events:none;
	}
    #navigation.open {
        transform: translateX(-250px); /* Slide in from the right */
    }
	#navigation.open:before {
        background: rgba(0, 0, 0, 0.8);
	}
	#navigation:after {
		content: "";
        background-color: #F7F7F7;
        width: 350px;
        height: 100%;
        position: absolute;
        top: 0;
       	right: 0;
        bottom: 0;
		left: 0;
		z-index: -1;
		pointer-events:none;
	}
    body.menu-open {
        overflow: hidden;
        height: 100vh;
    }
}
ul#navList { 
	padding: 0; 
	margin: 0; 
	min-height: 55px; 
	margin-left: auto; 
	margin-right: auto; 
	min-width: 55.5rem;
}
ul#navList li { 
	float: left; 
	line-height: 2rem; 
	min-height:  4rem;
	display: flex;
	align-items: stretch;
	list-style-type: none; 
}
ul#navList li a.nav-cta {
	font-weight: 500;
    max-width: 95px;
    line-height: 1rem;
    text-align: center;
    padding-top: 1rem;
    padding-bottoM: 1rem;
    padding-left: 3.5rem;
    padding-right: 3.5rem;
	margin-top: .75rem;
}
@media only screen and (min-width: 64.0625em)  {
	ul#navList li a.nav-cta {
		margin-top: 0;
	}
}
ul#navList li a { 
	text-decoration: none; 
	outline: none; 
	width: auto; 
	font-size: 15px; 
	padding-left: 50px; 
	padding-right: 50px; 
	display: flex;
    align-items: center;
	position: relative;
}
ul#navList li a:not(.button) { 
	color: #fff;
}
ul#navList li a:not(.button):after { 
	content: "";
	width: 100%;
	height: 3px;
	display: block;
	background-color: transparent;
	position: absolute;
	bottom: 0;
	left: 0;
}
ul#navList li a:not(.button):hover:after, ul#navList li a:not(.button):focus:after { 
	background-color: #61CE70;
	transition: all .75s ease;
}
@media only screen and (min-width: 64.0625em)  {
	ul#navList li a[aria-current=page] {
		border-bottom: 3px solid #61CE70;
	}
}
@media only screen and (max-width: 64em)  {
	ul#navList li a[aria-current=page] {
        color: #fff !important;
        background-color: #666666;
	}
}
ul#navList ul { 
	display: none; 
	float: none; 
	position: absolute; 
	width: 200px; 
	background-color: #fff; 
	border-left: 1px solid #aaa; 
	border-right: 1px solid #aaa; 
	margin-left: 0px; 
	height: auto; 
	z-index: 3; 
}
ul#navList ul li { 
	height: 30px; 
	line-height: 30px; 
	clear: left; 
	padding: 0px; 
	width: 100%; 
}
ul#navList ul li a { 
	line-height: 30px; 
	height: 30px; 
	color: #222; 
	padding: 0px 15px; 
	width: 100%; 
	font-size: 18px; 
}
ul#navList ul li a:hover { 
	color: #333; 
	text-decoration: underline; 
}
ul#navList li:hover ul { 
	display: block; 
}
ul#navList li a:not(.button):hover { 
	color: #61CE70; 
	transition: all 1s ease; 
}
.mobile_navigation_toggle { 
	display: none; 
}
@media only screen and (max-width: 64em)  {
	.mobile_navigation_toggle { 
		display: block; 
		height: 50px; 
		margin-top: -1px; 
	}
}
.mobile_navigation_toggle span {
	display: block;
    width: 100%;
    height: 2px;
    background-color: white;
    margin-bottom: 4px;
}
@media only screen and (max-width: 64em)  {
	ul#navList li a:not(.button):hover { 
		color: #fff;
		background-color: #666666;
	}
	ul#navList li a:not(.button):hover:after, ul#navList li a:not(.button):focus:after {
		display: none;
	}
	body .button.primary.alt {
		fill: #000;
		color: #000;
		background-color: transparent;
		border-color: #000;
	}
	.breadcrumbs { 
		padding-top: 10px; 
		padding-left: 0px; 
		padding-right: 0px; 
	}
	ul#navList { 
		padding-top: 3.75rem;  
		margin: 0px;	 
	}
	ul#navList li a:not(.button) { 
		color: #000; 
		flex: auto;
	}
	ul#navList li a:not(.button):hover { 
		color: #fff;  
	}	
	ul#navList ul { 
		padding-top: 0px; 
		float: left; 
		display: none; 
		position: relative; 
		background-color: #222; 
		margin-left: 0px; 
	}
	ul#navList ul li { 
		height: 30px; 
		line-height: 30px; 
		clear: left; 
		padding: 0px; 
		width: 100%; 
	}
	ul#navList li {	 
		clear: left;  
		float: none; 
	}
	ul#navList ul li a { 
		line-height: 30px; 
		height: 30px; 
		color: #ccc; 
		padding: 0px 15px; 
		width: 100%; 
	}
	ul#navList ul li a:hover { 
		background-color: #222; 
		color: #fff; 
		text-decoration: none;
	}
	ul#navList li:hover ul { 
		display: block; 
	}
}