/* Custom styles for RMA26
==========================================================================
Primary - #D4450C RGB(212,69,12)
Secondary - #067F84 RGB(6,127,132)
*/

/* H Tag */
h1 {
  font-size: 28px;
}

h2 {
  font-size: 23px;
}

h3 {
  font-size: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 17px;
}

h6 {
  font-size: 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.3;
  margin: 0 0 0.67em 0;
}

.stats h3 {
  margin: 0;
}

/* Colors */
.color--primary {
  color: #D4450C;
}

.color--primary-light {
  color: #FB591A;
}

.color--primary-dark {
  color: #BB3803;
}

.color--secondary {
  color: #067F84;
}

.color--secondary-light {
  color: #00B9C6;
}

.color--secondary-dark {
  color: #085D5B;
}

.black {
  color: #000;
}

.white {
  color: #FFF;
}

/* Background */
.bg--primary {
  background-color: rgb(212, 69, 12);
  color: #FFF;
}

.bg--secondary {
  background-color: rgb(6, 127, 132);
  color: #FFF;
}

.bg--black {
  background-color: #000;
  color: #FFF;
}

.bg--lightgrey {
  background-color: #EEE;
}

/* Links */
a,
a:link,
a:visited,
a:active {
  color: #79A7BC;
  text-decoration: none;
  transition: all .2s ease-out;
}

a:hover {
  color: #51768C;
  text-decoration: underline;
}

a.image-link img {
  border-radius: 8px;
}

.year a,
.year a:link,
.year a:visited,
.year a:hover,
.year a:active {
  text-decoration: none;
}

.year .black {
  color: #000 !important;
}

/* Buttons */
.btn {
  padding: 16px 24px;
  border-radius: 32px;
  -webkit-box-shadow: none;
  box-shadow: none;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  text-align: center;
  transition: all 0.5s ease-out;
}

.btn:link,
.btn:visited,
.btn:hover,
.btn:active {
  text-decoration: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.btn--primary:visited,
.btn--primary,
.btn--primary:link {
  color: #FFF;
  background-color: #79A7BC;
}

.btn--primary:hover,
.btn--primary:active {
  color: #FFF;
  background-color: #51768C;
}

.btn--secondary,
.btn--secondary:link {
  color: #FFF;
  background-color: #000;
}

.btn--secondary:visited,
.btn--secondary:hover,
.btn--secondary:active {
  color: #FFF;
  background-color: #000;
}

.btn--effect {
  padding-right: 0;
  -webkit-clip-path: polygon(0% 0%, 100% 0, 100% 50%, 90% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 90% 100%, 0 100%);
}

.btn--effect:hover {
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 100% 100%, 0 100%);
}

.btn--effect:after {
  content: "\21E8";
  color: inherit;
  font-family: FontAwesome;
  display: inline-block;
  position: relative;
  right: -56px;
  transition: all .2s ease-out;
}

.btn--effect.heart:after {
  content: "\f004";
}

.btn--effect:hover:after {
  margin: -5px 15px;
  right: 0px;
}

.no-border {
  border: none !important;
}

/* CMS Editor */
.sfInlineEditingPageMenu .sfInlineEditingToggleLnk {
  top: 200px !important;
}

/* Structure */
main {
  margin: 145px 30px 0px 30px !important;
}

.container {
  width: 100%;
  padding-right: 30px;
  padding-left: 30px;
}

main .container {
  padding-left: 0;
  padding-right: 0;
}

main>section:first-child {
  padding-top: 40px;
}

.fullWidth {
  margin: 0 -30px;
  width: 100vw;
  max-width: 100vw;
}

.fullWidth .container {
  max-width: 100vw;
}

.content {
  padding: 0 30px;
}

/* Header */
.site-header {
  background: #FFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.header-aux {
  padding: 8px 30px;
  border-bottom: 1px solid #DDD;
}

.header-main {
  padding: 8px 30px;
  border-bottom: none;
  margin: auto;
}

