/*
Theme Name: Avalanche Base Camp Child Theme
Theme URI: https://avalanchegr.com
Version: 1.0
Description: A complete theme packaged with everything you need to get started building momentum.
Author: Avalanche Creative
Author URI: https://avalanchegr.com
template: bb-theme
*/

/*-------- GLOBAL --------*/

/*add an arrow to the blog button*/
.pp-more-link-button::after {
    content: "\e97e";
    font-family: "Ultimate-Icons";
    margin-left: 8px;
    display: inline-block;
    font-size: 1.3em;
    height: auto;
    vertical-align: middle;
}

.pill {
    border: 1px solid var(--fl-global-white);
    border-radius: 100px;
    padding: 8px 15px;
    width: fit-content;
}

.pill h4 {
	line-height: 0;
}

.pp-icon-list .pp-icon-list-items .pp-icon-list-item .pp-list-item-text {
    transform: translateY(-2px);
}

.fl-button {
  white-space: nowrap;
}

.plbc-icon img {
    min-width: 46px;
}

.hyperlink span,
.hyperlink a {
    text-decoration: underline;
}

.hyperlink.green a:hover {
    color: var(--fl-global-green-2)!important;
}
.card {
  /* The "Secret Sauce": smooths the movement */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  /* Lift the card up 10 pixels */
  transform: translateY(-10px);
  
  /* Deepen the shadow to enhance the 3D effect */
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/*
.uabb-tabs > nav li, .uabb-tab-current > nav li {
    border-radius: 15px !important;
    margin-bottom: 1em !important;
}
.uabb-tabs > nav li a:hover, a.uabb-tab-link {
    border-radius: 15px !important;
}
*/

.camp-tabs .uabb-tabs > nav a span, .uabb-tabs > nav a .uabb-tab-title {
    vertical-align: text-top;
}

.fl-module-advanced-tabs.camp-tabs .fl-module-content .uabb-tabs ul li {
	margin: 0;
}

div.uabb-tabs > nav {
    text-align: center;
    overflow: hidden;
    border-radius: 15px;
}

.uabb-content {
    margin-top: 1em;
	margin-bottom: 1em;
}

.theme-blue {
  background-color: var(--fl-global-blue);
  color: var(--fl-global-blue);
}

.theme-green {
  background-color: var(--fl-global-green-3);
  color: var(--fl-global-green-3);
}

.theme-red {
  background-color: var(--fl-global-red);
  color: var(--fl-global-red);
}

.theme-brown {
  background-color: var(--fl-global-secondary);
  color: var(--fl-global-secondary);
}

.btn-blue .fl-button {
	background-color: var(--fl-global-blue)!important;
	border-color: var(--fl-global-blue)!important;
}

.theme-btn.btn-blue .fl-button:hover {
	background-color: var(--fl-global-white)!important;
	color: var(--fl-global-blue)!important;
}

.theme-btn.btn-blue .fl-button:hover span,
.theme-btn.btn-blue .fl-button:hover i {
	color: var(--fl-global-blue)!important;
}

.btn-red .fl-button {
	background-color: var(--fl-global-red)!important;
	border-color: var(--fl-global-red)!important;
}
.btn-red .fl-button:hover {
	background-color: var(--fl-global-white)!important;
	color: var(--fl-global-red)!important;
}

.theme-btn.btn-red .fl-button:hover span,
.theme-btn.btn-red .fl-button:hover i {
	color: var(--fl-global-red)!important;
}


.btn-green .fl-button {
	background-color: var(--fl-global-green)!important;
	border-color: var(--fl-global-green-3)!important;
}
.btn-green .fl-button:hover {
	background-color: var(--fl-global-white)!important;
	color: var(--fl-global-green-3)!important;
}

.theme-btn.btn-green .fl-button:hover span,
.theme-btn.btn-green .fl-button:hover i {
	color: var(--fl-global-green-3)!important;
}


.btn-brown .fl-button {
	background-color: var(--fl-global-secondary)!important;
	border-color: var(--fl-global-secondary)!important;
}
.btn-brown .fl-button:hover {
	background-color: var(--fl-global-white)!important;
	color: var(--fl-global-secondary)!important;
}

.theme-btn.btn-brown .fl-button:hover span,
.theme-btn.btn-brown .fl-button:hover i {
	color: var(--fl-global-secondary)!important;
}


.bg-blue .fl-row-content-wrap {
	background-color: var(--fl-global-blue);
}
.bg-red .fl-row-content-wrap {
	background-color: var(--fl-global-red);
}
.bg-green .fl-row-content-wrap {
	background-color: var(--fl-global-green-3);
}
.bg-brown .fl-row-content-wrap {
	background-color: var(--fl-global-secondary);
}

/*-------- FONTS --------*/

h2.large {
    font-size: 144px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%; /* 158.4px */
    letter-spacing: 2.88px;
    text-transform: uppercase;
}

h1.large {
    font-size: 112px;
    font-style: normal;
    font-weight: 400;
    line-height: 110%;
    text-transform: uppercase;
}

.special-large p {
    font-family: "Headline One", Verdana, Arial, sans-serif;
	font-size: 96px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 42px */
}

.extra-large p {
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 42px */
}

.large p {
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: 140%; /* 42px */
}

.eyebrow p {
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: 140%;
    letter-spacing: 1.1px;
    text-transform: uppercase;
}

/*-------- HEADER --------*/

header {
    box-shadow: 0px 5px 6px 0px #0000000a;
}

header div:first-child a {
    color: var(--fl-global-white);
    text-decoration: underline;
}

header div:first-child a:hover {
    color: var(--fl-global-green-1);
}

header .uabb-imgicon-wrap {
    line-height: 1;
}

/*nav btn styling*/

.uabb-creative-menu.uabb-menu-default .menu > li.btn a,
.uabb-creative-menu.off-canvas .menu > li.btn a{
    border: 2px solid var(--fl-global-green-3);
    border-radius: 50px;
	display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    transition: all 300ms;
}

.uabb-creative-menu.off-canvas .menu > li {
	margin-top: 10px;
}

li.btn.primary a,
.uabb-creative-menu.off-canvas .menu > li.btn.primary a {
    background-color: var(--fl-global-green-3);
	border: 2px solid var(--fl-global-green-3);
	border-radius: 50px;
    transition: all 300ms;
}

li.btn.primary a:hover,
.uabb-creative-menu.off-canvas .menu > li.btn.primary a:hover {
    background-color: var(--fl-global-white);
}

.uabb-creative-menu.uabb-menu-default .menu > li.btn.primary a span,
.uabb-creative-menu.off-canvas .menu > li.btn.primary a span {
    color: var(--fl-global-white);
}

.uabb-creative-menu.uabb-menu-default .menu > li.btn.primary a:hover span,
.uabb-creative-menu.off-canvas .menu > li.btn.primary a:hover span {
    color: var(--fl-global-green-3);
}

.brex-mega-menu-desktop .brex-mega-menu > li.btn.secondary > a
{
	border: 2px solid var(--fl-global-green-3);
	border-radius: 50px;
	color: var(--fl-global-green-3);
	padding: 8px 20px;
	transition: all 300ms;
	font-size: var(--fl-global-text-font-size);
}

li.btn.secondary a:hover,
.uabb-creative-menu.off-canvas .menu > li.btn.secondary a:hover,
.brex-mega-menu-desktop .brex-mega-menu > li.btn.secondary > a:hover
{
    background-color: var(--fl-global-green-3);
	color: var(--fl-global-white);
}

.uabb-creative-menu.uabb-menu-default .menu > li.btn.secondary a span,
.uabb-creative-menu.off-canvas .menu > li.btn.secondary a span {
    color: var(--fl-global-green-3);
}

.uabb-creative-menu.uabb-menu-default .menu > li.btn.secondary a:hover span,
.uabb-creative-menu.off-canvas .menu > li.btn.secondary a:hover span {
    color: var(--fl-global-white);
}


#mega-menu-camps .uabb-tabs li a,
#mega-menu-resources .uabb-tabs li a {
    text-align: left;
}

