﻿.fam-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    align-items: flex-start;
    max-width: 665px;
}
.fam-item {
    order: 0;
    flex: 0 1 auto;
    align-self: auto;
    min-height: 40px;
    min-width: 150px;
}
.backWhite {
    background-color: #FFFFFF;
}
#family1 {
    width: auto;
    display: block;
    clear: both;
    padding: 5px 5px;
    margin: 0px auto;
    text-align: center;
}
#family2 {
    width: auto;
    display: block;
    clear: both;
    padding: 5px 5px;
    margin: 0px auto;
    text-align: center;
}
#family1 a {
    display: block;
    height: 40px;
    padding: 0px 10px;
}
#family2 a {
    display: block;
    height: 40px;
    padding: 0px 10px;
}

/*setting the initial image*/

a.biodiesel {
    background: url(//cleanfuels.org/sprites/biodiesel_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.nbb {
    background: url(//cleanfuels.org/sprites/CleanFuels_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.bq9000 {
    background: url(//cleanfuels.org/sprites/bq9000_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.bioheat {
    background: url(//cleanfuels.org/sprites/bioheat_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.foundation {
    background: url(//cleanfuels.org/sprites/foundation_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.store {
    background: url(//cleanfuels.org/sprites/store_sprite.gif) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.biotrucker {
    background: url(//cleanfuels.org/sprites/biotrucker_sprite.gif) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.nbbit {
    background: url(//cleanfuels.org/sprites/nbbit_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.pac {
    background: url(//cleanfuels.org/sprites/pac_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.guide {
    background: url(//cleanfuels.org/sprites/guide_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.abi {
    background: url(//cleanfuels.org/sprites/BCN_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.askben {
    background: url(//cleanfuels.org/sprites/askben_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.bioogle {
    background: url(//cleanfuels.org/sprites/bioogle_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.sustainability {
    background: url(//cleanfuels.org/sprites/sustainability_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.automotive {
    background: url(//cleanfuels.org/sprites/automotive_sprite.gif) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}
a.conference {
    background: url(//cleanfuels.org/sprites/conf_sprite.png) no-repeat 0px -40px;
    width: 110px;
    margin-bottom: 10px;
}

/*setting the poweredby initial image*/

a.poweredby {
    background: url(//cleanfuels.org/sprites/poweredby_sprite.png) no-repeat 0px -50px;
    width: 240px;
}

/*setting the social icon initail image*/

a.rss {
    background: url(//cleanfuels.org/sprites/social_sprite.gif) no-repeat -40px -20px;
    width: 20px;
    margin-right: 8px;
}
a.facebook {
    background: url(//cleanfuels.org/sprites/social_sprite.gif) no-repeat 0px -20px;
    width: 20px;
    margin-right: 8px;
}
a.youtube {
    background: url(//cleanfuels.org/sprites/social_sprite.gif) no-repeat -20px -20px;
    width: 20px;
    margin-right: 8px;
}
a.twitter {
    background: url(//cleanfuels.org/sprites/social_sprite.gif) no-repeat -60px -20px;
    width: 20px;
    margin-right: 8px;
}
a.email {
    background: url(//cleanfuels.org/sprites/social_sprite.gif) no-repeat -80px -20px;
    width: 20px;
}

/*setting the mouseover*/


/* reveal colorized version */

a:hover.biodiesel, a:hover.nbb, a:hover.bq9000, a:hover.bioheat, a:hover.foundation, a:hover.store, a:hover.biotrucker, a:hover.nbbit, a:hover.pac, a:hover.guide, a:hover.abi, a:hover.askben, a:hover.bioogle, a:hover.sustainability, a:hover.automotive, a:hover.conference {
    background-position: 1px 1px;
}

/* reveal colorized version */

a:hover.poweredby {
    background-position: 0px 0px;
}

/* reveal colorized version */

a:hover.rss {
    background-position: -40px 0px;
}
a:hover.facebook {
    background-position: 0px 0px;
}
a:hover.youtube {
    background-position: -20px 0px;
}
a:hover.twitter {
    background-position: -60px 0px;
}
a:hover.email {
    background-position: -80px 0px;
}
.familyfont {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #333;
    text-align: center;
}
.dkgreyfooter {
    background-color: #21242c;
    margin-right: auto;
    margin-bottom: 0px;
    margin-left: auto;
}
#FooterCopyright {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: #999;
    line-height: 19px;
}
#FooterCopyright a:link, #FooterCopyright a:visited {
    color: #CCC;
}
#FooterCopyright a:hover {
    color: #fff;
}
#FooterSocial {
    width: 190px;
    display: block;
    clear: both;
    padding: 0px;
    position: relative;
    margin: auto;
    top: 14px;
    min-height: 20px;
}
#FooterSocial a {
    display: block;
    float: left;
    height: 20px;
    padding: 0px;
}
#FooterPoweredby {
    position: relative;
    width: 240px;
    margin-top: 15px;
}
#FooterPoweredby a {
    display: block;
    height: 50px;
    padding: 0px 0px;
}
#whitewrapper {
    width: 100%;
    margin: auto;
    background-color: #FFFFFF;
}
.APP {
    display: block;
    clear: both;
    padding: 0px;
}