/* Replaces behavior the WordPress theme scripts used to provide. */
.skip-link{position:absolute;left:-9999px;top:0;z-index:100000;background:#ffd010;color:#231f20;padding:10px 16px;font-family:Barlow,sans-serif;font-weight:700}
.skip-link:focus{left:8px;top:8px}
a:focus-visible,button:focus-visible,[role=button]:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid #ffd010;outline-offset:2px}

/* entrance animations are not replayed: show content */
.et_animated,.et-waypoint,.et_pb_animation_top,.et_pb_animation_left,.et_pb_animation_right,.et_pb_animation_bottom{opacity:1!important;animation:none!important;transform:none}

/* sticky header (was a script) */
header.et-l--header{position:sticky;top:0;z-index:9999}

/* menus */
button.mobile_menu_bar{background:none;border:0;padding:0;cursor:pointer;line-height:1}
.mobile_nav .et_mobile_menu{display:none}
.mobile_nav.opened .et_mobile_menu{display:block}
.et-menu li:focus-within>ul.sub-menu{visibility:visible;opacity:1}
.et-menu a[role=button]{cursor:pointer}

/* hero: single still */
.et_pb_slider .et_pb_slide{display:block}
.et_pb_slide.et-pb-active-slide .et_pb_slide_description{opacity:1;animation:none}

/* logo carousel and project galleries */
.divilife-3-col-feature-blurb-slider{position:relative}
.slick-list{overflow:hidden}
.slick-track{display:flex;transition:transform .4s ease;will-change:transform}
.slick-track>.slick-slide{float:none;flex:0 0 33.3333%;max-width:33.3333%;margin:0!important;box-sizing:border-box;padding:0 10px;display:flex;align-items:center;justify-content:center}
@media(max-width:980px){.slick-track>.slick-slide{flex-basis:50%;max-width:50%}}
@media(max-width:767px){.slick-track>.slick-slide{flex-basis:100%;max-width:100%}}
@media(prefers-reduced-motion:reduce){.slick-track{transition:none}}

/* project overlays */
.divioverlay-container{display:none}
.divioverlay-container.is-open{display:block}
.divioverlay-container.is-open .divioverlay{display:block!important;position:fixed;top:0;left:0;width:100%;height:100%;overflow-y:auto;z-index:16777271;background:rgba(0,0,0,.56);backdrop-filter:blur(4px)}
body.overlay-open{overflow:hidden}

/* project filter */
.df-area .et_pb_row{visibility:visible!important}
.df-area .et_pb_column.is-filtered-out{display:none!important}

/* forms */
.hp-field{position:absolute!important;left:-9999px}
.form-status:empty{display:none}
.form-status{margin-top:12px;font-family:Barlow,sans-serif}

/* map */
.et_pb_map{position:relative}
.et_pb_map iframe.map-embed{width:100%;height:100%;min-height:440px;border:0;display:block;filter:grayscale(1)}

/* careers: full job descriptions inside the dropdowns */
.job-details{margin:0 0 1em}
.job-details ul{padding-bottom:.6em}
body.overlay-open #sidebar-overlay{visibility:visible;z-index:16777270}
.divioverlay-container.is-open,.divioverlay-container.is-open .divioverlay,.divioverlay-container.is-open .divioverlay-bg{visibility:visible}
.divioverlay-container.is-open{z-index:16777270}

/* footer: links to the three ASI companies (added Nov 2026, owner request Nov 13) */
.asi-family{background:#231F20;padding:0 0 34px}
.asi-family__inner{width:80%;max-width:1152px;margin:0 auto;padding-top:22px;border-top:1px solid rgba(223,225,223,.35);display:flex;flex-wrap:wrap;align-items:center;gap:10px 28px;font-family:'Barlow Condensed',Barlow,sans-serif;font-size:16px;font-weight:600;text-transform:uppercase;letter-spacing:.02em}
.asi-family__label{color:#ffd010}
.asi-family a{color:#DFE1DF;text-decoration:none;transition:color .3s ease}
.asi-family a:hover,.asi-family a:focus{color:#ffd010}
@media(max-width:767px){.asi-family__inner{flex-direction:column;align-items:flex-start;gap:8px}}

/* text-beside-photo rows: keep side by side from 981px up (the old theme stacked them at 1280px and below). Added Nov 17, 2026.
   The Services overview cards (page-id-22) are left stacked: their titles break mid-word at half width. */
@media only screen and (min-width:981px) and (max-width:1280px){
html body:not(.page-id-22) .et_pb_row.sidebyside{display:flex!important}
html body:not(.page-id-22) .sidebyside>.sidebysidecol,html body:not(.page-id-22) .sidebyside>.sidebysidecol2{width:50%!important}
}

/* ---- Phone and tablet fixes, Nov 20, 2026 (after launch, from Mari's iPhone review) ---- */

/* home: mission quote was 40px on phones */
@media only screen and (max-width:980px){
html body.home .et_pb_text_0,html body.home .et_pb_text_0 p{font-size:28px!important;line-height:1.35!important}
}
@media only screen and (max-width:767px){
html body.home .et_pb_text_0,html body.home .et_pb_text_0 p{font-size:21px!important;line-height:1.45!important}
}

/* inside pages: show the top photo as its own band, with the yellow title box below it instead of on top of it */
@media only screen and (max-width:980px){
html body .asi-hero{padding-top:0!important;padding-bottom:0!important;background-color:#231F20!important}
html body .asi-hero::before{content:"";display:block;width:100%;height:56vw;min-height:210px;max-height:520px;background-image:inherit;background-size:cover;background-position:center center;background-repeat:no-repeat}
html body .asi-hero>.asi-hero-row{display:block!important;width:100%!important;max-width:none!important;height:auto!important;margin:0!important;padding:0 10%!important;background:#231F20}
html body .asi-hero>.asi-hero-row>.et_pb_column{width:100%!important;margin:0!important}
html body .asi-hero>.asi-hero-row>.et_pb_column_empty{display:none!important}
html body .asi-hero>.asi-hero-row>.leftcolhead,html body .asi-hero>.asi-hero-row>.rightcolhead{position:relative;z-index:2;margin-top:-26px!important}
}

/* careers: the "Hiring CDL Drivers" headline ran past its box on phones */
@media only screen and (max-width:767px){
html body.page-id-13 .et_pb_fullwidth_header_0 .header-content{width:100%!important;max-width:100%!important;margin:0 auto!important;padding:10px 0!important;box-sizing:border-box}
html body.page-id-13 .et_pb_fullwidth_header_0 h1.et_pb_module_header{font-size:30px!important;line-height:1.1!important}
html body.page-id-13 .et_pb_fullwidth_header_0 .et_pb_button{margin-left:0!important;margin-right:0!important}

/* home hero: smaller photo file on phones */
html body.home .et_pb_slide_1{background-image:url(/assets/img/hero-sitework-900.jpg)!important}
}

/* home "It's a pleasure to meet you": on phones and tablets the wide photo was cropped to its right edge; frame the loader instead */
@media only screen and (max-width:980px){
html body.home .et_pb_row_2{background-position:36% top!important}
}

/* Home and Projects: the logo carousel made the page scroll about 10px sideways on phones */
@media only screen and (max-width:980px){
html body #et-boc .et-l--post{overflow-x:clip}
}
