@media (min-width: 993px) {
  .noDesktop {
    display: none;
  }
}
@media (min-width: 1200px) {
  #detail-agent-image #jr-photo-slideshow {
    height: 380px !important;
  }
}
@media (max-width: 1201px) {
  .mainbody {
    padding: 50px 0 !important;
  }
}
@media (max-width: 992px) {
  .custom-card h3 {
    font-size: 24px !important;
    line-height: 32px;
  }
  .content h3,
  .below-bottom h2,
  .go-premium-today h3 {
    font-size: 32px !important;
  }
  .content h5,
  .content h6,
  .go-premium-today h5 {
    font-size: 24px !important;
  }
  .arrow-down-icon {
    margin-top: 10px;
  }
  .mainbody {
    padding: 25px 0 !important;
  }
  .nda-list-wrapper {
    flex-wrap: wrap !important;
    flex-direction: column-reverse;
  }
  .nda-list-wrapper .nda-left,
  .nda-list-wrapper .nda-right {
    flex: 0 0 100% !important;
    width: 100% !important;
  }
  #eb .eb-post-listing.is-row.has-divider {
    grid-template-columns: auto auto auto;
  }
  .jrCustomFields {
    width: 100% !important;
  }
  #detail-agent-image #jr-photo-slideshow {
    height: 279px !important;
  }
  #need-help h2,
  #areas-served h2,
  #bio h2 {
    font-size: 24px !important;
  }
  #detail-agent-image {
    padding: 0 16px 0 0;
  }
  #need-help {
    margin-top: 16px;
    margin-bottom: 16px;
  }
  #need-help .btn {
    margin-top: 16px;
  }
  .jr-map-header .map-title {
    font-size: 36px;
  }
  .jr-map-header .map-subtitle {
    font-size: 18px !important;
  }
  #areas-served ul {
    grid-template-columns: 1fr 1fr;
  }
  .noPhone {
    display: none;
  }
  .bigText {
    font-size: 1.2rem;
    line-height: 1.1rem;
  }
  #senior-placement-banner {
    padding: 24px;
    background-image: none;
    background-color: #0d5094;
    margin-left: calc(var(--bs-gutter-x) * 0.25);
    margin-right: calc(var(--bs-gutter-x) * 0.25);
  }
  #senior-placement-banner .btn {
    padding: 6px 12px;
    height: auto;
  }
}
@media (max-width: 768px) {
  h1,
  h2 {
    font-size: 32px !important;
  }
  #view-article h2 {
    font-size: 24px;
  }
  .top-banner {
    padding: 35px 0 !important;
  }
  .custom-search {
    display: flex !important;
    flex-direction: column;
    gap: 20px;
  }
  .topLower-banner {
    padding: 40px 0 0;
  }
  .midgrid,
  .below-bottom {
    overflow: scroll;
  }
  .midgrid .container .row,
  .below-bottom .moduletable {
    width: 1080px !important;
    max-width: 1080px !important;
  }
  .container.lowerTop {
    padding: 40px var(--bs-gutter-x, 0.75rem) 0 var(--bs-gutter-x, 0.75rem);
  }
  .lowerMid h2,
  .bottom-banner h2 {
    font-size: 20px;
    line-height: 24px;
    text-align: center;
  }
  .neg-margin-bottom {
    margin-bottom: 20px;
  }
  .lowerMidLower img {
    height: 300px;
    object-fit: cover;
    object-position: right;
  }
  .midLower-banner {
    padding-bottom: 30px;
  }
  .footer-r.pull-right {
    margin-top: 2rem;
  }
  #eb .eb-post-listing.is-row.has-divider {
    grid-template-columns: auto auto;
  }
  .selectForm h3 {
    font-size: 1.1rem;
  }
  .care-level-calculator .mainbody h3 {
    margin-bottom: 24px;
  }
  .jrPaginationTop {
    margin-bottom: 0px;
  }
  .phone-block {
    display: block;
  }
  .toolbar-r .pill a.nav-link {
    color: #fff;
    font-size: 18px;
    border: none;
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
  }
  .lowertopgrid .row {
    row-gap: 0px;
  }
  .mapBanner a.btn.btn-primary {
    font-size: 1rem;
    padding: 5px 8px;
  }
  .lowerMid {
    margin-top: 0;
  }
  .lowertopgrid {
    margin: 20px 0 0px;
  }
  .lowerMidLower {
    margin-top: -200px;
  }
  .footer-l .foot ul li {
    flex: initial;
  }
  #detail-agent-image {
    padding: 0;
  }
}

@media (max-width: 576px) {
  .footer-r ul {
    flex-direction: column;
    text-align: center !important;
    row-gap: 10px;
  }
  .social-icons {
    justify-content: center;
  }
  #eb .eb-post-listing.is-row.has-divider {
    grid-template-columns: auto;
  }
  #detail-agent-image {
    padding: 0 12px;
  }
  .jr-map-header .map-title {
    font-size: 24px;
  }
}

@media (min-width: 992px) {
  .jrFiltersPanelInner .jrAddressGeolocation,
  .jrFiltersPanelInner .jrTextFilter {
    width: 100% !important;
  }
  .jrAddressGeolocation,
  .jrTextFilter {
    width: 125% !important;
  }
  .jrFiltersPanelInner .jr-geolocation {
    right: 0 !important;
  }
  .jr-geolocation {
    right: 71px !important;
  }
}
