/* Variables */
:root {
  --navy-blue: #233549;
  --light-blue: #00aeef;
  --pure-black: #000000;
}

/* Accessibility fix */

/* Global */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 1000;
  background: #fff;
  color: #000;
  padding: 8px 16px;
  border-radius: 4px;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  outline: 2px solid #000;
}

a {
  color: var(--navy-blue);
}
a:hover{
  color: var(--pure-black);
}
a:focus, button:focus, input:focus, textarea:focus {
  outline: 2px solid #000 !important;
}

.hero-section-2 .a:focus, .hero-section-2 button:focus, .hero-section-2 input:focus, .hero-section-2 textarea:focus,
.hero-section-4 .a:focus, .hero-section-4 button:focus, .hero-section-4 input:focus, .hero-section-4 textarea:focus {
  outline: 2px solid #fff !important;
}

.text-group{
  color: #515961;
}
.text-\[\#919AA4\] {
  color: #515961 !important;
}
.text-group--article h3.p{
  font-size: 1rem !important;
}
.text-group h3.p, h3.p{
  font-size: 1rem !important;
}
.text-group h3.text-primary{
  --tw-text-opacity: 1;
    /*color: rgba(0, 174, 239, var(--tw-text-opacity));*/
    color:var(--navy-blue);
}
.text-group--article h3.h4 {
  font-size: 1.375rem;
  --tw-text-opacity: 1;
  /*color: rgba(0, 174, 239, var(--tw-text-opacity));*/
  color:var(--navy-blue);
  font-weight: 700 !important;
  line-height: 1.2;
}
.text-group .h5, .text-group h5{
  color:var(--navy-blue);
}

.btn--primary, .text-group .wp-block-buttons .wp-element-button{
  color: var(--navy-blue);
  background-color: rgba(26, 193, 255, var(--tw-bg-opacity));
}
.btn--primary:hover, .text-group .wp-block-buttons .wp-element-button:hover{
  color: var(--pure-black);
  background-color: rgba(0, 174, 239, var(--tw-bg-opacity));
}
.btn--transparent{
  border-color: var(--navy-blue);
  color:var(--navy-blue);
}
.btn--transparent:hover{
  border-color: var(--pure-black);
  color:var(--pure-black);
}
.btn.btn-white-background-with-navy-font {
  color: var(--navy-blue);
  background:#fff;
}
.btn.btn-white-background-with-navy-font:hover{
  background:transparent;
}
.material-form .gform-footer.gform_footer.top_label button[type=submit], .material-form .gform-footer.gform_footer.top_label input[type=submit]{
  color: var(--navy-blue) !important;
}
.material-form .gform-theme.gform-theme--framework.gform_wrapper .button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .material-form .gform-theme.gform-theme--framework.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .material-form .gform-theme.gform-theme--framework.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .material-form .gform-theme.gform-theme--framework.gform_wrapper button.button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control, .material-form .gform-theme.gform-theme--framework.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework):not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)).gform-theme-button--control{
  color: var(--navy-blue) !important;
}

.text-group a:not(.wp-element-button){
  color: var(--navy-blue);
}
.text-group a:not(.wp-element-button):hover {
  color: var(--pure-black);
}
.text-group--article .h4, .text-group--article h4 {
  color: var(--navy-blue);
}

.svg_navy path{
  fill: var(--navy-blue);
}

.form-error-message {
  color: #fff;
  background: #d32f2f;
  border: 1px solid #b71c1c;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 1rem;
  font-weight: 400;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}
.form-error-message.hidden {
  display: none;
}
.form-error-message::before {
  content: "⚠️";
  font-size: 1.2em;
  margin-right: 6px;
}

@media (prefers-reduced-motion: reduce) {
    [data-aos], .aos-init, .aos-animate {
      opacity: 1 !important;
      transform: none !important;
      transition: none !important;
      pointer-events: auto !important;
      filter: none !important;
      will-change: auto !important;
    }
}
[data-aos].no_animation, .aos-init.no_animation, .aos-animate.no_animation {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    pointer-events: auto !important;
    filter: none !important;
    will-change: auto !important;
}

