@font-face {
  font-family: 'avenirnext';
  src: url('/static/avenir/regular.eot');
  src: url('/static/avenir/regular.eot?#iefix') format('embedded-opentype'),
  url('/static/avenir/regular.woff') format('woff'),
  url('/static/avenir/regular.ttf') format('truetype');
  font-display: swap;
}

@font-face {
  font-family: 'gotham-rounded';
  src: url('/static/gotham/bold.eot');
  src: url('/static/gotham/bold.eot?#iefix') format('opentype'),
  url('/static/gotham/bold.woff') format('woff'),
  url('/static/gotham/bold.ttf') format('truetype');
  font-display: swap;
}

html, body {
  scroll-behavior: smooth;
}

body {
  margin:  0;
  padding: 0;

  font-family: 'avenirnext', sans-serif;
  font-weight: normal;
  font-size: 16px;

  color: #013159;
  background-color: #FFFFFF;
}

main {
  padding-top: 76px;
}

section {
  max-width: 1024px;
  width: 100%;
  padding: 40px calc((100% - 1024px) / 2) 100px;
  line-height: 25px;
  overflow: auto;
  text-align: center;
  background-color: #FFFFFF;
  background-image: url(/static/bg-errors.svg);
  background-size: 120%;
  background-repeat: no-repeat;
  background-position: bottom;
}

section h1,
section h2 {
  font-size: 1.8em;
  line-height: initial;
  margin-top: 0
}

section h1,
section p,
section div {
  float: left;
  text-align: left;
  width: 45%;
  clear: both;
  margin-top: 0;
  margin-bottom: 24px;
}

section div {
  border-bottom: 1px solid #E0F2FF;
  padding-bottom: 14px;
}

section div a {
  margin-right: 16px;
  display: inline-block;
}

section a { text-decoration: underline }

section img {
  width: 45%;
  position: relative;
  right: -40px;
}

a {
  color: #056BBE;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'gotham-rounded';
  font-weight: normal;
}

.button {
  background: linear-gradient(0deg, #FF6A2B, #FF6A2B), #0B65AD;
  border-radius: 2px;
  text-align: center;
  color: #FFFFFF;
  line-height: 24px
}

.button:hover,
.button:focus-within {
  background: linear-gradient(0deg, #E8581A, #E8581A), #0B65AD;
  color: #FFFFFF
}

#section_500 h1 { margin-top: 100px; }

#menu_toggle { display: none }

header {
  position: fixed;
  top: 0;
  max-width: 1024px;
  width: 100%;
  margin: 0;
  padding: 0 calc((100% - 1024px) / 2);
  z-index: 2;
  height: 76px;
  transition: box-shadow linear .25s;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between
}

header a,
header h1 {
  margin: 0;
  display: inline-block;
  color: #013159
}

header h1 {
  line-height: 0
}

header nav {
  display: flex;
  align-items: center;
  height: 100%
}

header nav h2 {
  font-family: 'avenirnext';
  font-weight: normal;
  display: inline-block;
  margin: 12px 8px 12px 0
}

header nav a {
  text-decoration: none;
  font-size: 16px;
  padding: 10px;
  margin-left: 8px;
  display: inline-block;
  position: relative
}

header nav a:focus-within,
header nav a:hover {
  color: #1E7FC6
}

header nav>div {
  height: 100%
}

#nav_link_login h2 a {
  margin-left: 16px
}

#nav_link_login h2 a:before {
  content: '';
  height: 100%;
  width: 1px;
  position: absolute;
  left: -8px;
  top: 0;
  background: #DEE8EF
}

.header_active {
  box-shadow: 0 4px 14px rgba(19, 126, 199, 0.22);
  border-bottom-right-radius: 3px;
  border-bottom-left-radius: 3px
}

header nav div {
  display: flex;
  align-items: center;
  justify-content: center
}

header nav div:focus-within .submenu,
header nav div:hover .submenu {
  visibility: visible;
  opacity: 1
}

header nav div:focus-within h2 a,
header nav div:hover h2 a {
  color: #1E7FC6
}

header nav div:focus-within h2 a:after,
header nav div:hover h2 a:after {
  border-color: #1E7FC6;
  transform: rotate(-135deg)
}

header nav div h2 a::after {
  content: '';
  position: absolute;
  top: 13px;
  display: inline-block;
  margin-left: 6px;
  border: solid #013159;
  border-width: 0 2px 2px 0;
  padding: 2px;
  transform: rotate(45deg);
  transition: all 0.35s
}

header nav div .submenu {
  position: absolute;
  visibility: hidden;
  opacity: 0;
  top: 76px;
  min-width: fit-content;
  padding: 15px;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(19, 126, 199, 0.22);
  border-radius: 3px;
  transition: opacity linear 0.25s, visibility linear 0.25s;
  display: flex;
  align-items: flex-start;
  justify-content: space-between
}

