/*
	Theme Name: UHN Foundation 2026
	Theme URI: http://yeeboodigital.com
	Description: Custom theme for UHN Foundation.
	Author: Yeeboo Digital & UHN Foundation
	Author URI: http://yeeboodigital.com
*/

/* @group Bootstrap Dropdown Menus */

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Thin.woff2') format('woff2');
  font-weight: 100;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-ThinOblique.woff2') format('woff2');
  font-weight: 100;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-ExtraLight.woff2') format('woff2');
  font-weight: 200;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-ExtraLightOblique.woff2')
    format('woff2');
  font-weight: 200;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-LightOblique.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-NormalOblique.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-MediumOblique.woff2') format('woff2');
  font-weight: 500;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-DemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-DemiBoldOblique.woff2')
    format('woff2');
  font-weight: 600;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-BoldOblique.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-ExtraBoldOblique.woff2')
    format('woff2');
  font-weight: 800;
  font-style: italic;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-Heavy.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: fallback;
}

@font-face {
  font-family: 'Articulat CF';
  src: url('fonts/ArticulatCF/ArticulatCF-HeavyOblique.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: fallback;
}

:root {
  scroll-behavior: smooth !important;
  /* Colours */
  --primary: rgb(25, 41, 88); /* #192958 */
  --secondary: rgb(255, 242, 0); /* #FFF200 */
  --tertiary: #C0233C;
  --white: rgb(255, 255, 255);
  --grey: rgb(228, 228, 228);
  --neutral: hsl(0, 0%, 89%);
    /* #E4E4E4 */
  --light: hsl(0, 0%, 99%);
  --dark: #000;
  --accent1: #C58BBD;
  --accent2: #255CAA;
  --accent3: #75AF55;
  --accent4: #00E5FF;
  --accent5: #EAF0FF;

  /* Fonts */
  --font-family: 'Articulat CF', Arial, Helvetica, sans-serif;
  --font-body-weight: 400;
  --font-heading-weight: 500;
  --font-subheading-weight: bold;
  --font-body-line-height: 1.25;
  --font-heading-line-height: 1.1;
  /* Spacing */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 1rem;     /* 16px */
  --space-4: 1.5rem;   /* 24px */
  --space-5: 2rem;     /* 32px */
  --space-6: 3rem;     /* 48px */
  --space-7: 4rem;     /* 64px */
  --space-8: 5rem;     /* 80px */
  --space-9: 6rem;     /* 96px */
  --space-10: 8rem;    /* 128px */
  --space-11: 10rem;   /* 160px */
  --space-12: 12rem;   /* 192px */
  --space-13: 14rem;   /* 224px */
  --space-14: 16rem;   /* 256px */
  --space-15: 18rem;   /* 288px */

  /* Font size */
  --text-xs: 0.75rem;   /* 12px */
  --text-sm: 0.875rem;  /* 14px */
  --text-base: 1rem;    /* 16px */
  --text-md: 1.125rem;  /* 18px */
  --text-lg: 1.25rem;   /* 20px */
  --text-xl: 1.5rem;    /* 24px */
  --text-2xl: 1.75rem;  /* 28px */
  --text-3xl: 2rem;     /* 32px */
  --text-4xl: 2.5rem;   /* 40px */
  --text-5xl: 3rem;     /* 48px */
  --text-6xl: 3.75rem;  /* 60px */
  --text-7xl: 4.5rem;   /* 72px */
  --text-8xl: 6rem;     /* 96px */
  --text-9xl: 8rem;     /* 128px */
  --text-10xl: 10rem;   /* 160px */

    /* Font weight */
  --font-light: 300;
  --font-regular: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;
  --font-extra: 800;
  --font-black: 900;

  --h1-mobile: var(--text-3xl);
  --h2-mobile: var(--text-2xl);
  --h3-mobile: var(--text-lg);
  --h4-mobile: var(--text-md);

  --h1-desktop: var(--text-5xl);
  --h2-desktop: var(--text-3xl);
  --h3-desktop: var(--text-xl);
  --h4-desktop: var(--text-lg);
  --paragraph: var(--text-md);
  --smallprint: var(--text-sm);

  --h1-line-height: 1.15;
  --h2-line-height: 1.2;
  --h3-line-height: 1.3;
  --h4-line-height: 1.3;
  --paragraph-line-height: 1.5;
  --legal-line-height: 1.4;

}

html {
    scrollbar-gutter: stable;
}

img {
  filter: 
    brightness(1.05)
    contrast(0.95)
    saturate(0.9);
}

.dropdown-toggle {
  background: none !important;
  color: var(--primary) !important;
  text-transform: capitalize !important;
  border: 1px solid var(--primary) !important;
  box-shadow: 0px 2px 2px rgba(25, 41, 88, 0.25) !important;
}

.dropdown-menu {
  width: 263px !important;
  box-shadow: 0px 2px 2px rgba(25, 41, 88, 0.25) !important;
  font-size: 18px;
}

.dropdown-menu .active,
.dropdown-menu a:active {
  background-color: var(--secondary);
  color: var(--primary);
}

/* @end */
/* @group Global */

body {
  font-family: var(--font-family);
  font-display: swap;
  -webkit-font-smoothing: antialiased;
  line-height: var(--font-body-line-height);
  color: var(--primary);
}

p {
  font-size: var(--paragraph);
  line-height: var(--paragraph-line-height);
  font-weight: var(--font-regular);
  /* max-width: 65ch; */
}

.core-paragraph,
.core-heading {
/*   max-width: calc(1200px + 3rem) !important; */
}

.single h1,
.single h2, 
.single h3 {
	font-weight: 700 !important;
}

a {
  color: var(--primary);
  font-weight: var(--font-subheading-weight);
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
  color: #4a5679;
}

:focus:not(:focus-visible) {
  outline: none;
}

.btn.focus,
.btn:focus {
  outline: 0;
  box-shadow: none !important;
}

.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6 {
  font-weight: var(--font-heading-weight);
  line-height: var(--font-heading-line-height);
}

.content {
  overflow: hidden;
}

.content h1 {
  font-size: 2rem;
}

.wrapper > .content {
  min-height: 500px;
}

blockquote {
  margin: 0;
}

.content ul {
  list-style: none; /* Remove default bullets */
}

.content ol {
  list-style: none;
  counter-reset: item;
}

.content ol > li::before {
  content: '.' counter(item);
  color: var(--primary);
  display: inline-block;
  width: 1em;
  margin-left: -1.5em;
  margin-right: 0.5em;
  text-align: right;
  direction: rtl;
  counter-increment: item;
}

.content ul > li::before {
  content: '\2022'; /* Add content: \2022 is the CSS Code/unicode for a bullet */
  color: var(--primary); /* Change the color */
  font-weight: bold; /* If you want it to be bold */
  display: inline-block; /* Needed to add space between the bullet and the text */
  width: 1em; /* Also needed for space (tweak if needed) */
  margin-left: -1.1em; /* Also needed for space (tweak if needed) */
}

::-moz-selection {
  background-color: var(--primary);
  color: var(--white);
}

::selection {
  background-color: var(--primary) !important;
  color: var(--white) !important;
}

.tgwhf-max-width {
  max-width: 960px;
  margin: 0 auto;
}

/* @end */

/* @group CSS Heart Loader */

.lds-heart {
  display: none;
  position: relative;
  width: 80px;
  height: 80px;
  transform: rotate(45deg);
  transform-origin: 40px 40px;
}

.lds-heart div {
  top: 32px;
  left: 32px;
  position: absolute;
  width: 32px;
  height: 32px;
  background: var(--primary);
  animation: lds-heart 1.2s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.lds-heart div:after,
.lds-heart div:before {
  content: ' ';
  position: absolute;
  display: block;
  width: 32px;
  height: 32px;
  background: var(--primary);
}

.lds-heart div:before {
  left: -24px;
  border-radius: 50% 0 0 50%;
}

.lds-heart div:after {
  top: -24px;
  border-radius: 50% 50% 0 0;
}

@keyframes lds-heart {
  0% {
    transform: scale(0.95);
  }

  5% {
    transform: scale(1.1);
  }

  39% {
    transform: scale(0.85);
  }

  45% {
    transform: scale(1);
  }

  60% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(0.9);
  }
}

/* @end */

/* @group Buttons */

.container .btn:focus,
.container button:focus {
  outline: none !important;
}

.btn,
.button,
.wp-block-button a {
  border-radius: 0;
  border: 0;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 60px;
  min-width: 150px;
  outline: none !important;
}

.btn.btn-primary,
.wp-block-button a {
  display: inline-block;
  color: var(--primary);
  background-color: var(--secondary);
  transition: all 400ms ease-in-out;
  border: 1px solid var(--secondary);
  padding: 1rem 1.5rem;
  min-width: 12.813rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.btn.btn-primary:hover,
.wp-block-button a:hover {
  color: var(--white);
  background-color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
}

a.btn.btn-outline-light {
  border: 1px solid var(--white) !important;
}

/* @end */

/* @group Global Header */

header.tgwhf-header {
  position: sticky;
  width: 100%;
  background: var(--primary);
  z-index: 50;
  top: 0;
  left: 0;
  border-bottom: 10px solid var(--secondary);
}

header.tgwhf-header img {
  max-width: 110px;
  height: auto;
}

header.tgwhf-header a.header-button {
  font-size: 20px;
  display: block;
  text-transform: uppercase;
  line-height: 80px;
  text-align: center;
  font-weight: bold;
  text-decoration: none;
}

header.tgwhf-header a.header-button:hover {
  color: var(--white);
  text-decoration: underline;
}

header.tgwhf-header .phone-number {
  /*max-width: 180px;*/
  font-weight: bold;
  font-size: 20px;
  margin-left: 5px;
}

header.tgwhf-header .menu-button {
  text-align: right !important;
  line-height: 60px;
  height: 80px;
}

/* @end */

/* @group Hamburger */

.hamburger-box {
  width: 50px;
}

.hamburger-inner,
.hamburger-inner:before,
.hamburger-inner:after,
.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner:after,
.hamburger.is-active .hamburger-inner:before {
  background-color: var(--white);
  width: 50px;
  height: 3px;
  border-radius: 0;
}

.modal .hamburger.is-active .hamburger-inner:before,
.modal .hamburger.is-active .hamburger-inner:after {
  background-color: var(--primary);
}

header.tgwhf-header .hamburger-inner:before {
  margin-top: 2px;
}

header.tgwhf-header .hamburger-inner:after {
  margin-top: 4px;
}

header.tgwhf-header .is-active .hamburger-inner:before {
  margin-top: 2px;
}

header.tgwhf-header .is-active .hamburger-inner:after {
  margin-top: 2px;
}

header.tgwhf-header .hamburger:hover,
header.tgwhf-header .hamburger.is-active:hover {
  opacity: 0.95;
}

/* MOBILE */

@media (max-width: 768px) {
  header.tgwhf-header .logo {
    height: auto;
    padding: 20px;
    text-align: center;
  }

  header.tgwhf-header img {
    margin: 0 auto;
    max-width: 110px;
    height: auto;
  }

  header.tgwhf-header .hamburger-inner,
  header.tgwhf-header .hamburger-inner:before,
  header.tgwhf-header .hamburger-inner:after,
  header.tgwhf-header .hamburger.is-active .hamburger-inner,
  header.tgwhf-header .hamburger.is-active .hamburger-inner:after,
  header.tgwhf-header .hamburger.is-active .hamburger-inner:before {
    background-color: var(--white);
  }
}

/* @end */

/* @group MMenu */

#tgwhf-menu {
  padding: 5%;
/*   top: 90px; */
  -webkit-tap-highlight-color: var(--primary) !important;
  background-color: var(--primary);
}

/* @group Menu Search */

form.searchform {
  margin-bottom: 30px;
}

form.searchform .offscreen {
  display: none;
}

form.searchform label,
form.searchform input {
  width: 100%;
  padding: 0;
  margin: 0;
}

form.searchform input[value=''] {
  background: rgba(255, 255, 255, 1);
}

form.searchform input {
  border: 0 !important;
  height: 44px;
  padding: 4px 12px !important;
  margin-bottom: 0px !important;
  min-width: 100% !important;
  box-shadow: 0px 3px 5px rgba(25, 41, 88, 0.3);
  background: rgba(255, 255, 255, 1);
}

form.searchform input:focus {
  background: var(--white);
}

form.searchform ::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: rgba(25, 41, 88, 0.75);
}
form.searchform ::-moz-placeholder {
  /* Firefox 19+ */
  color: rgba(25, 41, 88, 0.75);
}
form.searchform :-ms-input-placeholder {
  /* IE 10+ */
  color: rgba(25, 41, 88, 0.75);
}
form.searchform :-moz-placeholder {
  /* Firefox 18- */
  color: rgba(25, 41, 88, 0.75);
}

