﻿body {
    background: #000000;
}
.center  {
    text-align: center;
}
        
#topbanner {
    width: 100%;
    min-height: 600px;
}
#bannerbackground {
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 1;
}
        
#header {
    text-align: center;
    z-index: 5;
    width: 100%;
    margin: auto;
    position: absolute;
    top: 80%;
    left: 50%;
    -ms-transform: translate(-50%, -75%);
    transform: translate(-50%, -75%);
}
/* hamburger */
#nav-icon3 {
    width: 50px;
    height: 40px;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2000;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .5s ease-in-out;
    -moz-transition: .5s ease-in-out;
    -o-transition: .5s ease-in-out;
    transition: .5s ease-in-out;
    cursor: pointer;
    display: none;
}

#nav-icon3 span {
    display: block;
    position: absolute;
    height: 8px;
    width: 100%;
    background: #CCCCCC;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
#navcheckbox {
    display: none;
}
#nav-icon3 span:nth-child(1) {
    top: 0px;
}

#nav-icon3 span:nth-child(2), #nav-icon3 span:nth-child(3) {
    top: 16px;
}

#nav-icon3 span:nth-child(4) {
    top: 32px;
}
#navcheckbox {
}
/* hamburger */
.title {
    color: #FFFFFF;
    fill: #FFFFFF;
    font-size: 85px;
    line-height: 85px;
    font-family: 'Montserrat-Bold';
    opacity: 1;
    -webkit-animation-name: titlefade; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 8s; /* Safari 4.0 - 8.0 */
    -webkit-transition-timing-function: cubic-bezier(0.38, 0.07, 0.94, 0.16);
    animation-name: titlefade;
    animation-duration: 8s;
    transition-timing-function: cubic-bezier(0.38, 0.07, 0.94, 0.16);
}
        
/* Safari 4.0 - 8.0 */
@-webkit-keyframes titlefade {
    from { opacity: 0.1; }
    to { opacity: 1; }
}

/* Standard syntax */
@keyframes titlefade {
    from { opacity: 0.1; }
    to { opacity: 1; }
}
        
.subttitle  {
    fill: #CCCCCC; 
    color: #CCCCCC; 
    font-size: 22px;
    font-family: 'Montserrat-Regular';
    margin: 35px auto 50px auto;
    text-transform: uppercase;
}
        
.green {
    color: #89C33F;
    font-family: 'Montserrat-Bold';
            
}
#header img {
    margin: 10px;
    width: 160px;
    height: 160px;
}
/*.title {
    color: White; 
    font-size: 60px;
    font-weight: bold;
    width: 700px;
}
.subttitle  
{
    color: #CCCCCC; 
    font-size: 22px;
    z-index: 1;
    margin-bottom: 80px;
}*/
#nav {
    position: relative;
    color: #CCCCCC;
    z-index: 5;
    margin: 50px 50px auto 50px;
}
    #nav span {
        margin: auto 15px 10px 15px;
        cursor: default;
        transition: 0.3s;
        white-space: nowrap;
    }
#nav span a,
#nav span a:hover {
    color: #CCCCCC;
    text-decoration: none;
}
#nav span:hover,
bottom_nav span:hover {
    padding-bottom: 10px;
    border-bottom: solid 2px #89C33F;
}
#nav #menu {
    display: inline-block;
    float: right;
    margin-right: 50px;
}
#main {
    position: relative;
    background: #FFFFFF;
    z-index: 10;
}
#footer {
    color: #CCCCCC;
    font-size: 14px;
    height: 200px;
    padding: 25px 0px;
    z-index: 10;
    position: relative;
}
#footer .content {
    color: white;
    font-size: 16px;
}

#footer .content a {
    color: white;
}
#footer .content a:hover {
    color: #89C33F;
}
#footer .article,
#bottom_nav {
    z-index: 10;
    position: relative;
}
        
#footer-background {
    background: url(../../../images/background.jpg) no-repeat;
    width: 100%;
    height: 1200px;
    position: absolute;
    z-index: 1;
    top: 0px;
    background-size: 100% 1200px;
    filter: brightness(0.4);
    left: 0px;
}
#footer img {
}
#bottom_nav {
    margin-top: 25px;
    margin: auto;
}
#bottom_nav a {
    color: #89C33F;
}
#bottom_nav a:hover {
    color: #CCCCCC;
}
#bottom_nav > div {
    width: 400px;
    vertical-align: top;
    color: #89C33F;
    
    margin: auto;
}
#bottom_nav .footertitle {
    font-family: 'Montserrat-Bold';
    font-size: 25px;
    text-transform: uppercase;
    margin-bottom: 20px
}
#bottom_nav .footertitle,
#bottom_nav .footertitle2 {
    color: #CCCCCC;
}
#bottom_nav .footertitle2 {
    margin-bottom: 10px;
    font-size: 16px;
}

