:root {
	/* Dark Charcoal Gray */
	 --brand-color1: #373737;
	 --brand-color1-rgb: 55, 55, 55;
	/* Teal Green */
	 --brand-color2: #435E5D;
	 --brand-color2-rgb: 67, 94, 93;
	/* Light Brown */
	 --brand-color3: #98633E;
	 --brand-color3-rgb: 152, 99, 62;
	/* white */
	 --brand-color4: #fff;
	 --brand-color4-rgb: 255, 255, 255; 
	/* Black */
	 --brand-color5: #000000;
	 --brand-color5-rgb: 0, 0, 0; 
	/* Dark Brown */
	 --brand-color6: #572700;
	 --brand-color6-rgb: 87, 39, 0;
	/* Fair blue */
	 --brand-color7: #0170B9;
	 --brand-color7-rgb: 1, 112, 185;
}
 html {
	 position: relative;
}
/*********************************** GLOBAL ***********************************/
 body {
	 font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;
	 overflow-x: hidden;
}

 .blue-font{
	 color: var(--brand-color1);
}
 a:not(.nav-link):not(.dropdown-item):not(.btn):not(.fc-event) {
	 color: var(--brand-color2);
}
 a:not(.nav-link):not(.dropdown-item):not(.btn):not(.fc-event):is(:hover,:focus) {
	 text-decoration-thickness:2px;
}
 iframe {
	 border: 0;
}
 table th {
	 font-weight: bold;
}
 fieldset, form, table {
	 margin: 0;
}
 figure {
	 margin: 0 auto 1rem auto;
}
 figure img {
	 display: block;
	 margin: 0 auto;
}
 figure>figcaption {
	 text-align: center;
	 margin: 1.25rem 0 2.5rem 0;
	 color: gray;
}
 .blockquote, blockquote {
	 position: relative;
	 max-width: 80%;
	 margin: 1.25rem auto;
	 padding: 2rem 3rem;
	 border: thin solid lightgray;
	 text-align: right;
	 color: gray;
}
 blockquote p {
	 text-align: center;
	 font-style: italic;
	 color: initial;
}
 blockquote:before, blockquote:after {
	 position: absolute;
	 width: 4rem;
	 height: 4rem;
	 z-index: 10;
	 display: inline-block;
	 content: "";
	 background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' class='bi bi-quote' fill='lightgray' xmlns='http://www.w3.org/2000/svg'><path d='M12 12a1 1 0 0 0 1-1V8.558a1 1 0 0 0-1-1h-1.388c0-.351.021-.703.062-1.054.062-.372.166-.703.31-.992.145-.29.331-.517.559-.683.227-.186.516-.279.868-.279V3c-.579 0-1.085.124-1.52.372a3.322 3.322 0 0 0-1.085.992 4.92 4.92 0 0 0-.62 1.458A7.712 7.712 0 0 0 9 7.558V11a1 1 0 0 0 1 1h2Zm-6 0a1 1 0 0 0 1-1V8.558a1 1 0 0 0-1-1H4.612c0-.351.021-.703.062-1.054.062-.372.166-.703.31-.992.145-.29.331-.517.559-.683.227-.186.516-.279.868-.279V3c-.579 0-1.085.124-1.52.372a3.322 3.322 0 0 0-1.085.992 4.92 4.92 0 0 0-.62 1.458A7.712 7.712 0 0 0 3 7.558V11a1 1 0 0 0 1 1h2Z'/></svg>");
	 background-repeat: no-repeat;
	 background-size: 4rem 4rem;
	 background-color: var(--brand-color4);
}
 blockquote:before {
	 top: -20px;
	 left: -20px;
}
 blockquote:after {
	 bottom: -20px;
	 right: -20px;
	 transform: rotate(180deg);
}
 th,td {
	 min-width: 100%;
}
 .row.gx-5 {
	 margin-right: calc(-.5 * 4rem);
	 margin-left: calc(-.5 * 4rem);
}
 .row.gx-5>* {
	 padding-right: calc(4rem * .5);
	 padding-left: calc(4rem * .5);
}
.btn-default {
    background-color: var(--brand-color2);
    border-color:var(--brand-color2);
    color: #fff;
}
.btn-default:is(:hover,:focus,:focus-within) {
    background-color: var(--brand-color3);
    border-color: var(--brand-color6);
}
/*Skip to Links*/
#skip-links {z-index:9999}
/*SEARCH*/
.gsc-control-wrapper-cse {
    margin-top: 3rem !important;
}
.gsc-result .gs-title {
   overflow: visible !important; 
}
form.gsc-search-box {
    display: none;
}
.search-wrapper {
    margin-top: 2rem;
}
.searchButton {
    border-radius: 4px !important;
    padding: .5rem 1.5rem;
    color:#FFFFFF!important;
    border:solid 0.0625em #999999;
    background:#6E9699;
    z-index:1;
    text-decoration:none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.searchButton a:visited {
    color:#FFFFFF!important;
    text-decoration:none;
}

.searchButton a:is(:hover,:focus,:focus-within) {
    text-decoration:underline!important;
}
 /*SEARCH END*/
 
 @media all and (min-width: 768px){
     #pagemenu {
         width: 100%;
     }
    /*********************************** Template *****************************/
    #template-header {
        height: unset!important;
        padding:unset!important;
        flex-flow: row wrap;
        width: 100%;
        position:sticky;
    }
    #template-header-logo {
        width: unset !important;
        height: unset !important;
        margin:0 !important;
        padding:0 !important;
        max-width: 30vw;
    }
    #template-header > a {
        padding: .125rem .375rem;
        margin: .125rem;
    }
    #template-header-nav {
        float: unset;
        margin: unset;
        padding: unset;
    }
    #template-header-nav li a {
        padding:0 1rem;
        min-height: 44px;
        align-content: center;
    }
    #template-search {
        padding-right: .5rem;
    }
    
    /* Show dropdown on hover or focus -- changes default bootstrap behavior */
    #pagemenu .dropdown:hover .dropdown-menu, #pagemenu .dropdown:focus-within .dropdown-menu {
        display: block;
    }
}

/*********************************** AMBER ALERT **************************/
 #template-header-social li a > i {
	 color: var(--brand-color4);
}
body.amber-alert .sticky-top {
	 top: 112px;
}
/*********************************** AMBER ALERT END **************************/
/*********************************** TEMPLATE.MT.GOV **************************/
/*********************************** TOOLS ************************************/
 .container-fluid {
	 padding-right: 1.5rem !important;
	 padding-left: 1.5rem !important;
}
 .container-full {
	 width: 100%;
	 overflow: hidden;
}
 .anchor {
	 display: block;
	 height: 120px;
	 margin-top: -120px;
	 visibility: hidden;
}
 #template-header-social li a > i {
	 color: var(--brand-color4);
}
 .reverse {
	 flex-direction: row-reverse;
}
 th,td {
	 min-width: 100%;
}
 .row.gx-5 {
	 margin-right: calc(-.5 * 4rem);
	 margin-left: calc(-.5 * 4rem);
}
 .row.gx-5>* {
	 padding-right: calc(4rem * .5);
	 padding-left: calc(4rem * .5);
}
 .arrows{
	 display: block;
}
/*Internet Explorer*/
 @media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
}
 .callout {
	 padding: 10px 20px;
	 margin: 0 0 20px;
	 border-left: 5px solid lightgray;
}
 .callout h4 {
	 margin-top: 0;
	 margin-bottom: 5px;
}
 .callout p:last-child {
	 margin-bottom: 0;
}
 .callout+.bs-callout {
	 margin-top: -5px;
}
/*********************************** COLORS ************************************/
 .blockColor1 {
	 background-color: var(--brand-color1);
	 color: var(--brand-color4) !important;
	 padding: 1rem;
}
 .blockColor1 .card-text.block_card {
	 color: var(--brand-color4) !important;
}
 .blockColor1 .card-title {
	 color: var(--brand-color4) !important;
}
 .blockColor1 p {
	 color: var(--brand-color4) !important;
}
 .blockColor2 {
	 background-color: rgba(var(--brand-color6-rgb), 0.35);
	 color: var(--brand-color5);
     padding: 1rem;
}
 .blockColor2 .card-text.block_card {
	 color: var(--brand-color5);
}
 .blockColor2 .card-title {
	 color: var(--brand-color5);
}
 .blockColor3 {
	 background-color: rgba(var(--brand-color6-rgb),0.25);
	 color: var(--brand-color5);
     padding: 1rem;
}
 .blockColor3 .card-text.block_card {
	 color: var(--brand-color5);
}
 .blockColor3 .card-title {
	 color: var(--brand-color5);
}
 .blockColor4 {
	 background-color: rgba(var(--brand-color7-rgb),0.15);
     padding: 1rem;
}
 .blockColor4 .card-text.block_card {
	 color: var(--brand-color5);
}
 .blockColor4 .card-title {
	 color: var(--brand-color5);
}
/*********************************** ALERTS ************************************/
@media screen and (min-width: 992px) {
    /* xxx This @media doesn't work elsewhere, will find time later to debug*/
    .col-left-border {
          border-left: 1px solid #AAAAAA;
        }
    .col-bot-border {
        border-bottom: 1px solid #AAAAAA;
        height: 600px;
    }
}
 .alert {
	 font-size: 80%;
	 padding: 3px 15px;
}

 .blockColor1 h2, .blockColor1 h2 a {
	 color: var(--brand-color4);
}
 .blockColor1 h1, .blockColor1 h1 a {
	 color: var(--brand-color4);
}
 a.blockColor1, .blockColor1 a {
	 color: var(--brand-color4)!important;
}
 .block_fwimg h2 {
	 color: var(--brand-color1);
}
/*********************************** HEADER ***********************************/
 header {
	 position: relative;
}
 .heading {
	 color: var(--brand-color1);
	 font-weight: 500;
}
 .heading span:first-child {
	 font-size: 0.8rem;
}
 .heading span:last-child {
	 font-size: 1.75rem;
}
 img#header-logo {
	 z-index: 99;
}
/****xxx turned off back to the top css*********/
a#back-to-top {
    display: none;
}
/*********************************** NAVIGATION ************************************/
#pagemenu.sticky-top {
	 padding:0;
}
#pagemenu.sticky-top:is(:hover,:focus,:focus-within) {
    border-radius: 0;
}

#pagemenu .nav-link:is(.show), #pagemenu .nav-link:is(:focus-visible,:hover) {
     background-color: #989793;
     color: #fff;
}

