/* Inline <style> blocks captured from persimmonfunds.com <head> (page CSS) */

form.antibot * :not(.antibot-message) { display: none !important; }

/* google font import */

/* Typography */
/* :root {
    --h1-font-family: "New Font", sans-serif;
    --h2-font-family: "New Font", sans-serif;
    --h3-font-family: "New Font", sans-serif;
    --h4-font-family: "New Font", sans-serif;
    --body-font-family: 'New Font', sans-serif;
    --link-font-family: 'New Font', sans-serif;
    --button-font-family: 'New Font', sans-serif;
} */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
  margin-bottom: 1rem;
}

/* Block Title */
.aw-content--contrain .block__title, .aw-content--full .block__title {
    padding: 4rem 0 2rem;
}

/* Horizontal Rule */
hr {
    max-width: 100%;
}

main a,
footer a {
  /*text-decoration: underline;*/
}

.node__title a,
.blog--full__title a,
.social-media-container a,
.blog--imgside-middle-page a,
.button {
  text-decoration: none;
}


/* Overlay */
.has-overlay,
.has-overlay .block__content {
    position: relative;
}
.has-overlay:before {
    background: rgba(0, 0, 0, 0.33);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: block;
    content: '';
    position: absolute;
    width: 100%;
}

/* Fixed Background */
@media (min-width: 1025px) {
    .fixed-bg {
        background-attachment: fixed!important;
        background-position: center!important;
    }
}


/* Wistia Embed */
.wistia_responsive_padding {
  margin-bottom: 15px;
  border: 1px solid #ccc;
}

/* Animation */
main, .footer {
    position: relative !important;
    animation: slideUp 1.5s ease !important;
}

.layout-container {
    animation: fadeIn 2s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes slideDown {
    from {
        top: -30px;
    }
    to {
        top: 0;
    }
}
@keyframes slideUp {
    from {
        bottom: -30px;
    }
    to {
        bottom: 0;
    }
}

/* Experiment - Intersection observer to fade in and out content  */
.loadin {
    opacity: 0;
    transition: transform 0.5s, opacity 0.9s;
}
.loadin.loaded {
    opacity: 1;
    transition-delay: 100ms;
    transition-timing-function: ease-in-out;
}

/* Margin Top */
.mt0 {margin-top: 0!important;}
.mt1 {margin-top: 1rem!important;}
.mt2 {margin-top: 2rem!important;}
.mt3 {margin-top: 3rem!important;}
.mt4 {margin-top: 4rem!important;}
.mt5 {margin-top: 5rem!important;}
/* Margin Bottom */
.mb0 {margin-bottom: 0!important;}
.mb1 {margin-bottom: 1rem!important;}
.mb2 {margin-bottom: 2rem!important;}
.mb3 {margin-bottom: 3rem!important;}
.mb4 {margin-bottom: 4rem!important;}
.mb5 {margin-bottom: 5rem!important;}

/* Embedded Entity */
.embedded-entity {
    margin-bottom: 15px;
}
.embedded-entity.align-left, .embedded-entity.align-right {
    flex: none;
    float: none;
}
/* floated images on mobile  */
@media (min-width: 641px) {
    .embedded-entity.align-left {
        float: left;
        margin-right: 15px;
        margin-bottom: 0;
    }
    .embedded-entity.align-right {
        float: right;
        margin-left: 15px;
        margin-bottom: 0;
    }
}

/* iFrame Wrapper */
.iframeWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 35px;
    height: 0;
    overflow: hidden;
}
.iframeWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.iframeWrapper {
    margin-bottom: 15px;
}

/* Icons */
.icon-wrap,
.icon-wrapper {
    margin-bottom: 15px;
}
.icon-wrap i,
.icon-wrapper i, 
.icon-wrapper iconify-icon,
.icon-wrap iconify-icon {
    color: var(--primary-color);
    font-size: 3rem;
}

