/*!
* 11/16/2021
* Version 2.0
* Hondros Hero RFI Styles
* wsoe@apuswsoe.info
* Andrew Paulson
*/

/*** Viewport Hero Banner ***/
.hero-viewport {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100vw /* 100vw */;
  height: auto;
  max-width:100%;  /* no overflow */
  min-height: 360px;
  margin: 80px 0 0 0;
  padding: 0;
  color: var(--color-hondros-sec-white);
	background-image: url(/common/images/banners/hero-graduation-2.jpg);
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}
.hero-indianapolis {
  background-image: url(/common/images/banners/campus-indianapolis.jpg);
}
.hero-img-left {
  background-position: top left;
}
.hero-img-right {
  background-position: top right;
}
.hero-img-sepia {
  /* only works on experimental browsers */
  filter: sepia(90%);
  -webkit-filter: sepia(90%);
}
.hero-img-contrast {
  /* only works on experimental browsers */
  filter: contrast(150%);
  -webkit-filter: contrast(150%);
}
.hero-img-saturate {
  /* only works on experimental browsers */
  filter: saturate(200%);
  -webkit-filter: saturate(200%);
}
.hero-spacer {
  flex-basis: 1px;
  flex-grow: 1;
  flex-shrink: 1;
  padding: 0;
}
.hero-content {
  position: relative;
  flex-basis: 33.333%;
  flex-grow: 0;
  flex-shrink: 1;
  min-width: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px;
  overflow: auto;
}
.hero-content-no-padding {
  padding: 0;
}
.hero-content-full-height {
  flex-direction: row;
}
.hero-content-one-half {
  flex-basis: 50%;
}
.hero-content-two-third {
  flex-basis: 66.666%;
}
.hero-content-three-fourth {
  flex-basis: 75%;
}
.hero-content.hero-content-full {
  flex-basis: 100%;
  align-items: center;
}
.hero-content-align-center {
  text-align: center;
}
.hero-content-align-right {
  text-align: right;
}
.hero-justify-start {
  justify-content: flex-start;
}
.hero-justify-end {
  justify-content: flex-end;
}
.hero-left {
  order: -1;
}
.hero-right {
  order: 2;
}
.hero-header {
  background: transparent;
  color: var(--color-hondros-sec-white);
  padding: 30px;
  text-align: left;
  filter: blur(0);
}
.hero-header a {
  background-color: transparent;
  color: var(--color-hondros-sec-white);
}
.hero-header .hero-school a {
  background-color: transparent;
  color: var(--color-hondros-sec-white);
  font-size: 1.25rem;
  padding: 0 0 4px 0;
}
.hero-title {
  margin: 0;
  color: var(--color-hondros-sec-white);
  font-size: 2rem;
  line-height: 1;
}
.hero-title > span {
  margin: 0 0 1rem 0;
  line-height: 1;
  display: block;
  text-transform: capitalize;
}
.hero-title span.tooltip, .hero-title span.tooltip-parent {
  display: inline-block;
}
.hero-title span.degreeType, .hero-program span.degreeType  {
  display: block;
  text-transform: uppercase;
  margin: 1rem 0 0 0;
  font-size: 1.2rem;
  font-family: var(--font);
  font-weight: normal;
  line-height: 1;
}
/* space for button immediately follow title */
.hero-title + .button {
  margin-top: 1rem;
}
.hero-image {
  margin: 1rem auto;
  max-width: fit-content;
}
.hero-footer {
  padding: 0 30px 30px;
}
.hero-blur {
  /* only works on experimental browsers */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.hero-sepia {
  /* only works on experimental browsers */
  backdrop-filter: sepia(90%);
  -webkit-backdrop-filter: sepia(90%);
}
.hero-contrast {
  /* only works on experimental browsers */
  backdrop-filter: contrast(200%);
  -webkit-backdrop-filter: contrast(200%);
}
.hero-saturate {
  /* only works on experimental browsers */
  backdrop-filter: saturate(200%);
  -webkit-backdrop-filter: saturate(200%);
}
/* Add dark overlay with white text */
.hero-darken {
  color: var(--color-hondros-sec-white);
  background: rgba(0,0,0,0.5);
}
/* Add light overlay with dark text */
.hero-lighten {
  color: var(--color-hondros-sec-black);
  background: rgba(255,255,255,0.5);
}

/***  Fixed Aspect Ratio Hero ***/
.hero-fixed {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  margin: auto;
  padding: 0;
  color: var(--color-hondros-sec-white);
}
.hero-fixed:after {
  content:" ";
  display: table;
  clear: both;
}
.hero-fixed img {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 1;
  overflow: hidden;
  margin: 0;
}
.hero-fixed .hero-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
}
.hero-fixed .hero-content {
  position: relative;
  overflow-y: auto;
  z-index: 10;
}
.hero-fixed .hero-content .hero-header, .hero-fixed .hero-content .hero-footer {
  color: var(--color-hondros-sec-white);
  background-color: transparent;
}

