.header-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.header-404 > * {
    text-align: center !important;
}
.header-404__title {
    margin-bottom: 60px !important;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.header-404__subtitle {
    margin-bottom: 30px;
}
.header-404__text {
    margin-bottom: 11px;
    text-align: center;
    width: 100%;
}
.header-404__links {
    margin-bottom: 10px;
}
.header-404__img {
    width: 100%;
}

.header-404 .searchbar__body {
    display: inline-block;
    position: static;
    width: 90%;
    height: inherit;
    box-shadow: none;
    /*transform: translate(-50%, -50%);*/
    }
.header-404 .search--404 .search__input {
    position: unset;
    width: 90%;
    }
@media (min-width: 768px) {
    .header-404 .searchbar__body {
        width: 50%;
    }
}
.header-404 .search--404 .searchbar__icon {
    position: relative;
    right: 18px;
    top: 23px;
}

.search--404 .search__input {
    border: 0.1rem solid rgba(233, 233, 233, 1);
}

.header-404 .searchbar__icon--404 {
    left: unset;
    right: 0;
}

.header-404 ul {
    padding: 0;
}

.header-404 li {
    list-style-type: none;
}

.header-404__alternatives {
    margin-top: 40px;

}

.page-not-found__container {
    position: absolute;
    top: 170px;
    left: calc(50% - 50px);
    z-index: -1;
}

@media screen and (max-width: 991px) {
    div.page-not-found__container {
        top: 115px;
        left: calc(50% - 20px);
    }
    div.page-not-found__container img {
        max-height: 130px;
    }  
}