/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *



 */

.reverse-string {
  direction: rtl;
  unicode-bidi: bidi-override;
}

 #submit-loading {
  display: none;
  width: 100%;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background: rgba(0, 0, 0, .4);
  margin: 0;
  padding: 0;
  z-index: 9999;    
}

#submit-loading div {
  opacity: 25%;
}

.exclude-sold-checkbox {
  width: 1.5rem !important;
  height: 1.5rem !important;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}
/* ------------------- */
/*        setup        */
/* ------------------- */

:root{
    --primary: #BE1E2D;
    --mustard: #FAA21B;
    --yellow:#EACE1A;
    --orange: #F15A29;
    --dark: #231F20;
    --purple: #652D90;
    --grey: #E6E7E8;
    --lgt-grey: #F9FAFB;
    --mulish: "Mulish", sans-serif;
}
body{
    font-family: var(--mulish);
}
body a{
    text-decoration: none;
}
.minw-0 {
    min-width: unset !important;
}
.mw-480{
    max-width: 480px;
}
.mw-576{
    max-width: 576px;
}
.mw-768{
    max-width: 768px;
}

/* Skip to main content */
.skip-to-main-content {
    position: absolute;
    left: -9999px;
    z-index: 99999;
    padding: 1em;
    background-color: black;
    color: #fff;
    opacity: 0;
}
.skip-to-main-content:focus {
    left: 50%;
    top: 1%;
    transform: translateX(-50%);
    opacity: 1;
    border: 1px solid red;
}
.section-p{
    padding-top: 64px;
    padding-bottom: 64px;
}
.single-p{
    padding-bottom: 64px;
}

/* ------------------ */
/*      homepage      */
/* ------------------ */

.font-who-match p {
    font-size: 18px;
    font-weight: 400;
    color: #344054;
}

@media screen and (min-width: 768px) {
    .font-who-match p {
    font-size: 20px;
    }
}


/* navigation/header */
.header-row-1{
    background-color: #E6E7E8;
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 14px;    
}
.header-row-1 a{
    color: #000000;
}
.lang-toggle{
    /* background-color: #ffffff; */
    display: flex;
    flex-direction: row;
    /* border-radius: 8px; */
    /* overflow: hidden; */
    column-gap: 1px;
}
.lang-toggle a{
    font-weight: 700;
    padding: 5px 8px;
    background-color: #ffffff;
    transition: background-color 0.2s ease;
}
.lang-toggle a:first-child{
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}
.lang-toggle a:last-child{
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}
.lang-toggle a.active{
    background: #BABABA;
}
.lang-toggle a:not(.active):hover{
    background-color: #BABABA;
}
.campus-connect-links a{
    position: relative;
}
.campus-connect-links a::after{
    position: absolute;
    content: "";
    height: 0;
    background-color: #000000;
    width: 100%;
    left: 0;
    bottom: 0;
    transition: height 0.2s ease;
}
.campus-connect-links a:hover::after,
.campus-connect-links a:focus::after{
    position: absolute;
    content: "";
    height: 1px;
    background-color: #000000;
    width: 100%;
    left: 0;
    bottom: 0;
}
.fnb-navigation{
    position: sticky;
    background-color: #ffffff;
    z-index: 9999;
    top: 0;
    /* box-shadow: 0px 4px 8px -2px rgba(16, 24, 40, 0.10), 0px 2px 4px -2px rgba(16, 24, 40, 0.06); */
    box-shadow: 0px 6px 10px 0px rgba(0,0,0,0.08);
}
.fnb-navigation .navbar-brand{
    width: 220px;
    /* height: 31px; */
}
.fnb-navigation img{
    width: 100%;
    object-fit: contain;
}
.fnb-navigation .navbar{
    padding: 28px 0 28px 0;
}
.fnb-navigation .navbar-nav{
    column-gap: 16px;
}
.fnb-navigation .nav-link{
    color: #000;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 0px;
}
.fnb-navigation .nav-link.active{
    font-weight: 800;
    padding: 6px 0px;
    /* position: relative; */
    border-bottom: 3px solid var(--Red, #BE1E2D);
    /* border-width: calc(100% - 16px); */
}
.fnb-navigation .nav-link.active{
    font-weight: 800;
}
.offcanvas.show .dropdown-menu.show{
    border: none;
}
.dropdown-item:active{
    background-color: rgba(250, 162, 27, 0.30);
    color: #000000;
}

/* banner carousel */
.homepage-banner .home-carousel-container{
    /* height: 60%; */
    height: 600px;
}
.homepage-banner .carousel-item{
    height: 100%;
}
.homepage-banner .carousel-caption{
    right: unset;
    bottom: unset;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
}
.homepage-banner .carousel-caption h1,
.homepage-banner .carousel-caption h2{
    color: #FFF;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.5);
    font-size: 36px;
    font-weight: 700;
}
.homepage-banner .carousel-caption p{
    color: #FFF;
    text-align: center;
    text-shadow: 0px 0px 15px rgba(0,0,0,0.5);
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
}
.homepage-banner .banner-navigation{
    /* height: 40%; */
    background-color: #a1a2a3;
    column-gap: 2px;
    row-gap: 2px;
}
.homepage-banner .banner-navigation a{
    align-content: center;
    background-color: var(--grey);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    width: 100%;
    transition: background-color 0.2s ease;
    padding: 32px 16px;
}
.homepage-banner .banner-navigation a:first-child:hover,
.homepage-banner .banner-navigation a:first-child:focus,
.homepage-banner .banner-navigation a:first-child:focus-visible{
    background-color: var(--purple);
    color: #ffffff;
}
.homepage-banner .banner-navigation a:not(:first-child):hover,
.homepage-banner .banner-navigation a:not(:first-child):focus,
.homepage-banner .banner-navigation a:not(:first-child):focus-visible{
    background-color: var(--mustard);
}
.homepage-banner .carousel-indicators{
    column-gap: 10px;
}
.homepage-banner .carousel-indicators [data-bs-target]{
    border-top: unset;
    border-bottom: unset;
    width: 15px;
    height: 15px;
    border-radius: 999px;
}
.homepage-banner .carousel-control-next, 
.homepage-banner .carousel-control-prev{
    width: 10%;
}
.homepage-banner .carousel-item .carousel-overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    bottom: 0;
}

