/*
Theme Name: Princeton Equity
Theme URI: https://36.agency
Author: 36creative     
Author URI: https://36.agency
Description: Block theme designed to provide a flexible and easy to use editing experience.
Version: 2.1
Requires at least: 6.5.5
Tested up to: 6.5.5
Requires PHP: 8.1.23
Text Domain: blueprint
*/

* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

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

.margin-top-auto {
    margin-top: auto !important;
}

.remove-margin {
    margin: 0 !important;
}

.remove-padding {
    padding: 0 !important;
}

header.wp-block-template-part {
    width: 100vw;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0;
}

#wp--skip-link--target {
    margin: 0;
}

@media screen and (min-width: 1024px) {
    .visible-desktop-false {
        display: none;
    }
}
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .visible-tablet-false{
        display: none;
    }
}
@media screen and (max-width: 767px){
    .visible-mobile-false{
        display: none;
    }    
}


.mobile-menu-open{
    overflow: hidden;
    body{
        overflow: hidden;
    }
}


/*============header fixed======================*/

.nav-down header{
    top: 0;
    transition: all 0.3s ease-in-out;
}
.nav-up header{
    top: calc(-1 * (var(--header-height) + 2px));
    transition: all 0.3s ease-in-out;
}
.fixed header{
    background-color: var(--wp--preset--color--white);
    position: fixed;
}

/*================footer styles================*/
footer {
    margin-top: 0;
    .footer-bottom-bot-mid-nav{
        .wp-block-blueprint-row{
            @media screen and (max-width: 1023px) {
                justify-content: flex-start;
            }                
        }
    }
    div.wp-block-blueprint-horizontal-rule{
        .rule{
            background: rgba(244,244,244,0.4);
        }
    }
    .footer-bottom{
        /* .wp-block-blueprint-paragraph, .wp-block-blueprint-menu-link{
            opacity: 0.5;
        } */
        .wp-element-button{
            border-color: rgba(244,244,244,0.5);
            color: var(--wp--preset--color--light-background);
            /* opacity: 0.5; */
            &:hover{
                opacity: 1;
            }
        }
    }
    .wp-block-blueprint-paragraph{
        a{
            text-decoration: none;
            &::after{
                display: none;
            }
            &:hover{
                text-decoration: underline;
            }
        }
    }
}

/* Mobile scroll bar issue fix */
@media screen and (max-width: 767px) {
    .wp-block-post-content, footer {
        overflow: hidden;
    }
}


/*================== gravity forms styles ================== */
.gform-theme--api, .gform-theme--framework{
    --gf-color-danger: #ffb5b5;
}

.wp-element-button{
    backface-visibility: hidden;
}

.recaptcha-message{
    font-size: 15px !important;
    a{
        font-size: inherit;
    }
}
.grecaptcha-badge { visibility: hidden !important; }
 


/*================== search ================== */
.wp-block-search__button{
    justify-content: center;
}
.search-results{
    .wp-block-query{
        padding-top: 60px;
        padding-bottom: 60px;
    }
}