/*
Theme Name: Kennedy Business Center
Description: A custom child theme for Kennedy Business Center based on twentytwentyfive
Version: 1.0
Author: Kateva, Inc.
Author URI: https://www.kateva.us/
Template: twentytwentyfive
*/
html {

    scroll-behavior: smooth;
    min-height:100%;

    display:flex;
    flex-direction: column;

}

body {

    flex-grow:1;
    display:flex;
    flex-direction: column;

}

.wp-site-blocks {

    flex-grow:1;
    display:flex;
    flex-direction: column;

}

.wp-site-blocks > div {
    flex-grow: 1;
}

.wp-site-blocks .left-col  {

    padding:2em;

}

.wp-site-blocks .right-col {

    height: 100vh;
    overflow: auto;
    scroll-behavior: smooth;
}

input,
textarea {
    border-radius: 4px !important;
    box-shadow: none !important;
    border: 2px solid #dcdcdc !important;
    padding: 15px !important;
    height: fit-content !important;
    width:100%;
    box-sizing: border-box;
    margin-bottom:.5em;
}

input[type="submit"] {

    width:100% !important;
    background-color: var(--wp--preset--color--custom-kbc-accent-dark);
    color:var(--wp--preset--color--accent-5);
}

/* .wp-block-contact-form-7-contact-form-selector {
    width:100%;
    display:flex;
    flex-direction: column;
    align-items:stretch;
} */

.wp-block-image img {
    vertical-align: middle;
}

.front-page-question-wrapper {
    width:100%;
}

.margin-block-start-zero {
    margin-block-start: 0px;
}

.left-col-header > h2 > a {

    font-family: inherit !important;
    text-decoration: none;
}

.right-col-copyright {
    display: none;
}

.highlight-grid-column {

    border-right:1px silver dashed;
    padding:.5em;
}

.highlight-grid {

    grid-template-columns: 50px 1fr 50px 1fr;
    align-items: center;

}

.highlight-grid p {
    margin:0px;
}

.front-page-contact-form {
    display:flex;
    flex-direction: column;
}

@media (max-width: 781px) {

    #top-group,
    #top-group > div {

        padding:0px !important;
        padding-left:0px !important;
        padding-right:0px !important;

    }

    #top-group > img {
        display:none;
    }

    .highlight-grid {

        grid-template-columns: 50px 1fr;

    }

    .highlight-grid-column {

        border-right:none;
        border-bottom:1px silver dashed;
    }



    .top-group-columns {

        border-radius: 0px !important;
    }

    .left-col-header {
        flex-grow: 1;
    }

    .left-col-header > h2 {
        font-size:var(--wp--preset--font-size--large)
    }

    .left-col-address,
    .left-col-footer {
        display: none !important;
    }

    .right-col-copyright {
        display: inherit;
    }

    .left-col {

        position: sticky;
        top: 0px;
        z-index: 1;
        display: flex;
        align-items: start;

    }

    .right-col {

        height: 100% !important;

    }  

}