#pagemenu .dropdown-menu {
	background-color: #dbdcde;
    margin: 0;
	padding: 1rem 2rem;
    border: unset;
    border-radius: 0 0 .5rem .5rem;
    left:0;
}

 .navbar-expand-lg .navbar-collapse {
	 display: block !important;
	 flex-basis: auto;
	 padding: 0 2rem;
}
 a.nav-link.dropdown-toggle.ps-0 {
	 float: right;
}
 .navbar-expand-lg .navbar-nav {
	 flex-direction: row;
	 float: right;
}
 .header_wrapper_img {
	 background-image: url(../../_images/water/water_interior_banner.jpg);
	 min-height: 200px;
}
 .header_wrapper {
	 background-color: var(--brand-color1);
	 z-index: 2;
	 display: block;
}
 .top_logo_bar {
	 float: left;
}

 .nav_title a {
	 font-size: 1rem;
	 font-weight: 600;
}
 ul.nav.flex-column {
	 font-size: .95rem;
	 gap:.15rem;
}
/************************3rd level nav - basic dropdown ***********************/
 ul.submenu {
	 background: blue;
	 color: white;
	 margin: 0 0 0 -10rem;
}
/************************made logo slightly larger************************/
 #header .logo {
	 max-height: 70px;
}
 .col.p-3.blockColor2 {
	 min-height: 105px;
}
/*********************************** NAV **************************************/
 .navbar-toggler .line {
	 width: 20px;
	 height: 2px;
	 background-color: var(--brand-color1);
	 display: block;
	 margin: 6px auto;
	 -webkit-transition: all 0.3s ease-in-out;
	 -o-transition: all 0.3s ease-in-out;
	 transition: all 0.3s ease-in-out;
}
 .navbar-toggler[aria-expanded="true"] .line {
	 width: 25px;
}
 .navbar-toggler[aria-expanded="true"] .line:nth-child(2) {
	 width: 0;
}
 .navbar-toggler[aria-expanded="true"] .line:nth-child(1), .navbar-toggler[aria-expanded="true"] .line:nth-child(3) {
	 -webkit-transition-delay: 0.3s;
	 -o-transition-delay: 0.3s;
	 transition-delay: 0.3s;
}
 .navbar-toggler[aria-expanded="true"] .line:nth-child(1) {
	 -webkit-transform: translateY(8px);
	 -ms-transform: translateY(8px);
	 -o-transform: translateY(8px);
	 transform: translateY(8px);
}
 .navbar-toggler[aria-expanded="true"] .line:nth-child(3) {
	 -webkit-transform: translateY(-8px) rotate(90deg);
	 -ms-transform: translateY(-8px) rotate(90deg);
	 -o-transform: translateY(-8px) rotate(90deg);
	 transform: translateY(-8px) rotate(90deg);
}
 .navbar-dark .navbar-toggler {
	 border-color: transparent;
}
 .navbar-toggler:focus {
	 box-shadow: none;
}
 .navbar .nav-link.hover~.dropdown-menu {
	 display: none;
	 margin-top: 0;
}
 .navbar .nav-link.hover:is(:hover,:focus,:focus-within)~.dropdown-menu, .navbar .nav-link.hover~.dropdown-menu:is(:hover,:focus,:focus-within) {
	 display: block;
}
 .dropdown-item.dropdown-toggle.hover~.dropdown-menu {
	 display: none;
}
 .navbar .dropdown-item.dropdown-toggle.hover:is(:hover,:focus-within)~.dropdown-menu, .navbar .dropdown-item.dropdown-toggle.hover~.dropdown-menu:is(:hover,:focus-within) {
	 display: block;
}
/********************* #navbarCollapse > ul > li ***********************/
 #navbarCollapse ul:not(.nav) > li.nav-bar-last {
	 border-right:none;
}
 #navbarCollapse ul:not(.nav) > li > :is(a, button) {
	 font-size:.8em;
	 color:#246262;
}
 #pagemenu-button {
	 display:none;
}
/********************* PAGE MENU ***********************/
 .dropdown-menu, .dropdown .dropdown-item {
	 border: none;
	 color: var(--brand-color1);
}
 .display-1 {
	 color: var(--brand-color4);
}
 #navbarCollapse>ul>li:nth-child(5)>div>ul {
	 max-width: 70%;
}
 .nav-link {
	 color:var(--brand-color4);
	 ;
}
 .dropdown-menu{
	 color:var(--brand-color1);
}
#pagemenu .nav-item:not(:last-child) {
    border-right: 1px solid var(--bs-border-color);
}
/********************* SIDE MENU ***********************/
 .sidebar ul {
	 margin-bottom: 0;
	 padding-left: 0;
	 list-style: none;
}
 .sidebar .nav-link {
	 margin-bottom: 5px;
	 padding: 0.5rem 0;
	 color: var(--brand-color1);
	 line-height: 125%;
}
 .sidebar ul>li>ul {
	 margin-left: 15px;
}
 .d-md-block {
	 z-index: 1;
}

/*********************************** BREADCRUMBS ******************************/
 .breadcrumb {
	 font-size: .95rem;
}
.breadcrumb-item+.breadcrumb-item::before {
    content: "\276F";
    color: inherit;
    scale: .8;
}
 .breadcrumb-item.active {
    color: #fff;
    color: color-mix(in oklch, white 90%, black 10%);
}
/*********************************** HOME PAGE ***********************************/
    #btnWeather {
        padding: 8px 0px;
        text-align: center;
    }
    /* I have this here because it refuses to work next to the other media breaks*/
    @media (min-width: 1200px) {
        #pagecontent-wrapper {
            max-width: 1250px;
        }
    }
    
 .mtgov-home-pagecontent {
    

    
	 #flagStateHolder {
		 width: 100%;
	}
	

	 .mtgov-home-roadconditionslink {
		 max-width: 300px;
		 padding: 65px 15px 15px 15px;
		 background: var(--brand-color2) url('/_images/icons/sprite-mdtLogos.png') center -135px no-repeat;
		 background-size: 140px auto !important;
	}

	 .mtgov-displayUL li {
		 color: var(--brand-color4) !important;
	}
	 .mtgov-displayUL li a {
		 color: var(--brand-color4) !important;
	}
	 .mtgov-home-sectionheader {
	     text-align: left;
	     text-transform: uppercase;
		 border-radius: .5rem .5rem 0 0;
		 margin:0;
		 transform: translateY(1px);
		 background:var(--brand-color1);
	}
	 #contentPane {
		 margin-bottom: 5rem;
		 padding:1.5REM;
		 ;
	}
    
	 #contentcontainer > div:nth-child(2) > div > div.row > div:nth-child(1) > h3 {
		 display: block;
		 padding-left: 14px;
	}
	
	 .col-border {
		 border-left: 1px solid #AAAAAA;
		 border-bottom: 0;
	}
	 .col-border:first-child {
		 border-left: none;
	}
	 .seante-col {
		 padding: 0;
		 float: left;
	}
	 .house-col {
		 padding: 0;
		 float: left;
	}
	 .house-col {
		 padding: 0;
	}
	 .senate-img-row {
		 clear: both;
	}
	 h3.sen-title {
		 font-size: 1.25rem;
		 padding-bottom: 1rem ;
	}
	@media (min-width: 769px) and (max-width: 1199px) {
	    
	    h3.sen-title {
	      	padding-bottom: 2.5rem;  
	    }

	}
	 h3.rep-title {
		 font-size: 1.25rem;
		 padding-bottom: 1rem ;
	}
	 .sen-title {
		 float: left;
	}
	 .rep-title {
		 float: left;
	}
	 h3.rep-title {
		 font-size: 1.25rem;
	}
	 .judicial-title h3 {
		 font-size: 1.25rem;
		 padding-bottom: .5rem;
	}
	 .mtgov-home-sectionpane{
		 float: left;
		 padding: 2rem 0;
		 z-index:100;
		 position:relative;
	}
	 .add-info-pane {
		 float: right;
		 padding: 5rem 0 0;
	}
	
	.add-info-pane ul {
        padding-left: 8px;
        line-height: 28px;
    }
	 .mtgov-home-sectionpane h3 {
		 font-size: 1.25rem;
		 padding-bottom: 1rem;
	}
	 .add-info-pane h4 {
		 padding-bottom: 0rem;
	}
	/*specific to mt.gov frontpage representative container*/
	 #contentcontainer > div:nth-child(4) > div > div.row.content-container > div.col.order-lg-first {
		 border-right: 1px solid #dddddd;
		 border-bottom: 0;
	}
	
	.voter-row-border {
        border-top: 1px solid #AAAAAA;
    }
}
.row-border {
        border-bottom: 1px solid #AAAAAA;
    }
/*********************************** HOME PAGE NEWS GALLERY ***********************************/

/*********************************** HOME PAGE CAROUSEL ***********************************/
 #carousel {
	 min-height: 90%;
}
 .carousel-inner {
	 padding-left: 10px;
	 width: fit-content;
}
.carousel-indicators {
    position:relative;
    margin: 0;
}
 #featuredServicesPane {
	 width: 100%;
}
 [id^="recipeCarousel"] > .carousel-inner .carousel-item-end.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-next {
	 transform: translateX(25%);
}
 [id^="recipeCarousel"] > .carousel-inner .carousel-item-start.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-prev {
	 transform: translateX(-25%);
}
 [id^="recipeCarousel"] {
	 justify-content: center;
	 display: flex;
	 width: 100%;
	 align-items: center;
}
 #bot-carousel-prev {
	 margin-top: 5rem;
	 width: 23px;
	 height: 23px;
	 cursor: pointer;
}
 #bot-carousel-next {
	 margin-top: -6rem;
	 width: 23px;
	 height: 23px;
	 cursor: pointer;
	 float:right;
}
.carousel-item div {
    transform: translateX(-60px);
}
.carousel-item.active div {
    transform: translateX(0px);
}
.carousel-item div, .carousel-item.active div {
    margin: 0 2px;
}
 .fp-gallery img {
	 padding: 5px 0px;
	 max-width: 85%;
}
 .senate-img, .house-img {
	 width: 49%;
	 float: left;
	 display: block;
	 padding: 5px;
	 z-index:100;
	 position:relative;
}
 .senate-img img , .house-img img {
	 max-height: 146px;
}
.modal-dialog {
    min-width: 600px;
}
.bg-toggle-text:is(:hover,:focus,:focus-within) {
    text-decoration: underline;
}

/* Fix to prevent `Representative` text from running into each other on smaller breakpoints */
@media (max-width: 992px) {
    .senate-img,
    .house-img {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .mtgov-home-sectionpane {
        clear: left;
    }
    
    .senate-img img,
    .house-img img {
        max-height: unset;
        max-width: unset;
        height: 300px;
        width: 256px;
    }
}

@media (max-width: 575px) {
    #template-header-logo {max-width:220px}
    .senate-img-row,
    .house-img-row {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .senate-img img,
    .house-img img {
        height: 300px;
        width: 256px;
    }
}

/* These next two media queries are to prevent smushing of the img */
@media (max-width: 500px) {
    .senate-img img,
    .house-img img {
        height: 225px;
        width: 192px;
    }
}

@media (max-width: 425px) {
    .senate-img img,
    .house-img img {
        height: 150px;
        width: 126px;
    }
}
/*********************************** HOME PAGE END***********************************/
/*********************************** SOCIAL MEDIA STRIP ***********************************/
 #mtgov-socialmedia-strip {
	 position: fixed;
	 top: 8.75rem;
	 left: .1875rem;
	 background: var(--brand-color2);
	 z-index: 3;
	 text-align: center;
	 color: #333333;
	 border-radius: .5rem;
	 box-shadow: 0 0 10px #333;
	 opacity: .9;
	 text-align: center;
}
 #mtgov-socialmedia-strip:is(:hover,:focus,:focus-within) {
	 opacity: 1;
}
/*********************************** SOCIAL MEDIA STRIP END ***********************************/


/*********************************** PHOTO GALLERY PAGE ***********************************/

/* MT.GOV Photo Gallery CSS */
#dnn_tabPane1 .tp-module-header, #dnn_tabPane2 .tp-module-header, #dnn_tabPane3 .tp-module-header {
    display: none;
}

#mtgov-photogallery-display, .mtgov-photoGallery-pagination-page ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, max-content));
    gap: 1.25rem;
    justify-content: center;
}

.control-label {
    padding-bottom: 5px;
}

.mtgov-photoGallery-paginationHolder, .mtgov-photoGallery-pagination-page {
    grid-column: -1 / 1;
}

#mtgov-photogallery-display button.page-link.mtgov-photoGallery-pagination-btn {
    color: var(--brand-color4);
    background-color: var(--brand-color2);
    border-color:var(--brand-color1);
}
#mtgov-photogallery-display button.page-link.mtgov-photoGallery-pagination-btn[disabled] {
    background-color: var(--brand-color3);
    border-color: var(--brand-color6);
}

.mtgov-photogallery-a {
    cursor: pointer;
    width:100%;
    max-width: fit-content;
    place-self: center;
}
.mtgov-photogallery-a:is(:hover,:focus,:focus-within) {
    outline: 4px solid var(--brand-color2)!important;
    opacity: .92;
}

