/**
 * Theme Name: Idaho Webmaster v4 - Child
 * Template: Webmaster-v4
 * Description: The theme to use and edit for making any changes to a specific site.
 * Author: White Whale Web
 * Author URI: https://whitewhaleweb.com/
 * Version: 1.0.1
 * Text Domain: webmaster-bs4
 */



/* CUSTOM CSS COPY STARTS */


/* =========================
   Colors System 
========================= */

:root {
  --color-white:        #FFFFFF;
  --color-crimson:      #284291;
  --color-crimson-deep: #1B2851;
  --color-navy:         #283891;
  --color-gold:         #F7EC13;
  --color-gold-dark:    #926400;
  --color-black:        #000000;
  --color-cream:        #FFFCF4;
  --color-yellow:       #F7EC13;
}


/* =========================
   Heading System 
========================= */

h1 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 50px;
  line-height: 65px;
  font-weight: 700;
}

h2 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 40px;
  line-height: 1.2em;
  font-weight: 700;
}

h3 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 30px;
  line-height: 1.2em;
  font-weight: 400;
}

h4 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 30px;
  line-height: 1.2em;
  font-weight: 700;
	margin-top: 1.2rem!important
}

h5 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 24px;
  line-height: 1.2em;
  font-weight: 700;
}

h6 {
  font-family: 'Atkinson Hyperlegible', sans-serif;
  font-size: 20px;
  line-height: 1.2em;
  font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
	color: #000;
}


@font-face {
    font-family: 'webmaster_base_icons';
    src: url('../fonts/webmaster_base_icons.eot');
    src: url('../fonts/webmaster_base_icons.eot?#iefix') format('embedded-opentype'),
         url('../fonts/webmaster_base_icons.woff2') format('woff2'),
         url('../fonts/webmaster_base_icons.woff') format('woff'),
         url('../fonts/webmaster_base_icons.ttf') format('truetype'),
         url('../fonts/webmaster_base_icons.svg#webmaster_base_icons') format('svg');
    font-weight: normal;
    font-style: normal;
}
#main {
  padding-top: 0em !important;
}

.header-slider-wrap h2.header-slide-headline {
    margin-top: 0 !important;
}

body:not(.home) #main {
    padding-top: 2em;
	padding-bottom: 4em
}


.page-id-2 body {
    background-color: #fff!important;
}

/* Inner pages get the flat version */
body:not(.home) #colophon {
    background-image: url("/wp-content/uploads/2026/07/Footer-pages.jpg");
}

html,
body,
#page,
.content-wrapper,
.site-content,
#content {
    background-color: #F1F1F1;
}


.page-id-2 :root {
	background: transparent!important
}

.page-id-2 #main {
    background-color: #fff !important;
}

.page-id-2 #primary {
    background-color: #fff !important;
}

body {
    background-color: #F1F1F1!important;
}

#content > .row {
	 background-color: #F1F1F1!important;
}
#content {
	 background-color: #F1F1F1!important;
margin-bottom: 0 !important;
}

.custom-blog-page > .row > div {
	background-color: #F1F1F1!important;
}

body, #main, #primary {
	background-color: #F1F1F1!important;
}

.custom-blog-page .row {
	background-color: #F1F1F1!important;
}

/* LOGO */

@media only screen and (min-width: 768px) {
    #masthead .logo img {
        max-height: 300px;
    }
}


#masthead img.default-logo {
	max-height: 149px !important;
}

.site-title {
    color: var(--color7) !important;
    font-size: 1.3rem;
    padding-top: 5px;
    border-top-width: 0px;
    margin-top: 10px;
    text-align: center !important;
    width: 270px;
}

body.page:not(.home) #content {
	padding-top: 2em !important;
}


/* LOGO END */

/* --------------------------------------------------------------------------
   PRIMARY BUTTON — .its-btn-primary
   -------------------------------------------------------------------------- */
.its-btn-primary a,
a.its-btn-primary,
form .gform-footer.gform_footer input.gform_button.button,
.search-result-row article a.submit.search-submit.btn.btn-primary,
form.search-page-search button.submit.search-submit.btn.btn-primary,
button.its-btn-primary,
.its-btn-primary,
.elementor-cta a.elementor-cta__button {
  background-color: var(--color-crimson) !important;
  font-size: 1.2rem !important;
  padding: 5px 50px;
  color: var(--color-cream) !important;
  text-decoration: none;
  font-weight: bold;
transition: all 0.2s ease-in-out;
  text-align: center;
  display: inline-block;
	border-radius: 100px;
	line-height:1.2em;

}

.its-btn-primary a:hover,
a.its-btn-primary:hover,
form .gform-footer.gform_footer input.gform_button.button:hover,
.search-result-row article a.submit.search-submit.btn.btn-primary:hover,
form.search-page-search button.submit.search-submit.btn.btn-primary:hover,
button.its-btn-primary:hover,
.its-btn-primary:hover,
.its-btn-primary-hover,
.mega-sub-menu a.its-btn-primary:hover,
.elementor-cta a.elementor-cta__button:hover {
  background-color: var(--color-crimson-deep) !important;
  font-size: 1.2rem !important;
  padding: 5px 50px;
  color: var(--color-cream) !important;
  text-decoration: none!important;
  font-style: normal;
  font-weight: bold;
	line-height:1.2em;
}

/* --------------------------------------------------------------------------
   SECONDARY / LIGHT BUTTON — .its-btn-light
   Note: .its-btn-light-lg intentionally excluded here to avoid cascade
   conflicts with the dedicated block below
   -------------------------------------------------------------------------- */
.its-btn-light a,
a.its-btn-light,
.cta-section-left-icon a.cta-button-left,
button.its-btn-light,
.its-btn-light.elementor-widget-button a.elementor-button,
.elementor-element.its-btn-light a.elementor-button,
.its-btn-light,
.elementor-button-wrapper .elementor-size-sm,
.elementor-widget-button .elementor-button {
  background-color: var(--color-yellow) !important;
  color: var(--color-crimson) !important;
  font-size: 1.2rem !important;
  padding: 5px 50px;
  text-decoration: none;
  font-weight: bold !important;
transition: all 0.2s ease-in-out;
  display: inline-block;
	border-radius: 100px;
	line-height:1.2em

}

.its-btn-light a:hover,
a.its-btn-light:hover,
.cta-section-left-icon a.cta-button-left:hover,
button.its-btn-light:hover,
.its-btn-light.elementor-widget-button a.elementor-button:hover,
.its-btn-light:hover,
.its-btn-light-hover,
.elementor-button-wrapper .elementor-size-sm:hover,
.elementor-widget-button .elementor-button:hover {
  background-color: var(--color-white) !important;
  color: var(--color-crimson) !important;
  font-style: normal !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 1.2rem !important;
  padding: 5px 50px;
	line-height:1.2em;
}

.elementor-widget-button .elementor-button:hover .elementor-button-text {
  color: var(--color-cream) !important;
}

/* --------------------------------------------------------------------------
   LIGHT LARGE BUTTON — .its-btn-light-lg
   Solid green, large — placed AFTER .its-btn-light block to override it
   -------------------------------------------------------------------------- */
