/**
 * Theme Name: Idaho Webmaster v4 Child
 * Template: Webmaster-v4
 * Description: Child theme for the Idaho Webmaster v4 theme. This should only be activated if you're going to make code customizations such as PHP, JavaScript, or CSS. Only for web developers.
 * Author: White Whale Web
 * Author URI: https://whitewhaleweb.com/
 * Version: 4.0.2
 * Text Domain: its.idaho.gov
 */

html, body {
	letter
}

body {
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-weight: 400;
	font-style: normal;

	--bs-primary: var(--color1) !important;
    --bs-primary-rgb: var(--color1-rgb) !important;
    --bs-link-color-rgb: var(--color1-rgb) !important;
	--bs-secondary: var(--lmi-darkgray) !important;
    --bs-secondary-rgb: var(--lmi-darkgray-rgb) !important;
	--bs-success: var(--color5) !important;
    --bs-success-rgb: var(--color5-rgb) !important;
	--bs-warning: var(--color3) !important;
    --bs-warning-rgb: var(--color3-rgb) !important;
}
 
body .bg-light {
    background-color: var(--color7) !important;
}

.search-toggle {
	border-right: none;
	padding-right: 0;
}

.fa-search {
	color: var(--lmi-text);
}

h1, h2, h3, h4, h5, h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
	color: var(--lmi-text);
	font-family: "Montserrat", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
    font-weight: 700;
    text-wrap-style: pretty;
}

.h1, h1 {
    font-size: 3rem !important;
}

.site-branding h1 {
    font-size: 2.5rem !important;
	color: var(--lmi-white) !important;
	text-shadow: 0px 4px 8px rgba(0, 0, 0,
.75), 0px 6px 12px rgba(0, 0, 0,
.5);
}

body.home .site-branding h1 {
    text-transform: uppercase;
}

.hero-sub-text {
    color: var(--lmi-yellow);
    text-transform: none;
    font-weight: 500;
    font-size: 2rem;
}

.h2, h2 {
    font-size: 2rem !important;
    font-weight: 600 !important;
}

.h3, h3 {
	font-size: 1.5rem !important;
    font-weight: 600 !important;
}

.h4, h4 {
	font-size: 1.25rem !important;
    font-weight: 500 !important;
}
.h4 small,
h4 small {
    font-size: 0.875rem;
}

.h5, h5 {
	font-size: 1.125rem !important;
    font-weight: 500 !important;
}

.h6, h6 {
	font-size: 1rem !important;
    font-weight: 500 !important;
}

a[href*=".pdf"].elementor-button,
a[href*=".PDF"].elementor-button,
a[href*=".mp3"].elementor-button,
a[href*=".MP3"].elementor-button,
a[href*=".zip"].elementor-button,
a[href*=".ZIP"].elementor-button,
a[href*=".mov"].elementor-button,
a[href*=".MOV"].elementor-button,
a[href*=".wmv"].elementor-button,
a[href*=".WMV"].elementor-button,
a[href*=".mp4"].elementor-button,
a[href*=".MP4"].elementor-button,
a[href*=".doc"].elementor-button,
a[href*=".docx"].elementor-button,
a[href*=".DOC"].elementor-button,
a[href*=".DOCX"].elementor-button,
a[href*=".xls"].elementor-button,
a[href*=".xlsx"].elementor-button,
a[href*=".XLS"].elementor-button,
a[href*=".XLSX"].elementor-button,
a[href*=".ppt"].elementor-button,
a[href*=".ppsx"].elementor-button,
a[href*=".pptx"].elementor-button,
a[href*=".PPT"].elementor-button,
a[href*=".PPSX"].elementor-button,
a[href*=".PPTX"].elementor-button {
	display: flex;
    flex-direction: row;
    justify-content: center;
    /*gap: .5rem;*/
}
/*
a[href*=".pdf"].elementor-button .elementor-button-content-wrapper,
a[href*=".PDF"].elementor-button .elementor-button-content-wrapper,
a[href*=".mp3"].elementor-button .elementor-button-content-wrapper,
a[href*=".MP3"].elementor-button .elementor-button-content-wrapper,
a[href*=".zip"].elementor-button .elementor-button-content-wrapper,
a[href*=".ZIP"].elementor-button .elementor-button-content-wrapper,
a[href*=".mov"].elementor-button .elementor-button-content-wrapper,
a[href*=".MOV"].elementor-button .elementor-button-content-wrapper,
a[href*=".wmv"].elementor-button .elementor-button-content-wrapper,
a[href*=".WMV"].elementor-button .elementor-button-content-wrapper,
a[href*=".mp4"].elementor-button .elementor-button-content-wrapper,
a[href*=".MP4"].elementor-button .elementor-button-content-wrapper,
a[href*=".doc"].elementor-button .elementor-button-content-wrapper,
a[href*=".docx"].elementor-button .elementor-button-content-wrapper,
a[href*=".DOC"].elementor-button .elementor-button-content-wrapper,
a[href*=".DOCX"].elementor-button .elementor-button-content-wrapper,
a[href*=".xls"].elementor-button .elementor-button-content-wrapper,
a[href*=".xlsx"].elementor-button .elementor-button-content-wrapper,
a[href*=".XLS"].elementor-button .elementor-button-content-wrapper,
a[href*=".XLSX"].elementor-button .elementor-button-content-wrapper,
a[href*=".ppt"].elementor-button .elementor-button-content-wrapper,
a[href*=".ppsx"].elementor-button .elementor-button-content-wrapper,
a[href*=".pptx"].elementor-button .elementor-button-content-wrapper,
a[href*=".PPT"].elementor-button .elementor-button-content-wrapper,
a[href*=".PPSX"].elementor-button .elementor-button-content-wrapper,
a[href*=".PPTX"].elementor-button .elementor-button-content-wrapper {
	text-wrap: nowrap;
}

a[href*=".pdf"]:not([data-hasimg]):before,
a[href*=".PDF"]:not([data-hasimg]):before,
#mega-menu-wrap-primary a[href*=".pdf"]:before,
#mega-menu-wrap-primary a[href*=".PDF"]:before,
a[href*=".mp3"]:before,
a[href*=".MP3"]:before,
a[href*=".zip"]:before,
a[href*=".ZIP"]:before,
a[href*=".mov"]:before,
a[href*=".MOV"]:before,
a[href*=".wmv"]:before,
a[href*=".WMV"]:before,
a[href*=".mp4"]:before,
a[href*=".MP4"]:before,
a[href*=".doc"]:before,
a[href*=".docx"]:before,
a[href*=".DOC"]:before,
a[href*=".DOCX"]:before,
#mega-menu-wrap-primary a[href*=".doc"]:before,
#mega-menu-wrap-primary a[href*=".docx"]:before,
#mega-menu-wrap-primary a[href*=".DOC"]:before,
#mega-menu-wrap-primary a[href*=".DOCX"]:before,
a[href*=".xls"]:before,
a[href*=".xlsx"]:before,
a[href*=".XLS"]:before,
a[href*=".XLSX"]:before,
#mega-menu-wrap-primary a[href*=".xls"]:before,
#mega-menu-wrap-primary a[href*=".xlsx"]:before,
#mega-menu-wrap-primary a[href*=".XLS"]:before,
#mega-menu-wrap-primary a[href*=".XLSX"]:before,
a[href*=".ppt"]:before,
a[href*=".ppsx"]:before,
a[href*=".pptx"]:before,
a[href*=".PPT"]:before,
a[href*=".PPSX"]:before,
a[href*=".PPTX"]:before,
#mega-menu-wrap-primary a[href*=".ppt"]:before,
#mega-menu-wrap-primary a[href*=".pptx"]:before,
#mega-menu-wrap-primary a[href*=".PPT"]:before,
#mega-menu-wrap-primary a[href*=".PPTX"]:before,
#mega-menu-wrap-primary a[href*=".ppsx"]:before,
#mega-menu-wrap-primary a[href*=".PPSX"]:before {
	display: none;
}




a[href*=".pdf"]:not([data-hasimg]):after,
a[href*=".PDF"]:not([data-hasimg]):after,
#mega-menu-wrap-primary a[href*=".pdf"]:after,
#mega-menu-wrap-primary a[href*=".PDF"]:after {
	font-family: "Font Awesome 6 Free" !important;
	padding-right: 5px;
	content: "\f1c1";
	font-weight: 400;
}

a[href*=".mp3"]:after,
a[href*=".MP3"]:after {
	font-family: "Font Awesome 6 Free" !important;
	padding-right: 5px;
	content: "\f001";
	font-weight: 700;
}

a[href*=".zip"]:after,
a[href*=".ZIP"]:after {
	font-family: "Font Awesome 6 Free" !important;
	padding-right: 5px;
	content: "\f1c6";
	font-weight: 700;
}

a[href*=".mov"]:after,
a[href*=".MOV"]:after,
a[href*=".wmv"]:after,
a[href*=".WMV"]:after,
a[href*=".mp4"]:after,
a[href*=".MP4"]:after {
	font-family: "Font Awesome 6 Free" !important;
	padding-right: 5px;
	content: "\f008";
	font-weight: 700;
}

a[href*=".doc"]:after,
a[href*=".docx"]:after,
a[href*=".DOC"]:after,
a[href*=".DOCX"]:after,
#mega-menu-wrap-primary a[href*=".doc"]:after,
#mega-menu-wrap-primary a[href*=".docx"]:after,
#mega-menu-wrap-primary a[href*=".DOC"]:after,
#mega-menu-wrap-primary a[href*=".DOCX"]:after {
	font-family: "Font Awesome 6 Free";
	padding-right: 5px;
	content: "\f1c2";
	font-weight: 400;
}

a[href*=".xls"]:after,
a[href*=".xlsx"]:after,
a[href*=".XLS"]:after,
a[href*=".XLSX"]:after,
#mega-menu-wrap-primary a[href*=".xls"]:after,
#mega-menu-wrap-primary a[href*=".xlsx"]:after,
#mega-menu-wrap-primary a[href*=".XLS"]:after,
#mega-menu-wrap-primary a[href*=".XLSX"]:after {
	font-family: "Font Awesome 6 Free";
	padding-right: 5px;
	content: "\f1c3";
	font-weight: 400;
}

a[href*=".ppt"]:after,
a[href*=".ppsx"]:after,
a[href*=".pptx"]:after,
a[href*=".PPT"]:after,
a[href*=".PPSX"]:after,
a[href*=".PPTX"]:after,
#mega-menu-wrap-primary a[href*=".ppt"]:after,
#mega-menu-wrap-primary a[href*=".pptx"]:after,
#mega-menu-wrap-primary a[href*=".PPT"]:after,
#mega-menu-wrap-primary a[href*=".PPTX"]:after,
#mega-menu-wrap-primary a[href*=".ppsx"]:after,
#mega-menu-wrap-primary a[href*=".PPSX"]:after {
	font-family: "Font Awesome 6 Free";
	padding-right: 5px;
	content: "\f1c4";
	font-weight: 400;
}



a:has(.elementor-button-icon):after {
	display: none;
}*/




