#top .avia-post-nav {
    display: none !important;
}
/* Make Markets mega menu display 8 columns */
#top #header .avia_mega_div > .sub-menu > li {
    width: 12.5%;
}
.contractor-overlay {
    background-color: rgba(52, 71, 84, 0.70) !important;
}

.trimbuilt-footer a {
    transition: color 0.2s ease;
}

.trimbuilt-footer a:hover {
    color: #c8202f !important;
}
.markets-grid .flex_cell {
    padding: 0 !important;
    margin: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.markets-grid .flex_cell {
    padding: 0 !important;
    margin: 0 !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}
.markets-grid .market-cell {
    position: relative;
    overflow: hidden;
    filter: grayscale(80%) brightness(60%);
    transition: filter 0.35s ease;
}

.markets-grid .market-cell:hover {
    filter: grayscale(0%) brightness(100%);
}
.market-intro {
    margin-top: -1px !important;
}
.about-map {
    margin-left: -40px !important;
    margin-top: 25px !important;
}

.about-map img {
    width: 175% !important;
    max-width: none !important;
    height: auto !important;
}
.nowrap-heading h1 {
    font-size: 28px !important;
    white-space: nowrap;
}
.footer-line h3 {
	text-decoration: underline white 1px
}
.about-project-slider img {
    width: 100% !important;
    height: 350px !important;
    object-fit: cover !important;
}

.community-gallery {
    max-width: 1050px;
    margin-left: auto;
    margin-right: auto;
}
/* Mobile typography */
@media only screen and (max-width: 767px) {
    #top .main_color p {
        font-size: 16px;
        line-height: 1.5;
    }

    #top .av-special-heading h1,
    #top .av-special-heading h2 {
        font-size: 28px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
    }
}
/* Homepage Austin Original - Mobile */
@media only screen and (max-width: 767px) {

    .home-austin-intro .av-flex-placeholder {
        display: none !important;
    }

    .home-austin-intro .flex_column {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
    }

    .home-austin-intro .hr {
        display: none !important;
    }

    .home-austin-intro .avia-button-wrap {
        margin-top: 20px !important;
        margin-bottom: 0 !important;
    }
}
/* More Than a Contractor - Mobile */
@media only screen and (max-width: 767px) {
    #top .home-contractor {
        padding: 30px 20px !important;
        width: 100% !important;
        margin-left: 0 !important;
        box-sizing: border-box !important;
    }
}
/* Homepage Services, Trade Partners and Careers - Mobile */
@media only screen and (max-width: 767px) {
    #top .home-quick-links .flex_column {
        padding: 25px 20px !important;
        min-height: 0 !important;
        height: auto !important;
        margin-bottom: 15px !important;
    }

    #top .home-quick-links .hr {
        display: none !important;
    }

    #top .home-quick-links h2,
    #top .home-quick-links h3 {
        font-size: 26px !important;
        line-height: 1.2 !important;
    }
}
/* Reduce mobile quick link spacing */
@media only screen and (max-width: 767px) {
    #top .home-quick-links .avia_textblock {
        margin: 0 !important;
        padding: 0 !important;
    }

    #top .home-quick-links .av_textblock_section {
        margin: 0 0 15px 0 !important;
        padding: 0 !important;
    }

    #top .home-quick-links .avia_textblock p {
        margin: 10px 0 !important;
    }

    #top .home-quick-links .avia_textblock h2,
    #top .home-quick-links .avia_textblock h3 {
        margin: 0 !important;
        padding: 0 !important;
    }
}
/* Mobile homepage cards */
@media only screen and (max-width: 767px) {
    #top .quick-link-card {
        min-height: 0 !important;
        height: auto !important;
        padding: 25px 20px !important;
    }

    #top .quick-link-card .av_textblock_section {
        margin: 0 !important;
        padding: 0 !important;
    }

    #top .quick-link-card p {
        margin: 12px 0 !important;
    }
}
@media only screen and (max-width: 767px) {
    #top .quick-link-card h1,
    #top .quick-link-card h2,
    #top .quick-link-card h3 {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }
}
/* Mobile markets grid */
@media only screen and (max-width: 767px) {
    #top .markets-grid .market-cell {
        min-height: 200px !important;
        filter: none !important;
    }

    #top .markets-grid .market-cell h2,
    #top .markets-grid .market-cell h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        color: #ffffff !important;
    }
}
/* Mobile market tile alignment */
@media only screen and (max-width: 767px) {
    #top .markets-grid .market-cell {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        text-align: center !important;
        filter: brightness(85%) !important;
    }

    #top .markets-grid .market-cell h1,
    #top .markets-grid .market-cell h2,
    #top .markets-grid .market-cell h3 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        margin: 0 !important;
        text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    }
}
/* Mobile flyout menu spacing */
@media only screen and (max-width: 767px) {
    #top #av-burger-menu-ul {
        vertical-align: top !important;
        padding-top: 90px !important;
    }

    #top #av-burger-menu-ul li a {
        font-size: 18px !important;
        font-weight: 600 !important;
        padding-left: 25px !important;
    }
}

