/*******Content overlay CSS********/
.two-img-section-innner .column-1 {
    position:relative;
}
.two-img-section-innner iframe, 
.two-img-section-innner video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     min-width: 0;
     min-height: 0;
     z-index: 0;
     border-radius: 10px;
     transform: none;
    }

/* Ensure iframe-based embeds keep a valid box to render into */
.two-img-section-innner .video-embed {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.two-img-section-innner .video-embed iframe,
.two-img-section-innner .video-embed video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@supports not (aspect-ratio: 16 / 9) {
    .two-img-section-innner .video-embed {
        padding-bottom: 56.25%;
        aspect-ratio: auto;
        height: 0;
    }
}
.two-col-image-section img{
    width:100%;
    border-radius: 8px;
}
.two-col-image-section{
    margin:0 15px;
}
.two-col-image-section .row {
    background-image: none;
    padding-bottom: 20px;
    background-size: cover;
    background-position: 0 100px;
    background-repeat: no-repeat;
    border-radius: 8px;
}

.two-col-image-section .row.section-bg-reverse {
    background-position: top;
    /* padding-bottom: 0; */
}
/* .two-col-image-section .row.section-bg-reverse .column-1{
    padding-bottom: 40px;
} */
.two-col-image-section .row.section-bg-reverse .btn-link.section-btn.cta-visible{
    margin-bottom: 20px;
}
.two-col-image-section p{
    font-family: 'RethinkSans-Regular';
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
}
.two-col-image-section .section-para {
    margin-bottom: 24px;
}
.section-content{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.heading-dash{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: 20px;
}

.dash{
    width: 33px;
    height: 2px;
    background: #2797d3;
    margin-right: 16px;
    position: relative;
    top: -5px;
    display: none;
}
.img-video-section{
    position: relative;
    width: 100%;
    height: auto;
}
.two-img-section-innner .carousel-indicators{
    margin-bottom: -50px;
    pointer-events: none;
}
.two-img-section-innner .carousel-indicators [data-bs-target]{
    background-color: transparent;
    background-image: url('/wp-content/themes/ipsen-main/dist/images/inactive-indicator.png');
    width:11px;
    height:18px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 0 0px -8px;
    padding: 0;
    opacity: 1;
    padding: 0 2px;
    border: 0;
}
.two-img-section-innner .carousel-indicators .active{
    background-color: transparent;
    background-image: url('/wp-content/themes/ipsen-main/dist/images/active-indicator.png');
    width:11px;
    height:18px;
    background-size:contain;
    background-repeat:no-repeat;
}

p.section-head-two{
    font-size: 16px !important;
    line-height: 20px!important;
    font-family: 'Rethinksans-bold';
    font-weight: 700;
}

@media only screen and (max-width : 991px){
.section-content{
    margin-top: 0;
}
.heading-dash{
    margin-bottom: 0px;
}
p.section-head-two{
   margin-bottom: 12px;
}
.two-col-image-section h4 {
    margin-bottom: 24px;
}
.two-img-section-innner{
    padding:0 10px;
}
.two-col-image-section .column-1{
    padding:0 0 50px 0;
}

.two-img-section-innner .carousel-indicators{
    margin-bottom: -30px;
}
}

/***Ipad potrait design***/

@media only screen and (min-width : 768px) and (max-width : 991px){
    .two-col-image-section .row{
        background-position: 0 30px;
    }
    .two-col-image-section .row.section-bg-reverse{
     padding-top:0;
    }
    .two-col-image-section .column-1{
        padding:0 20px 20px 0;
        border-radius:8px;
    }
    .two-col-image-section .column-2{
        padding: 60px 10px 10px 30px;
    }
}

/* 
desktop */

@media only screen and (min-width : 992px){
    .two-col-image-section{
      margin: 0 15px;
      margin-top: 0;
    }
    .two-col-image-section .heading-dash{
        margin-bottom: 0px;
    }
    .two-col-image-section h4{
        margin-bottom: 24px;
    }
    p.section-head-two{
        margin-bottom: 12px;
    }
    .two-col-image-section .row {
        background-image: none;
        padding: 40px;
        background-size: 65% calc(100% - 40px);
        background-position: 97% 40px;
        background-repeat: no-repeat;
        border-radius: 8px;
    }
    .two-col-image-section .column-2{
            padding: 0 50px 0;
    }
    .two-col-image-section p {
        font-size: 16px;
        line-height: 20px;
        font-family: 'RethinkSans-Regular';
    }
    .two-col-image-section .section-para{
        margin-bottom: 24px;
    }
    .btn-link.section-btn{
        margin-bottom:0;
    }
    .two-img-section-innner .carousel-indicators{
        pointer-events: none;
    }
    .wp-block-columns section.two-col-image-section .container {
        padding:0;
    }
    .two-col-image-section .row.section-bg-reverse {
        background-position: bottom left;
        background-size: 65% calc(100% - 40px); 
    }
}
@media only screen and (min-width : 1600px){
    .two-img-section-innner .carousel-indicators [data-bs-target],
    .two-img-section-innner .carousel-indicators .active{
        height:26px;
        width:16px;
        padding:0;
    }
}


/* Below CSS fixed margins for Science pages */

/* Large desktop design */
@media only screen and (min-width: 1600px){
    .two-col-image-section p.inner-para{
        font-family: 'RethinkSans-Regular';
        font-style: normal;
        font-weight: 400;
        font-size: 32px;
        line-height: 44px;
        color: #000E56;
      }
      .two-col-image-section .column-2 .section-content{
        padding-top: 0px;
    }

    .no-carousel{
        position: relative;
    }
  }
  
  /* Small desktop design */
  @media only screen and (min-width: 1200px) and (max-width: 1599px){

    .two-col-image-section p.section-para.inner-para{
        font-family: 'RethinkSans-Regular';
        font-style: normal;
        font-weight: 400;
        font-size: 18px !important;
        line-height: 24px !important;
        color: #000E56;
    }
      .two-col-image-section .column-2 .section-content{
        padding-top: 0px;
    }

    .two-img-section-innner .no-carousel:before {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0px;
        background-position: right;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .no-carousel{
        position: relative;
    }
  }
  
  /* Tablet landscape design */
  @media only screen and (min-width: 992px) and (max-width: 1199px){

    .two-col-image-section p.inner-para{
        font-family: 'RethinkSans-Regular';
        font-style: normal;
        font-weight: 400;
        font-size: 18px !important;
        line-height: 24px !important;
        color: #000E56;
    }
    .two-col-image-section .column-2 .section-content{
        padding-top: 0px;
    }

    .two-img-section-innner .no-carousel:before {
        content: " ";
        position: absolute;
        background-image: url('/wp-content/themes/ipsen-main/dist/images/content-overlay-graphic.png');
        width: 100%;
        height: 100%;
        top: 0px;
        background-position: right;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .no-carousel{
        position: relative;
    }
  }
  
  /* Tablet portrait design */
  @media only screen and (min-width: 768px) and (max-width: 991px){

    .two-col-image-section p.inner-para{
        font-family: 'RethinkSans-Regular';
        font-style: normal;
        font-weight: 400;
        font-size: 18px !important;
        line-height: 24px !important;
        color: #000E56;
    }
   
     .two-img-section-innner .no-carousel:before {
        content: " ";
        position: absolute;
        background-image: url('/wp-content/themes/ipsen-main/dist/images/content-overlay-graphic.png');
        width: 100%;
        height: 100%;
        top: 0px;
        background-position: right;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .no-carousel{
        position: relative;
    }
  }   
  
  
  /* Mobile design */
  @media only screen and (min-width: 360px) and (max-width: 767px){

    .two-col-image-section p.inner-para{
        font-family: 'RethinkSans-Regular';
        font-style: normal;
        font-weight: 400;
        font-size: 18px !important;
        line-height: 24px !important;
        color: #000E56;
    }
    .two-col-image-section .row.section-bg-reverse {
        flex-flow: column-reverse;
    }
    .two-col-image-section .row.section-bg-reverse img{
        padding-bottom: 0px;
    }
    .two-img-section-innner .no-carousel:before {
        background:none;
    }
    .section-content {
        padding: 0 10px;
    }
  }

/* Video alignment fixes start */

.two-img-section-innner iframe, 
.two-img-section-innner video {
    top: 0% !important; 
    left: 0% !important; 
}

.video-embed {
    position: relative !important;
    padding-bottom: 56.25% !important;
    
}

@media only screen and (max-width: 768px) {
    #laylanguage-card .video-embed {
        top: 0;
    }
}

.two-col-image-section .row .order-2{
	left: 0px;
}

.two-col-image-section .content-overlay-inner .section-content{
    display: flex;
    justify-content: center;
}

.content-overlay-inner.bg-color-enabled h2,
.content-overlay-inner.bg-color-enabled h3,
.content-overlay-inner.bg-color-enabled h4,
.content-overlay-inner.bg-color-enabled h5,
.content-overlay-inner.bg-color-enabled h6
{
    margin-bottom:24px;
}
.content-overlay-inner .section-head-two {
    margin-bottom:12px
}
.content-overlay-video-type .video-container{
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}