.its-btn-light-lg a,
a.its-btn-light-lg,
.its-btn-light-lg {
  font-size: 1.57rem !important;
  background-color: var(--color-yellow) !important;
  color: var(--color-crimson) !important;
  padding: 5px 50px;
  text-decoration: none;
  border: 0px !important;
  font-weight: bold !important;
transition: all 0.2s ease-in-out;
  display: inline-block;
	border-radius: 100px!important;
	line-height:1.2em
}

.its-btn-light-lg a:hover,
a.its-btn-light-lg:hover,
.its-btn-light-lg:hover {
  background-color: var(--color-white) !important;
  color: var(--color-crimson) !important;
  font-style: normal !important;
  text-decoration: none !important;
  font-weight: bold !important;
  font-size: 1.57rem !important;
  padding: 5px 50px;
  border: 0px !important;
	line-height:1.2em;
}

/* --------------------------------------------------------------------------
   LARGE BUTTON — .its-btn-lg
   -------------------------------------------------------------------------- */
.its-btn-lg,
a.its-btn-lg,
.its-btn-lg a {
  background-color: var(--color-crimson) !important;
  font-size: 1.57rem !important;
  padding: 5px 50px;
  color: var(--color-cream) !important;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  display: inline-block;
	border-radius:100px;
	line-height:1.2em;
}

.its-btn-lg:hover,
a.its-btn-lg:hover,
.its-btn-lg a:hover {
  background-color: var(--color-crimson-deep) !important;
  font-size: 1.57rem !important;
  padding: 5px 50px;
  color: var(--color-cream) !important;
  text-decoration: none;
  font-style: normal;
  font-weight: bold;
	line-height:1.2em;
	text-decoration: none!important;
}

.wpcf7 .wpcf7-submit, .gform_wrapper .gform_button {
  border-radius: 100px;
}

/* --------------------------------------------------------------------------
   BUTTONS END
   -------------------------------------------------------------------------- */

#masthead .header-background {
  background-size: cover !important;
  background-position: center center !important;
}
.header-wrap {display:none;}
#home-hero {min-height:200px;}
h3 { font-size: 24px; }
.carousel-caption { background: rgba(0, 0, 0, 0.3); border-radius: 0.5em; }

.agency-contacts { margin-bottom: 2em; }
.agency-contacts h2 { margin-top: .5em; }
.agency-contacts h3 { margin-top: 1em; }
.agency-contacts h4 { margin-top: .5em; }
.agency-contacts td { padding-right: 1em; }
 
.alert-ideoc-monitoring { text-align: center; color: #155724; background-color: #d4edda; border-color: #c3e6cb; }
.alert-ideoc-level3 { text-align: center; color: #856404; background-color: #fff3cd; border-color: #ffeeba; }
.alert-ideoc-level2 { text-align: center; color: #7b4014; background-color: #fbe5d3; border-color: #fadac2;}
.alert-ideoc-level1 { text-align: center; color: #721c24; background-color: #f8d7da; border-color: #f5c6cb }

.alert-ideoc-monitoring h2 strong::after { content: "Monitoring Status"; }
.alert-ideoc-level3 h2 strong::after { content: "Level III"; }
.alert-ideoc-level2 h2 strong::after { content: "Level II"; }
.alert-ideoc-level1 h2 strong::after { content: "Level I"; }

.alert-ideoc-monitoring p, .alert-ideoc-level3 p, .alert-ideoc-level2 p, .alert-ideoc-level1 p { margin-bottom: 0; }

.elementor a:hover {
	text-decoration: underline;
}

.ITS-subscribe-cta-form input#gform_submit_button_3 {
    background: #fff !important;
    color: var(--color-crimson) !important;
    border-radius: 100px !important;
}
/*
 * fixes gform layout issues where non-complex/non-full line fields display incorrectly
 * overrides .gform_wrapper .gfield_label { float: left } on /wp-content/themes/webmaster-v3/style.css?ver=5.4:1578
 */
@media (min-width: 768px) {
  .gform_wrapper .gfield_label {
	  float: initial;
  }
}

/* CUSTOM CSS COPY ENDS */

/* ICONS  */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    font-family: sans-serif;
}
.icon-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
	font-family: 'Atkinson Hyperlegible', sans-serif;
	line-height: 1.2em;
}
.icon-item i {
    font-size: 18px;
    width: 24px;
    text-align: center;
    flex-shrink: 0;
}

/* ICONS END */

/* IDAHO SLIDER HIDE */
div#idahoSlider {
    display: none;
}
/* IDAHO SLIDER HIDE */


/* RAW HTML TABLE */
/* ===== Global Table Base ===== */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: Atkinson Hyperlegible, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  color: #111;
  background: #fffef0;
}

/* .site-branding .d-flex {
	justify-content: space-around!important;
} */

.site-branding .search-bar {
	display: flex!important;
}

/* ===== Header ===== */
thead th {
  background: #005389;
  color: #000000;
  text-align: left;
  padding: 12px 14px;
  font-weight: 700;
  position: relative;
  white-space: nowrap;
	font-size: 20px;
	border-right: 1px solid #999;
}

thead th:hover {
	background: #049cdb;
}

.tablepress>:where(tbody.row-striping)>:nth-child(even of :where(:not(.child,.dtrg-group)))>* {
	background: #fff!important
}


thead th:last-child {
  border-right: none;
}

.tablepress>:where(thead,tfoot)>tr>* {
	background: #005389;
}

table.dataTable thead th {
	background: #A9A9A9!important;
}

table thead {
	background: #A9A9A9!important;
	border-left: 1px solid #999
}

.ITS-register-cta a.its-btn-primary.its-register-cta-btn {
    border-radius: 0px;
    padding: 10px;
}

.row-hover td {
	border-left: 1px solid #999999 !important;
}

tbody tr:nth-child(odd) {
    background: #EDEDED !important;
}

.tablepress> :where(thead, tfoot)>*>th {
	font-size: 20px!important;
	padding: 12px 14px!important;
	border-right: 1px solid #999;
}

.tablepress thead .dt-orderable-asc .dt-column-order, .tablepress thead .dt-orderable-desc .dt-column-order {
	color: #ffffff!important;
}

.tablepress>:where(thead,tfoot)>tr>* {
	background: var(--color-green)
}

.tablepress thead .dt-orderable-asc:hover, .tablepress thead .dt-orderable-desc:hover, .tablepress thead .dt-ordering-asc, .tablepress thead .dt-ordering-desc {
	background: var(--color-brown-primary)!important
}

thead th {
	background: var(--color-green)
}

thead th:hover {
	background: var(--color-brown-primary)!important
}

.tablepress>:where(tbody.row-striping)>:nth-child(odd of :where(:not(.child,.dtrg-group)))+:where(.child)>*, .tablepress>:where(tbody.row-striping)>:nth-child(odd of :where(:not(.child,.dtrg-group)))>* {
	background: var(--color-taupe)
}

/* ===== Body Cells ===== */
tbody td {
  padding: 14px;
  border-top: 0px solid #999;
  border-right: 1px solid #999;
  vertical-align: middle;
	border-bottom: 0px
}

table tbody tr td:first-child {
  border-left: 1px solid #999; /* adjust color/width as needed */
}

tbody td:last-child {
  border-right: none;
}

/* ===== Zebra Striping ===== */
tbody tr:nth-child(odd) {
  background: #F2F4F0;
}

tbody tr:nth-child(even) {
  background: #fff;
}

/* ===== First Column (ID look) ===== */
tbody td:first-child {
/*   font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; */
  font-weight: 600;
}

