.pipeline-cards .grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(8, auto);
  grid-gap: 5px;
  padding: 0;
  overflow-x: scroll;
}
.grid-controls{
  opacity: 0;
}
.pipeline-card-inner.visible .grid-controls{
  opacity: 1;
}
.pipeline-cards .cell {
  display: flex;
  align-items: flex-start;
  padding: 15px;
  margin: 0 0 24px;
  border-radius: 8px;
  position: relative;
  border: 2px solid #EDEBE4;
  min-width: 250px;
  position: relative;
}
.pipeline-cards .cell.header{
  margin-bottom: 35px;
}
.pipeline-cards .transposed.cell.header{
  margin-bottom: 24px;
}
.pipeline-cards .cell-content{
  flex-direction: column;
}
.pipeline-cards .cell.therapy-title{
  margin-bottom: 0;
}
.pipeline-cards .type-indicator{
  margin-bottom: 40px;
}
/* .pipeline-cards .cell.cell-content span {
    background: #06768E;
    width: 3px;
    position: absolute;
    height: 55%;
    top: 22px;
    left: 9px;
} */
/* .pipeline-cards .cell.cell-content.onc-content:after {
  background: #06768E;
}
.pipeline-cards .cell.cell-content.rare-content:after {
  background: #C84874;
}
.pipeline-cards .cell.cell-content.neuro-content:after {
  background: #B2C966;
} */
.pipeline-cards .transposed .cell.therapy-title p,
.pipeline-cards .cell.header p{
    display: block;
}
.pipeline-cards .transposed .cell.header p,
.pipeline-cards .cell.therapy-title p{
    display:none;
}
.pipeline-cards .cell.header,
.pipeline-cards .transposed .cell.therapy-title{
  flex-direction: column;
  background: #EDEBE4;
}
.pipeline-cards .cell.header,
.pipeline-cards .transposed .cell.header {
  border: 2px solid #EDEBE4;
  background: #FFFFFF;
  padding: 20px;
}
.pipeline-cards .transposed .cell.header,
.pipeline-cards .cell.header:last-child{
  width: 100%;
  max-width: 100%;
}
.pipeline-cards .cell.header h5{
  margin-bottom: 0;
}
.pipeline-cards .cell.therapy-title
/* .pipeline-cards .transposed .cell.header */
{
  border:0;
  background:none;
  padding-left: 0;
  flex-direction: row;
  padding:0px;
}
.pipeline-cards .transposed .cell.therapy-title,
.pipeline-cards .cell.header{
  padding:20px;
}
.pipeline-cards .therapy-title{
  grid-column: 1 / 5;
  justify-content: left;
}
.pipeline-cards .cell h5{
  font-family: "Rethinksans-bold";
  font-size: 20px;
  line-height: 24px;
  color:#000E56;
  /* font-weight: 700; */
}
.pipeline-cards .cell p{
  font-family: 'RethinkSans-SemiBold';
  /* font-weight: 600; */
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 0;
  color:#000E56;
}
.pipeline-cards .transposed {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(7, auto);
  grid-auto-flow: row;
}

.pipeline-cards .transposed .header {
  grid-column: 1 / 5;
}

.pipeline-cards .transposed .therapy-title{
  grid-column: auto;
  grid-row: 1;
  /* color: #fff; */
}

.pipeline-cards .transposed .starts-at-2{
  grid-column: auto;
}

.pipeline-cards .transposed .gr-row-3{
  grid-row: 3;
}

.pipeline-cards .transposed .gr-row-5{
  grid-row: 5;
}

.pipeline-cards .transposed .gr-row-7{
  grid-row: 7;
}

.pipeline-cards .transposed .gr-row-9{
  grid-column: 2;
}

.pipeline-cards .transposed .gr-col-3{
  grid-column: 3;
}
.pipeline-cards .transposed .cell.therapy-title.onc,
.pipeline-cards .cell.therapy-title.onc span{
  background-color: #6EB6C7;
}
.pipeline-cards .transposed .cell.therapy-title.rar,
.pipeline-cards .cell.therapy-title.rar span{
  background-color: #C84874;
}
.pipeline-cards .transposed .cell.therapy-title.neu,
.pipeline-cards .cell.therapy-title.neu span{
  background-color: #B2C966;
} 
.pipeline-cards .transposed .cell.therapy-title{
  padding: 0;
}
.pipeline-cards .cell.cell-content{
  border: 0px;
}
/* .pipeline-cards span{
  width: 16px;
  height: 16px;
  margin-right: 10px;
} */
.pipeline-cards .cell.header span,
.pipeline-cards .transposed .cell.therapy-title span{
  display: none;
}
.transposed .cell.header span,
.cell.therapy-title span {
  display: inline-block;
}
.pipeline-cards .changeView{
  position: relative;
  padding: 13px 50px 13px 15px ;
  border-radius: 8px;
  border: 2px solid #EDEBE4;
  color:#000E56;
  background-color: transparent;
  min-width: 161px;
  text-align: left;
}

