
/**
 * CONTENTS
 *
 * 1. Styling Reset 
 *
 * 2. Level 1 
 *
 * 3. ...
 *
 *
 *
 *
 *
 */



 /*------------------------------------*\
    #1. Styling Reset 
\*------------------------------------*/

.partner__cycle--wrap,
.institution,
.institution__image--wrap,
.institution--image,
.institution--link,
.institution--overlay,
.institution--title,
.institution-list{ 
    display: block; 
    padding: 0; 
    margin: 0; 
    list-style: none;
    border: none;
}




/*------------------------------------*\
    #1. Partners Carousel
\*------------------------------------*/


/* new Aug 2020 */
.partner-list {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .partner-list .partner + .partner {
    margin-left: 20px
  }




.partner--cycle{
    overflow: hidden;
    max-width:1180px;
    width: 100%;
    margin: 0 auto;
}

.partner__cycle--wrap{
    position:relative;
    overflow:hidden;
}

.cycle--next,
.cycle--prev{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    display:block;
    background: transparent url('/getfile/design/icons/bcbc-sprite.png') 0px 0px no-repeat; 
}

.cycle--next{
    right:0;
    background-position:-250px 0px;
    height:24px;
    width:12px;
}

.cycle--prev{
    left:0;
    background-position:-250px -50px;
    height:24px;
    width:12px;
}

.partner{
    
}

.partner__image{
    display:inline-block;
    vertical-align: middle;
}

@media screen and (max-width:720px){
    .partner--cycle{
        max-width:200px;
    }
}

@media screen and (min-width:721px) and (max-width:960px){
    .partner--cycle{
        max-width:640px;
    }
}












/*------------------------------------*\
    #2. Institution List
\*------------------------------------*/

.institution-list{

}

.institution {
  padding-bottom: 1em;
}

.institution + .institution {
  margin-top: 1.5em;
  border-top: 3px solid #eee;
  padding-top: 1.5em;
}

.institution__header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1em;
}

  .institution__image {
    width: 3em;
    height: auto;
  }

  .institution__title {
    margin: 0;
    padding: 0;
  }

  .institution__image + .institution__title {
    margin-left: 1em; 
  }

.institution__contacts {
}

.institution__summary {
    display: block;
    font-size: smaller;
}

.institution__contacts {
    max-width: 90%;
    margin: 0 auto 1.5em auto;
}

.institution .pod__left {
    border-bottom: 5px solid white;
}

.institution .pod__right {
    text-align: center;
}

.institution__backtotop {
    padding-top: 1em;
}


    .institution__backtotop a {
        opacity: 0.5
    }
    
    .institution__backtotop a:hover {
        padding-top: 1em;
        opacity: 1
    }


@media screen and (min-width: 720px){
  
    .institution__contacts {
        max-width: 75%;
        margin: 0 auto 1.5em auto;
    }
  
}


@media screen and (min-width: 96px){

    .institution .grid .pod {
        max-width: 200px;
    }
  
    .institution__contacts {
        max-width: 50%;
        margin: 0 auto 1.5em auto;
    }

    .institution .grid {

        /* unset to make freeform */
        grid-template-columns: none;


        justify-content: center;
        align-content: center;
        gap: 2em;
        grid-auto-flow: column;

    }

}






/*------------------------------------*\
    #2b. Institution quick jump links
\*------------------------------------*/



.institution-link-list {
    list-style: none;
    margin-bottom: 5em;
  }
  
    .institution-link {
      list-style: none;
    }
  
    .institution-link + .institution-link {
      margin-top: 4px;
    }
    
    .institution-link__wrap {
      display: flex;
      align-items: center;
      background: #eee;
      padding: 0.75em;
    }
    
    .institution-link__image {
      flex: 0 0 50px; 
      width: 50px;
      height: auto;
      margin-right: 1em;
    }
    
    .institution-link__title { 
      flex: 1 1 auto;
      padding: 0;
      margin: 0;
    }
    







/*------------------------------------*\
    #3. Institution Click through
\*------------------------------------*/

.institution--single{
    overflow: hidden;
}
.inst--left{
    max-width:390px;
    width:100%;
    float:left;
    margin-right:40px;
}

    .inst--singe__image{

    }

    .inst--single__contact--info{

    }

.inst--right{
    float:left;
    width:calc(100% - 445px);
}

.inst--single__content{

}

.btn--inst{
    float:left;
    clear:left;
    width:100%;
    font-size: 30px;
    line-height: 38px;
}

.subtitle.subpage.btn--inst-span{
    width:calc(100% - 60px);
    float:left;
    padding: 0;
    color:#fff;
}


.inst--back{
    float:left;
    clear:both;
    margin-top:40px;
    font-weight: 700;
    color: #014785;
}

@media screen and (max-width:720px){
     
.inst--right{
    float:left;
    width:100%;
}

}
 
@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){
}










