.error-page {
    max-width: 1338px;
    margin: 0 auto;
    padding-top: 12px;
    color: #191919;
    font-family: "Source Sans Pro", "Source Sans 3", Arial, Helvetica, sans-serif;
    font-size: 16px;
    font-weight: 300;
}

.error-page-content {
    width: 800px;
    max-width: 970px;
    margin: 15% auto 0;
}

.error-card {
    position: relative;
    overflow: hidden;
    padding: 15px;
    background-color: #fff;
}

.error-text {
    float: left;
    width: 45%;
    margin: 0 auto;
}

.error-title,
.error-message {
    margin: 0 0 12px;
    padding: 5px 0;
    color: #191919;
    font-family: inherit;
    line-height: 1em;
}

.error-title {
    font-size: 36px;
    font-weight: 400;
}

.error-message {
    font-size: 16px;
    font-weight: 300;
}

.error-message span {
    padding: 0 5px;
}

.error-image {
    display: block;
    float: right;
    height: 300px;
    margin: 20px 0;
}

.error-actions {
    position: absolute;
    bottom: 0;
    padding: 18px 0;
}

.error-actions a:first-child {
    margin-right: 12px;
}

.error-actions .error-btn {
    width: 90px;
    transition: none;
}

.error-actions .btn-primary-md:hover,
.error-actions .btn-primary-md:focus {
    border-color: #3FC679;
    background-color: #3FC679;
    box-shadow: 0 1px 3px rgba(150, 150, 150, 0.74);
}

.error-actions .btn-primary-md:active {
    background-color: #3FC679;
    box-shadow: none;
}

.error-actions .btn-primary-md:active:focus {
    outline: 0;
}

.error-btn-control,
.error-btn-control:link,
.error-btn-control:visited {
    display: inline-block;
    padding: 9px;
    border: 1px solid #b8b8b8;
    border-radius: 3px;
    background-color: #fff;
    color: #191919;
    font-size: 18px;
    font-weight: 400;
    line-height: 100%;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
}

.error-btn-control:hover,
.error-btn-control:focus {
    border-color: #b8b8b8;
    background-color: #fff;
    color: #191919;
    box-shadow: 0 1px 3px rgba(150, 150, 150, 0.74);
}

.error-btn-control:active {
    box-shadow: none;
}

@media (max-width: 1338px) {
    .error-page {
        max-width: 1154px;
    }
}

@media (max-width: 1154px) {
    .error-page {
        max-width: 970px;
    }
}

@media (max-width: 991px) {
    .error-page-content {
        width: 100%;
        margin-top: 0;
    }

    .error-text {
        float: none;
        width: 100%;
    }

    .error-title,
    .error-message {
        text-align: center;
    }

    .error-title {
        font-size: 24px;
    }

    .error-image {
        float: none;
        margin: 36px auto;
    }

    .error-actions {
        position: static;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .error-text {
        float: left;
        width: 45%;
    }

    .error-title,
    .error-message {
        text-align: left;
    }

    .error-image {
        float: right;
        height: 126px;
    }

    .error-actions {
        position: absolute;
    }

    .error-actions .error-btn {
        padding: 7px;
        font-size: 16px;
    }
}

@media (max-width: 543px) {
    .error-text {
        float: none;
        width: 100%;
    }

    .error-title,
    .error-message {
        text-align: center;
    }

    .error-image {
        float: none;
        margin: 36px auto;
    }

    .error-actions {
        position: static;
        text-align: center;
    }
}