/* ===== Status Column ===== */
tbody td:nth-child(5) {
  font-weight: 600;
}

tbody td:nth-child(5):contains("Available") {
  color: #1a7f37;
}

tbody td:nth-child(5):contains("Not") {
  color: #8a1c1c;
}

/* ===== Action Links ===== */
tbody td a {
  color: #0b5ed7;
  text-decoration: none;
  font-weight: 500;
}

tbody td a:hover {
  text-decoration: underline;
}

.announcement-content a.its-btn-primary{
	font-size: 1.25rem!important
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  table {
    font-size: 14px;
  }

  thead th::after {
    display: none;
  }
	.image-caption-centered img {
		height: 250px!important;
	}
	
	.agency-notice {
		justify-content: center!important;
    margin-top: 0px auto!important;
		margin-bottom:50px!important;
    flex-direction: column!important;
    padding: 20px;
		border: 0px solid rgba(0, 0, 0, 0.12)!important;
    border-left: 0x solid rgba(0, 0, 0, 0.35)!important;
    border-radius: 0px!important;
    background:transparent!important;
    box-shadow: none!important;
		align-items: center!important;
	}
	.announcement-bar .announcement-content {
    width: auto;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}
	
	.e-n-tab-title[aria-selected="true"]::after {
		display: none;
	}
	
	    .elementor-10953 .elementor-element.elementor-element-b1f2bc4 {
		padding: 20px!important
	}
	
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		color: #fff!important;
		display: flex;
        justify-content: space-between;
	}
	
	nav.navbar.navbar-expand-lg.position-relative .container-xl{
		    padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
    margin-left: 0px;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-toggle-on > a.mega-menu-link {
		background-color: var(--color-crimson-deep);
	}
	#mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
		background-color: var(--color-crimson-deep);
	}

}

@media only screen and (max-width: 991px) {
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        background: var(--color-crimson-deep);
        padding: 0 16px;
        position: absolute;
        width: calc(100% + 24px) !important;
        z-index: 9999999;
        left: auto !important;
    }
}


i.fa-solid.fa-circle-info {
    font-size: 30px;
}

/* RAW TABLE EBDS */

/* TOP BAR STARTS */

.topbar {
	background-color: var(--color-crimson-deep);
}

#mega-menu-wrap-primary {
	background: var(--color-cream)!important;
}

#main-navigation .navbar, #masthead .navbar {
	background: var(--color-cream)!important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	color: #000
}

.mega-menu-flyout a {
	color: #fff;
}

#mega-menu-wrap-primary .mega-menu-toggle {
	
}

/* TOP BAR ENDS */

/* ============================================
   Nav Banner — Prevention to Recovery
   @author Fudo
   @date 2026-04-06
   ============================================ */

.nav-banner {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    padding: 16px 0;
    background-color: var(--oep-blue);
}

.nav-banner__content {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    color: var(--oep-white);
}
.elementor-2 .elementor-element.elementor-element-6fbe32a {
	row-gap: 0px;
}
.nav-banner__item:hover {
  color: #ffffff;
}

.nav-banner__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #c9a84c;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .nav-banner__item {
    padding: 6px 12px;
    font-size: 11px;
  }
}

.custom-news-alerts-wrapper {
	max-width: 1300px;
	margin: 0 auto;

}


.news-updates {
	background: #EDEDED!important;
	 width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  background-color: #4a1a2e;
	margin: 50px 0px;!important
}

.news-updates.e-con {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
	padding: 50px 0px;!important
}

.news-updates.e-con > * {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.news-updates .nav-banner {
	background: #EDEDED!important
}

.custom-news-view-all {
    margin-bottom: 30px;
}

.gform_wrapper.gravity-theme * {
	width: 270px;
}

@media (max-width: 1024px) {
  .gform_wrapper.gravity-theme * {
    width: 100%;
  }
	.ITS-subscribe-cta-form form#gform_3 {
    display: flex;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    gap: 0px!important;
    flex-direction: column;
    justify-content: center;
}
	.ITS-subscribe-cta-form input#gform_submit_button_3 {
		width: 100%!important;
	}
	nav.navbar.navbar-expand-lg.position-relative .flex-row.align-items-center.col-12 {
	display: block;
}
	.navbar-404-site-name {
		display: none;
	}
	    .topbar .row {
        flex-direction: row;
        align-items: center;
    }
}

/* FOOTER */
.site-footer {
    background: none;
}


@media (max-width: 991px) {
   .site-footer .container {
        max-width: 100%;
        height: 430px;
    }
}

.navbar .align-items-center {
	display: flex;
}
.custom-sidebar {
    background-color: #fff !important;
    color: #212529 !important;
}

/* Sidebar light theme overrides (parent styles it dark) */
.custom-sidebar .widget h3,
.custom-sidebar h3,
.custom-sidebar .related-articles-widget h2,
.custom-sidebar .entry-title a {
    color: #212529 !important;
}

.custom-sidebar .widget li a,
.custom-sidebar .related-articles-widget .post-details a {
    color: var(--color-navy) !important;
}

.custom-sidebar .related-articles-widget .blog-post {
    background: transparent !important;
}

.custom-sidebar .related-articles-widget .post-details .entry-title,
.custom-sidebar .related-articles-widget .post-details .entry-title a {
    color: #212529 !important;
}

.custom-sidebar .related-articles-widget .post-details .entry-meta {
    color: #495057 !important;
}

.custom-sidebar {
	border-radius: 0px!important
}

#colophon {
    background-image: url("/wp-content/uploads/2026/05/Footer.png");
    background-size: cover;          /* Make image scale to full width */
    background-position: center;     /* Keep focal point centered */
    background-repeat: no-repeat;
    background-attachment: scroll;   /* Prevent weird mobile behavior */
    padding: 60px 0;                 /* Vertical spacing */
    width: 100%;
	    height: 75%;
    justify-content: center;
    display: flex;
    align-items: end;
/* 	margin-top: 120px; */
}

.row-footer-links {
	background: var(--color-crimson-deep)
}

/* 404 */

.error-404.not-found h1 {
	font-size: 150px!important;
	color: #fff!important;
	margin-bottom: 40px;
}
error-404.not-found p {
    margin: 30px 0;
	color: #DDE377!important;
	font-size: 30px!important
}

.error-404.not-found .card-body {
    gap: 2em;
}

.error-404.not-found .card-body {
    padding: 0 40px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.error-404.not-found h2 {
	color: #FFC300!important;
	margin-bottom: 30px;
}

.error-404.not-found p {
	color: #fff;
	margin-bottom: 20px;
}
.error-p-initial {
	color: #B1C3F7!important
}

.error-404 .card-text a {
	color: #FFC300!important
}

.error-404 .card-body path {
	fill: #FFC300!important
}

.error-404.not-found {
	display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    background: url(/wp-content/uploads/2026/06/ioem-404blue.jpg) no-repeat center center;
    background-size: cover;
    color: #ffffff;
    padding: 0;
    margin: 0;
}

.error404 body:not(.home) #main {
	padding-top: 0px!important;
}

.error-404 a.its-styleguide-button.its-btn-light {
font-size: 20px!important;
	margin-top: 40px;!important
}

.navbar-404-site-name {
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #000!important;
    text-decoration: none;
    white-space: nowrap;
    margin-right: 0rem;
    flex-shrink: 0;
}

