
/**
 * CONTENTS
 *
 * 1. Styling Reset 
 *
 * 2. ...
 *
 */



/*------------------------------------*\
    #1. Styling Reset 
\*------------------------------------*/

.widget-list,
.widget,
.widget__title,
.widget__content,
.widget__link,
.widget__link--title,
.widget__title__link,
.widget__image,
.widget__overlay--image{ 
    display: block;
    padding: 0; 
    margin: 0; 
    list-style: none; 
    border: none; 
}



/*------------------------------------*\
    #2. General definitions
\*------------------------------------*/

.widget-list {
    overflow: hidden;
    width: 100%;



}

.lo-default-with-widgets .widget-list,
.lo-home .widget-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;    
}


.lo-home .widget-list.widget-list--position-1 {
    max-width:1120px;
    margin:0 auto;
}

.lo-careerpaths .widget-list--position-774{
    position:relative;
    max-width:1280px;
    width:calc(100% - 50px);
    margin: 0 auto;

    
}

    .widget { 
        /*! width: 100%; */
        /*! position: relative; */
        /*! text-align: center; */
    }

.widget__wrap{
    overflow:auto;
}

.widget__link{
    display:block;
    overflow: auto;
}


.widget__link h3{
    float: left;
    margin: 0.5em;
    margin-right:60px;
}

@media screen and (max-width:720px){
    .widget-list {
        text-align: center;
    }
}

@media screen and (min-width:1281px), print{

}


/*------------------------------------*\
 
    #3. Homepage Widgets
 
\*------------------------------------*/
 
.lo-default-with-widgets .widget--default,
.lo-home .widget--default {
    display: block;
    overflow:hidden;
}

.lo-default-with-widgets .widget--default .widget__wrap,
.lo-home .widget--default .widget__wrap {
    overflow:auto;
}


.lo-default-with-widgets .widget--default,
.lo-home .widget--default {
     min-height: 275px;
}
 

.lo-default-with-widgets .widget--default .widget__title,
.lo-home .widget--default .widget__title {
    text-align:left;
    line-height: 1.1em;
    /* margin-bottom: 20px; */
}
 

.lo-default-with-widgets .widget--default .widget__wrap,
.lo-widget .widget--default .widget__wrap {
    position:relative;
}
 

.lo-default-with-widgets .widget--default .widget__image,
.lo-home .widget--default .widget__image {
    display:block;
    margin:0 auto 80px 0;
    width:100%;
}

.lo-default-with-widgets .widget--default .widget__overlay,
.lo-home .widget--default .widget__overlay {
    /* height:80px; */
    transition:0.4s all ease-in-out;
    -webkit-transition:0.4s all ease-in-out;
    -moz-transition:0.4s all ease-in-out;
    display:block;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
    padding: 20px;
    text-decoration: none;
}

    [lang=cy] .lo-default-with-widgets .widget--default .widget__overlay,    
    [lang=cy] .lo-home .widget--default .widget__overlay { 
        height: auto;
    }

    .lo-default-with-widgets .widget--default:hover .widget__overlay,        
    .lo-home .widget--default:hover .widget__overlay{
        height:100%;  
        padding-top: 20px;
        transition:0.4s all ease-in-out;
        -webkit-transition:0.4s all ease-in-out;
        -moz-transition:0.4s all ease-in-out;
    }

.lo-default-with-widgets .widget--default .widget__overlay--image,
.lo-default-with-widgets .widget--default .widget__link,
.lo-home .widget--default .widget__overlay--image,
.lo-home .widget--default .widget__link{
    display:none;
}

.lo-default-with-widgets .widget--default .widget__overlay--image,
.lo-home .widget--default .widget__overlay--image{
    padding:15px 0;
}

    [lang=cy] .lo-default-with-widgets .widget--default .widget__overlay--image
    [lang=cy] .lo-home .widget--default .widget__overlay--image {
        max-width: 50px;
    }

.lo-default-with-widgets .widget--default .widget__link,
.lo-home .widget--default .widget__link{
    text-align:left;
    position: relative;
    padding-right: 50px;
    font-size: 16px;
    margin-top: 10px;
}

    .lo-default-with-widgets .widget--default:hover .widget__overlay--image,
    .lo-default-with-widgets .widget--default:hover .widget__link, 
    .lo-home .widget--default:hover .widget__overlay--image,
    .lo-home .widget--default:hover .widget__link{
       display:block;
    }