#closeHolder {
    z-index: 90;
    display: block;
    float: right;
    color: #CCC;
    position: absolute;
    top: 8px;
    right: 8px;
}

#closeHolder a {
    color: #CCC;
    font-size: 1.125rem;
    cursor: pointer;
}

#closeHolder a:is(:hover,:focus,:focus-within) {
    color: #FFF;
}

#fullscreenHolder {
    z-index: 90;
    display: block;
    float: left;
    color: #CCC;
    position: absolute;
    top: 8px;
    left: 8px;
}

#fullscreenHolder a {
    color: #CCC;
    font-size: 1.125rem;
    cursor: pointer;
}

#fullscreenHolder a:is(:hover,:focus,:focus-within) {
    color: #FFF;
}

.closeCaptionHolder {
    display: block;
    color: #fff;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 9999;
}

.closeCaptionHolder a {
    color: #FFF;
    font-size: 1.125rem;
    cursor: pointer;
}

.galleryThumbHolder .closeCaptionHolder {
    display: none;
}

#controls {
    height: calc(50% + 25px);
    z-index: 10;
    color: #CCC;
    display: block;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
}

#controls .ss-controls {
    display: block;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 13;
}

#controls .ss-controls :is(.play,.pause) {
    display: block;
    margin: 10px auto;
    position: absolute;
    top:0;
    left: 3rem;
    z-index: 9999;
    opacity: .75;
}

#controls .nav-controls {
    width: 100%;
    display: block;
    overflow: hidden;
    height: 100%;
}

#controls .nav-controls .prev {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 0;
    left: 0;
    float: left;
    margin-left: 8px;
    display: block;
    overflow: hidden;
    text-indent: -9999px;
    background: url('/_images/photogallery/mtgov-vidoe-icons-left.png') 0 0 no-repeat;
    background-size: 100%;
}

#controls .nav-controls .next {
    width: 50px;
    height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
    float: right;
    margin-right: 8px;
    display: block;
    overflow: hidden;
    text-indent: -9999px;
    background: url('/_images/photogallery/mtgov-vidoe-icons-right.png') 0 0 no-repeat;
    background-size: 100%;
}

#controlsn span, #controls a {
    color: #CCC;
}

#controls a {
    color: #FFF;
    opacity: .4;
}

#controls a:is(:hover,:focus,:focus-within) {
    color: #FFF;
    opacity: 1!important;
}

#slideshow img {
    z-index: 1;
    width: auto;
    max-width: 100%;
    max-height: 63vh;
    display: block;
    margin: 0 auto;
}
#slideshow.noCaption img {
    max-height: 80vh;
}
#slideshow.fullscreen img {
    max-height: 87vh;
}
#slideshow.fullscreen.noCaption img {
    max-height: 100vh;
}

#openCaptionHolder {
    position: absolute;
    color: #FFF;
    padding: 3px;
    z-index: 50;
    top:0;
    right: 3rem;
}

#openCaptionHolder a {
    color: #CCC;
    font-size: 1.25rem;
    cursor: pointer;
}

#openCaptionHolder a:is(:hover,:focus,:focus-within) {
    color: #FFF;
    text-decoration: none;
}

#caption {
    z-index: 40;
    width: 100%;
    background: #000;
    opacity: .8;
    color: #CCC;
    font-weight: 400;
    padding: 1rem;
    position: relative;
}

#caption .caption {
    color: #CCC;
    font-weight: 400;
}

#caption .caption .captionHeading {
    color: #FFF;
    font-size: x-large;
}

#caption .caption .captionText {
    color: #FFF;
    font-weight: 400;
}

#caption .caption .captionAuthor {
    color: #FFF;
    font-weight: 400;
}

#caption .caption .captionLocation {
    color: #FFF;
    font-weight: 400;
}

#caption .caption .captionOwner {
    color: #FFF;
    font-weight: 400;
}

#caption .caption .captionDownload {
}

#caption .caption .captionDownload a {
    color: #FFF;
    font-weight: 400;
    text-decoration: underline;
}

#caption .caption .captionDownload a:is(:hover,:focus,:focus-within) {
    color: #FFF;
}

.thumbMaster .thumbs {
    display: grid;
    width: 100%;
    overflow: hidden;
    padding: 0;
    text-align: center !important;
    grid-template-columns: repeat(auto-fit, minmax(50px,1fr));
    margin:0;
}

.thumbMaster .thumbs li .thumb {
    display: block;
    overflow: hidden;
}

.thumbMaster .thumbs li .thumb:is(:hover,:focus,:focus-within) {
    border: 3px solid #FFF;
    mix-blend-mode: luminosity;
}

.thumbMaster .bottom.pagination {
    position:absolute;
    bottom: .75rem;
    right: 1rem;
}

.thumbMaster .bottom.pagination span, .thumbMaster .bottom.pagination a {
    float: left;
    display: inline-block;
    padding: .25rem .75rem;
    border: 1px solid #AAA;
    text-decoration: none;
    }

.thumbMaster .bottom.pagination span.current {
    color: #FFF !important;
    border: 1px solid #FFF;
    background: #666 !important;
    margin-left: -1px;
    margin-right: -1px;
    z-index: 1;
    }

.thumbMaster .bottom.pagination span.ellipsis {
    color: #999 !important;
    background: #333 !important;
    border:unset;
    padding: .25rem;
    font-size:small;
    font-weight: 900;
    font-family: ui-rounded;
    letter-spacing: 2px;
}

.thumbMaster .bottom.pagination a {
    color: #CCC !important;
    background: #333 !important;
}

.thumbMaster .bottom.pagination a:is(:hover,:focus,:focus-within) {
    color: #FFF !important;
    text-decoration: none;
    background: #AAA !important;
    border: 1px solid #FFF!important;
}




/*********************************** PHOTO GALLERY PAGE END ***********************************/

/*********************************** Tables - Simple DataTable Style ****************************/
 .datatable-hidden {
     display: none;
}
 .mobileTables th[style] {
     width: unset!important;
}
 .mobileTables th {
     min-width: 15ch;
}
 .mobileTables th button {
     width: 100%;
     height: 100%;
     text-align: left !important;
     border: none;
     background: none;
     position: relative;
     font-weight: 500;
     padding-right: 1.25rem;
     align-items: center;
}
 .mobileTables th button:is(:hover,:focus,:focus-within), .mobileTables [role="gridcell"]:focus, .mobileTables [role="gridcell"] *:focus, .mobileTables [role="grid"] [tabindex="0"]:focus {
     outline: inherit;
     outline-style: dotted;
     outline-width: 1px;
     outline-offset: 7px;
}
 .mobileTables th[data-sortable] button:before {
     opacity: 0.3;
     position: absolute;
     display: block;
     content: "\25B2" / "";
     width: auto !important;
     height: auto;
     border: none !important;
     right: 0;
     top: -.55rem;
     font-size: .75rem;
     align-content: center;
}
 .mobileTables th[data-sortable] button:after {
     opacity: 0.3;
     position: absolute;
     display: block;
     content: "\25BC" / "";
     width: auto !important;
     height: auto;
     border: none !important;
     right: 0;
     bottom: -1rem;
     font-size:.75rem;
     align-content: center;
}
 .mobileTables th[aria-sort="ascending"] button:before, .mobileTables th[aria-sort="descending"] button:after {
     opacity: 0.95 !important;
}
 .mobileTables th[aria-sort="ascending"] button:after, .mobileTables th[aria-sort="descending"] button:before {
     opacity: 0.45 !important;
}
 .mobileTables .table-responsive select {
     height: 2.5rem;
     border-radius: 9999px;
     padding: 0 2rem 0 1.5rem;
}
 .mobileTables .table-responsive select+label {
     font-weight: 500;
     font-size: .9rem;
}
 .mobileTables .table {
     width: 100%;
}
 th, td {
     min-width: 100%;
     min-width: -moz-available;
}
 .mobileTables table.dataTable > tbody > tr > th, .mobileTables table.dataTable > tbody > tr > td {
     padding: .75rem;
}
 .mobileTables table.dataTable > thead > tr > th, .mobileTables table.dataTable > thead > tr > td {
     padding: .75rem;
     border-bottom: 1px solid;
}
 .mobileTables table.dataTable > tbody > tr > th:focus-visible, .mobileTables table.dataTable > tbody > tr > td:focus-visible {
     outline: 2px solid #000;
}
 .mobileTables table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:before, .mobileTables table.dataTable thead > tr > th.dt-orderable-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-asc span.dt-column-order:after, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:before, table.dataTable thead > tr > th.dt-ordering-desc span.dt-column-order:after, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:before, table.dataTable thead > tr > td.dt-orderable-asc span.dt-column-order:after, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:before, table.dataTable thead > tr > td.dt-orderable-desc span.dt-column-order:after, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:before, table.dataTable thead > tr > td.dt-ordering-asc span.dt-column-order:after, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:before, table.dataTable thead > tr > td.dt-ordering-desc span.dt-column-order:after {
     left: 0;
     opacity: 0.25;
     line-height: .7rem;
     font-size: 0.8em;
}
 .mobileTables .card:is(:hover,:focus) {
     box-shadow:unset 
}
 .mobileTables .row:last-child {
     justify-content: start!important;
}
 .mobileTables .datatable-search input {
     min-width:300px 
}
 .mobileTables .page-link {
     font-size:1rem;
     font-weight:500;
     height:100%;
     display:flex!important;
     align-items:center;
}
 .mobileTables .page-link:is(.first,.previous,.next,.last) {
     font-size: 1.25rem;
}
 .mobileTables .table-bordered.no-collapse-table>:not(caption)>*:not(th,tr) {
     border-width: 0 !important;
}
 .mobileTables .table-bordered.no-collapse-table>:not(caption)>*>*:not(th,tr) {
     border-width: 0 var(--bs-border-width);
}
 .mobileTables .table.no-collapse-table>:not(caption)>*>*:not(th,tr) {
     background: unset;
     color: unset;
}
 .mobileTables :is(.datatable-top, .datatable-bottom) {
     padding: 8px 10px;
     align-items: center;
     display: flex;
     margin-bottom: .5rem;
}
 .mobileTables .datatable-dropdown {
     margin-right: auto;
}
/***** AGENCY Mobile Tables STYLE ***/
 .mobileTables th, .mobileTables th button, .mobileTables table.table.dataTable>:not(caption)>*>th {
     background:var(--brand-color1);
     color: #fff;
     align-content: center;
}
/*Pagination*/
 .mobileTables .page-item.active .page-link {
     background-color: var(--brand-color1);
     border-color: var(--brand-color1);
}
 .mobileTables .page-link {
     color: var(--brand-color1);
}
.mobileTables .active .page-link {
    color:var(--brand-color4);
}
/***** end AGENCY STYLE ***/
 @media all and (max-width: 991px) {
    /*****************Mobile Table***********/
     .mobileTables .responsiveTablesLarge colgroup {
         width:0;
    }
     .mobileTables .responsiveTables colgroup {
         width:0;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) {
         display: flex;
         overflow:hidden;
         width: 100%;
         position:relative;
         justify-content:center 
    }
     .mobileTables table>:not(:first-child) {
         border-top: unset;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) thead {
         display: flex;
         flex-shrink: 0;
         min-width: -webkit-min-content;
         min-width: -moz-min-content;
         min-width: min-content;
         float: left;
         overflow-x:scroll;
         overflow-y:hidden;
         scrollbar-color:var(--brand-color1 var(--background-gray));
         scrollbar-width: thin;
    }
     .mobileTables table.one-row-table thead {
         overflow-x:hidden;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) tbody {
         display: flex;
         position: relative;
         overflow-x: auto;
         overflow-y: hidden;
         scrollbar-color: var(--brand-color1, gray) transparent;
         scrollbar-width: thin;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) :is(thead, tbody) tr {
         display: flex;
         flex-direction: column;
         min-width: -webkit-min-content;
         min-width: -moz-min-content;
         min-width: min-content;
         flex-shrink: 0;
         max-width: 50vw;
         text-wrap: auto;
         flex:1 1 100%;
         border-width: 0;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) th {
         max-width:200px;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) td {
         max-width:50vw;
    }
     .mobileTables table.dataTable:is(.responsiveTablesLarge, .dataTable) :is(th,td) {
         text-align: left!important;
         border-width: 1px;
         white-space: normal;
    }
     .mobileTables table.dataTable:is(.responsiveTablesLarge, .dataTable) th[colspan]:not([colspan="1"]), .mobileTables table.dataTable:is(.responsiveTablesLarge, .dataTable) tfoot {
         display: none;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) thead th:last-child{
         border-bottom: none;
    }
     .mobileTables table.dataTable:is(.responsiveTablesLarge, .dataTable) > tbody > tr:last-of-type {
         z-index: 1;
         position: relative;
    }
     .mobileTables table.dataTable:is(.responsiveTablesLarge, .dataTable) > tbody > tr:last-child > * {
         border-bottom: inherit;
    }
     .mobileTables table:is(.responsiveTablesLarge, .dataTable) td, .mobileTables table:is(.responsiveTablesLarge, .dataTable) th {
         padding: .5rem;
         vertical-align: middle;
         box-sizing: border-box;
         font-size: .9rem;
         text-overflow: ellipsis;
         display:grid;
         overflow-y:auto;
         overflow-x:hidden;
         scrollbar-width: thin;
         flex:1 1 100%;
         min-width: 20vw;
         min-height: 60px;
         justify-content: start;
         align-items: anchor-center;
    }
     .mobileTables .table-bordered>:not(caption)>*>* {
         border-width:0 0 1px;
    }
     .mobileTables table:not(.desktopView).dataTable:is(.responsiveTablesLarge, .dataTable) > tbody > tr:last-of-type {
         z-index: 10;
         position: relative;
    }
}
/****** END Table - Simple DataTables Styles *********************/


