/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/***TEXT COLORS**/
.blue-text *, .blue-text p {color:#8f96a3!important;}
.gold-text *, .gold-text p {color:#c8a87e!important;}
.fusion-rollover-content .fusion-rollover-title,
.blog h4 a,
.blog h4,
.fusion-post-wrapper * {
	font-size:20px!important;
	text-shadow:none!important;
}


/* === FLYOVER TOUR - Works WITH Avada header === */
/* === FLYOVER TOUR ENGINE - BASE STYLES === */
/* Scoped to .flyover-tour-wrap for WordPress embedding */

.page-id-105 #main {
	padding:0!important;
}
/* === FLYOVER TOUR ENGINE - BASE STYLES === */
/* Scoped to .flyover-tour-wrap for WordPress embedding */

/* Container */
.flyover-tour-wrap {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px);
    overflow: hidden;
    background: #0b1318;
}

/* Map */
.flyover-tour-wrap gmp-map-3d {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1 !important;
}

/* Controls */
.flyover-tour-wrap .controls {
    position: absolute !important;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 900px;
}
.flyover-tour-wrap .controls .btn-row {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
}
.flyover-tour-wrap .controls button {
    background: #0c1419ee;
    color: #c8a87e;
    border: 1px solid #c8a87e44;
    border-radius: 8px;
    padding: 0.5em 1em;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.2s;
/*     white-space: nowrap; */
}
.flyover-tour-wrap .controls button:hover { background: #c8a87e; color: #0b1318; }
.flyover-tour-wrap .controls button.active { background: #c8a87e; color: #0b1318; }

/* Search box */
.flyover-tour-wrap .search-box {
    position: absolute !important;
    top: 1rem;
    right: 1rem;
    left: auto !important;
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}
.flyover-tour-wrap .search-box input {
    background: #0c1419ee;
    color: #e0e0e0;
    border: 1px solid #c8a87e44;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    width: 260px;
    font-family: -apple-system, sans-serif;
    outline: none;
}
.flyover-tour-wrap .search-box input::placeholder { color: #666; }
.flyover-tour-wrap .search-box input:focus { border-color: #c8a87e; }
.flyover-tour-wrap .search-box button {
    background: #c8a87e;
    color: #0b1318;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    cursor: pointer;
    font-family: -apple-system, sans-serif;
    font-weight: 600;
}

/* Info bar */
.flyover-tour-wrap .info {
    position: absolute !important;
    bottom: 3.2rem;
    left: 0.35rem;
    background: #0c1419dd;
    border: 1px solid #c8a87e22;
    border-radius: 6px;
    padding: 0.4rem 0.8rem;
    color: #c8a87e;
    font-family: -apple-system, sans-serif;
    font-size: 0.78rem;
    z-index: 10;
    max-width: 500px;
}

/* Fact card */
.flyover-tour-wrap .fact-card {
    position: absolute !important;
    top: 5rem;
    right: 2rem;
    background: #0c1419f0;
    border: 2px solid #c8a87e;
    border-radius: 16px;
    padding: 20px 24px;
    max-width: 420px;
    z-index: 200;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    pointer-events: none;
}
.flyover-tour-wrap .fact-card.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.flyover-tour-wrap .fact-card .fact-emoji { font-size: 48px; margin-bottom: 8px; }
.flyover-tour-wrap .fact-card .fact-title {
    color: #c8a87e;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}
.flyover-tour-wrap .fact-card .fact-text {
    color: #d0d0d0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 14px;
    line-height: 1.5;
}
.flyover-tour-wrap .fact-card .fact-close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: #666;
    cursor: pointer;
    font-size: 18px;
    background: none;
    border: none;
    font-family: sans-serif;
}
.flyover-tour-wrap .fact-card .fact-close:hover { color: #c8a87e; }
.flyover-tour-wrap .fact-card .fact-drag {
    cursor: grab;
    color: #555;
    font-size: 12px;
    text-align: center;
    margin: -8px -8px 6px -8px;
    padding: 2px;
    letter-spacing: 2px;
}
.flyover-tour-wrap .fact-card .fact-drag:active { cursor: grabbing; }

/* Boundary sidebar */
.flyover-tour-wrap .boundary-sidebar {
    position: absolute !important;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}
.flyover-tour-wrap .boundary-sidebar button {
    background: #0c1419dd;
    color: #999;
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    transition: all 0.2s;
    text-align: center;
    min-width: 52px;
    backdrop-filter: blur(6px);
}
.flyover-tour-wrap .boundary-sidebar button:hover { color: #e0e0e0; background: #0c1419f0; }
.flyover-tour-wrap .boundary-sidebar button.active { color: #fff; }

/* Speed controls */
.flyover-tour-wrap .speed-controls {
    position: absolute !important;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: #0c1419ee;
    border: 1px solid #c8a87e33;
    border-radius: 10px;
    padding: 0.5rem 1rem;
    backdrop-filter: blur(8px);
}
.flyover-tour-wrap .speed-controls label {
    color: #c8a87e;
    font-family: -apple-system, sans-serif;
    font-size: 0.8rem;
}
.flyover-tour-wrap .speed-controls input[type="range"] {
    width: 100px;
    accent-color: #c8a87e;
}
.flyover-tour-wrap .speed-val {
    color: #c8a87e;
    font-family: -apple-system, sans-serif;
    font-size: 0.8rem;
    min-width: 30px;
}

/* Street View panel */
.flyover-tour-wrap .sv-panel {
    position: absolute !important;
    bottom: 5rem;
    left: 1rem;
    width: 400px;
    height: 300px;
    background: #0c1419;
    border: 2px solid #c8a87e55;
    border-radius: 12px;
    z-index: 200;
    overflow: hidden;
    display: none;
    box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.flyover-tour-wrap .sv-panel.visible { display: block; }
.flyover-tour-wrap .sv-close {
    position: absolute;
    top: 6px;
    right: 8px;
    color: #e0e0e0;
    background: #0c1419cc;
    border: 1px solid #c8a87e44;
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 14px;
    cursor: pointer;
    z-index: 21;
    font-family: sans-serif;
}
.flyover-tour-wrap .sv-close:hover { color: #c8a87e; background: #0c1419; }

/* === AVADA OVERRIDES === */
/* Lock page - no scrolling */
.page-id-105 {
    overflow: hidden !important;
    height: 100vh !important;
}
.page-id-105 #wrapper {
    overflow: hidden !important;
}

/* Compact header on tour page only */
/* .page-id-105 .fusion-header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}
.page-id-105 .fusion-logo img {
    max-height: 40px !important;
}
.page-id-105 .fusion-main-menu > ul > li > a {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
} */

/* Kill padding/margins on tour page content wrappers */
.page-id-105 .fusion-fullwidth,
.page-id-105 #content,
.page-id-105 .post-content,
.page-id-105 .fusion-builder-row,
.page-id-105 .fusion-layout-column,
.page-id-105 .fusion-column-wrapper,
.page-id-105 .fusion-text,
.page-id-105 .wp-block-html {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
}

body,
.fusion-body,
.fusion-body .fusion-text p,
.fusion-body .post-content,
.fusion-body .entry-content,
.fusion-body .entry-content p {
    font-size: 18px !important;
    line-height: 1.6;
}

/* Hero container flush to very top of page */
/* Kill any Avada top spacing */

/* Remove page title bar gap on home page */
.page-id-9 .fusion-page-title-bar,
.page-id-9 .avada-page-titlebar-wrapper {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Video hero - cover full 100vh container + compensate for negative margin */
.page-id-9 .fusion-fullwidth:first-child video,
.page-id-9 .fusion-fullwidth:first-child .fullwidth-video,
.page-id-9 .fusion-fullwidth:first-child .fusion-bg-video video {
    object-fit: cover !important;
    width: 100% !important;
    height: calc(100% + 80px) !important;
    min-height: calc(100vh + 80px) !important;
}

/* Pull video container up behind the transparent header */
.page-id-9 .fusion-fullwidth:first-child {
    margin-top: -80px !important;
    padding-top: 0 !important;
    min-height: calc(100vh + 80px) !important;
}

/* Add padding to the content inside so logo/CTAs sit below the nav */
.page-id-9 .fusion-fullwidth:first-child .fusion-builder-row {
    padding-top: 80px;
}

/* FAQ accordion title size */
.fusion-body .fusion-accordian .panel-title {
    font-size: 22px !important;
}

/* Video parallax - JS drives translateY at same speed as bg */
.page-id-9 .fusion-fullwidth:first-child {
    will-change: transform;
    overflow: hidden;
}



:root {
  --h1_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h2_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h3_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h4_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h5_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h6_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --body_typography-font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif !important;
}
/* 
body.page-id-248 {
  background-image: url('https://marketingmuskoka.ca/wp-content/uploads/backgrounds/contact.jpg') !important;
  background-size: 100% !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat !important;
  background-color: #0b1318 !important;
  --h1_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h2_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h3_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h4_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h5_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --h6_typography-font-family: 'Playfair Display', Georgia, serif !important;
  --body_typography-font-family: 'Raleway', 'Helvetica Neue', Arial, sans-serif !important;
}

body.page-id-248 #wrapper,
body.page-id-248 #main,
body.page-id-248 .fusion-page-title-bar,
body.page-id-248 .avada-page-titlebar-wrapper,
body.page-id-248 #content,
body.page-id-248 .fusion-footer-widget-area,
body.page-id-248 .fusion-footer-copyright-area,
body.page-id-248 .fusion-body,
body.page-id-248 #boxed-wrapper,
body.page-id-248 .wrapper {
  background: none transparent !important;
}

body.page-id-248 .fusion-fullwidth,
body.page-id-248 .fusion-builder-row {
  background-color: transparent !important;
  background-image: none !important;
}
 */






/***********FORM CONTAINER + FORM***/
.form-container h4 {
	color: #ede7da!important;
}








/* 
body.page-id-223 {
  background-image: url('https://marketingmuskoka.ca/wp-content/uploads/backgrounds/about.jpg') !important;
  background-size: 100% !important;
  background-position: 0 0;
  background-repeat: no-repeat !important;
  background-color: #0b1318 !important;
}

body.page-id-223 #wrapper,
body.page-id-223 #main,
body.page-id-223 .fusion-page-title-bar,
body.page-id-223 .avada-page-titlebar-wrapper,
body.page-id-223 #content,
body.page-id-223 .fusion-footer-widget-area,
body.page-id-223 .fusion-footer-copyright-area,
body.page-id-223 .fusion-body,
body.page-id-223 #boxed-wrapper,
body.page-id-223 .wrapper {
  background: none transparent !important;
}

body.page-id-223 .fusion-fullwidth,
body.page-id-223 .fusion-builder-row {
  background-color: transparent !important;
  background-image: none !important;
}
 */



/* 
body.page-id-222 {
  background-image: url('https://marketingmuskoka.ca/wp-content/uploads/backgrounds/stitched-home.jpg') !important;
  background-size: 100% !important;
  background-position: 0 0;
  background-repeat: no-repeat !important;
  background-color: #0b1318 !important;
}
body.page-id-222 #wrapper,
body.page-id-222 #main,
body.page-id-222 .fusion-page-title-bar,
body.page-id-222 .avada-page-titlebar-wrapper,
body.page-id-222 #content,
body.page-id-222 .fusion-footer-widget-area,
body.page-id-222 .fusion-footer-copyright-area,
body.page-id-222 .fusion-body,
body.page-id-222 #boxed-wrapper,
body.page-id-222 .wrapper { background: none transparent !important; }
body.page-id-222 .fusion-fullwidth,
body.page-id-222 .fusion-builder-row { background-color: transparent !important; background-image: none !important; }
 */



/* body.page-id-224 {
  background-image: url('https://marketingmuskoka.ca/wp-content/uploads/backgrounds/contact.jpg') !important;
  background-size: 100% !important;
  background-position: 0 0;
  background-repeat: no-repeat !important;
  background-color: #0b1318 !important;
}
body.page-id-224 #wrapper,
body.page-id-224 #main,
body.page-id-224 .fusion-page-title-bar,
body.page-id-224 .avada-page-titlebar-wrapper,
body.page-id-224 #content,
body.page-id-224 .fusion-footer-widget-area,
body.page-id-224 .fusion-footer-copyright-area,
body.page-id-224 .fusion-body,
body.page-id-224 #boxed-wrapper,
body.page-id-224 .wrapper { background: none transparent !important; }
body.page-id-224 .fusion-fullwidth,
body.page-id-224 .fusion-builder-row { background-color: transparent !important; background-image: none !important; }
 */



/* === Gold accents === */

/* Bolded keywords pop in gold */
body.mmc-has-parallax .fusion-text strong,
body.mmc-has-parallax .mmc-glass strong {
  color: #d4a04a !important;
}

/* List markers in tan */
body.mmc-has-parallax .fusion-text ul li::marker,
body.mmc-has-parallax .mmc-glass ul li::marker {
  color: #c8a87e;
  font-weight: 700;
}

/* Inline links — gold with hairline underline, brightens on hover */
body.mmc-has-parallax .fusion-text a:not(.mmc-cta-button):not(.button),
body.mmc-has-parallax .mmc-glass a:not(.mmc-cta-button):not(.button) {
  color: #d4a04a;
  border-bottom: 1px solid rgba(212, 160, 74, 0.4);
  text-decoration: none;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
}
body.mmc-has-parallax .fusion-text a:not(.mmc-cta-button):not(.button):hover,
body.mmc-has-parallax .mmc-glass a:not(.mmc-cta-button):not(.button):hover {
  color: #ede7da;
  border-bottom-color: #d4a04a;
}

/* Gold accent bar under H2 in glass cards (left-aligned) */
body.mmc-has-parallax .mmc-glass h2:not(.mmc-card-heading-sm) {
  position: relative;
  padding-bottom: 14px;
  margin-bottom: 24px;
}
body.mmc-has-parallax .mmc-glass h2:not(.mmc-card-heading-sm)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #c8893a, #d4a04a);
  border-radius: 2px;
}

/* Centered gold accent under the band heading */
body.mmc-has-parallax .mmc-band-heading {
  position: relative;
  padding-bottom: 16px;
}
body.mmc-has-parallax .mmc-band-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #c8893a, #d4a04a);
  border-radius: 2px;
}



.fusion-footer {
  background: linear-gradient(
    to bottom,
    rgba(162, 137, 105, 0.8) 0%,
    rgba(200, 168, 126, 0.46) 100%
  ) !important;
}



.gm-style-iw-d div {
	color:#000!important;
}


#gform_submit_button_1 {
	background-color: #DDB98B!important;
}


/* Hide the footer on map page*/
.page-id-105 .fusion-footer {
	display:none;
}





/**WATERFRONT TRAIL MAPS**/

.loops-map-container { width:100%; height:calc(100vh - 140px); min-height:520px;
  padding:0; margin:0; overflow:hidden; }
.loops-map-container iframe { width:100%; height:100%; border:0; display:block; }
.page-id-587 #main {padding-left:0!important; padding-right:0!important; padding-bottom:0!important;padding-top:90px;}
@media (max-width:768px){ .loops-map-container{ height:calc(100vh - 90px); } }



li .fusion-li-item-content {
	color:#FFF!important;
}




#menu-item-33 .menu-text {
	background-color:#fcc100;
	border-radius:24px;
	padding:12px 20px;
}





/* =========================================================
   Home hero - remove the 60px band above the video
   Avada's global --main_padding-top:60px offsets .awb-full-sections,
   whose overflow:hidden then clips the hero's -80px margin. The body
   parallax bg leaks through as a strip under the transparent header.
   ========================================================= */
body.page-id-9 #main {
    padding-top: 0 !important;
}







.fusion-header-wrapper:not(.fusion-is-sticky) .fusion-logo img { visibility: hidden; }



/* Let clicks pass through the header's invisible area onto the iframe */
.page-id-827 .fusion-header-wrapper{pointer-events:none}
.page-id-827 .fusion-header-wrapper a,
.page-id-827 .fusion-header-wrapper li,
.page-id-827 .fusion-header-wrapper button,
.page-id-827 .fusion-header-wrapper input{pointer-events:auto}





















