html {
    scroll-behavior:smooth;
}

#dmg_layout_internal p {
    margin: 24px 0;
}


.page-header {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    height: 350px;
    display: flex;
    padding: 0 55px;
    position: relative;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-header:before {
    content: ' ';
    background: rgba(0, 0, 0, .3);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-header-content {
    z-index: 1;
    max-width: 1060px;
}

#dmg_layout_internal .page-header h1 {
    background-color: transparent;
    color: #FFF;
    font-size: 52px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-transform: none;
    padding: 0;
    margin: 16px 0;
}

#dmg_layout_internal .page-header h5 {
    margin: 16px 0;
    text-transform: none !important;
}

#dmg_layout_internal .page-header p {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.55;
    /* max-width: 550px; */
    margin: 16px 0;
    text-align: center;
}



#internal_page_nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 15px;
}

#dmg_layout_internal-page #internal_page_nav li {
    font-size: 14px;
    line-height: 1;
    padding: 0 15px;
    position: relative;
}

#internal_page_nav li:not(.no-border) {
    border-left: 1px solid rgba(0,0,0,.4);
}

#dmg_layout_internal-page #internal_page_nav li a {
    font-weight: 400;
}

#dmg_layout_internal-page #internal_page_nav.sticky-subnav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: 2px 8px 16px rgba(0,0,0,.1);
}

#dmg_layout_internal-page #internal_page_nav .nav-arrow {
    display: inline-flex;
    justify-content: center;
    box-sizing: border-box;
    width: 22px;
    height: 22px;
    font-size: 18px;
    align-items: center;
    border: 1px solid rgba(0,0,0,.5);
    border-radius: 50%;
    margin: 0 0 0 5px;
}

#dmg_layout_internal-page #internal_page_nav .nav-arrow fa {
    font-weight: 400;
}

@media (max-width:900px) {

}




.page-content-section {
    padding: 60px 55px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-content-section img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.content-narrow {
    width: 100%;
    max-width: 760px;
}

.content-medium {
    width: 100%;
    max-width: 1060px;
}

.content-large {
    width: 100%;
    max-width: 1360px;
}

.content-border-top {
    border-top: 1px solid rgba(0,0,0,.4);
    margin-top: 30px;
    padding-top: 50px;
}

.content-two-column {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1440px;
    align-items: stretch;
    gap: 80px;
    padding: 40px 0;
}

.content-two-column:first-child {
    padding-top: 0;
}

.content-two-column:last-child {
    padding-bottom: 0;
}

.content-two-column.flex-reverse {
    flex-direction: row-reverse;
}

.content-two-column > div {
    flex: 1 1;
}

.content-two-column > div.content-text {
    padding: 30px 0;
    align-self: center;
}

.content-two-column > div.content-image {
    width: 50%;
    overflow: hidden;
}

.content-two-column > div.content-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.content-three-column {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1440px;
    align-items: stretch;
    gap: 40px;
    padding: 0;
}


.content-four-column {
    display: flex;
    width: 100%;
    max-width: 1440px;
    align-items: flex-start;
    gap: 55px;
    padding: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
}

.content-four-column > div {
    flex: 1 1;
}

.content-two-column > div.content-tile {
    flex-basis: calc( 50% - 40px );
}

.content-three-column > div.content-tile {
    flex-basis: calc( 33.33% - 40px );
}

.content-four-column > div.content-tile {
    flex-grow: 0;
    flex-basis: calc( 25% - 41.25px );
    text-align: center;
}

.content-two-column > div.content-tile .tile-image {
    height: 420px;
    margin-bottom: 24px;
    overflow: hidden;
}

.content-three-column > div.content-tile .tile-image {
    height: 320px;
    margin-bottom: 24px;
    overflow: hidden;
}

.content-four-column > div.content-tile .tile-image {
    height: 220px;
    margin-bottom: 24px;
    overflow: hidden;
}

.content-two-column > div.content-tile .tile-image img,
.content-three-column > div.content-tile .tile-image img,
.content-four-column > div.content-tile .tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.logo-disclaimer {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.logo-disclaimer img {
    max-width: 250px;
    height: auto;
}

.primary-bg {
    background: #003b5c;
}

.light-grey-bg {
    background: #f3f3f3;
}

.white-text {
    color: #fff;
}

ul.checklist-style {
    list-style: none;
    padding: 24px 0 40px 30px;
    margin: 0;
}

ul.checklist-style li:before {
    content: "\f0c8";
    font-family: FontAwesome;
    display: inline-block;
    margin: 0 15px 0 -30px;
}




/* tablet */

@media (max-width: 1012px) {

    .content-two-column > div.content-tile {
        flex-basis: calc( 50% - 40px );
    }

    .content-three-column > div.content-tile {
        flex-basis: calc( 50% - 40px );
    }
    
    .content-four-column > div.content-tile {
        flex-basis: calc( 50% - 40px );
        text-align: center;
    }

    

}


@media (max-width: 768px) {

    .content-two-column > div.content-tile {
        flex-basis: 100%;
    }

    .content-three-column > div.content-tile {
        flex-basis: 100%;
    }

    .content-four-column {
        flex-direction: column;
        gap: 40px;
        align-items: center;
    }
    
    .content-four-column > div.content-tile {
        flex-basis: 100%;
        text-align: center;
    }

}


/* phone */

@media (max-width: 544px) {

    .page-header {
        height: auto;
        min-height: 350px;
        padding: 0 25px;
        justify-content: center;
        text-align: center
    }

    .page-content-section {
        padding: 40px 25px;
    }

    #dmg_layout_internal.dmg_internal_area_customContent .page-header h1 {
        background-color: transparent;
        color: #FFF;
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
        margin: 8px 0;
    }
    
    #dmg_layout_internal.dmg_internal_area_customContent .page-header h5 {
        margin: 8px 0;
    }
    
    #dmg_layout_internal.dmg_internal_area_customContent .page-header p {
        font-size: 16px;
        font-weight: 400;
        line-height: 1.4;
        margin: 16px 0;
    }

    .content-two-column {
        flex-direction: column;
        gap: 40px;
    }
    
    .content-two-column.flex-reverse {
        flex-direction: column;
    }

    .content-two-column > div.content-text {
        padding: 0;
    }

    .content-two-column > div.content-image {
        width: 100%;
    }

    .page-content-section ul:not(.checklist-style) {
        padding-left: 20px;
    }

    .logo-disclaimer {
        flex-direction: column;
    }

}

.header-buttons {
    display: flex;
    gap: 15px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.header-buttons li {
    flex: 1 1;
}

.header-buttons li a {
    width: 100%;
    box-sizing: border-box;
}

#buildersCommunities .slideshow {
    background: #fff;
    max-width: 700px;
}

#buildersCommunities .largerContainer {
    width: 100%;
}

#buildersLanding .builder {
    border-radius: 8px;
}

#buildersLanding .builder .name {
    text-align: center;
    text-transform: capitalize !important;
}

@media (max-width: 1260px) {

    #buildersCommunities  {
        max-width: 100%;
    }

}