/* ==========================================================================
   Front Page - Welcome banner, homepage hero, slideshow, PDF buttons
   ========================================================================== */

.path-frontpage h2 {
	color: #002c7d;
}
.home-text h2 {
	text-align: left;
}
.footerwidget h2 a {
	font-family: 'PacificNorthwestRoughLetters-Regular';
	font-size: 3vw;
	color: #002c7d;
	text-align: center;
	text-shadow: 1px 1px white;
}

/* --- Welcome Banner --- */
.path-frontpage .main-header {
	position: relative;
	margin: 0;
	padding: 0;
	display: block;
	width: 100%;
	background: url(../images/welcome_banner_bg.webp) no-repeat top center;
	background-size: cover;
}
.path-frontpage .main-header::after {
	background: none;
}
.path-frontpage #block-skylake-theme-page-title {
	margin-top: 350px;
}
.region-welcome-banner-text {
	font-family: 'PacificNorthwestRoughLetters-Regular';
	color: #FFFFFF;
	white-space: nowrap;
	font-size: 5vw;
	text-shadow: 4px 4px #004091;
	padding: 0;
	max-width: 2250px;
	margin-top: 4em;
	margin-bottom: 1em;
}
.region-welcome-banner-text h1 {
	font-size: 8vw;
	color: #FFFFFF;
}
.region-welcome-banner-text h1,
.region-welcome-banner-text h2 {
	color: #FFFFFF;
}
.region-welcome-banner-text h2 {
	font-size: 5vw;
}
.welcome-banner-text {
	max-width: initial;
}
.welcome-banner-text h2 {
	font-size: 4vw;
	margin-top: 0;
}
.path-frontpage .region-welcome-banner-text img {
	padding-right: .8em;
	max-width: 30%;
}
.path-frontpage .content_layout .col-md-12 {
	min-height: 0;
    max-width: 1200px;   /* adjust width */
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* --- Homepage Slideshow --- */
#block-views-block-slideshow-block-2 {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	float: none;
	padding: 2em 2em 0 2em;
}
#block-views-block-slideshow-block-2 .skin-default {
	background: #fff;
	border: 4px solid #fff;
	border-radius: 4px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
	position: relative;
}
.views_slideshow_cycle_teaser_section {
	overflow: hidden;
	border-radius: 4px;
}
.views_slideshow_cycle_main img {
	width: 100%;
	height: auto;
	display: block;
}

/* --- Slideshow Pager Dots --- */
#block-views-block-slideshow-block-2 .views-slideshow-controls-bottom {
	text-align: center;
	padding-top: 14px;
}
#block-views-block-slideshow-block-2 .views-slideshow-pager-bullets {
	list-style: none;
	margin: 0;
	padding: 0;
}
#block-views-block-slideshow-block-2 .views-slideshow-pager-bullets li {
	text-indent: -9999px;
	display: inline-block;
	width: 11px;
	height: 11px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.3);
	margin: 0 6px;
	cursor: pointer;
	overflow: hidden;
}
#block-views-block-slideshow-block-2 .views-slideshow-pager-bullets li.active {
	background: rgba(0, 0, 0, 0.9);
	cursor: default;
}
#block-views-block-slideshow-block-2 .views-slideshow-pager-bullets li:hover {
	background: rgba(0, 0, 0, 0.7);
}

/* --- Slideshow Prev/Next Arrows --- */
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_pause {
	display: none;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous,
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next {
	position: absolute;
	top: 50%;
	margin-top: -20px;
	width: 40px;
	height: 40px;
	opacity: 0;
	z-index: 10;
	transition: all 0.3s ease-in-out;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous {
	left: -50px;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next {
	right: -50px;
}
#block-views-block-slideshow-block-2 .skin-default:hover .views_slideshow_controls_text_previous {
	left: 10px;
	opacity: 0.7;
}
#block-views-block-slideshow-block-2 .skin-default:hover .views_slideshow_controls_text_next {
	right: 10px;
	opacity: 0.7;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous:hover,
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next:hover {
	opacity: 1;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous button,
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next button {
	display: block;
	width: 40px;
	height: 40px;
	text-indent: -9999px;
	overflow: hidden;
	position: relative;
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous button::before,
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next button::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 14px;
	border-top: 3px solid rgba(255, 255, 255, 0.9);
	border-right: 3px solid rgba(255, 255, 255, 0.9);
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.5));
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_previous button::before {
	transform: translate(-50%, -50%) rotate(135deg);
}
#block-views-block-slideshow-block-2 .views_slideshow_controls_text_next button::before {
	transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Interior Slideshow --- */
#block-views-block-slideshow-block-1:not(:has(img)) {
	display: none;
}
#block-views-block-slideshow-block-1 {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	float: none;
	padding: 2em;
}
#block-views-block-slideshow-block-1 .views_slideshow_controls_text_previous,
#block-views-block-slideshow-block-1 .views_slideshow_controls_text_pause,
#block-views-block-slideshow-block-1 .views_slideshow_controls_text_next {
	display: none;
}