/* first home section */
.section-p h2{
    color: var(--dark);
    font-size: 28px;
    font-weight: 700;
}
.single-p h2{
    color: var(--dark);
    font-size: 28px;
    font-weight: 700;
}
.mw-576 > img,
.mw-md-576 > img,
.mw-lg-576 > img{
    border-radius: var(--radius-2xl, 16px);
}
.home-sec-1 img{
    width: 100%;
    height: 250px;
}
.fnb-btn{
    color: var(--dark, #231F20);
    font-size: 16px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    border-radius: 8px;
    border: 1px solid var(--yellow);
    background-color: var(--mustard);
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
    transition: background-color 0.2s ease;
}
.fnb-btn:hover, .fnb-btn:focus, .fnb-btn:focus-visible, .btn.fnb-btn:first-child:active{
    /* border: 1px solid var(--mustard); */
    border-color: var(--mustard);
    background-color: transparent;
    text-decoration: none;
}
footer .fnb-btn:hover, footer .fnb-btn:focus, footer .fnb-btn:focus-visible, footer .btn.fnb-btn:first-child:active{
    border: 1px solid var(--mustard);
    border-color: var(--mustard);
    background-color: #ffffff;
    text-decoration: none!important;
}
/* large image home section */
.lrg-img-home > p{
    /* width: 100%; */
    background: var(--orange);
    color: var(--Colors-Text-text-white, #FFF);
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: capitalize;
}
.lrg-img-home{
    padding-bottom: 40px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.fnb-data{
    display: flex;
    padding: 32px 24px;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.15);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.30);
    background: rgba(241, 90, 41, 0.30);
    
    /* Backdrop blurs/backdrop-blur-lg */
    backdrop-filter: blur(12px);
}
.fnb-data div{
    /* font-size: 60px; */
    /* font-size: 48px; */
    font-size: 40px;
    
    color: #ffffff;
    font-weight: 600;
}
.fnb-data span{
    /* font-size: 24px; */
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
}
.fnb-data-container{
    padding-top: 64px;
    padding-bottom: 64px;
}

/* home cards section */
.ptrn-bg{
    background-repeat: repeat;
}
.fnbfw-card{
    display: flex;
    padding: 18px;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    flex: 1 0 0;
    max-width: 400px;
    border-radius: 8px;
    background: #FBFBFB;
    box-shadow: 2px 2px 23px 0px rgba(0, 0, 0, 0.10);
}
.fnbfw-card img{
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}
.fnbfw-card .card-content{
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 12px;
}
.fnbfw-card h3{
    width: 260px;
    color: #000;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}
.fnbfw-card p{
    color: #344054;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
}

/* homepage orange section */
.orange-container{
    padding: 64px 0px 96px 0px;
    background: var(--orange);
    margin-bottom: 90px; 
}
.orange-container h2{
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}
.home-orange-section .image-card-container{
    transform: translateY(-64px);
    padding-bottom: 64px;
}
.home-orange-section .image-card-container .container {
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 32px 16px;
    position: relative;
}

.home-orange-section .image-card-container .fnb-data div{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.home-orange-section .image-card-container .fnb-data p{
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0;
}
.home-orange-section .image-card-container .container::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--grey);
    bottom: -64px;
    left: 0;
}

/* divider */
.section-divider{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section-divider div{
    height: 1px;
    width: 100%;
    max-width: 1300px;
    padding: 0px 32px;
    align-self: center;
    background-color: var(--grey);
}

/* homepage who its for card */
.who-is-for-card{
    border-radius: 24px;
    background-color: #F9FAFB;
    overflow: hidden;
    box-shadow: 0px 20px 24px -4px rgba(16, 24, 40, 0.08), 0px 8px 8px -4px rgba(16, 24, 40, 0.03);
}
.who-is-for-card img{
    width: 100%;
    height: 300px;
    /* max-width: 480px; */
    object-fit: cover;
    object-position: center;
}
.who-is-for-card-content{
    display: flex;
    padding: 32px 32px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
}
.who-is-for-card-content h2{
    color: var(--dark);
    font-size: 30px;
    font-weight: 600;
}
.who-is-for-card-content p{
    color: #344054;
    font-size: 18px;
    font-weight: 400;
}
.fnb-btn-container{
    width: 100%;
}

/* fnb fw partners */
.fnb-partners{
    background: var(--lgt-grey);
}
.fnb-partners-container{
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    align-items: flex-start;
    align-self: stretch;
    gap: 32px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 1024px;
}
.partner-institution{
    display: flex;
    min-width: 205px;
    height: 150px;
    flex: 1 0 0;
    max-width: 220px;
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
    border: 1px solid #EAECF0;
    background: #ffffff;
    /* Shadows/shadow-xs */
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}
.partner-institution img{
    height: 100%;
    object-fit: contain;
    width: 100%;
}
.fnb-partners .fnb-btn{
    width: 100%;
    max-width: 270px;
}

/* footer */
.fnb-footer{
    /* display: flex; */
    padding-top: 40px;
    /* flex-direction: column; */
    /* justify-content: center; */
    /* align-items: flex-start; */
    /* gap: 8px; */
    background-color: #444444;  
}
.fnb-footer h4{
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}
.fnb-footer .logo-container a{
    height: 50px;
    width: 100%;
    max-width: 530px;
}
.fnb-footer .logo-container img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-section{
    /* width: 100%; */
    /* max-width: 330px; */
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}
.f-nav-wrapper {
    display: flex;
    gap: 30px;
  }
  
  .f-nav-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
  }
  
.footer-section li{
    width: 100%;
    max-width: 190px;
}
.footer-section li a{
    color: #ffffff;
}
.footer-section a:hover{
    text-decoration: underline;
}
.footer-end{
    color: #ffffff;
    font-size: 16px;
    border-top: 1px solid #ffffff;
}
.footer-end a{
    color: #ffffff;
}

/* ------------------ */
/*      SUBPAGES      */
/* ------------------ */

/* Who we are */
.subpage-banner{
    height: 215px;
    position: relative;
}
.subpage-banner img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    position: relative;
}
.subpage-banner .sub-banner-overlay{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.25);
    height: 100%;
    width: 100%;
    top: 0;
}
.subpage-banner h1{
    color: #ffffff;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    font-size: 32px;
    font-weight: 800;
}
.colour-image-bg{
    width: 100%;
    padding: 16px;
    border-radius: 10px;
    height: 250px;
}
.colour-image-bg.orange-bg{
    background-color: var(--orange);
}
.colour-image-bg img{
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: cover;
}
.subpage-sect p{
    color: #344054;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}

.who-we-navigation{
    background-color: #a1a2a3;
    column-gap: 2px;
    row-gap: 2px;
}
.who-we-navigation a{
    align-content: center;
    background-color: var(--grey);
    color: #000;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    text-align: center;
    width: 100%;
    transition: background-color 0.2s ease;
    padding: 32px 16px;
}
.who-we-navigation a:first-child:hover,
.who-we-navigation a:first-child:focus,
.who-we-navigation a:first-child:focus-visible{
    background-color: var(--purple);
    color: #ffffff;
}
.who-we-navigation a:not(:first-child):hover,
.who-we-navigation a:not(:first-child):focus,
.who-we-navigation a:not(:first-child):focus-visible{
    background-color: var(--mustard);
}

/* Experiential education */
.icon-list i{
    align-items: center;
    background: var(--orange);
    border-radius: 10px;
    border: 0.75px solid var(--orange);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    height: 48px;
    justify-content: center;
    padding: 12px;
    width: 48px;
    font-size: 18px;
}
.icon-list h3{
    color: #101828;
    font-size: 24px;
    font-weight: 600;
    line-height: 30px;
}
.icon-list p{
    color: #344054;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.icon-list-img img{
    width: 100%;
    height: 250px;
    object-fit: cover;
}

/* committees */
.colour-image-bg.yellow-bg{
    background-color: var(--yellow);
}
.committee-list{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.committee-list li{
    display: flex;
    flex-direction: row;
    column-gap: 12px;
    align-items: flex-start;
}
.committee-list i{
    margin-top: 4px;
    font-size: 24px;
}

/* who it's for - employers*/
.who-its-for-navigation a[aria-expanded="true"]{
    background: var(--mustard);
}
/* .subpage-sect.accordion-collapse[id^='whoItsFor'].collapsing{
    height: 5rem!important;
} */
/* .accordion-collapse {
    transition: none;
} */
#whoItsFor .accordion-collapse.collapsing {
    transition: none !important;
  }
  
.accordion-body{
    /* padding-left: 0;
    padding-right: 0; */
    padding: 0;
}
.accordion-body .rich-text img{
    width: 100%;
    height: 280px;
    border-radius: 16px;
    object-fit: cover;
}

.yellow-container{
    padding: 64px 0px 96px 0px;
    background: var(--mustard);
}
.yellow-container h2{
    color: var(--dark);
    font-size: 28px;
    font-weight: 700;
}
.coloured-section .image-card-container{
    transform: translateY(-64px);
    padding-bottom: 64px;
}
.coloured-section .image-card-container .container{
    border-radius: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 32px 16px;
    position: relative;
}

.coloured-section .image-card-container .container
.coloured-section .image-card-container .fnb-data div{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.coloured-section .image-card-container .fnb-data p{
    text-align: center;
    font-size: 18px;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0;
}
.coloured-section .image-card-container .fnb-data{
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(250, 162, 27, 0.30);
}
.coloured-section .image-card-container .container::after{
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background-color: var(--grey);
    bottom: -64px;
    left: 0;
}
.lght-grey-bg{
    background-color: #F9FAFB;
}
.who-its-cta{
    padding: 32px 16px;
    border-radius: 16px;
    background: #F9FAFB;
    box-shadow: 0px 3px 4px 0px rgba(76, 78, 100, 0.14), 0px 1px 8px 0px rgba(76, 78, 100, 0.12);
}
.who-its-cta .fnb-btn{
    width: 100%;
    max-width: 270px;
}

/* who it's for - public school students */
.public-school-list i{
    color: var(--orange);
}

/* Future Wabanaki */
.subpage-banner.fw-banner .sub-banner-overlay{
    background-color: rgba(101, 45, 144, 0.80);
}
.fw-banner p{
    color: #FFF;
    text-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
    font-size: 20px;
    font-weight: 600;
}

.subpage-sect.fw-s1 h2{
    color: #344054;
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}
.fw-s1 .fw-logo{
    width: 100%;
    max-width: 320px;
}
.fw-s1 p a{
    color: #344054;
    text-decoration: underline;
}
.fnb-btn.fw-btn{
    color: #ffffff;
    border: 1px solid var(--purple);
    background-color: var(--purple);
    transition: background-color 0.2s ease;
}
.fnb-btn.fw-btn:hover{
    color: var(--purple);
    border: 1px solid var(--purple);
    background-color: #ffffff;
}
.fw-s1 figure{
    height: 250px;
}
.fw-s1 figure img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.fw-s2 .fw-card{
    overflow: hidden;
    flex: 1 0 0;
    min-width: 100%;
    border-radius: 8px;
    border: 1px solid #EAECF0;
    background-color: #ffffff;
    box-shadow: 0px 12px 16px -4px rgba(16, 24, 40, 0.08), 0px 4px 6px -2px rgba(16, 24, 40, 0.03);
}
.fw-s2 .fw-card .card-title{
    background-color: var(--purple);
    padding: 16px 32px;
    color: #ffffff;
}
.fw-s2 .fw-card .card-body{
    padding: 24px;
    font-size: 18px;
}
.fw-s2 .fw-card img{
    /* height: 475px; */
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center;
}
.purple-container{
    padding: 64px 0px 96px 0px;
    background: var(--purple);
}
.purple-container h2{
    color: #ffffff;
    font-size: 28px;
    font-weight: 700;
}
.purple-container p{
    color: #ffffff;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
}
.fw-s3.coloured-section .image-card-container .fnb-data{
    background-color: rgba(101, 45, 144, 0.30);
}


.fw-s3 .fnb-btn.fw-btn{
    color: var(--purple);
    border: 1px solid var(--purple);
    background-color: #ffffff;
    width: 100%;
    max-width: 250px;
}
.fw-s3 .fnb-btn.fw-btn:hover{
    color: #ffffff;
    border: 1px solid #ffffff;
    background-color: transparent;
}

.fw-s4 .accordion-title{
    background-color: var(--purple);
    color: #ffffff;
    padding: 16px 0px;
}
.fw-s4 .accordion-title h3{
    font-size: 18px;
    font-weight: 700;
    line-height: 28px;
}
.fw-s4 .accordion-header .accordion-button{
    color: #101828;
    font-size: 18px;
    font-weight: 600;
}
.fw-s4 .accordion-button:not(.collapsed){
    background-color: var(--lgt-grey);
    box-shadow: none;
}
.fw-s4 .accordion{
    border: none;
    border-radius: 0;
}
.fw-s4 .accordion-item{
    border: none;
    border-bottom: 1px solid #EAECF0;
    /* margin-bottom: 8px; */
}
.fw-s4 .accordion-body{
    padding: 16px 20px;
}
.fw-s4 .accordion-item:last-of-type>.accordion-header .accordion-button.collapsed{
    border-radius: 0;
}
.fw-s4 .accordion-body p{
    color: #344054;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.fw-s4 .accordion-button:focus{
    box-shadow:  0 0 0 0.25rem rgba(101, 45, 144, 0.25);
}
.fw-cta-2 p{
    max-width: 976px;
}
.fw-s5 .fw-card.card-image{
    position: relative;
}
.fw-s5 .fw-card.card-image img{
    position: relative;
    height: 360px;
}
.fw-s5 .fw-card.card-image .image-box{
    position: absolute;
    border-radius: 16px;
    border: 1px solid rgba(101, 45, 144, 0.30);
    background-color: rgba(101, 45, 144, 0.30);
    backdrop-filter: blur(12px);
    bottom: 0;
    margin-left: 24px;
    margin-right: 24px;
    margin-bottom: 24px;
    padding: 24px 16px;
}
.fw-s5 .fw-card.card-image p{
    color: #ffffff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 0;
}

/* fnb contact cards */
.bg-purple{
    background-color: var(--purple);
}
.fnb-contact-card{
    flex: 1 0 0;
    min-width: 100%;
    max-width: 592px;
    padding-top: 50px;
    border-radius: 16px;
    box-shadow: 2px 2px 23px 0px rgba(0, 0, 0, 0.15);
    /* overflow: hidden; */
}
.fnb-contact-card-content img{
    width: 100px;
    height: 58px;
    object-fit: contain;
    flex-shrink: 0;
}
.fnb-contact-card-content{
    background-color: #ffffff;
    padding: 16px;
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    border-bottom-right-radius: 16px;
    border-bottom-left-radius: 16px;
}
.fnb-contact-card .contact-name p{
    color: var(--dark);
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
}
.fnb-contact-card .contact-name p.regular {
    text-transform: none;
}
.fnb-contact-card .contact-name span{
    color: var(--dark);
    font-size: 14px;
    font-weight: 600;
}
.fnb-contact-card-content ul{
    padding-left: 0;
    list-style: none;
}
.fnb-contact-card-content i{
    color: #BBBDBF;
}
.fnb-contact-card-content li,
.fnb-contact-card-content a{
    color: #344054;
    display: flex;
    align-items: baseline;
}
.fnb-contact-card-content li{
    font-size: 16px;
    display: flex;
    align-items: baseline;
}
.c-purple{
    color: var(--purple)!important;
}
.fnb-contact-card.bg-purple a:hover{
    color: var(--purple);
    text-decoration: underline;
}
.fnb-contact-card.bg-purple a:hover i{
    color: var(--purple);
}

/* success stories */
.success-card{
    width: 100%;
    max-width: 450px;
}
.success-card figure{
    width: 100%;
    border-radius: 16px;
    height: 280px;
    overflow: hidden;
}
.success-card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.success-card h3{
    color: var(--dark);
    font-size: 20px;
    font-weight: 600;
    height: 28px;
    line-height: 28px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.success-card p{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 18px;
    font-weight: 400;
    height: 48px;
    line-height: 24px;
    overflow: hidden;
}

/* story page template */

.story-banner h1{
    color: var(--dark);
    font-size: 48px;
    font-weight: 700;
}
.story-banner figure{
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
}
.story-banner figure img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.story-text figure{
    width: 100%;
    height: 240px;
    overflow: hidden;
    border-radius: 16px;
}
.story-text img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.story-quote{
    border-left: 2px solid var(--orange);
    padding-left: 20px;
}
.subpage-sect .story-quote p{
    color: #344054;
    font-size: 18px;
    font-style: italic;
    font-weight: 500;
    line-height: 28px;
}
.subpage-sect .story-quote span{
    color: #344054;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}
.bg-orange{
    background-color: var(--orange);
}
.c-orange{
    color: var(--orange)!important;
}
.fnb-contact-card.bg-orange a:hover{
    color: var(--);
    text-decoration: underline;
}
.fnb-contact-card.bg-orange a:hover i{
    color: var(--orange);
}

/* contact us */
.tab-menu ul.nav{
    border-radius: 8px;
    border: 1px solid #EAECF0;
    background-color: #F9FAFB;
    padding: 4px;
}

.tab-menu ul .nav-item .nav-link{
    border-radius: 6px;
    border: 1px solid transparent;
    color: #667085;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    background-color: transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.tab-menu ul .nav-item .nav-link.active{
    background-color: var(--purple);
    color: #ffffff;
}
.tab-menu ul .nav-item .nav-link.active:not(#wabanakiTab){
    background-color: var(--mustard);
    color: #000000;
}
.tab-menu ul .nav-item .nav-link.active:hover{
    background-color: var(--purple);
    border-color: var(--purple);
}
.tab-menu ul .nav-item .nav-link.active:not(#wabanakiTab):hover{
    background-color: var(--mustard);
    border-color: var(--yellow);
}
.tab-menu ul .nav-item .nav-link:hover{
    border-color: var(--purple);
}
.tab-menu ul .nav-item .nav-link:not(#wabanakiTab):hover{
    background-color: white;
    border-color: var(--mustard);
}
/* Phablet */
@media screen and (min-width:375px) {
    .fnb-navigation .navbar-brand{
        width: 250px;
        /* height: 33px; */
    }
}
@media screen and (min-width: 425px) {
    .fnb-navigation .navbar-brand{
        width: 300px;
        /* height: 38px; */
    }

    /* story template */
    .story-text figure{
        height: 300px;
    }
}
@media screen and (max-width: 575px) {
    /* homepage orange section */
    .image-card-container{
        padding-left: 16px;
        padding-right: 16px;
    }
}
@media screen and (min-width: 576px) {
    /* future wabanaki purple colour section */
    .fw-s3.coloured-section .image-card-container .fnb-data{
        min-width: 400px;
    }
}

/* Tablet */
/* @media screen and (max-width:767px) {
} */

@media screen and (min-width: 768px) {
    .mw-md-480 {
        width: 100%;
        max-width: 480px;
    }
    .mw-md-576 {
        width: 100%;
        max-width: 576px;
    }
    .mw-md-768 {
        width: 100%;
        max-width: 768px;
    }

    /* navigation */
    .fnb-navigation .navbar-brand {
        width: 350px;
        height: 43px;
    }

    /* homepage banner */
    .homepage-banner .home-carousel-container{
        height: 85%;
    }
    .homepage-banner .banner-navigation{
        height: 15%;
    }
    .homepage-banner .carousel-caption h1,
    .homepage-banner .carousel-caption h2 {
        font-size: 52px;
    }
    .homepage-banner .carousel-caption p{
        font-size: 24px;
    }

    /* homepage section 1 */
    .home-sec-1 img{
        height: 400px;
    }

    /* homepage cards */
    .fnbfw-card{
        padding: 24px;
    }

    /* homepage orange section */
    .home-orange-section .image-card-container .container,
    .coloured-section .image-card-container .container{
        padding: 64px 18px;
    }
    .home-orange-section .image-card-container .fnb-data p,
    .coloured-section .image-card-container .fnb-data p{
        max-width: 350px;
    }

    /* homepage cta section card */
    .who-is-for-card img{
        height: 380px;
    }
    .who-is-for-card-content{
        padding: 32px 48px;
        gap: 48px;
    }
    .who-is-for-card-content p{
        font-size: 20px;
    }
    .who-is-for-card-content h2{
        font-size: 36px;
    }

    /* homepage partner institutions */
    .fnb-partners-container{
        justify-content: start;
    }

    /* footer */
    .footer-section:first-child{
        border-right: 1px solid #ffffff;
    }

    /* subpages - who we are - about */   
    .subpage-banner h1{
        font-size: 48px;
    }
    .who-we-navigation a{
        height: 125px;
    }

    /* Experiential education */
    .icon-list p{
        font-size: 20px;
        line-height: 28px;
    }
    .icon-list-img img{
        width: 100%;
        height: 420px;
    }

    /* who its for - careers */
    .accordion-body .rich-text img{
        height: 425px;
    }

    /* Who its for post secondary students */
    .who-its-cta{
        padding: 64px;
    }

    /* Future wabanaki */
    .fw-banner p{
        font-size: 28px;
    }
    .subpage-sect.fw-s1 h2{
        font-size: 24px;
        line-height: 28px;
    }
    .fw-s1 figure{
        height: 420px;
    }
    .fw-s2 .fw-card{
        min-width: 576px;
        max-width: 600px;
    }
    .purple-container p{
        font-size: 20px;
        line-height: 28px;
    }
    .fw-s5 .fw-card.card-image img{
        height: 475px;
    }
    .fnb-contact-card .contact-name p{
        font-size: 24px;
    }
    .fnb-contact-card .contact-name span{
        font-size: 18px;
    }
    .fnb-contact-card{
        min-width: 590px;
    }

    /* story template */
    .story-banner figure{
        /* width: 400px; */
        height: 380px;
    }
    .story-text figure{
        height: 480px;
    }
}

/* Laptop */
@media screen and (max-width:991px) {
    .fnb-data{
        width: 100%;
    }
}
@media screen and (min-width: 992px) {
    .section-p{
        padding-top: 96px;
        padding-bottom: 96px;
    }
    .single-p{
        padding-bottom: 96px;
    }
    .mw-lg-480{
        width: 100%;
        max-width: 480px;
    }
    .mw-lg-576{
        width: 100%;
        max-width: 576px;
    }
    .mw-lg-768{
        width: 100%;
        max-width: 768px;
    }

    /* homepage banner */
    .homepage-banner .banner-navigation a{
        font-size: 24px;
    }

    /* first home section */
    .section-p h2{
        font-size: 36px;
    }
    .single-p h2{
        font-size: 36px;
    }
    .fnb-btn{
        width: auto;
    }

    /* homepage section 1 */
    .home-sec-1 img{
        height: 100%;
    }

    /* homepage large image section */
    .fnb-data{
        flex: 1 0 0;
    }
    .fnb-data div{
        font-size: 36px;
    }

    /* homepage cards */
    .fnbfw-card{
        padding: 32px;
    }
    .fnbfw-card h3{
        font-size: 24px;
    }
    .fnbfw-card p{
        font-size: 20px;
    }

    /* homepage orange section */
    .orange-container,
    .yellow-container,
    .purple-container{
        padding: 96px 0px 160px 0px;
    }
    .home-orange-section .image-card-container .fnb-data p,
    .coloured-section .image-card-container .fnb-data p{
        font-size: 20px;
    }
    .home-orange-section .image-card-container .fnb-data,
    .coloured-section .image-card-container .fnb-data{
        min-width: 400px;
    }
    .orange-container h2,
    .yellow-container h2,
    .purple-container h2{
        font-size: 36px;
    }
    .home-orange-section .image-card-container,
    .coloured-section .image-card-container{
        transform: translateY(-96px);
        padding-bottom: 96px;
    }
    .home-orange-section .image-card-container .container,
    .coloured-section .image-card-container .container{
        padding: 64px 24px;
    }
    .home-orange-section .image-card-container .container::after,
    .coloured-section .image-card-container .container::after{
        bottom: -96px;
    }

    /* homepage cta */
    .who-is-for-card img{
        max-width: 480px;
        height: unset;
    }
    .who-is-for-card-content{
        padding: 48px 64px;
    }

    /* footer */
    .footer-section{
        border-right: 1px solid #ffffff;
    }

    /* subpages - who we are - about */
    .subpage-sect p{
        font-size: 20px;
        line-height: 28px;
    }
    .colour-image-bg{
        padding: 40px;
        height: 400px;
    }

    /* experiential education */
    .icon-list-img img{
        width: 100%;
        height: 654px;
    }

    /* future wabanaki */
    .fw-btn{
        width: auto;
    }
    .fw-s1 figure{
        height: 654px;
    }
    .fw-s2 .fw-card{
        min-width: 320px;
        max-width: 456px;
    }

    .subpage-sect .success-card p{
        font-size: 18px;
        line-height: 24px;
    }
    
    /* story template */
    .story-banner figure{
        width: 400px;
        height: 560px;
    }
    /* .story-quote p{
        font-size: 18px;
        line-height: 28px;
    } */
}

/* Small screen */
@media screen and (min-width: 1200px) {
    .fnb-navigation .nav-link:not(.active){
        position: relative;
    }
    .fnb-navigation .nav-link:not(.active)::before{
        content: "";
        height: 0;
        width: calc(100% - 16px);
        background-color: var(--primary);
        left: 8px;
        bottom: 0;
        transition: height 0.2s ease;
    }
    .fnb-navigation .nav-link:not(.active):hover::before{
        position: absolute;
        height: 3px;
    }
    .fnb-navigation .navbar-brand{
        width: 280px;
    }
    
    /* homepage banner */
    .homepage-banner .carousel-caption h1,
    .homepage-banner .carousel-caption h2 {
        font-size: 72px;
    }
    .homepage-banner .carousel-caption p{
        font-size: 32px;
    }

    /* homepage large img section */
    .fnb-data div{
        font-size: 48px;
    }
    .fnb-data span{
        font-size: 24px;
    }

    /* homepage orange section */
    .home-orange-section .image-card-container .fnb-data,
    .coloured-section .image-card-container .fnb-data{
        min-width: unset;
    }

    
}

@media screen and (max-width:1399px) {
    .success-stories-container{
        max-width: 940px;
    }
}

/* Large screen */
@media screen and (min-width: 1400px) {
    .fnb-navigation .navbar-brand{
        width: 350px;
    }
    /* homepage large img section */
    .fnb-data div{
        font-size: 60px;
    }

    /* success stories */
    .success-stories-container{
        max-width: 1220px;
    }
    .success-card{
        max-width: 592px;
    }
    .success-card h3{
        font-size: 24px;
        height: 32px;
        line-height: 32px;
    }
    .subpage-sect .success-card p{
        height: 56px;
        font-size: 20px;
        line-height: 28px;
    }

}

/* ultra large */
@media screen and (min-width:1536px) {
}