#bottom_nav .developed {
    margin-top: 30px;
    color: #CCCCCC;
}
#bottom_nav .developed a {
    color: #CCCCCC;
}
#bottom_nav hr {
    border-color: #89C33F;
    margin: 20px auto;
}
#contactus,
#address {
    width: 100% !important;
    text-align: center;
}
#contactus {
    background: black;
    padding: 100px 0px;
    margin: 100px auto auto auto !important;
}
#address {
    margin: 50px auto auto auto !important;
}
#contactus [type=text],
#contactus textarea {
    width: 250px;
    padding: 5px;
    margin: 2px;
    font-family: Arial;
}
#contactus [type=submit] {
    background: transparent;
    border: none 0px transparent;
    font-family: 'Montserrat-Bold';
    color: #89C33F;
    font-size: 20px;
    text-transform: uppercase;
    padding-top: 10px;
}
#contactus [type=submit]:hover {
    color: white;
}
#contactus > div,
#address > div {
    width: 250px;
    display: inline-block
}
#contactus a {
    color: #CCCCCC;
    margin: 10px 5px;
}
#contact_info {
    width: 300px !important;
    text-align: left;
    vertical-align: top;
}
#address {
    text-align: center;
}
#address,
#contactus a:hover
#address a:hover {
    color: #89C33F;
}

#address a {
    color: White;
}

#address div:nth-child(2) {
    vertical-align: top;
    text-align: left;
    padding: 75px 0px 0px 50px;
    width: 300px !important;
}
#address .address_title {
    font-family: 'Montserrat-Regular';
    color: #CCCCCC;
    font-weight: bold;
    font-size: 25px;
    margin-bottom: 20px;
}
#address .address_title span {
    font-size: 16px;
    font-weight: normal;
}
.footer_logo {
    width: 200px;
    padding: 50px;
}

#main {
    text-align: center;
    margin: auto;
    padding-bottom: 100px;
}        
.article {
    padding: 25px 0px;
}
.article:first-child {
    padding: 100px 0px 25px 0px;
}
.content-header {
    width: 700px;
    font-size: 40px;
    text-align: center;
    font-family: 'Montserrat-Regular';
    margin: 10px auto 40px auto;
    text-transform: capitalize;
}
.content,
.graphtitle {
    width: 750px;
    text-align: left;
}
.content {
    margin: 20px auto;
    line-height: 30px;
    color: #666666;
}
.content, .graph {
    font-size: 18px;
}
.graphtitle {
    margin: auto auto 15px auto;
    color: #666666;
    line-height: 25px;
    font-size: 14px;
    font-style: italic;
}
.graphtitle text {
    fill: #666666;   
}
.graphtitle text:first-child,
.graphtitle div:first-child {
    font-family: 'Montserrat-Regular';
    font-size: 22px;
    font-style: italic;
    margin-bottom: 10px;
}
.graphtitle div:nth-child(2) {
    width: 555px;
}
.graph {
    text-align: center;
    /*background: rgba(204, 204, 204, 0.25);*/
    margin: auto;
    padding: 25px 0px;
}
        
#world_graph tspan:first-child {
    font-family: 'Montserrat-Bold';
}
#world_graph tspan {
    font-family: 'Montserrat-Regular';
    font-size: 14px;
}
#world_graph line {
    stroke: #000000;
    stroke-width: 2px;
}
        
#housegraph {
    width: 900px;
    text-align: center;
    margin: 30px auto auto auto;
}
#housegraph p {
    text-align: left;
}
#housegraph p div {
    display: inline-block;
    text-align: center;
    margin: 10px;
    width: 40px;
    height: 40px;
}
#housegraph .wide {
    width: 40px;
    height: auto;
}
#housegraph .tall {
    width: auto;
    height: 40px;
}
#housetext {
    text-align: left;
    margin: 0px 30px 30px 30px;
    float: right;
    width: 240px;
}
#housetext hr {
    border-color: #89C33F;
    border-style: solid;
    margin: 20px 0px 0px 0px;
}
#housetext hr:nth-child(2) {
    width: 80%;
    border-width: 1px;
}
#housetext hr:nth-child(4) {
    width: 90%;
    border-width: 1px;
}
#housetext div:first-child {
    font-family: 'Montserrat-Bold';
    font-size: 65px;
}
#housetext2 {
    display: none;
}
        
