/**
Theme Name: AM Base - Child Theme
Author: Advice Media
Author URI: http://advicemedia.com/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful 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: am-base-child-theme
Template: astra
*/

.top-header {
    padding: 12px;
    background: #e43007;
    text-align: center;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-header a {
    color: #fff;
    transition: all 0.3s ease !important;
}

.top-header a:hover {
    color: #000000;
    font-weight: 500;
}

/* Ensure the site container has proper spacing */
body #page {
    position: relative;
}

.site-header {
    z-index: 999;
}

/* Normal header spacing below fixed top-header */
body #masthead,
body .site-header,
body #ast-desktop-header,
body #ast-mobile-header {
    transition: all .33s ease;
}
.twentytwenty-wrapper.bafg-twentytwenty-wrapper.twentytwenty-horizontal {
    border: 1px solid #bf8e8e70;
    box-shadow: 0px 10px 30px 0px #00000000;
}
.twentytwenty-wrapper.bafg-twentytwenty-wrapper {
    height: -webkit-fill-available;
    /* height: 100%; */
}
body .bafg-twentytwenty-container img {
    margin: 0;
    width: 100%;
    height: 285px;
    object-fit: cover;
}
#gform_6 .gform_fields {
    grid-column-gap: 0px;
}

.twentytwenty-wrapper.bafg-twentytwenty-wrapper {
	height: auto;
}

/* Before and After Label */
.bafg-label {
	display: flex;
	flex-direction: row;
	border-top: 1px dotted rgba(21,29,41,.5);
	margin-top: 20px;
}

/* .bafg-label .before-label,
.bafg-label .after-label {
	width: 50%;
} */

.bafg-label .before-label {
	width: 50%;
}

.bafg-label .after-label {
	width: 100%;
}

.bafg-label .before-label {
	font-size: 14px;
	color: rgba(21,29,41,.65);
}

.bafg-label .after-label {
	font-weight: 600;
	font-size: 14px;
	line-height: 1.4em;
	margin-top: 5px;
}

/* #bafg_gallery_filter .bafg-col-4:nth-child(12) {
    top: 1082px !important;
}

#bafg_gallery_filter .bafg-col-4:nth-child(15) {
top: 1458px !important;
} */

.bafg_filter_controls .bafg-filter-control {
    margin-bottom: 5px;
}

/* COMPREHENSIVE STICKY HEADER POSITIONING */
/* Force ALL sticky headers to position below the fixed top-header */

/* Astra sticky header classes and attributes */
body #masthead.ast-sticky-active,
body #masthead[data-stick-support],
body #masthead.ast-shrink,
body .site-header.ast-sticky-active,
body .site-header[data-stick-support],
body .site-header.ast-shrink,
body #ast-desktop-header.ast-sticky-active,
body #ast-mobile-header.ast-sticky-active,
body #ast-desktop-header[data-stick-support],
body #ast-mobile-header[data-stick-support],
body #ast-desktop-header.ast-shrink,
body #ast-mobile-header.ast-shrink {
    top: 50px !important;
    margin-top: 0 !important;
    z-index: 9998 !important;
    position: fixed !important;
}




/* CLEAN DESKTOP STICKY HEADER SOLUTION */
@media (min-width: 768px) {
    /* Position sticky header below the pink banner */
    body #masthead[style*="position"],
    body .site-header[style*="position"],
    body #ast-desktop-header[style*="position"] {
        top: 50px !important;
        z-index: 9998 !important;
    }

    /* Prevent header from changing appearance when sticky */
    body .ast-shrink,
    body .ast-sticky-active,
    body [class*="sticky"] {
        /* Keep original dimensions and appearance */
        transform: none !important;
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        /* padding: inherit !important; */
        margin: inherit !important;
    }

    /* Keep logo and navigation original size */
    body .ast-shrink .site-branding,
    body .ast-sticky-active .site-branding,
    body .ast-shrink .main-navigation,
    body .ast-sticky-active .main-navigation {
        transform: none !important;
        font-size: inherit !important;
        line-height: inherit !important;
    }

    /* SIMPLIFIED STICKY POSITIONING FOR MOBILE */
    body #ast-mobile-header[style*="position"] {
        top: 50px !important;
        z-index: 9998 !important;
    }
}

@media (min-width: 1181px) {
	.parent-pageid-2569 	#primary {
		width: 100%;
	}
	
	.parent-pageid-2569.ast-right-sidebar #primary {
		border-right: none;
		padding-right: 0;
	}
	
}

.parent-pageid-2569 .widget-area.secondary {
	display: none !important;
}

