/*
Theme Name: NextGen Fed
Author: Main St. Design
Author URI: https://www.mainstdesign.net/
Description: Theme developed for nextgen fed site.
Version: 1.0
*/
@import url("https://use.typekit.net/irz1ivl.css");

*, html {
	box-sizing: border-box;
}
body {
	margin:0; padding:0;
	font-family: mr-eaves-modern, sans-serif;
	font-weight: 400;
	font-style: normal;
	font-size:20px;
	overflow-x:hidden;
}
button {
	cursor:pointer;
}

.wp-post-image {
	width: 50%;
	height: 50%;
}

.kt-accordion-panel-inner {
	color: #00499d;
}
.kt-accordion-panel-inner p {
	margin-top:0;
	font-size: 20px;
}
#header {
	position:relative;
	border-bottom:1px solid #D6D6D6;
	height:107px;
}
#header h1 {
	margin:0;
	font-size:0;
}
.custom-logo-link {
	display:inline-block;
	font-size:0;
}
#logo {
	display:inline-block;
	font-size:0;
	margin-left:50px;
}
body:not(.home) #header {
	margin-bottom:20px;
}
.herotext {
	letter-spacing:0.2em;
}
#menu ul, #menu ul li {
	list-style-type:none;
	margin:0;
	padding:0;
	display:inline-block;
}
#menu {
	position:absolute; right:20px; bottom: 20px; margin-left:400px;
}
#menu ul li a {
	color:#707070;
	font-size:16px;
	text-decoration:none;
	text-transform:uppercase;
	margin-left:20px;
	font-weight:bold;
}
#content h2 {
	color:#1F7AB9;
	font-size:40px;
	font-weight:400;
	position:relative;
	margin:0;
}

h2 {
	color:#1F7AB9;
	font-size:40px;
	font-weight:400;
	position:relative;
	margin:0;
}

#content h1 {
	color:#1F7AB9;
	font-size:40px;
	font-weight:400;
	position:relative;
	text-transform:uppercase;
	margin:0 auto;
	display: table;
}

.home #content h2 {
	color:#1F7AB9;
	font-size:40px;
	font-weight:400;
	position:relative;
	text-transform:uppercase;
	margin:0 auto;
}

.single #content h1, .single #content h1 a {
	text-decoration:none;
	color:#1F7AB9;
	font-size:40px;
}
#content h1:before, .home #content h2:before, .page-id-171 #content h2:before, .page-id-173 #content h2:before {
	content: '';
    background-color: #E6F5FF;
    height: 20px;
    width: 100%;
    position: absolute;
    display: block;
    bottom: 0;
    z-index: -1;
}


.wp-block-cover {
	margin-bottom:0;
}
.wp-block-image  {
	font-size:0;
	margin:0;
}
#featured-careers {
	border:0px; width:100%; height:600px; overflow-x:hidden; display:block; background-color:#FFF;
}
.text-back {
	background-image:url(images/text-back.svg);
	background-position:center center;
	background-size:cover;
	background-repeat:no-repeat;
	font-size:1.5vw;
	
}
#content .text-back h1, #content .text-back h2, #content .lefth2 {
	margin:0!important;
}
.blue-back {
	background-image:url(images/blue-back.svg);
	background-position:center bottom;
	background-size:cover;
	background-repeat:no-repeat;
	
	
}
.blue-back p {
	color:#9DE5FF;
}
#content .blue-back h2 {
	color:#FFF;
}
#content .blue-back h2:before {
	content:none;
}
.ngteam {
	text-align:center;
}
.ngteam .flip {
	width:310px;
	height:310px;
	position:relative;
	display:inline-block!important;
	margin-right:20px; margin-bottom:20px;
	vertical-align:middle;
}
.ngteam .flip:last-child  {
	margin-right:0;
}
.ngteam .flip .front {
	position:absolute;
	width:100%; height:100%;
}
.ngteam .flip .front img {
	width:100%;
	height:100%;
}
.ngteam .flip .front .label {
	position:absolute;
	bottom:0;left:0;right:0;
	background-color:rgba(66,66,66,0.8);
	padding:10px;
	text-align:right;
}
.ngteam .flip .front .label span {
	font-size:12px;
}

.ngteam .flip .back {
    background: #DEF5FD;
    color: #707070;
    text-align: left;
	padding:10px 20px;
}
.ngteam .flip .back p {
	margin:10px 0;
	font-size:16px;
}

.ngteam .popup {
	position:fixed; right:-300px; top:0; bottom:0;
	width:300px; background-color:#DEF5FD;
	padding:20px;
	overflow-y:scroll;
	font-size:16px;
	z-index:9999;
	text-align:left;
	
}