#tgwhf-menu button.searchform__button.btn {
  padding: 9px;
}

#tgwhf-menu button.searchform__button.btn:hover {
  border: 1px solid var(--white);
}

#tgwhf-menu .btn {
  width: 100% !important;
  margin-bottom: 0px !important;
  box-shadow: 0px 3px 5px rgba(25, 41, 88, 0.3);
  min-width: auto !important;
  padding-left: 0;
  padding-right: 0;
}

#tgwhf-menu .mm-panel {
  scrollbar-color: var(--primary) rgba(255, 255, 255, 0.75);
  scrollbar-width: thin;
}

/* @end */

#tgwhf-menu:not(.mm-menu) {
  display: none;
}

#tgwhf-menu.mm-menu_offcanvas {
  width: 60%;
  min-width: 60%;
  max-width: 60%;
}

#tgwhf-menu div {
  background-color: transparent !important;
}

#tgwhf-menu a {
  font-size: 28px;
  color: var(--white);
  padding: 1.5rem;
  -webkit-tap-highlight-color: rgba(25, 41, 88, 0) !important;
  font-weight: 500;
}

#tgwhf-menu .mm-listitem:after {
  border-color: rgba(255, 255, 255, 0.7) !important;
  border-width: 2px;
}

#tgwhf-menu .mm-btn_next {
  background: none !important;
  border-color: rgba(255, 255, 255, 0.7);
  border-width: 2px;
  padding-left: 36px;
  margin-top: 10px;
}