/* Primary nav */

#masthead {
	--nav-height: 3.125rem;	/* 50px */
	--nav-gap: 1.5rem;		/* 24px */
}

#mega-menu-wrap-primary #mega-menu-primary {
	display: flex;
}

#mega-menu-wrap-primary .mega-block-title {
	margin-top: .25rem;
}

#mega-menu-wrap-primary, #mega-menu-wrap-primary #mega-menu-primary, #mega-menu-wrap-primary #mega-menu-primary ul.mega-sub-menu, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-row, #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-column, #mega-menu-wrap-primary #mega-menu-primary a.mega-menu-link, #mega-menu-wrap-primary #mega-menu-primary span.mega-menu-badge, #mega-menu-wrap-primary button.mega-close, #mega-menu-wrap-primary button.mega-toggle-standard {
	color: var(--lmi-darkblue) !important;
}

#mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::before, #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated-inner::after {
	background-color: var(--lmi-blue);
}

#mega-menu-wrap-primary .mega-menu-toggle {
    background: var(--color7);
    border-radius: 0;
    line-height:  var(--nav-height);
    height:  var(--nav-height);
}
#mega-menu-wrap-primary #mega-menu-primary > li.menu-item,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
    margin: 0;
    display: flex;
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
	#mega-menu-wrap-primary #mega-menu-primary > li.menu-item a,
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item a {
		font-size: 16px !important;
	}
	#mega-menu-primary .mega-indicator {
		margin: 0 !important;
	}
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item a.mega-menu-link {
	font-weight: 600 !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item li.mega-menu-item a.mega-menu-link {
	padding: .25rem 1rem !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
	font-weight: 700 !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:first-child > a.mega-menu-link:before {
	content: "\f015";
    color: var(--lmi-darkblue);
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
    speak: none !important;
    line-height: var(--nav-height);
    height: var(--nav-height);
    text-transform: none;
    text-decoration: none;
    font-size: .875rem;
    outline: none;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu {
	background-color: var(--lmi-lightgray);
	max-width: 100%;
	width: 100%;
	opacity: 1 !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard > a.mega-menu-link {
	margin: 0;
}

#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 > a.mega-menu-link:hover, 
#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 > a.mega-menu-link:focus, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:hover, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link:focus,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard li.mega-menu-item > a.mega-menu-link:hover,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column-standard li.mega-menu-item > a.mega-menu-link:focus,
#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 li.mega-menu-item > a.mega-menu-link:hover,
#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 li.mega-menu-item > a.mega-menu-link:focus {
	color: var(--lmi-white) !important;
	background-color: var(--lmi-text) !important;
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link,
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:hover, 
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link:focus {
	color: var(--lmi-text) !important;
	background-color: transparent; !important;
}

.mega-sub-menu {
    opacity: 1 !important;
}
#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu {
	background: var(--lmi-lightgray);
}

#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-flyout ul.mega-sub-menu li.mega-menu-item a.mega-menu-link {
	background-color: var(--lmi-gray);
}

.mega-menu-grid > .mega-sub-menu > .mega-menu-row > .mega-sub-menu {
    flex-direction: row !important;
}

@media screen and (min-width: 992px) and (max-width: 1399px) {
	#mega-menu-wrap-primary, 
	#mega-menu-primary {
		position: unset !important;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu {
		position: fixed;
	}
}
@media only screen and (min-width: 1200px) {
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu {
    	top: var(--nav-height);
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children > a.mega-menu-link > span.mega-indicator:after {
	    position: absolute;
	    top: -32px;
	    right: -20px;
	}
}
@media screen and (min-width: 992px) and (max-width: 1199px) {
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu {
    	top: calc(var(--nav-height) + 2rem);
    }
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-columns-1-of-5:not(:first-child) {
	    width: 25%;
	}
	#mega-menu-wrap-primary #mega-menu-primary {
	    justify-content: space-between;
	}
	#mega-menu-wrap-primary .menu-item-gtranslate {
		flex-grow: 0 !important;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		padding: 0 !important;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link .mega-indicator {
		font-size: .75rem !important;
        position: absolute !important;
	}
}

@media screen and (min-width: 992px) {
    #mega-menu-wrap-primary {
        background: var(--color7);
        width: 100%;
    }
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
    	text-wrap: nowrap;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu > ul.mega-sub-menu {
    	padding: 2rem;
    	left: unset;
    	right: 0;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu.mega-menu-grid > ul.mega-sub-menu {
    	padding: 1rem 2rem 2rem;
    	width: 90%;
    	min-width: 50rem;
    }
    .mega-menu-grid > .mega-sub-menu > .mega-menu-row > .mega-sub-menu > .mega-menu-column {
	    /*align-content: center;*/
	}
    .mega-menu-grid > .mega-sub-menu > .mega-menu-row > .mega-sub-menu > .mega-menu-column > .mega-sub-menu {
	    min-height: 6.25rem !important;
	}
}

@media screen and (max-width: 1199px) {
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-columns-1-of-5:first-child {
	    display: none;
	}
}
@media screen and (max-width: 991px) {
	.navbar {
		position: fixed;
        top: 0;
        width: 100%;
        z-index: 100;
        padding: 0 !important;
        background-color: var(--lmi-white);
	}
	#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open + #mega-menu-primary {
		left: unset !important;
		right: -12px;
		box-shadow: 0px 5px 10px rgba(0, 0, 0, .1);
		height: calc( 100vh - var( --nav-height ) );
	}
    #mega-menu-wrap-primary .mega-menu-toggle + #mega-menu-primary {
        background: var(--color7);
    }
    #mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open ~ button.mega-close {
        visibility: visible;
        opacity: 1;
        left: auto;
        right: 0;
        position: absolute;
    }
	#mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item > a.mega-menu-link {
		padding: 0 1rem !important;
		width: 100%;
	}
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-menu-ancestor > a.mega-menu-link,
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item.mega-current-page-ancestor > a.mega-menu-link {
    	background-color: var(--lmi-white) !important;
    	color: var(--lmi-darkblue) !important;
    }
    #mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item-has-children>a.mega-menu-link>span.mega-indicator {
	    right: 1rem;
	    position: absolute;
	}
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item:first-child > a.mega-menu-link:before {
	    line-height: unset;
	}
	#mega-menu-wrap-primary #mega-menu-primary > li.menu-item, #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-item {
	    flex-direction: column;
	}
    #mega-menu-wrap-primary #mega-menu-primary > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item {
	    width: 100%;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-grid {
		padding-bottom: 6px;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-grid > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column:first-child {
	    display: none;
	}
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-grid > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column:not(:first-child) {
	    width: 33.3333%;
	}
	#masthead .header-background {
    	margin-top: var(--nav-height);
	}
	.logo-lift {
		margin-top: 0 !important;
	}
}

