@font-face {
  font-family: "Lilita";
  src: url(/assets/webfonts/lilita.ttf);
}

body {
	
	overflow-x: hidden;
}

figure {
	width: 100%;
	height: auto;
}

#footer {
	margin-top: 7em;
}

.hr-grad  {
  background: linear-gradient(to right, #4288d2, #202020);
  height: 4px;
  width: 100%;
  margin: auto;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.top-nav {
	
	min-height: 100px;
	
}

.fp-banner-mobile { display: none; }

.fp-banner-link {

	cursor: pointer;
	border-bottom: none;

}

.main-container {
	
	margin: 1rem;
	margin-inline: 15rem;
	min-height: 300px;
	
}

#page-bg-top, #page-bg-fill, #page-bg-bottom {
	width: 100%;
	max-width: 1024px;
	height: auto;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: -1;
}

#page-bg-fill {
	height: 100%;
	background-image: url(/images/border-fill.webp);
	background-size: contain;
	z-index: -2;
	box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.5);
}

#page-bg-bottom {
	position: absolute;
	bottom: 0;
	z-index: 0;
}

.main-content {
	min-width: 60%;
	max-width: 850px;
	min-height: 1000px;
	z-index: 3;
	margin: 0 auto;
	position: relative;
	padding-bottom: 60vh;
}

.main-content > div {
	transform: translateY(40vh);
}

.main-content > div > *:first-child {
	margin-top: 0;
}

.main-content img.responsive-img {
	margin: 0 auto;
}

.main-content > div > img, .main-content .community-involvement img {
	border-radius: 15px;
	box-shadow: 2px 2px 10px #424242;
	max-width: 65%;
}

.main-content > div > img {
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.main-content div > img.responsive-img {
	display: flex;
	place-content: center;
}

.main-content .community-involvement p {
	max-width: 65%;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
}

.main-content > .content-item {
	display: grid;
	place-content: center;
	margin-bottom: 5rem;
	text-align: center;
}

.main-content .content-item iframe {
	border-radius: 10px;
	box-shadow: 5px 5px 5px #CCC;
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	max-width: 90%;
}

.main-content h1 {
	width: 100%;
	font-family: 'Lilita';
	text-align: center;
	text-shadow: -2px -2px 20px white,  
    2px -2px 20px white,
    -2px 2px 20px white,
     2px 2px 20px white;
	color: #1aaee8;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	margin-top: 15vh;
}

.main-content h2 {
	text-align: center;
	font-family: 'Lilita';
	color: #7ea6d1;
}

.main-content .continuum-of-care hr {
	margin-top: 5rem;
}

.main-content .program-accomplishments img {
	max-width: 100%;
}

.large-txt {
	
	font-size: 2em;
	
}

/* Column Alterations */
[class*="column"] > div > img {
	-webkit-filter: drop-shadow(1px 1px 1px grey);
	filter: drop-shadow(1px 1px 1px grey);
}

/* Home Page */

.fp-spotlights {
	
	font-size: 1.5em;
	padding-bottom: 4em;
	
}

.fp-spotlights a {
	text-decoration: none;
	border: none;
}

.logo-web-small {
	
	display: none;
}

.logo-web, logo-web-small {
	
	cursor: pointer;
	padding-top: 1em;
	padding-bottom: 1em;
	
}

.fp-banner {

	max-width: 75vw;
	height: auto;
	margin: 0 auto;

}

.banner-img-wrapper {
	display: grid;
	justify-content: center;
	border: 10px solid #4288d2;
}

.banner-img-wrapper a {
	outline: none;
	border: 0;
}

.banner-img-small {
	display: none;
}

.icons {
	margin: 0;
	display: flex;
	grid-template-columns: 1fr 1fr;
	justify-content: center;
	align-items: center;
	gap: 2rem;
}

.icons a {
	border: none;
}

.icons img {
	max-height: 35px;
	width: auto;
}

/* Full screen width */
.full-width {

	width: 100vw;
	position: relative;
	left: 50%;
	right: 50%;
	margin-left: -50vw;
	margin-right: -50vw;

}
/* Frequently Asked Questions */

.faq-question {
	
	font-weight: bold;
	font-size: 1.5em;	
	
}

.faq blockquote {
	
	font-size: 1.25em;
	
}

/* House of Cornelius */

.hoc-img {
	
	display: inline
	margin: 0 auto;
	-moz-box-shadow:    0px 0px 5px 6px #ccc;
  	-webkit-box-shadow: 0px 0px 5px 6px #ccc;
  	box-shadow:         0px 0px 5px 6px #ccc;
	
}

.hoc-para1 {
	
	margin-top: 3em;
	
}

/* Board of Directors */

.board-info {
	
	font-size: 1.5em;
	font-weight: bold;
	
}

/* Staff */

.staff-info {
	
	font-size: 1.5em;
	font-weight: bold;
	
}

.staff-pic {

	align-items: center;

}

.staff-img {
	border-radius: 20px;
	-webkit-filter: drop-shadow(5px 5px 5px grey);
  filter: drop-shadow(5px 5px 5px grey);
	max-height: 400px;
	width: auto;
}

.img-style-1 {

	border-radius: 20px;
	box-shadow: 2px 2px 2px grey;

}

/* Contact Form */

input[type="checkbox"], 
input[type="radio"] {
	
	cursor: pointer;
	
}

.contact-item {
	
	margin-bottom: 1em;
	
}

.contact-message {
	
	min-height: 10em;
	
}

.contact-submit {
	
	min-width: 150px;	
	float: right;
	
}

.contact-submit::after {
	
	content: '';
	clear: right;
	
}

#contact-form-name-2 {
	
	display: none;
	
}

