/* Baseline with normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

body {
  margin: 0;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

button,
input { /* 1 */
  overflow: visible;
}

button,
select { /* 1 */
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/* Site Specific Styling */

/* Color Scheme */
:root {
    --new: #033570;
    --ocean: #0E78B6;
    --ice: #DDFFFF;
    --shore: #51D8C7;
    --xb: #121E34;
    --dark-gray: #3E4147;
    --fw-green: #136a36;
}

/* Typography */
body {
    font-size: 16px;
    line-height: 1.75em;
    font-family: 'Ubuntu', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Volkhov', serif;
}

a {
    text-decoration: none;
    color: #83B1C4;
}

a:hover {
    text-decoration: underline;
    color: #136A8F;
}

/* Base Styling */
.container {
  background: #FFF;
}

header {
  grid-area: header;
  padding: 1em;
  background: #83B1C4;
  color: #FFF;
  text-align: center;
}
nav {
  grid-area: nav;
  background: #45392B;
  padding: .5em 0;
  font-weight: bold;
  font-size: 1.25em;
}
nav ul {
    list-style-type: none;
}
nav a, footer a {
    text-decoration: none;
    color: #FFF;
}
nav a:hover, footer a:hover {
  color: #F3E1AD;
  text-decoration: none;
}
.topnav {
    overflow: hidden;
}
.topnav .icon {
    display: none;
}
#contact-us {
    background: #136A8F;
}
.inner-cell {
    font-size: 1.3em;
    padding: 1em;
    border-radius: 10px;
}
.attribution {
    text-align: right;
}
.main-content {
  grid-area: content;
  padding: 1em;
  font-size: 1.3em;
}
footer {
  grid-area: footer;
  background: #45392B;
  padding: 1em;
  color: #FFF;
}
#services {
    background: #136A8F;
    color: #FFF;
}
#services a {
    color: #FFF;
}
#services a:hover {
    color: #F3E1AD;
}
#involved-container a {
    text-decoration: none;
    color: #000;
}
#involved-container a:hover {
    text-decoration: none;
    color: #000;
}
/* Mailchimp Signup */
#mc_embed_signup {
    background:#fff;
    clear:left;
}

/* FAQ Styles */
.accordion {
    font-weight: bold;
    background-color: #eee;
    color: #444;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    transition: 0.4s;
}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .accordion:hover {
    background-color: #ccc;
}

/* Style the accordion panel. Note: hidden by default */
.faq-answer {
    padding: 0 18px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

/* Re-usable Styles */
.drop-shadow {
    box-shadow: 10px 5px 5px rgba(62, 65, 71, .5);
}

.button {
  background: #136A8F;
  padding: 15px;
  border-radius: 15px;
  color: #FFF;
}

.button:hover {
  text-decoration: none;
  background: #45392B;
  color: #FFF;
}

/* Responsive Grid */

@media (max-width : 767px) {
    nav ul li {
        margin: 1.25em 0;
    }
    header img {
        display: none;
    }
    header h1 {
        font-size: 2.5em;
        line-height: 100%;
    }
    h1, h2 {
      line-height: 100%;
    }
    .topnav a {
        display: none;
    }
    .topnav a.icon {
        text-align: center;
        display: block;
        margin-top: .75em;
    }
    .topnav.responsive {
        position: relative;
    }
    .topnav.responsive a.icon {
        text-align: center;
        margin-top: .75em;
    }
    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
    }
    .full-width {
        background: #136A8F;
        color: #FFF;
    }
    #download-rx {
        color: #000;
        background: #FFF;
    }
    .button {
      color: #FFF !important;
    }
    #contact-us a {
      color: #FFF;
    }
    .full-width a {
        color: #136A8F;
    }
    .full-width a:hover {
        color: #83B1C4;
    }
    .three-bar {
        margin: 1em;
    }

}

@media (min-width : 768px) {
    header {
      /*background: url(images/unity.jpg) fixed;*/
    }
    header img {
        margin: 1em auto;
        width: 65%;
    }
    header h1, header h2 {
        display: none;
    }
    nav, .full-width, .main-content, .main-sidebar, footer {
        padding-left: 15%;
        padding-right: 15%;
    }
    nav ul li {
    display: inline;
    margin-right: 2em;
    white-space: nowrap;
    }
    nav ul {
        padding-left: 0;
    }
    .inner-cell {
        background: #FFF;
    }
    .inner-cell h2 {
        margin-top: 0;
    }
    .footer-left {
        grid-area: footer-left;
    }
    .footer-right {
        grid-area: footer-right;
        text-align: right;
    }
    footer {
        display: grid;
        grid-template-areas:
        'footer-left footer-right';
    }
    .full-width {
        grid-area: full-width;
        padding-top: 1.5em;
        padding-bottom: 1.5em;
    }

    #involved-container {
        display: grid;
        grid-template-areas:
        'facebook donation newsletter'
    }
    .float-right {
        float: right;
        margin: .5em;
    }
    .float-right::after {
        content: "";
        display: block;
        clear: both;
        }
    }
}