:root {
    --font: 'Avenir-Book';
    --fontLight: 'Avenir-Light';
    --bold: 'Avenir-Medium';
    --extrabold: 'Avenir-Black';
}




#breztriErrorPage {
    width: 100%;
    height: 465px;
    margin: 0 auto;
    text-align: center;
    line-height: 24px;
    padding: 0px 67px 0px 67px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url("/content/dam/intelligentcontent/brands/breztri-hcp/us/en/images/phase2/desktop/safety/Interior_Page_Hero_Background.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}




#breztriErrorPage h1 {
    font-family: 'Avenir-Black';
    color: #ffffff;
    font-weight: 800;
    font-size: clamp(1.5rem, 1.3145rem + 0.7612vw, 2rem);
    margin: 15px auto 30px;
    line-height: clamp(1.75rem, 1.5181rem + 0.9515vw, 2.375rem);
}

#breztriErrorPage #errorCode {
    font-family: 'Avenir-Book';
    font-size: 16px;
    font-weight: 350;
    margin: 0;
    line-height: 24px;
    color: #ffffff;
    margin-bottom: 20px;
}



#errorCodeDetailsMob,
#breztriErrorPage #errorCodeDetails {
    font-family: 'Avenir-Book';
    line-height: 24px;
    font-size: 16px;
    max-width: 978px;
    margin: 0 auto;
    color: #ffffff;
    font-weight: 350;
    margin-bottom: 25px;
    margin-top: 5px;
}

#breztriErrorPage #errorCodeDetailsMob {
    display: none;
}

#breztriErrorPage #returnToHomePage {
    background: #000000;
    color: #ffffff;
    border-style: solid;
    border-width: 1px;
    border-color: #2CD5D4;
    border-radius: 60px;
    font-family: 'Avenir-Medium';
    font-weight: 800;
    font-size: 20px;
    line-height: 26px;
    text-decoration: none;
    padding: 18px 0;
    text-align: center;
    width: 314px;
    display: block;
    margin: 30px auto 0;

}

#breztriErrorPage #returnToHomepageText {
    margin-left: 30px;
}

#breztriErrorPage #returnToHomePage::after {
    content: "";
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('/content/dam/intelligentcontent/brands/breztri-hcp/us/en/images/phase1/desktop/error-pages/icon-arrow-right.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin-left: 20px;
    vertical-align: middle;
}

/*
#breztriErrorPage #returnToHomePage:hover{
  background: #F5CC6C;
}
*/

#error-404 #isi-safety-info,
#error-500 #isi-safety-info {
    margin-top: 0px;
}

@media screen and (max-width: 991px) {
    #breztriErrorPage #returnToHomePage {
        max-width: 323px;
    }
}

@media only screen and (max-width: 600px) {
    #breztriErrorPage {
        padding: 35px 38px 0;
         background-image: url("/content/dam/intelligentcontent/brands/breztri-hcp/us/en/images/phase2/mobile/error-page/Interior_Page_Hero_Backgroundmobile.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    }


    #breztriErrorPage h1 {
        max-width: 317px;
        line-height: normal;
    }

    #breztriErrorPage #errorCodeDetails {
        max-width: 315px;
    }

    #error-500 #errorCodeDetails {
        max-width: 320px;
    }

    #error-500 #breztriErrorPage #errorCode {
        margin-bottom: 20px;
    }

    #error-500 #breztriErrorPage h1 {
        margin-bottom: 35px;
    }

    #error-500 #breztriErrorPage #errorCodeDetails {
        margin-bottom: 25px;
    }

    #error-500 #breztriErrorPage #returnToHomePage {
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 414px) {
    #breztriErrorPage {
        padding-left: 20px;
        padding-right: 20px;
    }

    #error-500 #breztriErrorPage {
        padding: 0 20px 0 20px;
    }

     

    #breztriErrorPage #errorCodeDetailsMob {
        display: block;
        max-width: 308px;
        margin-top: 35px;
        margin-bottom: 25px;
    }

    #error-404 #breztriErrorPage #errorCodeDetailsMob {
        margin-top: 0;
    }

    #error-404 #breztriErrorPage #errorCodeDetailsMob {
        margin-bottom: 20px;
    }

    #error-404 #breztriErrorPage #errorCodeDetailsMob {
        display: none;
    }


    #breztriErrorPage #returnToHomePage {
        margin-top: 20px;
        margin-bottom: 40px;

    }

    #error-404 #breztriErrorPage #returnToHomePage {
        margin-top: 15px;
        margin-bottom: 55px;

    }

    #error-500 #breztriErrorPage #returnToHomePage {
        margin-bottom: -20px;
    }


}

@media screen and (max-width: 345px) {
    #breztriErrorPage #returnToHomePage {
        width: 245px;
        font-size: 16px;
    }
}