.ngteam .popup .close {
	text-align:right; display:block; width:100%;
	cursor:pointer;
}
.ngteam a.popbtn {
	visibility:hidden!important;
	display:inline-block;
	padding:10px 20px;
	color:#FFF;
	text-transform:uppercase;
	background-color:#39CBF3;
	border-radius:10px;
	margin-top:5px;
	transition:0.5s all;
	cursor:pointer;
}

#content .ngteam .flip h2, #content .ngteam .popup h2 {
	margin:0;
	content:none!important;	
	color:#1F7AB9;
	font-size:32px;
}
#footer {
		clear:both;
		padding:30px 10px;
}
#footer .inner {
	margin:0 auto; max-width:1200px;	
	display:flex;
	justify-content: space-around !important;
}
#footer .inner > div {
	justify-content: space-around !important;
}
#footer .inner > div img {
	vertical-align:bottom;
	justify-content: space-around !important;
}
#footer .rightcol {
	width: 100%;
	display:flex;
	flex:2;
	justify-content:space-evenly;
	align-items:center;
}
#footer .rightcol img {
	margin-left:20px;
}
#footer .rightcol2 {
	width: 100%;
	display:flex;
	flex:2;
	justify-content:space-evenly;
	align-items:center;
}
#footer .rightcol2 img {
	margin-left:20px;
}
#footer #copyright {
	margin:20px auto;
	text-align:right;
	font-size:12px;
	padding-right:15%;
}
.workflow {
	font-size:28px;
	letter-spacing:0.3em;
	z-index:unset!important;
}
.kt-row-column-wrap {
	z-index:unset!important;
	max-width: 1500px!important;
}
#content {
	max-width:1000px;
	margin:0 auto;
}
div.alignwide {
	max-width:1200px;
	margin-left:-100px;
	margin-right:-100px;
}
div.alignfull {
	margin: 0 calc(50% - 50vw);
	max-width: 100vw;
	width: 100vw;	
}
.press-releases {
	text-align:center;
}
.press-release {	
	width:450px; height:350px;
	position:relative;
	display:inline-block;
	overflow:hidden;
	color:#FFF; text-decoration:none; font-weight:bold; font-size:24px; text-align:center;
	text-transform:uppercase;
	margin-right:20px; margin-bottom:20px;
}
.title-box {
	position:absolute;
	top:0; left:0; right:0; padding:20px;
	background-color:rgba(31,122,185,1);
	z-index:999;
}
.press-img {
	height:100%;width:100%; display:block;
	background-repeat:no-repeat;
	background-size:cover;
	background-position:center center;
	transition: transform .2s;
}
.press-release:hover .press-img {
	transform: scale(1.1);
}
.navlinks {
	text-align:right;
}
.navlinks a {
	text-decoration:none; color:#999;
}
@media only screen and (max-width: 1200px) {
	#content p {
		font-size:20px;
	}
	#footer .inner {			
		display:block;
	}
	#footer .rightcol {
		display:block;
		text-align:center;
		margin:20px auto;
	}
	div.alignwide {
		max-width:1200px;
		margin-left:0;
		margin-right:0;
	}
	.herotext {
		font-size:20px!important;
	}
}
@media only screen and (max-width: 768px) {
	#content p {
		padding:0 20px;
	}
	#content .back p {
		padding:0;
	}
	.ngteam .popup { 
		top:80px;
	}
	.ngteam .flip {
		margin:10px auto;
		width:290px;
		height:290px;
	}
	.wp-block-kadence-accordion {
		padding:0 20px; margin:0!important;
	}
	.alignnone {
		margin-right:0!important;
	}
	#content h2, .home #content h2, #content h3 {
		font-size:30px;
		margin:0 auto!important;
		text-align:center;
	}
	#content h1 {
		font-size:35px;
	}
	#container {
		margin-top:20px;
	}
	.home #container {
		margin-top:0;
	}
	#content .lefth2 {
		margin:0 auto!important;
	}
	.single #content h1 {
		font-size:30px; margin-left:20px; margin-right:20px;
	}
	.single #content h1 a {
		font-size:30px;
	}
	.alignleft {
		margin:0 auto;
		width:100%;
	}
	.press-release {
		margin-right:0;
	}
	.kb-form-wrap {
		padding:0 20px;
	}
	
}
/* =WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
	background-color: #eee;
	clip: auto !important;
	clip-path: none;
	color: #444;
	display: block;
	font-size: 1em;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
	/* Above WP toolbar. */
}