@media screen and (max-width: 767px) {
	.navbar {
	    top: 0;
	    background-color: #fff;
    }
    body.logged-in .navbar {
    	/* top: 45px; */
    }
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-megamenu.mega-menu-grid > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-column:not(:first-child) {
	    width: 100%;
	}
}


@media screen and (max-width: 676px) {
	#mega-menu-wrap-primary #mega-menu-primary li.mega-menu-item.mega-menu-megamenu ul.mega-sub-menu ul.mega-sub-menu {
		display: block;
	}
}


#mega-menu-wrap-primary .mega-menu-toggle.mega-menu-open ~ button.mega-close:before {
    font-family: 'FontAwesome';
    content: "\f00d";
    color: var(--lmi-darkblue);
}

#mega-menu-wrap-primary .menu-item-gtranslate {
	display: inline-block;
	flex-grow: 1;
	min-height: var(--nav-height);
}

/* Mega-menu mini Idaho map */

#mega-menu-10150-0-0 .st0 {
    fill: #1877aa;
    transition: all .25s ease-in-out;
}
#mega-menu-item-10150:has(#east .st0:hover) .mega-menu-item-10152 a,
#mega-menu-item-10150:has(#se .st0:hover) .mega-menu-item-10156 a,
#mega-menu-item-10150:has(#sc .st0:hover) .mega-menu-item-10155 a,
#mega-menu-item-10150:has(#sw .st0:hover) .mega-menu-item-10157 a,
#mega-menu-item-10150:has(#nc .st0:hover) .mega-menu-item-10153 a,
#mega-menu-item-10150:has(#north .st0:hover) .mega-menu-item-10154 a {
    color: var(--lmi-white) !important;
	background-color: var(--lmi-text) !important;
}
#mega-menu-item-10150:has(.mega-menu-item-10152:hover) #east .st0,
#mega-menu-item-10150:has(.mega-menu-item-10156:hover) #se .st0,
#mega-menu-item-10150:has(.mega-menu-item-10155:hover) #sc .st0,
#mega-menu-item-10150:has(.mega-menu-item-10157:hover) #sw .st0,
#mega-menu-item-10150:has(.mega-menu-item-10153:hover) #nc .st0,
#mega-menu-item-10150:has(.mega-menu-item-10154:hover) #north .st0,
#mega-menu-item-10150:has(.mega-menu-item-10151:hover) .st0,
#mega-menu-item-10150:has(.mega-menu-item-10191:hover) .st0,
#mega-menu-item-10150 .st0:hover {
    fill: #50841f;
}

/* Force region menu to correct width */
.mega-w-100 {
	width: 100% !important;
}

/* fix issue with region menu mini map visibility persisting after menu is hidden */
.mega-idaho-mini-map svg {
	opacity: 0;
}
.mega-toggle-on .mega-idaho-mini-map svg {
	opacity: 1;
}

/* Google Translate dropdown styles */