#housegraph img {
    filter: grayscale(100%) brightness(35%);
    -webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
    -webkit-transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
    animation-duration: 2s;
    transition-timing-function: cubic-bezier(0.22, 0.61, 0.36, 1);
}
        
.houselight {
    filter: grayscale(0%) brightness(100%) !important;
    -webkit-animation-name: houselight; /* Safari 4.0 - 8.0 */
    animation-name: houselight;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes houselight {
    from { filter: grayscale(100%) brightness(35%); }
    to {filter: grayscale(0%) brightness(100%);}
}

/* Standard syntax */
@keyframes houselight {
    from {filter: grayscale(100%) brightness(35%); }
    to {filter: grayscale(0%) brightness(100%);}
}
        
.grayout {
    filter: grayscale(0%) brightness(100%) !important;
    -webkit-animation-name: grayout; /* Safari 4.0 - 8.0 */
    -webkit-animation-duration: 2s; /* Safari 4.0 - 8.0 */
    animation-name: grayout;
    animation-duration: 2s;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes grayout {
    from { filter: grayscale(100%) brightness(35%); }
    to {filter: grayscale(0%) brightness(100%);}
}

/* Standard syntax */
@keyframes grayout {
    from {filter: grayscale(100%) brightness(35%); }
    to {filter: grayscale(0%) brightness(100%);}
}
        
/*#housegraph img {
    filter: grayscale(100%) brightness(35%);
    filter: invert(75%);
}*/
        
#spend {
    /*background: url('../images/spend_background.jpg') no-repeat center;
    height: 700px;*/
}
#spend img {
    width: 800px;
    margin: auto;
}
#spendwrapper {
    text-align:center;
    margin: auto;
}
#spendimages {
    margin: 20px auto;   
    padding: 0px 50px 25px 0px;
}
        
#spendwrapper .arrows {
    background: url('../../../images/arrows.png') no-repeat;
    width: 23px;
    height: 38px;
    filter: grayscale(100%) brightness(60%);
    transition: 0.3s;
}
        
#spendwrapper .arrows:hover {
    filter: grayscale(0%) brightness(100%);
}
        
#spendwrapper .right-arrow {
    transform: rotate(180deg);
}
        
.bargraph .percent {
    font-size: 50px;
    font-family: 'Montserrat-Bold';;
}
        
.bargraph .label_worst,
.bargraph .label_best {
    font-family: 'Montserrat-Regular';
    font-size: 12px;
}
        
.bargraph .label_worst {
    fill: #333333;
}
.bargraph .label_best {
    fill: #89C33F;
}
.bargraph .barlabel {
    font-size: 16px;
    font-weight: bold;
}
.positive .percent {
    fill: #89C33F;
}
.positive .barlabel {
    /*fill: #666666;*/
}
        
#wordwrapper {
    width: 800px;
    margin: 20px auto;
    display: flex            
}
#wordwrapper #words{
    width: 37%;
    text-align: right;
    font-weight: bold;
    font-size: 24px;
    padding: 5px;
}
#wordwrapper #words div {
    cursor: default;
    padding: 5px 0px;
    transition: 0.3s;
}
#words div:hover, 
#words .wordhighlight {
    color: #89C33F;
}
#wordwrapper #comment {
    width: 50%;
    border: solid 5px #89C33F;
    margin: 10px 10px 10px 40px;
    line-height: 30px;
    font-family: 'Montserrat-Regular';
    font-size: 16px;
}
#wordwrapper #comment > div {
    display: none;
    position: relative;
    text-align: left;
    padding: 0px 70px;
    top: 40%;
    left: 50%;
    -ms-transform: translate(-50%, -40%);
    transform: translate(-50%, -40%);
}
#comment > div span {
    font-size: 12px;
    display: block;
    margin-top: 10px;
    font-style: italic;
}
#wordwrapper #comment > div::before {
    content:url('../../../images/quote_start.png');
}
#wordwrapper #comment > div::after {
    content:url('../../../images/quote_end.png');
    float: right;
}
        