::placeholder {
    color: #000000!important;
    opacity: 1;
}



.navbar-404-site-name:hover {
    text-decoration: underline;
    color: inherit;
}

/* 404 Ends */

/* Patch: allow font-size set on <html> by resizeText() to cascade into body and
Elementor containers. Remove when parent theme is updated. */
body {
  font-size: inherit;
}


/* Default: hidden everywhere */
.header-mobile-mission {
    display: none;
}
@media (max-width: 1024px) {
  #mega-menu-wrap-primary .mega-menu-toggle {
    background-color: var(--color-crimson-deep)!important;
  }
	.navbar .container-xl {
		padding-right: 0px;
    padding-left: 0px;
    margin-right: 0px;
    margin-left: 0px;
	}
	.topbar {
    background-color: var(--color-crimson)!important;
}
}
.topbar{
	padding: 5px!important;
}
/* Mobile only */
@media (max-width: 767px) {
    .header-mobile-mission {
    display: block;
        margin: 40px;
        padding: 0 16px;
        font-size: 1rem;
        line-height: 1.4;
        font-weight: 400;
        color: #ffffff;
        text-align: center;
        border-top: 1px solid;
        padding-top: 30px;
        border-bottom: 1px solid;
        padding-bottom: 30px;
    }
	
	.search-bar-wrapper {
		display: none!important;
	}
	
	#masthead .header-background {
    background-image: url(/wp-content/uploads/2026/07/ioembluemobile.jpg)!important;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
	
	.header-slider-wrap {
		width: 100%;
	}
	
	    .header-slide-content {
        max-width: 100%;
        margin-left: 0;
        padding: 2rem;
        text-align: center;
    }
	
	
	
.site-branding .d-flex {
    display: flex !important;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    align-content: center;
    align-items: center;
	height: 100vh;
        padding: 10px 10px;
}
	    #masthead .logo {
        padding: 10px;
        margin-right: 0px;
        position: relative;
        float: none;
			        display: flex;
        justify-content: center;
        align-items: center;
    }
	
	#colophon {
		height: 100%;
		padding: 0px;
	}
	#mega-menu-wrap-primary .mega-menu-toggle {
		background: var(--color-crimson-deep)!important
	}
	.topbar {
    background-color: var(--color-crimson);
}
}

.e-n-accordion-item-title i.fa-minus.fa-solid {
	display: none;
}

.e-n-accordion-item-title i.fa-plus.fa-solid {
	display: none;
}

@media (max-width: 767px) {
    #colophon {
        /* height: 100%; */
        padding: 190px 0;
        height: 810px;
    }
	.search-results .search-bar-wrapper {
    background: var(--color7);
    padding: 10px 20px;
    display: block !important;
    width: 100%;
}
	.ioem-contact__row {
		display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 18px;
    justify-content: center;
	}
	a.btn.btn-ghost.mt-3 {
    padding: 8px 50px;
    margin-bottom: 10px;
}
	#colophon.textwidget.custom-html-widget {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
	.ioem-contact {
    margin-bottom: 20px;
}
}

.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened::before {
    content: "\f0d8";
    color: var(--color1);
    margin-top: -7px;
    font-size: 1.2rem;
}

/* ELEMENTO BUTTON FROM THE DRAG TO PAGE */
a.elementor-button.elementor-button-link.elementor-size-sm {
    background-color: var(--color-crimson) !important;
    color: var(--color-white) !important;
}




/* Tab wrapper — row container */
.elementor-tabs .elementor-tabs-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
/*   border-bottom: 1px solid #6b1232; */
  background: transparent;
/*   margin-bottom: 1.5rem; */
}

.elementor-widget-tabs .elementor-tab-content {
	border: 0px solid var(--color-crimson)!important;
}

.elementor-widget-tabs .elementor-tab-desktop-title.elementor-active {
	border-color: none;
}

/* All desktop tab titles */
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title {
  flex: 1 1 auto;
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
/*   border: 2px solid #6b1232; */
  border-right: none;
  background-color: #ffffff;
  color: var(--color-crimson);
  transition: background-color 0.2s ease, color 0.2s ease;
  line-height: 1.3;
  user-select: none;
}

/* First tab: round left corners */
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title:first-child {
border-radius: 4px 4px 0 0px;
    margin-right: 2px;
}

/* Last tab: right border + round right corners */
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title:last-child {
/*   border-right: 2px solid #6b1232; */
/*   border-radius: 0 4px 4px 0; */
}

/* Active tab */
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title.elementor-active,
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title[aria-selected="true"] {
  background-color:var(--color-crimson);
  color: #ffffff;
  border-color: var(--color-crimson);
}

/* Hover on inactive */
.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title:not(.elementor-active):hover {
  background-color: #ecf0ff;
  color: var(--color-crimson);
}

/* Hide mobile titles on desktop */
.elementor-tabs .elementor-tab-title.elementor-tab-mobile-title {
  display: none;
}

/* ---- Mobile accordion style ---- */
@media (max-width: 767px) {
  .elementor-tabs .elementor-tabs-wrapper {
    display: none; /* hide desktop tabs on mobile */
  }

  .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title {
    display: block;
    padding: 12px 18px;
    font-weight: 700;
    font-size: 15px;
    background-color: #ffffff;
    color: var(--color-crimson);
/*     border: 2px solid #6b1232; */
    border-bottom: none;
    cursor: pointer;
  }

  .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title:last-of-type,
  .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title.elementor-active {
    border-bottom: 2px solid var(--color-crimson);
  }

  .elementor-tabs .elementor-tab-title.elementor-tab-mobile-title.elementor-active {
    background-color: var(--color-crimson);
    color: #ffffff;
  }
}

.elementor-widget-tabs .elementor-tab-title:after {
	border: none!important;
}
.elementor-tab-title:before {
	border: none!important;
}

.elementor-tabs .elementor-tab-title.elementor-tab-desktop-title.elementor-active, .elementor-tabs .elementor-tab-title.elementor-tab-desktop-title[aria-selected="true"] {
	border-radius: 4px 4px 0px 0px;
}

.elementor-widget-tabs .elementor-tab-desktop-title {
	border: none!important;
	border-radius: 4px 4px 0 0px;
    margin-right: 2px;
}

.e-n-accordion .elementor-widget-container {
    padding: 15px;
}

button.btn.btn-info a {
	color: var(--color-white)!important
}

button.btn.btn-info a:hover {
	text-decoration: none!important;
	font-style: none!important;
}

btn.btn-info:hover {
	font-style: none!important
}

.elementor-toggle .elementor-tab-title {
	    flex-direction: row-reverse;
    display: flex;
    justify-content: space-between;
	padding: 15px 0px!important;
	font-size: 1.25rem!important;
	color: var(--color-crimson)!important
}

.e-n-accordion-item-title-text {
	color: var(--color-crimson)!important
}

.elementor-toggle .elementor-tab-content {
	padding: 15px !important;

}

.e-n-accordion-item-title-icon .e-closed::before {
	color: var(--color-crimson)!important;
	font-size: 1.25rem!important;
}

.e-n-accordion-item[open] .e-n-accordion-item-title-icon .e-opened::before {
    content: "\f0d8";
    color: var(--color-crimson)!important;
    margin-top: -7px;
    font-size: 1.25rem!important;
}

.e-n-accordion-item {
    border-bottom: 1px solid #999999;
}