/*** Video Hero Banner ***/
figure.banner.loopVid {
  background-image: none;
  background-color: var(--color-hondros-sec-black);
  color: var(--color-hondros-sec-white);
  padding-top: 30%;
  margin: 0;
  position: relative;
  display: block;
  overflow: hidden;
}
.banner.loopVid .fine {
  font-size: .8em;
  line-height: 1em;
}
.banner.loopVid h1 {
  margin-top: 0;
  font-size: 1.5em;
  color: var(--color-hondros-sec-white);
}
.banner.loopVid .hero-title span {
  margin: 0;
}
.banner.loopVid p {
  font-size: 0.85em;
  line-height: 1.125;
}
.banner.loopVid .button {
  text-decoration: none;
  font-size: 0.85em;
}
.banner.loopVid > div.wistia_responsive_padding {
  position: absolute;
  margin: -32% 0;
}
.banner.loopVid.fbh {
  margin-top: 5.5em;
}
.banner.loopVid figcaption {
  text-align: left;
  z-index: 10;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 2.5rem 1.5rem;
  height: 100%;
  width: 40%;
  overflow: auto;
}
.banner.loopVid figcaption.video-overlay-full {
  text-align: center;
  width: 100%;
}
.banner.loopVid figcaption.video-overlay-full h1 {
  margin-top: 0;
  font-size: 3.4rem;
  color: var(--color-hondros-sec-white);
}
.banner.loopVid figcaption.video-overlay-full p {
  font-size: 1rem;
  line-height: 1.125;
  max-width: 650px;
}
.banner.loopVid figcaption.video-overlay-full .button {
  text-decoration: none;
  font-size: 1rem;
}
/* figcaption flex container */
.loopVid figcaption {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
}

/* Hide the damn "Click for Sound" button in the autoplay banners only! */
.banner.loopVid .w-ui-container button.w-vulcan-v2-button {
  display: none !important;
}

/* fbh rules */
.fbh figcaption {
  width: 30%;
  background-color: rgba(0, 13, 88, 0.8);
}

/*** Media Queries ***/
@media only screen and (max-width: 767px) {
  .fbh figcaption {
    background-color: #000d58;
  }
  .banner.loopVid > div {
    margin-left: 0;
    width: 100%;
    background-color: var(--color-hondros-sec-black);
    padding: 2rem;
  }
  .banner.loopVid figcaption {
    position: relative;
    background-color: black;
    padding: 1rem;
    width: 100%;
    margin-top: 22%;
  }
  .banner.loopVid figcaption.video-overlay-full h1 {
    font-size: 2.5rem;
  }
}
@media only screen and (max-width: 620px) {
  .banner.loopVid figcaption.video-overlay-full h1 {
    font-size: 1.75rem;
  }
  .banner.loopVid figcaption.video-overlay-full h1 span.degreeType {
    font-size: 1rem;
  }
}
@media only screen and (min-width: 768px) and (max-width: 900px) {
  .banner.loopVid figcaption {
    padding: 1rem 1rem;
  }
  .banner.loopVid h1 {
    margin-top: 0;
    font-size: 1.125em;
  }
  .banner.loopVid p {
    font-size: 0.8em;
  }
  .banner.loopVid .button {
    font-size: 0.8em;
  }
  .banner.loopVid figcaption.video-overlay-full h1 {
    font-size: 3rem;
  }
}