#wordwrapper .textfocus {
    color: #89C33F;
}
#wordwrapper .commentfocus {
    display: block !important;
}

@media only screen and (max-height: 600px) {
    #header {
        margin: 160px auto auto auto;
    }
}
        
@media only screen and (max-width: 1024px) {
    .title {
        font-size: 50px;
        line-height: 50px;
    }
    #housegraph {
        width: 890px;
    }
    #housegraph p div {
        margin: 9px;
    }
    #housetext {
        margin: 0px 30px;
        width: 230px;
    }
    #spend img {
        width: 80%;
    }
}
@media only screen and (max-width: 890px) {
    #housegraph {
        width: 400px;
    }
    #housegraph p div {
        width: 80px;
        height: 80px;
        margin: 10px;
    }
    #housegraph .wide {
        width: 80px;
        height: auto;
    }
    #housegraph .tall {
        width: auto;
        height: 80px;
    }
    #housetext {
        width: 200px;
    }
}
@media only screen and (max-width: 750px) {
    #nav-icon3 {
        display: block;
    }

    #nav {
        display: none;
    }

    #navcheckbox:checked + label + #nav {
        display: block;
    }

    #contactus > div, #address > div {
        width: auto;
    }
    #header {
        width: auto;
        top: 70%;
    }
    #footer-background {
        background-position: 0px 50%;
        background-size: 2000px 1000px
    }
    .title {
        font-size: 40px;
    }
    .subttitle {
        /*font-size: 20px;*/
    }
    #header img {
        width: 125px;
        height: 125px;
    }
    #nav {
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
        margin: 0px;
        text-align: center;
        padding: 10px 0px;
        font-size: 20px;
    }
    #nav span {
        display: block;
        padding: 5px;
    }
    .content-header {
        font-size: 30px;
    }
    .content-header,
    .content,
    .graphtitle {
        width: auto;
        padding: 0px 20px;
    }
    .graphtitle div:nth-child(2) {
        width: auto;
    }
    #world_graph text {
        fill: #000000;
        font-size: 14px;
    }
    #housetext div:first-child {
        font-size: 45px;
    }
    #housetext hr {
        margin: 18px 0px 0px 0px;
    }
    #housegraph p div {
        width: 24px;
        height: 24px;
        margin: 3px;
    }
    #housegraph .wide {
        width: 24px;
        height: auto;
    }
    #housegraph .tall {
        width: auto;
        height: 24px;
    }
    
    #wordwrapper {
        width: 85%;
        margin: 20px auto;
        display: block;
    }
    #wordwrapper #words div {
        display: inline-block;
    }
    #wordwrapper #words,
    #wordwrapper #comment {
        width: auto;
    } 
    #wordwrapper #words {
        text-align: center;
        font-size: 18px;
    }
    #wordwrapper #comment{
        height: 625px;
        margin: 20px auto;
    }
    #wordwrapper #comment div {
        /*padding: 0px 35px;*/
    }
    #footer img {
        width: 175px;
        height: 175px;
    }
}
@media only screen and (max-width: 480px) {
    #bottom_nav > div {
        width: auto;
    }
    #housegraph {
        width: 300px;
        margin: 10px auto;
    }
    #housetext {
        width: 140px;
        margin: 0px 0px 0px 0px;
    }
    .housecomment {
        font-size: 16px;
    }
    
    #spendimages {
        padding: 0px 15px 0px 0px;
    }
    #spendimages img  {
        width: 100%
    }
    .arrows {
        position: absolute;
        opacity: 0.5;
    }
    .left-arrow {
        left: 0px;
    }
    .right-arrow {
        right: 0px;
    }
    
    #contactus {
        margin: 50px auto auto auto !important;
        padding: 25px 0px;
    }
    #contact_info {
        padding-right: 0px;
        padding-bottom: 50px;
        text-align: center;
        
    }
    .fa-2x {
        font-size: 3.5em;
        padding: 5px 10px;
    }
}
        
@media only screen and (max-width: 320px) {
    /*#housegraph {
        width: 300px;
    }
    #housegraph p div {
        width: 80px;
        height: 80px;
        margin: 10px;
    }
    #housegraph .wide {
        width: 80px;
        height: auto;
    }
    #housegraph .tall {
        width: auto;
        height: 80px;
    }
    #housetext {
        width: 100px;
    }*/
}