/* --- PDF Download Buttons --- */
.file--application-pdf a {
	font-size: 0;
	padding: 1.3vw;
	margin-bottom: 1em;
	border-radius: 12px;
	transition-duration: 0.4s;
	font-family: 'Montserrat', sans-serif;
	text-transform: uppercase;
	font-weight: 700;
	background-color: #FFFFFF;
	border: 2px solid #007a37;
	display: inline-flex;
	color: #007a37;
	text-decoration: none;
}
[data-history-node-id="11"] .file--application-pdf a::before {
	content: 'Apply for Family Camp';
	font-size: 1.3vw;
}
[data-history-node-id="24"] .file--application-pdf a::before {
	content: 'Download the Parent Handbook';
	font-size: 1.3vw;
}
[data-history-node-id="28"] .file--application-pdf a::before {
	content: 'Download the Latest Newsletter';
	font-size: 1.3vw;
}
.file--application-pdf a:hover {
	background-color: #007a37;
	color: #FFFFFF;
}
.file--application-pdf + span {
	display: none;
}

/* --- Cover image / download button spacing --- */
.node__content > div:has(img) {
	padding-top: 2em;
	padding-bottom: 2em;
}
.node__content > div:has(img) a {
	cursor: pointer;
}
.node__content > div:has(.file--application-pdf) {
	padding-bottom: 2em;
}

/* ==========================================================================
   Front Page - Mobile (max-width: 1023px)
   ========================================================================== */
@media (max-width: 1023px) {

	.home-text {
		padding-top: 1em;
	}

	.path-frontpage .content_layout .col-md-12 {
		background-image: none;
	}
	.path-frontpage .region.region-highlighted {
		background-color: #007a37;
	}

	div#block-views-block-slideshow-block-1 {
		width: 100%;
		float: none;
		margin-right: 0;
		padding: 0 1em 0 0;
	}

	.path-frontpage .main-header {
		/* background: url(../images/welcome_banner_bg_mobile.webp) no-repeat top center;
		background-position: 0 25px;
		background-size: cover;
		height: 320px; */
	}

	.path-frontpage p {
		font-weight: 400;
	}

	.path-frontpage .region.region-welcome-banner-text,
	.welcome-banner-text h1 {
		margin-top: 3em;
	}

	.welcome-banner-text h2 {
		display: none;
	}

	.welcome-banner-text {
		height: 325px;
		font-size: 5vw;
	}

	div#block-summercamphomepagetext {
		margin-bottom: -20px;
	}

	.region.region-welcome-banner-text {
		margin-top: 25%;
	}

	.welcome-banner-text h1 {
		text-shadow: 2px 2px #004091;
	}

	.views-field.views-field-field-landing-page-hero {
		padding-top: 45px;
	}

	nav#block-mobilesecondarynav {
		display: inline-block;
		background-color: #70bdff;
		width: 100%;
	}

	#block-skylakeyosemitecamp img {
		max-width: 30%;
	}

	p.field-content.activity-title a {
		/* font-size: 5vw; */
	}

	.flexslider {
		display: none;
	}

	.region-welcome-banner-text h1 {
		font-size: 1.2em;
	}

	#block-views-block-hero-image-block-block-1 {
		margin: 0;
	}
}

/* ==========================================================================
   Front Page - Tablet (768px - 1023px)
   ========================================================================== */
@media (min-width: 768px) and (max-width: 1023px) {

	div#block-views-block-slideshow-block-1 {
		width: 100%;
		float: none;
		margin-right: 0;
		padding: 0 1em 0 0;
	}

	.welcome-banner-text {
		max-width: none;
		height: 425px;
	}

	div#block-summercamphomepagetext {
		margin-bottom: -20px;
	}

	.path-frontpage p {
		font-size: 2vw;
	}

	.region.region-welcome-banner-text {
		margin-bottom: 0;
		margin-top: 2em;
	}

	.path-frontpage .main-header {
		background-position: 100% 55px;
	}

	.home-text {
		padding-top: 1em;
	}

	.views-field.views-field-field-landing-page-hero {
		padding-top: 45px;
	}

	.welcome-banner-text h1 {
		text-shadow: 3px 3px #004091;
	}

	#block-skylakeyosemitecamp img {
		max-width: 30%;
	}

	#block-views-block-hero-image-block-block-1 {
		margin: 0;
	}
}
