/*single career*/
.scontent {
  max-width: 600px;
    padding: 0 20px;
    margin: -10rem auto 0;
}

.hero {
  position: relative;
  background: #c9252b;
  height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero h2 {
  position: relative;
  z-index: 1;
  font-size: 4.5rem;
  margin: 0 0 10px;
  line-height: 1;
  color: #7a411b;
    background-image: linear-gradient(0deg,#fdb813 50%,transparent 50%);
}

.hero p {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: #7a411b;
}

/* ========================= */

.waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  /*background-color: var(--color);*/
  /*box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);*/
  transition: 500ms;
}

.waves::before,
.waves::after {
  content: '';
  position: absolute;
  width: 300vw;
  height: 300vw;
  top: -65vw;
  left: 50%;
  transform: translate(-50%, -75%);
}

.waves::before {
  border-radius: 44%;
  background: #fff;
  animation: waves 8s linear infinite;
}

.waves::after {
  border-radius: 44%;
  /*background: rgba(51, 51, 51, 0.5);*/
  animation: waves 15s linear infinite;
}



/*grid*/
.career-red{
    background-color: #c9252b;
}
.career-grid{
    max-width: 1440px;
    padding: 50px 200px;
    margin: 0 auto 0;
}
.career-icon{
    max-width: 48px;
    margin: 24px auto;
}
.career-icon-text{
    font-size: 26px;
    color: white;
    line-height: 1.375;
    text-align: center;
}
.career-icon-description{
    font-size: 23px;
    color: white;
    line-height: 1.375;
    text-align: center;
}
.career-icon-description span{
    font-size: 18px;
    color: #fdb813 !important;
}

/*photo*/
.career-grid .grid-text{
    display: block;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1;
    font-size: 18px;
}
.career-photo-row{
    position: relative;
    margin-bottom: 18px;
    margin-top: 10px;
}
.photo-gallery1{
    padding-bottom: 70%;
    position: relative;
    height: 0;
}
.career-photo img{
    top: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
.photo-gallery2{
    position: absolute;
    bottom: 0;
}
.photo-wrapper{
    padding-bottom: 100%;
    position: relative;
    height: 0;
}
.col-xs-offset-7 {
    margin-left: 58.33333%;
}
.col-xs-offset-2 {
    margin-left: 6.66667%;
}
.col-xs-7 {
    width: 58.33333%;
}
.col-xs-3 {
    width: 30%;
}


@keyframes waves {
  0% {
    transform: translate(-50%, -75%) rotate(0deg);
  }

  100% {
    transform: translate(-50%, -75%) rotate(360deg);
  }
}


/*gallery*/
.photo-gallery {
    max-width: 1440px;
    padding-right: 48px;
    padding-left: 48px;
    margin: 96px auto 0;
}
.photo-gallery__row {
    position: relative;
    margin-bottom: 18px;
}
/*.row {*/
/*    margin-left: -9px;*/
/*    margin-right: -9px;*/
/*}*/
.photo-gallery__image__wrapper--wide {
    padding-bottom: 70%;
}
.photo-gallery__image__wrapper {
    position: relative;
    height: 0;
}
.photo-gallery__row img {
    top: auto;
}
.photo-gallery__image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
.photo-gallery__custom-positioning {
    position: absolute;
    bottom: 0;
}
.photo-gallery__link {
    font-size: 18px;
    line-height: 1.44444;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    display: block;
    margin-bottom: 24px;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
}
.photo-gallery__image__wrapper--square {
    padding-bottom: 100%;
}


/*jobs & internships*/
.apprenticeship{
    padding: 40px 0 10px;
}
.apprenticeship .top{
    margin-bottom: 30px;
}
.text-left{
    text-align: left !important;
}
.apprenticeship .top .description{
    font-size: 1.8rem;
    line-height: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.grid .grid-card{
    position: relative;
    background: #fff;
    border-radius: 5px;
    margin-bottom: 3rem;
}
.grid .inner{
    text-align: center;
    padding: 20px 20px 50px;
}
.grid .title{
    display: flex;
}
.grid .title h2{
    line-height: 30px;
    margin: 0;
}
.grid .list{
    margin-top: 30px;
}
.grid .list p{
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}
.grid .body{
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #dfdfdf;
}
.listview li{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 26px;
    color: #666;
    text-align: left;
    padding-left: 23px;
    margin-bottom: 12px;
}
.listview li span{
    position: absolute;
    left: 0px;
    top: 12px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fb5155;
}
.listview li span:before{
    position: absolute;
    content: '';
    width: 9px;
    height: 9px;
    left: -2px;
    top: -2px;
    border-radius: 50%;
    border: 1px solid #fb5155;
}
.listview li span:after{
    position: absolute;
    content: '';
    width: 13px;
    height: 13px;
    left: -4px;
    top: -4px;
    border-radius: 50%;
    border: 1px solid #fb5155;
}

/*related careers*/

.related-grid .inner{
    box-shadow: 0 0 3px rgb(0 0 0 / 20%);
}
.related-grid .inner .head{
    padding: 26px 20px;
    text-align: left;
}
.related-grid .inner .head h2{
    color: #fff;
    margin: 0;
}
.related-grid .inner .t-header{
    display: flex;
    padding: 20px;
}
.related-grid .inner .t-header .left{
    flex: 1;
    align-self: center;
    padding-right: 15px;
}
.related-grid .inner .t-header .right{
    flex: 1;
    align-self: center;
    padding-right: 15px;
    text-align: right;
}
.related-grid .inner .t-row:nth-child(even):not(.related-header) {
    background: #eaeaea;
}

/*courses*/
.apprenticeship .courses-bottom{
    position: relative;
    padding: 20px 12px;
}
.apprenticeship .courses-bottom .courses-grid{
    display: grid;
    gap: 15px;
    grid-template-columns: 1fr;
    position: relative;
}
.courses-grid .top-border{
    border-radius: 0px;
    border-width: 0px 0px 1px;
    border-color: rgb(217, 217, 217);
    border-style: solid;
    position: relative;
}
.courses-grid .single-course{
   position: relative;
    padding: 0px 0px 0px 20px;
}
.courses-grid .single-course .c-layout{
    display: flex;
     -webkit-box-pack: inherit;
     justify-content: inherit;
     -webkit-box-align: center;
    align-items: center;
    overflow-x: hidden;
}
.single-course .c-layout .name{
    flex: 2 1 0%;
    position: relative;
}
.single-course .c-layout .top-text{
    font-style: normal;
    vertical-align: middle;
    text-align: left;
    font-size: 14px;
    line-height: 16px;
    margin-bottom: 0;
    color: #fff!important;
}
.single-course .c-layout .name-bottom{
    margin: 0px 4px 0px 0px;
}
.single-course .c-layout .bottom-text{
    font-style: normal;
    vertical-align: middle;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: #7a411b !important;
}
.single-course .c-layout .location {
    flex: 1 1 0%;
    position: relative;
}
.single-course .d-layout{
    display: none;
}
.single-course .d-layout .d-top{
    position: relative;
    padding: 20px 0px 8px;
}
.single-course .d-layout .top-text, .single-course .d-layout .name-bottom{
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;

}
.single-course .d-layout .top-text p{
    font-style: normal;
    vertical-align: middle;
    text-align: left;
    font-size: 12px;
    line-height: 16px;
    margin-bottom: 0;
    color: #fff !important;
}
.single-course .d-layout .name-bottom p{
    font-style: normal;
    vertical-align: middle;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: .5em;
    color: #7a411b !important;
}

/*content*/
.top-links .jump-links{
    width: 1216px;
    padding: 24px 0;
    margin: 0 auto;
    overflow: hidden;
    text-align: left;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: nowrap;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
}
.top-links .jump-links .link-collection{
    -webkit-box-flex: 0;
    flex: 0 0 auto;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}
.top-links .jump-links a{
    font-weight: 400;
    letter-spacing: 0;
    line-height: 24px;
    color: #787878 !important;
    text-decoration: none;
    padding: 0 48px 0 0;
    display: inline-block;
    position: relative;
    background-image: none!important;
    -webkit-transition: all .2s cubic-bezier(.7,.01,.3,1);
    transition: all .2s cubic-bezier(.7,.01,.3,1);
}
.top-links .jump-links a.current{
    color: #fdb813 !important;
}
.top-links .bottom-border{
    border-radius: 0px;
    border-width: 0px 0px 1px;
    border-color: rgb(217, 217, 217);
    border-style: solid;
    position: relative;
}
.apprenticeship .specific-content{
    padding-top: 60px;
    padding-bottom: 10px;
    -webkit-box-align: start;
    align-items: flex-start;
    background-repeat: no-repeat;
    background-size: 100%;
    position: relative;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1248px;
}
.specific-content .left-content{
    margin-top: 20px!important;
    margin-bottom: 10px!important;
    flex-basis: 488px;
    width: 488px;
    display: flex;
    flex-direction: column;
    -webkit-box-flex: 0;
}
.specific-content .right-content{
    margin-top: 20px!important;
    margin-bottom: 10px!important;
    flex-basis: 592px;
    width: 592px;
    display: flex;
    margin-left: 120px;
    flex-direction: column;
}
.specific-content .content{
    margin-bottom: 64px;
}
.specific-content .content h2{
    font-size: 48px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}
.specific-content .content p{
    font-size: 20px;
    line-height: 1.6;
    margin: 0 0 32px;
    padding: 0;
}
.specific-content .content h3{
    font-size: 32px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
}

/*outline box*/
.apprenticeship .outline-box{
    padding-top: 60px!important;
}
.outline-box .column{
    margin-top: 20px!important;
    display: flex;
    flex-direction: column;
}
.outline-box .column .content{
        border: 4px solid #10A5F5;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    -webkit-box-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    align-items: center;
    width: 100%;
    min-height: 240px;
    height: fit-content;
    background-color: #fff;
    padding: 64px 88px;
}
.outline-box .column h2{
    width: 50%;
    font-weight: 700;
    font-size: 48px;
    line-height: 1.5;
}
.outline-box .column .right-link{
    text-decoration: none;
    max-width: 248px;
    width: 100%;
    height: 80px;
    color: #fff;
    font-size: 16px;
    line-height: 24px;
    font-weight: 600;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-pack: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
    background-image: none;
}

/*categories*/
.categories{
    padding: 100px 30px 30px;
    /*display: flex;*/
    justify-content: center;
    position: relative;
    background-color: #60797d;
}
.categories .all-content{
    position: relative;
    z-index: 10;
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    width: 100%;
    align-items: center;
    justify-content: center;
    align-content: center;
}
.categories .all-content .columns{
    position: relative;
    float: left;
    width: 100% !important;
    margin-top: 0px;
    margin-bottom: 0px;
    display: flex;
}
.all-content .column .column-wrapper{
    justify-content: flex-start;
    padding-top: 0px !important;
    padding-right: 0px !important;
    margin-right: 1.92%;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
    margin-left: 1.92%;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.all-content .column-wrapper h1{
    font-weight: 400;
    line-height: 1.1em;
    letter-spacing: normal;
    font-style: normal;
    font-size: 3.125rem;
    color: #ffffff;
}
.all-content .column-wrapper .image-frame{
    margin-top: 100px;
    margin-bottom: 100px;
    display: inline-block;
    z-index: 1;
    overflow: hidden;
    position: relative;
    vertical-align: middle;
    max-width: 100%;
    line-height: 1;
}
.all-categories{
    margin-top: 64px;
    margin-bottom: 64px;
}
.all-categories h6{
    color: #767676;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.5;
    text-transform: uppercase;
    margin-bottom: 8px;
}
.all-categories h1{
    font-weight: 600;
    line-height: 1.13043;
    font-size: 46px;
}
.all-categories .categories-row{
    position: relative;
    margin-top: 24px;
}
.categories-search{
    margin-top: 24px;
}
.categories-search .search-text{
    font-size: 16px;
    line-height: 1.375;
    color: #222;
    font-weight: 500;
    text-transform: none;
}
.categories-column ul, .right-categories ul{
    margin: 0;
    padding: 0;
    list-style: none;
}
.categories-column li{
    margin-bottom: 30px;
}
.categories-column h5.active{
    color: #508a13;
    font-weight: 600;
}
.right-categories{
    overflow-y: scroll;
    height: 75vh;
}
.right-categories li{
    margin-bottom: 50px;
}
.right-categories a{
    color: black;
}
.right-categories .s-category:hover{
    color: #508a13;
}
.right-categories .s-category{
    font-size: 24px;
    line-height: 1.25;
    max-width: 75%;
    font-weight: 600;
}
.col-xs-12 {
    width: 100%;
}

/*career routes*/
.career-routes{
    background: #6851a2;
    padding: 40px 0 50px;
    position: relative;
    /*overflow: hidden;*/
}
.career-routes:before{
    content: "";
    background: url("../img/shapes/routes.482954d7501d.png"),linear-gradient(to bottom,#6851a2 0%,#6851a2 100%);
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.2;
}
.br-10{
    border-radius: 10px
}

/*advice*/
.advice{
    position: relative;
    padding: 52px;
    background-color: #e0e7ec;
}
.advice .advice-grid{
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr;
    position: relative;
    background-color: transparent;
}
.advice-grid .title{
    margin: 0px 0px 12px;
}
.advice-grid .title p{
    font-style: normal;
    vertical-align: middle;
    text-align: left;
    font-size: 28px;
    line-height: 32px;
    font-weight: 700;
    color: rgb(0, 0, 0) !important;
}
.advice-grid .top-text{
    vertical-align: middle;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
    color: rgb(0, 0, 0) !important;
}
.advice-grid .bottom-text{
    vertical-align: middle;
    text-align: left;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
    color: rgb(0, 0, 0) !important;
}

/*main hero*/
.main-hero{
    max-width: 1440px;
    padding-right: 200px;
    padding-left: 200px;
    position: relative;
    margin: 0 auto 24px;
}
.main-hero .hero-background{
    position: absolute;
    top: 25%;
    right: 12.5%;
    bottom: -32px;
    left: 0;
    background-color: #ddd;
}
.hero-panel h1{
    margin-top: 24px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.13043;
}
.advice-grid .dots-svg{
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}
.single-grid{
    padding: 3rem 1.5rem;
}
.single-grid .card-wrapper{
    border: 1px solid #C3C5CB;
    border-radius: 10px;
    color: #000000;
    padding: 1.5rem;
    display: grid;
    min-height: 11.25rem;
    background-color: #fff;
    position: relative;
    box-shadow: 0 0 0 #3c3c3b;
}
.single-grid .card-wrapper:hover{
    transform: translate(4px, -4px);
    box-shadow: -8px 8px 0 #60797d;
}
.single-grid .card-wrapper h3{
    font-weight: 700;
    line-height: 1.1;
    font-size: 1.25rem;
    margin: 0 0 0.25rem;
}
.single-grid .card-wrapper .dots{
    display: inline-block;
    margin: 0;
    font-size: 0.875rem;
}
.single-grid .card-wrapper .dots .start{
    background-color: #3c3c3b;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
    border: 1px solid #3c3c3b;
}
.single-grid .card-wrapper .end{
    background-color: #ffffff;
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: inline-block;
    margin-right: 4px;
    vertical-align: middle;
    border: 1px solid #3c3c3b;
}
.single-grid .card-wrapper .lessons{
    display: inline-block;
    font-weight: 400;
    line-height: 1.5;
    font-size: 0.875rem;
    margin-left: 0.55rem;
}
.lessons .l2{
    font-size: inherit;
    display: inline-block;
    margin: 0;
    color: #424242;
}
.single-grid .card-wrapper .bottom-content{
    background-color: #fdb813;
    color: white;
    position: absolute;
    right: 0;
    bottom: 0;
}
.bottom-content span{
    display: inline-block;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}


@media (min-width: 1312px){
    .single-career-lg{
        display: block !important;
    }
}
@media (min-width: 1230px){
    .apprenticeship{
        padding: 65px 0 65px;
    }
    .apprenticeship .top .description{
        margin-bottom: 20px;
    }
    .apprenticeship .grid-card{
        margin: 0 15px 30px;
    }
    .categories-search{
        margin-top: 72px;
        margin-bottom: 48px;
    }
    .categories-column{
        border-right: 1px solid #ebebeb;
        min-height: 500px;
    }
    /*.col-md-offset-6 {*/
    /*    margin-left: 50%;*/
    /*}*/
    /*.col-md-6 {*/
    /*    width: 50%;*/
    /*}*/
    .right-categories-section{
        margin-left: 70px
    }
    .main-hero{
        height: 488px;
        margin: 24px 96px 128px;
    }
    .main-hero .hero-image{
        position: absolute;
        top: 0;
        right: 0;
    }
    .hero-image img{
        max-height: 491px;
    }
    .main-hero .hero-panel{
        position: absolute;
        top: 50%;
        width: 528px;
        padding: 56px 64px 56px 88px;
        background-color: #fff;
        transform: translateY(-50%);
    }
    .hero-panel h1{
        min-height: 153px;
    }

}
@media (min-width: 992px){
    .apprenticeship{
        padding: 50px 0;
    }
    .apprenticeship .top{
        margin-bottom: 60px;
        text-align: center;
    }
    .grid .inner{
        padding: 37px 42px 50px;
    }
    .related-grid .inner .t-header{
        padding: 20px;
    }
    .career-routes{
        padding: 50px 0;
    }
    .career-routes .left .title{
        margin: 32px 0 0;
    }
    .career-routes .left .preamble{
        margin-bottom: 20px;
        margin-top: 20px;
    }
}
@media (min-width: 768px) {
    .apprenticeship .grid-card{
        margin: 0 8px 20px;
    }
    .main-hero {
        margin-bottom: 48px;
    }
    .hero-panel h1{
        font-size: 46px;
    }
}
@media (min-width: 1024px) and (max-width: 1311px){
    .single-career-md{
      display: block !important;
    }
}
@media (min-width: 768px) and (max-width: 1023px){
    .single-career-sm{
        display:block !important;
    }
    .single-career-right img{
        margin-top: 60px;
    }
    .career-grid{
        padding-right: 128px;
        padding-left: 128px;
    }
}
@media (max-width: 767px){
    .single-career-xs{
        display: block !important;
    }
    .single-career-right img{
        margin-top: 0;
    }
    .career-grid{
        padding-right: 48px;
        padding-left: 48px;
    }
    .courses-grid .single-course{
        padding: 0;
    }
    .apprenticeship{
        padding: 0 10px 10px;
    }
    .apprenticeship .outline-box {
        padding-top: 20px!important;
        padding-bottom: 20px;
    }
    .apprenticeship .courses-bottom {
        padding: 10px 0;
    }
    .single-course .c-layout{
        display: none !important;
    }
    .single-course .d-layout{
        display: block !important;
    }
    .specific-content .right-content{
        margin-left: 0 !important;
    }
    .outline-box .column .content{
        display: block;
    }
    .advice-grid .title p{
        text-align: center;
    }
    .main-hero .hero-image{
        /* Commented out to fix scaling issue of hero image on smaller-screened devices resulting in poor scaling of the parent page */
        /* margin-right: -48px;
        margin-left: -48px; */
    }
    .main-hero .hero-panel{
        padding-top: 28px;
        padding-bottom: 28px;
    }
}
@media (max-width: 1311px){
    .single-career-right img{
        margin-top: 40px;
    }
    .career-grid{
        padding-right: 48px;
        padding-left: 48px;
    }
    .main-hero{
        padding-right: 0px;
        padding-left: 0px;
    }
    .main-hero .hero-background{
        display: none;
    }
    .main-hero .hero-image{
        /* Commented out to fix scaling issue of hero image on smaller-screened devices resulting in poor scaling of the parent page */
        /* margin-right: -128px;
        margin-left: -128px; */
    }
    .main-hero .hero-panel{
        padding-top: 48px;
        padding-bottom: 48px;
        padding-left: 48px;
        border-bottom: 1px solid #ddd;
    }
    .main-hero .hero-panel h1{
        margin: 0;
    }
}