.lo-default-with-widgets .widget--default .widget__link,
.lo-home .widget--default .widget__link{
    overflow: visible;
}
 
@media screen and (max-width:720px){
    
    .lo-default-with-widgets .widget-list .widget--default,
    .lo-home .widget-list .widget--default{
        display:inline-block;
    }
    
    .lo-default-with-widgets .widget--default .widget__title,
     .lo-home .widget--default .widget__title{
        font-weight: 700;
         font-size:24px;
         line-height:1em;
    }
    
    
    .lo-default-with-widgets .widget--default .widget__overlay,
    .lo-home .widget--default .widget__overlay{
        height:100%;
    }

    .lo-default-with-widgets .widget--default .widget__overlay--image,
    .lo-default-with-widgets .widget--default .widget__link,
    .lo-home .widget--default .widget__overlay--image,
    .lo-home .widget--default .widget__link{
        display:block;
    }

    .lo-default-with-widgets .widget--default .widget__link,
    .lo-home .widget--default .widget__link{
        text-align:left;
        position: relative;
        padding-right: 50px;
    }



    
    
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .lo-default-with-widgets .widget-list,
    .lo-home .widget-list{
        text-align:center;
    }
     
    .lo-default-with-widgets .widget-list .widget--default,
    .lo-home .widget-list .widget--default{
        display:block;
        max-width:none;
        float:left;
        width:calc((100% - 20px) /2 - 0.1px);
        margin:0 20px 20px 0;

        flex: 0 1 calc((100% - 20px) /2 - 0.1px);
    }
     
    .lo-default-with-widgets .widget-list .widget--default:nth-child(2n+2),
    .lo-home .widget-list .widget--default:nth-child(2n+2){
        margin-right:0;
    }
     
    .lo-default-with-widgets .widget-list .widget--default:nth-child(2n+3),
    .lo-home .widget-list .widget--default:nth-child(2n+3){
        clear:left;
    }
    
    
    .lo-default .widget--default{
        display: inline-block;
        max-width: 400px;
        margin: 0 20px 20px 0;
    }
     
    .lo-default .widget--default:nth-child(3n+3){
        margin-right:0;
    }
     
    .lo-default .widget--default:nth-child(3n+4){
        clear:left;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .widget--default{
        float:left;
        width:calc((100% - 40px) /3 - 0.1px);
        margin:0 20px 20px 0;

        flex: 0 1 calc((100% - 40px) /3 - 0.1px);
    }
     
    .widget--default:nth-child(3n+3){
        margin-right:0;
    }
     
    .widget--default:nth-child(3n+4){
        clear:left;
    }


    .lo-home .widget-list .widget--default {
        float:left;
        width:calc((100% - 45px) /4 - 0.1px);
        margin:0 15px 15px 0;
        flex:0 1 calc((100% - 45px) / 4 - 0.1px);
    }

    .lo-home .widget-list .widget--default:nth-child(3n+3) {
        margin-right:15px;
    }

    .lo-home .widget-list .widget--default:nth-child(3n+4) {
        clear: none;
    }

    .lo-home .widget-list .widget--default:nth-child(4n+4) {
        margin-right:0;
    }
    
    .lo-home .widget-list .widget--default:nth-child(4n+5) {
        clear:left;
    }


}
 
@media screen and (min-width:1281px){
    .widget--default{
        float:left;
        width:calc((100% - 40px) /3 - 0.1px);
        margin:0 20px 20px 0;

        flex: 0 1 calc((100% - 40px) /3 - 0.1px);
    }
     
    .widget--default:nth-child(3n+3){
        margin-right:0;
    }
     
    .widget--default:nth-child(3n+4){
        clear:left;
    }
 

    .lo-home .widget-list .widget--default {
        float:left; 
        width:calc((100% - 60px) /4 - 0.1px);
        margin:0 20px 20px 0;
        flex:0 1 calc((100% - 60px) / 4 - 0.1px);
    }

    .lo-home .widget-list .widget--default:nth-child(3n+3) {
        margin-right:20px;
    }

    .lo-home .widget-list .widget--default:nth-child(3n+4) {
        clear: none;
    }

    .lo-home .widget-list .widget--default:nth-child(4n+4) {
        margin-right:0;
    }

    .lo-home .widget-list .widget--default:nth-child(4n+5) {
        clear:left;
    }  

    .lo-home .widget-list .widget__title {
        font-size: 28px;
    }

    .lo-home .widget-list .widget__link {
        font-size: 15px;
        line-height: 1.3em;
    }
     
}

/*------------------------------------*\
    #3. Course Widgets
\*------------------------------------*/

.widget-list .widget{
    margin-bottom:20px;
    display: block;
    overflow: auto;
}

.widget-list .widget--default{
    margin-bottom:20px;
    display: block;
    overflow: hidden;
    min-height:275px;
    max-width: 400px;
    position: relative;
}


.widget--course{
    display: block;
    overflow:auto;
    min-height:234px;
}

.widget--course .widget__link{
    position:absolute;
    bottom:0px;
    left:0px;
    text-align: left;
    padding:20px 0px 20px 20px;
    font-size: 18px;
    line-height: 1.1em;
    width: 100%;
}


    .lo-course .widget-list .widget--default {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

        .lo-course .widget--default .widget__title {
            margin: 0.25em 0.5em;
        }

        .lo-course .widget--default .widget__link {
            display: none;
        }
  



.widget--course .widget__link:before{
    display:block;
    content:'';
    background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
    background-position:-100px 0px;
    height:36px;
    width:20px;
    float:right;
    margin-left:10px;
    padding-left: 10px;
}

.widget--course .widget__overlay{
    overflow:visible;
    padding:20px;
    min-height: 240px;
    position:relative;
}

.widget--course .widget__overlay--image{
    float:left;
    margin-bottom:30px;
}

.widget--course .widget__title{
    float:left;
    clear:left;
    text-align: left;
    line-height: 1em;
    font-size: 26px;
}

@media screen and (max-width:720px){
    .widget-list--position-774 .js-cycle-slideshow{
        margin:0 auto;
        overflow:hidden;
        width:  calc(100% - 100px) !important;
        min-width: 224px;
    }
    
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    
}
 
@media screen and (min-width:1281px){

}

/*------------------------------------*\
    #3. Button widgets
\*------------------------------------*/

.widget--button{
    padding:5px 10px;
}

.widget--casestudies{
    padding:10px 20px;
}

.widget--button h3{
    font-size:24px;
    text-align: left;
}

.widget--button .widget__link:before{
    display:block;
    content:'';
    background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
    background-position:-100px 0px;
    height:36px;
    width:20px;
    float:right;
    margin-left:10px;
    position: absolute;
    right: 20px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

/*------------------------------------*\
    #4. Stats widget
\*------------------------------------*/

.container--stats{
    width:100%;
    max-width: 100%;
    padding: 0;
}

.widget--stats{
       
}

.widget--stats .widget__title,
.widget--stats .widget__link{
    display:none;
}

.stats--right .widget__image,
.stats--left .widget__overlay--image{
    width:100%;
}

.stats--left{
    float:left;    
    width:50%;
}

.stats--right{
   float:right;
    width:50%;
}

.widget-list .widget--stats{
    margin-bottom:0;
/*     min-height:488px; */
}


.widget--stats .widget__overlay--image{
    
}

@media screen and (max-width:720px){
    
    .widget-list .widget--stats{
        margin-bottom:0;
        min-height:336px;
    }
    
    .stats--left,
    .stats--right{   
        width:100%;
    }

    .stats--left{
        
    }
    
    .stats--right{
        
    }
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .widget-list .widget--stats{
        margin-bottom:0;
        min-height:auto;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    
}
 
@media screen and (min-width:1281px){
 
}


/*------------------------------------*\
    #5. Career Path
\*------------------------------------*/

.path--cycle{
    min-height:250px;
    height:100%;
    max-width:1280px;
    margin:0 auto;
}

.widget--careerpath{
    
}

.widget--careerpath .widget__image{
   width:220px;
   display:block;
}

.widget-list .widget--careerpath{
    margin-right: 20px;
    min-height: 224px;
    max-width:220px;
    overflow: hidden;
    display:none;
}



.widget--careerpath .widget__title{
    font-size: 18px;
    padding:20px;
}

.widget--careerpath .widget__link{
    width:100%;
    display: block;
    max-width: 220px;
    white-space:normal;
}

.widget--careerpath .widget__overlay{
    max-width:220px;
}

.lo-careerpaths .widget-region{
    clear:both;
    position: relative;
}

.career.cycle--next,
.career.cycle--prev{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    display:block;
    background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
    cursor:pointer;
}

.career.cycle--next{
    right:0;
    background-position:-150px 0px;
    height:80px;
    width:40px;
}

.career.cycle--prev{
    left:0;
    background-position:-150px -96px;
    height:80px;
    width:40px;
}

@media screen and (max-width:720px){
     
    .career.cycle--next{
        right:0px;
    }

    .career.cycle--prev{
        left:0px;
    }
    
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .widget-list--position-774 .js-cycle-slideshow{
        margin:0 auto;
        overflow:hidden;
        width: calc(100% - 100px) !important;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .widget-list--position-774 .js-cycle-slideshow{
        max-width:960px;
        margin:0 auto;
        overflow:hidden;
        width: calc(100% - 100px) !important;
    }
    

}
 
@media screen and (min-width:1281px){
    .widget-list--position-774 .js-cycle-slideshow{
        margin:0 auto;
        overflow:hidden;
        width: calc(100% - 100px) !important;
    }
}



/*------------------------------------*\
    #5. Careers Wales
\*------------------------------------*/

.widget__links{
    overflow:auto;
}
.widget-list .widget--careerswales{
    margin-bottom:0;
}

.widget--careerswales .widget__overlay--image{
    padding:0 0 40px 0;
}

.widget--careerswales .widget--left{
    float:left;
    width:calc(100% - 814px);
    padding:40px 40px 20px 40px;
    text-align:left;
}

.widget--careerswales .widget--right{
    float:left;
    max-width:814px;
    width:100%;
}

.subtitle.subpage.btn--careers{
    float:left;
    width:calc(100% - 40px);
    margin-right:0;
}

.btn--careers{
    float:left;
    width:calc(50% - 20px);
    margin-right:20px;
    padding:10px;
    color:#fff;
}

@media screen and (max-width:720px){
   .widget--careerswales .widget--left{
        float:left;
        width:100%;
        padding:40px 40px 20px 40px;
        text-align:left;
    }  
    
    .btn--careers{
        width:100%;
    }
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .widget--careerswales .widget--left{
        float:left;
        width:100%;
        padding:40px 40px 20px 40px;
        text-align:left;
    }

    .widget--careerswales .widget--right{
        float:left;
        max-width:none;
        width:100%;
    }
    
    .widget--right .widget__image{
        margin:0 auto;
        float:none;
    }

}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .widget--careerswales .widget--left{
        float:left;
        width:100%;
        padding:40px 40px 20px 40px;
        text-align:left;
    }

    .widget--careerswales .widget--right{
        float:left;
        max-width:none;
        width:100%;
    }
    
    .widget--right .widget__image{
        margin:0 auto;
        float:none;
    }
}
 
@media screen and (min-width:1281px){

}


    
    
/*------------------------------------*\
    #5. Careers Wales Contact
\*------------------------------------*/

.container.container--widgets{
    max-width:none;
    width:100%;
    padding:0;
}

.widget-list .widget--careerswales-contact{
    margin:0;
}



.widget--careerswales-contact .widget--left,
.widget--careerswales-contact .widget--middle,
.widget--careerswales-contact .widget--right{
    min-height:477px;
}

.widget--careerswales-contact .widget--left{
    float:left;
    width:calc((100% - 412px) /2 - 0.1px);
}

.widget--careerswales-contact .widget__left--wrap{
    float:right;
    text-align:left;
    padding:40px 60px 0 0;
}

.widget--careerswales-contact .widget__title{
    margin-bottom:15px;
}



.widget--careerswales-contact .widget--middle{
    max-width:412px;
    width:100%;
    float:left;
}

.widget--careerswales-contact .widget--right{
    float:left;
    width:calc((100% - 412px) /2 - 0.1px);
}
    

.widget--careerswales-contact .widget__right--wrap{
    float:left;
    text-align:left;
    max-width:410px;
    padding:20px 0 0 40px;
}

.widget--careerswales-contact .btn.btn--link{
    display: block;
    width:100%;
    padding:15px 15px;
    /* overflow: auto; */
    overflow: hidden;
    position: relative;
}

.subtitle.subpage.a.btn--link{
    float:left;
    width:calc(100% - 40px);
    margin-right:0;
    padding:0;
}


    
@media screen and (max-width:720px){

    .widget--careerswales-contact .widget--left{
        float:left;
        width:100%;
        padding-bottom:20px;
    }
    
    .widget--careerswales-contact .widget--middle{
        width:100%;
        float:left;
        max-width:none;
    }
    
    .widget--careerswales-contact .widget--middle .widget__image{
        margin:0 auto;
        display:block;
        float:none;
        max-width:412px;
        width:100%;
    }

    .widget--careerswales-contact .widget--right{
        float:left;
        width:100%;
    }
    
    .widget--careerswales-contact .widget--left,
    .widget--careerswales-contact .widget--middle,
    .widget--careerswales-contact .widget--right{
        min-height:auto;
    }
    
    .widget--careerswales-contact .widget__right--wrap{
        float:left;
        text-align:center;
        max-width:none;
        width:100%;
        padding:20px 20px 0 20px;
    }
    
    .widget--careerswales-contact .widget__right--wrap .widget__overlay--image{
        margin:0 auto;
        padding:20px 0;
    }
    
    .widget--careerswales-contact .widget__left--wrap{
        float:left;
        text-align:center;
        padding:30px 0 0 0;
        width:100%;
    }
}
 
@media screen and (min-width:721px) and (max-width: 960px){
    .widget--careerswales-contact .widget--left{
        float:left;
        width:100%;
        padding-bottom:20px;
    }
    
    .widget--careerswales-contact .widget--left{
        min-height:auto;
    }
    
    .widget--careerswales-contact .widget__left--wrap{
        float:left;
        text-align:center;
        padding:30px 0 0 0;
        width:100%;
    }
    
    .widget--careerswales-contact .widget--right{
        float:left;
        width:calc(100% - 412px);
        padding:0 20px;
    }
    
    .widget--careerswales-contact .widget__right--wrap{
        padding:20px 0 0 0;
    }
}
 
@media screen and (min-width:961px) and (max-width: 1280px){
    .widget--careerswales-contact .widget--left{
        float:left;
        width:100%;
        padding-bottom:20px;
    }
    
    .widget--careerswales-contact .widget--left{
        min-height:auto;
    }
    
    .widget--careerswales-contact .widget__left--wrap{
        float:left;
        text-align:center;
        padding:30px 0 0 0;
        width:100%;
    }
    
    .widget--careerswales-contact .widget--right{
        float:left;
        width:calc(100% - 412px);
        padding:0 20px;
    }
    
    .widget--careerswales-contact .widget__right--wrap{
        padding:20px 0 0 0;
    }
}
 
@media screen and (min-width:1281px){
}
    
    
    



/*
Apprenticeships page
*/
.pageid-391 .widget-list--position-1,
.pageid-83 .widget-list--position-1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

    .pageid-391 .widget-list--position-1 .widget,
    .pageid-83 .widget-list--position-1 .widget {
        display: block;
    }





/*
learner-support-health-and-wellbeing page
*/
.hwb-block {
    background: #333;
    color: white;
    display: flex;
    width: 100%;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    outline: 1px dotted yellow;
    padding: 2em;
    margin-bottom: 2em;
}

    .hwb-block__left {
    
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    }

    .hwb-block__right {
    flex: 0 0 40%;
    }

        .hwb-block__left + .hwb-block__right {
            margin-left: 4em;
        }


      .hwb-block a {
        color: white;
      }
      
      .hwb-block ul {
        margin-bottom: 0;
      }

        .hwb-block li p {
            margin: 0;
            padding: 0;
        }

        .hwb-block li:last-of-type {
            margin-bottom: 0;
            padding-bottom: 0;
        }


@media screen and (max-width: 720px){

    .hwb-block {
        flex-direction: column;
    }
    
    .hwb-block__left,
    .hwb-block__right {
        flex: 1 1 100%;
    }
    
    .hwb-block__left + .hwb-block__right {
        margin-left: 0;
    }  
    
}




