/*Page Banner CSS*/
section.sub-page-banner.bg-img::before{
  content: ' ';
  position: absolute;
  background: linear-gradient(90.21deg, #003E7E 0.18%, rgba(0, 62, 126, 0.7) 40.03%, rgba(0, 0, 0, 0) 99.82%);
  width: 100%;
  height: 100%;
  top: 0;
  z-index: 1;
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
}

section.sub-page-banner .container.content-sec{
  position: relative;
  z-index: 2;
}

section.sub-page-banner.bg-img::after{
  content: " ";
  position: absolute;
  background-image: url('/wp-content/themes/ipsen-main/dist/images/page-banner-graphic.png');
  width: 100%;
  height: 100%;
  top: 0px;
  background-position: right;
  background-size: contain;
  background-repeat: no-repeat;
}

.sub-page-banner p{
  color:#fff;
  font-family: 'Lato-Light';
  font-size: 24px;
  line-height: 29px;
}
li.breadcrumb-item a,
li.breadcrumb-item a:hover,
li.breadcrumb-item a:active,
li.breadcrumb-item a:focus{
    color: #ABE2FF;
}
li.breadcrumb-item a:hover, 
li.breadcrumb-item a:focus{
  text-decoration: underline;
  text-underline-offset: 5px;
  position:relative;
  top:-10%;
  transition:transform ease-in .5s;
}
li.breadcrumb-item.active,
li.breadcrumb-item.active:hover,
li.breadcrumb-item.active:active,
li.breadcrumb-item.active:focus {
    color: #FFF;
}
.breadcrumb-item+.breadcrumb-item::before{
  color:#FFFFFF;
}
.breadcrumb{
  align-items: center;
}

/* Large desktop design */
  @media only screen and (min-width: 1600px){
  .sub-page-banner{
    padding:40px 0;
    background-size: cover;
    position: relative;
    max-height: 280px;
    width:100%;
    margin-bottom:100px;
    overflow:hidden;
    background-position: center;
  }
  .sub-page-banner h1{
    padding: 60px 0 10px;
    color: #fff;
    font-family: 'Lato-Bold';
  }
  .sub-page-banner p{
    font-family:'Lato-Light';
    font-size: 24px;
    color:#fff;
    margin-bottom: -5px;
  }
  li.breadcrumb-item a, li.breadcrumb-item.active{
    font-family: 'Lato-Regular';
    font-size: 16px;
  }
  .sub-page-banner ol.breadcrumb{
    margin-bottom:0;
  }
  }

/* Small desktop design */
  @media only screen and (min-width: 1200px) and (max-width: 1599px){
  .sub-page-banner{
    background-size: cover;
    position: relative;
    max-height: 280px;
    width:100%;
    margin-bottom:100px;
    margin-bottom:70px;
    padding-top: 24px;
    overflow:hidden;
    background-position: left;
  }
  .sub-page-banner h1{
    padding: 60px 0 10px;
    color: #fff;
    font-family: 'Lato-Bold';
  }
  .sub-page-banner p{
    font-family:'Lato-Light';
    font-size: 24px;
    color:#fff;
  }
  li.breadcrumb-item a, li.breadcrumb-item.active{
    font-family: 'Lato-Regular';
    font-size: 16px;
  }
  
  }

/* Tablet landscape design */
  @media only screen and (min-width: 992px) and (max-width: 1199px){
  .sub-page-banner{
    background-size: cover;
    position: relative;
    max-height: 280px;
    width:100%;
    margin-bottom:100px;
    margin-bottom:70px;
    padding-top: 24px;
    overflow:hidden;
    background-position: left;
  }
  .sub-page-banner h1{
    padding: 60px 0 10px;
    color: #fff;
    font-family: 'Lato-Bold';
  }
  .sub-page-banner p{
    font-family:'Lato-Light';
    font-size: 24px;
    color:#fff;
  }
  li.breadcrumb-item a, li.breadcrumb-item.active{
    font-family: 'Lato-Regular';
    font-size: 16px;
  }
  
  }

/* Tablet portrait design */
  @media only screen and (min-width: 768px) and (max-width: 991px){
  .sub-page-banner{
    background-size: cover;
    position: relative;
    margin-bottom:70px;
    max-height: 203px;
    width:100%;
    padding-top: 24px;
    padding-bottom: 16px;
    overflow:hidden;
    background-position: center;
  }
  .sub-page-banner h1{
    padding: 35px 0 5px 0;
    color: #fff;
    font-family: 'Lato-Bold';
  }
  .sub-page-banner p{
    font-family:'Lato-Light';
    font-size: 20px;
    line-height: 32px;
    color:#fff;
  }
  li.breadcrumb-item a, li.breadcrumb-item.active{
    font-family: 'Lato-Regular';
    font-size: 14px;
  }
  
  section.sub-page-banner.bg-img::after{
    content: " ";
    position: absolute;
    background-image: url('/wp-content/themes/ipsen-main/dist/images/page-banner-graphic.png');
    width: 100%;
    height: 100%;
    top: 0px;
    background-position: right;
    background-size: contain;
    background-repeat: no-repeat;
    left: 120px;
  }
  }

/* Mobile design */
  @media only screen and (min-width: 360px) and (max-width: 767px){
  .sub-page-banner{
    background-size: cover;
    position: relative;
    margin-bottom: 60px;
    width: 100%;
    padding-top: 24px;
    padding-bottom: 16px;
    overflow: hidden;
    background-position: center;
    /* content: " "; 
    background-image: url('/wp-content/themes/ipsen-main/dist/images/03-3_Sciences-Neuroscience_Module-Banner-1_375x165.jpg') !important; */
  }
  .sub-page-banner h1{
    color:#ffffff;
    margin-top:22px;
    font-family:'Lato-Bold';
    font-size:32px;
    line-height: 40px;
  }
  .sub-page-banner p{
    font-family:'Lato-Light';
    font-size: 16px;
    line-height: 24px;
    color:#fff;
  }
  li.breadcrumb-item a, li.breadcrumb-item.active,li.breadcrumb-item{
    font-family: 'Lato-Regular';
    font-size: 14px;
  }
  
  section.sub-page-banner.bg-img::after {
  display:none;
  }
  .content-sec p.visible{
    overflow: hidden;
    width: 100%;
    display: -webkit-box;
    margin-bottom: 2px;
  }
  }