#mega-menu-camps .uabb-tabs li:nth-child(-n+4) a:hover .uabb-tab-title{
  color: var(--fl-global-blue);
}

#mega-menu-camps .uabb-tabs li:nth-child(5) a:hover .uabb-tab-title{
  color: var(--fl-global-red);
}

#mega-menu-camps .uabb-tabs li:nth-child(n+6):nth-child(-n+7) a:hover .uabb-tab-title{
  color: var(--fl-global-green-2);
}
#mega-menu-camps .fl-callout-content a,
#mega-menu-resources .fl-callout-content a {
    transition: all 300ms;
}

#mega-menu-camps .fl-callout-content a:hover,
#mega-menu-resources .fl-callout-content a:hover {
    border-color: var(--fl-global-primary);
}

.brex-mega-menu>li.drop-down .drop-down-ul {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
	overflow: hidden;
}

/*----- HOVER INFO BOX MODULE ----- */
.pp-hover-card.style-1 {
  position: relative;
  overflow: hidden;
}
.pp-hover-card.style-1 .pp-hover-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
  z-index: 2;
}
.pp-hover-card.style-1 .pp-hover-card-title-wrap {
  transform: translateY(20px)!important;
  transition: transform 350ms ease !important;
}
.pp-hover-card.style-1:hover .pp-hover-card-title-wrap {
  transform: translateY(0)!important;
}
.pp-hover-card.style-1 .pp-hover-card-description {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: max-height 550ms ease, opacity 400ms ease, transform 550ms ease;
}
.pp-hover-card.style-1:hover .pp-hover-card-description {
  max-height: 200px;
  opacity: 1;
  transform: translateY(0);
}
.pp-hover-card.style-1 .pp-hover-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.pp-hover-card.style-1 .pp-hover-card-title-wrap .pp-hover-card-title {
  text-shadow: 0 0 6px #000000db;
	transition: color 0ms;
}
.pp-hover-card.style-1:hover .pp-hover-card-title-wrap .pp-hover-card-title {
  text-shadow: none;
}
.pp-hover-card:before {
  background: rgba(0, 0, 0, 0.15);
  opacity: 1;
}

