/*stickyfoot*/
html,
body {
    height: 100%;
        /* The html and body elements cannot have any padding or margin. */
}

body {
    font-family: 'Source Sans', sans-serif;
    background-color: #ebebeb;
    font-size: 1.75em;
    font-weight: 100;
}

.bgimage { 
    position: relative;
    background-image: url('../images/headerbackground.jpg');
    background-position: center center;
    background-size: cover;
    height: 250px;
    border-bottom: 5px solid white; 
}

.bgimage .container img {
    position:absolute;
    bottom: 0;
}

/* Wrapper for page content to push down footer */
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -2em;
}

li { margin: 10px 0; }

a {
    color: #555555;
}

em {
    font-style: normal;
    font-weight: 700;
}

hr {
    border-color: lightgray;
    border-width: thin;
}

h1 {
    font-family: 'Roboto Slab', serif;
    font-weight: 700; 
    font-size: 2em;
    margin-bottom: .5em;
}

h3 { margin-top: 0px; }

/* -------  .nav -------- */
.nav>li {
    margin: 0;
}
.nav>li>a {
    color: #182517;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: .9em;
    font-weight: 400;
}
.nav>li>a:focus {
    background-color: transparent;
}
.nav>li>a:hover {
    background-color: white;
}
.nav>li>a.current {
    color:#186517;
    background-color: white;
}
.nav>li.active>a:hover{
    color: forestgreen;
}
.nav>li.active>a:active{
    color:#186517;
}
.nav>li.active>a:focus{
    color: #186517;
}
/* ------- / .nav -------- */

.main {
   margin-bottom: 3em; 
}

footer {
    position:relative;
    font-size: .75em;
    font-weight: 100;
    color: #555555;
    background-color: lightgray;
    height: 3em;
    padding: .75em 0em .75em 0em;
}



/*--------------------------992px------------------------*/
@media screen and (max-width: 992px) {
#wrap {
    min-height: 100%;
    height: auto !important;
    height: 100%;
    /* Negative indent footer by it's height */
    margin: 0 auto -4em;
      }  
    
footer {
    position:relative;
    font-size: .75em;
    font-weight: 100;
    color: #555555;
    background-color: lightgray;
    /*background-color: #243D27;*/
    height: 5em;
    padding: .75em 0em .75em 0em;
}
    
.main {
   margin-bottom: 5em; 
}
}


/*--------------------------769px------------------------*/
@media screen and (max-width: 769px) {

.bgimage { height: 200px; } 
h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}
.bgimage .container img {
    position:absolute;
    padding-right:10px;
    padding-left:10px;
    bottom: 0;
    left:0;
}
    
.nav>li {
    text-align: center;
    border-bottom: 1px solid lightgray;
}

.nav>li.active>a:hover {
    border-bottom: none;
}
  
