/* CSS overrides to Suffolk Bootstrap 5 theme */

@media screen and (min-width: 992px) {
  #babylon-welcome {
    height: 70vh;
  }
}

#babylon-welcome {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.navbar-dark.bg-dark {
  background-color: transparent !important;
}

#babylon-welcome .welcome-content {
  text-align: center;
  font-family: Montserrat;
  font-weight: 700;
  font-size: 72px;
  line-height: 1.2em;
  color: #fff;
}

#babylon-welcome .headline {
  font-size: 124px;
  text-transform: uppercase;
  margin-bottom: 0.3em;
  letter-spacing: -6px;
}

.babylon-text {
  color: #1f92cb;
}

.path-frontpage .region-window {
  background-image: url(img/Rally_1-6582612.jpeg);
  background-size: cover;
}

/*
.background-overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
}
*/

.background-overlay {
  background-color: rgba(23, 66, 155, 0.6838709677419355);
}

.section-first {
  background: #21aef3;
  font-family: Montserrat;
  font-size: 1.4em;
  padding: 0;
}

.section-first #babylon-our-party-block a {
  background: #141f54;
}

.section-first #babylon-our-party-block a:hover {
  background: #fff;
}

.babylon-action-block a {
  color: #fff;
  text-decoration: none !important;
  display: block;
  width: 100%;
  padding: 1em;
}

.babylon-action-block a:hover {
  color: #141f54;
  background: #fff;
}

.region-section-first {
  display: flex;
}

.section-third {
  background: url(img/Americanflagoverlay-6170386.jpg) center center no-repeat;
  padding: 0;
}

.section-third .background-overlay {
  background-color: rgba(9, 27, 113, 0.6516129032258065);
}

.section-third .container {
  background: transparent;
  border: none;
}

.register-blocks {
  text-align: center;
  font-family: Montserrat;
  font-size: 2em;
  font-weight: 300;
}

.register-blocks h3 {
  font-size: 2em;
}

@media screen and (max-width: 991px) {
  #babylon-welcome {
    padding: 3em 1em;
  }
  #babylon-welcome .welcome-content {
    font-size: 2.4em;
    line-height: 1.2em;
    color: #fff;
  }

  #babylon-welcome .headline {
    font-size: 1.6em;
    margin-bottom: 0.5em;
    letter-spacing: 0;
  }
  .section-first {
    font-size: 1.2em;
    padding: 0;
  }

  .section-first #babylon-our-party-block {
    background: #141f54;
  }

  .babylon-action-block a {
    padding: 0.5em;
  }
}

@media screen and (max-width: 768px) {
  #babylon-welcome .welcome-content {
    font-size: 2em;
  }
  #babylon-welcome .welcome-message {
    font-size: 0.7em;
    line-height: 1.4em;
  }
  #babylon-welcome .headline {
    font-size: 1.2em;
  }
  .region-section-first {
    flex-direction: column;
  }
  .section-first {
    background: #fff;
  }
  .babylon-action-block a {
    background: #21aef3;
  }
  .babylon-action-block {
    margin-top: 0.3em;
  }
}

.babylon-action-block {
  text-align: center;
}

.section-second {
  text-align: center;
  background: #fff;
  color: #000;
  padding: 26px;
}

.issue-blocks .svg-inline--fa {
  width: 75px;
  height: 75px;
}

.issue-blocks a {
  display: block;
  padding: 3em 0;
  width: 100%;
  color: #fff;
  text-decoration: none;
}

.issue-blocks h3 {
  font-size: 1.8em;
  margin-top: 0.5em;
}

.issue-blocks h2 {
  font-weight: 700;
  font-size: 2.5em;
  margin: 0.2em 0 0.7em;
  text-transform: capitalize;
}

.issue-blocks a:hover {
  text-decoration: none !important;
}

.strong {
  background: #21aef3;
}

.safety,
.community {
  background: #141f54;
}

.register-blocks .register {
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-blocks .register .register-link,
.three-block a {
  font-size: 0.7em;
  font-weight: 600;
  font-family: arial, helvetica, sans-serif;
  text-align: center;
}

.register-blocks .register a,
.three-block a {
  color: #fff;
  text-decoration: none;
  padding: 20px 40px;
  background: #141f54;
  border: 6px solid #fff;
}

.three-block a {
  display: block;
  font-size: 1.3em;
  margin: 0.25em 0;
}

.register-blocks .register a:hover {
  text-decoration: none;
}

.register-blocks .counting p {
  font-size: 0.8em;
}

@media screen and (max-width: 991px) {
  .register-blocks .register {
    height: 100px;
  }
  .counting p {
    font-size: 0.7em;
  }
}

.section-fourth {
  padding: 2em 0;
  background: #21aef3;
  text-align: center;
}

.section-fifth {
  padding: 1em 0;
  background: #141f54;
  text-align: center;
}

.section-fifth .container {
  max-width: 1120px;
}

.voting-block {
  background: #fff;
  border: 11px solid #1a8fde;
  -webkit-border-radius: 32px;
  padding-left: 2%;
  padding-right: 2%;
}

.voting-block .svg-inline--fa {
  width: 60px;
  height: 60px;
}

.voting-block .icon {
  padding: 15px 0;
}

.voting-block h3 {
  font-family: "Montserrat";
  font-size: 32px;
}

.voting-link a {
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  background: #141f54;
  padding: 16px;
  display: block;
  margin: 1em 0;
  -webkit-border-radius: 26px;
  -moz-border-radius: 26px;
  border-radius: 26px;
}

.babylon-web-image img {
  display: block;
  padding: 0 0.5em;
  margin: 0 auto;
  max-width: 557px;
  width: 100%;
  height: auto;
}

.socnet-footer {
  text-align: center;
}

.socnet-footer a {
  padding: 8px;
  display: inline-block;
  margin: 32px;
  color: #fff;
}

.socnet-footer .svg-inline--fa {
  color: #fff;
  width: 34px;
  height: 34px;
}

.footer-address {
  text-align: center;
  font-weight: 400;
  font-size: 1.2em;
}