/* Block Title */
.aw-content--contrain .block__title, 
.aw-content--full .block__title,
main .block__title {
    padding: 4rem 0 2rem;
}
.aw-content__preface .block-title,
.subtitle {
    position: relative;
}

/* title under line  */
/*.block-title:after,*/
/*.subtitle:after {*/
/*    content: '';*/
/*    height: 3px;*/
/*    width: 80px;*/
/*    background: var(--primary-color);*/
/*    margin: 25px auto 20px;*/
/*    display: block;*/
/*}*/

.callout {
  padding: 2rem;
  background: #efefef;
}

.callout.white {
  background: white;
}

.callout.bg-primary {
  background: var(--primary-color);
}

.callout.bg-primary * {
  color: white;
}

/*===============================
--------- HEADER / NAV -------
===============================*/
/* change logo height */
 @media screen and (min-width: 40em) {
  .block--logo .image__field--type-image img, .block--logo .image__field--type-image svg {
      max-height: 150px;
  }
} 

/* Sticky Header */
.aw-header--sticky {
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#animated-menu {
  background: #FFFFFF;
}

[data-block-internal-id="aw_core_visitormainmenu_ascend"] .menu-item.is-dropdown-submenu-item > a.is-active {
    color: var(--secondary-color);
}

.is-dropdown-submenu-item a:hover {
    color: #FFFFFF!important;
    background: var(--primary-color)!important;
}

[data-block-internal-id="aw_core_visitormainmenu_ascend"] .dropdown.menu.large-horizontal>li.is-dropdown-submenu-parent>a {
    color: var(--link-font-color, --primary-color);
}

[data-block-internal-id="aw_core_visitormainmenu_ascend"] .menu-item.is-dropdown-submenu-item > a {
    color: var(--link-font-color, --primary-color);
}

/* For menu container */
#block-aw-core-visitormainmenu .large-horizontal > li.link--container > a:hover {
    cursor: default;
}


/*===============================
------------- HOME -------------
===============================*/


/* Home page services block */

#block-products-services-motion .products-services {
  margin-bottom: 2rem;
}

#block-products-services-motion .products-services .media-object-section {
  height: 100%;
  margin: 0 0 1rem;
  padding: 2.5rem 1.5rem 1.75rem !important;
  text-align: center;
  transition: 300ms all ease;
}

#block-products-services-motion .products-services > a {
  display: block;
  width: 100%;
  text-decoration: none;
}

#block-products-services-motion .products-services .media-object-section:hover {
  background: white;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

#block-products-services-motion .products-services .media-object__body {
  display: none;
}

#block-products-services-motion .grid-x {
  justify-content: center;
}

/* view all services button  */
.more-link.grid-container {
  text-align: center;
}

/*===============================
------------ FOOTER ------------
===============================*/
footer .block-title:after {
  display: none;
}

footer .fa-square-x-twitter {
  font-size: 24px!important;
  position: relative!important;
  top: -2.5px!important;
}

.not-front footer.footer {
  margin-top: 4rem;
}

footer .block--webform-block .block__content {
  padding-top: 6px;
}

/*===============================
--------- INSIDE PAGES ---------
===============================*/
div.page-top__static-caption h1 {
  margin-top: -15px;
}

/* Inside Banner */
.not-front .block-type--banner {
    margin-bottom: 3rem;
}

div.page-top__static-caption h1 {
    animation: slideDown 1.5s ease;
    position: relative;
}

/* Team page */
.team-member--imgside-full .full-wrapper .main-section h3.node__title a {
  text-decoration: none;
}

.team-member--bauhaus-img-top .card-divider, .team-member--bauhaus-img-top .card-section {
  justify-content: center;
}

/* Our Process page */
.our-process-container .icon-cell {
  width: 100px;
}

/* Services page */

.path-products-services .products-services {
  margin-bottom: 2rem;
}

.path-products-services .products-services > a {
  text-decoration: none;
}

.path-products-services .products-services .media-object-section {
  border: 1px solid #ccc;
  padding: 2rem !important;
  height: 100%;
  transition: 300ms all ease;
  margin: 0;
}