header nav div .submenu ul {
  list-style-type: none;
  margin: 0;
  min-width: 15%;
  padding: 0
}

header nav div .submenu ul li {
  display: flex;
  align-items: center;
  font-size: 16px
}

header nav div .submenu ul li a {
  margin: 0;
  padding: 8px 8px 8px 0;
  width: 100%;
  display: inherit
}

header nav div .submenu ul li a img {
  margin-right: 8px
}

header nav div .submenu ul li img {
  height: 15px;
  width: 15px
}

#nav_link_fundraising_solution .submenu {
  left: calc((100% - 1024px) / 2);
  width: 100%;
  max-width: calc(1024px - (8px * 4))
}

#nav_link_fundraising_solution .submenu ul {
  padding: 16px
}

#nav_link_fundraising_solution .submenu ul li {
  display: flex;
  align-items: center;
  margin-bottom: 12px
}

#nav_link_fundraising_solution .submenu ul li h3 {
  font-family: 'gotham-rounded';
  font-weight: normal;
  font-size: inherit;
  margin: 0;
  margin-left: 8px
}

#fundraising_resources_list {
  background: #EFF8FF;
  border-radius: 3px
}

#nav_link_contact .submenu ul {
  margin-left: 16px
}

footer {
  max-width: 1024px;
  width: 100%;
  margin: 0;
  padding: 60px calc((100% - 1024px) / 2) 40px;
  background: #FFFFFF;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between
}

footer .border-bottom {
  flex-basis: 100%;
  border: 0;
  background: #DEE8EF;
  height: 1px;
  margin: 20px 0
}

footer h2 {
  text-transform: uppercase;
  font-size: 18px
}

footer nav {
  font-size: 1.1em
}

footer nav ul {
  padding: 0px
}

footer nav ul li {
  list-style: none;
  margin-bottom: 16px
}

footer nav a {
  font-weight: normal;
  color: #013159
}

footer #footer_language_selector ul,
footer #footer_social_links ul {
  display: inline-flex;
  justify-content: space-between
}

footer #footer_language_selector select,
footer #footer_social_links select {
  position: relative;
  float: right;
  top: 12px;
  width: 140px;
  padding: 8px;
  border: 1px solid #DEE8EF;
  border-radius: 3px;
  background: #FFFFFF;
  background-image: url(/static/icons.svg#arrow-down);
  background-position: center right 10px;
  background-repeat: no-repeat;
  background-size: 6px 7px;
  box-sizing: border-box;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none
}

footer #footer_language_selector {
  order: 3;
  flex-basis: 16%;
  float: right;
  margin: 10px 0
}

footer #footer_language_selector li {
  white-space: nowrap
}

footer #footer_language_selector li a {
  font-size: .8em
}

footer #footer_social_links {
  order: 4;
  float: right;
  margin: 5px 0 10px 10px
}

footer #footer_social_links li {
  padding-left: 8px
}

footer #stripe_partner_badge {
  order: 1;
  float: left;
  margin: 20px 0
}

footer #copyright {
  order: 2;
  flex-basis: 52%;
  float: left;
  padding-left: 20px;
  margin: 30px 0;
  font-size: 14px
}

@media (max-width: 768px) {
  section h1,
  section p,
  section div {
    width: 50%;
  }

  section div a {
    margin-right: 10px;
  }

  section img {
    width: 50%;
    right: 0;
  }

  #nav_link_fundraising_solution .submenu {
    left: calc((100% - 768px) / 2);
    width: 100%;
    max-width: calc(768px - (8px * 4));
  }
}