/********************************** Secondary pages ************************************/

 .secondary-page{
	 #contentPane {
		 background-color: var(--brand-color4);
	}
	#Breadcrumb a {
        color: var(--brand-color4);
        text-transform: uppercase;
        text-decoration: underline;
    }
	#Breadcrumb a:is(:hover,:focus,:focus-within) {
	    color: #CCCCCC;
    }
	 .mtgov-contenthead {
        background-color: var(--brand-color1);
        color: var(--brand-color4);
        padding: 2rem 2rem 1.5rem;
	}
	 h1#PageTitle {
		 color: var(--brand-color4);
		 font-size: 1.5em;
		 font-weight: bold;
		 margin: 0.5em 0 0 0;
		 line-height: 1.1em;
	}
	 #pagefooter:before {
		 content: "";
		 display: block;
		 margin: 0 auto;
		 padding-top: 40px;
		 width: 95%;
		/* Change this to whatever width you want. */
		 border-top: 1px solid #897A67;
		/* This creates the border. Replace black with whatever color you want. */
	}
	.page-subheading {
	    font-size: 1rem;
        color: #955a36;
        text-transform: uppercase;
        font-weight: 600;
        letter-spacing: 1px;
	}
}
 .links{
	 color: var(--brand-color3) !important;
	 text-transform: uppercase;
}
 .links:is(:hover,:focus,:focus-within){
	 color: var(--brand-color6) !important;
}
 .links-title{
	 color: var(--brand-color3) !important;
	 text-transform: uppercase;
}
/********************************** BRIEF HISTORY PAGE ************************************/
 .bf-title{
	 color: #98633E;
	 font-size: 1rem;
	 line-height: 18px;
	 font-weight: 400;
}
/********************************** CONGRESSIONAL DELEGATION PAGE ************************************/
 .mcd-title{
	 color: #98633E;
	 text-transform: uppercase;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-weight: 400;
}
 .names{
	 color: var(--brand-color3);
	 text-transform: uppercase;
	 font-size: 1rem;
	 font-weight: 600;
}
 .names:is(:hover,:focus,:focus-within){
	 color: var(--brand-color6);
}
 .mcd-party-title{
	 color: #955a36;
	 text-transform: uppercase;
	 font-weight: 600;
	 letter-spacing: 1px;
	 font-size: 1rem;
	 font-family: Helvetica, sans-serif;
	 padding-bottom: 40px;
}
 .mt-cd-title{
	 color: #955a36;
	 text-transform: uppercase;
	 font-weight: 600;
	 letter-spacing: 1px;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-family: Helvetica, sans-serif;
	 margin: 16px 0px;
}
.mt-cd-title + img {
    max-height: 150px;
    object-fit: contain;
}
 .stripe{
	 border-top: 1px solid #dee2e6;
	 border-bottom: 1px solid #dee2e6;
	 background-color: #f9f9f9;
	 padding: 12px 0;
	 margin-bottom: 10px;
}
/********************************** BUSINESS INDEX PAGE ************************************/
 .business-col {
	 padding-left: 0 !important;
}
 .grants-and-loans{
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-weight: 600;
	 color: #955a36;
	 margin-top: 1rem;
	 padding-left: 1rem;
}
 .agency-title{
	 color: #955a36;
	 text-transform: uppercase;
	 font-weight: 600;
	 letter-spacing: 1px;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-family: Helvetica, sans-serif;
}
/********************************** USE OF GOOGLE ANALYTICS PAGE ************************************/
 .ga-use-links a {
	 color: var(--brand-color3) ;
}
 .ga-use-links a:is(:hover,:focus,:focus-within) {
	 color: var(--brand-color6);
}
 .ga-use-links{
	 list-style-type: disc;
}
 .points{
	 list-style-type: disc;
}
/********************************** SOCIAL MEDIA INDEX PAGE ************************************/
.smi-content-pane {
    padding: 0 1.5rem;
}

 h2.social-title {
     display: flex;
     align-items: end;
     gap: 8px;
	 text-transform: uppercase;
	 color: #000;
	 border-bottom: 1px solid #BE764A;
	 padding-bottom: 10px;
	 margin-top: 0;
	 letter-spacing: 1px;
	 font-weight: 700;
	 font-size: 1rem;
}
 h3.social-agency-title {
	 margin: 0;
	 font-weight: 700;
	 font-size: 1rem;
	 text-transform: none;
	 color: #000;
	 border-bottom: none;
	 letter-spacing: 0px;
	 padding: 5px;
}
 h3.social-agency-title-2 {
	 margin: 0;
}
 ul {
	 list-style-type: none;
}
/********************************** EMPLOYEE ACCESS PAGE ************************************/
 .employee-links{
	 line-height: 30px;
	 color: var(--brand-color3);
}
 .employee-links2{
	 line-height: 1.125rem;
	 color: var(--brand-color3);
}
 .employee-links:is(:hover,:focus,:focus-within){
	 color: var(--brand-color6);
}
 .employee-titles{
	 color: #955a36;
	 font-weight: 600;
}
 .emp-content {
	 justify-content: flex-start !important;
}
 .emp-images {
	 position: absolute !important;
	 top: 0px !important;
	 right: 0px !important;
	 padding-top: 15px !important;
	 padding-right: 15px !important;
}
 .card-bottom-space {
	 padding-bottom: 30px;
}
 .panel-body {
     padding: 10px;
	 border: 1px solid #dddddd;
}
.panel-body .stretched-link:is(:hover,:focus):after {
    box-shadow: 0px 0px 8px -5px;
}

/********************************** FIRE PAGE ************************************/
.fire-title{
    font-weight: 600;
    color: #955a36;
}

.fire-links{
    list-style-type: disc;
	color: #766a59;
	
}

.fire-links:is(:hover,:focus,:focus-within){
	color: #572700;
}

/********************************** SITEMAP PAGE ************************************/
.sitemap-links{
	color: #766a59;
	list-style-type: disc;
	line-height: 1.1rem;
}

.sitemap-links:is(:hover,:focus,:focus-within){
	color: #572700;
}

.sitemap-titles{
    color: #98633E;
    text-transform: uppercase;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
/********************************** ACCESSIBILITY DISCLAIMER PAGE ************************************/
 .ad-titles{
	 color: #955a36;
	 font-weight: 600;
	 font-size: 1rem;
	 line-height 1.125rem;
}
/********************************** MONTANA NEWSPAPER PAGE ************************************/
 .mt-np-title{
	 color: #955a36;
	 text-transform: uppercase;
	 font-weight: 600;
	 letter-spacing: 1px;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-family: Helvetica, sans-serif;
	 margin: 16px 0px;
}
/********************************** DISCOVER MONTANA ************************************/
 .dm-title{
	 color: #98633E;
	 text-transform: uppercase;
	 font-weight: 400;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-family: Helvetica, sans-serif;
}
 .dm-links ul li a{
	 list-style: none;
	 color: var(--brand-color3);
	 font-weight: 400;
	 font-size: 1rem;
	 line-height: 1.125rem;
	 font-family: Helvetica, sans-serif;
}
 .dm-links ul li a::before {
	 content: "\2022";
	 color: black;
	 font-weight: bold;
	 display: inline-block;
	 width: 1em;
}
 .dm-links:is(:hover,:focus,:focus-within){
	 color: var(--brand-color6);
	 text-decoration: underline;
}
/********************************** STATEMAP PAGE ************************************/
 .statemap-titles a{
	 font-family: Helvetica, sans-serif;
	 font-weight: 600;
	 font-size: 1rem;
	 line-height: 23px;
	 color: var(--brand-color3);
	 margin-bottom: 20px;
	 margin-top: 18px;
	 list-style-type: none;
	 text-decoration: none;
}
 .statemap-titles a:hover{
	 color: var(--brand-color6);
}
/********************************** DONATIONS PAGE ************************************/
 .donations p{
	 font-family: 'Helvetica Neue', sans-serif;
	 font-weight: 400;
	 line-height: 18px;
	 font-size: 1rem;
	 color: #333333;
}
/*********************************** MEDIA GALLERY PAGE ***********************************/
 .mtgov-gallery-body {
    .content-block {
        margin-top: 6rem;
    }

	 .nav-tabs>li>a {
		 position: relative;
		 display: block;
		 padding: 10px 15px 
	}
	 .nav-tabs>li.active>a,.nav-tabs>li.active>a:hover,.nav-tabs>li.active>a:focus {
		 color: #555;
		 background-color: var(--brand-color4);
		 border: 1px solid #ddd;
		 border-bottom-color: transparent;
		 cursor: default 
	}
	 .nav-tabs.nav-justified {
		 width: 100%;
		 border-bottom: 0 
	}
	 .nav-tabs.nav-justified>li {
		 float: none 
	}
	 .nav-tabs.nav-justified>li>a {
		 text-align: center;
		 margin-bottom: 5px 
	}
	 #contentPane{
		 background-color: var(--brand-color4);
	}
}
/*********************************** MEDIA GALLERY PAGE END ***********************************/
/*********************************** PHOTO GALLERY PAGE START ***********************************/

 #dnn_tabPane1 .tp-module-header, #dnn_tabPane2 .tp-module-header, #dnn_tabPane3 .tp-module-header {
	 display: none;
}
#mtgov-photogallery-controls {
    .form-group {
        max-width: 45%;
    }
}
 .control-label {
	 padding-bottom: 5px;
}

#buttonHolder {
    
    .btn-default{
		 color: var(--brand-color4);
		 background-color: var(--brand-color2);
		 border: solid 0.0625em #999999;
		 font-size: .9rem;
		 padding: 10px 17px;
		 letter-spacing: 1px;
		 border-radius: 5px;
	}
	.btn-default {
        background-color: var(--brand-color2);
        border-color: #557D80;
        color: #fff;
    }
	 .btn-default:hover, .btn-default:focus{
		 color: var(--brand-color4);
		 background-color: var(--brand-color3);
		 border-color: var(--brand-color6) 
	}
	
}
 