@media only screen and (max-width: 1000px) {
  /* Decrease H1 size */
  .hero-title { font-size: 1.8rem; }
  .hero-title span.degreeType { font-size: 1rem; }
  /* Increase flex-basis */
  .hero-content {
    min-width: auto;
    flex-basis: 50%;
  }
}
@media only screen and (max-width: 768px) {
  /* Further decrease H1 size */
  .hero-title { font-size: 1.4rem; }
  .hero-title span.degreeType { font-size: 0.9rem; }
  .hero-spacer {
    display: none;
  }
  /* Make flex full-width */
  .hero-content {
    flex-basis: 100%;
  }
  /* Decrease padding and make all versions flex-start */
  .hero-fixed .hero-content {
    padding: 0;
    justify-content: flex-start;
  }
  /* Make modifiers flex full-width */
  .hero-content.hero-content-one-half {
    flex-basis: 100%;
  }
  .hero-content.hero-content-two-third {
    flex-basis: 100%;
  }
  .hero-content.hero-content-three-fourth {
    flex-basis: 100%;
  }
  /* Make child div flex column */
  .hero-fixed .hero-content div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
  }
  /* Decrease padding */
  .hero-fixed .hero-header {
    padding: 20px 30px;
  }
}
@media only screen and (max-width: 620px) {
  /* Remove specified height */
  .hero-viewport {
    height: auto;
  }
  /* Remove padding */
  .hero-viewport .hero-content {
    padding: 0;
  }
  /* Decrease padding */
  .hero-viewport .hero-header {
    position: absolute;
    width: 100%;
    height: 100%;
  }
  /* White-space fix */
  .hero-fixed {
    font-size: 0;
  }
  /* Make background black */
  .hero-fixed .hero-darken {
    background-color: var(--color-hondros-sec-black);
  }
  /* Move image into flow */
  .hero-fixed img {
    position: relative;
  }

  .hero-header {
    padding: 30px 1rem;
  }
}

/* Creative Hero breakpoints */
@media only screen and (min-width: 1801px) and (max-width: 3000px) {
  /* Increase creative flex-basis */
  .hero-creative .hero-content  {
    min-width: auto;
    flex-basis: 40%;
  }
  .hero-creative .hero-content.hero-content-full {
    flex-basis: 100%;
    align-items: center;
  }
}
@media only screen and (min-width: 1301px) and (max-width: 1800px) {
  .hero-creative .hero-content  {
    min-width: auto;
    flex-basis: 50%;
  }

  .hero-creative .hero-content.hero-content-full {
    flex-basis: 100%;
    align-items: center;
  }
}