@media (max-width: 480px) {
  footer,
  section {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box
  }

  section { padding-bottom: 80px }

  section h1 { text-align: center }
  section h1,
  section p,
  section div {
    float: unset;
    clear: unset;
    width: 100%;
  }

  section div {
    display: flex;
    justify-content: space-between;
  }

  section div a { font-size: 14px }

  section img {
    max-width: 100%;
    width: 100%;
    height: auto;
    margin-top: 16px;
  }

  #section_500 h1 { margin-top: 0; }

  header #menu_toggle+label {
    background: url(/static/icons.svg#burger) no-repeat;
    background-size: 30px;
    display: block;
    visibility: visible;
    position: fixed;
    right: 18px;
    top: 30px;
    padding: 10px;
    cursor: pointer;
    z-index: 1
  }
  header #menu_toggle:checked+label {
    background: url(/static/icons.svg#close) no-repeat
  }
  header #menu_toggle:checked+label+nav {
    visibility: visible;
    opacity: 1;
    display: flex
  }
  header h1 {
    margin-left: 16px
  }
  header nav {
    width: calc(100% - (8px * 2));
    height: calc(100vh - 70px);
    visibility: hidden;
    opacity: 0;
    display: none;
    position: fixed;
    top: 75px;
    box-sizing: border-box;
    flex-direction: column;
    margin: 0 8px;
    background: #FFFFFF;
    box-shadow: 0 4px 14px rgba(19, 126, 199, 0.22);
    border-radius: 3px;
    transition: opacity linear 0.25s, visibility linear 0.25s;
    overflow: auto;
    padding: 16px 8px 80px
  }
  header nav div {
    flex-direction: column;
    width: 100%
  }
  header nav div:hover h2 a,
  header nav div:focus-within h2 a {
    color: #013159
  }
  header nav div h2 a {
    cursor: auto;
    pointer-events: none;
    font-family: 'gotham-rounded';
    font-size: 26px;
    margin-left: 0;
    padding-bottom: 0
  }
  header nav div h2 a:after {
    content: unset
  }
  header nav div h2 a:hover,
  header nav div h2 a:focus-within {
    color: #013159
  }
  header nav a {
    font-size: 14px
  }
  header nav h2 {
    margin-right: unset;
    text-align: left;
    width: 100%;
    margin-bottom: 0;
    margin-top: 16px
  }
  header nav>div {
    height: auto
  }
  header nav div .submenu {
    position: relative;
    left: unset;
    top: unset;
    visibility: visible;
    opacity: 1;
    border-radius: unset;
    box-shadow: none;
    padding: 0 0 30px;
    display: initial;
    border-bottom: 1px solid #DEE8EF
  }
  header nav div .submenu ul {
    width: 44%;
    padding: 16px 8px
  }
  header nav div .submenu ul:nth-of-type(odd) {
    float: left;
    clear: both
  }
  header nav div .submenu ul:nth-of-type(even) {
    float: right
  }
  #nav_link_fundraising_solution {
    border-bottom: 1px solid #DEE8EF;
    border-top: 1px solid #DEE8EF;
    order: 4
  }
  #nav_link_fundraising_solution .submenu {
    left: unset;
    max-width: 100%
  }
  #nav_link_fundraising_solution .submenu ul {
    padding: 16px 8px
  }
  #nav_menu_org_signup_link {
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    order: 1
  }
  #nav_link_login {
    margin-left: 0;
    order: 2;
    border-bottom: 1px solid #DEE8EF
  }
  #nav_link_login h2 {
    display: none
  }
  #nav_link_login .submenu {
    border-bottom: none;
    padding: 20px 0;
    box-sizing: border-box
  }
  #nav_link_login .submenu ul {
    display: flex;
    padding: 0;
    width: 100%;
    justify-content: center
  }
  #nav_link_login .submenu ul li {
    width: auto;
    margin: 0 10px
  }
  #nav_link_contact {
    order: 5
  }
  #nav_link_contact .submenu {
    border-bottom: none;
    padding-bottom: 0
  }
  #nav_link_contact .submenu ul {
    margin-left: unset
  }
  #nav_link_contact .submenu ul li {
    margin-bottom: 12px
  }
  #nav_link_pricing {
    width: 33%;
    padding: 26px 0 26px 30px;
    position: relative;
    box-sizing: border-box;
    margin: 0 auto;
    order: 3
  }
  #nav_link_pricing:before {
    content: ' ';
    position: absolute;
    display: block;
    top: 50%;
    transform: translateY(-50%);
    background-image: url(/static/icons.svg#pricing);
    background-size: contain;
    background-repeat: no-repeat;
    width: 16px;
    height: 16px;
    left: 5px
  }

  footer {
    padding-bottom: 0
  }
  footer .border-bottom {
    background: transparent;
    margin: 0
  }
  footer ul,
  footer nav {
    display: initial;
    flex-basis: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px
  }
  footer nav {
    text-align: center
  }
  footer nav ul>li>a {
    font-size: 14px;
    line-height: 22px
  }
  footer #footer_language_selector {
    float: right;
    order: 2;
    flex-basis: calc(50% - 5px);
    margin-left: 5px
  }
  footer #footer_language_selector select {
    float: left;
    width: 100%
  }
  footer #footer_social_links {
    order: 3;
    flex-basis: 100%;
    margin-left: 0px;
    display: block
  }
  footer #footer_social_links select {
    position: unset;
    float: none;
    font-size: 18px;
    width: 218px;
    top: unset
  }
  footer #footer_social_links ul {
    display: block;
    flex-basis: unset
  }
  footer #footer_social_links ul li {
    display: inline-block;
    margin: 8px 0
  }
  footer #stripe_partner_badge {
    order: 1;
    flex-basis: calc(50% - 5px);
    margin-right: 5px;
    float: left
  }
  footer #stripe_partner_badge img {
    width: 100%;
    margin: 0 auto
  }
  footer #copyright {
    order: 4;
    flex-basis: 100%;
    text-align: center;
    padding: 32px 16px;
    border-top: 1px solid #DEE8EF;
    margin: 5px 0 0 0
  }
}
