#backtotop>span,
.wrapper {
    width: 100%;
    max-width: 1440px;
    min-width: 320px;
    border:  var(--wrapper-margin) solid transparent;
    border-top: none !important;
    border-bottom: none !important;

    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.section { margin-bottom: calc(var(--wrapper-margin) - var(--gutter)); margin-bottom: var(--wrapper-margin);/**/ }
 .section:has(.banner_cards) .banner_cards,
 .section:has(.cta_cards) .cta_cards {  x: calc(0px - var(--gutter)); }

.content {
    position: relative;}

.listings.mainlistings { padding: var(--wrapper-margin) 0;}
.listings:not(:first-child) { padding: var(--wrapper-margin) 0;}


@media only screen and (max-width: 599px)  { body { width: 100%; min-width: 100%; } }

@media only screen and (min-width: 600px) { body { min-width: 768px; } }

@media only screen and (min-width: 900px) { body { width: 100%; min-width: 100%; } }




@media all and (max-width: 1199px) {

    .section { margin-bottom: calc(var(--wrapper-margin)); }
}

@media all and (max-width: 899px) {

    #main { padding-top: var(--masthead-height); }
	#masthead:has(#alert_banner:not(.notshown))+#main,
    #masthead:has(#promo_bar:not(.notshown))+#main { padding-top: calc((var(--masthead-height) * 2) - 8px); }
    .section {   margin-bottom: 32px; }

}
@media all and (max-width: 599px) {

    .section { margin-bottom: calc(32px - var(--gutter)); margin-bottom: 32px; }

}


div.cky-footer-wrapper > div:last-child { display: none !important;}