@charset "utf-8";

/* CSS Document */
@media screen {
    .flex-outer .adtest,  .ads-float-right .adtest {align-self:center;}
    .adtest{max-width:100% !important;}
   .mapads > div{width:100%;float:none;}
body {
    grid-template-columns: 2% 96% 2%;
    grid-template-rows: auto auto auto minmax(auto, 99fr) minmax(250px, min-content);
    grid-template-areas: "abovethefold abovethefold abovethefold" "pagetitleholder pagetitleholder pagetitleholder" "............   main     ............" "my-buttons my-buttons my-buttons" "footer         footer         footer";
}
    #abovethefold{width:100%;max-width:100%;overflow: hidden;}
.phone-digits, .phone-pretext {
    display: none;
}
#header-street-address, #header-social-icons {
    display: none;
}
header {
    grid-template-columns: minmax(30%,200px) auto min-content;
    grid-template-rows: auto;
    grid-template-areas: "header-logo header-nav header-nav";
}
#header-phone-number {
    font-size: 2rem;
    color: #000;
    justify-content: flex-end;
    margin-left: 1em;
}
#mega-toggle-block-1, #mega-menu-wrap-main-menu, .mega-toggle-label, .mega-toggle-blocks-right {
    position: static !important;
}
#header-phone-number, #header-phone-number a {
    color: #fef022;
}
#my-header {
    padding-top: 1em;
    padding-bottom: 1em;
}
#my-slideshow {
    padding-top: 65%;
    overflow: hidden;
    width: 100%;
    display: block;
}
#my-slideshow > div {
    position: absolute !important;
    top: 0px;
    width: 100%;
}
#overlay-headline-1, #overlay-headline-1a, #overlay-headline-2, #overlay-headline-3, #overlay-headline-3a {
    font-size: 1rem;
}
#slider-text-overlay-1 > div, #slider-text-overlay-2 > div, #slider-text-overlay-3 > div {
    width: 88%;
    align-self: center;
   
}
    #slider-text-overlay-2 > div{width:100%;}
#slider-text-overlay-1, #slider-text-overlay-2, #slider-text-overlay-3 {
    justify-content: center;
}
#overlay-maintext-1, #overlay-maintext-2, #overlay-maintext-3 {

    font-size: 1.0rem;
    line-height: 1.5;
}
#my-slideshow .sa_owl_theme .owl-dots {
    bottom: 10px !important;
    display: none !important;
}
.quick-quote-form {
    text-align: center;
}
footer {
    width: 100%;
    box-sizing: border-box;
}
#footer-content > div {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: max-content;
    margin-bottom: 1em;
    max-width: 90%;
}
#footer-logo img {
    width: 70%;
    height: auto;
    position:relative;
    margin-left:auto;
    margin-right:auto;
    display:block;
}    
#mega-menu-wrap-main-menu #mega-menu-main-menu > li.mega-menu-item {
    padding-bottom: .4em !important;
    padding-top: .4em !important;
}
    .flex-outer{display:flex;justify-content: space-between;flex-direction: column;box-sizing: border-box;width:100%;}
    .flex-outer > *{margin-bottom:1em;}
    .aligncenter, .alignleft, .alignright, .entry img{display:block; position: relative; max-width:100% !important; height:auto !important;margin-left:auto;margin-right:auto;margin-bottom:1em;}
    .main{max-width:100%;}
    .sbsbox > * {padding:1em;}


    .myinfoboxes a > div {justify-content: center;
    }
    .mymunicipalitylist{width:100%;float:left;margin-bottom:30px;}
    .mymunicipalitylist a{width:100%;float:left;height:70px;line-height:70px;box-sizing: border-box;padding-left:90px;}
    .mymunicipalitylist a:nth-child(odd){margin-right:2%;}
    .ad728x90, .ad960x268{font-size:1em;width:100%;line-height:1.2em;}
    .ad728x90:after, .ad960x268:after{display:block;content:'';}
    .ad728x90:after{padding-top:12.36263736263736%;position: relative;}
 .ad960x268:after{padding-top:35.82089552238806%;position: relative;}
  .my-flex-photo-slideshow, .my-flex-map{width:100%;}

    main{padding-left:0px;padding-right:0px;}
    .textleft.sbsbox{display:flex;flex-direction:column;}
    .textleft.sbsbox > div:nth-child(1){order:2}
     .textleft.sbsbox > div:nth-child(2){order:1}
    .textleft.sbsbox > div:nth-child(1) {display:block;overflow:hidden;}
    .textleft.sbsbox > div:nth-child(2):after{content:'';display:block;padding-top:50%;}
    .textright.sbsbox > div:nth-child(1):after{content:'';display:block;padding-top:50%;}
     .njicons{display:flex;width:100%;justify-content: space-between;position:relative;margin-left:auto;margin-right:auto;max-width:100%}
    .njicons img{max-width:20% !important; height:auto;align-self:center;}
    .mycountymap{float:left;width:100%;}
    .mymunicipalitylist{margin-left:0px;}
    .market-stats{padding-left:1em;padding-right:1em;}
       .my-flex-map a{font-size:1em;line-height:1.5;}
	  .flexmls-btn-primary{font-size:1.3em !important;padding:.7em !important;line-height:1.6em !important;}
	.contact-smaller-text{font-size:.6em !important;line-height:1.1em !important; }
	.admockup{width:100%;min-height:150px;}
    
}
