/* Assets card Css */
.asset-card-sec .assets-card{
  border: 2px solid #EDEBE4;
  border-radius: 8px;
  max-width: 345px;
  margin: 30px 0;
  position: relative;
  /* height: 92%; */
}

/* Info Icon Styling */
.asset-card-sec .card-img {
  position: relative;
}

.asset-card-sec .card-info-icon {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 32px;
  height: 32px;
  background-color: #224a81;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.3s ease;
}

.asset-card-sec .card-info-icon:hover {
  background-color: #2797d3;
}

.asset-card-sec .card-info-icon img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

/* Modal Styling */
.asset-card-sec .asset-info-modal .modal-content {
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.asset-card-sec .asset-info-modal .modal-header {
  border-bottom: 1px solid #EDEBE4;
  padding: 20px 25px;
}

.asset-card-sec .asset-info-modal .modal-title {
  font-family: "RethinkSans-SemiBold";
  font-size: 20px;
  color: #000E56;
}

.asset-card-sec .asset-info-modal .modal-body {
  padding: 25px;
}

.asset-card-sec .asset-info-modal .asset-modal-content p {
  margin-bottom: 10px;
  font-family: "RethinkSans-Regular";
  font-size: 14px;
  color: #292C31;
}

.asset-card-sec .asset-info-modal .asset-modal-content p strong {
  font-family: "RethinkSans-SemiBold";
  color: #000E56;
}

.asset-card-sec .asset-info-modal .asset-modal-content a {
  color: #224a81;
  text-decoration: underline;
}

.asset-card-sec .asset-info-modal .asset-modal-content a:hover {
  color: #2797d3;
}

/* custom modal dimensions and appearance requested */
.asset-card-sec .asset-info-modal .modal-dialog {
  max-width: 1155px;
  width: 1155px;
}
.asset-card-sec .asset-info-modal .modal-content {
  background-color: #EDEBE4;
  width: 1155px;
  height: 494px;
}
.asset-card-sec .asset-info-modal .modal-header {
  border: none;
  padding: 0;
}
.asset-card-sec .asset-info-modal .modal-header .btn-close {
  position: absolute;
  right: 15px;
  top: 15px;
  color: #ffffff;
}
.asset-card-sec .check-box-sec {
  position: absolute;
  left: 25px;
  top: 24px;
}

.asset-card-sec input#library-check {
  min-width: 20px;
  min-height: 20px;
}

.asset-card-sec input#library-check[type="checkbox"]{
  -webkit-appearance: initial;
  appearance: initial;
  border: 1px solid #8f9699;
  position: relative;
  border-radius: 4px;
}
.asset-card-sec input#library-check[type="checkbox"]:checked {
  accent-color: #224a81;
}
.asset-card-sec input#library-check[type="checkbox"]:checked:after {
  background-color: #224a81;
  content: "";
  color: #fff;
  position: absolute;
  background-image: url(/wp-content/themes/ipsen-main/dist/images/tick.png);
  background-repeat: no-repeat;
  background-size: 11.6px 8.9px;
  background-position: center;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}