#masthead div[id^="gtranslate_menu_wrapper_"] {
	height: 100%;
	position: relative !important;
}
div[class^="gt_container"] .gt_switcher {
	font-family: "Montserrat", sans-serif;
	display: flex;
    align-items: center;
    position: relative;
    height: var(--nav-height);
    overflow: visible;
    cursor: default;
}
#masthead .gt_selected {
	font-family: "Montserrat", sans-serif;
    width: auto;
    position: absolute;
    padding: 0;
    height: var(--nav-height);
}
#masthead .gt_selected a {
	font-weight: 700;
    position: relative;
    border: none;
    width: auto;
    height: var(--nav-height);
    padding: 0 calc(var(--nav-gap) / 2 + .625rem) 0 calc(var(--nav-gap) / 2);
    align-content: center;
}

div[class^="gt_container"] .gt_switcher .gt_selected:active,
div[class^="gt_container"] .gt_switcher .gt_selected:focus,
div[class^="gt_container"] .gt_switcher .gt_selected:hover,
div[class^="gt_container"] .gt_switcher .gt_selected:has(a.open) {
	background: #dcdcdc !important;
	color: var(--lmi-text) !important;
}
#masthead .gt_option {
    margin-top: var(--nav-height) !important;
    align-self: start;
    padding-left: .5rem;
}
#masthead .gt_option a {
    font-weight: 600;
    padding-right: .5rem;
}
#masthead .gt_selected a img,
#masthead .gt_option a img {
    position: relative;
    top: -2.5px;
    margin-right: .5rem;
}
#masthead div[id^="gtranslate_menu_wrapper_"] .gt_switcher .gt_selected a:after {
	content: "\f0d7" !important;
    font-family: "Font Awesome 6 Free";
    font-size: .6667rem;
    height: auto;
    width: auto;
    font-weight: 900;
    background: none;
    position: relative;
    right: -.3333rem;
}

/* Header image */

#masthead .header-background {
	--header-gradient: 
		linear-gradient( 
    		45deg, 
    		rgba(28, 28, 29, 0.9) 25%, 
    		rgba(28, 28, 29, 0.6) 40%, 
    		rgba(28, 28, 29, 0) 53%
    	);
    --header-img: url('img/pixel.png'); /* Default background image */
    --header-img-rpt: no-repeat;
    --header-img-pos: 57% 50%;
    --header-img-size: cover;
    --header-color: var(--lmi-white); /* solid color fallback */

    background: 
		/* Top layer */		var(--header-gradient),
		/* Middle layer */	var(--header-img) var(--header-img-rpt) var(--header-img-pos) / var(--header-img-size),
		/* Bottom layer */	var(--header-color) !important;

	position: relative;
}

@media screen and ( min-width: 768px ) {
	#masthead .header-background {
        --header-pos: 30% 50%;
	}
}
@media screen and ( min-width: 992px ) {
	#masthead .header-background {
        --header-pos: 40% 50%;
	}
}

.blocks {
	display: flex;
	margin-top: -2.5rem;
}
.blocks .col,
.blue-box-group {
	flex-direction: column;
}
.card {
	border-radius: 0;
}
.hero-card,
.blue-box-group { 
	display: flex;
    flex-wrap: wrap;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}
.hero-card .card-title {
	display: flex;
    flex-wrap: wrap;
    min-height: 2.5rem;
    margin: 0;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    align-content: center;
    white-space: nowrap;
}
.hero-card .card-title h3 {
	margin: 0;
}
.hero-card .card-body {
	display: flex;
    flex-direction: column;
	box-shadow: none;
	max-width: 100%;
	padding: 0;
}
.hero-card .card-body img {
	margin: 0;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover; 
	object-position: 60% 40%;
}
.hero-card .card-body .hero-block-menu {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.hero-card .card-body .menu-item {
	border-top: 1px solid #0000001a;
    transition: all 0s ease-in-out !important;
}
.hero-card .card-body .menu-item:first-child {
	border-top: 1px solid transparent;
}
.hero-card .card-body .menu-item:focus,
.hero-card .card-body .menu-item:hover {
    transition: all 0s ease-in-out !important;
}
.hero-card .card-body .menu-item:first-child:has(a:focus),
.hero-card .card-body .menu-item:first-child:hover {
    border-top: 1px solid #16557877;
}
.hero-card .card-body .menu-item:last-child:has(a:focus),
.hero-card .card-body .menu-item:last-child:hover {
    border-bottom: 1px solid #16557877;
}
.hero-card .card-body .menu-item:last-child {
	border-bottom: 1px solid transparent;
}
.hero-card.research .card-body .menu-item:first-child:has(a:focus),
.hero-card.research .card-body .menu-item:first-child:hover {
    border-top: 1px solid #395e1477;
}
.hero-card.research .card-body .menu-item:last-child:has(a:focus),
.hero-card.research .card-body .menu-item:last-child:hover {
    border-bottom: 1px solid #395e1477;
}
.hero-card .card-body .menu-item {
	padding: 0.625rem 1.25rem;
}
.hero-card .card-body a {
    color: var(--lmi-darkgray) !important;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    background-color: transparent;
}
.hero-card .card-body .menu-item:has(a:focus) a,
.hero-card .card-body .menu-item:hover a {
    color: var(--lmi-white) !important;
    text-decoration: underline;
    transition: all 0 ease-in-out;
}
.hero-card .card-body a:after {
    content: "\f054";
    position: absolute;
    right: 1.25rem;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    display: inline-block !important;
    text-rendering: auto !important;
    speak: none !important;
    color: var(--lmi-darkgray) !important;
}
.hero-card .card-body .menu-item:has(a:focus) a:after,
.hero-card .card-body .menu-item:hover a:after {
    color: var(--lmi-white) !important;
}
.hero-card .hero-block-list ul li:has(a:focus) {
    background-color: var(--lmi-blue);
}
.hero-card.research .hero-block-list ul li:has(a:focus) {
    background-color: var(--lmi-green) !important;
}
.stat-tile {
    min-height: calc(33% - 1.8rem);
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}
.stat-tile,
.stat-tile h4,
.stat-tile a {
	color: var(--lmi-white) !important;
	text-decoration: none;
}
.stat-tile a:focus,
.stat-tile a:focus i,
.stat-tile a:hover,
.stat-tile a:hover i {
    text-decoration: underline;
    font-style: normal;
    color: var(--lmi-white) !important;
}

.stat-number { 
	margin: 0;
}
.promo-tile {
	z-index: 1;
	position: relative;
	max-width: 26rem;
    margin-left: auto;
    border-radius: 4px;
}
@media all and ( max-width: 1199px ) {
	.promo-tile {
	    max-width: calc(576px - 1.5rem);
    	margin-right: auto;
	}
}

#dates-row .date-box, #dates-row .info-box {
    padding-top: .625rem;
    padding-bottom: .625rem;
}
#dates-row a.card {
	text-decoration: none;
	border-radius: .375rem;
    overflow: hidden;
}
#dates-row a.card:focus .info-box
#dates-row a.card:hover .info-box {
	text-decoration: underline;
}