.btn-info {
	background-color: var(--color-crimson) !important;
    font-size: 1.2em !important;
    padding: 5px 50px;
	border-radius: 100px!important;
    color: var(--color-cream) !important;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s ease-in-out;
    text-align: center;
    display: inline-block;
    border-radius: 4px;
    line-height: 1.2em;
	border: none!important
}
.btn-info:hover {
background-color: var(--color-crimson-deep) !important;
    font-size: 1.2em !important;
    padding: 5px 50px;
    color: var(--color-cream) !important;
    text-decoration: none !important;
    font-style: normal;
    font-weight: bold;
    line-height: 1.2em;
}

a[href$=".pdf"]:not(:has(.btn.btn-info))::before,
a[href*=".pdf?"]:not(:has(.btn.btn-info))::before {
    display: inline-block;
}

a[href$=".pdf"]:has(.btn.btn-info)::before,
a[href*=".pdf?"]:has(.btn.btn-info)::before {
    display: none !important;
    content: none !important;
}

.elementor-accordion .elementor-tab-title {
    cursor: pointer;
    font-weight: 700;
    line-height: 1;
    margin: 0;
    outline: none;
    padding: 15px 20px;
    flex-direction: row-reverse;
    display: flex;
    align-content: space-between;
    justify-content: space-between;
}


/* Reset TablePress defaults */
.tablepress {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 14px;
  color: #222;
  background: #fff;
}

/* ── Header rows (h2/h3/h4 section labels) ── */
.tablepress td[colspan="4"] {
  background-color: #A9A9A9; /* gold/olive from screenshot */
  color: #fff;
  padding: 20px 14px;
  font-weight: 700;
  border: none;
}

.tablepress td[colspan="4"] h2,
.tablepress td[colspan="4"] h3,
.tablepress td[colspan="4"] h4 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Section header rows (the colspan=4 h2/h3/h4 rows) */
.tablepress-id-1 tbody tr td[colspan="4"] {
    background-color: #A9A9A9;   /* purple bar like your screenshot */
    color: #fff;
	
}

.course-card__read-more-arrow {
	line-height: 0px!important
}

a.its-styleguide-button.its-btn-primary {
	display: flex!important;
    justify-content: center!important;
    align-items: center!important;
    gap: 5px!important;
}

.tablepress-id-1 tbody tr td.column-1[colspan="4"] {
    background-color: #A9A9A9;
	border-left: 1px solid #999;
}

.tablepress-id-1 tbody tr td[colspan="4"] h2,
.tablepress-id-1 tbody tr td[colspan="4"] h3,
.tablepress-id-1 tbody tr td[colspan="4"] h4 {
    color: #fff;
    margin: 0;
}

/* Zebra striping for the data rows */
.tablepress-id-1 tbody tr:nth-child(even) td {
    background-color: #f4f4f4;
}


/* ── Data rows ── */
.tablepress tr td {
  padding: 9px 14px;
  border-bottom: 1px solid #e0e0e0;
  border-right: 1px solid #e8e8e8;
  vertical-align: middle;
  background: #fff;
}

.tablepress tr td:last-child {
  border-right: none;
}

