/*
Theme Name: BP Child Theme
Theme URI: https://github.com/yourusername/bp-child-theme
Description: A child theme for BP Patio Theme with custom popups and theme options
Author: Your Name
Author URI: https://example.com
Template: bp-underscore-theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bp-child-theme
Domain Path: /languages
*/

/* Import parent theme styles */
@import url('../bp-underscore-theme/style.css');

/* ────────────────────────────────
   RESET & BASE STYLES
   ──────────────────────────────── */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

.post, .page {
	margin: 0;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
  padding: 0;
}

div,
span {
  margin: 0;
  padding: 0;
}

p {
	margin 0 0 1em;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ────────────────────────────────
   CONTAINER & LAYOUT UTILITIES
   ──────────────────────────────── */

section {
	max-width: 2000px;
	margin-left: auto;
	margin-right: auto;
}

.body-small {
  font-size: 14px;
  line-height: 20px;
}

.footer-text {
  font-size: var(--small-size);
  line-height: var(--small-line-height);
}

/* ────────────────────────────────
   RESPONSIVE VISIBILITY UTILITIES
   Mirrors Elementor's own hidden-mobile / hidden-tablet /
   hidden-desktop classes used in the PPC page export.
   ──────────────────────────────── */

.hidden-mobile,
.hidden-tablet,
.hidden-desktop {
  /* base state: visible; media queries below control hiding */
}

@media (max-width: 768px) {
  .hidden-mobile {
    display: none !important;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hidden-tablet {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .hidden-desktop {
    display: none !important;
  }
}

/* ────────────────────────────────
   POPUP MODAL STYLES (Shared)
   ──────────────────────────────── */

.bp-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease-in-out;
}

.bp-popup.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-popup-content {
  background-color: #fff;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
	width: 540px;
  max-width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease-out;
}

.bp-popup-content h2 {
	font-size: 30px;
	margin-bottom: 20px;
}

.bp-popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: red;
  transition: color 0.2s ease;
  z-index: 10001;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-popup-close:hover {
  color: red;
}

.bp-open-popup {
  cursor: pointer;
  transition: all 0.2s ease;
}

/* ────────────────────────────────
   ANIMATIONS (Shared)
   ──────────────────────────────── */

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* ────────────────────────────────
   FORM INTEGRATION (Shared)
   ──────────────────────────────── */

.frm_forms {
  margin: 0;
}

.frm_forms form {
  max-width: 100%;
}

.frm_forms fieldset {
	border: 0;
	padding: 0;
	margin: 0;
}

.frm_forms input, .frm_forms select, .frm_forms textarea {
    width: 100%;
    margin-bottom: 0.75em;
    box-sizing: border-box;
	border-radius: 6px;
	font-size: 18px;
    line-height: 24px;
	padding: 8px 14px;
}

.frm_forms input[type=submit], 
.frm_forms button[type=submit]{
	width: 100%;
}

/* Full width page content */

.bp-page-content {
  width: 100%;
	margin: 0;
}

.bp-page-content .entry-content {
  margin: 0;
  padding: 0;
}

.Sirv.sirv-thumbnails-only-gallery .smv-selectors-box .smv-selectors .smv-ss .smv-scroll {
    justify-content: center;
	max-height: 480px;
    overflow: hidden;
	align-content: flex-start!important; 
}

.text-bold {
    font-weight: bold;
}

.text-italic {
	font-style: italic;
}

.text-center {
	text-align: center;
}

#ui-datepicker-div.ui-datepicker {
    z-index: 10000!important
}

/* ── Header & Urgency Bar Styles ── */

.site-header {
  z-index: 100;
  background-color: var(--color-bg-white);
}

.header-urgency-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  background-color: var(--color-bg-white);
}

.header-urgency-container.container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: auto;
  padding: 12px 16px;
  min-height: 56px;
	max-width: 1600px;
}

.header-urgency-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 20px;
}

.header-logo {
  object-fit: contain;
  width: auto;
  max-width: 200px;
  flex-shrink: 0;
}

.header-urgency-text {
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  font-size: 25px;
  font-weight: var(--body-medium-weight);
  line-height: var(--body-line-height);
  white-space: nowrap;
  flex-shrink: 0;
}

/* Mobile Responsive */
@media (max-width: 499px) {
  .header-urgency-container {
    padding: 8px 12px;
    min-height: 50px;
  }

  .header-logo {
    max-width: 150px;
  }

  .header-urgency-text {
    font-size: 15px;
  }
}