/*********************************** PHOTO GALLERY PAGE END ***********************************/

/*********************************** MAP GALLERY PAGE ***********************************/
 #mapGallery div {
	 margin-bottom: 0 !important;
}
 [id^="recipeCarousel"] > .carousel-inner .carousel-item.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-next, [id^="recipeCarousel"] > .carousel-inner .carousel-item-prev {
	 display: flex;
	 flex-flow: row wrap;
	 justify-content: center;
	 gap:.5rem;
}
 [id^="recipeCarousel"] > .carousel-inner .carousel-item-end, [id^="recipeCarousel"] > .carousel-inner .carousel-item-start {
	 transform: translateX(0);
}
/*********************************** VIDEO GALLERY PAGE ***********************************/
 .mtgov-home-videogalleryholder img {
	 width: 100%;
}
 .mtgov-home-videogalleryholder .mtgov-videoGallery-imgLink {
	 display: block;
	 margin-bottom: 15px;
}
 .mtgov-home-videogalleryholder .mtgov-videoGallery-textLink {
	 display: block;
	 margin-bottom: 15px;
}
 #mtgov-home-videogalleryholder center{
	 text-align: center;
	 position: absolute;
	 bottom: 0;
	 width: 100%;
}
 #mtgov-home-videogalleryholder center .mtgov-button{
	 text-align: center;
	 position: relative;
	 margin: 0 auto;
}
 .showControlBar #mtgov-home-videogalleryholder {
	 padding-bottom: 45px;
}
 .mobile #mtgov-home-videogalleryholder center {
	 bottom: 30px;
}
 .mobile #mtgov-home-videogalleryholder {
	 padding-bottom: 80px;
}
/*********************************** VIDEO GALLERY PAGE END ***********************************/
/*********************************** PHOTO GALLERY PAGE ***********************************/
#mtgov-photoGallery-GalleryDisplay {
    width: 100%;
    height: 100vh;
    position: fixed;
    background:#333;
    z-index: 9999;
    top:0;
}
 .mtgov-home-photogalleryimgholder a {
	 display: block;
	 padding: 0 15px 0 0;
	 margin: 0 0 15px 0;
}
 #mtgov-home-bginfo {
	 display: inline-block;
	 margin-bottom: 15px;
	 text-align: left;
}
 #mtgov-home-visitmt {
	 float: right;
	 margin-right:15px;
}
 #photoGalleryPane span#mtgov-home-bginfo {
	 cursor: pointer;
}
 #photoGalleryPane span#mtgov-home-bginfo:is(:hover,:focus,:focus-within) {
	 text-decoration: underline;
}
 #photoGalleryPane div.center-block{
	 text-align: center;
}

/*********************************** PHOTO GALLERY PAGE END ***********************************/
 .mediaTabs {
	 margin: 1em;
}
 .mediaTabs a {
	 cursor: pointer;
}

 #videoGallery {
	padding: 1rem;
	.panel-body {
	    border: none;
	    color: #766a59;
	}
}

 #videoGallery div {
	 min-height: 210px;
}
 #videoGallery img {
	 width: 100%;
	 margin-bottom: 5px;
}
 #videoGallery .mtgov-videoGallery-imgLink {
}
 #videoGallery .mtgov-videoGallery-textLink {
	 min-height: 3.5rem;
}
 .mtgov-videoGallery-modalbody {
	 height: 350px;
}
 #mapGallery {
	 padding: 1rem;
}
 #mapGallery div {
	 margin-bottom: 30px;
	 min-height: 315px;
}
 #mapGallery div .mtgov-mapgallery-item {
	 margin: 0;
	 padding: 15px;
	 border: 1px solid #AAAAAA;
	 border-radius: 6px;
	 min-height: 310px;
}
 #mapGallery img {
	 display: block;
	 width: 100%;
	 margin-bottom: 15px;
	 padding: 15px;
}
 #mapGallery a {
	 display: block;
	 width: 100%;
	 margin-bottom: 5px;
	 color: #766a59;
	 padding: 15px;
}
 #mapGallery a.title {
	 min-height: 4.5rem;
}
 #mapGallery a.details {
	 min-height: 1rem;
}
 #mapGallery a.mtgov-mapgallery-imgA {
	 min-height: 150px;
}
/*********************************** MEDIA GALLERY END ***********************************/
/*********************************** WEATHER ***********************************/
 #temperature {
	 font-size: 1.25rem;
}
 .ws-inner {
	 margin-top: 5em;
}
 .weather-loader {
	 font-size: 50px !important;
	 color: white !important;
}
 .mtgov-button-weatherInput {
	 border-radius: 4px;
	 border: none;
	 padding: 0.5rem 2rem;
}
/*********************************** WEATHER END ***********************************/
/*********************************** BG TOGGLE ***********************************/
#mtgov-togglecontentbackground {aspect-ratio:1 / 1}
.desktop #mtgov-togglecontentbackground {
    top: 8.75rem;
    right: 2rem;
}
.mobile #mtgov-togglecontentbackground {
    top: 19.5rem;
    left: .025rem;
    scale:.88;
}
.mobile #mtgov-socialmedia-strip {
    top:9.5rem;
}

 
/*********************************** BG TOGGLE END ***********************************/
/*********************************** SOCIAL MEDIA INDEX ***********************************/
 h2.social-title {
	 text-transform: uppercase;
	 color: #000;
	 border-bottom: 1px solid #BE764A;
	 padding-bottom: 10px;
	 margin-top: 0;
	 letter-spacing: 1px;
	 font-weight: 700;
	 font-size: 1rem;
}
 h3.social-agency-title {
	 margin: 0;
	 font-weight: 700;
	 font-size: 1rem;
	 text-transform: none;
	 color: #000;
	 border-bottom: none;
	 letter-spacing: 0px;
	 padding: 10px 10px 5px 10px;
}
 h3.social-agency-title-2 {
	 margin: 0;
}
 h3.social-agency-title-2 a{
	 font-weight: 700;
	 font-size: 1rem;
	 color: #6D6152 !important;
}
 h3.social-agency-title-2 a:is(:hover,:focus,:focus-within){
	 color: var(--brand-color6) !important;
}
 .first-column ul {
	 list-style-type: none;
}
 .second-column ul {
	 list-style-type: none;
}
/*********************************** SOCIAL MEDIA INDEX END ***********************************/
/********************************** HOMEPAGE FOOTER ************************************/
 .footer-titles{
	 color: #6a6a6a;
	 font-weight: 600;
	 font-size: 1rem;
	 letter-spacing: 1px;
	 padding-left: 30px;
}
 .footer-body{
	 color: var(--brand-color3);
	 margin: 0 30px;
	 font-size: .9rem;
	 line-height: 22px;
}
 .mtgov-home-pagefooterholder{
	 background-color: var(--brand-color4);
}
 .mtgov-displayUL {
	 padding-left: 5px !important;
}
 #email-panel {
	 display: inline;
}
 #service-panel, #hr-panel {
	 display: inline-block;
}
 .mtgov-displayUL li {
	 display: block;
	 list-style: none;
	 width: 100%;
	 padding: 5px;
	 margin: 0;
}
 .mtgov-ol-alpha {
	 list-style-type: lower-alpha;
}

/********************************** BUTTONS ************************************/
.btn-default {
        background-color: var(--brand-color2);
        border-color: #557D80;
        color: #fff;
    }
 .btn-default:is(:hover,:focus,:focus-within){
	 color: var(--brand-color4);
	 background-color: var(--brand-color3);
	 border-color: #var(--brand-color6); 
}
 .mtgov-button {
	 display: inline-block;
	 border: solid .0625em #999999;
	 background: var(--brand-color2);
	 padding: .85em 2em;
	 letter-spacing: 1px;
	 font-size: .9em;
	 text-decoration: none;
	 color: var(--brand-color4) !important;
	 text-transform: uppercase;
	 border-radius: 4px;
	 border: none;
	 font-family: Arial;
}
 .mtgov-button:is(:hover,:focus,:focus-within) {
	 background: var(--brand-color3);
	 border-color:var(--brand-color6);
	 text-decoration: none;
	 color: var(--brand-color4);
}

a.btn-default.mtgov-button{
    margin-bottom:auto;
}
/********************************** BUTTONS END ************************************/
/********************************** SEARCH START ************************************/

#searchForm .mtgov-search-input-holder { display: block; width: calc( 99.9% - 80px ); float: left; margin-right: 30px; }
#searchForm .mtgov-search-button-holder { display: block; width: 50px; float: left; }
@media screen and (min-width: 769px) {
    #searchForm .mtgov-search-input-holder { width: calc( 99.9% - 130px ); }
    #searchForm .mtgov-search-button-holder { width: 100px; }
}
@media screen and (max-width: 365px) {
    #searchForm .mtgov-search-input-holder { width: calc( 99.9% - 60px ); float: left; margin-right: 10px; }
}

/********************************** SEARCH END ************************************/