#tgwhf-menu .sub-menu .mm-listitem:after {
  border-color: transparent !important;
}

#tgwhf-menu .mm-btn_next:after {
  height: 12px;
  width: 12px;
  border-color: var(--secondary);
  border-width: 4px;
}

#tgwhf-menu .sub-menu {
  padding: 0 6% 6% 6%;
}

#tgwhf-menu .sub-menu a {
  /* font-family: 'Articulat CF', Helvetica, Arial, sans-serif; */
  /* font-display: swap; */
  font-size: 20px;
  padding: 10px 0;
}

#tgwhf-menu .sub-menu a:hover {
  font-weight: bold;
}

#tgwhf-menu a:hover {
  color: var(--secondary);
  text-decoration: underline;
}

#tgwhf-menu a img {
  width: 120px;
  height: auto;
  border-bottom: 1px solid transparent;
}

#tgwhf-menu a:hover img {
  border-bottom: 1px solid var(--secondary);
}

@media (max-width: 768px) {
  #tgwhf-menu {
/*     top: 188px; */
    padding: 3%;
  }

  #tgwhf-menu.mm-menu_offcanvas {
    width: 100%;
    min-width: 100%;
    max-width: none;
  }
}

/* @end */

/* @group Carousels */

/* @end */

/* @group Blog */