/* Header */
header.masthead .masthead__top a:focus, header.masthead .masthead__top button:focus, header.masthead .masthead__top input:focus, header.masthead .masthead__top textarea:focus {
  outline: 2px solid #fff !important;
}
header.masthead a.logo img{
  display:inline-block;
}
.primary-nav>.menu-item-has-children.showDropdown>ul, .primary-nav>.menu-item-has-children>ul>li.showDropdown>ul {
    visibility: visible;
    --tw-translate-y: 0;
    opacity: 1;
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}
.primary-nav>.menu-item-has-children>ul li>a:hover{
    color: var(--pure-black);
}
.primary-nav>.menu-item-has-children>a:hover{
    color: var(--pure-black);
}

/* Footer */
.footer_logo img{
  display:inline-block;
}

/* hero-section-1 */
.hero-section-1 .btn:focus, .hero-section-1 button:focus {
  outline: 2px solid #fff !important;
}

.hero-section-1 .gradient-1 {
  background: linear-gradient(180deg, rgba(35, 53, 73, 0), rgba(35, 53, 73, 1));
}

/* carousel-section-1 */
.carousel-section-1 .swiper .play_pause_buttons {
  text-align:center;
  padding-top:5px;
}
.carousel-section-1 .swiper .play_pause_buttons .swiper-button.hide{
  display:none;
}
.carousel-section-1 .swiper .swiper-button-prev:focus, .carousel-section-1 .swiper .swiper-button-next:focus {
  outline: 2px solid #000 !important;
}

/* content-section-4 */
.content-section-4 .svg_navy path{
  fill: var(--navy-blue);
}

/* content-section-5 */
.content-section-5 .video_cover_image {
  width:100%;
}
.content-section-5 .video_open_button {
  border:0;
  background:transparent;
  position:absolute;
  left:calc(50% - 24px);
  top:calc(50% - 24px);
  color:white;
}
.content-section-5 .video_open_button:focus{
  outline: 2px solid #fff !important;
  outline-offset: 5px;
}
.content-section-5-video-lightbox {
  display:none; 
  position:fixed; 
  top:0; 
  left:0; 
  width:100vw; 
  height:100vh; 
  background-color:rgba(0,0,0,0.85); 
  z-index:9999; 
  justify-content:center; 
  align-items:center;
}
.content-section-5-video-lightbox>div{
  position:relative; 
  width:90%; 
  max-width:960px;
}
.content-section-5-video-lightbox .close_button{
  position:absolute; 
  top:-40px; 
  right:0; 
  font-size:2rem; 
  background:none; 
  border:none; 
  color:white;
}
.content-section-5-video-lightbox video{
  width:100%; 
  max-height:80vh;
}

/* content-section-6 */
.content-section-6 h3.accordion-group__head {
  margin-bottom:0;
}
.content-section-6 h3.accordion-group__head .grow{
  text-align:left;
}
.content-section-6 h3.accordion-group__head button:focus{
  outline-color:#fff !important;
}

/* .content-section-12 */
.content-section-12 .row-group .text-white a {
	color:white;
}
.content-section-12 .row-group .text-white a:hover,
.content-section-12 .row-group .text-white a:focus{
	color:white;
}

/* faq-section-1 */
.faq-section-1 .faq-item button{
  text-align:left;
}

/* hero-section-1 */
.hero-section-1 .swiper-pagination-bullet:focus {
  outline: 3px solid #fff !important;
}

/* hero-section-2 */
.hero-section-2 form {
  position: relative;
}
.hero-section-2 form .form-error-message {
  position: absolute;
  bottom: -60px;
  left: 0;
  z-index: 10;
}

/* hero-section-4 */
.hero-section-4 form .form-error-message {
  position: absolute;
  left: 0;
  margin-top: 5px;
}

/* Events */
.cat-list a{
  border:3px solid transparent;
}
.cat-list a.is-active:focus{
  border: 3px solid var(--navy-blue);
}
.cat-list a:focus{
  outline: none !important;
  border: 3px solid var(--navy-blue);
}

.events-section-search-form {
  position: relative;
}
.events-section-search-form .form-error-message {
  position: absolute;
  bottom: -60px;
  left: 0;
}

/* Blogs */
.blog_categories_list a:hover{
  color: var(--pure-black);
}

/* membership-section-1 */
.membership-section-1 .material-form .gfield .gfield_label.gform-field-label {
  color: #fff !important;
}

/* Member dashboard */
.members-dashboard .sb-group button {
  text-align: left;
}