#dates-row .info-box {
    padding: 1rem;
}

#dates-row .info-box h4,
#dates-row .info-box p:last-child {
    margin-bottom: 0 ;
    padding-bottom: 0 ;
}

@media screen and ( max-width: 676px ) {
	.event {
	    min-width: 100%;
	}
}


/* News row */
#news-row h3 {
    margin-left: -12px;
    margin-right: -12px;
}
#news-grid {
    border: 1px solid var(--lmi-lightgray);
    border-width: 1px 0 0 1px;
}
.news-item {
    position: relative;
	/*aspect-ratio: 4 / 3;*/
	aspect-ratio: 16 / 9;
    overflow: hidden;
    padding: 0;
    border: 0 solid var(--lmi-lightgray);
    border-width: 0 1px 1px 0;
    --shadow-color: var(--lmi-darkblue);
    color: var(--lmi-white);
    text-decoration: none;
}
.news-item:focus,
.news-item:focus h4
.news-item:hover,
.news-item:hover h4 {
	text-decoration: underline;
}
.news-item:not(:has(img)) {
	display: flex;
    align-content: center;
    flex-wrap: wrap;
	--shadow-color: transparent;
}
.news-left.news-item:not(:has(img)) {
	font-size: 2rem !important;
    line-height: 1.4;
}
.news-item:not(:has(img)) h4 {
	display: flex;
    max-width: 75%;
    margin: 0 !important;
    justify-self: center;
}
.news-left.news-item:not(:has(img)) h4 {
    font-size: 2rem !important;
}
.news-item:not(:has(img)):after {
    --shadow-color: var(--lmi-blue);
    content: " ";
    width: 100%;
    height: 33%;
    display: inline-block;
    position: absolute;
    bottom: 0;
    background: linear-gradient(0, var(--shadow-color), transparent 50%) !important;
    z-index: 1;
}
.news-item-1:not(:has(img)) {
	background: var(--lmi-darkblue);
    --shadow-color: var(--lmi-darkblue);
}
.news-item-1:not(:has(img)):after {
	--shadow-color: var(--lmi-darkblue);
}
.news-item-2:not(:has(img)) {
	background: var(--lmi-yellow);
    --shadow-color: var(--lmi-yellow);
}
.news-item-2:not(:has(img)) .news-headline h4 {
	color: var(--lmi-black) !important;
}
.news-item-2:not(:has(img)):after {
	--shadow-color: var(--lmi-yellow);
}
.news-item-3:not(:has(img)) {
	background: var(--lmi-darkgreen);
    --shadow-color: var(--lmi-darkgreen);
}
.news-item-3:not(:has(img)):after {
	--shadow-color: var(--lmi-darkgreen);
}
.news-item-4:not(:has(img)) {
	background: var(--lmi-green);
    --shadow-color: var(--lmi-green);
}
.news-item-4:not(:has(img)):after {
	--shadow-color: var(--lmi-green);
}
.news-item-5:not(:has(img)) {
	background: var(--lmi-blue);
    --shadow-color: var(--lmi-blue);
}
.news-item-5:not(:has(img)):after {
	--shadow-color: var(--lmi-blue);
}
a > .news-img {
	position: absolute;
	/*aspect-ratio: 4 / 3;*/
	aspect-ratio: 16 / 9;
	height: 100%;
	object-fit: cover;
	object-position: 50%;
	z-index: 0;
	transform: scale(100%);
	transition: all .5s ease-in-out;
}
a:focus > .news-img,
a:hover > .news-img {
	transform: scale(105%);
	transition: all .25s ease-in-out;
}
a.news-left:focus > .news-img,
a.news-left:hover > .news-img {
	transform: scale(102%);
}
.news-headline {
	display: block;
	z-index: 1;
    align-content: center;
    height: 100%;
    width: 100%;
    align-content: center;
    background: linear-gradient(0, var(--shadow-color), transparent 50%) !important;
    position: relative;
}
.news-headline h4 {
    color: var(--lmi-white) !important;
    display: inline-block;
    margin: 0 1rem 1rem;
    text-shadow: 0 0px 3px rgba(0, 0, 0, 1), 
    			 0 4px 6px var(--shadow-color), 
    			 4px 0 6px var(--shadow-color), 
    			 -4px 0px 6px var(--shadow-color);
}
.news-excerpt {
    position: absolute;
    top: 0;
    line-height: 1.625;
    color: var(--lmi-text);
    font-weight: 500;
    background-color: rgba(255, 255, 255, 0.5);
    margin: .5rem;
    padding: .25rem .5rem;
    text-shadow: 0 4px 20px white, 4px 0 20px white, 0 -4px 20px white, -4px 0 20px white;
    opacity: 0;
    transition: opacity .75s ease-in-out;
    z-index: 10;
    max-height: calc(100% - 1rem);
    overflow: hidden;
    backdrop-filter: blur(10px);
}
.news-left .news-excerpt {
    margin: 1rem;
    padding: 1rem;
}
.news-item:hover .news-excerpt,
.news-item:focus .news-excerpt {
    opacity: 1;
}
.news-item:has(img) .news-headline h4 {
    position: absolute;
    bottom: 0;
}

@media screen and ( max-width: 991px ) {
	.news-left {
		/*aspect-ratio: 8 / 3;*/
		aspect-ratio: 16 / 9;
	}
	.news-left img {
		object-position: 50% 25%;
	}
}
@media screen and (max-width: 767px) {
	.news-left,
	.news-item:has(img),
	.news-img  {
		aspect-ratio: 16 / 9;
	}
	.news-img {
		object-position: 50% 25%;
	}
	.news-item:not(:has(img)) {
		aspect-ratio: auto;
		padding: 1.25rem;
	}
	.news-item:not(:has(img)) h4 {
		max-width: 100%;
		padding: 1rem;
		justify-self: left;
	}
}
@media screen and (max-width: 767px) {
	.news-left.news-item:not(:has(img)) h4 {
	    font-size: 1.25rem !important;
	}
}

@media screen and (max-width: 575px) {
	.news-left,
.news-item:has(img),
.news-img  {
		/*aspect-ratio: 4 / 3;*/
		aspect-ratio: 16 / 9;
	}
	.news-img {
		object-position: 50%;
	}
}

/* Stats/Map row */

span:has(>.fp-map) {
	justify-content: center;
}

.fp-map {
    transform: rotate(-8deg);
}

div:has(>#columnchart_material) {
    display: flex;
    justify-content: center;
}

#countySelectButton {
  font-size: 1rem !important;
  padding: .5rem 1.5rem .4rem !important;
  box-shadow: 0 4px 0 var(--bs-gray-600) !important;
  transition: all .25s ease-in-out;
  width: max-content;
  justify-self: start;
  background-color: var(--bs-gray-400) !important;
  text-shadow: none;
  color: var(--lmi-text) !important;
  border: none;
}