/* Our Staff */
.our-staff {
	position: relative;
}

.our-staff h2, .our-staff h3 {
	font-family: 'Lilita';
	margin: 0;
	text-align: center;
}

.our-staff h3 {
	font-size: 1.3rem;
	color: white;
	text-shadow: 1px 1px 3px black;
}

.our-staff .phone {
	color: #1aaee8;
	text-shadow: 1px 1px 3px white;
}

.our-staff p {
	margin-top: 1.2rem;
	max-width: 75%;
}

.our-staff img {
	max-width: 65%;
	height: auto;
}

.our-staff a {
	display: block;
	text-align: center;
	text-decoration: none;
	border-bottom: none;
	margin-top: -.5rem;
}

.our-staff .main-content > div > *:first-child {
	margin-top: 0;
}

/* Success stories */
figure img.success-story-header {
	width: 100%;
	display: grid;
	justify-content: center;
	max-width: 70%; 
	margin: 0 auto;
}

div.success-story-textbox {
	background-color: #dfdfdf;
	border: 1px solid #cbc7c8;
	height: auto;
	padding: 0.5rem;
	box-shadow: 1px 1px 10px grey;
	margin-inline: 5rem;
}

div.success-story-textbox h3 {
	font-size: 0.9rem;
	font-weight: bold;
	margin: 0;
	text-align: center;
}

div.success-story-textbox p {
	font-size: 0.8rem;
	padding: 0;
	margin: 0;
}

div.success-story-textbox p i {
	font-size: 0.7rem;
	text-align: center;
	width: 100%;
	display: block;
}

/* SLIDESHOW */

.mySlides {

	width: 100%;
	min-height: 500px;
    max-height: 500px;
	
}

.ss-selectors {
	
	margin-top: 1em;
	display: grid;
	grid-template-columns: repeat( auto-fit, minmax(14rem, 1fr) );
	grid-gap: 2em;
	justify-items: center;
	
}

.ss-select {
	
	cursor: pointer;
	text-align: center;
	justify-items: center;
	width: 1.5em;
	height: 1.5em;
	padding: 0.75em;
	border: 1px solid #333;
	
}

.lb-container > a {
	pointer-events: none;
	cursor: none;
}