.pipeline-filter-btns{
  display: flex;
  align-items: center;
  justify-content: right;
  margin-bottom: 50px;
}
.pipeline-filter-btns p{
  margin-right: 51px;
  margin-bottom: 0;
}
.change-view-sec{
  display: flex;
  align-items: center;
  justify-content: right;
}
.change-view-sec p{
  margin-right: 20px;
  color: #000E56;
  font-size: 16px;
  line-height: 20px;
}
.pipeline-filter-btns p a{
  text-decoration: none;
  font-family: 'RethinkSans-SemiBold';
  font-size: 13px;
  line-height: 17px;
  color: #000E56;
  position: relative;
  padding-right: 30px;
}
.pipeline-filter-btns p a:hover,.pipeline-filter-btns p a:focus{
  color: #061F80;
  text-decoration: underline;
}
.pipeline-filter-btns p a:hover::after,.pipeline-filter-btns p a:focus::after{
  content: url(./images/download-hover.png);
}
.pipeline-filter-btns p a::after{
  content: url(./images/download.svg);
  position: absolute;
  right:0;
  top: 50%;
  /* bottom: 0; */
  translate: 0 -50%;
}
.pipeline-card-inner{
  margin: 0px 0 -40px 0;
}
.changeView::after{
  content: url(./images/down.png);
  position: absolute;
  right:22.5px;
}
/* styles for arrows */
/* Hide scrollbar for Chrome, Safari and Opera */
.grid-container::-webkit-scrollbar {
  display: none;
}
.type-indicator>p{
  font-size: 16px;
  line-height: 20px;
  color: #000E56;
  margin-bottom: 0;
}
.type-indicator span.indicator{
  display: inline-block;
  border-radius: 3px;
}
.type-indicator{
  display: flex;
  align-items: center;
  margin-bottom: 18px;
}
.onco-indicator{
  background:#06768E;
  border:1px solid #06768E;
}
.rare-indicator{
  background-color: #C84874;
  border: 1px solid #C84874;
}
.neuro-indicator{
  background-color: #B2C966;
  border: 1px solid #B2C966;
}
.ms-options ul li label, ul.list-div li label, .all-sec label {
  font-family: "RethinkSans-Regular";
  font-size: 16px;
  line-height: 20px;
  color: #000E56;
}
#loadfiltersdata .pipeline-cards .cell.header{
  width: 95%;
}
#loadfiltersdata .pipeline-cards .cell.header:last-child{
  width: 100%;  
}
.pipeline-cards .grid-container{
  grid-gap: 0;
}