body.home #main .elementor-widget-shortcode ul.dropdown-menu {
  margin-top: 0 !important;
  width: calc( 100vw - 2.75rem );
  columns: 2;
  padding: .5rem 1rem !important;
  background: var(--bs-gray-200) !important;
  box-shadow: 0 4px 8px rgba( 0, 0, 0, 0.5 );
}

body.home main .elementor-widget-shortcode ul.dropdown-manu {

}

/* Sidebars */

.sidebars,
.custom-sidebar .related-articles-widget .blog-post,
.blog .custom-sidebar,
.archive .custom-sidebar,
.single-post .custom-sidebar {
	background-color: var(--lmi-white) !important;
	color: var(--lmi-text);
}
.blog .custom-sidebar .entry-meta,
.archive .custom-sidebar .entry-meta,
.single-post .custom-sidebar .entry-meta {
	
}


.custom-sidebar .related-articles-widget .post-details a {
	color: var(--lmi-darkblue) !important;
}
.custom-sidebar .related-articles-widget .post-details a:not(.btn):hover,
.category-widget a:hover,
.custom-sidebar .related-articles-widget .post-details a:not(.btn):focus,
.category-widget a:focus {
	color: var(--lmi-blue) !important;
	text-decoration-color: var(--lmi-blue) !important;
	font-style: normal;
}
.custom-sidebar .related-articles-widget .post-details a.btn {
	text-decoration: none !important;
}
.custom-sidebar .related-articles-widget .post-details a.btn:hover,
.custom-sidebar .related-articles-widget .post-details a.btn:focus {
	color: var(--lmi-white) !important;
	font-style: normal !important;
	text-decoration: underline !important;
	text-decoration-color: var(--lmi-white) !important;
}

.custom-sidebar h4 {
    font-size: 1.125rem !important;
    margin-top: 0;
}

body:not(.home) .custom-sidebar h4 {
	margin-top: 0 !important;
	margin-bottom: 1.25rem;
}

/* breadcrumbs */

nav.breadcrumbs {
	margin-bottom: 1.25rem;
}

.breadcrumb {
    margin-bottom:	0;
    margin-left:	0;
}

.breadcrumb a {
    font-weight: 400 !important;
    position: relative;
}

.breadcrumb a.bc-home {
    margin-left: 1rem;
}

.breadcrumb a.bc-home:before {
    content: "\f015";
    color: var(--lmi-darkblue);
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: inherit !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    text-rendering: auto !important;
    speak: none !important;
    line-height: var(--nav-height);
    height: var(--nav-height);
    text-transform: none;
    text-decoration: none;
    font-size: .875rem;
    outline: none;
    position: absolute;
    left: -1rem;
    top: .125rem;
    font-size: .75rem;
}


.breadcrumb-item a:hover {
	color: var(--lmi-blue) !important;
}

/* Posts achive page */
.blog .entry-title, .archive .entry-title {
	margin-bottom: 1rem !important;
}
.blog .entry-title a, .archive .entry-title a {
	font-size: unset;
}

.blog .blog-post, .archive .blog-post {
	background-color: var(--lmi-white);
	display: flex;
	flex-direction: column;
}

.blog .btn-secondary,
.archive .btn-secondary {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    padding: .5rem 1.5rem .4rem !important;
    box-shadow: 0 4px 0 var(--bs-gray-500);
    transition: all .25s ease-in-out;
    width: max-content;
    justify-self: start;
}

.blog #content p, .archive #content p,
.blog .post-details a.post-excerpt,
.archive .post-details a.post-excerpt,
.single-post .post-details a.post-excerpt {
	color: var(--lmi-text) !important;
	text-decoration: none;
}
.blog #content p:hover, .archive #content p:hover,
.blog .post-details a.post-excerpt:hover,
.archive .post-details a.post-excerpt:hover,
.single-post .post-details a.post-excerpt:hover {
	color: var(--lmi-text) !important;
	text-decoration: none;
}

.achive .btn-secondary,
.achive .btn-secondary > a,
.blog .btn-secondary,
.blog .btn-secondary > a {
	font-size: 1rem !important;
}

.blog .btn-secondary:hover,
.archive .btn-secondary:hover {
	transform: translate(0, -2px);
    box-shadow: 0 6px 0 var(--lmi-darkblue);
    transition: all .15s ease-in-out;
}

.blog .post-details .btn-secondary,
.archive .post-details .btn-secondary,
.single-post .post-details .btn-secondary,
a.wp-block-button__link {
	background-color: var(--bs-gray-400) !important;
    color: var(--lmi-text) !important;
    font-weight: 600;
}

.blog .post-details .btn-secondary:hover,
.archive .post-details .btn-secondary:hover,
.single-post .post-details .btn-secondary:hover {
	background-color: var(--lmi-blue) !important;
	color: var(--lmi-white) !important;
}

/* Posts achive page sidebar */

.custom-sidebar .sidebar-search-form,
.custom-sidebar .widget {
	margin-bottom: 2rem;
}

.custom-sidebar .widget li a,
.custom-sidebar .related-articles-widget h3,
.custom-sidebar .related-articles-widget .post-details a {
	color: var(--lmi-darkblue);
}

.blog .custom-sidebar .entry-meta,
.archive .custom-sidebar .entry-meta,
.single-post .custom-sidebar .entry-meta {
	color: var(--lmi-text) !important;
}

/* Press release archive page */

.post-type-archive-pressrelease #main,
.post-type-archive-pressrelease #main em ~ p {
	color: var(--lmi-text) !important;
}

.post-type-archive-pressrelease #main a,
.post-type-archive-pressrelease #main h2 {
	color: var(--lmi-blue) !important;
	text-decoration: none;
}
.post-type-archive-pressrelease #main a.btn {
	color: var(--lmi-text) !important;
	background-color: var(--bs-gray-400) !important;
}
.post-type-archive-pressrelease #main a.btn:hover {
	color: var(--lmi-white) !important;
	background-color: var(--lmi-blue) !important;
}

/* Events styles */

.tribe-events-calendar-list__event-datetime {
	font-family: "Montserrat", sans-serif !important;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-details {
	width: 100%;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-events-calendar-list__event-date-tag {
    width: 10rem !important;
    height: 10rem;
}

.tribe-events #past-events {
    display: none;
}
/*.tribe-events #past-events:has(.past-events-bottom .tribe-common-g-row) {
    display: block;
}*/

#dates-row .event .card {
	transform: translate( 0 );
	box-shadow: var(--bs-box-shadow-sm) !important;
	transition: all .5s ease-in-out;
}
#dates-row .event .card:hover,
#dates-row .event .card:focus {
	transform: translate( 0, -.125rem );
	box-shadow: var(--bs-box-shadow) !important;
	transition: all .25s ease-in-out;
}

.tribe-events .tribe-events-l-container,
body.page #primary > section {
	padding-top: 1.25rem !important;
}