.blog-header {
  background: url(/wp-content/uploads/2020/09/whoweareheader.jpg) center center
    no-repeat;
  background-size: cover;
  min-height: 30vh;
  width: auto;
}

.story-categories h5 {
  text-transform: uppercase;
  font-size: 18px;
  margin: 0;
}

.blog-featured-image {
  background-position: center 30%;
  background-size: cover;
}

.blog-featured-image.landscape {
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.ybd-post-wrapper h3 {
  font-size: 1.5rem;
}

.ybd-post-wrapper .post-meta {
  font-weight: bold;
}

/* @group Single Post */

.single-post-featured-image {
  height: 40vw;
  max-height: 700px;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* .single-post-header {
  border-bottom: 2px solid #5f6265;
} */

.single-post-content {
  font-size: 20px;
}

.single-post-content a {
  text-decoration: underline;
}

.single-post-content .aligncenter {
  height: auto;
  margin-bottom: 20px;
}

.single-post-content .alignleft {
  font-size: 80%;
  float: left;
  margin-right: 20px;
}

.single-post-content .alignright {
  font-size: 80%;
  float: right;
  margin-left: 20px;
}

.single-post-content div > blockquote * {
  line-height: 1.4em;
}

.single-post-content .row > .col-10 > p > img,
.single-post-content .row > .col-10 > img,
.single-post-content p > a > img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto 20px !important;
}

@media (max-width: 768px) {
  .single-post-content {
    font-size: 18px;
  }
}

/* @group Related Content */

.related-content {
  background-color: rgba(151, 153, 155, 0.4);
}

/* @end */

/* @end */

/* @end */

/* @group Single Events */

.bg-image {
  min-height: 60vh;
  background-size: cover;
  background-position: center center;
}

@media (max-width: 768px) {
  .bg-image {
    min-height: 40vh;
  }
}

/* @end */

/* @group Global Footer */

/* footer {
  font-size: 18px;
  background-color: var(--primary);
}

footer a {
  color: var(--white);
  text-decoration: underline;
}

footer a:hover {
  color: var(--secondary);
}

footer .social,
footer .logo {
  min-height: 80px;
}

footer .logo img {
  min-width: fit-content;
  max-width: 150px;
}

footer .social a img {
  max-width: 40px;
  height: auto;
  margin-left: 10px;
  margin-right: 10px;
}

footer ul {
  list-style: none;
  padding: 0;
}

footer li {
  display: inline-block;
}

@media (max-width: 576px) {
  footer li {
    display: block;
  }

  footer li:after {
    content: '';
    display: none;
  }
} */

/* footer li:after {
  content: '|';
  margin-right: 2px;
  margin-left: 6px;
}

footer li:last-child:after {
  content: '';
  display: none;
} */

footer li a {
  /* font-size: 14px; */
  text-transform: uppercase;
}

footer .textwidget {
  font-size: 90%;
}



/* @end */

/* @group Mobile Click To Call */

#mobile-click-to-call {
  font-size: 2.5em;
  background-color: var(--white);
  position: fixed;
  bottom: -6px;
  right: 20px;
  border: 2px solid #002d72;
  border-bottom: none;
  border-radius: 8px;
  box-shadow: 0px -2px 3px rgba(25, 41, 88, 0.35);
}

