#page-503 {
    margin: auto;
    max-width: 1920px;
    background-color: #fff;
}

#error-503 .cmp-text {
    padding: 0;
}

#page-500 {
    margin: auto;
    max-width: 1920px;
    background-color: #fff;
}

#error-500 .cmp-text {
    padding: 0;
}

.page-not-found {
    position: relative;
}

.image-panel-feature {
    padding-top: 20rem;
    background-repeat: no-repeat;
    color: #3c4242;
}

.l-one-block .l-one-block-c0 {
    width: 100%;
    float: right;
    margin-left: 0;
    margin-right: 0;
    clear: none;
}

.image-panel-feature__copy p,
.image-panel-feature__tagline {
    margin-top: 0;
}

.image-panel-feature__tagline {
    font-size: var(--bodysubheading);
    line-height: 1.2;
    font-family: 'Lexia-Regular';
    letter-spacing: 1.12px;
    margin-bottom: 20px;
}

.image-panel-feature__content-wrapper {
    padding: 1.875rem 15px;
    background-color: #fff;
}

.image-panel-feature__title {
    font-size: var(--font-65px-1920-35px-375);
    line-height: 1.2;
    font-family: Lexia-italic;
    font-weight: 400;
    letter-spacing: .9px;
    margin: 0 0 0.625rem;
    font-weight: bold;
}

.l-one-block:after {
    content: "\0020";
    display: block;
    height: 0;
    clear: both;
    overflow: hidden;
    visibility: hidden;
    zoom: 1;
}

@media only screen and (min-width: 768px) {
    .image-panel-feature--left .image-panel-feature__content-wrapper {
        float: left;
    }
    .page-not-found:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(27, 27, 27, .7), rgba(27, 27, 27, 0) 60%);
    }
    .image-panel-feature__content-wrapper {
        width: 18.75rem;
        padding: 1.875rem 1.25rem;
        min-height: 15.625rem;
    }
    .image-panel-feature {
        padding: 50px 0 60px 0;
    }
    .image-panel-feature__title {
        font-family: Lexia-italic;
        letter-spacing: 1.1px;
        font-weight: bold;
    }
    .image-panel-feature__tagline {
        font-size: var(--bodysubheading);
        line-height: 1.2222222222;
        font-family: 'Lexia-Regular';
        letter-spacing: 1.12px;
        margin-bottom: 20px;
    }
    .image-panel-feature__content-wrapper {
        width: 18.75rem;
        padding: 1.875rem 1.25rem;
        min-height: 15.625rem;
    }
    .page-not-found:before {
        position: absolute;
        content: '';
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to right, rgba(27, 27, 27, .7), rgba(27, 27, 27, 0) 60%);
    }
}

@media only screen and (min-width: 60em) {
    .image-panel-feature__content-wrapper {
        width: 25.875rem;
        padding: 3.125rem 2.5rem;
        min-height: 21.875rem;
    }
    .image-panel-feature {
        background-position: center 25%;
    }
}

@media only screen and (min-width: 768px) {
    #page-503 .l-constrained {
        margin: 0 auto;
        position: relative;
        max-width: 86%;
    }
    #page-500 .l-constrained {
        margin: 0 auto;
        position: relative;
        max-width: 86%;
    }
}

@media only screen and (max-width: 767px) {
    #page-503 .l-constrained {
        margin: 0 auto;
        position: relative;
        max-width: 100%;
    }
    #page-500 .l-constrained {
        margin: 0 auto;
        position: relative;
        max-width: 100%;
    }
}

@media only screen and (min-width: 0em) and (max-width: 37.4375em) {
    .image-panel-feature .l-one-block {
        padding: 0;
    }
    #error-503 .l-constrained.l-one-block {
        padding: 0;
    }
}

/* 404 page code */

.rich-header__title {
    font-size: var(--font-65px-1920-35px-375);
    line-height: 1.1428571429;
    font-family: Lexia-italic;
    letter-spacing: 1.1px;
    margin-bottom: 0.625rem;
}

.rich-header__icon-strapline {
    font-size: var(--bodytext-17px);
    line-height: 1.4285714286;
    font-weight: 300;
    letter-spacing: .3px;
    font-family: 'Arial-regular';
}

.l-constrained::after {
    content: '';
    display: table;
    clear: both;
}

