/*
Theme Name: Aileron Shift Child Theme
Theme URI: http://aileronshift.com
Version: 1.0
Description: A child theme that can be used for custom development.
Author: Aileron Shift
Author URI: http://aileronshift.com
template: bb-theme
*/

/* HEADER */
#mega-menu-wrap-header #mega-menu-header li.mega-main-login a.mega-menu-link {
    line-height: 1 ;
	height: inherit;
	background: #fff;
    color: #778E9A;
    border-radius: 20px;
	border: 1px solid #778E9A;
    padding: 10px 20px;
	font-size: 13px;
	font-weight: bold;
}

#mega-menu-wrap-header #mega-menu-header li.mega-main-login a.mega-menu-link:is(:hover, :active, :focus) {
	background: #778E9A;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}

#mega-menu-wrap-header #mega-menu-header li.mega-main-join a.mega-menu-link {
	margin-left: 10px;
    line-height: 1;
	height: inherit;
	background: #4EA1D3;
    color: #fff;
    border-radius: 20px;
	border: 1px solid #4EA1D3;
    padding: 10px 25px;
	font-size: 13px;
	font-weight: bold;
}

#mega-menu-wrap-header #mega-menu-header li.mega-main-join a.mega-menu-link:is(:hover, :active, :focus) {
	background: #475973;
	border-color: #475973;
	color: #fff;
	font-size: 13px;
	font-weight: bold;
}


.so-mega-menu-title {
	font-size: 1.2rem;
	font-weight: 700;
}

/* Item null links */
.mega-sub-menu .so-mega-menu-item-no-link > a.mega-menu-link {
	color: #f1f1f1 !important;
	font-weight: 700 !important;
}
.mega-sub-menu .so-mega-menu-item-no-link > a.mega-menu-link:is(:hover, :active, :focus) {
	text-decoration: none !important;
	border-bottom: none !important;
}

nav .fl-menu-mobile-flyout #menu-main-menu {
	text-align: left;
}

@media (max-width: 768px) {
     .flyout-menu .fl-col-group.fl-col-group-equal-height {
        display: flex;
        flex-wrap: nowrap;
    }
	
	.flyout-menu .fl-col-group.fl-col-group-equal-height .flyout-col-2 .fl-module-button {
		margin-right: 0 !important;
	}
	
	.flyout-menu .fl-col-group.fl-col-group-equal-height .flyout-col-3 .fl-module-icon .fl-module-content {
		margin-left: 0 !important;
	}
	
	#menu-main-menu-1 li.main-login,
	#menu-main-menu-1 li.main-join {
		display: none;
	}
	
	.uabb-offcanvas-close-icon-wrapper {
	top: 50px;
	}
}	
	

.menu .sub-menu .menu-item .uabb-has-submenu-container a::before {
	content: "+" !important;
	margin-left: -20px;
    padding-right: 10px;
}

/* STICKY MENU */
.so-sticky-subnav-row {
	position: sticky;
	top:  0;
	z-index: 99;	
}
.so-sticky-subnav ul {
	list-style: none;
	padding: 0;
    display: flex;
    justify-content: space-evenly;
	align-items:  center;
    margin-bottom: 0;
}

.so-sticky-subnav ul li a {
	padding: 20px 15px;
}

.so-sticky-subnav ul li a:is(.active, :hover, :active, :focus) {
	text-decoration: underline;
}

.so-sticky-subnav-row {
	position: sticky;
	top:  0;
	z-index: 99;
	background-color: #ececec;
  	box-shadow: 0 3px 10px rgba(204, 204, 204, 0.5);
 	transition: background-color 250ms linear;
  	width: 100%;
}

.so-sticky-subnav-row a {
  color: #0073b1;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
/*   padding: 0 25px; */
  display: block;
  transition: all 150ms linear;
}

.so-sticky-subnav-row a:hover,
.so-sticky-subnav-row a:focus {
  background-color: #00b6e3;
  color: #fff;
}

.so-sticky-subnav-row.is-scrolled {
  background-color: #00b6e3;
/* 	border-radius: 30px;
  width: 90%;
  margin: 5px auto; */
}

.so-sticky-subnav-row.is-scrolled a {
  color: #fff;
}

.so-sticky-subnav-row.is-scrolled a:is(:hover, :focus, :active, .active) {
  background-color: #fff;
  color: #0073b1;
} 

/*STICKY NAV LINK BUTTON STYLE*/
.so-sticky-subnav ul li a.btn {
	background: #90c856;
    border-radius: 50px;
    padding: 10px;
    color: #fff;
}

.so-sticky-subnav-row.is-scrolled .so-sticky-subnav ul li a.btn:is(:hover, :focus, :active, .active) {
	color: #fff;
}

.so-sticky-subnav ul li a.btn:is(:hover, :active, :focus) {
	background: #475973;
}


/* COMPONENTS */
.list-style-01 ul {
	list-style: none;
}