/* module--widgets.172429.css | http://preview2021.caerphillypathways.co.uk/styles/module--widgets.172429.css */
.traineeshipprovider.traineeshipprovider .widget__overlay:focus, 
.traineeshipprovider.traineeshipprovider .widget__overlay:hover,
.traineeshipprovider.traineeshipprovider .widget__overlay,
.trainingpartner.trainingpartner .widget__overlay:focus, 
.trainingpartner.trainingpartner .widget__overlay:hover,
.trainingpartner.trainingpartner .widget__overlay {
    /* display: block; */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-decoration: none;
}
  
  .traineeshipprovider.traineeshipprovider .widget__link,
  .trainingpartner.trainingpartner .widget__link {
    /* text-align: left; */
    
    text-align: center;
  }

  

@media screen and (max-width:500px){
    
    .traineeshipprovider h3, .traineeshipprovider .h3,
    .trainingpartner h3, .trainingpartner .h3 { 
        font-size: 20px; line-height: 1.25em; 
    }
    

}

/* Styling between 300 and 720px wide */
@media screen and (min-width: 501px) and (max-width:720px){ 

    .traineeshipprovider h3, 
    .traineeshipprovider .h3,
    .trainingpartner h3, 
    .trainingpartner .h3 { font-size: 18px; line-height: 1.25em; }

}

/* Styling between 720 and 950 px wide */
@media screen and (min-width: 721px) and (max-width: 960px) { 
    
    .traineeshipprovider h3, 
    .traineeshipprovider .h3,
    .trainingpartner h3, 
    .trainingpartner .h3 { font-size: 22px; line-height: 1.25em; }

} 

/* Styling between 950 and 1420 px wide */
@media screen and (min-width: 961px) and (max-width:1200px){


    .traineeshipprovider h3, 
    .traineeshipprovider .h3,
    .trainingpartner h3, 
    .trainingpartner .h3 { font-size: 26px; line-height: 1.25em; }

}


@media screen and (min-width: 1201px), print{
    
    .traineeshipprovider h3, 
    .traineeshipprovider .h3,
    .trainingpartner h3, 
    .trainingpartner .h3 { font-size: 28px; line-height: 1.25em; }

}








/* Element | http://preview2021.caerphillypathways.co.uk/training-partners?training-partner=3 */

.banner__backlink {
    background: rgba(0,0,0,0.6);
    color: white;
    font-weight: 700;
    display: inline-block;
    padding: 0.25em 0.5em;
    opacity: 0.5;
    
}

.banner__backlink:focus,
.banner__backlink:hover {
    opacity: 1;
    color: white;
}

.traineeshipprovider .traineeshipprovider__overlay .traineeshipprovider__link,
.trainingpartner .trainingpartner__overlay .trainingpartner__link {
    padding-right: 25px;
    padding-left: 25px;
}

.traineeshipprovider__link__text,
.trainingpartner__link__text {
    display: block;
}
  
  
  
  @keyframes bounce {
    0% { transform: translateY( 0px);  }
    100% { transform: translateY(15px);  }
  }

  .traineeshipprovider .traineeshipprovider__link i,
  .trainingpartner .trainingpartner__link i {
    transform: none;
    position: relative;
    top: auto;
    right: auto;
    margin: 1em 0 0 0;
    float: none;  
    width: 40px;
    background-position: -100px -150px;
    
    animation: 0.5s bounce alternate ease-in infinite;
  }




  /*
  
  FAKE POD GRID ITEMS (link blocks)
  
  */
  
  .pod--trainingpartner a {
    display:block;
    padding:0;
    margin:0;
   }
   .pod--trainingpartner .pod__right {
    display:block;
    background:#eee;
     padding: 1em 1em;
   }
   .pod--trainingpartner .pod__right h3 {
    display:block;
    padding: 0;
    margin: 0 0 0.25em 0;
   }
   .pod--trainingpartner .pod__right p {
    padding: 0;
     margin: 0;
   }
   .pod--trainingpartner .pod--trainingpartner__link {
    display:block;
    background:#eee;
   }

   .pod--trainingpartner .pod--trainingpartner__title {
    display:block;
    padding: 0;
    margin: 0 0 0.25em 0;
   }

   .pod--trainingpartner .pod--trainingpartner__summary {
    display:block;
   }
   
   .pod--trainingpartner img { 
    
   }



  /*
  
  FAKE POD GRID ITEMS (link blocks)
  
  */
  
  .traineeshipprovider a {
    display:block;
    padding:0;
    margin:0;
   }
   .traineeshipprovider .pod__right {
    display:block;
    background:#eee;
     padding: 1em 1em;
   }
   .traineeshipprovider .pod__right h3 {
    display:block;
    padding: 0;
    margin: 0 0 0.25em 0;
   }
   .traineeshipprovider .pod__right p {
    padding: 0;
     margin: 0;
   }
   .traineeshipprovider .pod--traineeshipprovider__link {
    display:block;
    background:#eee;
   }

   .traineeshipprovider .pod--traineeshipprovider__title {
    display:block;
    padding: 0;
    margin: 0 0 0.25em 0;
   }

   .traineeshipprovider .pod--traineeshipprovider__summary {
    display:block;
   }
   
   .traineeshipprovider img { 
    
   }
