/*
Theme Name: Middlesex College Foundation
Description: Middlesex College child theme
Author: Middlesex College
Template: middlesex-college
Version: 1.0.0*/

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: .8;
  }
}

@keyframes scaleUp {
  0% {
    opacity: 0;
    -webkit-transform: scale(.8);
    -ms-transform: scale(.8);
    transform: scale(.8);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
  }
}

/* ripple effect */
/*@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07);
  }
  10% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07);
  }
  20% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07), 0 0 0 60px rgba(111, 193, 156, 0.07);
  }
  30% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07), 0 0 0 60px rgba(111, 193, 156, 0.07), 0 0 0 90px rgba(111, 193, 156, 0.07);
  }
  40% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07), 0 0 0 60px rgba(111, 193, 156, 0.07), 0 0 0 90px rgba(111, 193, 156, 0.07), 0 0 0 120px rgba(111, 193, 156, 0.07);
  }
  50% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07), 0 0 0 60px rgba(111, 193, 156, 0.07), 0 0 0 90px rgba(111, 193, 156, 0.07), 0 0 0 120px rgba(111, 193, 156, 0.07), 0 0 0 150px rgba(111, 193, 156, 0.07);
  }
  60% {
    box-shadow: 0 0 0 0 rgba(111, 193, 156, 0.07), 0 0 0 30px rgba(111, 193, 156, 0.07), 0 0 0 60px rgba(111, 193, 156, 0.07), 0 0 0 90px rgba(111, 193, 156, 0.07), 0 0 0 120px rgba(111, 193, 156, 0.07), 0 0 0 150px rgba(111, 193, 156, 0.07), 0 0 0 180px rgba(111, 193, 156, 0.07);
  }

  100% {
    box-shadow: 0 0 0 60px rgba(111, 193, 156, 0), 0 0 0 90px rgba(111, 193, 156, 0), 0 0 0 120px rgba(111, 193, 156, 0), 0 0 0 150px rgba(111, 193, 156, 0), 0 0 0 180px rgba(111, 193, 156, 0), 0 0 0 210px rgba(111, 193, 156, 0), 0 0 0 240px rgba(111, 193, 156, 0);
  }
}
*/

/* ripple effect */
@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07);
  }
  10% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07);
  }
  20% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07), 0 0 0 80px rgba(109, 182, 160, 0.07);
  }
  30% {

    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07), 0 0 0 80px rgba(109, 182, 160, 0.07), 0 0 0 120px rgba(109, 182, 160, 0.07);
  }
  40% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07), 0 0 0 80px rgba(109, 182, 160, 0.07), 0 0 0 120px rgba(109, 182, 160, 0.07), 0 0 0 160px rgba(109, 182, 160, 0.07);
  }
  50% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07), 0 0 0 80px rgba(109, 182, 160, 0.07), 0 0 0 120px rgba(109, 182, 160, 0.07), 0 0 0 160px rgba(109, 182, 160, 0.07), 0 0 0 200px rgba(109, 182, 160, 0.07);
  }
  60% {
    box-shadow: 0 0 0 0 rgba(109, 182, 160, 0.07), 0 0 0 40px rgba(109, 182, 160, 0.07), 0 0 0 80px rgba(109, 182, 160, 0.07), 0 0 0 120px rgba(109, 182, 160, 0.07), 0 0 0 160px rgba(109, 182, 160, 0.07), 0 0 0 200px rgba(109, 182, 160, 0.07), 0 0 0 240px rgba(109, 182, 160, 0.07);
  }

  100% {
    box-shadow: 0 0 0 40px rgba(109, 182, 160, 0), 0 0 0 80px rgba(109, 182, 160, 0), 0 0 0 120px rgba(109, 182, 160, 0), 0 0 0 160px rgba(109, 182, 160, 0), 0 0 0 200px rgba(109, 182, 160, 0), 0 0 0 240px rgba(109, 182, 160, 0), 0 0 0 280px rgba(109, 182, 160, 0);
  }
}