/* Tablet and up */
@media (min-width: 500px) {
  .header-urgency-container {
    padding: 12px 20px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .header-urgency-container {
    padding: 12px 40px;
  }

  .header-urgency-text {
    white-space: nowrap;
  }
}

/* Extra large screens */
@media (min-width: 1600px) {
  .header-urgency-container {
    padding: 12px 60px;
  }
}

.site-footer {
	display: none;
}

.round-bl{
	border-bottom-left-radius: 1em;
}
.round-br{
	border-bottom-right-radius: 1em;
}
.round-tl{
	border-top-left-radius: 1em;
}
.round-tr{
	border-top-right-radius: 1em;
}

.mb-1{
	margin-bottom: 1em;
}
.mb-2{
	margin-bottom: 2em;
}
.mb-3{
	margin-bottom: 3em;
}
.mt-0{
	margin-top: 0em;
}
.mt-1{
	margin-top: 1em;
}
.mt-2{
	margin-top: 2em;
}
.mt-3{
	margin-top: 3em;
}
.mb-0{
	margin-bottom: 0em !important;
}
.m-0{
	margin: 0 !important;
}

.p-1{
	padding: 1em;
}
.p-2{
	padding: 2em;
}
.p-3{
	padding: 3em;
}
.pb-1{
	padding-bottom: 1em;
}
.pb-2{
	padding-bottom: 2em;
}
.pb-3{
	padding-bottom: 3em;
}
.pt-1{
	padding-top: 1em;
}
.pt-2{
	padding-top: 2em;
}
.pt-3{
	padding-top: 3em;
}
.p-0{
	padding: 0 !important;
}
.pb-0{
	padding-bottom: 0 !important;
}
.pt-0{
	padding-top: 0 !important;
}

.mobile-show {
	display: none;
}

@media screen and (max-width:1023px) {
	.desktop-show{
		display: none;
	}
	.mobile-border-t{
		border-top:1px solid #fff;
	}
	.mobile-border-t-dark{
		border-top:1px solid #ccc;
	}
	.mobile-hide{
		display: none;
	}
	.mobile-center{
		text-align: center;
	}
	.mobile-mb-0{
		margin-bottom: 0 !important;
	}
	.mobile-mb-1{
		margin-bottom: 1em;
	}
	.mobile-mb-2{
		margin-bottom: 2em;
	}
	.mobile-mt-0{
		margin-top: 0 !important;
	}
	.mobile-mt-1{
		margin-top: 1em;
	}
	.mobile-mt-2{
		margin-top: 2em;
	}
	.mobile-p-0{
		padding: 0em !important;
	}
	.mobile-pl-0{
		padding-left: 0em !important;
	}
	.mobile-p-1{
		padding: 1em !important;
	}
	.mobile-p-2{
		padding: 2em !important;
	}
	.mobile-pb-0{
		padding-bottom: 0 !important;
	}
	.mobile-pt-1{
		padding-top: 1em;
	}
	.mobile-pt-2{
		padding-top: 2em;
	}
	.mobile-pb-1{
		padding-bottom: 1em;
	}
	.mobile-pb-2{
		padding-bottom: 2em;
	}
}

@media screen and (max-width:767px) {
	
	.mobile-show {
		display: block;
	}
	
}

@media screen and (max-width:1024px) {
	.mobile-bg-blue{
		background: #13284c;
	}
}

.text-bold {
    font-weight: 600;
}
.text-italic {
	font-style: italic;
}
.text-blue {
	color: #13284C;
}
.text-center {
	text-align: center;
}
.text-center .bar h1:after, .text-center .bar h2:after, .text-center .bar h3:after, .text-center .bar h4:after, .text-center .bar h5:after, .text-center .bar p:after,
.text-center.bar h1:after, .text-center.bar h2:after, .text-center.bar h3:after, .text-center.bar h4:after, .text-center.bar h5:after, .text-center.bar p:after {
	margin: 24px auto;
}
.text-lg {
	font-size: 125%;
}
.text-sm {
	font-size: 70%;
}
.text-gold, .text-gold h3{
	color: #F1BC00;
}
.text-red {
	color: #FF000F;
}
.text-white,
.text-white h1, .text-white h2, .text-white h3, .text-white h4 {
	color: #fff;
}
.text-uppercase {
	text-transform: uppercase;
}

@media screen and (max-width:767px) {
	
	.mobile-text-center {
		text-align: center;
	}
	
}

.w-100 {
	width: 100%;
}

.dynamic-cta-text,
.frm-btn-dynamic .frm_forms .frm_button_submit {
	opacity: 0;
}

.dynamic-cta-text.loaded,
.frm-btn-dynamic .frm_forms .frm_button_submit.loaded {
	opacity: 1;
}