
/* typography
----------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    line-height: inherit;
    text-align: center;
}

h1 {
    font-size: 56px;
    font-style: normal;
    font-weight: 400;
    color: #55595E;
    margin-bottom: 7px;
}

h4 {
    font-size: 26px;
    font-style: normal;
    font-weight: 400;
    color: #55595E;
    margin-bottom: 10px;
}

h5 {
    font-size: 16px;
    font-style: normal;
    line-height: 25px;
    font-weight: 400;
    color: #7A7A7A;
    margin-bottom: 10px;
}

/* todo - add all titles */

p {
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    font-family: inherit;
    margin-bottom: 12px;
}

a {
    font-size: 13px;
    color: #DD9933;
}

a:hover {
    color: #003865;
}

/* main
----------------------------------------------------------------------------- */

html, body {
    width: 100%;
    height: 100%;
    margin: 0;
}

.error-page {
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    line-height: normal;
    font-weight: 400;
    color: #7A7A7A;
    cursor: default;
}

.page-wrapper {
    flex: 1 0 auto;
}

.page-wrapper__header {
    height: 70px;
    border-bottom: 2px solid #F2F2F2;
}

.header_wrapper {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 10px;
}

.page-wrapper__body {
    position: relative;
    min-width: 300px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 30px 0;
    height: calc(100% - 60px);
}

/* error page
----------------------------------------------------------------------------- */
.error-page__wrapper {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    padding: 0 35px;
    box-sizing: border-box;
    text-align: center;
}

.error__image {
    margin: 0 auto 34px auto;
}

.error__center {
    margin-bottom: 25px;
}

.error__name {
    margin-bottom: 30px;
}

.btn-go-back {
    display: inline-block;
    box-sizing: border-box;
    color: #103362;
    background: #fff;
    border: 2px solid #103362;
    border-radius: 4px;
    padding: 9px 50px;
    font-size: 16px;
    font-weight: 500;
    font-family: inherit;
    text-decoration: none;
    transition: all ease-out 0.2s;
}

.btn-go-back:hover {
    color: #DD9933;
    border-color: #DD9933;
}

.error-page__footer {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    flex-shrink: 0;
}


@media ( max-width: 600px ) {
    .error-page {
        font-size: 13px;
    }
    h4 {
        font-size: 19px;
        line-height: 22px;
    }
    h5 {
        font-size: 14px;
        line-height: 21px;
    }

    .error__image {
        margin: 0 auto 20px auto;
    }

    .error__image img {
        max-height: 88px;
    }
}