.tribe-events-c-top-bar__datepicker-button {
	padding: 0 .5rem !important;
	border-color: transparent;
}

.tribe-common-c-svgicon {
	color: var(--lmi-blue) !important;
}

.tribe-events .datepicker { 
	border: 0 solid #fff !important;
	border-radius: 4px !important;
	background-color: var(--lmi-lightgray) !important;
	padding: 0;
}

.tribe-events .datepicker th {
	border-radius: 0;
	background-color: var(--lmi-darkblue) !important;
}

.tribe-events .datepicker tbody, 
.tribe-events .datepicker td, 
.tribe-events .datepicker tfoot, 
.tribe-events .datepicker th, 
.tribe-events .datepicker thead, 
.tribe-events .datepicker tr {
	border-left-width: 0 !important;
}

.tribe-events .datepicker .datepicker-months .datepicker-switch,
.tribe-events .datepicker .datepicker-months .next,
.tribe-events .datepicker .datepicker-months .prev,
.tribe-events .datepicker .datepicker-years .datepicker-switch,
.tribe-events .datepicker .datepicker-years .next,
.tribe-events .datepicker .datepicker-years .prev {
    padding: 0;
    height: 48px;
    background-color: var(--lmi-darkblue) !important;
}

.tribe-events .datepicker th .tribe-common-c-svgicon {
	color: #fff !important;
}

.tribe-events .datepicker table {
	width: 100%;
}

.datepicker table tr td span.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active:hover {
	background-image: none;
}

.datepicker table tr td span.active.active,
.datepicker table tr td span.active.disabled,
.datepicker table tr td span.active.disabled.active,
.datepicker table tr td span.active.disabled.disabled,
.datepicker table tr td span.active.disabled:active,
.datepicker table tr td span.active.disabled:hover,
.datepicker table tr td span.active.disabled:hover.active,
.datepicker table tr td span.active.disabled:hover.disabled,
.datepicker table tr td span.active.disabled:hover:active,
.datepicker table tr td span.active.disabled:hover:hover,
.datepicker table tr td span.active.disabled:hover[disabled],
.datepicker table tr td span.active.disabled[disabled],
.datepicker table tr td span.active:active,
.datepicker table tr td span.active:hover,
.datepicker table tr td span.active:hover.active,
.datepicker table tr td span.active:hover.disabled,
.datepicker table tr td span.active:hover:active,
.datepicker table tr td span.active:hover:hover,
.datepicker table tr td span.active:hover[disabled],
.datepicker table tr td span.active[disabled] {
	background-color: var(--lmi-blue);
}

.tribe-events-c-top-bar__datepicker {
	height: 2.25rem;
	margin-bottom: -.5rem;
}

.tribe-events-c-top-bar__datepicker-button:hover {
	text-decoration: underline;
}

.tribe-common-c-btn {
    background-color: #1877aa !important;
  border: 0 solid transparent;
  border-radius: 4px;
  border-bottom-width: 0px;
	box-shadow: 0 4px 0 #165578;
	transform: translate(0);
	transition: all .25s ease-in-out;
}
.tribe-common-c-btn:hover {
	box-shadow: 0 6px 0 #165578;
	transform: translate( 0, -2px );
	transition: all .25s ease-in-out;
}

.tribe-events-calendar-month {
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-auto-rows: minmax(0, auto); /* Allow rows to size independently to tallest item */
	grid-column-gap: 0px;
	grid-row-gap: 0px;
	background-color: #fff;
	--day-border-color: #ddd;
	--day-border-width: 1px;
}

/* First row ( Day labels ) */
.tribe-events-calendar-month__header-column-title {
	min-height: 3rem;
	background-color: #1877aa;
	padding: .5rem !important;
	display: flex;
	flex-direction: column;
	justify-content: stretch;
}

.tribe-events-calendar-month__header-column-title > * {
	flex: 1 1 auto;
	align-content: center;
	text-align: center;
	font-weight: bold;
	color: #fff
}

/* All other rows (days 8–42) */
.tribe-events-calendar-month__day-cell {
	min-height: 10rem;
	border: var(--day-border-width) solid var(--day-border-color) !important;
	border-width: 0 0 var(--day-border-width) var(--day-border-width) !important 
}

/* Right border on last day of each week */
.tribe-events-calendar-month__day-cell:nth-child(21),
.tribe-events-calendar-month__day-cell:nth-child(35),
.tribe-events-calendar-month__day-cell:nth-child(49),
.tribe-events-calendar-month__day-cell:nth-child(63),
.tribe-events-calendar-month__day-cell:nth-child(77) { 
	border-right: var(--day-border-width) solid var(--day-border-color) !important;
}

/* Tool tips */
.tribe-events-calendar-month__day-cell .tribe-events-calendar-month__calendar-event-tooltip-template.tribe-common-a11y-hidden {
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: -.5rem;
    left: -50%;
    background: var(--lmi-white);
    padding: 1rem;
    width: 200%;
    max-width: 400px;
    border: 1px solid var(--bs-gray-400);
    box-shadow: 0px 3px 5px rgba(0, 0, 0, .125);
    transition: opacity .125s ease-in-out;
}
.tribe-events-calendar-month__day-cell:hover .tribe-events-calendar-month__calendar-event-tooltip-template.tribe-common-a11y-hidden,
.tribe-events-calendar-month__day-cell .tribe-events-calendar-month__calendar-event-tooltip-template.tribe-common-a11y-hidden:hover {
    opacity: 1;
    pointer-events: auto;
    transition: opacity .125s ease-in-out;
}


/* Single Event styles */

#tribe-events-pg-template {
    margin: 0 auto;
		max-width: unset;	
    padding: 0;
}

.tribe-events-single-section-title {
	text-transform: unset !important;
}

.tribe-events-meta-group:last-child {
    margin-right: 0;
}


.carousel h1,
.carousel h2,
.carousel h3,
.carousel h4,
.carousel h5,
.carousel h6, 
.carousel .h1,
.carousel .h2,
.carousel .h3,
.carousel .h4,
.carousel .h5,
.carousel .h6 {
	color: var(--lmi-white) !important;
	text-shadow: 2px 3px 4px var(--lmi-black);
}

.carousel-caption {
	padding: 1.25rem;
	color: var(--lmi-white);
	text-shadow: 1px 2px 3px var(--lmi-black), 0px 0px 9px var(--lmi-black);
	backdrop-filter: blur(5px) brightness(0.85);
    border-radius: 40px;
    border: 1px solid transparent;
}

.custom-card-body,
.card-body {
	color: var(--lmi-black);
}

.card-body,
.custom-card-body,
.custom-banner.bg-light,
.custom-banner-lower .bg-light {
	box-shadow: 0px 5px 10px color-mix(in srgb, var(--lmi-black), transparent 90%);
}

