﻿/* =========================================================================
   ERROR PAGES
   ========================================================================= */

a {
    color: #007db6 !important;
}
a span.text {
    color: #007db6 !important;
}

.error-page body {
    margin: 0;
    padding: 0;
    background-color: #fff; /* TODO: Use variable */
    min-width: 800px;
    min-height: 600px;
    overflow: auto;
    font-family: 'Open Sans';
    font-size: 13px;
    line-height: 16px;
}
.error-page * {
    color: #444;
    box-sizing: border-box;
}
.error-body {
    left: 50%;
    margin: -130px -200px;
    position: absolute;
    top: 33%;
    width: 400px;
}

.error-top-bar {
    height: 48px;
    padding: 0 8px;
    background-color: #2a6e52;/* TODO: Use variable */
    font-size: 20px;
}

.error-top-bar-icon  { 
    background-position: 0 50%;
    background-repeat: no-repeat;
}

.error-top-bar > div { 
    color: #fff; /* TODO: use variable */
    line-height: 48px;
    padding-left: 42px;
}

.portal .error-top-bar > div {
    padding-left: 26px;
}

.error-desc {
    padding: 14px 4px 0 4px;
}

.error-desc-caption {
    font-size: 20px;
    padding-bottom: 32px;
}

.error-page .error-icon {
    -ms-background-repeat: no-repeat;
    background-repeat: no-repeat;
    -ms-background-size: contain;
    background-size: contain;
    height: 64px;
    width: 64px;
}


.error-hr {
    border-bottom: 1px solid #c0c0c0;
    margin: 32px -14px;
}

.error {
    background-image: url(errors/application_error.png) !important;
}
.error-404 {
    background-image: url(errors/error_404.png) !important;
}

.error-500 {
     background-image: url(errors/error_500.png)  !important;
}

.error-toolbar > div:first-child {
    margin:  0 4px;
}
.error-links {
    margin: 16px 4px 0 4px;

}

.error-link,
.error-link:hover,
.error-link:focus {
    cursor: pointer;
    display: inline-block;
    height: 32px;
    text-decoration: none;
    padding-right: 32px;
    margin-right: 0;
}

.link-back {
    border-right: 1px solid #c0c0c0;
}

.link-back .icon {
    background-image: url(errors/back.png);
}
.link-home {
    padding-left: 24px;
}
.link-home .icon {
    background-image: url(errors/home.png);
}
.error-link .icon {
    -ms-background-position: 0 0;
    background-position: 0 0;
    -ms-background-repeat: no-repeat;
    background-repeat: no-repeat;
    -ms-background-size: contain;
    background-size: contain;
    display: table-cell;
    height: 32px;
    width: 32px;
}

.error-link .text {
    display: table-cell;
    height: 32px;
    padding-left: 10px;
    vertical-align: middle;
}