.path-products-services .products-services .media-object-section:hover {
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.2);
  border-color: transparent;
}

.products-services--bauhaus-icon-top .more-link {
  margin-top: 15px;
}

.products-services--full h2.node__title {
    display: none !important;
}

/* Team page */
.team-member img, .team-member svg {
    border: 1px solid #CCCCCC;
}

/* Contact page */
.page--page-title--contact .aw-content__sidebar-second {
  min-width: 50%;
}

.page--page-title--contact .aw-content__sidebar {
  min-width: 50%;
}

.page--page-title--contact .social-media-container .fa-square-x-twitter {
  font-size: 33px;
  position: relative;
  left: -1px;
  top: -3px;
}

.page--page-title--contact .aw-content__sidebar .block--webform-block {
  padding: 15px 20px;
  background: #efefef;
  border: 1px solid #ccc;
}

.page--page-title--contact .aw-content__sidebar .block--webform-block .block-title {
  padding-top: 15px;
}

.map-container {
  padding: 0;
  display: block;
}

.map-caption {
  padding: 0;
  min-width: 100%;
}

.map-wrapper {
  min-width: 100%;
}

/*===============================
------------ Mobile ------------
===============================*/

@media screen and (max-width: 640px) {
    .aw-header--sticky.aw-header__sticky.sticky {
      top: 0!important;
    }
    /* Homepage hero — 50vh tall with the image filling (fitting) the banner */
    #block-hero-banner-ascend {
      --banner-height--mobile: 50vh;
      --banner-height-offset--mobile: 0px;
      --banner-image-height--mobile: 50vh;
      --object-fit--mobile: cover;
    }
    /* logo height */
    .block--logo .image__field--type-image img {
        max-height: 75px;
    }
    /* Documents page — smaller column headings */
    .page--page-title--documents h4 {
        font-size: 15px;
    }
    div.page-top__static-caption h1 {
      font-size: 33px;
    }
}



/*===============================
------------ iPad / Tablet ------
===============================*/
@media screen and (min-width: 640px) and (max-width: 1023px) {
    /* Header: logo left; hamburger + CONTACT grouped on the right, all
       vertically centered on one row (the dropdown nav opens full-width below). */
    .aw-header__sticky {
        position: relative;
    }
    .aw-header__sticky .grid-x.align-stretch {
        align-items: center;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
    .aw-header__sticky .logo-section {
        flex: 1 1 auto;
        width: auto;
    }
    .aw-header__sticky .navbar-menu-hamburger,
    .aw-header__sticky .navbar-menu-block {
        flex: 0 0 auto;
        width: auto;
    }
    /* Collapse the topbar so it shrinks to the CONTACT button; the row's
       align-items:center then centers the button level with the hamburger. */
    .aw-header__sticky .navbar-menu-block .grid-y > .cell {
        flex: 0 0 auto;
    }
    .aw-header__sticky .navbar-menu-block .block--multi---topbar .block__content {
        padding-bottom: 0 !important;
        text-align: right;
    }
    .aw-header__sticky .navbar-menu-block .block--multi---topbar .field__item,
    .aw-header__sticky .navbar-menu-block .block--multi---topbar p {
        margin: 0 !important;
    }
    .aw-header__sticky .navbar-menu-block .block--multi---topbar .button {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    /* Dropdown nav: anchor to the whole header so it opens full-width below it */
    .aw-header__sticky section#block-aw-core-visitormainmenu-ascend {
        position: static;
    }
    .aw-header__sticky #animated-menu {
        width: 100% !important;
        left: 0 !important;
        top: 100% !important;
    }

    /* Homepage hero — flush to the top, half the viewport tall */
    body.home header.aw-header {
        margin-top: 0;
        height: 50vh;
    }
}


/* Add instructional text above submit button – page 1045 only */
body.page--node-id--1045 #edit-actions::before {
  content: "Click the submit button and the information that you requested will be sent promptly via US Mail. Thank you.";
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #333;
}