.btn-primary,
.btn-primary > a,
.wp-element-button, 
.wp-element-button > a,
.shortcode_recent-posts a.btn,
.wp-block-search__button,
.wp-block-search__button > a,
.tribe-common-c-btn,
.btn-lmi {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
	text-decoration: none;
    padding: .5rem 1.5rem .4rem !important;
    color: var(--lmi-text) !important;
    background-color: var(--bs-gray-400);
    box-shadow: 0 4px 0 var(--bs-gray-500);
    transition: all .25s ease-in-out;
    width: max-content;
    justify-self: start;
}

.btn-primary:focus,
.btn-primary:hover,
.btn-primary > a:focus,
.btn-primary > a:hover,
.wp-element-button:focus,
.wp-element-button:hover,
.wp-element-button > a:focus,
.wp-element-button > a:hover,
.shortcode_recent-posts a.btn:focus,
.shortcode_recent-posts a.btn:hover,
.wp-block-search__button:focus,
.wp-block-search__button:hover,
.wp-block-search__button > a:focus,
.wp-block-search__button > a:hover,
.tribe-common-c-btn:focus,
.tribe-common-c-btn:hover,
.btn-lmi:focus,
.btn-lmi:hover {
	color: var(--lmi-white) !important;
	font-style: normal;
    background: var(--lmi-blue) !important;
    transform: translate(0, -2px);
    box-shadow: 0 6px 0 var(--lmi-darkgray);
    transition: all .15s ease-in-out;
}
.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.btn-primary-custom,
.btn-primary-custom > a {
	background-color: var(--lmi-blue) !important;
}
.btn-primary-custom:focus,
.btn-primary-custom > a:focus,
.btn-primary-custom:hover,
.btn-primary-custom > a:hover {
	background-color: var(--lmi-blue) !important;
	color: var(--lmi-white) !important;
	font-style: normal;
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button,
.btn-primary-custom,
.btn-primary-custom > a {
	color: var(--lmi-white) !important;
    background-color: var(--lmi-blue) !important;
    padding: .125rem 1.25rem !important;
    border-width: 0;
    box-shadow: 0 4px 0 var(--lmi-darkblue);
}

.tribe-common--breakpoint-medium.tribe-events .tribe-common-c-btn.tribe-events-c-search__button:hover,
.btn-primary-custom:hover,
.btn-primary-custom > a:hover {
    box-shadow: 0 6px 0 var(--lmi-darkblue);
}

/* ---- Internal Page Content ---- */

#main, .no-js, #primary, .custom-blog-page > .row > div, .tribe-events-c-search {
	background-color: transparent;
}

#main {
	min-height: 250px;
}

body:not(.home) #main {
	padding-top: 0;
}

body:not(.home) #content {
	background-color: var(--lmi-white);
	position: relative;
	padding: 1.25rem 2.75rem;
	margin-top: -4rem;
}
body:not(.home) #content > .row,
body:not(.home) #primary {
    background-color: transparent;
}

body:not(.home) h2:first-child,
body:not(.home) h3:first-child,
body:not(.home) h4:first-child,
body:not(.home) h5:first-child,
body:not(.home) h6:first-child {
	margin-top: 0 !important;
}

body:not(.elementor-editor-active) #content:has(#main:empty) {
	display: none;
}

#content.container {
    position: relative;
    z-index: 1;
}

.tri-footer-top {
    border-bottom: 20vh solid #1877AA;
    border-right: 100vw solid transparent;
    margin-top: -20vh;
}

/* Search page */

.custom-search-bar-page .top-navigation .search-form input[type="search"] {
	border: 1px solid var(--bs-gray-500) !important;
}

.custom-search-bar-page .top-navigation,
.custom-search-bar-page .top-navigation .input-group {
    height: auto;
}

/* Social Section */

#social-row {
	padding: 1.25rem;
	background-color: var(--lmi-darkgray);
}
.social-area {
	text-align: center !important;
}
.social {
	margin: 0 .5rem;
    color: var(--lmi-white) !important;
}

.social > i:focus,
.social > i:hover,
.social:focus > i,
.social:hover > i {
	color: var(--lmi-yellow) !important;
}

.site-footer {
	background-color: var(--lmi-footergray);
}
.amricanjobcenter {
    width: 150px;
    position: relative;
    top: -3px;
}
.footer-links {
	padding: 0;
}
.footer-links > a:first-child {
	padding-left: 0;
}
.footer-links > a:focus,
.footer-links > a:hover {
	color: var(--lmi-yellow) !important;
}
.footer-links a::after {
	color: var(--lmi-white) !important;
}

@media screen and (max-width: 991px) {
	body:not(.home) #content {
		margin-top: 0;
	}
    /*.custom-card,*/ .card {
        margin-top: 0;
    }
    .blue-box-group .card {
    	margin-top: 2rem;
    }
}
@media screen and (max-width: 767px) {
    .blue-box-group .card {
    	margin-top: 0;
    }
}

@media screen and ( min-width: 576px ) {
	.stat-tile: {
	    width: 100%;
	    margin-left: 0;
	    margin-right: 0;
	    margin-top: unset;
	    margin-bottom: unset;
	}
}
@media screen and ( min-width: 768px ) {
	.stat-tile:not(:last-child) {
	    width: calc(50% - 12px);
	    margin-left: 9px;
	    margin-right: -1px;
	    margin-top: 0;
	    margin-bottom: 0;
	}
	.stat-tile:first-of-type {
	    margin-left: -1px;
	    margin-right: 9px;
	}
}

@media screen and ( min-width: 992px ) {

	body.home #masthead .header-background {
		height: 500px !important;
	}
	body:not(.home) #masthead .header-background {
		height: 400px !important;
	}
	.site-branding h1 {
	    font-size: 3.25rem !important;
	    text-wrap: pretty;
	}
	body:not(.home) .hero-main-text {
	    padding-left: 4.375rem;
	}
	.hero-sub-text {
		font-size: 2.25rem;
	}

	.hero-card .card-title {
	    padding-right: 1rem;
	    padding-left: 1rem;
	}

	.stat-tile:not(:last-child) {
	    width: unset;
	    margin-left: 0;
	    margin-right: ;
	    margin-top: unset;
	    margin-bottom: unset;
	}
	.stat-tile {
    	min-height: calc(33% - 1.8rem);
	}
	.stat-tile:first-of-type {
	    margin-left: 0;
	    margin-right: 0;
	}
	#masthead .navbar > .container-xl,
	.site-branding .container-xl,
	#colophon .container {
	    max-width: calc( 100% - 4rem);
	}
}

@media screen and ( min-width: 1200px ) {
	.hero-card .card-title {
	    padding-right: 1.5rem;
	    padding-left: 1.5rem;
	}
}

@media screen and ( min-width: 1400px ) {
}

@media screen and ( min-width: 1600px ) {
	#masthead .navbar > .container-xl,
	.site-branding .container-xl,
	#colophon .container {
	    max-width: calc( 1600px - 4rem);
	}
}

/* Elementor overrides */

.elementor-editor-active #elementor-add-new-section {
	margin: 3rem auto;
}

.elementor-editor-active .elementor-add-section {
	max-width: unset;
}