/********************************** PAGEFOOTER ************************************/
 #pagefooter a {
	 color: var(--brand-color2);
}
 #pagefooter a.footlinks {
	 text-decoration: underline;
}
 #pagefooter a.footlinks:is(:hover,:focus,:focus-within) {
	 text-decoration: none;
	 border-bottom:solid 1px;
}
 #pagefooter .mtgov-pagefooter-content{
}
 #pagefooter .mtgov-displayUL li {
	 padding: 3px 0;
}
 #pagefooter .mtgov-displayUL :is(h2,h3,h4,h5,h6) {
	 letter-spacing: 1px;
}
 .mtgov-footer-button {
	 display: inline-block;
	 border: solid .0625em #999999;
	 background: var(--brand-color2);
	 padding: .85em 2em .85em 2em;
	 letter-spacing: 1px;
	 text-decoration: none;
	 color: var(--brand-color4)!important;
	 text-transform: uppercase;
	 margin-top: 10px;
}
/********************************** PAGEFOOTER END ************************************/
/********************************** HOMEPAGE FOOTER END ************************************/
/********************************** FOOTER TWO ON SECONDARY PAGES ************************************/
 .secondary-page{
	 .secondFooter{
		 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
		 color: var(--brand-color3);
		 font-size: .9rem;
		 line-height: 1rem;
		 background-color: var(--brand-color4);
	}
	 .btn-gallery{
		 color: var(--brand-color4) !important;
		 background-color: #587a7c;
		 border: 1px 0.solid transparent;
		 font-size: 1rem !important;
		 padding: 6px 12px;
		 letter-spacing: 1px;
		 border-radius: 5px;
	}
	.btn-default {
        background-color: var(--brand-color2);
        border-color: #557D80;
        color: #fff;
    }
	 .btn-default:is(:hover,:focus,:focus-within){
		 color: var(--brand-color4);
		 background-color: var(--brand-color3);
		 border-color: var(--brand-color6); 
	}
}
/********************************** FOOTER TWO ON SECONDARY PAGES END ************************************/
/*********************************** SECONDARY PAGE BUTTONS **********************************/
 .btn-xl {
	 padding: 1rem 2rem;
	 font-size: 2.5rem;
}
 .btn-primary {
	 background-color: var(--brand-color3);
	 border-color: var(--brand-color6);
	 color: var(--brand-color5);
}
 .button-center{
	 margin: 0 auto;
	 display: block;
	 max-width: 250px;
}
 .blockColor3 .btn-primary, .blockColor4 .btn-primary {
	 background-color: var(--brand-color3);
	 border-color: var(--brand-color6);
	 color: var(--brand-color5);
}
 .btn-primary:hover, .btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle {
	 box-shadow: 2px 2px var(--brand-color4);
	 background-color: var(--brand-color1);
	 border-color: var(--brand-color6);
	 color: var(--brand-color4);
}
 .btn-primary.focus, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.btn-primary.dropdown-toggle:focus {
	 box-shadow: 0 0 0 0.2rem rgba(var(--brand-color1-rgb), .5);
}
 .btn-primary.disabled, .btn-primary:disabled {
	 color: var(--brand-color5);
	 background-color: rgba(var(--brand-color3-rgb), .35);
	 border-color: rgba(var(--brand-color6-rgb), .5);
}
/*Darker*/
 .blockColor3 .btn-primary, .blockColor4 .btn-primary {
	 background-color: var(--brand-color1);
	 border-color: var(--brand-color1);
	 color: var(--brand-color4);
}
 .blockColor3 .btn-primary:hover, .blockColor3 .btn-primary.focus, .btn-primary:focus, .blockColor3 .btn-primary:not(:disabled):not(.disabled).active, .blockColor3 .btn-primary:not(:disabled):not(.disabled):active, .show>.blockColor3 .btn-primary.dropdown-toggle, .blockColor4 .btn-primary:hover, .blockColor4 .btn-primary.focus, .btn-primary:focus, .blockColor4 .btn-primary:not(:disabled):not(.disabled).active, .blockColor4 .btn-primary:not(:disabled):not(.disabled):active, .show>.blockColor4 .btn-primary.dropdown-toggle {
	 box-shadow: 2px 2px var(--brand-color6);
	 background-color: var(--brand-color1);
	 border-color: var(--brand-color1);
	 color: var(--brand-color4);
}
 .blockColor3 .btn-primary.focus, .blockColor3 .btn-primary:focus, .blockColor3 .btn-primary:not(:disabled):not(.disabled).active:focus, .blockColor3 .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.blockColor3 .btn-primary.dropdown-toggle:focus, .blockColor4 .btn-primary.focus, .blockColor4 .btn-primary:focus, .blockColor4 .btn-primary:not(:disabled):not(.disabled).active:focus, .blockColor4 .btn-primary:not(:disabled):not(.disabled):active:focus, .show>.blockColor4 .btn-primary.dropdown-toggle:focus {
	 box-shadow: 0 0 0 0.2rem rgba(var(--brand-color1-rgb), .5);
}
 .blockColor3 .btn-primary.disabled, .blockColor3 .btn-primary:disabled, .blockColor4 .btn-primary.disabled, .blockColor4 .btn-primary:disabled {
	 color: var(--brand-color4);
	 background-color: rgba(var(--brand-color1-rgb), .35);
	 border-color: rgba(var(--brand-color1-rgb), .5);
}
/********************************** SECONDARY ************************************/
 .btn-secondary {
	 background-color: var(--brand-color2);
	 border-color: var(--brand-color2);
	 color: var(--brand-color4);
}
 .btn-secondary:hover, .btn-secondary.focus, .btn-secondary:focus, .btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle {
	 box-shadow: 2px 2px var(--brand-color6);
	 background-color: var(--brand-color2);
	 border-color: var(--brand-color2);
	 color: var(--brand-color4);
}
 .btn-secondary.focus, .btn-secondary:focus, .btn-secondary:not(:disabled):not(.disabled).active:focus, .btn-secondary:not(:disabled):not(.disabled):active:focus, .show>.btn-secondary.dropdown-toggle:focus {
	 box-shadow: 0 0 0 0.2rem rgba(var(--brand-color2-rgb), .5);
}
 .btn-secondary.disabled, .btn-secondary:disabled {
	 color: var(--brand-color4);
	 background-color: rgba(var(--brand-color2-rgb), .35);
	 border-color: rgba(var(--brand-color2-rgb), .5);
}
/*********************************** SECONDARY PAGE BUTTONS END **********************************/
/*********************************** WIDGETS **********************************/
 .content-block:not(:last-child) {
	 margin-bottom: 30px;
}
/*********************************** WIDGETS END **********************************/
/*********************************** ACCORDIONS/TABS **************************/

/*Accordions*/
.accordion-button:not(.collapsed) {
    color: var(--brand-color4);
    background-color: var(--brand-color2);
    box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--bs-accordion-border-color);
}
.accordion-button:not(.collapsed)::after {filter: invert(1) brightness(2);}

/*FAQ*/

/*Tabs*/
.nav-tabs .nav-link {
    color: var(--brand-color2);
    border-color: var(--bs-secondary-bg-subtle);
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    background-color: var(--brand-color2);
    color: #fff;
    border-color: var(--brand-color2);
}

