/* app.css */

:root {
  --main-color: #3781c4;
  --hover-color: #88b4dd;
  --glow-color: #9db0c1;
  --accent-color: #3781c4;
}

@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-Book.eot');
	src: url('fonts/Gibson-Book.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-Book.woff2') format('woff2'), 
		 url('fonts/Gibson-Book.woff') format('woff'),
		 url('fonts/Gibson-Book.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;  
}
@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-BookItalic.eot');
	src: url('fonts/Gibson-BookItalic.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-BookItalic.woff2') format('woff2'), 
		 url('fonts/Gibson-BookItalic.woff') format('woff'),
		 url('fonts/Gibson-BookItalic.ttf') format('truetype');
	font-weight: 300;
	font-style: italic;  
}
@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-Regular.eot');
	src: url('fonts/Gibson-Regular.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-Regular.woff2') format('woff2'), 
		 url('fonts/Gibson-Regular.woff') format('woff'),
		 url('fonts/Gibson-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;  
}
@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-Italic.eot');
	src: url('fonts/Gibson-Italic.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-Italic.woff2') format('woff2'), 
		 url('fonts/Gibson-Italic.woff') format('woff'),
		 url('fonts/Gibson-Italic.ttf') format('truetype');
	font-weight: 400;
	font-style: italic;  
}
@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-SemiBold.eot');
	src: url('fonts/Gibson-SemiBold.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-SemiBold.woff2') format('woff2'), 
		 url('fonts/Gibson-SemiBold.woff') format('woff'),
		 url('fonts/Gibson-SemiBold.ttf') format('truetype');
	font-weight: 700;
	font-style: normal;  
}
@font-face {
	font-family: gibson;
	src: url('fonts/Gibson-SemiBoldItalic.eot');
	src: url('fonts/Gibson-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
		 url('fonts/Gibson-SemiBoldItalic.woff2') format('woff2'), 
		 url('fonts/Gibson-SemiBoldItalic.woff') format('woff'),
		 url('fonts/Gibson-SemiBoldItalic.ttf') format('truetype');
	font-weight: 700;
	font-style: italic;  
}
body {
	font-family: "gibson", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

a {
	transition: color .15s ease-in-out;
}

.logo {
	max-width: 20rem;
}
.top-nav-wrapper {
	border-top: 3px solid var(--accent-color);
	border-bottom: 3px solid var(--main-color);
	font-size: 1.25rem;
}
.grey-wrapper {
	background-color: #f1f3fa;
}
.bottom-nav-wrapper {
	background: var(--accent-color);
}
h5 {
	font-weight: bold;
	color: var(--main-color);
}
.shadow-in {
	box-shadow: inset 0 .125rem .25rem rgba(0,0,0,.075)!important;
}
.page-footer {
	background-color: rgb(231,233,240);
}
.w-20 {
	width: 20%;
} 
.clear-both {
	clear: both;
}

/* color overrides */
a {
	color: var(--main-color);
}
a:hover {
	color: var(--hover-color);
}
.btn-primary {
    background-color: var(--main-color);
    border-color: var(--main-color);
}
.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
}
.btn-accent {
	color: #fff;
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}
.btn-accent:hover {
	color: #fff;
    background-color: var(--hover-color);
    border-color: var(--hover-color);
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    background-color: var(--main-color);
}
.bg-primary {
	background-color: var(--main-color) !important;
}
.bg-secondary {
	background-color: var(--secondary-color) !important;
}
.bottom-nav-wrapper a {
	color: #FFFFFF;
	transition: all .15s ease-in-out;
}
.bottom-nav-wrapper a:hover {
	text-shadow: 0 0 1px #fff, 0 0 1em var(--glow-color), 0 0 1.5em var(--glow-color);
}
.title-wrapper {
	background-color: var(--main-color);
	padding-bottom: 3px;
}
.title-wrapper h3 {
	color: #FFFFFF;
	margin: 0;
	padding: .5rem 0;
}
.page-link {
	color: var(--main-color);
}
.page-item.active .page-link {
    background-color: var(--main-color);
    border-color: var(--main-color);
}

/* layout overrides */
.alert {
	background-size: 25px auto;
	background-repeat: no-repeat;
	background-position: 1.25rem 0.75rem;
	background-blend-mode: multiply;
}
.alert-info {
	background-image: url(/theme/alerts/info.svg);
}
.alert-warning {
	background-image: url(/theme/alerts/warning.svg);
}
.alert-danger {
	background-image: url(/theme/alerts/danger.svg);
}
.alert-dismissible {
	padding-left: 4rem;
}
.alert p:last-child {
	margin-bottom: 0;
}
.content ul, .content ol {
	overflow: hidden; /* fix for bullets/numbers overlapping floated images */
}
.nav-link {
    border-radius: .2rem;
    padding: .25rem .5rem;
}
.underline {
	text-decoration: underline;
}
.content ol ol {
	list-style: lower-alpha;
}
.carousel-inner {
	border-radius: .25rem;
	border: 1px solid rgba(0,0,0,.125);
}
.blog-list {
	background: left top no-repeat;
	background-size: auto 100%;
	padding-left: 33%;
	min-height: 100px;
}
.quick-links a {
	color: rgb(255,255,255);
	fill: rgb(255,255,255);
	transition: all .15s ease-in-out;
}
.quick-links a:hover {
	fill: rgb(242,156,33);
	text-shadow: 0 0 1px #fff, 0 0 1em var(--glow-color), 0 0 1.5em var(--glow-color);
	text-decoration: none;
}
.quick-links img, .quick-links svg {
	height: 3rem;
}
.logo-link {
	width: 14rem;
	height: 7rem;
	flex: 0 0 auto;
	background-position: center;
	background-size: contain;
	background-repeat: no-repeat;
}
.search-results {
	max-width: 40rem;
}
.social a:hover img {
	filter: saturate(150%);
}
.social img {
	height: 2.5rem;
	transition: filter .25s ease-in-out;
	background-color: #ffffff;
}
.resource-card {
	height: 100%;
}
.resource-card button {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}
.media + .media {
    margin-top: 2rem;
}
.media-body h5 + h6 {
	margin: -0.5rem 0 1rem;
}
.page-subtitle {
	display: block;
	margin: -1rem 0 1rem;
	color: var(--accent-color);
}
.carousel-control-next-icon, .carousel-control-prev-icon {
    width: 3rem;
    height: 3rem;
    background-color: #333333;
    background-size: 50%;
    border-radius: .25rem;
}
ul.documents li {
	list-style: none;
	margin: 0.25rem 0;
}
li.pdf a {
	background: url('/theme/icons/icon-pdf.svg') left center no-repeat;
	background-size: contain;
	padding-left: 1.75rem;
}
li.word a {
	background: url('/theme/icons/icon-word.svg') left center no-repeat;
	background-size: contain;
	padding-left: 1.75rem;
}
li.excel a {
	background: url('/theme/icons/icon-excel.svg') left center no-repeat;
	background-size: contain;
	padding-left: 1.75rem;
}
li.text a {
	background: url('/theme/icons/icon-text.svg') left center no-repeat;
	background-size: contain;
	padding-left: 1.75rem;
}

/* Contact form honeypot field */
.form-group.inquiry-field {
	display: none !important;
}

/* Polaris book carousel */
.content-carousel__slider {
	padding: 0 3rem;
}
.content-carousel__item {
	position: relative;
	display: inline-block;
	box-shadow: 0 .125rem .25rem rgba(0,0,0,.075);
	margin: 0.5rem;
}
.content-carousel__image_container {
    position: relative;
    width: auto !important;
    max-width: none !important;
	min-width: 105px;
	background-image: none!important;
	z-index: 1;
    transition: opacity .125s ease;

}
.content-carousel__image_container img {
	max-width: none!important;
}
.content-carousel__item div:nth-child(2) {
    display: flex;
    flex-direction: column;
    justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 0.5rem;
	color: #fff;
	background-color: rgb(0, 66, 74);
    font-size: .875rem;
    line-height: 1;
	z-index: 0;
}
.content-carousel__item br {
	display: none;
}
.content-carousel__item a {
    display: block;
    font-style: italic;
    margin-bottom: .5rem;
	word-wrap: break-word;
	color: #fff;

}
.content-carousel__item:hover .content-carousel__image_container {
    opacity: .1;
}
.content-carousel__item:hover div:nth-child(2) {
    background-color: rgb(0, 113, 147);
}
.content-carousel__right-arrow {
	position: absolute;
    top: 0;
    right: 0;
    width: 2rem;
    height: 100%;
    cursor: pointer;
    border: none;
    background: transparent url(/theme/prev-next.svg) no-repeat right center;
    background-size: 29px auto;
    transition: opacity .125s ease;
}
.content-carousel__left-arrow {
	position: absolute;
    top: 0;
    left: 0;
    width: 2rem;
    height: 100%;
    cursor: pointer;
    border: none;
    background: transparent url(/theme/prev-next.svg) no-repeat left center;
    background-size: 29px auto;
    transform: rotate(180deg);
    transition: opacity .125s ease;
}
.content-carousel__right-arrow:hover, 
.content-carousel__left-arrow:hover {
	opacity: .75;
}
.content-carousel__right-arrow:focus, 
.content-carousel__left-arrow:focus {
	outline: none;
}

.carousel-indicators {
	bottom: -2rem;
	margin-bottom: 0;
}
.carousel-indicators li {
	background-color: #3781c4;
	border: 0;
	height: 1.125rem;
}

.card-img-top {
	border-bottom-width: 2px !important;
}
.border-main {
	border-color: var(--main-color) !important;
}

/* Responsive adjustments */
@media (min-width: 576px) {
	.featured-items .card {
		flex: 0 1 calc(50% - 30px);
		max-width: calc(50% - 30px);
	}
}

@media screen and (min-width: 768px) { 
	.w-50 {
		width: 50%;
	}
	.w-33 {
		width: 33%;
	}
	.w-25 {
		width: 25%;
	}
}


@media screen and (min-width: 768px) {
	body {
	  display: flex;
	  flex-direction: column;
	  min-height: 100vh;
	}
	footer {
	  margin-top: auto;
	}
	.below-h5 {
		height: calc(100% - 5rem);
	}
	.feed-list {
		max-height: calc(17.75rem);
		overflow: auto;
	}
}

@media (min-width: 992px) {
	.featured-items .card {
		flex: 0 1 calc(33.333333% - 30px);
		max-width: calc(33.333333% - 30px);
	}
}