@media only screen and (min-width: 1100px) and (max-width: 1300px) {
  /* Increase creative flex-basis */
  .hero-creative .hero-content  {
    min-width: auto;
    flex-basis: 50%;
  }
  .hero-creative .hero-content.hero-content-full {
    flex-basis: 100%;
    align-items: center;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1099px) {
  /* Increase creative flex-basis */
  .hero-creative .hero-content  {
    min-width: auto;
    flex-basis: 60%;
  }
  .hero-creative .hero-program {
    font-size: 3rem;
    line-height: 3rem;
  }
  .hero-creative .hero-content.hero-content-full {
    flex-basis: 100%;
    align-items: center;
  }
}


@media only screen and (max-width: 799px) {
  .hero-creative .hero-spacer {
    display: none;
  }
  .hero-viewport.hero-creative {
    height: auto;
  }
  /* Increase creative flex-basis */
  .hero-viewport.hero-creative .hero-content  {
    flex-basis: 100%;
    padding: 30px 0;
  }
  .hero-viewport.hero-creative .hero-header  {
    text-align: center;
    height: auto;
    position: relative;
  }
  .hero-creative .hero-header > div {
    flex-flow: row wrap;
  }
  .hero-creative .hero-header > div .button {
    flex-basis: 100%;
    flex-grow: 1;
    margin: 0.5rem 0;
  }
  .hero-creative .hero-program {
    font-size: 2rem;
    line-height: 2rem;
  }
}

/*** RFI Hero ***/
.hero-content.hero-rfi-form {
  padding: 0;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: auto;
  flex-basis: 45%;
	justify-content: flex-end; /*progressive*/
}
.hero-viewport.hero-rfi .hero-content.hero-rfi-form .hero-header {
  overflow: auto;
}
.hero-content.hero-rfi-form .hero-darken {
  background-color: rgba(0,0,0,0.6); /*progressive*/
	width: 100%; /*progressive*/
}
.hero-viewport.hero-rfi .rfi-apply {
  padding: 0 1rem;
}
/* flex pane RFI override */
.hero-content.hero-rfi-form .flex-panes.black-n-blue.pane-single-color .pane .pane-footer {
	border-top: none;
}
.hero-content.hero-rfi-form .flex-panes.black-n-blue.pane-single-color .pane {
	background-color: transparent;
}
.hero-content.hero-rfi-form .flex-panes.black-n-blue.pane-single-color .pane .pane-heading {
	background-color: transparent;
}
.hero-content.hero-rfi-form .flex-panes.black-n-blue.pane-single-color .pane .progress-bar {
	background-color: transparent;
}
/* end flex pane RFI override */
.hero-content.hero-rfi-form h1,
.hero-content.hero-rfi-form h2,
.hero-content.hero-rfi-form h3,
.hero-content.hero-rfi-form h4,
.hero-content.hero-rfi-form h5,
.hero-content.hero-rfi-form h6
{
  color: var(--color-hondros-sec-white);
}
.hero-viewport.hero-rfi .hero-spacer .hero-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-align: center;
}
/* rfi-hero content headings */
.hero-viewport.hero-rfi .hero-spacer .hero-header h1 {
  color: var(--color-hondros-sec-white);
  font-size: 4rem;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header .hero-program {
  color: var(--color-hondros-sec-white);
  font-size: 4rem;
  font-family: var(--font-bold);
  font-weight: normal;
  line-height: 1;
  margin: 1rem 0;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header .hero-title {
  color: var(--color-hondros-sec-white);
  font-size: 1.5rem;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header .hero-title:only-child {
  color: var(--color-hondros-sec-white);
  font-size: 4rem;
}
@media only screen and (max-width: 1000px) {
  /* Decrease H1 size */
  .hero-viewport.hero-rfi .hero-spacer .hero-header .hero-title:only-child { font-size: 2rem; }
  .hero-viewport.hero-rfi .hero-spacer .hero-header .hero-title:only-child span.degreeType { font-size: 1rem; }
}
/* end rfi-hero content headings */
.hero-viewport.hero-rfi .hero-spacer .hero-header.hero-content-align-center {
  text-align: center;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header.hero-content-align-right {
  text-align: right;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header.hero-justify-start {
  justify-content: flex-start;
}
.hero-viewport.hero-rfi .hero-spacer .hero-header.hero-justify-end {
  justify-content: flex-end;
}
/* rfi hero breakpoints */
@media only screen and (max-width: 1100px) {
  .hero-content.hero-rfi-form {
    min-width: auto;
    flex-basis: 55%;
  }
  .hero-viewport.hero-rfi .hero-spacer .hero-header h1, .hero-viewport.hero-rfi .hero-spacer .hero-header .hero-program {
    color: var(--color-hondros-sec-white);
    font-size: 3rem;
  }
}
@media only screen and (max-width: 900px) {
	.hero-viewport.hero-rfi .hero-spacer .hero-header h1, .hero-viewport.hero-rfi .hero-spacer .hero-header .hero-program {
    font-size: 2rem; /* because of super long words in program names */
	}
}
@media only screen and (max-width: 800px) {
  .hero-viewport.hero-rfi {
    flex-wrap: wrap;
    background: none;
  }
  .hero-content.hero-rfi-form {
    flex-basis: 100%;
  }
  .hero-content.hero-rfi-form .hero-darken {
    flex-basis: 100%;
    background: var(--color-hondros-sec-black) !important; /*progressive*/
  }
  .hero-viewport.hero-rfi .hero-spacer:first-of-type {
    flex-basis: 100%;
    display: block;
    background-image: url(/common/images/banners/hero-graduation-2.jpg);
    background-position: top left;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 300px;
  }
  .hero-viewport.hero-rfi .hero-header {
    position: relative;
  }
}

.hero-content.hero-rfi-form .flex-panes.black-n-blue.pane-single-color .pane {
	border: none;
}

/* progressive rfi hero reversion tweaks */
.hero-content.hero-rfi-form.revert-to-old {
  justify-content: flex-start;
}
.hero-content.hero-rfi-form.revert-to-old .hero-darken {
  background: rgba(0,0,0,0.6);
}
.hero-content.hero-rfi-form.revert-to-old .flex-panes.black-n-blue.pane-single-color .pane {
	/* inherits border */
}
/* IE override */
_:-ms-fullscreen, :root .hero-rfi-form .flex > *  {
	flex-basis: 100%;
}

@media only screen and (max-width: 800px) {
	.hero-content.hero-rfi-form.revert-to-old .hero-darken {
    background: rgba(0,0,0,1) !important;
	}
}
