/* brandbar initial setup courtesy of John Ropa; */
@import 'brandbar.css';

/* bootstrap accessibility fixes courtesy of Jason McGuffey; */
@import 'bootstrap-accessibility.css';

/* ------------------- */
/* Accessibility Fixes */
/* ------------------- */

/* make sure links in body copy look like links */
p > a {text-decoration: underline;}

/* make sure focus ring indicator is browser default or IF ff/ie visible */
a:focus, button:focus {
	outline: auto 2px #0069d9 !important;
	outline: auto 2px Highlight !important;
	outline: -webkit-focus-ring-color auto 5px !important;
}

/* fix brandbar toggle menu focus ring overlap issue */
nav.brandbar a:focus {z-index: 1000;}

/* fixes contrast issue with carousel overlay text area courtesty of Lisa Sandy */
#ua-carousel .caption .caption-inner {
   background: rgba(0,0,0,0.8)!important;
}

.btn-primary, .btn-primary:focus, .btn-primary:active, .btn-primary.active {
/*    border-color: #12517c; */
   background-color: #12517c;
   background-image: -webkit-gradient(linear, left top, left bottom, from(#12517c), to(#12517c));
   background-image: -webkit-linear-gradient(#12517c, #12517c);
   background-image: -moz-linear-gradient(#12517c, #12517c);
   background-image: -o-linear-gradient(#12517c, #12517c);
   background-image: -ms-linear-gradient(#12517c, #12517c);
   background-image: linear-gradient(#12517c, #12517c);
}

/* fixes h2 to look like the h4 styling, but be semantic */
.media-body h3, footer h2 {
	font-size: 18px;
}

/* fixes more links for news & events now that they're at the bottom */
.more-news, .more-events {
	padding-left: 0;
/* 	position: absolute; */
/* 	top: 20px; */
/* 	right: 20px; */
	font-style: italic;
}

/* fixes carousel img so that it can be content */
.carousel-img {
	position: absolute;
	z-index: -1;
/* 	display: none; */
	width: 100%;
/* 	top: -101px; */
	
}

@media screen and (max-width: 767px) {
	.carousel-img {
		position: absolute;
		z-index: -1;
	/* 	display: none; */
		height: 100%;
		object-fit: cover;
	}
	
}

/* fixes contrast issue with text-muted class */
.text-muted {
	color: #585858;
}

.sidebar-nav, .sidebar-nav-lg {
	border: none;
}
.sidebar-nav>li>a[href].collapsed:after, .sidebar-nav-lg>li>a[href].collapsed:after {
    content: none;
}

.sidebar-nav>li>a[href]:after, .sidebar-nav-lg>li>a[href]:after {
    font-family: 'FontAwesome';
    content: none;
}

.sidebar-nav>li.menu-item-has-children>a[href].collapsed:after, .sidebar-nav-lg>li.menu-item-has-children>a[href].collapsed:after {
    content: '\f105';
}

.sidebar-nav>li.menu-item-has-children>a[href]:after, .sidebar-nav-lg>li.menu-item-has-children>a[href]:after {
    font-family: 'FontAwesome';
    content: '\f107';
    font-size: 18px;
    float: right;
}

/* make sidebar collapse at top on mobile for usability reasons */
@media screen and (max-width: 991px) {  
	
/*
	aside.sidebar {
		height: 42px;
		overflow: hidden;
	}
	
	aside.sidebar.open {
		height: auto;
	}
	
	aside.sidebar.open ul li.current-menu-item:before {
		content: '\f105';;
	}
	
	aside.sidebar ul {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
	}
	
	aside.sidebar ul li.current-menu-item {
		order: -1;
	}
	
	aside.sidebar ul li.current-menu-item:before {
		content: '\f107';
		position: absolute;
		top: 8px;
		right: 15px;
		z-index: 1000;
		font-family: 'FontAwesome';
		font-size: 1.3em;
		
	}
*/

}

/* Split dropdown */
.split-toggle {
	display: none;
}

@media (pointer: coarse) and (min-width: 1000px) {
	.split-toggle {
		display: inline-block;
    }
    
	.sticky-header-container .navbar-container .main-nav .open .dropdown-link {
		background: transparent; 
		color: #900;
    }
    
	.split-dropdown button {
		background:transparent; 
		color: #900;
		border:0;
		line-height: 20px;
		padding-bottom:40px;
		padding-top:40px; 
    }
    
	.split-dropdown .dropdown-link {
		display: inline-block;
    }
    
	.split-dropdown .dropdown-toggle:focus {
		background: #eee;
	} 
}

/*  Style additions for v1.7.8 update 
 ** Tuesday, October 15, 2020
 ** Text Identifier Styles
 */
.navbar-container .navbar-header .text-identifier {
    font-size: 2em; 
    height: auto; 
    line-height: 1.1;
    margin-top: -1px; 
    max-width: 350px;  
    overflow: visible;
    padding-top: 0;
    position: absolute; 
    top: 50%; 
    transform: translateY(-50%);
}

.navbar-container .navbar-header .text-identifier span {
    font-family: 'Open Sans';
    letter-spacing: -1px;
    vertical-align: middle;
}

@media screen and (max-width: 380px) {
    .navbar-container .navbar-header .text-identifier {
        font-size: 1.7em; 
    }
}

footer.bg-light {
    color: #5c5f68;
}

footer.bg-light a {
    color: black;
}

footer.bg-light .footer-copyright a, 
footer.bg-light .footer-copyright a:hover {
    color: #fff;
}

/* Main Navigation Accessibility Adjustments */
.header-top button.universal-nav-active .fa-bars:before {
    content: "\f00d";
}

.nav-visible .universal-nav-active .fa-bars:before {
    content: "\f00d";
}

@media screen and ( max-width: 991px ) {
    .navbar-right .navbar-nav {
        visibility: hidden;
    }

    .nav-visible .navbar-right .navbar-nav {
        visibility: visible;
    }
}