/* allow banner to be larger than image width */
.jsGallery.banner_gallery .slide {
	left: 0;
	right: 0;
}
.jsGallery.banner_gallery .jsgimg {
  width: 100%;
  min-width: var(--min-screen-width);
  max-height: unset;
}

.fixed-header .nopgbanner {
	/* height: var(--max-header-height); */
  height: calc(176px + 60px);
}

.insetLarge {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media only screen and (min-width: 1186px) {
  .fixed-header.page-home .insetLarge{
    /* height: calc(100% - (var(--max-header-height))); */
    /* margin-top: calc((var(--max-header-height)) - 1px); */

    height: calc(100% - (var(--max-header-height)) - 50px);
    margin-top: calc((var(--max-header-height)) + 50px);
  }
}


.insetLarge a.cms-button-a,
.insetSmall a.cms-button-a {
  display: inline-block;
  padding: 1rem 1.75rem;
  line-height: 1.25em;
  text-transform: uppercase;
  font-weight: 800;
  margin: 0 .5rem;
  max-width: 280px;
}

.insetSmall > .standard-width,
.insetLarge > .standard-width {
  width: 100%;
}

.insetSmall .banner-header,
.insetLarge .banner-header {
  color: white;
  font-size: 3.75rem;
  font-weight: 700;
  text-align: center;
  /* text-shadow: 0 0 5px white; */
  line-height: 1.15em;
  text-transform: uppercase;
}

.insetSmall p,
.insetLarge p {
  margin: 0.5rem auto;
  color: white;
  text-align: center;
  font-weight: 500;
  font-size: 2.25rem;
  line-height: 1.45em;
  /* width: 60%; */
  /* text-transform: uppercase; */
  /* text-shadow: 0 0 5px white; */
}

.insetSmall p:last-child,
.insetLarge p:last-child {
  margin-top: 1.5rem;
  margin-bottom: 0;
  text-shadow: none;
}


.jsGallery .insetSmall {
  display: none;
}


.logo-on {
  display: inline-block !important;
}

.btn-on {
  display: block !important;
}

.logo-off,
.btn-off {
  display: none !important;
}



/* ;nav-transition-from-mobile; 1186px but max-width: -1px */
@media only screen and (max-width: 1185px) {
	.fixed-header .insetLarge{
		height: 100%;
		margin-top: 0;

    /* height: calc(100% - (var(--max-header-height))); */
    /* margin-top: calc((var(--max-header-height))); */
	}

  .fixed-header.page-home .insetLarge {
    height: calc(100% - (var(--max-header-height)));
    margin-top: calc((var(--max-header-height)));
	}



	.nopgbanner {
		height: 0px;
	}
	
	.fixed-header .nopgbanner{
		height: 0px;
	}

}

@media only screen and (max-width: 1290px) {
  .insetLarge .wrap {
    padding: 1.5rem;
    /* width: calc(100% - 3rem); */
  }

  .insetLarge .standard-width {
    /* padding: 1.5rem; */
    /* width: calc(100% - 3rem); */
  }

  .insetLarge .banner-header {
    font-size: 2.5rem;
  }

  .insetLarge p {
    font-size: 1.75rem;
  }
}


@media only screen and (max-width: 1045px) {
  .insetLarge p {
    margin: 0 auto;
  }

  #header .insetLarge p a.btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .insetLarge p a.cms-button-a,
  .insetLarge p a.cms-button-a:visited {
    margin-bottom: 0;
  }

  .insetLarge a.cms-button-a,
  .insetSmall a.cms-button-a {
    padding: 0.5rem 1rem;
    font-weight: 600;
    max-width: 260px;
  }
}


@media only screen and (max-width: 985px) {
  .insetSmall p,
  .insetLarge p {
    display: flex;
    flex-direction: column;
    grid-gap: .75rem;
    align-items: center;
  }

  .btn-on {
    display: none !important;
  }

  .btn-off {
    display: block !important;
  }



  .page-home .jsGallery.banner_gallery .jsgimg {
    width: auto;
    height: 600px;
  }

  .page-home .jsGallery .galleryWrap {
    height: 600px;
  }
}

@media only screen and (max-width: 925px) {
  .logo-off {
    display: inline-block !important;
  }

  .logo-on {
    display: none !important;
  }
}

@media only screen and (max-width: 767px) {
  .insetLarge p:last-child {
    width: 100%;
    margin-top: 0.5rem;
  }

  .insetLarge p a.cms-button-a:nth-of-type(1) {
    margin-right: 0.5rem;
  }

  /* .insetLarge .banner-header,
  .insetSmall .banner-header {
    font-size: 2rem;
  } */


}

@media only screen and (max-width: 679px) {
  .insetLarge {
    display: none;
  }

  .jsGallery .insetSmall {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: 0;
  }

  .page-home .jsGallery .insetSmall {
    height: calc(100% - (var(--max-header-height)));
    margin-top: calc(var(--max-header-height));
  }


  .insetSmall .banner-header {
    font-size: 2rem;
  }

  .insetSmall p {
    font-size: 1.5rem;
  }

  .insetSmall .banner-header,
  .insetSmall p {
    line-height: 1.15em;
  }

  .insetSmall p:last-child {
    margin-top: 1rem;
  }

  .insetLarge .banner-header,
  .insetSmall .banner-header {
    font-size: 1.75rem;
  }

  .insetLarge a.cms-button-a,
  .insetSmall a.cms-button-a {
    padding: .25rem 1rem;
  }

  .insetSmall p,
  .insetLarge p {
    grid-gap: .5rem;
  }

  #topHeaderContact p,
  .btn-on,
  .btn-off {
    display: none !important;
  }



  .page-home .jsGallery.banner_gallery .jsgimg {
    width: auto;
    height: 480px;
  }

  .page-home .jsGallery .galleryWrap {
    height: 480px;
  }
}

@media only screen and (max-width: 550px) {
  #header .insetSmall p a.btn {
    padding: 0.3rem 0.6rem;
  }

  /* .insetSmall p,
  .insetLarge p {
    grid-gap: .25rem;
  } */
}

@media only screen and (max-width: 500px) {
  .btn-top-header-join,
  .btn-top-header-donate {
    display: none;
  }

  /* .insetSmall .banner-header {
    font-size: 1.75rem;
  } */

  .insetSmall p {
    font-size: 1.25rem;
  }

  .insetLarge .banner-header,
  .insetSmall .banner-header {
    /* font-size: 1.25rem; */
    /* font-weight: 600; */
    display: none;
  }

  .insetSmall p:last-child {
    /* margin-top: .5rem; */
    margin-top: 0;
  }

  /* .insetLarge a.cms-button-a,
  .insetSmall a.cms-button-a {
    font-size: 1rem;
  } */
}

@media only screen and (max-width: 450px) {
  .insetLarge a.cms-button-a,
  .insetSmall a.cms-button-a {
    font-weight: 400;
    width: 280px;
    max-width: unset;
    padding: .15rem .25rem;
  }

  .insetLarge .banner-header,
  .insetSmall .banner-header {
    font-size: 1rem;
  }

  .insetSmall p:last-child {
    margin-top: 0.25rem;
  }
}

@media only screen and (max-width: 380px) {
  /* .insetSmall a.cms-button-a {
    padding: .5rem 1rem;
  } */

  .insetLarge a.cms-button-a,
  .insetSmall a.cms-button-a {
    font-size: 1rem;
    /* width: 300px; */
    padding: 0;
  }
}

@media only screen and (max-width: 360px) {
  /* .insetSmall .banner-header {
    font-size: 1.5rem;
  }

  .insetSmall p {
    font-size: 1rem;
  } */
}