/* Media queries for responsive styles */
@media only screen and (max-width: 767px) {
    body .uagb-block-27f00f84.uagb-buttons__outer-wrap .uagb-buttons__wrap {
        align-items: flex-start;
    }
    body .uagb-block-27f00f84.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button {
       width: 200px;
    }
    body .uagb-block-27f00f84.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button__link{
        padding: 10px 10px;
    }
    .wp-block-uagb-container.uagb-is-root-container .uagb-block-d7b34487 {
        max-width: 375px;
        width: 100%;
        min-height: 290px;
    }
    .ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
        padding-bottom: 0;
    }
    .ast-primary-header-bar.ast-primary-header.main-header-bar.site-primary-header-wrap.ast-builder-grid-row-mobile-layout-default.ast-sticky-active.ast-sticky-shrunk.ast-header-sticked {
        padding-top: 12px;
    }
     .ast-builder-grid-row-mobile-layout-default.ast-header-sticked {
        margin: 0px !important;
    }

    /* Mobile sticky header appearance preservation */
    body #ast-mobile-header.ast-sticky-active,
    body #ast-mobile-header.ast-shrink,
    body .ast-mobile-header.ast-header-sticked {
        /* Preserve original mobile header spacing */
        padding: inherit !important;
        height: auto !important;
        transform: none !important;
    }

    /* Mobile navigation and logo preservation */
    body .ast-sticky-active .ast-mobile-menu-buttons,
    body .ast-shrink .ast-mobile-menu-buttons {
        padding: inherit !important;
    }
}

@media (max-width: 767px) {
    body .ast-header-button-2[data-section*="section-hb-button-"] .ast-builder-button-wrap .ast-custom-button {
        text-align: center;
        line-height: 1.5em;
    }
    #gform_6 .gform_fields {
        grid-column-gap: 0px !important
    }
}

@media (max-width: 1180px) {
    .ast-primary-header-bar.ast-sticky-active.ast-builder-grid-row-mobile-layout-default.ast-header-sticked {
        top: 0!important;
        margin: 0!important;
        border-radius: 0!important;
    }
}

@media (min-width: 601px) and (max-width: 782px) {
    .admin-bar .ast-primary-header-bar.ast-sticky-active.ast-builder-grid-row-mobile-layout-default.ast-header-sticked {
        top: 46px!important;
    }
}

@media (min-width: 783px) and (max-width: 1180px) {
    .admin-bar .ast-primary-header-bar.ast-sticky-active.ast-builder-grid-row-mobile-layout-default.ast-header-sticked {
        top: 32px!important;
    }
}

@media(min-width: 768px) {
    body .uagb-block-27f00f84.uagb-buttons__outer-wrap .uagb-buttons__wrap .wp-block-button {
       width: auto;
    }
    .ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
        padding-top: 10px;
        padding-bottom: 0px;

    }
}

@media (min-width: 977px) and (max-width: 1021px) {
    .wp-block-uagb-advanced-heading.uagb-block-d96599e3 .uagb-heading-text {
        font-size: 45px;
        line-height: 53px;
    }
    .uagb-block-27f00f84.wp-block-uagb-buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap {
        flex-direction: column;
        gap: 15px;
    }
    .landing-hero .wp-block-uagb-container.uagb-block-d7b34487 {
        min-height: 340px;
    }
    .landing-hero  .uagb-container-inner-blocks-wrap    {
        padding: 40px 0;
    }
}

@media (min-width: 1024px) {
    .uagb-block-27f00f84.wp-block-uagb-buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 30px;
    }
    .wp-block-uagb-advanced-heading.uagb-block-d96599e3 .uagb-heading-text {
        font-size: 59px;
        line-height: 68px;
    }

    .landing-hero .wp-block-uagb-container.uagb-block-d7b34487 {
        min-height: 340px;
    }
    .landing-hero  .uagb-container-inner-blocks-wrap    {
        padding: 40px 0;
    }
}

@media (min-width: 1330px) {
    .uagb-block-27f00f84.wp-block-uagb-buttons.uagb-buttons__outer-wrap .uagb-buttons__wrap {
        flex-direction: row;
    }
    .wp-block-uagb-advanced-heading.uagb-block-d96599e3 .uagb-heading-text {
        font-size: 80px;
        line-height: 88px;
    }
    .landing-hero .wp-block-uagb-container.uagb-block-d7b34487 {
        min-height: 452px;
        background-size: cover;
    }

	.page-id-773 .entry-content > .uagb-is-root-container:not(.uagb-block-6c80c526) {
		padding: 40px 0;
	}

    .astra-advanced-hook-2938 > .uagb-is-root-container {
        padding: 40px 0;        
    }
}

@media (min-width: 1400px) {
    .landing-hero .wp-block-uagb-container.uagb-block-d7b34487 {
        min-height: 645px;/*772px*/
        background-size: contain;
    }
}

