/*******text tryo CSS********/
.text-tryo{
    position:relative;
}
.text-tryo a:hover {
    color: #292c31;
}
.img-tray-container {
    background: #fff;
    padding: 20px 15px;
}
.img-tray{
    display:flex;
    flex-direction: column;
    width:100%;
    max-width: 330px;
    margin: 0 24px 0 0;
    position: relative;
    /* max-height: 486px; */
   /*border-radius: 5px;*/
    overflow: hidden;
    /*filter: drop-shadow(0px 2px 6px rgba(0, 0, 0, 0.15));*/
}
.img-tray .img-container,.img-tray .tray{
    position: relative;
}
.img-container{
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
}

.tray {
    /*background: #fff;*/
    /*padding: 15px 0px;*/
    /*border-top-right-radius: 15px;*/
    padding: 24px 0px;
    bottom: 0;
    max-width: 90%;
    
}

.page-card-heading-variation .page-card-tray{
    margin-top: 2px;
    padding: 17px 0 0 0;
}

.page-card-heading-variation h3.trayo-page-title{
    font-family: "Rethinksans-bold";
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 24px;
    font-weight: 700;
}

.page-card-heading-variation p.trayo-page-para{
    font-family: "RethinkSans-Regular";
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 24px !important;
}
.page-card-heading-variation h3{
    font-family: "Rethinksans-bold";
    font-size: 32px;
    line-height: 36px;
    margin-bottom: 24px;
    font-weight: 700;
}

.tray-inner{
    position: relative;
    /*padding-left: 12px;*/
    margin-top: 8px;
}
/*
.tray-inner:before{
    content:" ";
    position: absolute;
    width: 4px;
    height: 100%;
    left: 0;
    top: 0;
    bottom: 0;
    background-color: #2797d3; 
}
*/

/* global-btn */
.text-tryo .slider-btns{
    display: flex;
    justify-content: center;
    width: 100%;
    position: relative;
    margin: 40px auto 40px auto;
    padding: 0 10px;
    order: 1;
}
.text-tryo .slider-btns button{
    position: static;
    transform: translate(0, 0);
    width: 37px;
    height: 34px;
    background: transparent;
}
.text-tryo .slider-btns button.disabled{
 pointer-events:none;
}
.tray-btn{
    color:#fff;
    border-color: transparent;
    border-radius: 5px;
}
.tray-btn a{
   
    color:#fff;

}
.tray-btn a:hover{
    color:#fff;
}

