@media screen and (min-width:0px) {

    #agdvs {
        padding: 20px 5%;
    }

    #agdvs p {
        font-size: 14px;
    }

    #agdvs h3 {
        text-align: center;
        font-size: 26px;
        padding: 10px 0;
        margin: 0;
    }

    #agdvs ul {
        font-size: 14px;
    }

    #events {
        padding: 20px 5%;
    }

    #events p {
        font-size: 14px;
    }

    #events h3 {
        text-align: center;
        font-size: 26px;
        padding: 10px 0;
        margin: 0;
    }

    #events h4 {
        text-align: center;
        font-size: 22px;
        padding: 10px 0;
        margin: 0;
    }

    #njLogo {
        height: 100px;
        background-image: url("images/NJ_digital_logo_media.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 10px 0;
    }

    #specialties {
        text-align: center;
        padding-bottom: 20px;
    }

    #specialties a {
        padding: 5px 10px;
        color: white;
        border-radius: 4px;
        font-size: 18px;
        text-decoration: none;
    }

    #specialties a:hover {
        color: white;
    }

    #specialties a:visited {
        color: white;
    }

    #specialties h3 {
        padding: 60px 10px;
        color: white;
        font-size: 32px;
    }

    #specialties p {
        font-size: 16px;
        padding: 10px;
    }

    #specialties > section {
        margin: 10px 10px 0 10px;
    }

    #usaPic {
        height: 100px;
        background-image: url("images/usa.png");
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        margin: 10px 0;
    }
}

@media screen and (min-width:380px) {
    #specialties > section {
        margin: 20px 5% 0 5%;
    }

    #events p {
        font-size: 16px;
    }

    
}

@media screen and (min-width:481px) {
}

@media screen and (min-width:576px) {
    #agdvs p {
        font-size: 16px;
    }

    #agdvs ul {
        font-size: 16px;
    }

    #events p {
        font-size: 14px;
    }


    #njLogo {
        height: 150px;
    }

    #specialties {
        display: flex;
        justify-content: space-evenly;
        align-items: stretch;
    }

    #specialties > section {
        width: 40%;
        margin: 20px 0 0 0;
    }

    #specialties h3 {
        font-size: 28px;
    }

    #usaPic {
        height: 150px;
    }
}

@media screen and (min-width:768px) {
    #agdvs h3 {
        text-align: left;
        font-size: 40px;
    }

    #agdvs p {
        font-size: 16px;
    }

    #agdvs ul {
        font-size: 16px;
    }

    #events h3 {
        font-size: 40px;
    }

    #events h4 {
        font-size: 30px;
    }

    #events p {
        font-size: 18px;
    }

    

    #nj {
        display: flex;
    }

    #njLogo {
        width: 33%;
        height: 300px;
        background-position: left top;
    }

    #njText {
        width: 66%;
        margin:0 0 20px 5%;
    }

    #specialties h3 {
        font-size: 36px;
    }

    #specialties > section {
        margin: 30px 0 0 0;
    }

    #usa {
        display: flex;
        flex-direction: row-reverse;
    }

    #usaPic {
        width: 33%;
        height: 300px;
        background-position: left top;
    }

    #usaText {
        width: 66%;
        margin:0 5% 20px 0;
    }
}

@media screen and (min-width:962px) {
    #agdvs p {
        font-size: 18px;
    }

    #agdvs ul {
        font-size: 18px;
    }

    #events p {
        font-size: 22px;
    }

    #specialties h3 {
        padding: 80px 10px;
        font-size: 42px;
    }
}

@media screen and (min-width:1200px) {
    #agdvs p {
        font-size: 20px;
    }

    #agdvs ul {
        font-size: 20px;
    }

    #events p {
        font-size: 24px;
    }


    #njText {
        margin:0 0 20px 0;
    }

    #specialties h3 {
        padding: 90px 10px;
        font-size: 48px;
    }

    #usaText {
        margin:0 0 20px 0;
    }
}

.avSm {
    background-image: url("images/av2.webp");
}

.clubHouseSm {
    background-image: url("images/clubHouse1.webp");
}

.flatSm {
   background-image: url("images/flatSm.webp"); 
}

.elecinstall {
   background-image: url("images/elecinstall.jpg"); 
}

.elecrepair {
   background-image: url("images/elecrepair.jpg"); 
}

.elecmaint {
   background-image: url("images/elecmaint.jpg"); 
}

.elecupgrade {
   background-image: url("images/elecupgrade.jpg"); 
}