.accordion .accordion__head {
    color: #fff;
    background: linear-gradient(to right, #292e7e, #407bbe);
}

.accordion .accordion__head .accordion__arrow svg {
    fill: #fff;
    max-width: 2rem;
}

.accordion--secondary .accordion__section {
    border: unset;
}
.bb-primary-1, .bb-primary-2 {
    padding-bottom: 0;
}

.bb-primary-1, .section__head h2 {
    border-bottom: unset;
    color: #292e7e;
    font-weight: 100 !important;
    text-transform: uppercase;
}
.section-feature .section__head h2 {
    font-weight: bold!important;
    text-shadow: 1.25px 0px #292e7e;
}
.section-feature .section__head {
    border-bottom: unset;
    padding-bottom: unset;
    margin-bottom: 2.5rem;
}

.bb-primary-1 strong{
  text-shadow: 1.25px 0px #292e7e;
}


.section__box {
  border-top: 1.2rem solid #B51D85;
}

.card-alt .card__image img {

}

.card-alt .card__image:after {
    background: #000!important;
}
 
.card-alt .btn {
    padding: 1.2rem 2.8rem;
    background-color: rgba(255, 255, 255, 1);
    color: #B51D85;
    border: 0.1rem solid #B51D85;
    border-radius: unset;
    -webkit-transition: all .75s;
    -o-transition: all .75s;
    transition: all .75s;
}
.card-alt .btn:hover {
    background-color: rgba(181, 29, 133, .06);
}
.card-alt:hover a+.card__image:after {
    opacity: 0.25;
}

.cards-alt .btn a:after {
    content: url(./assets/images/svg/ico-arrow-btn-purple.svg);
}

/*.callout .callout__inner {
    background: linear-gradient(to right, #292e7e, #407bbe);
}*/
.callout__actions .btn {
  border-radius: 2.8rem;
}

figure.full-width img {
  width: 100%;
}

.hero .hero__image.hero-overlay {
  left: 100px;
  background-position: center right; 
}
.hero-primary{
  background-color: unset;
}
.hero--primary.default{
  background: url('/wp-content/themes/middlesex-college-foundation/assets/images/inner-banner.jpg');
  background-size: cover; 
  background-position: left;
}

.hero--primary .hero__inner, .hero--primary .hero__media {
    max-width: 100%;
}

.hero .breadcrumbs {
    position: absolute;
    top: 13%;
    left: 10.5%;
}

.hero .hero__content__inner .breadcrumbs {
    top: unset;
    left: unset;
}

.hero .radial-banner-bg {
    height: 615px;
    width: 1635px;
    max-width: unset;
    float: right;
}
.hero .hero__image .hero-featured {
    position: absolute;
    width: 425px;
    right: 245px;
    top: 50px;
    border-radius: 50%;
    opacity: 0;

    -webkit-transform: scale(.9);
    -ms-transform: scale(.9);
    transform: scale(.9);

    -webkit-transition: all .8s;
    -o-transition: all .8s;
    transition: all .8s;
}

.hero .hero__image .hero-featured.active {
  animation: ripple 2.5s linear forwards;
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);

  animation-play-state: running;
}
.hero .hero__image .hero-featured.active.paused {
  animation-play-state: paused;
}

.hero .radial-banner-bg{
  opacity: .8;
}
.hero .radial-banner-bg.active {
  animation: fadeIn 1s linear forwards;
  animation-play-state: running;
}

.hero .radial-banner-bg.active.paused {
  animation: fadeIn 1s linear forwards;
  animation-play-state: paused;
}
.hero .hero-background {
  overflow: hidden;
}

.hero--primary .hero__content.hero__content__inner{
    padding: 5.1rem 3rem 3rem 0;
}

.hero--primary .hero__content.hero__content__inner h1{
    margin-top: 3rem;
}
.hero .hero__inner {
    position: relative;
}
.hero .hero-logo {
    position: absolute;
    max-width: 500px;
    top: 15%;
}
.hero .hero-logo-inner {
      max-width: 400px;
}

.hero--secondary .hero__content h1 {
    font-size: 6.6rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-top: 1rem;
    margin-bottom: 3rem;
}

.hero--secondary .hero__content h1 span {
    font-size: 6.6rem;
    font-weight: 800;
}

.hero--secondary .hero__content {
    padding: 4.1rem;
    margin-top: -300px;
}