/* Alternate row shading */
.tablepress tr.odd td  { background-color: #fff; }
.tablepress tr.even td { background-color: #f9f8f5; }


/* ── Links (email & title links) ── */
.tablepress td a {
  color: #6b4c0e;
  text-decoration: none;
}
.tablepress td a:hover {
  text-decoration: underline;
  color: #b5973a;
}

/* ── Phone column — monospace feel ── */
.tablepress td.column-3 {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}


/* ── Caption / Edit link hide ── */
.tablepress caption {
  display: none;
}

.tablepress h2 {
	line-height:0px!important
}

.tablepress h4 {
	line-height:0px!important
}

.tablepress h3 {
	line-height:0px!important
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .tablepress,
  .tablepress tbody,
  .tablepress tr,
  .tablepress td {
    display: block;
    width: 100%;
  }
  .tablepress tr td[colspan="4"] {
    display: block;
  }
  .tablepress tr td {
    border-right: none;
    padding: 6px 12px;
  }
  .tablepress tr td::before {
    content: attr(data-label);
    font-weight: 700;
    display: block;
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 2px;
  }
	.slide-content {
	padding: 4rem!important
}

.elementor-widget-ITS_slides .its-slides-hero .slide-content {
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.elementor-widget-ITS_slides .slide-buttons {
    display: flex;
    justify-content: center !important;
    column-gap: 30px;
    row-gap: 10px;
    flex-wrap: wrap;
    text-align: center;
}
}


.site-branding .search-bar {
	display: block;
}

.site-branding form {
    display: flex;
    justify-content: space-around;
}

.popular-topics.mt-4 {
    display: none;
}

.modal-header {
    display: none !important;
}
.modal-title {
	display: none !important;
}

.idaho-announcement-bar {
	display: flex;
    align-items: stretch;
    width: 100%;
	color: #000;
    min-height: 48px;
    overflow: visible;
    background-image: url('/wp-content/uploads/2026/06/notice-bar.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
	z-index: 0;
}

.error-404.not-found {
	margin-bottom: 50px!important;
}

a.announcement-btn {
	border-radius: 100px;
}
/* Patch: allow font-size set on <html> by resizeText() to cascade into body and
   Elementor containers. Remove when parent theme is updated. */
body {
  font-size: inherit;
}



        /* ── IOEM Events List ───────────────────────────── */
        .ioem-events-list {
            --ioem-navy:       #1B2A4A;
            --ioem-navy-light: #000000;
            --ioem-accent:     #4A90D9;
            --ioem-text:       #000000;
            --ioem-text-light: #64748B;
            --ioem-bg:         #FFFFFF;
            --ioem-border:     #E2E8F0;
            --ioem-radius:     6px;

            display: flex;
            flex-direction: column;
            gap: 36px;
            
        }

        /* ── Single Event Card ─────────────────────────── */
        .ioem-event {
            display: grid;
            grid-template-columns: 90px 1fr;
            gap: 0;
            background: transparent;
            transition: opacity 0.2s ease;
            position: relative;
        }

        .ioem-event:last-child {
        }

/*         .ioem-event:hover {
            opacity: 0.85;
        } */

        /* With image: 3-column layout */
        .ioem-event--has-image {
            grid-template-columns: 90px 1fr 200px;
        }

        /* ── Date Block ────────────────────────────────── */
        .ioem-event__date {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            align-self: start;
            background: var(--ioem-navy);
            color: #FFFFFF;
            width: 90px;
            height: 90px;
            border-radius: var(--ioem-radius);
            text-align: center;
            line-height: 1;
        }

        .ioem-event__date-month {
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            opacity: 0.85;
            margin-bottom: 4px;
        }

        .ioem-event__date-day {
            font-size: 32px;
            font-weight: 800;
            line-height: 1;
            margin-bottom: 4px;
        }

        .ioem-event__date-year {
            font-size: 12px;
            font-weight: 400;
            opacity: 0.6;
        }

        /* ── Content Area ──────────────────────────────── */
        .ioem-event__content {
            padding: 0px 24px;
            display: flex;
            flex-direction: column;
            justify-content: start;
            gap: 6px;
        }

        /* ── Title ─────────────────────────────────────── */
        .ioem-event__title {
            font-size:20px;
            font-weight: 700;
            color: var(--ioem-text);
            margin: 0;
            line-height: 1.3;
        }

        .ioem-event__title a {
            color: inherit;
            text-decoration: none;
            transition: color 0.15s ease;
        }

        .ioem-event__title a:hover {
            color: var(--ioem-accent);
        }

        /* ── Meta (time + location) ────────────────────── */
        .ioem-event__meta {
            display: flex;
            flex-wrap: wrap;
            gap: 6px 16px;
            font-size: 13px;
            color: var(--ioem-text-light);
            line-height: 1.4;
        }

        .ioem-event__meta-item {
            display: inline-flex;
            align-items: center;
            gap: 5px;
			font-size: 1.0rem!important
        }

        .ioem-event__meta-item svg {
            flex-shrink: 0;
            opacity: 0.6;
        }

        .ioem-event__meta-item a {
            color: var(--ioem-accent);
            text-decoration: none;
        }

        .ioem-event__meta-item a:hover {
            text-decoration: underline;
        }

        /* ── Category Badge ────────────────────────────── */
        .ioem-event__category {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            font-size: 11px;
            font-weight: 600;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            color: var(--ioem-accent);
            background: rgba(74, 144, 217, 0.08);
            padding: 3px 10px;
            border-radius: 3px;
            width: fit-content;
        }

        /* ── Excerpt ───────────────────────────────────── */
        .ioem-event__excerpt {
            font-size: 1rem;
            color: #000!important;
            line-height: 1.5;
            margin: 2px 0 0;
        }

        .ioem-event__excerpt a {
            color: var(--ioem-accent);
            font-weight: 600;
            text-decoration: none;
            font-size: 13px;
        }

        .ioem-event__excerpt a:hover {
            text-decoration: underline;
        }

        /* ── Featured Image ────────────────────────────── */
        .ioem-event__image {
            overflow: hidden;
            position: relative;
            border-radius: 4px;
			height: 140px!important;
        }

        .ioem-event__image img {
            width: 100%;
            height: 140px!important;
            object-fit: cover;
            display: block;
            transition: transform 0.4s ease;
        }

        .ioem-event:hover .ioem-event__image img {
            transform: scale(1.05);
        }

        /* ── Wrapper border ────────────────────────────── */
        .ioem-events-list {
            overflow: visible;
        }

        /* ── Empty State ───────────────────────────────── */
        .ioem-events-empty {
            text-align: center;
            color: var(--ioem-text-light);
            padding: 40px 20px;
            font-size: 15px;
        }

        /* ── Responsive ────────────────────────────────── */
        @media (max-width: 768px) {
            .ioem-event,
            .ioem-event--has-image {
                grid-template-columns: 70px 1fr;
            }

            .ioem-event__image {
                display: none;
            }

            .ioem-event__date {
                width: 70px;
                height: 70px;
            }

            .ioem-event__date-day {
                font-size: 26px;
            }

            .ioem-event__content {
                padding: 16px;
            }

            .ioem-event__title {
                font-size: 16px;
            }

            .ioem-event__meta {
                flex-direction: column;
                gap: 4px;
            }
        }

        @media (max-width: 480px) {
            .ioem-event__date-month {
                font-size: 10px;
            }

            .ioem-event__date-day {
                font-size: 22px;
            }

            .ioem-event__content {
                padding: 12px;
                gap: 4px;
            }

            .ioem-event__title {
                font-size: 15px;
            }
        }

.header-slide-content p {
	color: #fff!important
}

/* ==========================================================================
   Homepage Marbles — [homepage_marbles] shortcode (render_homepage_marbles in functions.php)
   Figma: Webmaster-4.0-IOEM > "Desktop - 3". 2 columns x 610px, 20px gap, 1240px max.
   ========================================================================== */
.marbles-section {
    display: flex;
    gap: 20px;
    max-width: 1240px;
    margin: 0 auto;
}

.marbles-column {
    flex: 1;
    text-align: center;
}

/* Colored heading bar */
.marbles-heading {
    display: block;
    margin: 0 0 50px;
    padding: 13px 20px;
    border-radius: 4px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    text-transform: none;
}
.marbles-heading--green  { background: #348424; }
.marbles-heading--orange { background: #f05323; }

/* Heading is a <button> (accordion toggle on mobile). On desktop it must look exactly like the plain bar. */
.marbles-heading .marbles-toggle,
.marbles-heading .marbles-toggle:hover,
.marbles-heading .marbles-toggle:focus,
.marbles-heading .marbles-toggle:disabled {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: inherit;
    text-transform: none;
    opacity: 1;
    cursor: default;
}

/* 3-up grid: 190px items, 20px column gap, 50px row gap */
.marbles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px 20px;
    margin-bottom: 100px;
}

.marble-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    transition: transform 0.2s ease;
}
.marble-item:hover { transform: translateY(-3px); }

.marble-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
.marble-circle--green  { background: #348424; }
.marble-circle--orange { background: #f05323; }

.marble-circle img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: brightness(0) invert(1); /* white icons */
}
/* Tall/narrow SVGs like the Idaho shape */
.marble-circle img[alt="Area Field Officers"] {
    width: 52px;
    height: 52px;
}

.marble-label {
    color: #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}

/* Tablet: shrink labels so 3-up still fits */
@media (max-width: 1100px) {
    .marble-circle { width: 96px; height: 96px; }
    .marble-circle img { width: 48px; height: 48px; }
    .marble-label { font-size: 20px; line-height: 26px; }
    .marbles-grid { margin-bottom: 50px; }
}

/* Mobile: stack columns */
@media (max-width: 768px) {
    .marbles-section { flex-direction: column; gap: 10px; }

    /* Accordion bar — Figma mobile: same colored bar as desktop (green / orange), white bold text, white caret */
    .marbles-heading,
    .marbles-heading--green,
    .marbles-heading--orange { margin: 0; padding: 0; border-radius: 4px; }
    .marbles-heading--green  { background: #348424; }
    .marbles-heading--orange { background: #f05323; }

    .marbles-heading .marbles-toggle,
    .marbles-heading .marbles-toggle:hover,
    .marbles-heading .marbles-toggle:focus {
        position: relative;
        min-height: 50px;
        padding: 13px 50px 13px 20px;
        color: #fff;
        font-size: 20px;
        font-weight: 700;
        line-height: 24px;
        text-align: left;
        cursor: pointer;
    }
    .marbles-heading .marbles-toggle:focus-visible { outline: 2px solid #000; outline-offset: 2px; }

    /* caret: solid white triangle, up when open / down when closed */
    .marbles-toggle::after {
        content: "";
        position: absolute;
        right: 20px;
        top: 50%;
        margin-top: -4px;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-bottom: 8px solid #fff;
        transition: transform .2s ease;
    }
    .marbles-toggle[aria-expanded="false"]::after { transform: rotate(180deg); }

    .marbles-panel { padding: 30px 0 20px; }
    .marbles-panel[hidden] { display: none; }
    .marbles-grid { margin-bottom: 30px; }
}
/* Desktop: toggle caret never shows */
@media (min-width: 769px) {
    .marbles-toggle::after { content: none; }
}
@media (max-width: 600px) {
    .marbles-grid { grid-template-columns: repeat(2, 1fr); }
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
	width: 350px!important;
	background-color: transparent!important;
	box-shadow: none!important
}

[role="navigation"] a:not(:last-child)::after {
	color: var(--color-gold)
}

form#searchform{
	margin-top: 2em!important
}

.breadcrumb-item + .breadcrumb-item {
	font-size: 16px!important
}

.ioem-contact__title {
  margin-top: 0px!important;
	margin-bottom: 10px!important;
  font-weight: 100;
  color: #fff;
	font-size: 16px;
  text-underline-offset: 3px;
	line-height: 1.2em;
}
.ioem-contact__address {
  margin: 0 0 18px;
  font-size: 16px;
  text-underline-offset: 3px;
}
.ioem-contact__row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 18px;
}
.ioem-contact__row:last-child {
  margin-bottom: 0;
}
.ioem-contact__icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: #F7EC13;
}
.ioem-contact a {
  color: #f4c430;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.ioem-contact a:hover {
  color: #ffd95e;
}

.search-bar-wrapper {
    width: 100%;
}

.search-bar {
    display: flex;
    align-items: center;
    width: 100%;
}

.search-bar #header-search {
    flex: 1 1 auto;
    min-width: 0;          /* prevents flex overflow */
    border: none;
    background: transparent;
}

.search-bar .search-toggle {
    flex: 0 0 auto;
    order: 2;              /* forces icon to the right of the input */
    background: transparent;
    border: none;
    padding: 0 10px;
    cursor: pointer;
    line-height: 1;
}

.idaho-announcement-bar .announcement-close {
	color: var(--color-black)!important
}

.team-card .full-bio {
    margin-top: 1rem;
    line-height: 1.6;
}
.team-card .bio-toggle {
    margin-top: 1rem;
    cursor: pointer;
	border: none!important;
} 
li.breadcrumb-item {
	font-size:  16px!important
}

.wp-block-file a {
	font-size: 16px!important
}

/* Clean document/file link lists — remove bullets, keep file-type icons */
ul li a[href$=".pdf"],
ul li a[href$=".docx"],
ul li a[href$=".doc"],
ul li a[href$=".xlsx"],
ul li a[href$=".xls"],
ul li a[href$=".csv"],
ul li a[href$=".zip"] {
  /* icon is already rendered via ::before — nothing needed here */
}

/* Remove bullet only on list items that contain a file link */
ul li:has(a[href$=".pdf"]),
ul li:has(a[href$=".docx"]),
ul li:has(a[href$=".doc"]),
ul li:has(a[href$=".xlsx"]),
ul li:has(a[href$=".xls"]),
ul li:has(a[href$=".csv"]),
ul li:has(a[href$=".zip"]) {
  list-style: none;
}

ul li:has(a[href$=".pdf"]),
ul li:has(a[href$=".docx"]),
ul li:has(a[href$=".doc"]),
ul li:has(a[href$=".xlsx"]),
ul li:has(a[href$=".xls"]),
ul li:has(a[href$=".csv"]),
ul li:has(a[href$=".zip"]) {
  list-style: none;
  margin-left: -1.5em; /* indent back in */
}

ul li:has(a.external),
ul li:has(a[href$=".pdf"]),
ul li:has(a[href$=".docx"]),
ul li:has(a[href$=".doc"]),
ul li:has(a[href$=".xlsx"]),
ul li:has(a[href$=".xls"]),
ul li:has(a[href$=".csv"]),
ul li:has(a[href$=".zip"]) {
  list-style: none;
  margin-left: -1.5em;
}

/* Idaho Disasters card deck */
.card-deck {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card-deck .card {
  display: flex;
  flex-direction: column;
  border: 1px solid #d8dce0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-deck .card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
  transform: translateY(-3px);
}

.card-deck .card-header {
  background: #1a3a5c; /* swap to your site's primary */
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-align: center;
  padding: 0.85rem 1rem;
  margin: 0;
}

.card-deck .card-body {
  padding: 0;
  flex: 1;
  display: flex;
}

.card-deck .card-body a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.card-deck .card-body img {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card-deck .card:hover .card-body img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .card-deck .card,
  .card-deck .card-body img {
    transition: none;
  }
  .card-deck .card:hover {
    transform: none;
  }
  .card-deck .card:hover .card-body img {
    transform: none;
  }
}
/* ─────────────────────────────────────────────
   Skip Link — Accessibility
───────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    z-index: 99999;
    padding: 0.75rem 1.25rem;
    background: #000;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* -----------------------------------------------
   Slider overlay contrast fix — WCAG 1.4.3
   Forces background overlay dark enough for
   white text to pass 3:1 contrast ratio.
   2026-07-01 Fudo
----------------------------------------------- */
.elementor-widget-template-slider .elementor-background-overlay,
.elementor-background-overlay {
    background-color: rgba(0, 0, 0, 0.45) !important;
}

/* -----------------------------------------------
   noscript contrast fix — WCAG 1.4.3
   #post-14491 noscript img alt text fails 4.5:1
   2026-07-01 Fudo
----------------------------------------------- */
#post-14491 a noscript {
    background-color: #ffffff !important;
    color: #000000 !important;
}

#mega-menu-wrap-primary .mega-block-title,
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item .mega-block-title {
    margin: 0 0 0.5rem 0 !important; /* higher specificity: another stylesheet sets margin: 0 0 1rem !important on the first selector */
}
.menu-about-container {
    margin-bottom: 1rem !important;
}

/* Mega menu: space between stacked menu widgets in the same column (e.g. Funding / Preparedness) */
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-type-widget {
    margin-bottom: 1.5rem;
}
#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item-type-widget:last-child {
    margin-bottom: 0;
}

a.marble-item:hover {
	text-decoration: none!important;
	font-style: normal!important
}

.entry-meta {
	color: #fff
}

.stacked-content .entry-meta {
	color: #fff!important
}

.full-width-post {
	margin-top: 3.75em!important
}

.full-width-post .breadcrumb {
    margin: 20px 0px;
}

.tec-archive-header {
	margin-top: 2em;
}

.tribe-events-calendar-list__event-featured-image {
	height: 230px!important;
}


.tribe-events .tribe-events-calendar-list__event-featured-image {
    display: block;
    border-radius: 5px;
    height: 230px!important;
}

.tribe-events-calendar-list__event-featured-image-wrapper.tribe-common-g-col {
    height: auto;
}

@media (max-width: 767px) {
    .header-slide-content {
        max-width: 100%;
        margin-left: 0;
        padding: 0rem;
        text-align: center;
    }
	.site-branding .img-fluid {
    max-width: 70%;
}
}

.archive .breadcrumb {
    margin-top: 3em;
}

.custom-sidebar .widget h3 {
    margin-top: 15px !important;
}

.category-blog-posts header.entry-header {
    padding-right: 0px;
    padding-left: 0;
}

.category-blog-posts nav {
	 padding-right: 0px!important;
    padding-left: 0!important;
}

.archive .entry-meta {
	margin-top: 10px;
}
/* Kill parent theme's #content margin-bottom (white band fix) */
body #content,
#content.container {
    margin-bottom: 0 !important;
}
.breadcrumb-item.active {
	color: #000
}

.emergency-report-link.its-btn-primary {
    display: inline-flex;
    width: auto;
}
.emergency-single__report-wrap {
    display: flex;
}

a[href$=".pdf"]:has(img)::before {
    display: none !important;
    content: none !important;
}

.history-trigger .icon::before {
	color: #284291;
}

.home #main {
    padding-top: 0em !important;
    padding-bottom: 100px !important;
}

a.btn.btn-ghost.mt-3 {
    background-color: var(--color-crimson) !important;
    border: none;
    padding: 5px 30px;
    font-weight: 700;
    text-decoration: none;
}

a.btn.btn-ghost.mt-3:hover {
	text-decoration: none!important;
	color: var(--color-crimson) !important;
	background: #fff!important;
}

.ac-table thead th {
	color: #000!important
}

.ac-table thead tr {
	color: #A9A9A9 !important;
}

.ac-table thead tr {
    background: #A9A9A9;
}

.topbar-custom-nav a.search-toggle::after {
	color: #F7EC13;
}

.custom-top-nav-content > ul:not(.dropdown-menu) > li:after {
    content: "|";
    color: #F7EC13;
}

@media (max-width: 767px) {
    .its-tabs-stacked__tab {
        width: 100%;
/*         border-bottom: 1px #000!important; */
        padding: 10px 12px;
    }
}

@media (max-width: 768px) {
    .ac-table__row {
        display: block;
        border-bottom: 2px solid #ddd;
        padding: 0px;
		
    }
	
	.ac-table__row td {
		border-left: 0px!important
	}
}

.grant-tabs__panel {
    padding: 1.5rem 0rem;
    background: transparent;
}

.related-articles-grid .entry-meta {
	color: #000!important;
}

#mc_embed_signup {
    background: transparent!important;
    clear: left;
    font: 14px Helvetica, Arial, sans-serif;
    width: 600px;
}
/* Restore visible focus indicators (WCAG 2.4.7) */
.form-control-plaintext:focus,
#main:focus,
#main-navigation .navbar-toggler:focus,
#masthead .navbar-toggler:focus,
.elementor-accordion .elementor-tab-title:focus {
    outline: 2px solid var(--color-navy) !important;
    outline-offset: 2px !important;
}

/* Footer links: hover colour */
.site-footer .footer-navigation a:not(.btn):hover,
.site-footer .footer-navigation a:not(.btn):focus-visible {
  color: var(--color5) !important;
  text-decoration-color: var(--color5) !important;
}

/* ==========================================================================
   Document Library Pro table — table.posts-data-table (plugin: Document Library Pro)
   Figma: Webmaster-4.0-IOEM > Master Components > "Table". 50px header, 40px rows.
   Scoped to .posts-data-table so TablePress / other tables are not touched.
   ========================================================================== */
table.posts-data-table.dataTable {
    border-collapse: collapse;
    font-family: 'Atkinson Hyperlegible', sans-serif;
}

/* Header: gray bar, white bold 20px, vertical dividers */
table.posts-data-table.dataTable thead th {
    padding: 10px 20px;
    background: #a9a9a9 !important;
    border-bottom: 0;
    border-right: 1px solid #999;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 30px;
    text-align: left;
}
table.posts-data-table.dataTable thead th:last-child { border-right: 0; }
table.posts-data-table.dataTable thead th:hover { background: #8f8f8f !important; }

/* Body: 40px rows, 16px/26px text, alternating gray/white */
table.posts-data-table.dataTable tbody td {
    padding: 7px 20px;
    border: 0;
    border-left: 1px solid #999;
    font-size: 16px;
    line-height: 26px;
    color: #000;
    vertical-align: middle;
}
table.posts-data-table.dataTable tbody td:first-child { border-left: 0; }
table.posts-data-table.dataTable tbody tr:nth-child(odd),
table.posts-data-table.dataTable tbody tr:nth-child(odd) td  { background: #ededed !important; }
table.posts-data-table.dataTable tbody tr:nth-child(even),
table.posts-data-table.dataTable tbody tr:nth-child(even) td { background: #fff !important; }

/* Text links: Figma blue, underlined. Icon links (download / preview) are green. */
table.posts-data-table.dataTable tbody td a {
    color: #04639f;
    text-decoration: underline;
}
table.posts-data-table.dataTable tbody td a:hover { color: #1b2851; }
table.posts-data-table.dataTable tbody td a.dlp-download-link,
table.posts-data-table.dataTable tbody td a.dlp-preview-button,
table.posts-data-table.dataTable tbody td .dlp-icon {
    color: #257916;
    text-decoration: none;
    fill: currentColor;
}

/* --- Document Library Pro controls: search, filters, bulk-download button ---
   Figma: Field = 40px, white, 1px #999, 16px text, 20px side padding.
          Button = #04639f pill, 20px radius, bold white (same as .its-btn-primary family). */
.posts-table-controls { align-items: center; gap: 10px 20px; margin-bottom: 20px; }
.posts-table-controls label { color: #000; font-size: 16px; font-weight: 700; }

.posts-table-wrapper .posts-table-controls input[type=search],
.posts-table-controls .dataTables_filter input[type=search] {
    height: 40px !important;
    min-width: 200px;
    margin: 0 0 0 10px;
    padding: 7px 20px;
    background: #fff !important;
    border: 1px solid #999 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: #000;
    font-size: 16px;
    line-height: 26px;
}
.posts-table-wrapper .posts-table-controls input[type=search]:focus {
    border-color: #04639f;
    outline: 2px solid #04639f;
    outline-offset: 2px;
}

/* Category / Tag dropdowns (select2) */
.posts-table-controls .select2-container .select2-selection--single {
    height: 40px;
    background: #fff;
    border: 1px solid #999;
    border-radius: 0;
}
.posts-table-controls .select2-container .select2-selection--single .select2-selection__rendered {
    padding: 0 30px 0 20px;
    color: #000;
    font-size: 16px;
    line-height: 38px;
}
.posts-table-controls .select2-container .select2-selection--single .select2-selection__arrow { height: 38px; width: 30px; }

/* Download Selected Documents — markup: div.dlp-multi-download-wrap > button.dlp-multiple-download-btn */
.dlp-multi-download-wrap {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 0;
    background: none;
    border: 0;
}
.dlp-multi-download-wrap button.dlp-multiple-download-btn {
    display: inline-block;
    width: auto;
    height: auto;
    min-height: 40px;
    margin: 0;
    padding: 5px 30px;
    background: #04639f;
    border: 0;
    border-radius: 20px;
    box-shadow: none;
    color: #fff;
    font-family: 'Atkinson Hyperlegible', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 30px;
    text-transform: none;
    cursor: pointer;
    transition: background .2s ease;
}
.dlp-multi-download-wrap button.dlp-multiple-download-btn:hover:not(:disabled) {
    background: #1b2851;
    color: #fff;
}
.dlp-multi-download-wrap button.dlp-multiple-download-btn:focus-visible {
    outline: 2px solid #04639f;
    outline-offset: 2px;
}
.dlp-multi-download-wrap button.dlp-multiple-download-btn:disabled {
    background: #04639f;
    color: #fff;
    opacity: .5;
    cursor: not-allowed;
}

/* Keep filters, search and Download Selected on ONE row on desktop (plugin wraps them by default) */
@media (min-width: 1024px) {
    .posts-table-controls { flex-wrap: nowrap; }
    .posts-table-controls .posts-table-select-filters { margin-right: auto; }
    .posts-table-controls .dataTables_filter { margin-left: auto; white-space: nowrap; }
    .posts-table-controls .dlp-multi-download-wrap { flex: 0 0 auto; }
}