.list-style-01 ul li {
	display: flex;
	/*margin-bottom: 10px;*/
}

.list-style-01.bullet-blue ul li::before {
	content: url("/wp-content/themes/bb-theme-child/images/ul-check-bullet-blue.svg");
	margin-right: 15px;
}

.list-style-01.bullet-green ul li::before {
	content: url("/wp-content/themes/bb-theme-child/images/ul-check-bullet-green.svg");
	margin-right: 15px;
}

/* RATES MODULE */

.so-rates-table .table-wrapper {
  max-width: 100%;
  overflow-x: auto;
}

.so-rates-table .responsive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.so-rates-table .responsive-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.5rem;
  caption-side: top;
	font-size: 1.7rem;
	color: #0273b1;
}

.so-rates-table .responsive-table caption span {
	display: block;
    font-size: .8rem;
    font-weight: 400;
	color: #535862;
}

.so-rates-table .responsive-table th,
.so-rates-table .responsive-table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}

.so-rates-table .responsive-table thead {
  background-color: #f5f5f5;
}

/* Mobile styles */
@media (max-width: 600px) {
.so-rates-table   .responsive-table thead {
    display: none;
  }

.so-rates-table   .responsive-table tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
  }

 .so-rates-table  .responsive-table th[scope="row"] {
    background: #f5f5f5;
    display: block;
    font-weight: 600;
  }

.so-rates-table   .responsive-table td {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border: none;
    border-top: 1px solid #eee;
  }

.so-rates-table   .responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    margin-right: 1rem;
  }
}


/* CALCULATOR */

.calculator {
  border: 2px solid #dadada;
}

.calculator .calculator-header {
  text-align: center;
  height: 60%;
  padding: 30px 0 40px;
}

.calculator .calculator-body {
  padding: 30px 40px 0;
  border-top: 2px solid #dadada;
}

.calculator .calculator-header .output-result {
  color: #0273b1 !important;
  font-size: 50px !important;
  font-weight: 400;
  padding: 10px 10px 20px;
}

.calculator .calculator-section {
  margin-bottom: 30px;
}

.calculator .calculator-section .input-group {
  display: flex;
  width: 100%;
  border-bottom: 2px solid #d4d3d4;
}

.calculator .calculator-section .input-group .pre {
  color: #909ca1;
  font-size: 20px;
  text-align: center;
  padding: 0 10px;
  min-width: 30px;
}

.calculator .calculator-section .input-group input {
  font-size: 30px !important;
  color: #000;
  margin: 0;
  padding: 8px 10px;
  border: none;
  background-color: #fff;
}

.calculator .calculator-footer {
  padding: 0 40px 15px !important;
}

.calculator .calculator-footer a {
  display: block;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  padding: 14px 18px;
  background-color: #0273b1;
  border: 1px solid transparent;
  color: #fff;
  font-size: 17px;
  line-height: 1;
  width: 100%;
}

.calculator .calculator-footer a.button:is(.active, :focus, :hover, :active) {
  background-color: #475973;
}

.calculator .calculator-footer {
  font-size: 16px !important;
  text-align: center !important;
  padding: 0 0 20px;
}

/* LOGIN DESKTOP */
.login_frame {
    background-color: #fff;
	border-radius: 10px;
	padding: 30px;
	font-size: 14px;
}

.login_field {
	font-size: 14px;
	margin: 10px 0 0 0;
}

.login_button {
    width: 100%;
	padding: 10px;
	font-weight: bold;
	margin: 20px 0 20px 0;
	background: #005482;
}

.login_button_business {
    width: 100%;
	padding: 10px;
	font-weight: bold;
	margin: 20px 0 20px 0;
	background: #629E42;
}


@media (max-width: 768px) {
	.login_frame  {
		display: none;
	}

}


/* FAMILY STYLES */
.stacked-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.stacked-list li {
  list-style: none;
  padding: 15px;
  padding-left: 0 !important;
  margin-left: 0 !important;
  border-bottom: 1px solid #e5e5e5;
  width: 100%;
}

.stacked-list li:last-child {
  border-bottom: none;/* remove line from last item */
}

/* BLOG STYLES */
/* Beaver Builder Card List */

.bb-card-list ul{
    list-style: none;
    padding: 0;
    margin: 0;
}

.bb-card-list ul li{
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 14px;
    position: relative;
    box-shadow: 0 1px 2px rgba(0,0,0,.05);
    transition: all .15s ease;
	list-style: none;
	text-align: center;
	font-weight: bold;
}