.lb-container > a:first-child {
	
	display: grid;
	place-content: center;
	position: static;
	border: none;
		
}

.lb-container .lightbox-caption-outside {
	text-align: center;
}

.carousel-control-prev-icon, .carousel-control-next-icon {
	
	background-color: black;
	
}

/* Slideshow */
/* --------------------------------------------------------------------------------------------------------- */

/** VARIABLES
===================================*/
/** RESET AND LAYOUT
===================================*/
.bx-wrapper {
  position: relative;
  margin-bottom: 60px;
  padding: 0;
  *zoom: 1;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
}
.bx-wrapper img {
  max-width: 100%;
  display: block;
}
.bxslider {
  margin: 0;
  padding: 0;
}
ul.bxslider {
  list-style: none;
}
.bx-viewport {
  /*fix other elements on the page moving (on Chrome)*/
  -webkit-transform: translatez(0);
}
/** THEME
===================================*/
.bx-wrapper {
  -moz-box-shadow: 0 0 5px #ccc;
  -webkit-box-shadow: 0 0 5px #ccc;
  box-shadow: 0 0 5px #ccc;
  border: 5px solid #fff;
  background: #fff;
}
.bx-wrapper .bx-pager,
.bx-wrapper .bx-controls-auto {
  position: absolute;
  bottom: -30px;
  width: 100%;
}
/* LOADER */
.bx-wrapper .bx-loading {
  min-height: 50px;
  background: url('images/bx_loader.gif') center center no-repeat #ffffff;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2000;
}
/* PAGER */
.bx-wrapper .bx-pager {
  text-align: center;
  font-size: .85em;
  font-family: Arial;
  font-weight: bold;
  color: #666;
  padding-top: 20px;
}
.bx-wrapper .bx-pager.bx-default-pager a {
  background: #666;
  text-indent: -9999px;
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  outline: 0;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;
  border-radius: 5px;
}
.bx-wrapper .bx-pager.bx-default-pager a:hover,
.bx-wrapper .bx-pager.bx-default-pager a.active,
.bx-wrapper .bx-pager.bx-default-pager a:focus {
  background: #000;
}
.bx-wrapper .bx-pager-item,
.bx-wrapper .bx-controls-auto .bx-controls-auto-item {
  display: inline-block;
  vertical-align: bottom;
  *zoom: 1;
  *display: inline;
}
.bx-wrapper .bx-pager-item {
  font-size: 0;
  line-height: 0;
}
/* DIRECTION CONTROLS (NEXT / PREV) */
.bx-wrapper .bx-prev {
  left: 10px;
  background: url('images/controls.png') no-repeat 0 -32px;
}
.bx-wrapper .bx-prev:hover,
.bx-wrapper .bx-prev:focus {
  background-position: 0 0;
}
.bx-wrapper .bx-next {
  right: 10px;
  background: url('images/controls.png') no-repeat -43px -32px;
}
.bx-wrapper .bx-next:hover,
.bx-wrapper .bx-next:focus {
  background-position: -43px 0;
}
.bx-wrapper .bx-controls-direction a {
  position: absolute;
  top: 50%;
  margin-top: -16px;
  outline: 0;
  width: 32px;
  height: 32px;
  text-indent: -9999px;
  z-index: 9999;
}
.bx-wrapper .bx-controls-direction a.disabled {
  display: none;
}
/* AUTO CONTROLS (START / STOP) */
.bx-wrapper .bx-controls-auto {
  text-align: center;
}
.bx-wrapper .bx-controls-auto .bx-start {
  display: block;
  text-indent: -9999px;
  width: 10px;
  height: 11px;
  outline: 0;
  background: url('images/controls.png') -86px -11px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-start:hover,
.bx-wrapper .bx-controls-auto .bx-start.active,
.bx-wrapper .bx-controls-auto .bx-start:focus {
  background-position: -86px 0;
}
.bx-wrapper .bx-controls-auto .bx-stop {
  display: block;
  text-indent: -9999px;
  width: 9px;
  height: 11px;
  outline: 0;
  background: url('/images/controls.png') -86px -44px no-repeat;
  margin: 0 3px;
}
.bx-wrapper .bx-controls-auto .bx-stop:hover,
.bx-wrapper .bx-controls-auto .bx-stop.active,
.bx-wrapper .bx-controls-auto .bx-stop:focus {
  background-position: -86px -33px;
}
/* PAGER WITH AUTO-CONTROLS HYBRID LAYOUT */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-pager {
  text-align: left;
  width: 80%;
}
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
  right: 0;
  width: 35px;
}
/* IMAGE CAPTIONS */
.bx-wrapper .bx-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #666;
  background: rgba(80, 80, 80, 0.75);
  width: 100%;
}
.bx-wrapper .bx-caption span {
  color: #fff;
  font-family: Arial;
  display: block;
  font-size: .85em;
  padding: 10px;
}

