@domain : ry.org.nz;
body {
  font-family: 'Open Sans', sans-serif;
}
.autoHeight {
  height: auto !important;
}
.rainbowButton {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow-square.png') no-repeat center center;
  background-size: contain;
  padding: 25px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 40px;
  margin-top: 5px;
}
.moreNewsLink {
  color: #a39c9c;
  text-decoration: underline;
  background: none;
}
/* Since positioning the image, we need to help out the caption */
.carousel-caption {
  bottom: 8rem;
  z-index: 10;
}
.carousel-caption h1 {
  font-weight: bold;
  font-size: 4em;
  text-shadow: 0px 0px 30px #000;
}
.carousel-caption p {
  font-size: 2em;
}
#myCarousel {
  margin-bottom: 2rem;
}
/* Declare heights because of positioning of img element */
.pageHeader {
  width: 100%;
  height: 550px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.home-menu-card {
  border: none;
}
.home-menu-card h2 {
  text-align: center;
  margin-top: 40%;
  font-weight: bold;
  text-transform: uppercase;
  font-size: 2.5em;
  text-shadow: 0px 0px 10px #000;
}
.home-menu-a h2 {
  font-weight: normal;
}
.home-menu-a .home-menu-card {
  overflow: hidden;
}
.home-menu-a img {
  transition: transform 0.25s ease-in-out;
  -moz-transition: transform 0.25s ease-in-out;
  -webkit-transition: transform 0.25s ease-in-out;
}
.home-menu-a:hover img {
  transform: scale(1.2);
}
.uppercase {
  text-transform: uppercase;
}
.imported img {
  max-width: 100%;
  height: auto;
}
.latest-news-card {
  position: relative;
  overflow: hidden;
}
.latest-news-card a img {
  transition: transform 0.25s ease-in-out;
  -moz-transition: transform 0.25s ease-in-out;
  -webkit-transition: transform 0.25s ease-in-out;
}
.latest-news-card a:hover img {
  transform: scale(1.2);
}
.latest-news-card span.desc {
  position: absolute;
  bottom: 1em;
  left: 1em;
  right: 1em;
  color: #fff;
}
.latest-news-card a p,
.latest-news-card h5 {
  margin: 0px;
  padding: 0px;
  color: #fff;
  text-shadow: 0px 0px 15px #000;
}
.card {
  margin-bottom: 2rem;
  border: none;
  background: transparent;
}
.card .card-img-top,
.card .card-img {
  border-radius: 0px;
}
.card .card-image {
  overflow: hidden;
}
.card .card-image img {
  transition: transform 0.25s ease-in-out;
  -moz-transition: transform 0.25s ease-in-out;
  -webkit-transition: transform 0.25s ease-in-out;
}
.card .card-image:hover img {
  transform: scale(1.2);
}
.card .card-body {
  padding: 10px 0px;
}
.card .card-body a {
  color: #000;
}
.card .card-body a h3 {
  font-size: 20px;
  font-weight: bold;
}
.card .card-body a:hover {
  text-decoration: none;
}
.card .card-body a:hover h3 {
  text-decoration: underline;
}
.card .card-body h5 {
  margin-bottom: 0.2em;
  padding-bottom: 0;
}
.card .card-body h6 {
  color: #333;
  font-size: 14px;
}
.top-padded {
  padding-top: 2em;
}
.top-padded h3 {
  padding-top: 1em;
}
div.sponsors {
  padding-bottom: 25px;
}
div.sponsors a {
  background: none;
  margin: 0 10px;
}
.sponsors img {
  height: auto;
  width: auto;
  max-width: 150px;
  max-height: 150px;
  opacity: 0.5;
}
.sponsors h4 {
  color: #c1c1c1;
  font-size: 24px;
}
.donate-jumbotron {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow-bg.png') no-repeat center center;
  background-size: cover;
  padding: 10rem 0rem;
}
.donate-jumbotron a {
  background: none;
  border: 2px solid #fff;
  border-radius: 0;
  padding: 20px 40px;
  margin: 10px;
  font-size: 2em;
  color: #fff;
}
.donate-jumbotron a:hover {
  background: #fff;
  border: 2px solid #fff;
  color: #000;
}
#donationFrame {
  width: 100%;
  height: 1100px;
  border: none;
}
body > .navbar {
  background: #ffffff;
}
body > .navbar .navbar-brand {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/logo.png') no-repeat top left;
  background-size: contain;
  display: block;
  width: 300px;
  height: 52px;
}
body > .navbar .navbar-brand span {
  display: none;
}
body > .navbar #navbarNav {
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}
body > .navbar #navbarNav a {
  font-weight: bold;
  font-size: 16px;
  padding: 2px;
  margin: 10px;
  color: #000;
  text-transform: uppercase;
  margin-top: 30px;
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow.png') no-repeat bottom center;
  background-size: 100% 1px;
}
body > .navbar #navbarNav li:last-child a {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow-square.png') no-repeat center center;
  background-size: contain;
  padding: 25px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 40px;
  margin-top: 5px;
  text-align: center;
}
main {
  background: #fafafa;
}
main p a,
main li a,
main a.rainbow {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow.png') no-repeat bottom center;
  background-size: 100% 1px;
  color: #000;
}
main p a:hover,
main li a:hover,
main a.rainbow:hover {
  text-decoration: none !important;
}
main h3 a.rainbow {
  font-size: 20px;
  font-weight: bold;
}
.pageContent h3,
.pageContent h5 {
  padding-top: 10px;
  margin-bottom: 15;
}
footer {
  margin-bottom: 20px;
}
footer h3 span {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow.png') no-repeat bottom center;
  background-size: 100% 1px;
  padding-bottom: 3px;
  display: inline-block;
  font-size: 18px;
}
footer nav a {
  color: #000;
}
footer nav.social a {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/socialIcons.png') no-repeat 0px 0px;
  background-size: auto 60px;
  width: 60px;
  height: 60px;
  display: inline-block;
}
footer nav.social a.social-twitter {
  background-position: -181px 0px;
}
footer nav.social a.social-tumblr {
  background-position: -241px 0px;
}
footer nav.social a.social-facebook {
  background-position: 0px 0px;
}
footer nav.social a.social-instagram {
  background-position: -60px 0px;
}
footer nav.social a.social-mail {
  background-position: -120px 0px;
}
footer nav.social a span {
  display: none;
}
footer form {
  background: #fafafa;
  padding: 10px;
  width: 360px;
}
footer form input {
  border-radius: 0px !important;
}
footer form button {
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow-square.png') no-repeat center center;
  background-size: contain;
  padding: 25px;
  margin-right: 0;
  margin-bottom: 0;
  margin-left: 40px;
  margin-top: 5px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-right: 0px;
  margin-left: 10px;
  display: inline-block;
  padding: 7px 17px;
  border: none;
}
.topPadded {
  padding-top: 40px;
}
div.rainbow {
  margin-top: 40px;
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow.png') no-repeat top center;
  background-size: 100% 2px;
}
h2.rainbow {
  margin-bottom: 20px;
  margin-top: 20px;
}
h2.rainbow span {
  display: inline-block;
  padding: 10px 2px;
  padding-right: 20px;
  color: #000;
  text-transform: uppercase;
  background: url('https://d3vdx7z624ogx.cloudfront.net/ry.org.nz/rainbow.png') no-repeat bottom center;
  background-size: 100% 2px;
}
.mainNewsList {
  padding-top: 20px;
}
.newsItem {
  padding-bottom: 20px;
}
.newsItem h5 {
  padding-top: 0px;
  padding-bottom: 10px;
}
.newsItem time {
  font-size: 0.7em;
}
.newsItem img {
  max-width: 150px;
}
.newsList h3 {
  margin-top: 0px;
}
.newsList ul {
  list-style-type: none;
  margin: 0px;
  padding: 0px;
}
.newsList ul li {
  padding-bottom: 15px;
}
.newsList ul li time {
  color: #999;
  font-size: 0.8rem;
}
@media screen and (min-width: 1424px) {
  .carousel-item {
    overflow: hidden;
    display: none;
    position: relative;
    width: 100%;
    height: 500px;
  }
  .carousel-item > img {
    position: absolute;
    width: 100%;
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -250px;
  }
  .carousel-caption h1 {
    font-size: 3em;
  }
  .carousel-item > img {
    width: 100%;
    height: auto;
  }
}
.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 20px;
}
.embed-container iframe,
.embed-container embed,
.embed-container object {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
@media screen and (min-width: 1850px) {
  .carousel-item > img {
    margin-top: -450px;
  }
}
@media screen and (max-width: 1424px) {
  .carousel-caption {
    bottom: 8rem;
  }
  .carousel-caption h1 {
    font-size: 3em;
  }
  body > .navbar #navbarNav a {
    font-size: 14px;
  }
  .carousel-caption h1 {
    font-size: 2.5em;
  }
  .carousel-item > img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 1300px) {
  .pageHeader {
    height: 300px;
  }
}
@media screen and (max-width: 1080px) {
  .carousel-caption {
    bottom: 8rem;
  }
  .carousel-caption h1 {
    font-size: 2.5em;
  }
  .carousel-item {
    height: 400px;
  }
}
@media screen and (max-width: 991px) {
  .carousel-caption {
    bottom: 5rem;
  }
  .carousel-caption h1 {
    font-size: 2em;
  }
  .home-menu-card h2 {
    font-size: 1.5em;
  }
  .carousel-item {
    height: 300px;
  }
  .top-padded {
    padding-top: 1em;
  }
  .top-padded h3 {
    padding-top: 0.2em;
  }
  body > .navbar #navbarNav li:last-child a {
    margin-left: 0;
    padding: 15px;
  }
}
@media screen and (max-width: 600px) {
  .pageHeader {
    height: 200px;
  }
}
@media screen and (max-width: 575px) {
  .home-menu-card h2 {
    font-size: 2.5em;
  }
  #myCarousel {
    margin-bottom: 0rem;
  }
  body > .navbar .navbar-brand {
    width: 200px;
  }
  .carousel-item {
    height: 200px;
  }
  .carousel-caption {
    bottom: 3rem;
  }
  .carousel-caption h1 {
    font-size: 1.2em;
  }
}
@media screen and (max-width: 303px) {
  .home-menu-card h2 {
    font-size: 2em;
  }
  #myCarousel {
    margin-bottom: 0rem;
  }
  body > .navbar .navbar-brand {
    width: 150px;
  }
  .carousel-item {
    height: 150px;
  }
  .carousel-caption {
    bottom: 2rem;
  }
  .carousel-caption h1 {
    font-size: 1em;
  }
  body > .navbar #navbarNav a {
    margin-top: 15px;
  }
  body > .navbar #navbarNav li:last-child a {
    margin-left: 0;
    padding: 10px;
  }
}