.bb-card-list ul li:hover{
    box-shadow: 0 6px 14px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

/*.bb-card-list ul li:before{
    content: "•";
    position: absolute;
    left: 18px;
    top: 16px;
    font-size: 20px;
    color: #007bff;
}*/

/* FOOTER */
.footer-column .footer-menu ul {
	list-style: none;
    padding-left: 0;
}

.footer-column .footer-menu ul li {
	line-height: 2.0;
	font-size: 14px;
}


/* MEDIA QUERIES */

@media (max-width: 600px) {
	.footer-column .footer-menu ul  {
		text-align: center;
	}
	.footer-column .footer-menu ul li {
	line-height: 1.7;
	font-size: 14px;
}
}

/* =========================================================
   SKYONE LIGHTBOX AND APP FORK
   ========================================================= */

/* ---------- Overlay ---------- */

.mfp-bg {
  background: rgba(9, 24, 43, 0.34) !important;
  opacity: 1 !important;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.mfp-fade.mfp-bg {
  opacity: 0;
  transition: opacity 0.28s ease;
}

.mfp-fade.mfp-bg.mfp-ready {
  opacity: 1;
}

.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* ---------- Popup shell ---------- */

.mfp-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999 !important;
  outline: none;
  -webkit-backface-visibility: hidden;
}

.mfp-container {
  position: absolute;
  width: 100%;
  height: 100%;
  padding: 24px;
  text-align: center;
  box-sizing: border-box;
}

.mfp-container:before {
  content: "";
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}

.mfp-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  background: transparent !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left;
  overflow: visible !important;
}

/* Remove extra Beaver / Magnific wrapper shell */
.mfp-wrap .mfp-container .mfp-content > div:not(.skyone-lightbox-card):not(.skyone-membership-modal) {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* ---------- Default close button ---------- */

.mfp-close {
  position: absolute !important;
  right: 15px !important;
  width: 60px !important;
  height: 60px !important;
  font-size: 40px !important;
  font-weight: 400 !important;
  color: #5d6c80 !important;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  transform: none !important;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.mfp-close:hover {
  color: #173056 !important;
  opacity: 1 !important;
  transform: none !important;
}

.mfp-close:active {
  transform: none !important;
}

/* ---------- Reusable lightbox card ---------- */

.skyone-lightbox-card,
.skyone-membership-modal {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #ffffff;
  border: 1px solid #e6edf4;
  border-radius: 28px;
  padding: 40px 34px 34px;
  box-shadow: 0 28px 80px rgba(11, 31, 57, 0.24);
  text-align: left;
  box-sizing: border-box;
  margin: 0 !important;
}

/* ---------- Membership modal content ---------- */

.skyone-membership-modal .membership-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 54px 26px 0;
}

.skyone-membership-modal .membership-kicker {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  background: #ecf6ff;
  border: 1px solid #c8e0f2;
  border-radius: 999px;
  color: #0273b1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  box-sizing: border-box;
}

.skyone-membership-modal h2 {
  margin: 0 0 12px;
  color: #173056;
  font-size: 48px;
  line-height: 1.02;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.skyone-membership-modal .membership-subtext {
  margin: 10px 0 35px;
  color: #5f7086;
  font-size: 20px;
  line-height: 1.5;
  max-width: 32ch;
}

.skyone-membership-modal .membership-options {
  display: grid;
  gap: 14px;
  margin: 0;
}

.skyone-membership-modal .membership-option {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 60px;
  padding: 16px 22px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none !important;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  box-sizing: border-box;
  background: #0273b1;
  border: 2px solid #0273b1;
  color: #ffffff !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.skyone-membership-modal .membership-option:hover {
  background: #4ea1d3;
  border-color: #0b7dbc;
}

.skyone-membership-modal .membership-option:focus,
.skyone-membership-modal .membership-option:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(2, 115, 177, 0.16);
}

.skyone-membership-modal .membership-option:visited {
  color: #ffffff !important;
}

/* ---------- Animation ---------- */

.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
  transform: translateY(8px) scale(0.97);
}

/* ---------- Mobile ---------- */

@media (max-width: 767px) {
  .mfp-container {
    padding: 16px;
  }

  .mfp-content {
    max-width: 100%;
  }

  .mfp-close {
    top: 10px !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 30px !important;
  }

  .skyone-lightbox-card,
  .skyone-membership-modal {
    border-radius: 24px;
    padding: 36px 22px 24px;
  }

  .skyone-membership-modal .membership-top-row {
    margin: 0 40px 22px 0;
  }

  .skyone-membership-modal .membership-kicker {
    font-size: 15px;
  }

  .skyone-membership-modal h2 {
    font-size: 36px;
    line-height: 1.06;
  }

  .skyone-membership-modal .membership-subtext {
    font-size: 18px;
    max-width: none;
  }

  .skyone-membership-modal .membership-option {
    min-height: 56px;
    font-size: 18px;
    padding: 15px 18px;
  }
}


/* ALGOLIA STYLES */

.ais-InstantSearch,
.main-panel {
  width: 100%;
  max-width: 100%;
}

.right-panel,
#refinement-list,
#current-refinements,
#clear-refinements {
  display: none !important;
}

.ais-hits--title-link {
	font-size: 18px;
	color: #0073B1;
}

.ais-hits--content-snippet {
	font-size: 16px;
}