/* Prevent HivePress directory controls and grids from widening the viewport. */
html,body{max-width:100%;overflow-x:clip}
.hp-page,.hp-page *,.hp-row,.hp-grid,.hp-listings,.hp-listing,.hp-form,.hp-form__fields,.hp-field,.select2-container,.select2-selection,.select2-dropdown{box-sizing:border-box}
.hp-page,.hp-page__content,.hp-page__sidebar,.hp-row,.hp-grid,.hp-listings,.hp-listing,.hp-form,.hp-form__fields,.hp-field,.select2-container,.select2-selection,.select2-dropdown{min-width:0;max-width:100%}
.hp-row{width:100%!important;margin-left:0!important;margin-right:0!important}
.hp-col-lg-4,.hp-col-lg-8,.hp-col-sm-4,.hp-col-sm-8,.hp-col-xs-12,[class*="hp-col-"]{min-width:0;max-width:100%;padding-left:10px!important;padding-right:10px!important;box-sizing:border-box!important}
.hp-form--listing-filter,.hp-form--listing-search,.hp-listings__view,.hp-listings__header{width:100%;max-width:100%}
.hp-form__field,.hp-form__field input,.hp-form__field select,.hp-form__field textarea,.select2-container{width:100%!important;max-width:100%!important}
.select2-selection__rendered{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hp-listings__header{display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.hp-listings__header>*{min-width:0;max-width:100%}
.hp-page img,.hp-page iframe,.hp-page svg,.hp-page table{max-width:100%}
@media(max-width:980px){.hp-page__content,.hp-page__sidebar{width:100%!important;max-width:100%!important;flex:0 0 100%!important}.hp-row{display:flex;flex-wrap:wrap}.hp-listings__header{align-items:stretch}.hp-listings__header>*{width:100%}}