/* button group */
#hcp-error-404-page {
    -webkit-text-size-adjust: 100%;
    position: relative;
}

.hcp-error-page .error-main-content .responsivegrid {

  /* position: relative; */

  /* z-index: 2; */

  /* margin-bottom: 100px; */

}

   #hcp-error-404-page #error-content h3, #hcp-error-500-page #error-content h3{
        font-weight: normal;
        line-height: 26.4px;
            margin-bottom: 22px;
    }

#hcp-error-404-page .cmp-text, #hcp-error-500-page .cmp-text, .hcp-error-pag .cmp-text, #error-500 .cmp-text {
    padding:0;   
}
.hcp-error-page #btn-section {

  align-items: center;

  margin: 20px auto 0;

}

.hcp-error-page .button {
  background: #7A98CC;
  padding: 0;
  color: #FFF;
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 14px;
  line-height: 20px;
  border-radius: 8px;
  letter-spacing: 1px;
  display: inline-block;
  cursor: pointer;
}
.hcp-error-page .button a {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  flex-direction: row-reverse;
}
.hcp-error-page .button a:hover, .hcp-error-page .button a:focus {
  text-decoration-color: white;
}


/* added for ct testing */
.hcp-error-page {
  min-height: 382px;
}

.hcp-error-page .cmp-button__icon {
  background: url(/content/dam/intelligentcontent/brands/imfinzi-hcp/us/en/images/gobal/left-arrow-white.png) no-repeat;
  float: right;
  width: 17px;
  height: 27px;
  margin: 0 0 0 10px;
}

.hcp-error-page .cmp-button__text {

  color: #fff;
  font-weight:400;
}

.hcp-error-page .error-gradient-divider {
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(247, 247, 247, 0.7));
  margin: 0 0 10px 0;
}

@media only screen and (min-width: 767px) {

  .hcp-error-page #btn-section {
    width: 708px;
    margin: 20px auto 30px;
  }

/* Commented for ct testing */
  
  .error-main-content {
    /* min-height: 77.5vh; */
    /* min-height: 100vh; */
    /*margin-bottom: -188px;*/
  }

  .cmp-experiencefragment--error-footer {

    margin-top: 100px;

  }

}

@media (max-width: 991px) {

  .hcp-error-page #btn-section {

    display: block;

  }

  .hcp-error-page .error-main-content #btn-section {

    padding: 0 8px;

  }

  #btn-section .button {

    margin-bottom: 10px;


  }
#hcp-error-404-page #error-content h3 {
    margin-bottom:15px;
}
  .hcp-error-page .button {
    display: inline-block;
    margin-right: 8px;

  }

  .hcp-error-page .button a {

    display: flex;

    align-items: anchor-center;

    flex-direction: row-reverse;

  }

}

/* Footer */

/*#hcp-error-footer {*/

/*  position: fixed;*/

/*    bottom: 0;*/

/*}*/

.cmp-experiencefragment--error-footer {
  width: 100%;background: #7ca3dc;
  color: #fff;
  padding: 10px 0 26px;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, 0.06) inset;
  position: relative;
  bottom: 0;
}

#az-logo {

  max-width: 100%;

  width: 205px;

  height: 49px;

  margin-top: 0;
  margin-left: 4px;

  cursor: pointer;

}

#error-footer-links {

  width: 708px;

  margin: 0 auto;

}

#error-footer-links .cmp-text {

  padding: 0 !important;

  font-family: inherit;

}

#error-footer-links .footer-links a {

  color: #fff;

}

#error-footer-grid {

  width: 760px;

  margin: 0 auto 0;
  padding-bottom:32px;

}

#error-footer-links ul.footer-links-ul {
  display: flex;
  padding-left: 12px;
  margin-bottom:3px;
}

#error-footer-links ul.footer-links-ul li {

  cursor: pointer;

  list-style-type: none;

  border-bottom: 0;

  padding: 0;

}

#error-footer-links ul.footer-links-ul li a {
  font-family: 'Roboto';
  font-weight: 300;
  font-size: 14px;
  line-height: 13px;
  color: #ffffff;
  padding: 10px 0px 10px 0px;
  display: block;
}
#hcp-error-404-page #error-footer-links ul.footer-links-ul li a {
    padding: 10px 0px 15px 0px;
}
#hcp-error-404-page p.footer-legal-sec {
   /* margin-bottom: 7px;*/
}
#error-footer-links ul.footer-links-ul li a:after {

  content: "|";

  display: inline-block;

  padding: 0px 5px 0px 5px;

}

#error-footer-links ul.footer-links-ul li:last-child a:after {

  content: "";

  display: none;

}

#error-footer-text p {
  font-size: 12px;
  line-height: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  margin-bottom: 4px;

}

.footer-legal {

  display: inline-block;

}

.footer-legal .footer-legaltext {

  display: inline-block;

  padding: 0 8px;

}

p.footer-legal-sec {

  display: flex;

  align-items: flex-start;

}

span.error-footer-flag img {
  width: 30px;
  height: 16px;
  vertical-align: text-top;

}

@media (max-width: 991px) {

  .cmp-experiencefragment--error-footer {
    position: relative;
    bottom: 0;
    padding: 0;
  }
  #error-footer-links ul.footer-links-ul li a {
    font-size: 16px;
    padding: 15px 0px 15px 0px;
  }
  #hcp-error-404-page #error-footer-links ul.footer-links-ul li a {
    padding: 15px 0px;
}

  #error-footer-grid #footer-logo {

    display: none;

  }

  #error-footer-grid, #error-footer-links {

    width: 100%;

  }

  #error-footer-links ul.footer-links-ul {

    flex-direction: column;

    padding-bottom: 30px;
    padding-left: 0px;
    margin: 0;

  }

  #error-footer-links ul.footer-links-ul li {

    list-style-type: none;

    border-bottom: 1px solid #ffffff;

    padding: 0px 8px;

  }

  #error-footer-links ul.footer-links-ul li a:after {

    content: "|";

    display: none;

    padding: 0px 5px 0px 5px;

  }

  #error-footer-grid .aem-GridColumn--offset--default--0 {

    width: 100%;

  }

  #error-footer-text p {

    color: #ffffff;

    font-size: 14px;

    line-height: 20px;

    margin: 0 0 9px 0;

  }
  #error-footer-text p span.legaltext{
    padding-left:15px;
  }

  span.error-footer-flag img {
    width: 30px;
    height: 16px;

    margin-top: 1px;

  }
  .footer-legal .footer-legaltext {
   padding: 0px 8px 20px;
  }
  .hcp-error-page .error-gradient-divider {
    margin: 0 0 15px 0;   
  }

}

@media only screen and (min-width: 992px) {
    
    #hcp-error-404-page .error-title h1:before {
        top: 4px;
    }
    #hcp-error-404-page .error-title h1 {
        padding-top: 7px;
    }
    .hcp-error-page .button {
        margin-right: 15px;
    }
     #error-footer-text p span.legaltext{
    padding-left:7px;
  }
    
}

@media only screen and (max-width: 991px) {
   #error-content h3
{
    margin-bottom: 15px;
}
#error-footer-grid #az-logo {
display: none;
}
}
@media screen and (min-width:768px) and (max-width:1023px){
    .error-title h1 {
        padding-left: 190px;
    }
}
@media only screen and (max-width: 767px) {
   #error-footer-grid .cmp-image:has(.cmp-image--mobile) .cmp-image--desktop {
        display: none;
    }
    .hcp-error-page .button {
        font-size: 10px;
    }
}