/*-------- HOMEPAGE --------*/

#blue-wave,
#blue-wave .uabb-image-separator,
#blue-wave .uabb-imgseparator-wrap img {
    width: 100%;
}

/*-------- FAQ --------*/

.faq h3 {
	font-family: 'SN Pro';
	font-size: 22px;
	font-weight: 700;
}

/* 1. The Inactive (Default) State */
.faq .pp-accordion-item {
    border: 1px solid #CDCDCD;
    border-radius: 15px;
    transition: border 0.3s ease;
    margin-bottom: 10px;
}

/* 2. The Active Header State */
.faq .pp-accordion-item.pp-accordion-item-active .pp-accordion-button {
    border: 2px solid var(--fl-global-primary);
    border-bottom: none;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

/* 3. The Active Content State */
.faq .pp-accordion-item.pp-accordion-item-active .pp-accordion-content {
    border: 2px solid var(--fl-global-primary);
    border-top: none;
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
}

/* 4. Remove the default wrapper border when active to prevent "double borders" */
.faq .pp-accordion-item.pp-accordion-item-active {
    border: none;
}

/*-------- CAMP ARCHIVE --------*/

.pp-content-grid-post {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0 0 24px;
}

.pp-content-grid-post-text {
	padding: 0;
}

.camp-grid-card {
	display: flex;
	align-items: stretch;
	background: var(--fl-global-white);
	border: 1px solid #d7d1c8;
	border-radius: 30px;
	padding: 22px 28px;
	overflow: hidden;
}

.camp-grid-accent {
	width: 6px;
	min-width: 6px;
	border-radius: 999px;
	background: var(--fl-global-blue);
	margin-right: 18px;
}

.camp-grid-main {
	display: grid;
	grid-template-columns: minmax(240px, 280px) minmax(150px, 180px) 1fr auto;
	align-items: center;
	gap: 28px;
	width: 100%;
}

.camp-grid-title-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.camp-grid-title {
	margin: 0;
}

.camp-grid-card h4.camp-grid-title a {
	color: var(--fl-global-blue);
	text-decoration: none;
}

.camp-grid-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: fit-content;
	padding: 8px 16px;
	border: 1px solid var(--fl-global-blue);
	border-radius: 999px;
	font-size: 14px;
	line-height: 1;
	font-weight: 600;
	color: var(--fl-global-blue);
}