.slider-btns button.text_tray_glider-prev{
    margin-right: 15px;
}
.slider-btns button.text_tray_glider-prev span{
    background-image: url(/wp-content/themes/ipsen-main/dist/images/blue-left-arrow.png);
}
.slider-btns button.text_tray_glider-next span{
    background-image: url(/wp-content/themes/ipsen-main/dist/images/blue-right-arrow.png);
}
.slider-btns button[aria-disabled=true] {
    opacity: 1;
    pointer-events: none;
}
.slider-btns button span{
    width: 100%;
    height: 100%;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.img-tray.img-one{
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
}
.img-tray.img-p-sliderone {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.sec-five-text{
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.text-tryo .glider-slider-content{
   display:flex;
   flex-flow:column;
}
.text-tryo .glider-contain{
   order:0;
}
.sec-five-text p{
   font-size:18px;
   line-height:26px;
   margin-bottom:30px;
   font-family: 'RethinkSans-Medium';
}
.tray h5{
    font-family: 'Rethinksans-bold';
    font-size:20px;
    line-height:25px;
    color: #000E56;
 }
 .text-tryo .tryo-page-card h3{
    margin-bottom: 24px;
 }   

 .text-tryo .tryo-page-card p.trayo-page-para{
    margin-bottom: 24px;
 }   

 .tray p.tray-para{
    font-family: 'RethinkSans-Regular';
    font-size: 16px;
    line-height: 20px;
    color: #000E56;
    margin-bottom: 0;
 }
 .tray p.tray-heading-para{
    font-family: 'Rethinksans-bold';
    /* font-weight: 700; */
    font-size:25px;
    line-height:30px;
    color: #000E56;
    margin: 0 0 12px 0px;
}

.tray p.tray-heading-para:hover, 
.tray p.tray-para:hover{
    color:#061F80;
}

/* mobile styles */

@media only screen and (max-width: 991px){
 .text-tryo:has(.slider-btns) .glider-contain{
  padding-bottom:60px
 }
    .text-tryo .slider-btns{
        display: flex;
        justify-content: center;
        width: 100%;
        position: absolute;
        margin: 0px auto 0px auto;
        order: 1;
        bottom: 0;
    }
   .text-tryo a{
        margin: 0 5px 0 5px;
    }
   .text-tryo a:first-child{
        margin: 0 5px 0 0px;
    }
    .img-tray{
        margin: 0 5px 0 0px;
        width: 100%;
    }
    .img-tray:hover .tray{
        top:unset;
    }
    .img-tray-container{
        max-width: 90%;
    }
    .text-tryo .col-md-3{
        width:100%;
     }
     h3.trayo-page-heading {
        margin-bottom: 24px;
        color: #000E56;
    }
    .img-tray {
      padding-right: 24px;
    }
    .tray-inner {
       margin-top: 0px;
    }
}


@media screen and (min-width: 768px) {
   .text-tryo .slider-btns{
      position:absolute;
      top: 0;
      right: 0;
      justify-content: flex-end;
      margin-top: 0;
   }
   
}
@media screen and (min-width: 768px) and (max-width: 1024px){
    .glider-slider-content{
        width: 100%;
    }
    .img-tray:hover .tray,.img-tray .tray{
        top:unset !important;
    }
    .img-tray:hover {
        box-shadow: none;
        transition: box-shadow 0.5s ease-in-out;
    }
    .tray:after{
        bottom: 0 !important;
        top: unset !important;
    }
   
}

/* desktop styles */

@media only screen and (min-width: 992px){
       .glider-slider-content{
        width: 100%;
    }
    .img-tray{
        width: 330px;
        max-width: 100%;
        padding-right: 34px;
    }
    /*
    .img-tray:hover,.img-tray:focus{
        box-shadow: inset 0px 60px 100px 10px;
        transition:box-shadow 0.5s ease-in-out;
    }*/
    .img-tray:hover .tray:after,.img-tray:focus .tray:after{
        transform: scale(0);
        bottom: 0;
    }
    
   .img-tray:hover .tray,.img-tray:focus .tray{
    top:unset !important;
   }
   .tray {
    top: 86%;
    transition: top ease-in .3s;
}
/*
.tray:after{
    content: " ";
    display: block;
    height: 15px;
    width: 100%;
    background-color: #fff;
    position: absolute;
    left: 0;
    right: 0;
    top: 75%;
    transform: scale(1);
    transition: transform .1s;
}
    */
.text-tryo .slider-btns{
    justify-content: right;
    position: relative; 
    top: 0;
    order: 0;
}
   .wp-block-columns .text-tryo .slider-btns{
     position: absolute; 
}
.sec-five-text{
    justify-content:normal;
 }
 h2.trayo-page-heading.carousel-enable{
    margin-top:70px;
 }
 h3.trayo-page-heading{
    font-family: 'Rethinksans-bold';
    font-size: 32px;
    line-height: 36px;
    color: #000E56;
    margin-bottom: 24px;
 }
 .sec-five-text p.trayo-page-summary{
    font-family: 'RethinkSans-Regular';
    font-size: 16px;
    line-height: 20px;
    color: #000E56;
 }

.wp-block-columns .sec-five-text{
    margin-top:0px;
 }
}

@media all and (device-width: 1024px) and (device-height: 768px) and (orientation:landscape) {
    .tray{
        top:unset;
    }
    .img-tray .tray:after{
        transform: scale(0);
    }
}

@media all and (min-device-width: 1600px) {
.sec-five-text p.trayo-page-summary{
    font-family: 'RethinkSans-Regular';
    font-size: 16px;
    line-height: 20px;
    margin-bottom:30px;
    color: #000E56;
 }
   
}

/* Top Alignment Css */
.text-tryo .trayo-page-card{
    display: inline-block;
}
.text-tryo .trayo-page-card h2.trayo-page-title{
    font-size: 42px;
    line-height: 53px;
    display: inline-block;
    margin-bottom: 23px;
 } 
 .text-tryo .trayo-page-card p.trayo-page-para{
     font-size: 20px;
     line-height: 32px;
     color: #292C31;
     font-family: 'RethinkSans-Medium';
     margin-bottom: 0;
 }

 .text-tryo .trayo-page-heading {
    margin-bottom:24px;
}