.nav-tabs .nav-link:focus, .nav-tabs .nav-link:hover {
    border-color: var(--brand-color2);
}
/*********************************** ACCORDIONS/TABS END **************************/
/*********************************** BANNER ***********************************/
 .banner {
	 background-position: center;
	 background-repeat: no-repeat;
	 background-size: cover;
	 margin-top: -300px;
	 padding-bottom: 0;
	 min-height: 65vh;
}
 img#banner {
	 margin-top: -220px;
	 z-index: 1;
}
 h1.lg_banner_text,.lg_banner_font {
	 margin: 30% auto 0;
	 line-height: 1;
	 text-align: center;
	 filter: drop-shadow(2px 4px 6px black);
}
 h1.large_banner_text, .large_banner_text {
	 margin: 30% auto 0;
	 line-height: 1;
	 text-align: center;
	 filter: drop-shadow(2px 4px 6px black);
}
 h1.small_banner_text,.sm_banner_font {
	 margin-top: 25%;
	 line-height: 1;
	 text-align: center;
	 margin-bottom: -15%;
	 filter: drop-shadow(2px 4px 6px black);
	 text-align:center;
}
 h1.small_banner_text {
	 margin-top: 25%;
	 line-height: 1;
	 margin-bottom: -15%;
	 filter: drop-shadow(2px 4px 6px black);
	 text-align:center;
}
 .banner_subtitle {
	 text-align: center;
	 font-size: 2.125rem;
	 margin-bottom: 1%;
	 line-height: 1.5;
	 filter: drop-shadow(2px 4px 6px black);
}
 .banner-text-wrapper.row {
	 margin-bottom: 15%;
}
 .banner-text-content.container {
	 max-width: 95%;
	 overflow: visible;
}
 .banner-text-wrapper.row {
	 max-width: 100%;
}
/*********************************** BANNER END ***********************************/
/*********************************** CARDS ************************************/
 .card {
	 border: 0;
	 border-radius: 0;
}
 .card-title {
	 font-size: 1.2rem;
	 font-weight: bold;
}
 .card.block_card{
	 background-color: transparent;
}
 .card-text.block_card {
	 font-size: .9rem;
	 padding: 10px;
}
 .card-body:empty {
	 display: none;
}
 .card img.rounded-circle {
	 max-width: 150px;
}
 .card.block_card img {
	 max-height: 425px;
}
 .card-body i {
	 margin: 0 auto;
	 text-align: center;
	 display: block;
}
 .card-title {
	 font-size: 1.4rem;
	 font-weight: bold;
	 color: var(--brand-color1);
}
 .card_title_tile {
	 text-align: center;
	 color: var(--brand-color4);
}
 .tile_layout {
	 margin: .5rem auto;
}
/*********************************** CARD -blocks image full width ************************************/
 .block_fwimg {
	 display: block;
	 align-items: center;
	 margin: 0 auto;
	 padding: 0 10% 0 8%;
	 color: var(--brand-color1);
}
 .fw_card-bodyhide {
	 overflow: hidden;
	 height: 100%;
}
 .fw_card-bodyhide img {
	 padding: 0;
	 margin: 0;
	 background-size: cover;
	 width: 100%;
}
 .fs_lg_card {
	 font-size: 3rem;
}
 hr.yellow {
	 border: 3px solid #C29C27;
	 opacity: 1;
	 background-color: #C29C27;
	 max-width: 150px;
	 content: "&nbsp;
	 ";
}
 hr.short-gray {
	 max-width: 200px;
	 margin: 0 auto;
}
/*********************************** CARD -blocks image full width END ************************************/
/*********************************** CARDS END ************************************/
/*********************************** CAROUSEL *********************************/
 .carousel-caption {
	 position: absolute;
	 right: 0;
	 bottom: 30%;
	 left: 0;
	 padding-top: 0;
	 padding-bottom: 0;
	 color: var(--brand-color4);
	 text-align: center;
}
 .carousel_banner_heading, .carousel_banner_heading a {
	 font-size: 5.5rem;
	 line-height: 1;
	 color: var(--brand-color4);
	 filter: drop-shadow(2px 4px 6px black);
	 font-weight: 600;
}
 h1.carousel_banner_heading, h1.carousel_banner_heading a {
	 font-size: 5.5rem;
	 line-height: 1;
	 color: var(--brand-color4);
	 filter: drop-shadow(2px 4px 6px black);
	 font-weight: 600;
}
 #carousel > div.carousel-inner > div p {
	 font-size: 1.25rem;
	 filter: drop-shadow(2px 4px 6px black);
	 max-width: 65%;
	 margin: 0 auto;
	 line-height: 1;
}
 .carousel-banner {
	 height: 100vh;
}
[id^="recipeCarousel"] > .carousel-inner .carousel-item {
	 background: transparent;
	 transition: width .1s ease-out;
}
 .carousel-item.active {
	 display: flex;
}
 .carousel-item.active>div>p {
	 line-height: 5rem;
}
 .carousel-indicators [data-bs-target] {
	border-radius: 50% !important;
    width: 12px;
    height: 12px;
}
 .carousel-caption a:not(.btn) {
	 color: white !important;
}
 .carousel-caption a:not(.btn):is(:hover,:focus,:focus-within) {
	 text-decoration: none !important;
}
 button.carousel-pause-start-button {
     position: absolute;
     top: -37px;
     left:calc(50% - (35.5px) / 2);
 }
 button.carousel-pause-start-button.indicator {
    top: unset;
}
 button.carousel-control-prev {
	 left:-.75rem;
	 width:8%;
	 z-index: 9;
	 background:var(--brand-color1);
}
 button.carousel-control-next {
	 right:-.75rem;
	 width:8%;
	 z-index: 9;
	 background: var(--brand-color1);
}
/*********************************** CAROUSEL Icon Block *********************************/
 .card-img-overlay {
	 top: 70px;
	 border-radius: 0;
	 text-align: center;
	 margin: 0 auto;
	 display: block;
	 max-width: 224px;
}
 .carousel-button {
	 margin: -80px auto 70px !important;
	 z-index: 999;
	 display: block;
	 position: relative;
	 max-width: 1250px;
}
 #tile-carousel {
	 max-width: 1230px;
	 margin: 0 auto;
}
 #tile-carousel>div>div.carousel-item.active .card {
	 background-color: transparent;
	 min-height: 180px;
}
 #tile-carousel img {
	 max-width: 50px;
	 margin: 15px auto 0;
	 max-height: 50px;
}
[id^="recipeCarousel"] > .carousel-inner .carousel-item-next, [id^="recipeCarousel"] > .carousel-inner .carousel-item-prev {
	 display: flex;
}
[id^="recipeCarousel"] > .carousel-inner .carousel-item-end, [id^="recipeCarousel"] > .carousel-inner .carousel-item-start {
	 transform: translateX(0);
}
[id^="recipeCarousel"] > .carousel-inner .carousel-item-end.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-next {
	 transform: translateX(25%);
}
[id^="recipeCarousel"] > .carousel-inner .carousel-item-start.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-prev {
	 transform: translateX(-25%);
}
 button.btn.btn-sm.btn-primary.pull-left, button.btn.btn-sm.btn-primary.pull-right {
	 background-color: transparent;
	 color: white;
	 font-size: 1rem;
	 border: 0;
}
/*********************************** CAROUSEL ICON BLOCK END *********************************/
/*********************************** CAROUSEL END*********************************/
/*********************************** TILES ************************************/
 .tile {
	 position: relative;
	 float: left;
	 width: 100%;
	 height: 100%;
	 overflow: hidden;
	 border: 0;
	 cursor: default;
	 min-height: 125px;
	 margin-top: 10px;
}
 .tile.shadow-sm:is(:hover,:focus,:focus-within) {
	 text-decoration: underline;
	 background-color: var(--brand-color6);
}
 .tile img {
	 display: block;
	 position: relative;
	 width: 100%;
	 height: 100%;
}
 .tile .overlay {
	 position: absolute;
	 top: 0;
	 left: 0;
	 width: 100%;
	 height: 100%;
	 padding: 70px 15px 15px 15px;
	 overflow: hidden;
}
 .tile h2 {
	 position: relative;
	 margin-bottom: 0;
	 padding: 0;
	 overflow: hidden;
	 font-size: 1.125rem;
	 text-transform: uppercase;
	 font-weight: 400;
	 text-align: center;
	 color: var(--brand-color4);
}
 .tile p {
	 padding: 0 0 5px 0;
	 background-color: rgba(var(--brand-color1-rgb), 0.75);
	 color: var(--brand-color4);
}
 .white_box {
	 background-color: white;
	 color: black;
	 max-width: 45%;
	 padding: 60px;
}
/*********************************** TILES END************************************/
/*********************************** BACKGROUND IMAGE ****************************/
 .bkgimg-caption.text-center {
	 position: relative;
	 padding: 30px;
	 display: block;
	 clear: both;
	 margin: -24% auto 5%;
	 color: var(--brand-color4);
	 filter: drop-shadow(2px 4px 6px black);
}
 .bkgimg-caption.text-start {
	 position: relative;
	 padding: 30px;
	 display: block;
	 clear: both;
	 margin: -24% 15px 4%;
	 color: var(--brand-color4);
	 filter: drop-shadow(2px 4px 6px black);
}
 .bkgimg-caption.text-end {
	 position: relative;
	 padding: 30px;
	 display: block;
	 clear: both;
	 margin: -24% 15px 0;
	 color: var(--brand-color4);
	 float: right;
	 filter: drop-shadow(2px 4px 6px black);
}
 .bkgimg_heading {
	 font-size: 4rem;
	 line-height: 5rem;
	 font-weight: bold;
}
 .bkgimg_heading a {
	 color: var(--brand-color4)!important;
}
 .bkgimg_text {
	 font-size: 2rem;
}
 .extra-padding-5{
	 padding: 5% 0;
}
 .extra-padding-10{
	 padding: 10% 0;
}
 img.bkimg_slide {
	 background-position: center;
	 background-size: cover;
	 margin: 0 auto 0;
	 display: block;
	 width: 100%;
}
/*********************************** BACKGROUND IMAGE END ****************************/
/*********************************** NEWS *************************************/
 .loader {
	 color: rgba(var(--brand-color2-rgb), 1);
}
 .article-title {
	 font-size: 3rem;
	 font-weight: 600;
	 margin: 15px 0;
	 color: var(--brand-color1);
	 line-height: 1;
}
 .article_img {
	 font-size: 0;
}
 .news-subtitle {
	 font-size: 1.25rem;
	 font-weight: 500;
	 color: var(--brand-color1);
}
 img.news-image {
	 max-width: 350px;
	 float: left;
	 padding: 15px;
	 color: var(--brand-color1);
	 margin: 0 20px 20px;
}

 .news.container.row {
	 margin: 0 auto;
}
/*********************************** NEWS CARDS ************************************/
 .news-gallery .article {
	 max-width: 22%;
	 clear: right;
	 margin: 15px;
	 float:left;
}
 .news-gallery .article img.thumb {
	 float: right;
	 max-height: 250px;
}
 #news .category {
	 margin: 0;
	 font-weight: 700;
	 font-size: .75rem;
	 text-transform: uppercase;
}
 .news-gallery .article:last-child {
	 border-bottom: 0 !important;
}
 .news-gallery .thumb {
	 object-fit: cover;
}
 .news-summary {
	 width: 500px;
	 white-space: nowrap;
	 overflow: hidden;
	 text-overflow: ellipsis;
}
 .news-gallery .news-button {
	 margin: 2rem auto;
	 display: block;
}
/*********************************** NEWS CARDS END ************************************/
/*********************************** NEWS GALLERY LIST ***********************************/
 .news-gallery-list .article_img {
	 float: right;
	 max-width: 300px;
}
 .news-gallery-list .article {
	 min-width: 100%;
	 border-bottom: 1px solid var(--brand-color1);
	 padding-bottom: 1rem !important;
	 float:none;
}
 .news-gallery-list .summary {
	 width: 65%;
}
/*********************************** NEWS GALLERY LIST END ***********************************/
/*********************************** NEWS END *************************************/
/*********************************** YOUTUBE VIDEO ***********************************/
 .youtube_video iframe {
	 height: 100%;
	 min-height: 500px;
	 margin: 3rem;
}
 .arc iframe {
	 height: 100%;
	 min-height: 500px;
}
/*********************************** END YOUTUBE VIDEO ***********************************/
/*********************************** FOOTER ***********************************/
 footer {
	 color: var(--brand-color1);
	 width: 100%;
	 background-color:var(--brand-color4);
	 font-size: .9rem;
}
 footer.text-lg-start.row>div>div.footer-col {
	 float: left;
	 text-align: left;
	 margin: 0 15px;
	 display: block;
	 max-width: 30%;
	 overflow: hidden;
}
 .footer-content {
	 padding: 1rem 1rem 0;
	 margin: 0 10%;
	 display: block;
	 position: static;
}
 footer a:not(.btn) {
	 color: var(--brand-color5);
}
 footer img {
	 display: block;
	 margin: 0 auto;
}
 footer .social-links i {
	 font-size: 1.5rem;
}
 footer .social-links img {
	 display: block;
	 width: 24px;
}
 .footer-title {
	 font-size: 1.75rem;
}
 .footer-content {
	 padding: 2rem 2rem 0 2rem;
}
 ul.social-links.nav {
	 margin: 0 auto;
	 display: flex;
	 float: none;
	 padding: 0 12rem 0 12rem;
}
/************************************ EMAIL SIGNUP *******************************/
 .mail-sign-up {
	 background-color: var(--brand-color1);
	 color: var(--brand-color4);
	 padding: 5px 5rem;
}
 .email_signup_title {
	 font-size: 2.75rem;
	 line-height: 3rem;
	 font-weight: 600;
}
 .email_signup_text {
	 font-size: .9rem;
	 margin-bottom: 2rem;
}
 .mail-sign-inner.container form#GD-snippet-form {
	 display: block;
	 margin: 0 auto;
	 max-width: 75%;
}
 input.sr-button.reverse {
	 margin: 2px 0 0 10px !important;
}
/************************************ EMAIL SIGNUP END *******************************/
/*********************************** FOOTER END ***********************************/
/*********************************** CHAT *************************************/
 #chat-button, #chat-greet, #sn_va_web_client {
	 position: fixed;
	 right: 10px;
	 bottom: 20px;
	 z-index: 9999;
	 background: var(--brand-color2);
	 border: thin solid var(--brand-color1);
	 color: white;
}
 #sn_va_web_client {
	 margin-bottom: 80px;
}
 #chat-greet {
	 margin: 0 85px 17px 0;
	 padding: .375rem .75rem;
	 border-radius: .25rem;
}
 .btn-circle {
	 width: 70px;
	 height: 70px;
	 padding: 10px 16px;
	 border-radius: 35px;
	 transition: all .5s;
	 text-align: center;
	 font-size: 2rem;
	 line-height: 1.33;
}
 #chat-button[aria-expanded="true"] {
	 border-top-left-radius: 0;
}
 #chat-button[aria-expanded="true"]:before {
	 content: "\f00d";
	 font-family: 'Font Awesome 5 Free';
	 font-weight: 900;
}
 #chat-button[aria-expanded="true"] i {
	 display: none;
}
/*********************************** CHAT END *************************************/
/*********************************** ANIMATION ********************************/
 @-webkit-keyframes beat {
	 0% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 5% {
		 -webkit-transform: scale(1.05);
		 transform: scale(1.05);
	}
	 10% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 25% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 30% {
		 -webkit-transform: scale(1.05);
		 transform: scale(1.05);
	}
	 40% {
		 -webkit-transform: scale(1);
		 transform: scale(1) 
	}
	 50% {
		 -webkit-transform: rotate(360deg);
		 transform: rotate(360deg);
	}
}
 @keyframes beat {
	 0% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 5% {
		 -webkit-transform: scale(1.05);
		 transform: scale(1.05);
	}
	 10% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 25% {
		 -webkit-transform: scale(1);
		 transform: scale(1);
	}
	 30% {
		 -webkit-transform: scale(1.05);
		 transform: scale(1.05);
	}
	 40% {
		 -webkit-transform: scale(1);
		 transform: scale(1) 
	}
	 50% {
		 -webkit-transform: rotate(360deg);
		 transform: rotate(360deg);
	}
}
/*********************************** ANIMATION END ********************************/

/*********************************** RESPONSIVE *******************************/
/*********************************** MAX WIDTH *******************************/
 @media (max-width: 1400px) {
	 .fw_card-bodyhide {
		 overflow: hidden;
		 height: 100%;
		 max-height: 500px;
	}
}
 @media (max-width: 1200px) {
	 #mapGallery a.mtgov-mapgallery-imgA {
		 min-height: 115px;
	}
	 #mapGallery div {
		 min-height: 260px;
	}
	 #mapGallery div .mtgov-mapgallery-item {
		 min-height: 260px;
	}
}
 @media (max-width: 992px) {

	/*******************Tile block***************/
	 .tile {
		 position: relative;
		 float: none;
		 width: 100%;
		 height: 100%;
		 overflow: hidden;
		 border: 0;
		 cursor: default;
		 min-width: 285px;
		 margin-top: 10px;
		 min-height: 96px;
	}
	/*******************footer***************/
	 footer.text-lg-start.row>div>div.footer-col {
		 float: none;
		 text-align: center;
	}
	 main .news-gallery .article {
		 max-width: 43%;
	}
	 .bkgimg_text {
		 font-size: 1.2rem;
	}
	footer [class^="col-"] {
		 margin-bottom: 1rem;
	}
	/*******************Tabs***************/
	 .nav-tabs {
        display: flex;
        flex-flow: column;
    }
    .nav-tabs button {
        width: 100%;
    }
    .nav-tabs .nav-link {
        border-radius: 0;
    }

	/*******************newsl***************/
	 main .news-gallery .article {
		 max-width: 100%;
	}
	 .news-gallery .article img.thumb {
		 float: none;
		 max-height: 250px;
		 margin: 0 auto;
		 display: block;
	}
	/*******************carousel***************/
	 .carousel_banner_heading, .carousel_banner_heading a {
		 font-size: 3rem;
		 line-height: 1rem;
	}
	 .carousel-button {
		 margin: -81px auto 50px auto !important;
		 max-width: 60%;
	}
	 .carousel-caption {
		 position: initial;
		 padding: 30px 15px;
	}
	 .carousel-caption h5, .carousel-caption p {
		 text-shadow: none;
	}
	 .carousel-caption a:not(.btn) {
		 color: initial !important;
	}
	 .carousel-indicators {
		 display: none;
	}
	/*homepage gallery*/
	 .fp-gallery img {
		 padding: 5px;
		 max-width: 90%;
	}
	/*homepage first nations popup modal*/
	 
	 .reverse {
		 flex-direction: column-reverse;
	}
	
	/********panes START******/
	.col-bottom-border {
            border-bottom: 1px solid #AAAAAA;
        }
	/********panes END******/
	
	/*******************background images***************/
	 .bkgimg-caption.text-start {
		 margin: -35% 15px 10%;
	}
	 .bkgimg-caption.text-center {
		 margin: -35% auto 10%;
	}
	 .bkgimg-caption.text-end {
		 margin: -35% 15px 10%;
	}
	 .bkgimg-caption.text-center {
		 margin: -35% auto 10%;
	}
	 .block_fwimg {
		 padding: 0 10% 25px 8%;
	}
	 .bkgimg_text {
		 font-size: 1.5rem;
	}
	 .bkgimg_heading {
		 font-size: 3rem;
		 line-height: 3rem;
		 font-weight: bold;
	}
	 img.bkimg_slide {
		 min-height: 30vh;
	}
	/*******************news***************/
	 .card.block_fw {
		 max-height: 100%;
		 filter: none;
	}
	 .fw_card-bodyhide {
		 overflow: hidden;
		 height: 100%;
		 max-height: 100%;
	}
	 .article {
		 max-width: 100%;
		 clear: none;
		 margin: 0;
	}
	 .news-gallery .article {
		 max-width: 45%;
		 clear: right;
		 margin: 15px;
		 float: left;
	}
	 .news .thumb {
		 filter: none;
		 width: auto;
		 height: auto;
	}
	/*******************carousel***************/
	 .carousel_banner_heading, .carousel_banner_heading a {
		 font-size: 5rem;
		 line-height: 1rem;
	}
	/*******************header***************/
	 img#header-logo {
		 margin-top: 15px;
	}
	 .header_wrapper {
		 background-color: rgba(255, 255, 255, 0.7);
		 z-index: 2;
		 max-height: 220px;
		 display: block;
	}
	/*******************HOME PAGE BOTTOM CAROUSEL ***************/
	 .mtgov-home-pagecontent {
		 .carousel-inner {
			 width: auto !important;
			 max-width: 450px;
		}
		 #bot-carousel-next {
			 margin-top: -6rem;
			 width: 23px;
			 height: 23px;
			 cursor: pointer;
		}
		 #bot-carousel-prev {
			 margin-top: 3rem;
			 width: 23px;
			 height: 23px;
			 cursor: pointer;
		}
	}
