/* -----------------------------------
Site:       jeffheiser.com
CSS author: Jeff Heiser
Updated:	5/2019
----------------------------------- */
.sr-only { /* better solution */
    height: auto; 
    margin: 0; 
}
.sr-only-focusable:active, .sr-only-focusable:focus { color: #002868; }
html { height: 100%; }

/***** B O D Y *****/
body {
	display: flex;          
	flex-direction: column;
	width: 100vw;
	height: 100vh;
	background: #e8eaf6; 
	color: #000;
	overflow-x: hidden;
	padding-top: 3.125rem;
	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
}

/***** H E A D I N G S  /  P *****/ 
h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
	font-family: Georgia, serif;
	font-weight: 900;
	color: #fff;
	letter-spacing: .05em;
	text-align: center;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
h1, .h1 {
	font-size: 1.75rem;
	font-variant: small-caps;
	letter-spacing: .1em;
	margin-bottom: 1em;
}
.display-1 {
    color: #fff;
    font-weight: 900;
	font-variant: small-caps;
	letter-spacing: .05em;
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
h2, .h2 { font-size: 1.5rem; }
h3, .h3 { font-size: 1.125rem; }
h4, .h4 { font-size: 1rem; }
@media only screen and (min-width: 576px) {
	h1, .h1 { font-size: 2rem; }
	.jumbotron { padding: 2rem; }
}
@media only screen and (min-width: 768px) {
	h1, .h1  { font-size: 2.25rem; }
	h2, .h2 { font-size: 1.75rem; }
	h3, .h3 { font-size: 1.5rem; }
	h4, .h4 { font-size: 1.25rem; }
	.jumbotron { margin-top: 3rem; }
	.copyright { font-size: .875rem; }
}
@media only screen and (min-width: 992px) {
	h1, .h1 { font-size: 2.5rem; }
}
@media only screen and (max-width: 575px) { .lead { font-size: 1.1 rem; } }

/***** L I N K S *****/ 
a {
	color: #fff;
	text-decoration: none;
	cursor: pointer;
	transition: all .3s ease-in-out;
	-webkit-touch-callout: none;
	-ms-user-select: none; /* IE 10 version for Windows Phone 8 */
}
.textLink, p a, li a {
	padding: .1em .2em;
	border-radius: .2em;
    font-weight: 700;
}
a:hover, a:focus { color: #fff; }
main a:not(.btn) {
	background: linear-gradient(to bottom, rgba(187, 15, 47, 0) 0%, rgba(187, 15, 47, 0) 50%, rgba(187, 15, 47, 1) 50%, rgba(187, 15, 47, 1) 100%);
	background-repeat: no-repeat;
	background-size: 100% 200%;
}
main a:not(.btn):hover, main a:not(.btn):focus { background-position: 0 100%; }
a:focus { outline: thin dotted; }
.imgLink:hover, .imgLink:focus {
	background: transparent;
	text-decoration: none;
	opacity: 0.75;
}
img { font-size: .6875rem; font-style: italic; } /* Style Alt Text */

/***** H E A D E R *****/
header { 
	position: relative;
	flex-shrink: 0;
}
/***** L A Y O U T *****/
main {
	position: relative;
	min-height: calc(100% - 103px);
	flex: 1 0 auto;
	background-color: #1094d4;
	padding-bottom: 1rem;
}
@media only screen and (min-width: 576px) {
	main { 
		background-image: url(../images/bg_error404.jpg);
		background-repeat: no-repeat;
		background-size: cover;
		background-attachment: fixed;
		background-position: right 50%;
	}
	h1, h2, h3, h4, .h1, .h2, .h3, .h4 { color: #002868; }
}
footer {
	flex-shrink: 0;
	background-color: #bf0a30;
	color: #fff;
	padding-top: .625rem;
}
footer p { 
	font-size: .875rem; 
	text-align: center;
}

/***** M O B I L E  N A V I G A T I O N *****/
.navbar-header {
	width: 100vw;
	height: 3.125rem;
	display: flex;
	background-color: #bf0a30;
	margin: 0;
	padding: 0;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.02), 0 2px 10px 0 rgba(0, 0, 0, 0.1);
}
.navbar-header a {
	position: relative;
	display: flex; 
	flex-direction: column;
	flex: 1 1 auto;
	align-items: center;
	justify-content: space-around;
	text-decoration: none;
	z-index: 5;
}
.navbar-header a:last-child { margin-top: .2em; }
.navbar-header a:hover, .navbar-header a:focus { background: rgba(255,255,255,0.2); }
.navbar-header a:hover i::before, .navbar-header a:focus i::before { 
	color: #e5e5e5; 
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
.navbar-brand { margin: 0; }
.navbar-brand img {
	width: 42px;
	height: 42px;
	box-shadow: 0 1px 1px 0 rgba(0,0,0,0.16), 0 2px 2px 0 rgba(0,0,0,0.12);
	border: 1px solid rgba(255,255,255,0.5);
	border-radius: 50%;
}

/***** N A V I G A T I O N *****/
.fa-facebook-official::before, .fa-linkedin-square::before { color: currentColor; }
.navbar-form .btn { border-radius: 0 .25rem .25rem 0; }
.navbar {
    width: 100%;
    height: 3.125rem;
	display: flex;
	background-color: #bf0a30;
	margin: 0;
	padding: 0;
	border: 0;
	transition: transform 0.5s ease;  
	transform: translateY(0); 
}
.navbar-hide { transform: translateY(-110%); }
.navbar-nav { 
	flex-direction: row;
	justify-content: center;
	width: 100%; 
}
.nav-item { 
	flex: 0 0 10%;
	max-width: 10%;
}
.nav-link {
	display: flex; 
	flex-direction: column;            
	align-items: center;
	justify-content: space-between;
	flex: 1 1 auto;
	text-decoration: none;
	padding-top: .1rem;
	padding-bottom: .1rem;
	border-radius: 0;
}
.nav-link.active, .nav-link:hover, .nav-link:focus { background-color: rgba(255,255,255,0.2); }
.nav-link:hover i::before, .nav-link:focus i::before { 
	color: #ddd; 
	text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3), 0 -1px 0 rgba(0, 0, 0, 0.7);
}
.nav-link:hover .fa-facebook-official::before { color: #3b5998!important;}
.nav-link:hover .fa-linkedin-square::before { color: #3399cc!important; }
.navbar-form {
	width: 16rem;
	max-width: 100%;
	margin: .5rem auto 0;
}
.icon_canvas {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: auto;
	text-align: center;
}
.icon_canvas i {
	display: block;
	width: 100%;
	height: auto;
	line-height: 1;
	font-size: 1.75rem;
	color: #fff;
}
.iconText {
	line-height: 1.125rem;
	font-size: .6875rem;
	color: #fff;
	white-space: nowrap;
	text-overflow: ellipsis;
	overflow: hidden;
}
@media only screen and (max-width: 767px) {
	.navbar-collapse { 
		position: fixed;
		top: 3.125rem;
		left: 50%;
		width: 95%;
		max-width: 28.125rem;
		background: url(../images/bkgd_gray_texture.jpg) repeat-y #eee5d3;
		margin: 0;
		padding: 1rem 1.875rem;
		border: .25rem solid #adadad;
		border-top: none;
		border-radius: 0 0 .375rem .375rem;
		box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
		transform: translateX(-50%);
		z-index: 50;
	}
	.navbar-nav { 
		flex-wrap: wrap;
		margin: 0 auto; 
	}
	.nav-item { 
		flex: 0 0 25%;
		max-width: 25%;
		margin: 0 auto 1rem;
	}
	.searchBox { 
		flex: 0 0 73%;
		max-width: 73%;
		margin: .25rem;
	}
	.nav-link, .navbar-nav i::before, .navbar-nav .iconText, .nav-link:hover i::before, .nav-link:focus i::before{ 
		color: #bf0a30; 
	}
	.navbar-nav button i.fa-search::before { color: #fff; }
	.nav-link:hover .iconText, .nav-link:focus .iconText { text-decoration: underline; }
	#home a.home, #resume a.resume, #faq a.faq, #portfolio a.portfolio, #testimonials a.testimonials,
	#about a.about, #contact a.contact, #choosejeff a.choosejeff, #seo a.seo {
		background-color: rgba(0,0,0,0.1);
		border: 0;
	}
}
@media only screen and (max-width: 400px) {
	.nav-item { 
		flex: 0 0 33%;
		max-width: 33%;
	}
	.searchBox { 
		flex: 0 0 96%;
		max-width: 96%;
	}
}
@media only screen and (min-width: 768px) {
	.navbar-form { 
		display: none;
		position: absolute;
		top: 60px;
		right: 0;
		width: 200px;
		margin: 0; 
	}
}
@media only screen and (min-width: 992px) { .iconText { font-size: .8125rem; } }

/***** P A G E  H E A D E R *****/
.page-header {
	position: relative;
	text-align: center;
	margin: 2rem auto;
}
.page-header h2 {
	position: relative;
	display: inline-block;
}
.page-header h2::after {
	position: absolute;
	left: 10%;
	right: 0;
	bottom: -.8rem;
	height: .2rem;
	width: 100%;
	content: "";
	display: inline-block;
	background-image: -webkit-linear-gradient(left, rgba(255, 255, 255,0), rgba(255, 255, 255,1), rgba(255, 255, 255,0)); 
	background-image: -moz-linear-gradient(left, rgba(255, 255, 255,0), rgba(255, 255, 255,1), rgba(255, 255, 255,0)); 
	background-image: -ms-linear-gradient(left, rgba(255, 255, 255,0), rgba(255, 255, 255,1), rgba(255, 255, 255,0)); 
	background-image: -o-linear-gradient(left, rgba(255, 255, 255,0), rgba(255, 255, 255,1), rgba(255, 255, 255,0)); 
	margin-left: -10%;
	margin-right: -10%;
}
@media only screen and (min-width: 768px) { 
	.page-header h2::after {
		width: 120%;
		left: 0;
		background-image: -webkit-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
		background-image: -moz-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
		background-image: -ms-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
		background-image: -o-linear-gradient(left, rgba(26,35,126,0), rgba(26,35,126,1), rgba(26,35,126,0)); 
	}
}

/***** T O O L T I P S  /  P O P O V E R S *****/
.tooltip-inner {
	max-width: 20rem;
	background-color: #006;
	background-image: -webkit-linear-gradient(top, #add8e6 0%, #000066 100%);
	background-image:      -o-linear-gradient(top, #add8e6 0%, #000066 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#add8e6), to(#000066));
	background-image:         linear-gradient(to bottom, #add8e6 0%, #000066 100%);
	background-repeat: repeat-x;
	font-weight: 700;
	border: 1px solid #fff;
	box-shadow: .1rem .1rem .15rem rgba(0,0,0,0.5);
}
.bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before { border-top-color: #fff; }
.bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before { border-bottom-color: #fff; }
.bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before { border-left-color: #fff; }
.bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before { border-right-color: #fff; }
.popover { 
	width: 216px; 
	background-color: #006;
	background-image: -webkit-linear-gradient(top, #add8e6 0%, #000066 100%);
	background-image:      -o-linear-gradient(top, #add8e6 0%, #000066 100%);
	background-image: -webkit-gradient(linear, left top, left bottom, from(#add8e6), to(#000066));
	background-image:         linear-gradient(to bottom, #add8e6 0%, #000066 100%);
	background-repeat: repeat-x;
	border-color: #fff;
}
.popover-body { color: #fff; }
.popover.bottom > .arrow::after { border-bottom-color: #fff; }

/***** G O T O P *****/
.gotop, .gotop:focus {
	display: none;
	position: fixed;
	bottom: .5rem;
	right: .5rem;
	background-color: rgba(0,0,0,0);
	font-size: 2rem;
	opacity: 1;
	padding: 0;
	border: 0;
	-webkit-appearance: none; /* Safari */
	z-index: 50;
}
.gotop:hover { opacity: 0.8; }

.spacer {
    clear: both;
    margin: 1.5rem auto;
}
.spacer::before, .spacer::after {
	display: table;
	content: " ";
}
.spacer::after { clear: both; }
.bg-light2 { background-color: rgba(255,255,255,0.4)!important; }
.fa-exclamation-triangle::before { color: #d5090a; }
