@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/*Header*/
#hcp-error-500-page {
    -webkit-text-size-adjust: 100%;
}
.error-header {
  background-color: #fff;
  border-bottom: 4px solid #7ca3dc;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 70px;
  width: 100%;
  z-index: 5;
  position: fixed;
  top: 0;
  color: #fff;
  transition: transform 0.3s ease;
}

.error-header .cmp-image {
  margin: 0 auto;
  max-width: 161px;
}

/*Main Content*/

.title.error-title {
  background-image: url(/content/dam/intelligentcontent/brands/imfinzi-hcp/us/en/images/gobal/error-title-backround.png);
  background-size: cover;
  background-repeat: no-repeat;
  height: 74px;
  background-position: center center;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 10px 20px 0px 20px;
}

.error-title h1 {
  font-size: 34px;
  color: #ac182e;
  font-family: 'Roboto Condensed', sans-serif;
  line-height: 1.2;
  letter-spacing: -0px;
  text-transform: uppercase;
  margin: 0 auto;
  font-weight:500;
}

.error-title h1:before {
  content: " ";
  background-image: url(/content/dam/intelligentcontent/brands/imfinzi-hcp/us/en/images/gobal/error-title-image.png);
  width: 9px;
  height: 30px;
  background-repeat: no-repeat;
  left: -8px;
  top: 4px;
  display: inline-block;
  position: relative;
  background-size: 100% 100%;
  margin-left: -5px;
}

.error-main-content {
  padding-top: 70px;
}

.error-main-content #error-content {
  padding: 0 18px;
}

#error-content h3 {
  font-size: 24px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 800;
  color: #ac182e;
  margin: 20px 0 15px 0;
  letter-spacing: 0;
}

#error-content h3:before {
  content: "";
  background-image: url(/content/dam/intelligentcontent/brands/imfinzi-hcp/us/en/images/gobal/error-title-image.png);
  width: 9px;
  height: 30px;
  background-repeat: no-repeat;
  left: -9px;
  top: 8px;
  display: inline-block;
  position: relative;
  background-size: 100%;
}

#error-content p {
  margin-bottom: 20px;
  padding-left: 10px;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.31;
  color: #555555;
  font-family: 'Roboto', sans-serif;
}

/*Desktop CSS*/

@media only screen and (min-width: 767px) {
  .error-header {
    height: 83px;
    top: 0;
  }

  .error-header .cmp-image:has(.cmp-image--mobile) .cmp-image--mobile {
    max-width: 75px;
  }


  /* Added for ct tasting */
  #hcp-error-500-page .error-main-content {
    padding-top: 75px;
    margin-bottom: 0;
  }

  .title.error-title {
    background-image: url(/content/dam/intelligentcontent/brands/imfinzi-hcp/us/en/images/desktop/error-title-backround-desktop.png);
    height: 117px;
    padding: 0;
  }
  
 #hcp-error-500-page #error-footer-links ul.footer-links-ul {
        margin-bottom: 6px;   
  }

  .error-title h1 {
    line-height: 87px;
    font-size: 42px;
    font-weight: 500;
    width: 708px;
    padding-top: 6px;
    display: flex;
    align-items: center;
  }

  .error-title h1:before {
    width: 23px;
    height: 65px;
    background-size: contain;
    top: 4px;
    left: 5px;
    margin-right: 20px;
  }

  .error-main-content #error-content {
    padding: 0;
  }

  #error-content {
    width: 708px;
    margin: 0px auto 0px;
  }

  #error-content h3 {
    font-size: 23px;
    line-height: 40px;
    margin: 30px 0px 15px 10px;
  }

  #error-content p {
    font-size: 16px;
    line-height: 25px;
    margin-bottom: 20px;
    padding-left: 20px;
  }
}

@media only screen and (min-width: 1024px) {
  .error-header {
    height: 75px;
  }
}

@media only screen and (max-width: 991px) {
    .error-header .cmp-image {
            width: 124px;
            margin-top: -8px;
    }
    
    .title.error-title {
     padding: 9px 20px 0px 14px;   
    }
    .error-title h1:before {
     left: -2px;   
    }
    #hcp-error-500-page #error-content h3{
        margin-bottom: 15px;
    }
}

/*For Samsung Galaxy Tab S8*/

@media only screen and (min-width: 1280px) and (max-width: 1280px) and (-webkit-min-device-pixel-ratio: 2) {
  /* Your CSS rules here */
   #error-footer-section.cmp-container{
            margin-top: 255px;
    }
}

@media only screen 
  and (min-width: 740px) 
  and (max-width: 740px) 
  and (min-height: 360px) 
  and (max-height: 360px) 
  and (orientation: landscape) {
    /* Landscape specific styles here */
   
}