/*******************media gallery 992 ***************/
	.mtgov-gallery-body {
     
    .content-block {
        margin-top: 10rem;
    }
    }
	
}
 @media (max-width: 860px) {
	 .article{
		 max-width: 100%;
		 float: none;
	}
	 .news-gallery .article {
		 max-width: 95%;
		 clear: right;
		 margin: 15px auto;
		 float: none;
	}
	/*******************background images***************/
	 .bkgimg-caption.text-center {
		 padding: 0;
		 margin: -48% 15px 7%;
		 ;
	}
	 .bkgimg-caption.text-end {
		 margin: -48% 15px 7%;
		 padding: 0;
	}
	 .bkgimg-caption.text-start {
		 margin: -48% 15px 7%;
		 padding: 0;
	}
	 .bkgimg_heading {
		 font-size: 2.5rem;
		 line-height: 2rem;
	}
	 .block_fwimg {
		 padding: 20px 35px;
	}
	/*******************footer***************/
	 .footer-content {
		 padding: 15px 0;
		 margin: 0 5%;
		 display: block;
		 position: static;
	}
	 footer.text-lg-start.row>div>div.footer-col {
		 max-width: 100%;
	}
	 .block_fwimg {
		 padding: 15px;
	}
}
 @media all and (max-width: 767px) {
 	/*******************mobile nav***************/
 	#pagemenu.sticky-top {
 	    position:absolute;
 	    top:.34rem;
 	    right:.5rem;
 	    border-top: 0!important;
 	}
     
	 #tile-carousel {
		 max-width: 300px;
		 margin: 0 auto;
	}
	 #mapGallery div {
		 min-height: 340px;
	}
	 #mapGallery div .mtgov-mapgallery-item {
		 min-height: 330px;
	}
	 #mapGallery a.mtgov-mapgallery-imgA {
		 min-height: 190px;
	}
	 #mapGallery img {
		 min-height: 0px;
	}
	
	/*****************HOME PAGE MOBILE **********/
	 .mtgov-button {
		 margin-bottom: 2rem;
	}
	
		 .mtgov-home-sectionheader {
				 margin-top: 0;
			}
	
	a.btn-default.mtgov-button{
		 margin-bottom: 2rem;
	}
	 .mtgov-home-pagecontent {
		/*specific to mt.gov frontpage removing block*/
		 #contentcontainer > div:nth-child(2) > div > div > div:nth-child(1) {
			 display: none;
			 
		}
		/*specific to mt.gov frontpage representative container*/
		 #contentcontainer > div:nth-child(4) > div > div.row.content-container > div.col.order-lg-first {
			 border-right: 0;
			 border-bottom: 1px solid #dddddd;
		}
		 .col-border {
			 border-bottom: 1px solid #AAAAAA;
			 border-left:0 ;
			 padding:1rem;
		}
		 .rep-title {
			 height: 100%;
			 max-height: 2rem;
			 width: 100%;
			 clear: both;
		}
		 .secondFooter{
			 padding-left: 30px !important;
		}
		 .center {
			 display: block;
			 margin-left: auto;
			 margin-right: auto;
		}
		 .fa.fa-picture-o {
			 font-family: "Font Awesome 5 Free";
			 font-weight: 400;
			 padding: 2px;
		}
		 .seante-col {
			 padding: 0;
			 float: none;
		}
		 .house-col {
			 padding: 0;
			 float: none;
		}
		 .mtgov-home-pagecontent .mtgov-home-sectionpane {
			 float: none;
		}
		 .add-info-pane {
			 float: none;
		}
	}
	 @media screen and (max-width: 670px) {
		 #mapGallery a.mtgov-mapgallery-imgA {
			 min-height: 180px;
		}
	}
	 @media screen and (max-width: 650px) {
		 #mapGallery a.mtgov-mapgallery-imgA {
			 min-height: 140px;
		}
		 #mapGallery div {
			 min-height: 300px;
		}
		 #mapGallery div .mtgov-mapgallery-item {
			 min-height: 290px;
		}
	}
	 @media screen and (max-width: 576px) {
		 #mapGallery a.mtgov-mapgallery-imgA {
			 min-height: 120px;
		}
		 #mapGallery div {
			 min-height: 280px;
		}
		 #mapGallery div .mtgov-mapgallery-item {
			 min-height: 270px;
		}
		 [id^="recipeCarousel"] > .carousel-inner .carousel-item > div {
			 display: none;
		}
		 [id^="recipeCarousel"] > .carousel-inner .carousel-item > div:first-child {
			 display: block;
		}
		 [id^="recipeCarousel"] {
			 justify-content: center;
			 display: flex;
		}
		 .mtgov-pagefooter-content {
			 margin-bottom: 30px !important;
		}
		 
		/*******************Banner***************/
		 .lg_banner_font {
			 font-size: 2rem;
		}
		 .banner_subtitle {
			 font-size: 1.25rem;
		}
		 .arrow-container {
			 display: none;
			 width: 0;
			 height: 0;
		}
		 .banner {
			 margin-top: -300px;
			 min-height: 100%;
		}
		 h1.large_banner_text, .large_banner_text {
			 margin: 65% auto 0;
		}
		 .sm_banner_font {
			 font-size: 3rem;
		}
		 h1.small_banner_text,.sm_banner_font {
			 margin-top: 65%;
		}
		 h1.small_banner_text {
			 margin-top: 65%;
		}
		/*******************mega menu***************/
		/*******************background image***************/
		 img.bkimg_slide.img-fluid {
			 min-height: 25vh;
		}
		 .bkgimg-caption.text-center {
			 padding: 15px;
			 margin: -40% auto 10%;
		}
		 .bkgimg-caption.text-start {
			 padding: 15px;
			 margin: -40% auto 10%;
		}
		 .bkgimg-caption.text-end {
			 padding: 15px;
			 margin: -40% auto 10%;
		}
		 .bkgimg_heading {
			 font-size: 2rem;
			 line-height: 2rem;
		}
		 .col-xs-12.col-lg-6.pull-right.mt-5.grn-sign-form {
			 float: none !important;
			 text-align: center;
			 margin: 0 -16%;
			 display: block;
		}
		 .email_signup_title {
			 font-size: 2rem;
			 line-height: 3rem;
			 font-weight: 600;
		}
		 .email_signup_text {
			 font-size: .9rem;
			 margin-bottom: 0;
		}
		 img#header-logo {
			 max-width: 80%;
		}
		 main .news-gallery .article {
			 max-width: 100%;
			 display: block;
			 margin: 0 auto;
			 float: none;
		}
	}
	 @media screen and (max-width: 490px) {
		 #mapGallery .col-xs-6.col-sm-4.col-md-3 {
			 width: 100% 
		}
		 #mapGallery a.mtgov-mapgallery-imgA {
			 min-height: 0;
		}
		 #mapGallery div {
			 min-height: 0;
		}
		 #mapGallery div .mtgov-mapgallery-item {
			 min-height: 0;
		}
		 .bkgimg-caption.text-start {
			 padding: 15px;
			 margin: -52% auto 10%;
		}
		 .bkgimg-caption.text-center {
			 margin: -52% auto 10%;
			 ;
		}
		 .bkgimg-caption.text-end {
			 margin: -52% auto 10%;
		}
	}
	/*********************************** MAX WIDTH *******************************/
	/*********************************** MIN WIDTH *******************************/
	 @media (min-width: 1400px) {
		 .fw_card-bodyhide {
			 overflow: hidden;
			 height: 100%;
		}
		 .card.block_fw {
			 max-height: 560px;
		}
	}


	 @media screen and (min-width: 992px) {
        .tab-content {
            transform: translateY(-1px);
        }
		 .modal-lg {
			 max-width:900px 
		}
		
		 [id^="recipeCarousel"] > .carousel-inner .carousel-item-end.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-next {
			 transform: translateX(25%);
		}
		 [id^="recipeCarousel"] > .carousel-inner .carousel-item-start.active, [id^="recipeCarousel"] > .carousel-inner .carousel-item-prev {
			 transform: translateX(-25%);
		}
		 .navbar-expand-lg .navbar-nav {
			 flex-direction: row;
			 float: right;
		}
		 .row.top_nav {
			 padding: 15px 2% 5px 0;
		}
		 .top_nav_wrapper {
			 float: right;
			 text-align: right;
			 padding: 0 10px;
			 margin: 0;
		}
		 .top_nav {
			 padding: 0 20px;
		}
		 .top_nav li, .top_nav div li a {
			 width: 100%;
			 text-align: right;
			 padding: 0 5px 5px;
			 font-size: 1rem;
			 max-width: 100%;
			 color: var(--brand-color7) !important;
			 display: inline;
		}
		 .navbar-expand-lg {
			 flex-wrap: nowrap;
			 justify-content: flex-start;
		}

	}
	/*VIDEO GALLERY MODAL*/
	/* medium and up screens */
	 @media (min-width: 769px) {
	     
		 .modal-dialog {
			 max-width: 750px;
			 .modal-content {
				 -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.5);
				 box-shadow: 0 5px 15px rgba(0,0,0,0.5) 
			}
			 .modal-sm {
				 max-width: 300px 
			}
			 nav.navbar {
				 z-index: 99;
				 width: 100% !important;
				 top: 64px;
			}
			 li.nav-item {
				 float: right;
				 display: inline;
			}
		
			 .anchorTop {
				 margin-top: -120px;
				 position: absolute;
			}
			/* this class moves anchors targets up. so the page loads below the template header */
			/* Container styling to resolve navigation and margin issue for content */
			 .container, .container-md, .container-sm {
				 max-width: 750px;
			}
			
		}
		
	@media (min-width: 576px) {
		 .mtgov-pagefooter-content {
			 margin-left: 50px !important;
		}
		 .modal-dialog {
			 max-width: 600px;
			 margin: 1.75rem auto;
		}
	}
		 
		/*********************************** MIN WIDTH *******************************/
		 