.aux {
  display: flex;
  flex-flow: row;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

header .social-icons a {
  display: none;
}

header .social-icons {
  justify-content: flex-end;
}

footer .social-icons {
  justify-content: flex-start;
  display: flex;
}

.social-icons {
  display: flex;
  align-items: center;
  height: 100%;
}

.social-icons a {
  width: 1.5rem;
  height: 1.5rem;
  margin: 0 .5rem;
  color: #000;
  text-decoration: none;
  transition: all .2s ease-out;
}

.social-icons a:link,
.social-icons a:visited,
.social-icons a:active {
  color: #000;
  text-decoration: none;
}

.social-icons a:hover {
  color: #51768C;
  text-decoration: none;
}

.social-icons a svg {
  width: inherit;
  height: inherit;
  transition: all .2s ease-out;
  transform: scale(1);
}

.social-icons a:hover svg {
  z-index: 2;
  transition: all .2s ease-out;
  transform: scale(1.2);
}

h1.year {
  font-size: 48px;
  margin: 0;
  padding: 0;
  line-height: 1;
}

.carousel__copy h1 {
  font-size: 56px;
  line-height: 1;
}

.site-header__mobile {
  padding-right: 0px;
}

.site-header__mobile button {
  color: #79A7BC;
  cursor: pointer;
  font-size: 2rem;
  line-height: 0px;
  margin-left: 1rem;
  padding-top: 0;
}

.site-header__mobile button:hover {
  color: #51768C;
}

.site-header__nav {
  text-align: left;
  margin-left: 4px;
}

.site-header__nav ul.menu > li {
  margin-left: 0px;
  margin-right: 30px;
}

.site-header__nav ul.menu > li > a {
  font-size: 16px;
  padding: 8px 0;
}

.site-header__nav ul.menu > li > a:hover {
  text-decoration: none;
}

.site-header__nav ul.menu li:last-child ul {
  left: auto;
  right: -24px;
}

.site-header__nav ul.menu>li:not(.menu-item-has-children) > a::after {
  bottom: 0px;
}

/* Content */
.site-content {
  margin: 100px 0 0 0;
}

/* Footer */
.site-footer .widget-area {
  padding: 30px 30px;
  background-color: #FFF;
}

.site-footer .widget-area a:not(:hover) {
  color: inherit;
}

.hosting .section {
  padding: 0 0;
}

/* Go2Top */
.go-up__btn {
  position: absolute;
  display: inline-block;
  bottom: 0;
  right: 15px;
  width: 48px;
  height: 48px;
}

.go-up__btn span {
  position: absolute;
  top: 0;
  left: 0;
  width: inherit;
  height: inherit;
}

.btn--square {
  padding: 16px;
  margin: 0;
  cursor: pointer !important;
  border-radius: 0;
}

.btn--square .fa {
  top: 50%;
  left: 50%;
  font-size: 1rem;
}

/* Carousel */
.carousel--penny .carousel__copy {
  position: relative;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.carousel__item--active .carousel__copy {
  background: rgba(0, 58, 94, 0.5);
  border-left: none;
  margin-top: 0;
  padding: 30px 30px;
}

/* Reveal Section */
.reveal {
  padding: 36px 36px;
}

.reveal--secondary:before {
  background-color: #067F84;
}

.reveal--darken {
  color: #FFF;
  text-align: center;
}

.reveal__copy p {
  width: 100%;
}

.reveal__copy.indent {
  margin: 0;
}

/* Hosting */
.row.hosting {
  display: flex;
  align-items: center;
}

/* Testimonials */
.testimonials .carousel__item--active .carousel__copy {
  background: #FFF;
}

.schedule {
  background: #DDD;
  padding: 30px 30px;
}

/* Hero */
.heroBanner {
  position: relative;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  /*height: calc(100vh - 100px);*/
  height: inherit;
  min-height: 480px;
  background-color: #FFF;
  background: url('/images/default-source/rma26/rma26_skyline_1920x650.jpg') bottom left / cover no-repeat;
  overflow: hidden;
}

.heroBannerCourtesyText {
  content: 'Background photo © Tourism Western Australia';
  position: absolute;
  bottom: 0;
  left: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: #FFF;
  transform: rotate(-90deg);
  transform-origin: 0 0;
}

.heroBannerContent {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  width: 100%;
  max-width: 560px;
  height: 100%;
  padding: 32px;
  border-radius: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: #FFF;
  opacity: 0;
  transform: translate(0, 0);
  transition: all 0.5s ease-out;
  animation: revealUp 0.5s ease-out 0.5s forwards;
}

/* Card */
.card {
  -webkit-box-shadow: 0 10px 15px 1px rgba(0, 0, 0, 0.15);
  box-shadow: 0 10px 15px 1px rgba(0, 0, 0, 0.15);
  border: none;
  border-radius: 3px;
  -webkit-transition: -webkit-box-shadow 0.1s ease-out-out;
  transition: -webkit-box-shadow 0.1s ease-out-out;
  transition: box-shadow 0.1s ease-out-out;
  transition: box-shadow 0.1s ease-out-out, -webkit-box-shadow 0.1s ease-out-out;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card:hover,
.card:focus {
  -webkit-box-shadow: 0 5px 5px 1px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 5px 1px rgba(0, 0, 0, 0.1);
}

.card h3 {
  font-size: 16px;
  margin: 0;
}

.card h3 {
  padding: 8px 24px;
}

.card div {
  padding: 8px 24px;
  flex: 1 1 auto;
}

.card a {
  color: #000;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 24px;
  display: block;
}

.card a span {
  position: relative;
}

.card a span::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  background-color: #D4450C;
  height: 3px;
  width: 100%;
  -webkit-transition-duration: 0.3s;
  transition-duration: 0.3s;
  -webkit-transition-timing-function: ease-out-in-out;
  transition-timing-function: ease-out-in-out;
}

.card a:hover span::before {
  height: 3px;
  width: 24px;
  background-color: #000;
}

.display-flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translate(0, 15%);
  }

  to {
    opacity: 1;
    transform: translate(0, 0);
  }
}

@media screen and (min-width: 600px) {
  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 23px;
  }

  h4 {
    font-size: 19px;
  }

  h5 {
    font-size: 17px;
  }

  h6 {
    font-size: 16px;
  }
  
  header .social-icons a {
    display: block;
  }

  footer .social-icons {
    display: none;
  }

  .heroBannerContent {
    padding: 100px;
    border-radius: 50%;
  }

  main .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media screen and (min-width: 992px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 34px;
  }

  h3 {
    font-size: 28px;
  }

  h4 {
    font-size: 23px;
  }

  h5 {
    font-size: 19px;
  }

  h6 {
    font-size: 16px;
  }

  .carousel__copy h1 {
    font-size: 72px;
  }

  h1.year {
    font-size: 80px;
  }

  .reveal {
    padding: 48px 48px;
  }

  .card h3 {
    font-size: 18px;
  }

  .carousel--penny .carousel__copy {
    position: absolute;
  }

  .reveal__copy .col-md-6 {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  main .container {
    padding-left: 50px;
    padding-right: 50px;
  }
}


/*2026 mobile updates*/
@media screen and (max-width: 991px) {
  div.header-main {
    display: none;
  }

  .header-aux .container {
    padding-right: 0px;
    padding-left: 0px;
  }

  .header-aux .container col-6 {
    padding-left: 0px;
  }

  .container {
    padding-left: 0px;
    padding-right: 0px;
  }

  main {
    margin: 56px 30px !important;
  }

  .site-content {
    margin: 0;
  }
}