#mobile-click-to-call a {
  padding: 10px 16px;
  color: #002d72;
}

#mobile-click-to-call svg {
  transform: rotate(-22deg);
}

/* @end */

/* @group Admin Bar */

.admin-bar #tgwhf-menu {
/*   top: 112px; */
/* 	top: 164px; */
}

@media screen and (max-width: 768px) {
  .admin-bar #tgwhf-menu {
/* 	  top: 275px; */
  }

  #wpadminbar {
    position: fixed;
  }
}

#tgwhf-menu {
	top: calc(var(--header-height));
}

/* @end */

/* XS */

@media (max-width: 576px) {
}

/* SM */

@media (max-width: 768px) {
  header.tgwhf-header .menu-button {
    background-color: var(--primary);
  }
}
/* MD */

@media (max-width: 992px) {
  .hamburger {
    width: 100%;
  }

  header.tgwhf-header > .container {
    max-width: 100%;
  }
}

/* LG */

@media (max-width: 1200px) {
}

.video-16-9 .fluid-width-video-wrapper {
  padding-top: 56.25% !important;
}

.video-3-2 .fluid-width-video-wrapper {
  padding-top: 66.6667% !important;
}

.video-4-3 .fluid-width-video-wrapper {
  padding-top: 75% !important;
}

