 
/*Accent Red #E74f3d Dark Blue #051c2c Medium Blue #6f87a3 Light Blue #9eadc1*/
/********************************** GLOBAL ************************************/
 body {
}
 h1, h2 {
	 text-align: center;
}
 a {
}
 a:hover {
}
 fieldset, form, table {
	 margin: 0;
}
 figure{
	 margin: 0 auto 15px auto;
	 padding: 15px 15px 0 15px;
	 border: 1px solid #ccc;
	 box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
	 text-align: center;
}
 figure img{
	 display: block;
	 margin:0 auto;
	 border: 1px solid #ccc;
}
/*********************************** TOOLS ************************************/
 .sticky-top {
	 top: 4em;
}
 .side.sticky-top{
	 top: 135px;
}
 .container {
	 max-width: 80%;
}
 .hide{
	 display:none;
}
 .anchor{
	 display: block;
	 height: 120px;
	 margin-top: -120px;
	 visibility: hidden;
}
/********************************** TEMPLATE.MT.GOV ***************************/
/*Amber Alert*/
body.amber-alert .sticky-top{
	top: 112px;
}
body.amber-alert header .logo.tiny {
	top: 50px;
}

/* #template-layout-push {
	 height: 64px;
}
 */
/********************************** HEADER ************************************/
 header {
	 position: relative;
}
 header .logo {
	 display: block;
	 position: absolute;
	 z-index: 999;
	 top: -90px;
	 left: 50%;
	 transform: translate(-50%, 0);
	 width: 200px;
}
 header .logo.tiny {
	 position: fixed;
	 top: 2px;
	 width: 60px;
	 transition: all 0.4s ease-in-out 0s;
}
 .heading {
	 padding: 110px 30px 15px 30px;
	 background: rgba(111,135,163,0.75);
	 border: 2px solid rgb(111,135,163);
	 border-bottom: 0;
	 font-size: 20px;
}
 .heading h1 {
	 color: #091C2A;
	 font-weight: 600;
	 text-transform: uppercase;
	 text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
}
 .heading .lead {
	 font-size: 1.7rem;
	 font-style: italic;
}
/*********************************** NAV **************************************/
 .navbar {
	 background: #051c2c;
}
/********************************** SEARCH ************************************/
/* hide default google search box */
 .gsc-control-cse.gsc-control-cse-en {
	 visibility: hidden;
	 width: 0px;
}
 .gsc-search-box.gsc-search-box-tools {
	 display: none;
}
 .gsc-modal-background-image-visible {
	 visibility: visible;
}
/* overide padding on invisible div */
 .gsc-control-cse{
	 padding:0 !important;
}
/*********************************** MAIN *************************************/
 #content-wrapper {
	 padding-top: 100px;
}
 main {
	 padding: 15px;
}
 .frame {
	 width: 50%;
	 margin: 0 auto 15px auto;
	 padding: 15px 15px 0 15px;
	 border: 1px solid #ccc;
	 text-align: center;
}
 .frame .portrait {
	 display: block;
	 width: 100%;
	 border: 1px solid #ccc;
}
/***************************** WIDGETS ******************************************/
 .content-block:not(:last-child){
	 margin-bottom:30px;
}
/***************************** TILES ******************************************/
 .hovereffect {
	 width: 100%;
	 height: 100%;
	 float: left;
	 overflow: hidden;
	 position: relative;
	 text-align: center;
	 cursor: default;
	 background: #051c2c;
}
 .hovereffect .overlay {
	 width: 100%;
	 height: 100%;
	 position: absolute;
	 overflow: hidden;
	 top: 0;
	 left: 0;
	 padding: 150px 20px 20px 20px;
}
 .hovereffect img {
	 display: block;
	 position: relative;
	 object-fit: cover;
	 max-width: none;
	 max-height: 400px;
	 width: calc(100% + 20px);
	 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	 transition: opacity 0.35s, transform 0.35s;
	 -webkit-transform: translate3d(-10px,0,0);
	 transform: translate3d(-10px,0,0);
	 -webkit-backface-visibility: hidden;
	 backface-visibility: hidden;
}
 .hovereffect:hover img {
	 opacity: 0.4;
	 filter: alpha(opacity=40);
	 -webkit-transform: translate3d(0,0,0);
	 transform: translate3d(0,0,0);
}
 .hovereffect h2 {
	 position: relative;
	 overflow: hidden;
	 padding: 0.5em 0;
	 background-color: rgba(111,135,163, 0.75);
	 text-transform: uppercase;
	 color: #fff;
	 text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
	 text-align: center;
}
 .hovereffect h2:after {
	 position: absolute;
	 bottom: 0;
	 left: 0;
	 width: 100%;
	 height: 2px;
	 background: #E74f3d;
	 content: '';
	 -webkit-transition: -webkit-transform 0.35s;
	 transition: transform 0.35s;
	 -webkit-transform: translate3d(-100%,0,0);
	 transform: translate3d(-100%,0,0);
}
 .hovereffect:hover h2:after {
	 -webkit-transform: translate3d(0,0,0);
	 transform: translate3d(0,0,0);
}
 .hovereffect p {
	 color: #fff;
	 opacity: 0;
	 filter: alpha(opacity=0);
	 -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
	 transition: opacity 0.35s, transform 0.35s;
	 -webkit-transform: translate3d(100%,0,0);
	 transform: translate3d(100%,0,0);
}
 .hovereffect:hover p {
	 opacity: 1;
	 filter: alpha(opacity=100);
	 -webkit-transform: translate3d(0,0,0);
	 transform: translate3d(0,0,0);
}
/********************************* CAROUSEL ***********************************/
 .carousel {
	 width: 100%;
}
/********************************** CARDS *************************************/
 .card-img-top {
	 background-size: cover;
}
 .cards a:hover .card {
	 background-color: #f5f5f5;
}
 .cards a:hover{
	 text-decoration:none;
}
 .card-body:empty {
	 display: none;
}
 .card-title{
	 font-weight:bold;
	 text-align:center;
}
/**************************** ACCORDIONS/TABS *********************************/
 .accordion .card-header {
	 padding: 0;
}
 .accordion .card-header:hover {
}
 .accordion .card{
	 border-radius: 0;
}
 .nav-tabs {
	 display:none;
}
 .tab-content{
	 padding: 30px;
}
 .accordion-toggle{
	 display:block;
	 padding: .75rem 1.25rem;
	 text-decoration:none;
}
 .accordion-toggle:after {
	 content: "\f078";
	 float: right;
	 font-family: 'FontAwesome';
}
 [aria-expanded="true"].accordion-toggle:after {
	 content: "\f054";
}
 .accordion-toggle:hover{
	 text-decoration:none;
}
 @media(min-width:768px) {
	 .nav-tabs {
		 display: flex;
	}
	 .tab-content .card {
		 border: none;
	}
	 .tab-content .card .card-header {
		 display:none;
	}
	 .tab-content .card .collapse{
		 display:block;
	}
}
 @media(max-width:767px){
	 .tab-content > .tab-pane {
		 display: block !important;
		 opacity: 1;
	}
}
/*Nested Accordions*/
 .accordion .accordion .accordion-toggle {
	 padding: .5rem 1rem;
	 font-size: 13px;
}
/********************************** SIDE NAV **********************************/
 .list-group{
	 border-radius: 0;
}
 .list-group a{
	 background-color: #557677;
	 color: #fff;
}
 .list-group-item.active {
	 color: #3E5B5D;
	 background-color: #fff;
	 border-color: #3E5B5D;
}
 .list-group-item-action:active {
	 color: #212529;
	 background-color: #e9ecef;
}
 .list-group-item-action:focus, .list-group-item-action:hover {
	 color: #fff;
	 background-color: #3E5B5D;
}
/********************************** FOOTER ************************************/
 .footer {
	 padding: 30px;
	 background: #051c2c;
	 color: #9eadc1;
}
 .footer h4 {
	 width: 100%;
	 text-transform: uppercase;
	 border-bottom: 1px solid #E74f3d;
}
 .footer hr {
	 border-top: 1px solid #000;
}
 .footer a:not(.btn) {
	 color: #fff;
}
 .footer a:not(.btn):hover {
	 color: #fff;
	 text-decoration:underline;
}
 .footer img {
	 display:block;
	 margin:0 auto;
}
 #social img{
	 display:block;
	 width:24px;
}
 #back-to-top {
	 position: fixed;
	 bottom: 79px;
	 right: 15px;
	 display: none;
	 z-index:99;
}
/******************************** RESPONSIVE **********************************/
/*Extra large devices (large desktops, 1200px and up)*/
 @media (max-width: 1200px) {
	 header .logo {
		 top: -50px;
		 width: 100px;
	}
	 header .logo.tiny {
		 display:none;
	}
	 .heading {
		 padding-top: 55px;
	}
}
/*Large devices (desktops, 992px and up)*/
 @media (max-width: 992px) {
}
/*Medium devices (tablets, 768px and up)*/
 @media (max-width: 768px) {
	 #content-wrapper {
		 padding-top: 60px;
	}
	 .sticky-top {
		 top: 0;
	}
	 .navbar-nav .nav-link {
		 text-align: center;
	}
	 .navbar .form-inline .input-group {
		 margin: 0 auto;
	}
	 #back-to-top {
		 bottom: 15px;
	}
}
/*Small devices (landscape phones, 576px and up)*/
 @media (max-width: 576px) {
}

@media (min-width: 768px) {
    .navbar .nav-link.hover ~ .dropdown-menu {
    	display: none;
    	margin-top: 0;
    }
    
    .navbar .nav-link.hover:hover ~ .dropdown-menu, .navbar .nav-link.hover ~ .dropdown-menu:hover {
    	display: block;
    }
    
    .dropdown-item.dropdown-toggle.hover ~ .dropdown-menu {
        display: none;
    }
    
    .navbar .dropdown-item.dropdown-toggle.hover:hover ~ .dropdown-menu, .navbar .dropdown-item.dropdown-toggle.hover ~ .dropdown-menu:hover {
    	display: block;
    }
}

 