/* mobile media */
@media (max-width: 1200px) {
  .pipeline-cards .cell.cell-content span {
    height: 55%;
}
    .btn.grid-arrows:hover,.btn.grid-arrows:focus,.btn.grid-arrows:active{
      outline: none;
      border-color:transparent !important;
    }
    .grid-prev{
      padding-left: 6px;
    }
    .grid-next{
      padding-right:6px;
    }
    .grid-prev:before{
      content: "";
      background: url(/wp-content/themes/ipsen-main/dist/images/blue-left-arrow.png);
      width: 20px;
      height: 20px;
      position: relative;
      display: inline-block;
      background-position: center;
      background-size: cover;
    }
    .grid-next:after{
      content: "";
      background: url(/wp-content/themes/ipsen-main/dist/images/blue-right-arrow.png);
      width: 20px;
      height: 20px;
      position: relative;
      display: inline-block;
      background-position: center;
      background-size: cover;
    }

    .grid-next:focus:after{
      background-image: url(/wp-content/themes/ipsen-main/dist/images/ArrowRightState.png)
    }

    .grid-prev:before:focus {
      background-image: url(/wp-content/themes/ipsen-main/dist/images/ArrowLeftHover.png)
    }
    .pipeline-cards .grid-container .cell.header button,
    .pipeline-cards .grid-container.transposed .cell.therapy-title button{
        display: none;
    }
    .pipeline-cards .grid-container.transposed .cell.header button,
    .pipeline-cards .grid-container .cell.therapy-title button {
        display: block;
        position: sticky;
        padding: 0;
    }
    .pipeline-cards .grid-container .grid-prev{
        left: 0vw;
        top: 0px;
    }
    .pipeline-cards .grid-container .grid-next{
      top: 0;
      left: 88vw;
    } 
    .grid-controls{
      display: flex;
      justify-content: space-between;
      align-items: center;
      position: fixed;
      top: 302px;
      width: 100%;
      left: 0;
      right: 0;
      behavior: 'smooth'
    }
    .pipeline-cards-inner{
      position: relative;
    }
    .pipeline-filter-btns{
      flex-direction:column;
      justify-content: flex-start;
      align-items: flex-start;
      margin-bottom: 24px;
    }
    .pipeline-filter-btns>p{
      margin-bottom: 38px;
    }
    .change-view-sec{
      flex-direction:column;
      justify-content: flex-start;
      align-items: flex-start;
    }
    .change-view-sec>p{
      margin-bottom: 0;
    }

    .pipeline-cards .changeView{
      min-width: 345px;
    }
}

/* mobile media */
@media (min-width: 992px) {
  .pipeline-cards .cell{
    width:95%;
    min-width: auto;
    padding-left: 15px;
  }
  .pipeline-cards .cell.header:last-child{
    width: 100%;
  }
  .pipeline-type-indication-sec{
      display: flex;
      justify-content: right;
  }
  .type-indicator{
    margin-right: 30px;
  }
  .type-indicator:last-child{
    margin-right: 0;
  }
}


