
/* 
 * Color Pallet
 * RED1 #BE0A0E
 * RPNK #D8575A
 * GRY  #585658
 * WHT  #F3F2F3
 * RED2 #BE0506
 */

/*
 * Text styling, max width control for multi-device
 */
img {
   max-width: 100%;
   height: auto;
   width auto\9; /* ie8 */
}

#landingHeader img {
    max-width: 250px;
    max-height: 150px;
    height: auto;
}

/* Allow other images to be larger if needed */
.content img {
   max-height: 350px;
}

body {
    background-color: #F3F2F3;
    margin: 1em auto;
    max-width: 40em;
    padding:0 0;
    font:1.2em/1.62em sans-serif;
    text-align: left;
}

#landingHeader {
    text-align:center;
}

h1,h2,h3 {
    line-height:1.2;
}


@media print {
    body {
        max-width: none;
    }
}

div.fb-page {
    display: block;
    text-align:center;
    margin: 0 auto;
}

/*
 * Styling for navigation bar
*/
.navbar {
  list-style-type: none;
  margin: auto;
  padding: 0;
  width: 80%;
}

li.navbar a {
  background-color: #585658;
  display: block;
  text-decoration: none;
  text-align: center;
  color: white;
  width: 100%;
  height: 100%;
}


@media only screen and (min-width: 768px) {
  ul.navbar {
    display: flex;
    list-style-type: none;
    margin: 1em auto;
    padding: 0;
    overflow: hidden;
    width: 100%;
    justify-content: space-between;
  }

  li.navbar { 
    background-color: #585658;
    display: inline-block;
    padding-right: 15px;
  }

  li.navbar a {
    flex: 1;
    display: block;
    color: white;
    text-align: center;
    padding: 1em 0; 
    text-decoration: none;
 }

 /* Bit of a hack */
 #resources.active { 
    background-color: #D8575A;
    display: inline-block;
    padding-right: 15px;
    padding-left: 5px;
 }
}

li a.active {
    background-color: #D8575A;
    background-size: 200px;
}