.camp-grid-date-wrap {
	display: flex;
	align-items: center;
	gap: 12px;
	color: var(--fl-global-primary);
	font-size: 15px;
	font-weight: 600;
}

.camp-grid-date-icon i {
	font-size: 18px;
	line-height: 1;
}

.camp-grid-description {
	font-size: 15px;
	line-height: 1.7;
	color: var(--fl-global-primary);
}

.camp-grid-button-wrap {
	display: flex;
	justify-content: flex-end;
}

.pp-content-post .camp-grid-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-width: 170px;
	padding: 18px 30px;
	background: var(--fl-global-primary);
	color: #fff;
	text-decoration: none;
	border: 1px solid var(--fl-global-primary);
	border-radius: 999px;
	font-weight: 700;
	transition: background .3s ease, color .3s ease;
	white-space: nowrap;
}

.camp-grid-button:hover {
	background: var(--fl-global-white);
	color: var(--fl-global-green-3);
	border: 1px solid var(--fl-global-green-3);
}

.camp-grid-arrow {
	font-size: 24px;
	line-height: 1;
	margin-top: -1px;
}

.table-style table.tablesaw,
.table-style-2 table.tablesaw {
	border-radius: 15px;
	overflow: hidden;
}

.table-style-2 table.tablesaw tbody tr td:nth-child(1) .tablesaw-cell-content {
	font-weight: 700;
}

.table-style table.tablesaw tbody tr td:nth-child(2) .tablesaw-cell-content {
	color: var(--fl-global-green-3);
	font-weight: 700;
}

.table-style table.tablesaw tbody tr td:nth-child(3) .tablesaw-cell-content {
	color: var(--fl-global-green-2);
	font-weight: 700;
}

/* stack on tablet */
@media (max-width: 1100px) {
	.camp-grid-main {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.camp-grid-button-wrap {
		justify-content: flex-start;
	}

	.camp-grid-description {
		grid-column: 1 / -1;
	}
}

/* stack on mobile */
@media (max-width: 767px) {
	.camp-grid-card {
		padding: 20px 18px;
		border-radius: 24px;
	}

	.camp-grid-main {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.camp-grid-button {
		width: 100%;
	}
}

/* Red Version for Family Camp */
.camp-grid-card.theme-red .camp-grid-accent {
	background: var(--fl-global-red);
}

.camp-grid-card.theme-red .camp-grid-title a,
.camp-grid-card.theme-red .camp-grid-badge {
	color: var(--fl-global-red);
}

.camp-grid-card.theme-red .camp-grid-badge {
	border-color: var(--fl-global-red);
}

/*--------- LARGE AND XLARGE DEVICE ONLY -------- */

@media screen and (min-width: 993px) {

	ul.uabb-creative-menu-horizontal {
		display: flex;
		justify-content: center;
	}

	ul.uabb-creative-menu-horizontal.menu > li {
		display: flex;
		align-items: center; 
	}
	
}

/*------ MEDIUM SCREEN ONLY ------ */

@media screen and (min-width: 769px) and (max-width: 996px) {
    h2.large,
	h1.large {
        font-size: 84px;
    }
    
    .extra-large p {
        font-size: 20px;
    }
    
}

/*------ SMALL SCREEN ONLY ------ */

@media screen and (max-width: 768px) {
    h2.large,
	h1.large {
        font-size: 54px;
		line-height: 1.1;
    }
    
    .extra-large p,
	.large p {
        font-size: 18px;
    }
    
    .eyebrow p {
        font-size: 18px;
    }
	
	.table-style table.tablesaw tbody tr td:first-child .tablesaw-cell-content,
	.table-style-2 table.tablesaw tbody tr td:first-child .tablesaw-cell-content {
		font-size: 26px;
		font-weight: 700;
		line-height: 1.1;
	}
	
	.table-style table.tablesaw tbody tr td:first-child,
	.table-style-2 table.tablesaw tbody tr td:first-child {
		padding-bottom: 0;
	}
	.tablesaw-cell-content {
		font-size: 16px;
		line-height: 1.2;
	}
	
}