.asset-card-sec .card-content {
  padding: 20px 25px;
  border-top: 2px solid #EDEBE4;
  /* border-bottom: 2px solid #EDEBE4; */
}
.asset-card-sec .card-content p {
  font-family: "RethinkSans-SemiBold";
  font-size: 20px;
  line-height: 24px;
  color: #000E56;
  margin-bottom: 0;
  width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.asset-card-sec .card-download-sec {
  padding: 10px 25px;
  display: flex;
  justify-content: space-between;
  border-radius: 0px 0px 8px 8px;
}
.asset-card-sec .card-download-sec p {
  margin-bottom: 0;
  font-family: "RethinkSans-SemiBold";
  font-size: 14px;
  line-height: 16.8px;
  color: #5d6265;
}
.asset-card-sec .card-type-one .card-img-outer, 
.asset-card-sec .card-type-four .card-img-outer {
  padding: 25px;
}
/*.asset-card-sec .assets-card:hover, .asset-card-sec .assets-card:focus {
   box-shadow: 0px 2px 6px 0px #00000026; 
}*/
.asset-card-sec .assets-card:hover .card-img img, .asset-card-sec .assets-card:focus .card-img img {
  transform: scale(1.2);
  cursor: pointer;
}
.asset-card-sec .assets-card .card-img img {
  transition: transform 0.2s ease;
  width: 100%;
}
.asset-card-sec .assets-card .card-img {
  height: 100%;
  overflow: hidden;
}
.asset-card-sec .assets-card:hover .card-download-sec, 
.asset-card-sec .assets-card:focus .card-download-sec {
  background-color: #EDEBE4;
}
.asset-card-sec .card-download-sec p {
  margin-bottom: 0;
  font-family: "RethinkSans-SemiBold";
  font-size: 13px;
  line-height: 16px;
  font-weight: 600;
  color: #000E56;
}
.asset-card-sec .card-type-two .card-img-outer {
  padding: 27px 62px 28px 62px;
}
.asset-card-sec .card-type-three .card-img-outer {
  padding: 92px 25px;
}

/* Asset Card Video Styling */
.asset-card-video-type a{
  position: relative;
  display: block;
}
.asset-card-video-type a video{
  width: 100%;
  height: auto;
}
.asset-card-video-type a .vp-center{
  align-items: start;
}
.asset-card-video-type a iframe{
  height: auto;
  margin-bottom: 0;
  top: 0;
}
.asset-card-video-type a img{
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 999;
}
/* Video date CSS */
.asset-card-sec span.time-stamp {
  color: #000E56;
  font-size: 13px;
  line-height: 16px;
  margin-right: 5px;
  white-space: nowrap;
  font-family: 'RethinkSans-Regular';
  margin-bottom: 10px;
}

/* desktop queries */
@media only screen and (min-width: 768px){
  .asset-card-sec .asset-cards {
    max-width: 330px;
  }
}

/** Category line CSS**/
.asset-list-btn a {
  padding: 9px 24px !important;
  border: 1px solid #000E56;
  border-radius: 25px;
  color: #000E56 !important;
  text-decoration: none;
  white-space: nowrap;
  font-family: "RethinkSans-Regular" !important;
  font-weight: 400;
  font-size: 13px !important;
  line-height: 16px !important;
}
.asset-list-btn {
  padding: 0;
  display: flex;
  align-items: center;
  text-align: left;
  margin-right: 15px
}
.asset-list-btn:focus a,
.asset-list-btn:hover a,
.asset-list-btn.active a {
  background-color: #000E56;
  color: #fff !important;
}
@media only screen and (min-width: 991px) {
  .asset-list-btn-div {
    overflow:uset;
    margin-bottom: 55px;
  }
  .asset-card-sec ul.assetcard-list-btn {
    overflow: unset
  }
  .asset-card-sec ul.list-btn {
    overflow: unset;
    /* padding: 0; */
    display: flex;
    flex-direction: row;
  }
}

/* CTA link/button */
.asset-card-sec .more-result-btn{
  display: flex;
  align-items: center;
  justify-content: center;
}
  
.btn-link.section-btn.cta-visible:hover{
  color: #fff;
}

.asset-card-sec .more-result-btn a.more-cta-link{
  font-family: 'RethinkSans-SemiBold';
  font-size: 18px;
  line-height: 22px;
  color: #224A81;
}

.asset-card-sec .more-result-btn a.more-cta-link:hover{
  font-family: 'RethinkSans-SemiBold';
  font-size: 18px;
  line-height: 22px;
  color: #2797D3;
  text-decoration: underline;
}

.asset-card-sec .text-asset-heading{
  max-width: 1020px;
}

.asset-card-sec .text-asset-heading h2{
  font-family: 'Rethinksans-bold';
  font-size: 39px;
  line-height: 46px;
  margin-bottom: 20px;
  color: #292C31;
}

.asset-card-sec .text-asset-para{
  font-family: 'RethinkSans-Regular';
  font-size: 16px;
  line-height: 20px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* desktop */
@media only screen and (min-width: 992px){
  .asset-card-sec .text-asset-heading h3 {
      margin-bottom: 0px;
      font-family: 'Rethinksans-bold';
      font-weight: 700;
      font-size: 32px;
      line-height: 36px;
      color: #000E56;
      padding: 0;
  }
  .asset-card-sec .text-asset-para {
      font-size: 16px;
      line-height: 20px;
      margin-bottom: 50px;
  }

}

/* ipad */
@media only screen 
and (min-device-width: 768px) 
and (max-device-width: 1024px) 
{
  .asset-card-sec .text-asset-heading h2 {
      font-size: 32px;
      line-height: 125%;
      margin-bottom: 30px;
      color: #292C31;
  }
}

@media only screen and (max-width: 767px){
  .asset-card-sec .more-result-btn{
    justify-content: left;
  }

  /** Video date css **/
  .asset-card-sec span.time-stamp {
    margin: 0px 5px;
    white-space: nowrap;
}

}

/* Asset Card Popup */
.assets-card .asset-info-modal .btn-link.section-btn{
  display: block;
  padding: 15px 25px;
}

.assets-card .asset-info-modal .asset-info-checkbox{
  padding-left: 20px;
}

.assets-card .asset-info-modal .asset-info-checkbox p{
  margin-bottom: 24px;
}

.assets-card .asset-info-modal .asset-popup-right-column{
  padding-left: 35px;
}

.assets-card .asset-info-modal .asset-popup-right-column p.date-added{
  margin-bottom: 5px;
}

.assets-card .asset-info-modal .asset-popup-left-column img{
  width: 360px;
  height: auto;
  max-width: 100%;
}

.assets-card .asset-info-modal .modal-body{
  display: flex;
  justify-content: center;
  align-items: center;
}

.assets-card .asset-info-modal .form-check-input[type="checkbox"]{
  margin-right: 16px;
}

.assets-card .asset-info-modal .btn-close{
  right: 150px !important;
  top: 70px !important;
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat !important;
}