.pitchedSm {
   background-image: url("images/pitchedSm2.webp"); 
}

.groundSm {
   background-image: url("images/groundMount1.webp"); 
}

.carSm {
   background-image: url("images/dvsCarPortSm.webp"); 
}

.sysBuild {
    background-image: url("images/sysBuild.webp");
}

.sysDesign {
    background-image: url("images/sysDesign.webp");
}

.sysMaint {
    background-image: url("images/maintSm.webp");
}




body {
    background-color:white;
    font-family:"helvetica";
    font-size:16px;
    margin:0;
    padding:0;
    color:#012758;
}

footer {
    display:flex;
    justify-content:center;
    align-items:center;
    height:200px;
    padding:0 10%;
    font-size:22px;
}

footer > section {
    color:#aecef6;
}


#afford {
    display:flex;
    justify-content:center;
    margin:80px 5%;
    text-align:center;
    align-items:center;
}

#afford p {
    margin: 0 20px 0 0;
    font-size:20px;
    line-height:26px;
    padding:10px 0;
}

#afford h2 {
    font-size:36px;
    font-weight:bold;
    margin:0 20px 10px 0;
    padding:5px 0;
    box-shadow:-5px 5px 0 #fcb809
}

#afford button {
    border:2px solid white;
    border-radius:12px;
    margin:10px 0;
    padding:5px 10px;
    font-size:24px;
}

#benefits {
    text-align:center;
    margin:10px 2% 80px 2%;
    display:flex;
    justify-content:space-around;
}

#benefits h2 {
    font-size:48px;
    margin:10px;
}

#benefits h3 {
    font-size:32px;
    margin:20px 0 20px 0;
}

#benefits p {
    font-size:20px;
    margin:0;
}

#benefits > section {
    width:28%;
}


#bizHome {
    display:flex;
    text-align:center;
    margin:0 5%;
    justify-content:center;
    align-items:center;
}

#bizHome > section {
    width:50%;
}

#bizHome button {
    font-size:22px;
    line-height:20px;
    font-weight:bold;
    width:250px;
    padding:5px 10px;
    margin-top:15px;
    border:2px solid white;
    border-radius:12px;
    text-shadow:0px 0px 6px #01133e;
}

#bizIntro {
    width:50%;
    height:100%;
    height:250px;
}

#bulbIcon {
    background-image:"images/bulb1.webp";
}

#caseStudy h2 {
    font-size:48px;
    text-align:center;
    font-weight:bold;
    padding:15px 10px;
    margin:0;
}

#caseStudy div {
    height:300px;
    width:100%;
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/phc.webp");
}

#caseStudy p {
    margin:20px 10%;
    font-size:22px;
}

#dollar {
    width:200px;
    height:200px;
    font-size:150px;
    line-height:200px;
    color:white;
    border-radius:230px;
    text-align:center;
    margin:0 auto;
    border:15px solid #fcb809;
}

#fullService h2 {
    text-align:center;
    font-size:48px;
    /*text-shadow:1px 1px 2px #01133e;*/
    margin:0 0 0px 0;
    padding:25px 5px;
    border-bottom:1px solid #FFF;
    /*border-top: 5px solid #008ad1;*/
}


#homeIntro {
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/residential19.webp");
    width:50%;
    height:100%;
    height:250px;  
}


#icon {
    text-align:right;
    min-width:100px;
    max-width:100px;
}

#intro {
    height:475px;
    background-position:center;
    background-repeat:none;
    background-size:cover;
    margin-top:75px;
    position:relative;
    border-bottom: 10px solid #008ad1;
}

#intro h1 {
    font-size:60px;
    text-align:center;
    text-shadow:0px 0px 8px #01133e;
    color:white;
    padding-top:40px;
    margin-bottom:25px;
}

#introPics {
    margin:25px 2% 0 2%;
    text-align:center;
}

#introFooter {
    position:absolute;
    left:0;
    bottom:30px;
    width:100%;
    text-align:center;
    font-size:42px;
    font-weight:bold;
    line-height:36px;
    color:white;
    text-shadow:1px 1px 8px #01133e;
    margin:0px;
    padding:0px;
}

#logo {
    display:inline-block;
    margin:0;
    padding:10px;
}

#makeMoney {
    background-color:#00b86d;
    color:white;
    display:flex;
    align-items:center;
}

#moneyPic {
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/money2.webp");
    margin:0;
    height:250px;
    width:33%;
    font-size:48px;
    font-weight:bold;
    text-align:center;  
}