.image-overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-size: cover;
}

.z-index-2 {
  z-index: 2;
}

.z-index-5 {
  z-index: 5;
}

.ratio {
  position: relative;
  width: 100%;
}
.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: '';
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-position: center;
  object-fit: cover;
}

.ratio img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.ratio-1x1 {
  --bs-aspect-ratio: 100%;
}

.ratio-4x3 {
  --bs-aspect-ratio: 75%;
}

.ratio-3x2 {
  --bs-aspect-ratio: 66.6667%;
}

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.8571428571%;
}

.carousel-image-caption {
  padding-top: 1rem;
  text-align: center;
  font-size: 13px;
  color: #555;
}

@media (min-width: 576px) {
  .carousel-image-caption {
    width: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(25, 41, 88, 0.5);
    position: absolute;
    z-index: 10;
    padding-top: 20px;
    padding-bottom: 20px;
    color: var(--white);
    text-align: center;
  }
}

.carousel-image-gallery .carousel-control-icon-bg {
  display: flex;
  border-radius: 50%;
  background-color: rgba(25, 41, 88, 0.5);
  padding: 1rem;
}

.carousel-image-gallery .carousel-control-next,
.carousel-image-gallery .carousel-control-prev {
  opacity: 1;
}

/* .uhnited-v2-divider {
  width: 100%;
  height: 10px;
  background-color: var(--secondary);
} */

.ybd-learn-more a {
  color: white !important;
}

.fluid-width-video-wrapper iframe,
.fluid-width-video-wrapper object,
.fluid-width-video-wrapper embed {
  position: absolute;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

/* Ninja forms */

.custom-form-heading {
	font-size: 1.5rem;
	font-weight: 500;
	margin-bottom: 1rem;
}

.nf-form-cont {
	padding-bottom: 3rem;
}

.nf-form-fields-required {
	margin-bottom: 1rem;
	font-size: 1rem;
}

.field-wrap div.nf-field-label {
	margin-bottom: 7px;
}

.field-wrap div.nf-field-label label {
	font-weight: 600;
	font-size: 1.2rem;
}

.ninja-forms-field.nf-element {
	border-radius: 0;
	border: 1px solid rgba(15, 41, 88, 0.25);
	padding: 0.5rem;
	background-color: var(--white);
}

.nf-error-msg {
	font-size: 1rem;
}

.field-wrap.checkbox-wrap div.nf-field-label {
	padding-left: 0.25rem;
}

.nf-field-description {
	margin-bottom: 1rem;
}

.nf-field-element .nf-fu-progress {
	border-radius: 50px;
	border: 1px solid rgba(15, 41, 88, 0.25);
	background-color: var(--white);
	margin-top: 1rem;
}

.nf-form-cont input[type='submit'],
.nf-fu-fileinput-button[type="button"] {
  display: inline-block;
  color: var(--primary);
  background-color: var(--secondary);
  transition: all 400ms ease-in-out;
  border: 1px solid var(--secondary);
  padding: 1rem 1.5rem;
  min-width: 12.813rem;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
}

.nf-form-cont input[type='submit']:hover,
.nf-fu-fileinput-button[type="button"]:hover,
.nf-fu-fileinput-button[type="button"]:focus {
  color: var(--white);
  background-color: var(--primary);
  text-decoration: none;
  border: 1px solid var(--primary);
}