/* Mobile submenu styling */
@media only screen and (max-width: 767px) {

    #top #av-burger-menu-ul .sub-menu {
        background-color: #E4E5E9 !important;
    }

    #top #av-burger-menu-ul .sub-menu li a {
        padding-left: 40px !important;
        background-color: #E4E5E9 !important;
        color: #304451 !important;
    }

    #top #av-burger-menu-ul .sub-menu .avia-menu-text {
        font-size: 16px !important;
        font-weight: 400 !important;
        color: #304451 !important;
    }

    #top #av-burger-menu-ul li.av-show-submenu > a .avia-menu-text {
        color: #B5121B !important;
    }
}
/* Mobile fullscreen hero sliders */
@media only screen and (max-width: 767px) {

    #top .avia-fullscreen-slider,
    #top .avia-fullscreen-slider .avia-slideshow,
    #top .avia-fullscreen-slider .avia-slideshow-inner,
    #top .avia-fullscreen-slider .avia-slideshow-inner li {
        height: 350px !important;
        min-height: 350px !important;
    }

 /* Mobile fullscreen hero height */
@media only screen and (max-width: 767px) {

    #top .avia-fullscreen-slider,
    #top .avia-fullscreen-slider .av_fullscreen,
    #top .avia-fullscreen-slider .avia-slideshow-inner,
    #top .avia-fullscreen-slider .avia-slideshow-slide {
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
    }

    /* Homepage hero height */
    #top.home .avia-fullscreen-slider,
    #top.home .avia-fullscreen-slider .av_fullscreen,
    #top.home .avia-fullscreen-slider .avia-slideshow-inner,
    #top.home .avia-fullscreen-slider .avia-slideshow-slide {
        height: 450px !important;
        min-height: 450px !important;
        max-height: 450px !important;
    }

    /* Maintain image proportions */
    #top .avia-fullscreen-slider .avia-slideshow-slide {
        background-size: cover !important;
        background-position: center center !important;
    }
} 
	
	/* Mobile fullscreen hero captions */
@media only screen and (max-width: 767px) {

    #top .avia-fullscreen-slider .slideshow_caption {
        width: 90% !important;
        left: 5% !important;
        right: 5% !important;
        text-align: center !important;
        padding: 0 !important;
    }

    #top .avia-fullscreen-slider .avia-caption-title {
        font-size: 24px !important;
        line-height: 1.2 !important;
        text-align: center !important;
    }

    #top .avia-fullscreen-slider .slideshow_inner_caption {
        padding-bottom: 25px !important;
    }
}
	/* Mobile introductory headings */
@media only screen and (max-width: 767px) {
    #top .section-eyebrow .av-special-heading-tag,
    #top .section-eyebrow.av-special-heading-tag {
        font-size: 18px !important;
        line-height: 1.3 !important;
    }
}
	/* Mobile About page intro spacing */
@media only screen and (max-width: 767px) {
    #top .about-intro .content {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }
}
	/* Reduce spacing below About page slider on mobile */
@media only screen and (max-width: 767px) {
    #top .about-work-slider {
        margin-bottom: 20px !important;
    }
}
/* Services - Mobile Card Height */
@media only screen and (max-width: 767px) {
    #top #wrap_all .service-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
    }
}
/* Services - Mobile Cards */
@media only screen and (max-width: 767px) {
    #top #wrap_all .service-card {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        display: block !important;
        padding: 30px 25px !important;
    }

    #top #wrap_all .service-card h2,
    #top #wrap_all .service-card h3 {
        font-size: 26px !important;
        line-height: 1.2 !important;
        color: #304451 !important;
        padding: 0 !important;
        margin: 0 0 20px !important;
        overflow-wrap: anywhere;
    }

    #top #wrap_all .service-card p {
        color: #304451 !important;
    }

    #top #wrap_all .service-card .av-special-heading {
        margin-top: 0 !important;
        padding-bottom: 0 !important;
    }
}	
	/* Mobile service card headings */
@media only screen and (max-width: 767px) {

    #top .service-card h1,
    #top .service-card h1 strong {
        color: #304451 !important;
        font-size: 26px !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow-wrap: break-word;
    }

    #top .service-card h1 {
        margin-top: 0 !important;
        margin-bottom: 20px !important;
        padding: 0 !important;
    }
}
	/* Mobile service card bullet points and links */
@media only screen and (max-width: 767px) {

    #top .service-card ul,
    #top .service-card li,
    #top .service-card li span,
    #top .service-card li strong,
    #top .service-card a {
        color: #304451 !important;
    }

    #top .service-card a {
        text-decoration: underline;
    }
}