#moneyBtn {
    border-radius:8px;
    border:0;
    padding:5px 8px;
    font-size:18px;
    font-weight:bold;
    margin:5px 0;
    border:2px solid white;
}

#moreSave {
    text-align:center;
    font-size:54px;
    margin:10px 0;
}


#mission {
    display:flex;
    align-items:center;
    margin:60px 10% 80px 10%;
}

#mission p {
    font-size:24px;
    margin:0 3% 0 3%;
    color:#012758;
}

#phc {
    display:flex;
    justify-content:space-between;
}

#phc p {
    font-size:18px;
    padding:20px;
    line-height:28px;
}

#quote {
    font-size:20px;
    font-weight:bold;
    position:absolute;
    top:18px;
    right:3%;
    padding:8px 12px;
    text-shadow:1px 1px 0 #01133e;
    border-radius:10px;
    box-shadow: 0px 0px 15px white
}

#services {
    display:flex;
    justify-content:space-between;
}

#services > section {
    width:33%;
    padding:10px 0;
}

#services div {
    width:200px;
    height:200px;
    border:8px solid white;
    border-radius:108px;
    margin:0 auto;
}

#services h2 {
    text-align:center;
    color:white;
    font-size:36px;
    margin:0;
    padding:10px 0;
    text-shadow:1px 1px 3px #01133e;
}

#services p {
    text-align:center;
    color:white;
    font-size:20px;
    padding:0 7% 0 7%;
}

#services button {
    text-align:center;
    font-size:20px;
    color:white;
    padding:5px 10px;
    border:2px solid white;
    border-radius:4px;
    margin-bottom:20px;
}

#time {
    display:flex;
    margin:80px 0;
}

#time button {
    padding:5px 10px;
    color:white;
    margin:20px;
    font-size:30px;
    border:2px solid white;
    border-radius:12px;
}

#time div {
    width:400px;
    height:375px;
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/clockSun.webp");
    /*box-shadow: -15px 15px 0 0 #012758;*/
    margin:30px auto;
    padding:20px 0 0 10px;
    font-size:48px;
    font-weight:bold;
    text-align:center;
}

#time h3 {
    font-size:54px;
    margin:10px 0 0 0;
    text-transform:uppercase;
    line-height:50px;
}

#time img {
    float:left;
    margin-right:15px;
    padding:10px;
    border:2px solid white;
    height:110px;
    width:125px;
}

#time p {
    font-size:32px;
    font-weight:bold;
    margin:0 5%;
    color:white;
    padding:20px 10px 10px 10px;
    line-height:52px;
    text-align:center;
}

#time > section {
    width:50%;
    display:flex;
    align-items:center;
}

.calvertLogo {
    background-image: url("images/calvertLogo.png");
}

.charlesLogo {
    background-image: url("images/charlesLogo.png");
}


.home {
        background-image: url("images/homeBanner.webp");
}

.electrical {
        background-image: url("images/elechead2.jpg");
}

.eventsPic {
    width: 150px;
    height: 150px;
    min-width: 150px;
    margin: 0 auto;
}

.justify-center {
    justify-content:center;
}

.subTitle {
    font-size:38px;
    display:block;
}

.home1sm {
    background-image: url("images/residential1sm.jpg");
}

.home2sm {
    background-image: url("images/residential4sm.jpg");
}

.business1sm {
    background-image: url("images/commercial5sm.jpg");
}

.business2sm {
    background-image: url("images/SolarCanopy2sm.jpg");
}

.greenBg {
    background-color:#01a844;
}

.greenText {
    color:#01a844;
}

.greenMText {
    color:#018837;
}

.greenMBg {
    background-color:#018837;
}

.installationPic {
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/installation400.webp");
}

.maintenancePic {
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image: url("images/maintenance400.webp");
}

.orangeBg {
    background-color:#f3711b;
}

.orangeMBg {
    background-color:#ca4b12;
}

.orangeText {
    color:#f3711b;
}

.round1 {
    display:inline-block;
    border:6px solid white;
    min-width:160px;
    max-width:160px;
    height:160px;
    margin:0 2%;
    border-radius:86px;
    background-position:center;
    background-repeat:none;
    background-size:cover;
}

.salesPic {
    background-position:center;
    background-repeat:none;
    background-size:cover;
    background-image:url("images/sales400.webp");
}

.whiteText {
    color:#FFF;
}

.yellowBg {
    background-color:#fcb809;
}

.yellowText {
    color:#fcb809;
}

.dbBoxShadow {
    box-shadow: 15px 15px 0 0 #012758;
}

