/**
 * Widgetkit 3.1.38 compatibility fixes.
 *
 * Keeps card excerpts a consistent height regardless of how long the
 * underlying WordPress excerpt ends up being, so cards in a row stay
 * visually aligned (matches the pre-3.1.38 short "intro" look).
 */
.uk-card-body .uk-margin {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
}

/**
 * Homepage "Hiring Resources by STS Technical Services" block
 * (widgetkit id=22, grid class="job-articles-grid").
 * Client-requested typography: Roboto everywhere, specific sizes below.
 */
.job-articles-grid {
	font-family: "Roboto", sans-serif;
}

/**
 * Remove Shadow from default card
 */
.job-articles-grid .uk-card-default {
	box-shadow: none;
}

/**
 * Add padding, border, and rounded corners to the card body.
 */
.job-articles-grid .uk-card-body {
	padding: 20px !important;
	border: 1px solid #e5e5e5;
	border-radius: 2px;
	border-top: none;
}

/* Title (Widgetkit renders it as <h3 class="uk-panel uk-margin-remove-top">) */
.job-articles-grid .uk-panel.uk-margin-remove-top {
	font-family: "Roboto", sans-serif;
	font-size: 18px;
	font-weight: 300;
	line-height: 24px;
}

/* Body text / excerpt */
.job-articles-grid .uk-card-body .uk-margin {
	font-family: "Roboto", sans-serif;
	font-size: 12px;
	font-weight: 300;
	line-height: 22px;
}

/* Center the "Read Article" button in the card (it sits in its own <p>) */
.job-articles-grid .uk-card-body p {
	text-align: center;
}

/* Button ("Read Article" is rendered as <a class="uk-button uk-button-default">) */
.job-articles-grid .uk-button.uk-button-default {
	font-family: "Roboto", sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 33px;
	text-transform: capitalize;
	background-color: #f5f5f5;
	padding: 0 15px;
}

/**
 * Migrated from Customizer > Additional CSS ("Corolam Dev Styles" section).
 * Moved here so it survives regardless of who edits Additional CSS later,
 * and so it lives next to the other Widgetkit-era fixes.
 */

/* Arrow icon after the "Read Article" button */
.job-articles-grid .uk-button::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-left: 8px;
	background: url('/images/arrow-white2.jpg') no-repeat center / contain;
	vertical-align: middle;
}

/* "Recruit" widget switcher nav */
.recruit-switcher .uk-nav-default>li>a {
	color: #444;
	border-radius: 5px;
	background: #fcfcfc;
	border: 1px solid #eee !important;
	margin-right: 30px;
	margin-bottom: 25px;
	padding: 15px 30px;
}

.recruit-switcher .uk-nav-default>li.uk-active>a {
	margin-right: 30px;
	background: #fcfcfc;
	border: 1px solid #ddd !important;
	color: #444;
}

@media screen and (max-width: 1199px) {
	.recruit-switcher .uk-nav-default>li>a {
		padding: 15px 20px !important;
		font-size: 14px;
	}
}

@media screen and (max-width: 767px) {
	.recruit-switcher .uk-nav-default>li>a {
		margin-right: 0px !important;
	}

	.recruit-switcher .uk-nav-default>li.uk-active>a {
		margin-right: 0px !important;
	}
}

.recruit-switcher .uk-grid {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
}

.recruit-switcher .uk-grid>div {
	box-sizing: border-box;
	width: 100%;
	float: none;
	padding-left: 0;
}

@media (min-width: 480px) {
	.recruit-switcher .uk-grid>.uk-width-small-1-2 {
		width: 50%;
	}
}

.uk-scope .uk-subnav-pill>.uk-active>a {
	background-color: #19202b;
}

/**
 * "Hiring Resources & News" GridNews widget (theme-registered widgetkit
 * widget type at wp-content/themes/g5_helium/widgetkit/widgets/gridnews).
 * Widgetkit's bundled CSS doesn't include dotnav styling, so the pagination
 * dots render unstyled/invisible without these rules.
 */
.news2 .uk-dotnav {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.news2 .uk-dotnav>* {
	padding-left: 12px;
	margin-bottom: 10px;
}

.news2 .uk-dotnav>*>a {
	display: block;
	box-sizing: border-box;
	width: 40px;
	height: 5px;
	border-radius: 0;
	background: rgba(0, 0, 0, 0.2);
	text-indent: 100%;
	overflow: hidden;
	white-space: nowrap;
}

.news2 .uk-dotnav>*>a:hover {
	background: #fff;
}

.news2 .uk-dotnav>.uk-active>a {
	background: #b41125;
}

/* Widgetkit's own bundled CSS has a conflicting later rule that forces
   uppercase buttons; the original GridNews "Read more" button is sentence case. */
.news2 .uk-button {
	text-transform: none;
	color: #444;
	padding: 0 15px;
}

.news2 .uk-button:hover{
	color: #444;
}

/* Media/content row: a plain flex wrapper, deliberately NOT using UIkit's
   uk-grid negative-margin gutter system. That system relies on the parent
   panel having matching compensation padding; ours doesn't, and once the
   media/content columns stack full-width on narrow screens, the negative
   margin pushed the text outside the card's left edge. */
.news2 .wk-gridnews-row {
	display: flex;
	flex-wrap: wrap;
}

/* The overlay wrapper (.uk-inline-clip) is inline-block and shrinks to fit
   its image, so it was stuck at the source image's intrinsic 350x350 size
   and clipping anything wider. Force it to be a full-width block with a
   fixed 350px height, then let the image cover that box. */
.news2 .wk-gridnews-row .uk-inline-clip {
	display: block;
	width: 100%;
	max-height: 350px;
}

@media screen and (max-width: 1200px) {
	.news2 .wk-gridnews-row .uk-inline-clip {
		max-height: 250px;
	}
}

@media screen and (max-width: 480px) {
	.news2 .wk-gridnews-row .uk-inline-clip {
		display: none;
	}
}

.news2 .wk-gridnews-row img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Content column (title/excerpt/button) spacing */
.news2 .wk-gridnews-content {
	padding: 20px;
}

.news2 .wk-gridnews-title {
	font-family: "Roboto", sans-serif;
	padding-top: 20px;
}

.news2 .wk-gridnews-content .wk-gridnews-content-text {
	line-height: 15px;
}

.news2 .uk-overlay-primary {
	background: rgba(255, 255, 255, 0.95);
}

.news2 .uk-overlay-icon svg{
    display: none;
}

/**
* Fix Map Icons
*/
#search_map button img{
    margin-left:auto!important;
}