/* Pipeline Search Filters CSS Start */
.pipeline-btn {
  display: block;
  padding: 15px 20px;
  border: 2px solid #EDEBE4;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  position: relative;
  background-color: #EDEBE4;
  /*box-shadow: 0px 6px 12px rgb(0 0 0 / 12%);*/
}
.pipeline-btn:hover{
  background-color: #EDEBE4;
  color: #061F80;
}
.pipeline-btn.clicked:hover,.pipeline-btn.clicked:focus,.pipeline-btn.clicked:active{
  /*background-color: #DBEAF5;*/
  background-color: #EDEBE4;
  /* box-shadow: 0px 6px 12px rgb(0 0 0 / 12%); */
  color: #061F80;
}
.pipeline-btn p{
  font-family: "Rethinksans-bold";
  font-size: 16px;
  line-height: 20px;
  color: #000E56;
  margin-bottom: 0;
}
.pipeline-btn:after{
  content: url(/wp-content/themes/ipsen-main/dist/images/search_filter_uparrow.png);
  position: absolute;
  right: 15px;
  top: 50%;
  translate:0 -50%;
}
.pipeline-filter-inner{
  margin: 60px 0;
}
.pipeline-filter-inner>h2{
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 40px;
}
.pipeline-dropdown{
  border:2px solid #EDEBE4;
  padding: 24px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  border-top: none;
  /* box-shadow: 0px 6px 12px rgb(0 0 0 / 12%); */
}
.contact-dropdown .ms-options-wrap > button.active:after,.phase-selection .ms-options-wrap > button.active:after,
.disease-selection .ms-options-wrap > button.active:after{
  background-image: url(/wp-content/themes/ipsen-main/dist/images/search_filter_uparrow.png);
}
.contact-dropdown .ms-options-wrap > button.active,.phase-selection .ms-options-wrap > button.active,
.disease-selection .ms-options-wrap > button.active{
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.pipeline-dropdown p{
  font-size: 16px;
  line-height: 20px;
  color: #000E56;
}
.pipeline-dropdown .column-1{
  margin-bottom: 20px;
}
.pipeline-btn.clicked{
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background-color: #fff;
  box-shadow: none;
}
.pipeline-btn.clicked:after {
  content: url(/wp-content/themes/ipsen-main/dist/images/Downwards_Arrow_New.png);
}
.pipeline-dropdown .reset-btn::before {
  display: block;
  content: url(./images/system-uicons_reset.png);
  width: 12px;
  height: 12px;
  position: absolute;
  left: 0;
  top: 8px;
}
.pipeline-dropdown .reset-btn{
  margin-right: 0;
  font-size: 16px;
  line-height: 20px;
  color: #000E56;
  padding-right: 0;
  font-family: 'RethinkSans-SemiBold';
  /* font-weight: 600; */
}
.pipeline-dropdown .reset-btn:hover,.pipeline-dropdown .reset-btn:focus{
  box-shadow: none;
}

.pipeline-dropdown .reset-btn:hover:after, .pipeline-dropdown .reset-btn:focus:after {
  content: '' !important;
}
.pipeline-btn p {
  font-size: 16px;
  line-height: 20px;
  font-family: 'RethinkSans-SemiBold';
  /* font-weight: 600; */
}
.pipeline-cards .pipeline-type-row{
  display: flex;
  justify-content: space-between;
}
.pipeline-cards .pipeline-type-indication-sec .type-indicator{
  border-radius: 8px;
  padding: 15px;
}
.pipeline-cards .pipeline-type-indication-sec .type-indicator p{
  font-family: 'RethinkSans-SemiBold';
  /* font-weight: 600; */
}
.pipeline-cards .pipeline-type-indication-sec .type-indicator.once-indicator p,
.pipeline-cards .pipeline-type-indication-sec .type-indicator.neuro-indicator p,
.pipeline-cards .pipeline-type-indication-sec .type-indicator.-indicator p,
.pipeline-cards .cell.cell-content.neuro-content h5,
.pipeline-cards .cell.cell-content.neuro-content p,
.pipeline-cards .cell.cell-content.rare-content h5,
.pipeline-cards .cell.cell-content.rare-content p{
  color: #FFFFFF;
}
/* desktop media */
@media (min-width: 768px) {
  .pipeline-filter-inner>h2 {
      font-size: 42px;
      line-height: 53px;
      margin-bottom: 20px;
  }
  
  .pipeline-filter-inner{
      margin:0px 0;
  }
  .pipeline-filter-btns{
      flex-direction:row;
      justify-content: flex-end;
      margin-bottom: 24px;
      align-items: center;
    }
  .change-view-sec {
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      margin-left: 51px;
  }
  .pipeline-filter-btns>p {
      margin-bottom: 0px;
      margin-right:0;
      /* display: flex; */
      /* align-items: center; */
  }
}

/* Portrait */
@media only screen  and (min-device-width:768px)and (max-device-width:1024px)and (orientation : portrait){ 

  .pipeline-filter-inner{
      margin:70px 0;
  }

} 


/* Filter Input css starts */

.ms-options-wrap > button {
  padding: 13px 15px;
  border: 2px solid #EDEBE4;
  border-radius: 8px;
  font-family: "RethinkSans-Regular";
  font-size: 16px;
  line-height: 20px;
  width: 100%;
  color: #000E56;
  position: relative;
  appearance: none;
  background-color: transparent;
  text-align: left;
}
.ms-options-wrap button:after {
  content: " ";
  background-image: url(/wp-content/themes/ipsen-main/dist/images/Downwards_Arrow_New.png);
  background-repeat: no-repeat;
  background-size: 100%;
  display: block;
  position: absolute;
  right: 15px;
  top: 40%;
  width: 12px;
  height: 19px;
}
.ms-options {
  padding: 13px 15px;
  border: 2px solid #EDEBE4;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  max-height: 25px !important;
}
.ms-options::-webkit-scrollbar{
  display: none;
}
.ms-options-wrap > button:hover,.ms-options-wrap > button:focus{
  border-color: #061F80;
  color: #061F80;
}
input[type="checkbox"], .all-sec > input {
  -webkit-appearance: initial;
  appearance: initial;
  border: 1px solid #000E56;
  position: relative;
  border-radius: 4px;
}
input:hover, input:focus {
  border-color: #061F80 !important;
  color: #061F80 !important;
  /*background: #6EC4FF;*/
}

.reset-div {
  display: flex;
  justify-content: right;
  align-items: flex-start;
}

.reset-div .reset-btn {
  position: relative;
  padding-left: 20px;
}

.pipeline-filter-inner .pipeline-title {
  margin-bottom:45px
}

 
@media (max-width: 767px) {
  .pipeline-cards .pipeline-type-row{
    display: block;
  }
  .pipeline-cards .cell{
    margin-right: 15px;
  }
  }
   