.hero .hero__content p {
    font-size: 2.6rem;
    font-weight: 100;
    line-height: 1.1;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.hero .hero-button {
    background: #ffffff;
    color: #01843e;
    text-transform: uppercase;
    font-size: 1.8rem;
    text-decoration: none;
    font-weight: bold;
    padding: 1.2rem 4rem;
    position: relative;
    display: inline-block;
    margin: 1rem 0;
}

.hero .hero-button:after {
    content: url(./assets/images/svg/ico-arrow-btn-green.svg);
    line-height: 1;
    margin-top: -9px;
    opacity: 0;
    position: absolute;
    top: 50%;
    right: 3.5rem;
    -webkit-transition: all .4s;
    -o-transition: all .4s;
    transition: all .4s;
}
.hero .hero-button:hover:after {
    opacity: 1;
    right: 2.5rem;
}
.img-round.wp-block-image {
  display: block;
  width: 100%;
}

.img-round img {
  border-radius: 50%;
}

.pause-play{
  aspect-ratio: 1;
  background-color: #fff;
  border: none;
  border-radius: 100%;
  box-shadow: 0 0 5px rgba(0,0,0,.4);
  color: #222;
  cursor: pointer;
  font-size: 1.8rem;
  opacity: .75;
  padding: .5rem;
  position: absolute;
  text-align: center;
  width: 52px;
  bottom: 4rem;
  right: 4rem;
  z-index: 10;
}
.pause-play:focus,
.pause-play:hover{
  opacity: 1;
}
.pause-play:focus {
    outline: 3px solid #000;
}
.radials.wp-block-columns {
  gap: 4rem;
  position: relative;
}
.radial-bg {
    background: url(/wp-content/themes/middlesex-college-foundation/assets/images/radiant-ring.png);
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 7rem;
    background-position: top center;
  }
/*  .radial-bg:before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
  }*/
.radial-bg .icon {
    font-size: 8rem;
  }
.radial-bg .wp-block-spacer {
  margin-top: -10px;
  background: linear-gradient(to bottom, rgba(247, 246, 245, 0), rgba(247, 246, 245, 1) 100%);
}
.radial-bg h3 {
  background: rgba(247, 246, 245, 1);
  text-shadow: 2px 0px #292e7e;
}
.radial-bg p {
  background: rgba(247, 246, 245, 1);
    padding-bottom: 1rem;
}
.section-primary .section__body .radial-bg p {
  margin-bottom: 0;
}
.section-primary .section__body h2.bb-primary-1, .section-primary .section__body h2.bb-primary-2, 
.section-primary .section__body h3.bb-primary-1, .section-primary .section__body h3.bb-primary-2{
    margin: 5rem 0 3rem 0;
}

h3+.accordion{
  margin-top: 2rem;
}


@media (min-width: 1920px) {
    .hero--secondary .hero__content {
        margin-bottom: 0px;
    }
    .hero--secondary {
        margin-bottom: unset;
    }
}

@media (min-width: 1920px) {
    .hero--primary .hero__media {
        max-width: 100%;
        left: 0;
    }

}

@media (min-width: 1625px) {

/*    .hero .hero__image .hero-featured {
        position: absolute;
        width: 27%;
        max-width: 425px;
        right: 11.5%;
        top: 7%;
        border-radius: 50%;
    }*/
}
@media (min-width: 1400px) {
  .hero .hero-logo {
      margin-left: -4.6rem;
  }
}

@media (max-width: 1199px) {
    .hero {
        padding: 0;
    }
}

@media (max-width: 1022px) {
  .hero--secondary .hero__content {
      margin-top: -125px;
  }
}

@media (max-width: 812px) {
  .hero .hero-logo {
      bottom: 36%;
      top: unset;
      max-width: 350px; 
  }
  .radial-banner-bg{
    right: -130px;
    top: -28px;
    position: absolute;
  }
  .hero .radial-banner-bg {
    height: 369px;
    width: 981px;
    max-width: unset;
    float: right;
  }
  .hero .hero__image .hero-featured {
    width: 215px;
    right: 38px;
    top: 21px;
  }
  .hero .hero__image {
        background-position: 25% 50%;
        height: 33.6rem;
    }
  .hero--secondary .hero__inner {
        min-height: 50rem;
    }
}
@media (min-width: 813px)and (max-width: 1200px){
  .radial-banner-bg {
    right: -175px;
    position: absolute;
  }
  .hero .hero__image .hero-featured {
    right: 72px;
  }
}

@media (min-width: 1023px)and (max-width: 1110px){
  .radial-bg .wp-block-spacer {
      background: linear-gradient(to bottom, rgba(247, 246, 245, 0), rgba(247, 246, 245, 1) 50%);
  }
}

@media (min-width: 813px)and (max-width: 1000px){
  .hero .hero-logo {
      position: absolute;
      max-width: 400px;
      top: 4%;
  }
}

@media (min-width: 813px)and (max-width: 1110px){
  .radial-bg {
      padding-top: 5rem;
  }
  .radial-bg .wp-block-spacer {
      background: linear-gradient(to bottom, rgba(247, 246, 245, 0), rgba(247, 246, 245, 1) 50%);
  }
  .radial-bg.wp-block-column .icon {
    font-size: 6rem;
  }
}

@media (max-width: 767px), screen and (max-width: 812px) and (orientation: landscape) {
    .hero--secondary .hero__content {
        margin-bottom: -80px;
    }
}
@media (max-width: 812px) {
  .hero--primary {
      background: url(/wp-content/uploads/sites/12/2025/07/gradient-radial-right-scaled.jpg);
      background-size: cover;
      background-position: left;
  }
 .hero--primary .hero__media {
  display: none;
 }
}

@media (min-width: 768px){
  .accordion__head>p{
    font-size: 1.8rem;
  }
}