/* --------------------------------------------------------------------------------------------------------- */

@media screen and (min-width: 1300px) {

	.spotlights section .image {
		width: 20rem;
	}

}

@media screen and (max-width: 1300px) {
	.main-container {
		margin-inline: 5vw;
	}

}

@media screen and (max-width: 1000px) {

	.banner-img-small {
		display: block;
		width: 100%;
		height: auto;
	}
	.banner-img-large {
		display: none;
	}

	.main-container {
		margin-inline: 10vw;
	}

}

@media screen and (min-width: 900px) {

	.hr-grad {

		width: 50%;

	}

}

@media screen and (max-width: 900px) {
	
	.fp-banner { 

		display:  none; 

	}
	
	.fp-banner-mobile {

		display: block;

	}

	.main-container {

		padding-top: 1.5rem;
		padding-left: 1.5rem;
		padding-right: 1.5rem;

	}

	.wrapper > .inner {
		margin-top: 3rem;
	}

	.main-content > .content-item iframe {
		max-width: 70vw;
	}

	.main-content {
		padding-bottom: 40vh;
	}

	.main-content h1 {
		margin-top: 9vh;
	}

	.main-content > div {
		transform: translateY(30vh);
	}

}

@media screen and (max-width: 800px) {
	.main-content h1 {
		/*padding-top: 8vh;
		margin-bottom: 6vh;*/
	}
}

@media screen and (max-width: 600px) {

	.staff-img {
		transform: scale(1.0);
	}

	.main-container {
		margin-inline: 5vw;
	}

	.mobile-enlarge {
		transform: scale(1.14);
	}

	.main-content {
		padding-bottom: 30vh;
		padding-left: 0;
		padding-right: 0;
	}

	.main-content h1 {
		font-size: 1.5rem;
		margin-top: 6vh;
	}

	.main-content > div {
		transform: translateY(20vh);
	}
 
	.main-content .community-involvement p {
		max-width: 90%;
	}

	.community-involvement div > img {
			min-width: 90%;
	}

	.our-staff img, .our-staff p {
		max-width: 100%;
		height: auto;
	}

	figure img.success-story-header {
		max-width: 100%;
	}

	div.success-story-textbox {
		margin-inline: 2rem;
	}

}

@media (max-width: 500px) and (min-height: 700px) {
	.main-container {
		margin-top: -5vh;
	}
}

@media (min-width: 700px) and (max-height: 750px) {
	.main-content h1 {
		margin-top: 20vh;
	}

	.main-content > div > *:first-child {
		padding-top: 7vh;
	}
}

@media (max-height: 650px) {
	.main-content > div > *:first-child {
		padding-top: 4vh;
	}
}

@media screen and (max-width: 480px) {
	
	.logo-web {
		
		display: none;
		
	}
	
	.logo-web-small {
		
		display: block;
		
	}
	
	.fp-slideshow {
		
		display: none;
		
	}

	.main-container {
		margin-top: 0;
	}

	.main-content h1 {
		margin-top: 4vh;
	}

	.main-content > div > *:first-child {
/*		margin-top: -4vh;*/
	}
		
}