.responsive-image .image-replace {
    width: 100%;
    display: block;
    opacity: 1;
    transition: opacity .5s ease-in;
}

@media only screen and (min-width: 960px) {
    .rich-header {
        margin-bottom: 0;
        color: #fff;
        background: center no-repeat;
        background-size: cover;
        height: 410px;
        padding: 0;
    }
    .rich-header__asset-wrapper {
        display: none;
    }
    .responsive-image {
        position: relative;
    }
}

@media only screen and (min-width: 960px) {
    .rich-header__wrapper {
        background: linear-gradient(to right, rgba(27, 27, 27, .7), rgba(27, 27, 27, 0) 60%);
        height: 410px;
        position: relative;
    }
    .rich-header .l-constrained {
        position: relative;
        top: 50%;
        -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
    }
    .rich-header__content {
        width: 44.6808510638%;
        float: left;
        margin-right: -100%;
        margin-left: 0;
        clear: none;
    }
}

@media only screen and (max-width: 959px) {
    #error-404 .rich-header__wrapper .l-constrained {
        margin: 0 auto;
        position: relative;
        max-width: 100%;
        background: #fff;
    }
    #error-404 .rich-header__content {
        padding: 11px 0 18px 0;
        background-color: #fff;
        max-width: 86%;
        margin: 0 auto;
    }
}

@media only screen and (max-width: 767px) {
    #error-404 .rich-header__content {
        max-width: 100%;
        padding: 15px 15px 10px;
    }
    #error-404 .l-constrained {
        padding: 0;
    }
    .rich-header__title {
        font-size: 1.875rem;
    }
}

#error-404 .cmp-text {
    padding: 0;
}

.l-padded {
    padding: 2.5rem 1.25rem;
    background-color: #f8f8f8;
}

.rich-text h3:first-child {
    margin: 0.625rem 0;
}

.rich-text p {
    margin: 0.625rem 0;
    color: #3c4242;
    font-size: var(--bodytext-17px);
}

@media only screen and (min-width: 768px) {
    .l-padded {
        padding: 3.75rem 0;
    }
    .rich-text h3 {
        font-size: 1.125rem;
        line-height: 1.2222222222;
        font-family: "Lexia-Regular";
        font-weight: 100;
        letter-spacing: 1.12px;
    }
}

@media only screen and (min-width: 960px) {
    .l-padded {
        padding: 3.75rem 0;
    }
    .l-padded .l-constrained .rich-text {
        /* padding: 0 1.25rem; */
    }
}

.rich-text h3 {
    font-size: var(--bodysubheading);
    line-height: 1.2222222222;
    font-family: "Lexia-Regular";
    font-weight: 100;
    letter-spacing: 1.12px;
}

@media only screen and (min-width: 768px) {
    /* #error-404 .l-padded .l-constrained{
 max-width: 86%;
 margin: 0 auto;
} */
}

@media only screen and (min-width: 960px) {
    #error-404 .rich-header__wrapper .l-constrained {
        max-width: 86%;
        margin: 0 auto;
    }
}

#error-404 .bg-colr {
    background: #f8f8f8;
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    #error-404 .l-padded {
        padding: 3.75rem 15px;
    }
}

#error-404 {
    margin: auto;
    max-width: 1920px;
    background-color: #fff;
}

#error-404 .jb-class,
#page-503 .jb-class,
#page-500 .jb-class {
    margin: 20px 0 35px 0;
    font-family: 'Arial';
    color: #000000;
    line-height: 31px;
    font-size: var(--bodytext-17px);
}

/* 404 page code */

.image-panel-feature__copy p {
    font-size: var(--bodytext-17px);
}

.image-panel-feature {
    background-color: #090909;
    background-size: cover;
}

@media only screen and (max-width: 767px) {
    .image-panel-feature {
        background-position: center 19%;
        background-size: auto 310px;
    }
}

@media only screen and (min-width: 960px) and (max-width: 1240px) {
    .image-panel-feature__content-wrapper {
        width: 21.875rem;
    }
}

@media only screen and (min-width: 768px) {
    #page-503 .responsive-image,
    #page-500 .responsive-image {
        display: none;
    }
}

@media only screen and (max-width: 767px) {
    #page-503 .image-panel-feature,
    #page-500 .image-panel-feature {
        height: 0;
        background-image: none !important;
        padding: 0;
    }
}